From 370ffa7d4c22834ca6e44be0395ce8311318a230 Mon Sep 17 00:00:00 2001 From: qiezi <15576055375@163.com> Date: Mon, 31 Mar 2025 15:14:13 +0800 Subject: [PATCH] 2025-03-31 --- src/api/base/site.js | 1 + .../com_projectInfo-add-or-update.vue | 37 +- .../technicalSpecificationList.vue | 11 +- src/views/modules/sys/user.vue | 332 +++++++++++++----- 4 files changed, 260 insertions(+), 121 deletions(-) diff --git a/src/api/base/site.js b/src/api/base/site.js index 3f37a48..5113f35 100644 --- a/src/api/base/site.js +++ b/src/api/base/site.js @@ -49,6 +49,7 @@ export const saveAccessRole = data => createAPI(`/base/saveAccessRole`,'post',da export const searchAccessBuListForUser= data => createAPI(`/base/searchAccessBuListForUser`,'post',data) export const saveAccessBuListForBu= data => createAPI(`/base/saveAccessBuListForBu`,'post',data) export const searchAccessProjectForUser= data => createAPI(`/base/searchAccessProjectForUser`,'post',data) +export const searchAccessProjectForUserByPage= data => createAPI(`/base/searchAccessProjectForUser/${data.no}/${data.size}`,'post',data) export const saveAccessProject= data => createAPI(`/base/saveAccessProject`,'post',data) export const searchAccessSiteListBySite= data => createAPI(`/base/searchAccessSiteListBySite`,'post',data) diff --git a/src/views/modules/project/projectInfo/com_projectInfo-add-or-update.vue b/src/views/modules/project/projectInfo/com_projectInfo-add-or-update.vue index ca605e4..b1cdb4b 100644 --- a/src/views/modules/project/projectInfo/com_projectInfo-add-or-update.vue +++ b/src/views/modules/project/projectInfo/com_projectInfo-add-or-update.vue @@ -581,36 +581,6 @@ this.userRoleList = [] searchUserRoll(inData3).then(({data}) => { this.userRoleList=data.rows; - // for (let j = 0; j item.username === this.userRoleList[j].username) - // if(checkData.length>0){ - // this.userRoleList[j].deleteCheck=checkData[0].deleteCheck - // this.userRoleList[j].deleteFlag=checkData[0].deleteFlag - // this.userRoleList[j].downCheck=checkData[0].downCheck - // this.userRoleList[j].downFlag=checkData[0].downFlag - // this.userRoleList[j].searchCheck=checkData[0].searchCheck - // this.userRoleList[j].searchFlag=checkData[0].searchFlag - // this.userRoleList[j].updateCheck=checkData[0].updateCheck - // this.userRoleList[j].checkAll=checkData[0].checkAll - // }else { - // this.userRoleList[j].deleteCheck=false - // this.userRoleList[j].deleteFlag='N' - // this.userRoleList[j].downCheck=false - // this.userRoleList[j].downFlag='N' - // this.userRoleList[j].searchCheck=false - // this.userRoleList[j].searchFlag='N' - // this.userRoleList[j].updateCheck=false - // this.userRoleList[j].checkAll=false - // } - // - // } - // for (let i = 0; i 0) { let checkList = this.dataForm.userRoleList.filter(item => item.username === username) @@ -720,14 +687,12 @@ } }, userRollModal(){ - // this.userRoleList=JSON.parse(JSON.stringify(this.dataForm.userRoleList)); this.searchUserRoll() this.userRoleFlag=true - }, saveUserList(){ for (let i = 0; i - 正式料号 - + 料号 + + + + + + + @@ -496,6 +502,7 @@ codeNo:'', ecnFlag: '', buNo:'', + customerDesc:'', }, pageIndex: 1, pageSize: 100, diff --git a/src/views/modules/sys/user.vue b/src/views/modules/sys/user.vue index 29e49cc..dda6025 100644 --- a/src/views/modules/sys/user.vue +++ b/src/views/modules/sys/user.vue @@ -518,45 +518,67 @@ title="项目权限" :close-on-click-modal="false" :visible.sync="projectRoleFlag"> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - {{'查询'}} - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {{'查询'}} + + + + align="left" + min-width="50" + label="客户描述"> + + + + + + -
- 确定 - 取消 -
-
+ 确定 + 取消 + @@ -658,7 +704,7 @@