Skip to content

Commit

Permalink
feat: update catalogue
Browse files Browse the repository at this point in the history
  • Loading branch information
LX1203Hui committed Jun 9, 2022
1 parent 0c31401 commit 2e94f01
Show file tree
Hide file tree
Showing 15 changed files with 6 additions and 258 deletions.
115 changes: 0 additions & 115 deletions src/api/Ace/index.js

This file was deleted.

4 changes: 1 addition & 3 deletions src/api/Dlink/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,7 @@ export async function getTopic(Topic = '$dg/user/router/thing/111/cmd/delete') {
})
}

export async function postTopic(
Topic = '$dg/user/router/thing/111/cmd/delete'
) {
export async function postTopic(Topic = '$dg/user/router/') {
const submessage = request({
url: `topic`,
method: 'post',
Expand Down
8 changes: 0 additions & 8 deletions src/api/Export/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,6 @@ export async function ImportMenu(params) {
* @return {Promise<*|ElMessageComponent>}
*/
export async function ExportParse(className, params) {
// return request({
// url: `export_data?classname=${className}`,
// method: 'post',
// data: params,
// headers: {
// responseType: 'blob',
// },
// })
const _token = store.getters['user/token']
console.log('_token', _token)
// eslint-disable-next-line no-undef
Expand Down
2 changes: 1 addition & 1 deletion src/api/Group/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export function addGroup(name) {
url: 'group',
method: 'post',
data: {
devType: 'shuwa_iot_hub',
devType: 'dgiot_hub',
name: name,
topo: 'group_topo',
},
Expand Down
108 changes: 0 additions & 108 deletions src/api/License/index.js

This file was deleted.

11 changes: 1 addition & 10 deletions src/i18n/zh.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,16 +126,7 @@ export default {
'Theme configuration saved successfully': '主题配置保存成功',
'Theme configuration saved error': '主题配置保存失败',
},
route: {
早上好: '早上好',
上午好: '上午好',
下午好: '下午好',
晚上好: '晚上好',
'登录失败,可能是密码错误或者账号被禁用!请与平台管理员联系。':
'登录失败,可能是密码错误或者账号被禁用!请与平台管理员联系。',
欢迎登录: '欢迎登录',
云压测: '云压测',
},
route: {},
equipment: {
lists: '列表',
info: '信息',
Expand Down
1 change: 0 additions & 1 deletion src/store/modules/user.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,6 @@ import { queryMenu } from '@/api/Menu/index'
import { clearCookie, getToken, removeToken, setToken } from '@/utils/vue'
import { resetRouter } from '@/router'

import { license } from '@/api/License'
import { isJson } from '@/utils/data/validate'
import { tickTime } from '@/utils/time/index'
const defaultTheme = {
Expand Down
6 changes: 2 additions & 4 deletions src/views/CloudFunction/topo/preview.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,7 @@
<el-container class="konva-container">
<el-main class="konva-container-main">
<el-row :gutter="gutter.gutter" class="user-content">
<el-col
:span="24"
class="konva-container-main-baseCol"
>
<el-col :span="24" class="konva-container-main-baseCol">
<el-main class="konva-container-baseCol-baseContainer">
<topo-base
ref="topobase"
Expand Down Expand Up @@ -236,6 +233,7 @@
id: 'kevCurrent',
})
} else {
//添加默认组态
_this.$baseMessage(
'暂无组态。显示默认组态',
'info',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,6 @@
import { queryDevice } from '@/api/Device/index'
import { delProduct, getProduct } from '@/api/Product'
import { utc2beijing } from '@/utils'
import { getProject, handleZero, setUpLictool } from '@/api/License/index'
export default {
data() {
Expand Down
3 changes: 1 addition & 2 deletions src/views/DeviceCloud/manage/platform_overview.vue
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@
<el-row v-show="mapType == 'baidu'" :row="24">
<el-col :span="leftRow" :xs="24">
<el-row :span="24">
<div class="chart_map" style="position: relative">
<div class="chart_map" style="position: relative; width: 100%">
<div v-show="false" class="card_left">
<el-row class="card_left-row" :gutter="24">
<el-col class="card_left-row-col" :span="6">
Expand Down Expand Up @@ -296,7 +296,6 @@
:center="center"
class="baidu_map"
:scroll-wheel-zoom="true"
:style="{ height: mapHeight, width: mapWidth }"
:zoom="sizeZoom"
>
<bm-control>
Expand Down
1 change: 0 additions & 1 deletion src/views/MultiTenant/user/admin/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,6 @@
import backgroundImage from '../../../../../public/assets/images/platform/assets/login_images/background.jpg'
import { mapActions, mapGetters, mapMutations } from 'vuex'
import { isPassword } from '@/utils/data/validate'
import { SiteDefault } from '@/api/License'
export default {
name: 'Admin',
directives: {
Expand Down
1 change: 0 additions & 1 deletion src/views/MultiTenant/user/dev/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,6 @@
import backgroundImage from '../../../../../public/assets/images/platform/assets/login_images/background.jpg'
import { mapActions, mapGetters, mapMutations } from 'vuex'
import { isPassword } from '@/utils/data/validate'
import { SiteDefault } from '@/api/License'
export default {
name: 'Dev',
directives: {
Expand Down
1 change: 0 additions & 1 deletion src/views/MultiTenant/user/jwtlogin/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,6 @@
import backgroundImage from '../../../../../public/assets/images/platform/assets/login_images/background.jpg'
import { mapActions, mapGetters, mapMutations } from 'vuex'
import { isPassword } from '@/utils/data/validate'
import { SiteDefault } from '@/api/License'
export default {
name: 'JwtLogin',
directives: {
Expand Down
1 change: 0 additions & 1 deletion src/views/MultiTenant/user/login/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,6 @@
import backgroundImage from '../../../../../public/assets/images/platform/assets/login_images/background.jpg'
import { mapActions, mapGetters, mapMutations } from 'vuex'
import { isPassword } from '@/utils/data/validate'
import { SiteDefault } from '@/api/License'
import { Roletree } from '@/api/Menu'
export default {
Expand Down
1 change: 0 additions & 1 deletion src/views/MultiTenant/user/quick/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,6 @@
import backgroundImage from '../../../../../public/assets/images/platform/assets/login_images/background.jpg'
import { mapActions, mapGetters, mapMutations } from 'vuex'
import { isPassword } from '@/utils/data/validate'
import { SiteDefault } from '@/api/License'
export default {
name: 'Quick',
directives: {
Expand Down

0 comments on commit 2e94f01

Please sign in to comment.