|
@@ -10,7 +10,7 @@
|
|
|
:tableAttributes="tableAttributes"
|
|
|
:tableEvents="tableEvents"
|
|
|
:columnParsing="columnParsing"
|
|
|
- :replaceOrNotMap="true"
|
|
|
+ :replaceOrNotMap="false"
|
|
|
>
|
|
|
</template-page>
|
|
|
<div class="app-container" v-if="showPage == 2">
|
|
@@ -297,7 +297,7 @@ export default {
|
|
|
<div class="operation-btns">
|
|
|
{!this.isCustomer &&
|
|
|
this.$checkBtnRole('edit', this.$route.meta.roles) &&
|
|
|
- row.examineStatus != '初审不通过' ? (
|
|
|
+ row.examineStatus != 'FAIL_ONE' ? (
|
|
|
<el-button
|
|
|
type="text"
|
|
|
class="textColor"
|
|
@@ -308,7 +308,7 @@ export default {
|
|
|
编辑
|
|
|
</el-button>
|
|
|
) : null}
|
|
|
- {row.examineStatus == '保存' && !this.isCustomer && this.$checkBtnRole('apply', this.$route.meta.roles) ? (
|
|
|
+ {row.examineStatus == 'SAVE' && !this.isCustomer && this.$checkBtnRole('apply', this.$route.meta.roles) ? (
|
|
|
<el-button
|
|
|
type="text"
|
|
|
class="textColor"
|
|
@@ -319,7 +319,7 @@ export default {
|
|
|
申请
|
|
|
</el-button>
|
|
|
) : null}
|
|
|
- {row.examineStatus == '待审核' &&
|
|
|
+ {row.examineStatus == 'WAIT' &&
|
|
|
!this.isCustomer &&
|
|
|
this.$checkBtnRole('examine', this.$route.meta.roles) ? (
|
|
|
<el-button
|
|
@@ -332,9 +332,7 @@ export default {
|
|
|
审核
|
|
|
</el-button>
|
|
|
) : null}
|
|
|
- {(row.examineStatus == '初审通过' ||
|
|
|
- row.examineStatus == '审核通过' ||
|
|
|
- row.examineStatus == '审核不通过') &&
|
|
|
+ {(row.examineStatus == 'OK_ONE' || row.examineStatus == 'OK' || row.examineStatus == 'FAIL') &&
|
|
|
!this.isCustomer &&
|
|
|
this.$checkBtnRole('examine', this.$route.meta.roles) ? (
|
|
|
<el-button
|
|
@@ -344,10 +342,10 @@ export default {
|
|
|
this.reviewFn(row.rebateOrderId)
|
|
|
}}
|
|
|
>
|
|
|
- {row.examineStatus == '审核通过' ? '取消复核' : '复核'}
|
|
|
+ {row.examineStatus == 'OK' ? '取消复核' : '复核'}
|
|
|
</el-button>
|
|
|
) : null}
|
|
|
- {(row.examineStatus == '待审核' || row.examineStatus == '保存') && !this.isCustomer ? (
|
|
|
+ {(row.examineStatus == 'WAIT' || row.examineStatus == 'SAVE') && !this.isCustomer ? (
|
|
|
<el-button
|
|
|
type="text"
|
|
|
class="textColor"
|
|
@@ -358,10 +356,10 @@ export default {
|
|
|
详情
|
|
|
</el-button>
|
|
|
) : null}
|
|
|
- {(row.examineStatus == '初审通过' ||
|
|
|
- row.examineStatus == '初审不通过' ||
|
|
|
- row.examineStatus == '审核不通过' ||
|
|
|
- row.examineStatus == '审核通过') &&
|
|
|
+ {(row.examineStatus == 'OK_ONE' ||
|
|
|
+ row.examineStatus == 'FAIL_ONE' ||
|
|
|
+ row.examineStatus == 'FAIL' ||
|
|
|
+ row.examineStatus == 'OK') &&
|
|
|
!this.isCustomer ? (
|
|
|
<el-button
|
|
|
type="text"
|
|
@@ -375,9 +373,7 @@ export default {
|
|
|
) : null}
|
|
|
{this.isCustomer &&
|
|
|
row.withholdAmount == 0 &&
|
|
|
- (row.examineStatus == '初审通过' ||
|
|
|
- row.examineStatus == '审核通过' ||
|
|
|
- row.examineStatus == '审核不通过') ? (
|
|
|
+ (row.examineStatus == 'OK_ONE' || row.examineStatus == 'OK' || row.examineStatus == 'FAIL') ? (
|
|
|
<el-button
|
|
|
type="text"
|
|
|
class="textColor"
|