diff --git a/back/src/mixins/view-module.js b/back/src/mixins/view-module.js index 98b075fb..edd9378c 100644 --- a/back/src/mixins/view-module.js +++ b/back/src/mixins/view-module.js @@ -107,7 +107,6 @@ export default { } else { this.total = this.mixinViewModuleOptions.getDataListIsPage ? res.data.total : 0 } - console.log('数据列表', this.dataList, this.mixinViewModuleOptions.getDataListURL) if (this.dataList[0].type === '组件服务') { this.dataList.map(val => { diff --git a/back/src/router/index.js b/back/src/router/index.js index c386dc1b..08f69ea5 100644 --- a/back/src/router/index.js +++ b/back/src/router/index.js @@ -104,7 +104,7 @@ router.beforeEach((to, from, next) => { Vue.prototype.$message.error(res.msg) return next({ name: 'login' }) } - window.SITE_CONFIG.menuList = res.data + window.SITE_CONFIG.menuList = res.data.filter(item => item.site === 0) fnAddDynamicMenuRoutes(window.SITE_CONFIG.menuList) next({ ...to, replace: true }) }).catch(() => { diff --git a/back/src/utils/location.js b/back/src/utils/location.js index 82fc8775..25cd9f33 100644 --- a/back/src/utils/location.js +++ b/back/src/utils/location.js @@ -1,12 +1,12 @@ /* * @Author: hisense.guoyue * @Date: 2022-08-23 10:30:11 - * @LastEditors: hisense.guoyue - * @LastEditTime: 2022-10-02 14:47:05 + * @LastEditors: hisense.wuhongjian + * @LastEditTime: 2022-10-18 17:44:33 * @Description: 判断当前环境是西海岸还是青岛市局 */ const returnLocationStr = () => { - return CONFIGITEM.version + return CONFIGITEM.version === 'xihaian' ? 'xihaian' : 'qingdao' } export default returnLocationStr diff --git a/back/src/views/main-sidebar.vue b/back/src/views/main-sidebar.vue index 40f882b0..78596756 100644 --- a/back/src/views/main-sidebar.vue +++ b/back/src/views/main-sidebar.vue @@ -1,8 +1,8 @@ @@ -25,7 +25,7 @@ :menu="menu" > sdddd - + @@ -35,63 +35,72 @@ \ No newline at end of file diff --git a/back/src/views/modules/abilityStatistics/index.vue b/back/src/views/modules/abilityStatistics/index.vue index 75686078..c401c161 100644 --- a/back/src/views/modules/abilityStatistics/index.vue +++ b/back/src/views/modules/abilityStatistics/index.vue @@ -58,6 +58,7 @@ @@ -94,6 +95,11 @@ $t('reset') }} + + 导出 +
@@ -213,6 +219,8 @@ @@ -273,12 +281,13 @@ @@ -174,4 +175,4 @@ export default { } } } - \ No newline at end of file + diff --git a/back/src/views/modules/hasToDoTasks/deviceApproval.vue b/back/src/views/modules/hasToDoTasks/deviceApproval.vue index 9f71809e..b00832db 100644 --- a/back/src/views/modules/hasToDoTasks/deviceApproval.vue +++ b/back/src/views/modules/hasToDoTasks/deviceApproval.vue @@ -38,6 +38,9 @@ + + + + + + { - this.getDataList() + this.getDataList(); + bus.$emit('updateTaskNum') }) } } diff --git a/back/src/views/modules/myAgent/approval.vue b/back/src/views/modules/myAgent/approval.vue index 2cd53901..df7d42cd 100644 --- a/back/src/views/modules/myAgent/approval.vue +++ b/back/src/views/modules/myAgent/approval.vue @@ -12,15 +12,23 @@ + + + - + +