|
|
@@ -109,14 +109,8 @@
|
|
|
</template>
|
|
|
<!-- 工作流审批状态 -->
|
|
|
<template v-slot:flowableStatus="{ row }">
|
|
|
- <span v-if="row.flowableStatus == 1" class="ele-text-primary">
|
|
|
- 审批中
|
|
|
- </span>
|
|
|
- <span v-if="row.flowableStatus == 2" class="ele-text-success">
|
|
|
- 通过
|
|
|
- </span>
|
|
|
- <span v-if="row.flowableStatus == 3" class="ele-text-danger">
|
|
|
- 拒绝
|
|
|
+ <span :class="status[row.flowableStatus].class">
|
|
|
+ {{ status[row.flowableStatus].label }}
|
|
|
</span>
|
|
|
</template>
|
|
|
|
|
|
@@ -181,8 +175,9 @@
|
|
|
},
|
|
|
total: 0,
|
|
|
status: [
|
|
|
- { label: '待审核', class: 'ele-text-primary' },
|
|
|
- { label: '已审核', class: 'ele-text-success' }, // 审核状态 1未审核 2
|
|
|
+ { label: '未审核', class: 'ele-text-info' },
|
|
|
+ { label: '审核中', class: 'ele-text-primary' },
|
|
|
+ { label: '审核通过', class: 'ele-text-success' },
|
|
|
{ label: '驳回', class: 'ele-text-danger' }
|
|
|
],
|
|
|
columns: [
|
|
|
@@ -224,14 +219,7 @@
|
|
|
align: 'center',
|
|
|
showOverflowTooltip: true
|
|
|
},
|
|
|
- {
|
|
|
- prop: 'flowableStatus',
|
|
|
- slot: 'flowableStatus',
|
|
|
- label: '工作流审批状态',
|
|
|
- align: 'center',
|
|
|
- showOverflowTooltip: true,
|
|
|
- width: 120
|
|
|
- },
|
|
|
+
|
|
|
{
|
|
|
prop: 'createUserName',
|
|
|
label: '领料人',
|
|
|
@@ -247,6 +235,14 @@
|
|
|
showOverflowTooltip: true,
|
|
|
width: 200
|
|
|
},
|
|
|
+ {
|
|
|
+ prop: 'verifyStatus',
|
|
|
+ slot: 'verifyStatus',
|
|
|
+ label: '状态',
|
|
|
+ align: 'center',
|
|
|
+ showOverflowTooltip: true,
|
|
|
+ width: 120
|
|
|
+ },
|
|
|
{
|
|
|
columnKey: 'action',
|
|
|
label: '操作',
|
|
|
@@ -269,7 +265,7 @@
|
|
|
type: 'warning'
|
|
|
})
|
|
|
.then(async () => {
|
|
|
- const data = await outin.outinApprove({ outInId: row.id });
|
|
|
+ const data = await outin.outApprove({ outInId: row.id });
|
|
|
if (data) {
|
|
|
this.$message.success('流程发起成功!');
|
|
|
this.getList();
|