@@ -92,6 +96,16 @@ export default {
}
},
methods: {
+ deleteList () {
+ this.$http.delete('lawss/sarMenu', {
+ menuId: this.form.id
+ }, {}, res=> {
+ if (res.ok) {
+ this.getTree()
+ this.$message.success('删除成功')
+ }
+ })
+ },
confirmDialog () {
var form = {}
form.parentId = this.form.id
diff --git a/src/pages/config/pages/postManage/index.vue b/src/pages/config/pages/postManage/index.vue
index ec98b27eb..d902583ca 100644
--- a/src/pages/config/pages/postManage/index.vue
+++ b/src/pages/config/pages/postManage/index.vue
@@ -5,10 +5,12 @@
新增
配置角色
@@ -55,8 +57,8 @@
- 删除
- 编辑
+ 删除
+ 编辑
@@ -296,6 +298,12 @@
mounted () {
this.getData()
this.getRole()
+ const menuList = this.$store.getters.getMenuList
+ menuList.forEach(item => {
+ if (item.id === '980cb239683de9e29ee5335cec98e5b4') {
+ console.log('有')
+ }
+ })
}
}
diff --git a/src/pages/config/pages/roleManage/index.vue b/src/pages/config/pages/roleManage/index.vue
index 4c2e44639..53ad9a8de 100644
--- a/src/pages/config/pages/roleManage/index.vue
+++ b/src/pages/config/pages/roleManage/index.vue
@@ -29,6 +29,7 @@
配置角色资源
@@ -92,6 +93,7 @@
:default-checked-keys="nodeList"
default-expand-all
show-checkbox
+ check-strictly
ref="tree2">
@@ -130,7 +132,6 @@ export default {
},
methods: {
closeDialog () {
- this.nodeList = []
this.modalshowflag = false
},
confirmDialog () {
@@ -138,7 +139,6 @@ export default {
menuIds: this.$refs.tree2.getCheckedKeys().concat(this.$refs.tree2.getHalfCheckedKeys()),
roleId: this.id
}, {}, res=> {
- console.log(res);
if (res.ok) {
this.$message.success('设置权限成功')
this.modalshowflag = false
@@ -157,8 +157,8 @@ export default {
roleId: this.id
}, {}, res=> {
if (res.ok) {
- this.nodeList = res.data
this.modalshowflag = true
+ this.nodeList = res.data
}
})
},
diff --git a/src/pages/personal/pages/my-collection/components/CollectionStandard.vue b/src/pages/personal/pages/my-collection/components/CollectionStandard.vue
index 6d4ef806f..0ff5123cc 100644
--- a/src/pages/personal/pages/my-collection/components/CollectionStandard.vue
+++ b/src/pages/personal/pages/my-collection/components/CollectionStandard.vue
@@ -62,7 +62,7 @@
创建时间:{{getDate(item.createTime)}}
- 取消收藏
+ 取消收藏
diff --git a/src/pages/processCenter/pages/newProcess/index.vue b/src/pages/processCenter/pages/newProcess/index.vue
index 430f05577..8f32c18a9 100644
--- a/src/pages/processCenter/pages/newProcess/index.vue
+++ b/src/pages/processCenter/pages/newProcess/index.vue
@@ -110,8 +110,7 @@ export default {
* @returns {boolean}
*/
bzfggllc() {
- const idArray = ['HXHHBXSBQ9P48K6X6DCJ', '4UUKE8XMZ65BFMSYWWCD', '97MZM7HL57HUJTRBLKLE', '927P4TCCMQ4MT8ZYR8A2']
- return this.checkPermission(idArray)
+ return true
},
/**
* 政策管理流程
diff --git a/src/pages/regulatoryRepository/accessStandardsAndRegulations/index.vue b/src/pages/regulatoryRepository/accessStandardsAndRegulations/index.vue
index fed96b5c0..5ac76fe7c 100644
--- a/src/pages/regulatoryRepository/accessStandardsAndRegulations/index.vue
+++ b/src/pages/regulatoryRepository/accessStandardsAndRegulations/index.vue
@@ -2,24 +2,18 @@