|
@@ -73,7 +73,7 @@
|
|
|
pageName == 'inspectionProjectEntrusted' &&
|
|
pageName == 'inspectionProjectEntrusted' &&
|
|
|
row.status == 1
|
|
row.status == 1
|
|
|
"
|
|
"
|
|
|
- @click="report(row,'edit')"
|
|
|
|
|
|
|
+ @click="report(row, 'edit')"
|
|
|
>报工</el-link
|
|
>报工</el-link
|
|
|
>
|
|
>
|
|
|
<el-link
|
|
<el-link
|
|
@@ -367,7 +367,7 @@
|
|
|
minWidth: 110,
|
|
minWidth: 110,
|
|
|
label: '审核人',
|
|
label: '审核人',
|
|
|
align: 'center',
|
|
align: 'center',
|
|
|
- isNone: this.pageName != 'inspectionProjectEntrusted',
|
|
|
|
|
|
|
+ // isNone: this.pageName != 'inspectionProjectEntrusted',
|
|
|
showOverflowTooltip: true
|
|
showOverflowTooltip: true
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
@@ -375,7 +375,7 @@
|
|
|
minWidth: 110,
|
|
minWidth: 110,
|
|
|
label: '审核时间',
|
|
label: '审核时间',
|
|
|
align: 'center',
|
|
align: 'center',
|
|
|
- isNone: this.pageName != 'inspectionProjectEntrusted',
|
|
|
|
|
|
|
+ // isNone: this.pageName != 'inspectionProjectEntrusted',
|
|
|
showOverflowTooltip: true
|
|
showOverflowTooltip: true
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
@@ -383,14 +383,14 @@
|
|
|
minWidth: 110,
|
|
minWidth: 110,
|
|
|
label: '收样人',
|
|
label: '收样人',
|
|
|
align: 'center',
|
|
align: 'center',
|
|
|
- isNone: this.pageName != 'inspectionProjectEntrusted',
|
|
|
|
|
|
|
+ // isNone: this.pageName != 'inspectionProjectEntrusted',
|
|
|
showOverflowTooltip: true
|
|
showOverflowTooltip: true
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
prop: 'sampleReceiverTime',
|
|
prop: 'sampleReceiverTime',
|
|
|
minWidth: 110,
|
|
minWidth: 110,
|
|
|
label: '收样时间',
|
|
label: '收样时间',
|
|
|
- isNone: this.pageName != 'inspectionProjectEntrusted',
|
|
|
|
|
|
|
+ // isNone: this.pageName != 'inspectionProjectEntrusted',
|
|
|
align: 'center',
|
|
align: 'center',
|
|
|
showOverflowTooltip: true
|
|
showOverflowTooltip: true
|
|
|
},
|
|
},
|
|
@@ -447,10 +447,13 @@
|
|
|
},
|
|
},
|
|
|
/* 报工 */
|
|
/* 报工 */
|
|
|
async report(row, type) {
|
|
async report(row, type) {
|
|
|
- const code = await verificationQualityInspector(row.id);
|
|
|
|
|
- if (code == '-1') {
|
|
|
|
|
- return;
|
|
|
|
|
|
|
+ if (type != 'detail') {
|
|
|
|
|
+ const code = await verificationQualityInspector(row.id);
|
|
|
|
|
+ if (code == '-1') {
|
|
|
|
|
+ return;
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
const res = await getById(row.id);
|
|
const res = await getById(row.id);
|
|
|
this.$refs.inspectionProjectReportRef.open(
|
|
this.$refs.inspectionProjectReportRef.open(
|
|
|
{ workData: res, list: res.templateList },
|
|
{ workData: res, list: res.templateList },
|