|
@@ -12,15 +12,14 @@
|
|
|
@toView="toView"
|
|
|
@toCheck="toCheck"
|
|
|
>
|
|
|
- <template #custom="{ item, row }">
|
|
|
+ <template #options="{ item }">
|
|
|
<template v-if="item.prop === 'status'">
|
|
|
<el-option
|
|
|
v-for="(i, index) in statusList"
|
|
|
- :key="index"
|
|
|
:label="i.label"
|
|
|
:value="i.value"
|
|
|
- >
|
|
|
- </el-option>
|
|
|
+ :key="index"
|
|
|
+ ></el-option>
|
|
|
</template>
|
|
|
</template>
|
|
|
</data-table>
|
|
@@ -126,10 +125,9 @@ export default {
|
|
|
},
|
|
|
// 审核状态
|
|
|
statusList: [
|
|
|
- {
|
|
|
- label: "0",
|
|
|
- value: "as",
|
|
|
- },
|
|
|
+ { label: "待审中", value: "1" },
|
|
|
+ { label: "审核通过", value: "2" },
|
|
|
+ { label: "审核拒绝", value: "3" },
|
|
|
],
|
|
|
};
|
|
|
},
|