|
@@ -12,16 +12,27 @@
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
|
|
|
|
|
|
- <template v-slot:bomArtFiles="{ row }">
|
|
|
|
|
|
|
+ <template v-slot:technicalDrawings="{ row }">
|
|
|
|
|
|
|
|
- <div v-if="row.bomArtFiles && row.bomArtFiles?.length">
|
|
|
|
|
- <el-link v-for="link in row.bomArtFiles" :key="link.id" type="primary" :underline="false"
|
|
|
|
|
|
|
+ <div v-if="row.technicalDrawings && row.technicalDrawings?.length">
|
|
|
|
|
+ <el-link v-for="link in row.technicalDrawings" :key="link.id" type="primary" :underline="false"
|
|
|
@click="downloadFile(link)">
|
|
@click="downloadFile(link)">
|
|
|
{{ link.name }}</el-link>
|
|
{{ link.name }}</el-link>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
|
|
|
+
|
|
|
|
|
+ <template v-slot:files="{ row }">
|
|
|
|
|
+ <div v-if="row.files && row.technicalDrawings?.length">
|
|
|
|
|
+ <el-link v-for="link in row.files" :key="link.id" type="primary" :underline="false"
|
|
|
|
|
+ @click="downloadFile(link)">
|
|
|
|
|
+ {{ link.name }}</el-link>
|
|
|
|
|
+ </div>
|
|
|
|
|
+
|
|
|
|
|
+ </template>
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
<template v-slot:action="{ row }">
|
|
<template v-slot:action="{ row }">
|
|
|
<el-link type="primary" :underline="false" @click="handleFlow(row)">
|
|
<el-link type="primary" :underline="false" @click="handleFlow(row)">
|
|
|
流程
|
|
流程
|
|
@@ -98,7 +109,7 @@ export default {
|
|
|
align: 'center'
|
|
align: 'center'
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
{
|
|
{
|
|
|
prop: 'workOrderCode',
|
|
prop: 'workOrderCode',
|
|
|
label: '工单编码',
|
|
label: '工单编码',
|
|
@@ -108,7 +119,7 @@ export default {
|
|
|
|
|
|
|
|
|
|
|
|
|
{
|
|
{
|
|
|
- prop: '',
|
|
|
|
|
|
|
+ prop: 'taskName',
|
|
|
label: '工序',
|
|
label: '工序',
|
|
|
align: 'center'
|
|
align: 'center'
|
|
|
},
|
|
},
|
|
@@ -127,7 +138,6 @@ export default {
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
|
-
|
|
|
|
|
{
|
|
{
|
|
|
prop: 'remark',
|
|
prop: 'remark',
|
|
|
label: '备注',
|
|
label: '备注',
|
|
@@ -156,14 +166,22 @@ export default {
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
+ {
|
|
|
|
|
+ label: '图片附件',
|
|
|
|
|
+ slot: 'technicalDrawings',
|
|
|
|
|
+ action: 'technicalDrawings',
|
|
|
|
|
+ minWidth: 100,
|
|
|
|
|
+ },
|
|
|
|
|
+
|
|
|
{
|
|
{
|
|
|
label: '附件',
|
|
label: '附件',
|
|
|
- slot: 'bomArtFiles',
|
|
|
|
|
- action: 'bomArtFiles',
|
|
|
|
|
|
|
+ slot: 'files',
|
|
|
|
|
+ action: 'files',
|
|
|
minWidth: 100,
|
|
minWidth: 100,
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
+
|
|
|
{
|
|
{
|
|
|
columnKey: 'action',
|
|
columnKey: 'action',
|
|
|
label: '操作',
|
|
label: '操作',
|
|
@@ -216,8 +234,6 @@ export default {
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
handleDetails(row) {
|
|
handleDetails(row) {
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
if (this.clientEnvironmentId == 3) {
|
|
if (this.clientEnvironmentId == 3) {
|
|
|
this.$refs.detailsRef.open(row)
|
|
this.$refs.detailsRef.open(row)
|
|
|
}
|
|
}
|
|
@@ -225,8 +241,8 @@ export default {
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
|
- handleRelease() {
|
|
|
|
|
- this.$refs.releaseRef.open()
|
|
|
|
|
|
|
+ handleRelease(row) {
|
|
|
|
|
+ this.$refs.releaseRef.open(row)
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
|
|
|