质量管理-通知人回显类型bug修复

This commit is contained in:
jxj_yjl 2023-04-10 11:43:31 +08:00
parent 955b0a3630
commit 4424236297

View File

@ -643,9 +643,9 @@
>
<el-option
v-for="item in crewList"
:key="item.userId"
:key="item.userId+''"
:label="item.workerName"
:value="item.userId"
:value="item.userId+''"
>
<!-- <span style="float: left">{{ item.workerName }}</span>
<span style="float: right; color: #8492a6; font-size: 13px"
@ -674,9 +674,9 @@
>
<el-option
v-for="item in crewList"
:key="item.userId"
:key="item.userId+''"
:label="item.workerName"
:value="item.userId"
:value="item.userId+''"
>
<!-- <span style="float: left">{{ item.workerName }}</span>
<span style="float: right; color: #8492a6; font-size: 13px"
@ -705,9 +705,9 @@
>
<el-option
v-for="item in crewList"
:key="item.userId"
:key="item.userId+''"
:label="item.workerName"
:value="item.userId"
:value="item.userId+''"
>
<!-- <span style="float: left">{{ item.workerName }}</span>
<span style="float: right; color: #8492a6; font-size: 13px"
@ -736,9 +736,9 @@
>
<el-option
v-for="item in crewList"
:key="item.userId"
:key="item.userId+''"
:label="item.workerName"
:value="item.userId"
:value="item.userId+''"
>
<!-- <span style="float: left">{{ item.workerName }}</span>
<span
@ -1722,11 +1722,12 @@ export default {
},
//
showDatadetails(val) {
console.log(val)
console.log('查看详情====',val)
this.selectRectifyRecordList(val.id)
this.hideUpload = true
this.addBtn(1)
if (val.recordType == 1) {
console.log('类型是1吗');
this.recordType = 1
val.urgentLevel = Number(val.urgentLevel)
// val.notifyPerson = [Number(val.notifyPerson)];
@ -1755,7 +1756,7 @@ export default {
this.addForm1 = JSON.parse(JSON.stringify(val))
this.addForm1.notifyPerson = val.notifyPerson
.split(',')
.map((item) => Number(item))
.map((item2) => String(item2))
} else {
this.recordType = 2
val.urgentLevel = Number(val.urgentLevel)