|
@@ -20,12 +20,12 @@
|
|
|
]"
|
|
|
@get-list="getList"
|
|
|
>
|
|
|
- <template #fileSlot="{ item }">
|
|
|
+ <template #code="{ item }">
|
|
|
<div
|
|
|
style="cursor: pointer; color: #409eff"
|
|
|
- @click="handleClickFile(item)"
|
|
|
+ @click="handleClickCode(item)"
|
|
|
>
|
|
|
- {{ item.fileName }}
|
|
|
+ {{ item.code }}
|
|
|
</div>
|
|
|
</template>
|
|
|
</byTable>
|
|
@@ -219,6 +219,7 @@ const config = computed(() => {
|
|
|
attrs: {
|
|
|
label: "采购单号",
|
|
|
prop: "code",
|
|
|
+ slot: "code",
|
|
|
},
|
|
|
},
|
|
|
{
|
|
@@ -277,12 +278,12 @@ const config = computed(() => {
|
|
|
return proxy.dictValueLabel(status, paymentStatus.value);
|
|
|
},
|
|
|
},
|
|
|
-
|
|
|
{
|
|
|
attrs: {
|
|
|
label: "操作",
|
|
|
width: "200",
|
|
|
- align: "right",
|
|
|
+ align: "center",
|
|
|
+ fixed: "right",
|
|
|
},
|
|
|
renderHTML(row) {
|
|
|
return [
|
|
@@ -501,6 +502,17 @@ const start = () => {
|
|
|
},
|
|
|
});
|
|
|
};
|
|
|
+
|
|
|
+const handleClickCode = (row) => {
|
|
|
+ proxy.$router.push({
|
|
|
+ path: "/platform_manage/process/processApproval",
|
|
|
+ query: {
|
|
|
+ flowKey: row.processInstanceId,
|
|
|
+ id: row.flowId,
|
|
|
+ processType: 20,
|
|
|
+ },
|
|
|
+ });
|
|
|
+};
|
|
|
</script>
|
|
|
|
|
|
<style lang="scss" scoped>
|