flx:修复安全质量选择bug

This commit is contained in:
X_Rian 2024-07-27 15:58:03 +08:00
parent f6797a6cb3
commit f0039b39c1
3 changed files with 15 additions and 3 deletions

View File

@ -38,9 +38,9 @@ if (process.env.NODE_ENV === 'development') {
// 开发环境
console.log('开发环境')
// 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:9809/' // 鞍钢正式地址
// 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://182.90.224.237:51234/' //雄哥内网穿透地址
// Vue.prototype.url_config = 'http://jxj.zhgdyun.com:61212/' //杰哥内网穿透地址
// Vue.prototype.url_config = 'http://192.168.34.221:28888/' //郭圣雄本地
// Vue.prototype.url_config = 'http://192.168.34.221:9111/' //郭圣雄本地

View File

@ -934,12 +934,15 @@
console.log(e)
//type ==1 ;2;3;4 ;5; 6; 7; 8;
if (type == 1) {
if(this.issueGradeList.length == 0) return;
this.issueGradeIndex = e.detail.value;
this.form.level = this.issueGradeList[e.detail.value].value;
} else if (type == 2) {
if(this.urgencyList.length == 0) return;
this.urgencyIndex = e.detail.value;
this.form.urgentLevel = this.urgencyList[e.detail.value].value;
} else if (type == 3) {
if(this.personList.length == 0) return;
this.inspectManIndex = e.detail.value;
this.form.inspectManId = this.personList[e.detail.value].userId
} else if (type == 'startTime') {
@ -947,13 +950,16 @@
} else if (type == 'startTime2') {
this.form.changeLimitTime = `${e.f1} ${e.f8}`;
} else if (type == 6) {
if(this.personUpdateList.length == 0) return;
this.changePeopleIndex = e.detail.value;
this.form.changeId = this.personUpdateList[e.detail.value].userId;
console.log(this.changePeopleIndex, this.form.changeId)
} else if (type == 7) {
if(this.reviewList.length == 0) return;
this.reviewIndex = e.detail.value;
this.form.reviewId = this.reviewList[e.detail.value].userId;
} else if (type == 8) {
if(this.personList.length == 0) return;
this.verifyManIndex = e.detail.value;
this.form.verifyManId = this.personList[e.detail.value].userId;
}

View File

@ -938,15 +938,18 @@
//
bindPickerChange(e, type) {
console.log(e)
console.log(e, e.detail.value, type)
//type ==1 ;2;3;4 ;5; 6; 7; 8;
if (type == 1) {
if(this.issueGradeList.length == 0) return;
this.issueGradeIndex = e.detail.value;
this.form.level = this.issueGradeList[e.detail.value].value;
} else if (type == 2) {
if(this.urgencyList.length == 0) return;
this.urgencyIndex = e.detail.value;
this.form.urgentLevel = this.urgencyList[e.detail.value].value;
} else if (type == 3) {
if(this.personList.length == 0) return;
this.inspectManIndex = e.detail.value;
this.form.inspectManId = this.personList[e.detail.value].userId
} else if (type == 'startTime') {
@ -954,13 +957,16 @@
} else if (type == 'startTime2') {
this.form.changeLimitTime = `${e.f1} ${e.f8}`;
} else if (type == 6) {
if(this.personUpdateList.length == 0) return;
this.changePeopleIndex = e.detail.value;
this.form.changeId = this.personUpdateList[e.detail.value].userId;
console.log(this.changePeopleIndex, this.form.changeId)
} else if (type == 7) {
if(this.reviewList.length == 0) return;
this.reviewIndex = e.detail.value;
this.form.reviewId = this.reviewList[e.detail.value].userId;
} else if (type == 8) {
if(this.personList.length == 0) return;
this.verifyManIndex = e.detail.value;
this.form.verifyManId = this.personList[e.detail.value].userId;
}