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..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 @@
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/myAgent/CompetencyApplication.vue b/back/src/views/modules/myAgent/CompetencyApplication.vue
index 930ae3d4..8c8118c9 100644
--- a/back/src/views/modules/myAgent/CompetencyApplication.vue
+++ b/back/src/views/modules/myAgent/CompetencyApplication.vue
@@ -47,6 +47,13 @@
}}
+
+
+ {{
+ (scope.row.params && scope.row.params.tAbilityApplicationDTOList[0].unit)
+ }}
+
+
{
- this.getDataList()
+ this.getDataList();
+ bus.$emit('updateTaskNum')
})
}
}
diff --git a/back/src/views/modules/sys/menu-add-or-update.vue b/back/src/views/modules/sys/menu-add-or-update.vue
index ed7ddd49..318254cb 100644
--- a/back/src/views/modules/sys/menu-add-or-update.vue
+++ b/back/src/views/modules/sys/menu-add-or-update.vue
@@ -123,11 +123,12 @@ export default {
},
// 获取菜单列表
getMenuList () {
+ console.log('获取菜单位置2')
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(() => {})
},
// 获取信息
diff --git a/back/src/views/modules/sys/menu.vue b/back/src/views/modules/sys/menu.vue
index 4fe46da1..bbc70ae3 100644
--- a/back/src/views/modules/sys/menu.vue
+++ b/back/src/views/modules/sys/menu.vue
@@ -1,3 +1,10 @@
+