fix: 考试成绩合格结果规则修改

This commit is contained in:
kun 2024-06-27 16:02:59 +08:00
parent 6f080102cc
commit f3e54fc053
2 changed files with 11 additions and 11 deletions

10
main.js
View File

@ -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/'//中科安信
}

View File

@ -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({