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/views/main-sidebar.vue b/back/src/views/main-sidebar.vue index 40f882b0..62dc4831 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,71 @@ \ No newline at end of file diff --git a/back/src/views/modules/abilityStatistics/components/abilityDetails.vue b/back/src/views/modules/abilityStatistics/components/abilityDetails.vue index 0783f165..9a72879f 100644 --- a/back/src/views/modules/abilityStatistics/components/abilityDetails.vue +++ b/back/src/views/modules/abilityStatistics/components/abilityDetails.vue @@ -88,16 +88,49 @@
审批详情
-
- + + + + + + + + + + + + + + + +
-
+ @@ -228,6 +261,7 @@ export default { } } } + console.log("this.dataSource.data[0]========",this.dataSource.data[0][1]) }, // init () { // this.visible = true diff --git a/back/src/views/modules/abilityStatistics/index.vue b/back/src/views/modules/abilityStatistics/index.vue index e95ec4b3..75686078 100644 --- a/back/src/views/modules/abilityStatistics/index.vue +++ b/back/src/views/modules/abilityStatistics/index.vue @@ -38,7 +38,7 @@ - + 审核状态: - - + + + @@ -371,8 +372,9 @@ export default { { name: '组件服务', key: 1 }, { name: '应用资源', key: 2 }, { name: '基础设施', key: 3 }, - { name: '数据资源', key: 3 }, - { name: '知识库', key: 3 } + { name: '数据资源', key: 4 }, + { name: '知识库', key: 5 }, + { name: '会议室', value: 6} ], tableData: [], tableData2: [ @@ -396,7 +398,8 @@ export default { { name: '图层服务', value: 2 }, { name: '通用开发组件', value: 3 }, { name: '页面开发组件', value: 4 }, - { name: '应用资源', value: 5 } + { name: '应用资源', value: 5 }, + { name: '会议室', value: 6} ], // 类型备选列表 detailFlag: false, // 明细返回按钮显示标志位 startDate: '', // 开始时间 @@ -478,7 +481,9 @@ export default { } else if (this.examineStatus == '0') { this.status = '审核中' } else if (this.examineStatus == '1') { - this.status = '审核完成' + this.status = '通过' + }else if (this.examineStatus == '2') { + this.status = '不通过' } else { this.status = this.examineStatus } @@ -534,7 +539,9 @@ export default { } else if (this.examineStatus == '0') { this.status = '审核中' } else if (this.examineStatus == '1') { - this.status = '审核完成' + this.status = '通过' + } else if (this.examineStatus == '2') { + this.status = '不通过' } else { this.status = this.examineStatus } @@ -627,13 +634,15 @@ export default { }, // 能力上架明细 getOneDetail (page) { - var passAndReview = '' // 转变"审核完成"字段为通过 + var passAndReview = '' // 转变"通过"字段为通过 if (this.examineStatus == '-1') { this.status = '' } else if (this.examineStatus == '0') { this.status = '审核中' } else if (this.examineStatus == '1') { this.status = '通过' + } else if (this.examineStatus == '2') { + this.status = '不通过' } else { this.status = this.examineStatus } @@ -657,13 +666,15 @@ export default { }, // 能力使用明细 getTwoDetail (page) { - var passAndReview = '' // 转变"审核完成"字段为通过 + var passAndReview = '' // 转变"通过"字段为通过 if (this.examineStatus == '-1') { this.status = '' } else if (this.examineStatus == '0') { this.status = '审核中' } else if (this.examineStatus == '1') { this.status = '通过' + } else if (this.examineStatus == '2') { + this.status = '不通过' } else { this.status = this.examineStatus } diff --git a/back/src/views/modules/devtools/generator-menu.vue b/back/src/views/modules/devtools/generator-menu.vue index f940b8c5..c68eec82 100644 --- a/back/src/views/modules/devtools/generator-menu.vue +++ b/back/src/views/modules/devtools/generator-menu.vue @@ -81,7 +81,7 @@ export default { init () { this.visible = true this.$nextTick(() => { - this.$refs['dataForm'].resetFields() + this.$refs.dataForm.resetFields() this.iconList = getIconList() this.dataForm.parentName = this.$t('menu.parentNameDefault') this.getMenuList() @@ -89,11 +89,12 @@ export default { }, // 获取菜单列表 getMenuList () { + console.log('获取菜单位置1') return this.$http.get('/sys/menu/list?type=0').then(({ data: res }) => { if (res.code !== 0) { return this.$message.error(res.msg) } - this.menuList = res.data + this.menuList = res.data.filter(item => item.site === 0) }).catch(() => {}) }, // 上级菜单树, 设置默认值 @@ -114,11 +115,11 @@ export default { }, // 表单提交 dataFormSubmitHandle: debounce(function () { - this.$refs['dataForm'].validate((valid) => { + this.$refs.dataForm.validate((valid) => { if (!valid) { return false } - this.$http['post']('/devtools/menu', this.dataForm).then(({ data: res }) => { + this.$http.post('/devtools/menu', this.dataForm).then(({ data: res }) => { if (res.code !== 0) { return this.$message.error(res.msg) } @@ -133,7 +134,7 @@ export default { }) }).catch(() => {}) }) - }, 1000, { 'leading': true, 'trailing': false }) + }, 1000, { leading: true, trailing: false }) } } @@ -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 @@ + + + - + +