|
|
@@ -1269,6 +1269,9 @@ export default {
|
|
|
if (row.isAudit == 0) {
|
|
|
return '待审核';
|
|
|
}
|
|
|
+ if (row.isAudit == 2) {
|
|
|
+ return '审核退回';
|
|
|
+ }
|
|
|
const option = this.isShowOptions.find(item => item.dictValue == row.isShow);
|
|
|
return option ? option.dictLabel : '未知状态';
|
|
|
},
|
|
|
@@ -1277,8 +1280,15 @@ export default {
|
|
|
if (row.isAudit == 0) {
|
|
|
return 'warning';
|
|
|
}
|
|
|
- // 根据你的业务逻辑返回不同的类型,如:success, danger, info等
|
|
|
- return row.isShow == 1 ? 'success' : 'info';
|
|
|
+ if (row.isAudit == 2) {
|
|
|
+ return 'danger';
|
|
|
+ }
|
|
|
+ const statusMap = {
|
|
|
+ 0: 'warning',
|
|
|
+ 1: 'success',
|
|
|
+ 2: 'danger'
|
|
|
+ };
|
|
|
+ return statusMap[row.isShow] || 'info';
|
|
|
},
|
|
|
cancel1(){
|
|
|
this.open1 = false;
|