|
|
@@ -98,6 +98,10 @@
|
|
|
</template>
|
|
|
<template #action="scope">
|
|
|
<div class="action-container--div" style="justify-content: left">
|
|
|
+ <ActionButton
|
|
|
+ text="查看"
|
|
|
+ @click="handleView(scope.row)"
|
|
|
+ />
|
|
|
<ActionButton
|
|
|
v-if="scope.row.statusName === '待反馈'"
|
|
|
text="作废"
|
|
|
@@ -312,17 +316,28 @@
|
|
|
}
|
|
|
};
|
|
|
|
|
|
- const handleApprove = () => {
|
|
|
+ const handleApprove = (row) => {
|
|
|
if (!id.value) return;
|
|
|
router.push({
|
|
|
name: 'oneByOneManagementItem',
|
|
|
query: {
|
|
|
- id: String(id.value),
|
|
|
+ id: String(row.id),
|
|
|
operate: 'one-by-one-audit-detail',
|
|
|
},
|
|
|
});
|
|
|
};
|
|
|
|
|
|
+ const handleView = (row) => {
|
|
|
+ if (!id.value) return;
|
|
|
+ router.push({
|
|
|
+ name: 'oneByOneManagementItem',
|
|
|
+ query: {
|
|
|
+ id: String(row.id),
|
|
|
+ operate: 'one-by-one-view',
|
|
|
+ },
|
|
|
+ });
|
|
|
+ };
|
|
|
+
|
|
|
onMounted(() => {
|
|
|
getDetail();
|
|
|
});
|