From ce471e0f21c178ed66fdb69db9e85609e738e5a2 Mon Sep 17 00:00:00 2001 From: kun <1422840143@qq.com> Date: Sat, 13 Apr 2024 16:49:55 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20BUG=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/js/api/configManage.js | 1 + src/assets/js/http.js | 4 +- src/components/header.vue | 4 +- src/components/userChange.vue | 3 +- src/store/index.js | 22 ++--- src/views/companyAdmin/layout.vue | 4 +- src/views/infoCenter/layout.vue | 4 +- .../configManage/groupStructureManagement.vue | 46 ++++++--- .../configManage/personnelAccess.vue | 3 + .../projectSummary/supplierAudit.vue | 93 ++++++++++++------- src/views/supplierAdmin/layout.vue | 4 +- .../components/qualification-info.vue | 2 +- src/views/userCenter/layout.vue | 19 +++- src/views/workSpace/index.vue | 19 +++- 14 files changed, 152 insertions(+), 76 deletions(-) diff --git a/src/assets/js/api/configManage.js b/src/assets/js/api/configManage.js index 61377a2e..77b9bfc5 100644 --- a/src/assets/js/api/configManage.js +++ b/src/assets/js/api/configManage.js @@ -56,6 +56,7 @@ export const selectNoticeRemindSoundApi = data => post('xmgl/noticeRemindSound/l // 组织机构管理 export const getTreeGroupApi = data => get('xmgl/xzProjectOrg/tree/list', data); +export const getTreeGroupPageApi = data => get('xmgl/xzProjectOrg/tree/page', data); export const addTreeGroupApi = data => post('xmgl/xzProjectOrg/add', data); export const editTreeGroupApi = data => post('xmgl/xzProjectOrg/edit', data); export const deleteTreeGroupApi = data => post('xmgl/xzProjectOrg/delete', data); diff --git a/src/assets/js/http.js b/src/assets/js/http.js index 6f530745..58a7e4ae 100644 --- a/src/assets/js/http.js +++ b/src/assets/js/http.js @@ -83,8 +83,8 @@ if (process.env.NODE_ENV == 'development') { // axios.defaults.baseURL ='http://101.43.164.214:45001/' //上海张江 // axios.defaults.baseURL ='http://101.43.164.214:45011/' //上海优益(上海建工) // axios.defaults.baseURL = 'http://192.168.34.221:28889/' //郭圣雄本地 - axios.defaults.baseURL ='http://192.168.34.221:9111/' //郭圣雄本地 - // axios.defaults.baseURL = 'http://192.168.34.155:19111/' //彭洁本地 + // axios.defaults.baseURL ='http://192.168.34.221:9111/' //郭圣雄本地 + axios.defaults.baseURL = 'http://192.168.34.155:19111/' //彭洁本地 // axios.defaults.baseURL = 'http://182.90.224.237:51234' //郭圣雄远程 // axios.defaults.baseURL ='http://101.43.164.214:45020/' //沈阳和盈 // axios.defaults.baseURL ='http://183.249.224.118:9000/' //嘉兴王江泾公用码头 diff --git a/src/components/header.vue b/src/components/header.vue index 467fecec..86771813 100644 --- a/src/components/header.vue +++ b/src/components/header.vue @@ -52,10 +52,10 @@ >>{{ item.name }} -
+
-
+
diff --git a/src/components/userChange.vue b/src/components/userChange.vue index e0a476a9..1e79cd64 100644 --- a/src/components/userChange.vue +++ b/src/components/userChange.vue @@ -169,7 +169,7 @@ export default { this.selectProject(item); }); } else { - if (!this.selectedProjectSn && !this.$store.state.projectSn) { + if (!this.selectedProjectSn || !this.$store.state.projectSn) { // 加判断是为了在循环中只选中第一个 this.selectedProjectSn = obj.sn; // 修改全局projectSn @@ -233,6 +233,7 @@ export default { // 收起popover this.visible = false; } + this.$router.push("/workSpace") }, filterNode(value, data) { if (!value) return true; diff --git a/src/store/index.js b/src/store/index.js index 949251b3..86df8be5 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -48,20 +48,20 @@ export default new Vuex.Store({ PAGESIZRS: [10, 20, 30, 50], // UPLOADURL:' http://101.43.164.214:11111/upload/image/',// 百色 // FILEURL:' http://101.43.164.214:11111/image/',// 百色 - // UPLOADURL:'http://192.168.34.221:9111/upload/image/',// 郭圣雄 - // FILEURL:'http://192.168.34.221:9111/image/',//郭圣雄 + UPLOADURL:'http://192.168.34.221:9111/upload/image/',// 郭圣雄 + FILEURL:'http://192.168.34.221:9111/image/',//郭圣雄 WORKFLOWURL: 'http://192.168.34.138:88/#/workspace/forms',//测试工作流地址(本地) // UPLOADURL:'http://10.0.1.43:6023/upload/image',//测试 // FILEURL:'http://10.0.1.43:6023/image/',//测试 - BASEURL: baseUrl - ? baseUrl - : window.location.protocol + "//" + window.location.host + "/", //正式环境 - UPLOADURL: - window.location.protocol + - "//" + - window.location.host + - "/upload/image", //正式环境 - FILEURL: window.location.protocol + "//" + window.location.host + "/image/", //正式环境 + // BASEURL: baseUrl + // ? baseUrl + // : window.location.protocol + "//" + window.location.host + "/", //正式环境 + // UPLOADURL: + // window.location.protocol + + // "//" + + // window.location.host + + // "/upload/image", //正式环境 + // FILEURL: window.location.protocol + "//" + window.location.host + "/image/", //正式环境 // WORKFLOWURL: 'http://jxj.zhgdyun.com:9811/#/workspace/forms',//正式工作流地址 //--------------------------------------------------------------------------------------------- // BASEURL: baseUrl diff --git a/src/views/companyAdmin/layout.vue b/src/views/companyAdmin/layout.vue index 840cbacf..c0e1f772 100644 --- a/src/views/companyAdmin/layout.vue +++ b/src/views/companyAdmin/layout.vue @@ -12,10 +12,10 @@ {{$t('message.companyDiagram.pageTitle')}}
-
+
-
+
diff --git a/src/views/infoCenter/layout.vue b/src/views/infoCenter/layout.vue index 3c876c93..8ceb8e22 100644 --- a/src/views/infoCenter/layout.vue +++ b/src/views/infoCenter/layout.vue @@ -12,10 +12,10 @@ {{$t('message.companyDiagram.pageTitle')}}
-
+
-
+
diff --git a/src/views/projectFront/configManage/groupStructureManagement.vue b/src/views/projectFront/configManage/groupStructureManagement.vue index 858edec0..95b85486 100644 --- a/src/views/projectFront/configManage/groupStructureManagement.vue +++ b/src/views/projectFront/configManage/groupStructureManagement.vue @@ -37,18 +37,18 @@
- + align="left" + > + - - + >
{ if (result.success) { this.$message.success(result.message); - this.getList(); + this.getTableList(); } }); }) @@ -463,7 +465,7 @@ export default { addTreeGroupApi(params).then((result) => { if (result.success) { this.$message.success(result.message); - this.getList(); + this.getTableList(); this.groupDialogVisible = false; } }); @@ -472,7 +474,7 @@ export default { editTreeGroupApi(params).then((result) => { if (result.success) { this.$message.success(result.message); - this.getList(); + this.getTableList(); this.groupDialogVisible = false; } }); @@ -488,7 +490,23 @@ export default { name: "", status: null, }; - this.getList(); + this.getTableList(); + }, + getTableList(){ + let requestData = { + projectSn: this.$store.state.projectSn, + deptName: this.queryInfo.name, + status: this.queryInfo.status, + pageNo: this.pagInfo.pageNo, + pageSize: this.pagInfo.pageSize + } + getTreeGroupPageApi(requestData).then((res) => { + if (res.success) { + this.tabelList = res.result.records; + this.pagInfo.total = +res.result.total; + console.log("列表", result); + } + }); }, getList() { getTreeGroupApi({ @@ -510,11 +528,11 @@ export default { }, SizeChange(val) { this.pagInfo.pageSize = val; - this.getList(); + this.getTableList(); }, CurrentChange(val) { this.pagInfo.pageNo = val; - this.getList(); + this.getTableList(); }, }, }; diff --git a/src/views/projectFront/configManage/personnelAccess.vue b/src/views/projectFront/configManage/personnelAccess.vue index 2bd06db5..809923aa 100644 --- a/src/views/projectFront/configManage/personnelAccess.vue +++ b/src/views/projectFront/configManage/personnelAccess.vue @@ -924,4 +924,7 @@ export default { ::v-deep .el-checkbox__input { position: absolute; } +/deep/.el-select-dropdown__item.hover,.el-select-dropdown__item.hover, .el-select-dropdown__item:hover{ + background-color: transparent; +} diff --git a/src/views/projectFront/projectSummary/supplierAudit.vue b/src/views/projectFront/projectSummary/supplierAudit.vue index 296607e4..1c920246 100644 --- a/src/views/projectFront/projectSummary/supplierAudit.vue +++ b/src/views/projectFront/projectSummary/supplierAudit.vue @@ -32,7 +32,7 @@ {{ $t("message.laborMange.inquire") }} - {{ + {{ $t("message.laborMange.refresh") }} @@ -141,7 +141,7 @@ 审批回复
@@ -339,7 +339,10 @@ >
-