diff --git a/src/views/components/AddDialog/tab1.vue b/src/views/components/AddDialog/tab1.vue index 2cd9adf..e111160 100644 --- a/src/views/components/AddDialog/tab1.vue +++ b/src/views/components/AddDialog/tab1.vue @@ -240,6 +240,10 @@ export default { }; }, created() { + let userInfo = JSON.parse(sessionStorage.getItem("USER_INFO")); + if (userInfo.lawLevel == "县级" || userInfo.lawLevel == "镇级") { + this.queryParams.district = userInfo.permissionCode; + } this.getList(); this.getPlanEnterpriseList(); }, diff --git a/src/views/yingji/echarts/executive.vue b/src/views/yingji/echarts/executive.vue index 438cba3..a6507e0 100644 --- a/src/views/yingji/echarts/executive.vue +++ b/src/views/yingji/echarts/executive.vue @@ -95,6 +95,8 @@ export default { else if (userInfo.lawLevel == "镇级") { this.isShow = false; this.text = userInfo.permissionDescription; + }else { + this.treeData = this.compartment; } // this.district = "320582403" diff --git a/src/views/yingji/enterprise copy.vue b/src/views/yingji/enterprise copy.vue new file mode 100644 index 0000000..bc3b335 --- /dev/null +++ b/src/views/yingji/enterprise copy.vue @@ -0,0 +1,682 @@ + + + + diff --git a/src/views/yingji/enterprise.vue b/src/views/yingji/enterprise.vue index 8ac2740..bc3b335 100644 --- a/src/views/yingji/enterprise.vue +++ b/src/views/yingji/enterprise.vue @@ -56,7 +56,7 @@
搜索
重置 @@ -415,7 +415,7 @@ export default { this.searchBefore = { ...this.searchBefore, ...this.form }; this.getList(); }, - chongzhiList() { + reset() { this.form = { subdistrict: "", frimType: "", diff --git a/src/views/yingji/planManage.vue b/src/views/yingji/planManage.vue index db1a034..ee80376 100644 --- a/src/views/yingji/planManage.vue +++ b/src/views/yingji/planManage.vue @@ -462,6 +462,12 @@ export default { created() { let treeData = JSON.parse(localStorage.getItem("TREE_DATA")); this.myDistrict = treeData; + // 查询条件 + let userInfo = JSON.parse(sessionStorage.getItem("USER_INFO")); + if (userInfo.lawLevel == "县级" || userInfo.lawLevel == "镇级") { + this.queryParams.district = userInfo.permissionCode; + } + // 初始化 this.getList(); }, };