|
@@ -480,9 +480,13 @@ export default {
|
|
|
this.sbId = record.sbId
|
|
|
this.level = record.level
|
|
|
// 查询列表
|
|
|
- fetchCheckStandard({ id: record.id }).then(res => {
|
|
|
- this.data = res.data.detailList
|
|
|
- })
|
|
|
+ if (record.id !== null) {
|
|
|
+ fetchCheckStandard({ id: record.id }).then(res => {
|
|
|
+ this.data = res.data.detailList
|
|
|
+ })
|
|
|
+ } else {
|
|
|
+ this.data = record.detailList
|
|
|
+ }
|
|
|
this.checkImgList = record.checkImgList
|
|
|
this.checkFileList = record.checkFileList
|
|
|
if (record.lastDate != null) {
|