From 1936c6b4ac13a951e6314231b45d5be9e84024cd Mon Sep 17 00:00:00 2001 From: jishenghua <752718920@qq.com> Date: Fri, 11 Jul 2025 17:53:48 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=99=E5=AE=A2=E6=88=B7=E4=BF=A1=E6=81=AF?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E5=A2=9E=E5=8A=A0=E5=88=86=E9=85=8D=E7=94=A8?= =?UTF-8?q?=E6=88=B7=E7=9A=84=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jshERP-web/src/api/api.js | 2 + jshERP-web/src/views/system/CustomerList.vue | 44 ++++- jshERP-web/src/views/system/MemberList.vue | 2 +- jshERP-web/src/views/system/VendorList.vue | 2 +- .../system/modules/CustomerUserModal.vue | 172 ++++++++++++++++++ .../views/system/modules/UserDepotModal.vue | 2 - 6 files changed, 218 insertions(+), 6 deletions(-) create mode 100644 jshERP-web/src/views/system/modules/CustomerUserModal.vue diff --git a/jshERP-web/src/api/api.js b/jshERP-web/src/api/api.js index 524940c6..504212a9 100644 --- a/jshERP-web/src/api/api.js +++ b/jshERP-web/src/api/api.js @@ -92,6 +92,7 @@ const addUserBusiness = (params)=>postAction("/userBusiness/add",params); const editUserBusiness = (params)=>putAction("/userBusiness/update",params); const checkUserBusiness = (params)=>getAction("/userBusiness/checkIsValueExist",params); const updateBtnStrByRoleId = (params)=>postAction("/userBusiness/updateBtnStr",params); +const updateOneValueByKeyIdAndType = (params)=>postAction("/userBusiness/updateOneValueByKeyIdAndType",params); //多单位 const addUnit = (params)=>postAction("/unit/add",params); const editUnit = (params)=>putAction("/unit/update",params); @@ -188,6 +189,7 @@ export { editUserBusiness, checkUserBusiness, updateBtnStrByRoleId, + updateOneValueByKeyIdAndType, addUnit, editUnit, checkUnit, diff --git a/jshERP-web/src/views/system/CustomerList.vue b/jshERP-web/src/views/system/CustomerList.vue index cc07e8ec..2a6455f4 100644 --- a/jshERP-web/src/views/system/CustomerList.vue +++ b/jshERP-web/src/views/system/CustomerList.vue @@ -69,6 +69,8 @@ :rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}" @change="handleTableChange"> + 分配用户 + 编辑 @@ -86,6 +88,7 @@ + @@ -94,8 +97,10 @@ + \ No newline at end of file diff --git a/jshERP-web/src/views/system/modules/UserDepotModal.vue b/jshERP-web/src/views/system/modules/UserDepotModal.vue index 9d00b124..66b9c1e0 100644 --- a/jshERP-web/src/views/system/modules/UserDepotModal.vue +++ b/jshERP-web/src/views/system/modules/UserDepotModal.vue @@ -122,7 +122,6 @@ }, loadTree(id) { let that = this - that.treeData = [] that.roleFunctionTree = [] let params = {}; params.id=''; @@ -132,7 +131,6 @@ this.allTreeKeys = []; for (let i = 0; i < res.length; i++) { let temp = res[i] - that.treeData.push(temp) that.roleFunctionTree.push(temp) that.setThisExpandedKeys(temp) that.getAllKeys(temp);