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);