From 80f0921d60f1fcaaa741ad47083c26883c07b125 Mon Sep 17 00:00:00 2001 From: zer0Black <694429613@qq.com> Date: Sun, 17 Apr 2022 18:01:45 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E5=88=A0=E9=99=A4=E3=80=91=E5=89=8D?= =?UTF-8?q?=E7=AB=AF=E9=83=A8=E9=97=A8=E8=A7=92=E8=89=B2=E6=9D=83=E9=99=90?= =?UTF-8?q?=E7=9A=84=E4=BB=A3=E7=A0=81=E7=9B=B4=E6=8E=A5=E5=88=A0=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jero-web/src/api/api.js | 2 - jero-web/src/views/system/DepartUserList.vue | 17 -- .../system/modules/DeptRoleAuthModal.vue | 213 ------------------ .../system/modules/DeptRoleDataruleModal.vue | 122 ---------- .../src/views/system/modules/DeptRoleInfo.vue | 191 ---------------- .../system/modules/DeptRoleUserModal.vue | 200 ---------------- .../src/views/system/modules/DeptUserInfo.vue | 15 -- 7 files changed, 760 deletions(-) delete mode 100644 jero-web/src/views/system/modules/DeptRoleAuthModal.vue delete mode 100644 jero-web/src/views/system/modules/DeptRoleDataruleModal.vue delete mode 100644 jero-web/src/views/system/modules/DeptRoleInfo.vue delete mode 100644 jero-web/src/views/system/modules/DeptRoleUserModal.vue diff --git a/jero-web/src/api/api.js b/jero-web/src/api/api.js index 9cd8bb71..969c1443 100644 --- a/jero-web/src/api/api.js +++ b/jero-web/src/api/api.js @@ -49,7 +49,6 @@ const queryDepartPermission = (params)=>getAction("/sys/permission/queryDepartPe const saveDepartPermission = (params)=>postAction("/sys/permission/saveDepartPermission",params); const queryTreeListForDeptRole = (params)=>getAction("/sys/sysDepartPermission/queryTreeListForDeptRole",params); const queryDeptRolePermission = (params)=>getAction("/sys/sysDepartPermission/queryDeptRolePermission",params); -// const saveDeptRolePermission = (params)=>postAction("/sys/sysDepartPermission/saveDeptRolePermission",params); const queryMyDepartTreeList = (params)=>getAction("/sys/sysDepart/queryMyDeptTreeList",params); //日志管理 @@ -151,7 +150,6 @@ export { saveDepartPermission, queryTreeListForDeptRole, queryDeptRolePermission, - // saveDeptRolePermission, queryMyDepartTreeList, getUserNoticeInfo, getDictItemsFromCache diff --git a/jero-web/src/views/system/DepartUserList.vue b/jero-web/src/views/system/DepartUserList.vue index 61394f94..798f6220 100644 --- a/jero-web/src/views/system/DepartUserList.vue +++ b/jero-web/src/views/system/DepartUserList.vue @@ -38,9 +38,6 @@ - - - @@ -51,7 +48,6 @@ import DeptUserInfo from './modules/DeptUserInfo' import { queryMyDepartTreeList, searchByKeywords } from '@/api/api' import { JeroListMixin } from '@/mixins/JeroListMixin' - // import DeptRoleInfo from './modules/DeptRoleInfo' export default { name: 'DepartUserList', @@ -111,7 +107,6 @@ this.selectedKeys = []; this.currentDeptId = ''; this.$refs.DeptUserInfo.currentDeptId=''; - // this.$refs.DeptRoleInfo.currentDeptId=''; }, loadTree() { var that = this @@ -177,24 +172,14 @@ }, onCheck(checkedKeys, e) { let record = e.node.dataRef; - // console.log('onCheck', checkedKeys, e); this.checkedKeys = []; - // if (e.checked === true) { this.currentDeptId = record.id; this.checkedKeys.push(record.id); this.$refs.DeptBaseInfo.open(record); this.$refs.DeptUserInfo.open(record); - // this.$refs.DeptRoleInfo.open(record); - // } - // else { - // this.checkedKeys = []; - // this.$refs.DeptBaseInfo.clearForm(); - // this.$refs.DeptUserInfo.clearList(); - // } this.hiding = false; - // this.checkedKeys = checkedKeys.checked }, onSelect(selectedKeys, e) { if (this.selectedKeys[0] !== selectedKeys[0]) { @@ -205,8 +190,6 @@ this.$refs.DeptBaseInfo.open(record); this.$refs.DeptUserInfo.onClearSelected(); this.$refs.DeptUserInfo.open(record); - // this.$refs.DeptRoleInfo.onClearSelected(); - // this.$refs.DeptRoleInfo.open(record); }, }, created() { diff --git a/jero-web/src/views/system/modules/DeptRoleAuthModal.vue b/jero-web/src/views/system/modules/DeptRoleAuthModal.vue deleted file mode 100644 index 8449b8a8..00000000 --- a/jero-web/src/views/system/modules/DeptRoleAuthModal.vue +++ /dev/null @@ -1,213 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/jero-web/src/views/system/modules/DeptRoleDataruleModal.vue b/jero-web/src/views/system/modules/DeptRoleDataruleModal.vue deleted file mode 100644 index 01ff78a5..00000000 --- a/jero-web/src/views/system/modules/DeptRoleDataruleModal.vue +++ /dev/null @@ -1,122 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/jero-web/src/views/system/modules/DeptRoleInfo.vue b/jero-web/src/views/system/modules/DeptRoleInfo.vue deleted file mode 100644 index a20401d8..00000000 --- a/jero-web/src/views/system/modules/DeptRoleInfo.vue +++ /dev/null @@ -1,191 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/jero-web/src/views/system/modules/DeptRoleUserModal.vue b/jero-web/src/views/system/modules/DeptRoleUserModal.vue deleted file mode 100644 index bfdc7ecf..00000000 --- a/jero-web/src/views/system/modules/DeptRoleUserModal.vue +++ /dev/null @@ -1,200 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/jero-web/src/views/system/modules/DeptUserInfo.vue b/jero-web/src/views/system/modules/DeptUserInfo.vue index 96e74176..2016739b 100644 --- a/jero-web/src/views/system/modules/DeptUserInfo.vue +++ b/jero-web/src/views/system/modules/DeptUserInfo.vue @@ -70,9 +70,6 @@ 更多 - - - 用户详情 @@ -95,7 +92,6 @@ - @@ -104,13 +100,11 @@ import {getAction, postAction, deleteAction} from '@/api/manage' import SelectUserModal from './SelectUserModal' import UserModal from './UserModal' - // import DeptRoleUserModal from './DeptRoleUserModal' export default { name: "DeptUserInfo", mixins: [JeroListMixin], components: { - // DeptRoleUserModal, SelectUserModal, UserModal }, @@ -254,7 +248,6 @@ }); }, open(record) { - //console.log(record); this.currentDeptId = record.id; this.currentDept = record; this.loadData(1); @@ -311,14 +304,6 @@ } }) }, - // handleDeptRole(record){ - // if(this.currentDeptId != ''){ - // this.$refs.deptRoleUser.add(record,this.currentDeptId); - // this.$refs.deptRoleUser.title = "部门角色分配"; - // }else{ - // this.$message.warning("请先选择一个部门!"); - // } - // } } }