From 047229b9b2305fa22d2506e292f1ca61e2c6ea6f Mon Sep 17 00:00:00 2001 From: kun <1422840143@qq.com> Date: Wed, 22 May 2024 15:33:24 +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/account.js | 1 + src/assets/js/http.js | 2 +- src/store/index.js | 8 +- .../projectFront/aiAnalysis/warningList.vue | 2 +- .../safeWorkManage/safeWorkRules.vue | 114 +++++---- .../progressManagementAg/progressApproval.vue | 1 + .../componentsModule/dataInfoFormData.vue | 218 ++++++++++++++++++ src/views/userCenter/userCenter/index.vue | 14 +- 8 files changed, 306 insertions(+), 54 deletions(-) create mode 100644 src/views/userCenter/userCenter/componentsModule/dataInfoFormData.vue diff --git a/src/assets/js/api/account.js b/src/assets/js/api/account.js index 677260ea..9832bb2a 100644 --- a/src/assets/js/api/account.js +++ b/src/assets/js/api/account.js @@ -5,6 +5,7 @@ import {get,post} from '../http' export const addSystemUserApi = data => post('xmgl/systemUser/add', data); //添加账号信息 export const editSystemUserApi = data => post('xmgl/systemUser/edit', data); //编辑账号信息 +export const getSystemUserInfoApi = data => post('xmgl/systemUser/queryById', data); //查询账号信息 export const deleteSystemUserApi = data => post('xmgl/systemUser/delete', data); //删除账号信息 export const getSystemUserBySnApi = data => post('xmgl/systemUser/getSystemUserBySn', data); //查找账号列表 export const getSystemUserBySnPageApi = data => post('xmgl/systemUser/getSystemUserBySnPage', data); //查找账号分页列表 diff --git a/src/assets/js/http.js b/src/assets/js/http.js index 9ff3342f..bb3911a4 100644 --- a/src/assets/js/http.js +++ b/src/assets/js/http.js @@ -87,7 +87,7 @@ if (process.env.NODE_ENV == 'development') { axios.defaults.baseURL ='http://192.168.34.221:19111/' //郭圣雄本地 // axios.defaults.baseURL = 'http://192.168.34.155:19111/' //彭洁本地 // axios.defaults.baseURL = 'http://182.90.224.237:51234' //郭圣雄远程 - axios.defaults.baseURL = 'http://jxj.zhgdyun.com:61212/' //彭洁远程 + // axios.defaults.baseURL = 'http://jxj.zhgdyun.com:61212/' //彭洁远程 // axios.defaults.baseURL ='http://101.43.164.214:45020/' //沈阳和盈 // axios.defaults.baseURL ='http://183.249.224.118:9000/' //嘉兴王江泾公用码头 // axios.defaults.baseURL ='http://101.43.164.214:11111/' // 百色三标段项目 diff --git a/src/store/index.js b/src/store/index.js index cc275b4b..4804dff3 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -50,11 +50,11 @@ export default new Vuex.Store({ // FILEURL:' http://101.43.164.214:11111/image/',// 百色 // UPLOADURL:'http://182.90.224.237:51234/upload/image/', // FILEURL:'http://182.90.224.237:51234/image/', - // UPLOADURL:'http://192.168.34.221:9111/upload/image/',// 郭圣雄本地 - // FILEURL:'http://192.168.34.221:9111/image/',//郭圣雄本地 - UPLOADURL:'http://182.90.224.237:51234/upload/image/',// 郭圣雄远程 - FILEURL:'http://182.90.224.237:51234/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://182.90.224.237:51234/upload/image/',// 郭圣雄远程 + // FILEURL:'http://182.90.224.237:51234/image/',//郭圣雄远程 // UPLOADURL:'http://jxj.zhgdyun.com:15551/upload/image',//测试 // FILEURL:'http://jxj.zhgdyun.com:15551/image/',//测试 diff --git a/src/views/projectFront/aiAnalysis/warningList.vue b/src/views/projectFront/aiAnalysis/warningList.vue index b3bf3a66..38648ba7 100644 --- a/src/views/projectFront/aiAnalysis/warningList.vue +++ b/src/views/projectFront/aiAnalysis/warningList.vue @@ -413,7 +413,7 @@ export default { // 打开处置弹窗 openDialog(item) { this.addEditForm = JSON.parse(JSON.stringify(item)) - this.addEditForm.deductScore = item.aiDeductRule.deductScore + this.addEditForm.deductScore = item.aiDeductRule?item.aiDeductRule.deductScore:0 this.getPersonDetail(item.id) this.recordShow = true console.log('打开处置弹窗', item) diff --git a/src/views/projectFront/laborManage/safeWorkManage/safeWorkRules.vue b/src/views/projectFront/laborManage/safeWorkManage/safeWorkRules.vue index abefdacb..cf9c9cd6 100644 --- a/src/views/projectFront/laborManage/safeWorkManage/safeWorkRules.vue +++ b/src/views/projectFront/laborManage/safeWorkManage/safeWorkRules.vue @@ -3,8 +3,8 @@