|
|
@@ -23,15 +23,14 @@
|
|
|
class="act-search-input"
|
|
|
/>
|
|
|
</div>
|
|
|
- <div class="select-box--item">
|
|
|
+ <!-- <div class="select-box--item">
|
|
|
<span>状态:</span>
|
|
|
<el-select v-model="tableQuery.queryParam.statusType" placeholder="请选择状态" clearable>
|
|
|
- <el-option label="全部" :value="0" />
|
|
|
- <el-option label="待审核" :value="1" />
|
|
|
- <el-option label="审核通过" :value="2" />
|
|
|
- <el-option label="审核不通过" :value="3" />
|
|
|
+ <el-option label="待审批" :value="1" />
|
|
|
+ <el-option label="已审批" :value="2" />
|
|
|
+ <el-option label="他人已审批" :value="4" />
|
|
|
</el-select>
|
|
|
- </div>
|
|
|
+ </div> -->
|
|
|
<div class="select-box--item">
|
|
|
<span>提交类型:</span>
|
|
|
<el-select v-model="tableQuery.queryParam.sourceTypeName" placeholder="请选择提交类型" clearable>
|
|
|
@@ -59,7 +58,7 @@
|
|
|
>
|
|
|
<template #status="scope">
|
|
|
<span>
|
|
|
- {{ getStatusTypeName(scope.row.statusType ?? getStatusType(scope.row.status)) }}
|
|
|
+ {{ getStatusTypeName(scope.row.approvalStatus) }}
|
|
|
</span>
|
|
|
</template>
|
|
|
<template #action="scope">
|
|
|
@@ -138,11 +137,10 @@
|
|
|
if (status === 3 || status === 5 || status === 7) return 3;
|
|
|
return 0;
|
|
|
};
|
|
|
-
|
|
|
const getStatusTypeName = (statusType: number): string => {
|
|
|
- if (statusType === 1) return '待审核';
|
|
|
- if (statusType === 2) return '审核通过';
|
|
|
- if (statusType === 3) return '审核不通过';
|
|
|
+ if (statusType === 1) return '待审批';
|
|
|
+ if (statusType === 2) return '已审批';
|
|
|
+ if (statusType === 4) return '他人已审批';
|
|
|
return '-';
|
|
|
};
|
|
|
|