|
|
@ -1781,7 +1781,7 @@ export default { |
|
|
} |
|
|
} |
|
|
const params = { |
|
|
const params = { |
|
|
site: this.modalData.site, |
|
|
site: this.modalData.site, |
|
|
roleNo: 'R015', |
|
|
|
|
|
|
|
|
roleNo: 'R025', |
|
|
active: 'Y' |
|
|
active: 'Y' |
|
|
} |
|
|
} |
|
|
return searchUserListForRole(params).then(({data}) => { |
|
|
return searchUserListForRole(params).then(({data}) => { |
|
|
@ -2391,7 +2391,7 @@ export default { |
|
|
this.testReportFileList = [] |
|
|
this.testReportFileList = [] |
|
|
|
|
|
|
|
|
if (row) { |
|
|
if (row) { |
|
|
this.modalTitle = 'Lab 编辑' |
|
|
|
|
|
|
|
|
this.modalTitle = 'Lab Test 编辑' |
|
|
api.getLabDetail(row.site, row.referenceNo).then(({data}) => { |
|
|
api.getLabDetail(row.site, row.referenceNo).then(({data}) => { |
|
|
if (data && data.code === 0) { |
|
|
if (data && data.code === 0) { |
|
|
const detail = data.data || {} |
|
|
const detail = data.data || {} |
|
|
@ -2429,7 +2429,7 @@ export default { |
|
|
this.testReportFileList = [] |
|
|
this.testReportFileList = [] |
|
|
}) |
|
|
}) |
|
|
} else { |
|
|
} else { |
|
|
this.modalTitle = 'Lab 新增' |
|
|
|
|
|
|
|
|
this.modalTitle = 'Lab Test 新增' |
|
|
this.showModalFlag = false |
|
|
this.showModalFlag = false |
|
|
this.loadSiteOptions() |
|
|
this.loadSiteOptions() |
|
|
const tempReferenceNo = 'TEMP-' + new Date().getTime() + '-' + Math.floor(Math.random() * 1000) |
|
|
const tempReferenceNo = 'TEMP-' + new Date().getTime() + '-' + Math.floor(Math.random() * 1000) |
|
|
|