flx:修复安全质量选择bug
This commit is contained in:
parent
f6797a6cb3
commit
f0039b39c1
4
main.js
4
main.js
@ -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/' //郭圣雄本地
|
||||
|
||||
@ -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;
|
||||
}
|
||||
|
||||
@ -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;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user