From f3e54fc0532764c4d4c896bc0ba88550be7d383c Mon Sep 17 00:00:00 2001 From: kun <1422840143@qq.com> Date: Thu, 27 Jun 2024 16:02:59 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=80=83=E8=AF=95=E6=88=90=E7=BB=A9?= =?UTF-8?q?=E5=90=88=E6=A0=BC=E7=BB=93=E6=9E=9C=E8=A7=84=E5=88=99=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.js | 10 +++++----- .../laborManage/searchTeam/personDetail.vue | 12 ++++++------ 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/main.js b/main.js index 52b12e2a..e616f1bc 100644 --- a/main.js +++ b/main.js @@ -31,8 +31,8 @@ Vue.component('uni-icons2', uniIcons2) // Vue.prototype.COMPANY = "sanjiang" //(部署三江h5需要打开/pages/projectManage/projectManage,页面onload内容) // Vue.prototype.COMPANY = "zjwj" // Vue.prototype.COMPANY = "sccr" -Vue.prototype.COMPANY = "agjt" // 鞍钢集团环境 -// Vue.prototype.COMPANY = "" // 标准版 +// Vue.prototype.COMPANY = "agjt" // 鞍钢集团环境 +Vue.prototype.COMPANY = "" // 标准版 if (process.env.NODE_ENV === 'development') { // 开发环境 console.log('开发环境') @@ -93,12 +93,12 @@ if (process.env.NODE_ENV === 'development') { // Vue.prototype.url_config = 'http://10.168.1.104:11111/' // 线上地址 // Vue.prototype.url_config = 'http://47.93.215.234:9809/' // 鞍钢线上地址(弃用) // Vue.prototype.url_config = 'http://42.180.188.17:9809/' // 鞍钢线上地址 - Vue.prototype.url_config = 'http://42.180.188.17:11211/' // 鞍钢线上测试地址 + // Vue.prototype.url_config = 'http://42.180.188.17:11211/' // 鞍钢线上测试地址 // Vue.prototype.url_config = 'http://182.90.224.237:51234/' // 百色三标段 // Vue.prototype.url_config = 'http://192.168.34.221:9111/' // 百色三标段 // Vue.prototype.work_url = 'http://47.93.215.234:19997' // 工作流线上地址(弃用) // Vue.prototype.work_url = 'http://42.180.188.17:19997' // 工作流线上地址 - Vue.prototype.work_url = 'http://42.180.188.17:19097' // 工作流测试地址 + // Vue.prototype.work_url = 'http://42.180.188.17:19097' // 工作流测试地址 // Vue.prototype.work_url = 'http://192.168.34.139:5173' // 工作流地址 // Vue.prototype.url_config = 'http://182.90.224.147:100/' //演示平台 // Vue.prototype.url_config ='http://124.71.178.44:8012/' // 河南 @@ -132,7 +132,7 @@ if (process.env.NODE_ENV === 'development') { // Vue.prototype.url_config = 'http://101.43.164.214:45022/'//盘锦 // Vue.prototype.url_config = 'http://183.249.224.118:9000/'// 嘉兴项目 // Vue.prototype.url_config = 'http://jxj.zhgdyun.com:30250/#/'// 演示平台H5 - // Vue.prototype.url_config = 'http://101.43.164.214:11111/'// 百色三标段 + Vue.prototype.url_config = 'http://101.43.164.214:11111/'// 百色三标段 // Vue.prototype.url_config = 'http://8.136.222.164:8808/'//中科安信 } diff --git a/pages/projectEnd/laborManage/searchTeam/personDetail.vue b/pages/projectEnd/laborManage/searchTeam/personDetail.vue index 4b6e2733..716263a9 100644 --- a/pages/projectEnd/laborManage/searchTeam/personDetail.vue +++ b/pages/projectEnd/laborManage/searchTeam/personDetail.vue @@ -345,14 +345,14 @@ methods: { setCodeColor(fenshu) { console.log(fenshu) - if (fenshu >= 90) { + if (fenshu >= 80) { this.foregroundColor = "green"; this.pdgroundColor = "green"; - } else if (fenshu >= 80 && fenshu < 90) { + } else if (fenshu >= 60 && fenshu < 80) { // this.fontColor = "rgb(255, 230, 0)"; this.foregroundColor = "#F7C409"; this.pdgroundColor = "#F7C409"; - } else if (fenshu < 80) { + } else if (fenshu < 60) { // this.fontColor = "red"; this.foregroundColor = "#F0212A"; this.pdgroundColor = "#F0212A"; @@ -370,11 +370,11 @@ projectSn: obj.projectSn, scanQrCoder: JSON.parse(uni.getStorageSync('userInfo')).account } - if (obj.safeScore >= 90) { + if (obj.safeScore >= 80) { requestData.accessStatus = 1; - } else if (obj.safeScore >= 80 && obj.safeScore < 90) { + } else if (obj.safeScore >= 60 && obj.safeScore < 80) { requestData.accessStatus = 1; - } else if (obj.safeScore < 80) { + } else if (obj.safeScore < 60) { requestData.accessStatus = 2; } this.sendRequest({