|
@@ -10,6 +10,7 @@
|
|
|
:tableAttributes="tableAttributes"
|
|
|
:tableEvents="tableEvents"
|
|
|
:columnParsing="columnParsing"
|
|
|
+ :replaceOrNotMap="false"
|
|
|
>
|
|
|
</template-page>
|
|
|
<div class="app-container" v-if="showSurrender == 1">
|
|
@@ -272,9 +273,10 @@ export default {
|
|
|
},
|
|
|
operation() {
|
|
|
return (h, { row, index, column }) => {
|
|
|
+ console.log(row)
|
|
|
return (
|
|
|
<div class="operation-btns">
|
|
|
- {row.examineStatus == '待审核' && this.$checkBtnRole('examine', this.$route.meta.roles) ? (
|
|
|
+ {row.examineStatus == 'WAIT' && this.$checkBtnRole('examine', this.$route.meta.roles) ? (
|
|
|
<el-button
|
|
|
type="text"
|
|
|
class="textColor"
|
|
@@ -285,8 +287,8 @@ export default {
|
|
|
审批
|
|
|
</el-button>
|
|
|
) : null}
|
|
|
- {row.dataState == '待复核' &&
|
|
|
- row.examineStatus == '审核通过' &&
|
|
|
+ {row.dataState == 'WAIT_REVIEW' &&
|
|
|
+ row.examineStatus == 'OK' &&
|
|
|
this.$checkBtnRole('examine', this.$route.meta.roles) ? (
|
|
|
<el-button
|
|
|
type="text"
|
|
@@ -299,12 +301,12 @@ export default {
|
|
|
</el-button>
|
|
|
) : null}
|
|
|
|
|
|
- {row.examineStatus == '保存' ||
|
|
|
- row.examineStatus == '审核通过' ||
|
|
|
- row.examineStatus == '审核不通过' ||
|
|
|
- row.dataState == '待复核' ||
|
|
|
- row.dataState == '复核' ||
|
|
|
- row.dataState == '补充' ? (
|
|
|
+ {row.examineStatus == 'SAVE' ||
|
|
|
+ row.examineStatus == 'OK' ||
|
|
|
+ row.examineStatus == 'FAIL' ||
|
|
|
+ row.dataState == 'WAIT_REVIEW' ||
|
|
|
+ row.dataState == 'REVIEW' ||
|
|
|
+ row.dataState == 'AMEND' ? (
|
|
|
<el-button
|
|
|
type="text"
|
|
|
class="textColor"
|
|
@@ -315,7 +317,7 @@ export default {
|
|
|
详情
|
|
|
</el-button>
|
|
|
) : null}
|
|
|
- {row.examineStatus == '审核通过' && !row.isRefundDeposit ? (
|
|
|
+ {row.examineStatus == 'OK' && !row.isRefundDeposit ? (
|
|
|
<el-popconfirm
|
|
|
style="margin-left: 10px"
|
|
|
title="二次退押吗?"
|