|
|
@ -428,6 +428,8 @@ |
|
|
:height="400" |
|
|
:height="400" |
|
|
:data="detailList" |
|
|
:data="detailList" |
|
|
border |
|
|
border |
|
|
|
|
|
:row-style="rowDetailStyle" |
|
|
|
|
|
@row-click="IPQCDetailClickRow" |
|
|
style="width: 100%;"> |
|
|
style="width: 100%;"> |
|
|
<el-table-column |
|
|
<el-table-column |
|
|
prop="" |
|
|
prop="" |
|
|
@ -967,9 +969,13 @@ |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
$route (newVal, oldVal) { |
|
|
$route (newVal, oldVal) { |
|
|
|
|
|
console.log(111) |
|
|
if (newVal.path !== oldVal.path) { |
|
|
if (newVal.path !== oldVal.path) { |
|
|
|
|
|
console.log(222) |
|
|
if (!this.authSearch) { |
|
|
if (!this.authSearch) { |
|
|
|
|
|
console.log(333) |
|
|
if (this.$route.params.inspectionNo) { |
|
|
if (this.$route.params.inspectionNo) { |
|
|
|
|
|
console.log(444) |
|
|
this.searchData.inspectionNo = this.$route.params.inspectionNo |
|
|
this.searchData.inspectionNo = this.$route.params.inspectionNo |
|
|
this.getDataList2() |
|
|
this.getDataList2() |
|
|
} |
|
|
} |
|
|
@ -2366,6 +2372,7 @@ |
|
|
inspectionTypeNo: '' |
|
|
inspectionTypeNo: '' |
|
|
}, |
|
|
}, |
|
|
currentRow: {}, |
|
|
currentRow: {}, |
|
|
|
|
|
currentDetailRow: {}, |
|
|
saveLoading: false, |
|
|
saveLoading: false, |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
@ -2407,6 +2414,11 @@ |
|
|
} |
|
|
} |
|
|
// 获取用户角色 |
|
|
// 获取用户角色 |
|
|
this.getUserRoleList() |
|
|
this.getUserRoleList() |
|
|
|
|
|
|
|
|
|
|
|
if (this.$route.params.inspectionNo) { |
|
|
|
|
|
this.searchData.inspectionNo = this.$route.params.inspectionNo |
|
|
|
|
|
this.getDataList2() |
|
|
|
|
|
} |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
activated () { |
|
|
activated () { |
|
|
@ -2857,6 +2869,17 @@ |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
// 单机选中 |
|
|
|
|
|
IPQCDetailClickRow (row) { |
|
|
|
|
|
this.currentDetailRow = JSON.parse(JSON.stringify(row)) |
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
rowDetailStyle ({row}) { |
|
|
|
|
|
if (this.currentDetailRow.itemNo === row.itemNo) { |
|
|
|
|
|
return { 'background-color': '#E8F7F6', cursor: 'pointer' }; |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
//刷新派设备文档的列表 |
|
|
//刷新派设备文档的列表 |
|
|
getFileContentData (row) { |
|
|
getFileContentData (row) { |
|
|
this.fileData = { |
|
|
this.fileData = { |
|
|
|