|
@@ -160,7 +160,7 @@
|
|
|
<el-table-column label="状态" align="center" prop="status" width="100px">
|
|
<el-table-column label="状态" align="center" prop="status" width="100px">
|
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
|
<el-tag
|
|
<el-tag
|
|
|
- :type="scope.row.status === 0 ? 'success' : scope.row.status === 1 ? 'warning' : 'danger'"
|
|
|
|
|
|
|
+ :type="scope.row.status === -1 ? 'info' : scope.row.status === 0 ? 'success' : scope.row.status === 1 ? 'warning' : 'danger'"
|
|
|
>
|
|
>
|
|
|
{{ getStatusLabel(scope.row.status) }}
|
|
{{ getStatusLabel(scope.row.status) }}
|
|
|
</el-tag>
|
|
</el-tag>
|
|
@@ -329,15 +329,11 @@ export default {
|
|
|
appid: null,
|
|
appid: null,
|
|
|
status: null
|
|
status: null
|
|
|
},
|
|
},
|
|
|
- showSearch: true,
|
|
|
|
|
- single: true,
|
|
|
|
|
- multiple: true,
|
|
|
|
|
- ids: [],
|
|
|
|
|
- loading: false,
|
|
|
|
|
- list: [],
|
|
|
|
|
- total: 0,
|
|
|
|
|
- typesOptions: [],
|
|
|
|
|
statusOptions: [
|
|
statusOptions: [
|
|
|
|
|
+ {
|
|
|
|
|
+ label: "待审核",
|
|
|
|
|
+ value: -1
|
|
|
|
|
+ },
|
|
|
{
|
|
{
|
|
|
label: "正常",
|
|
label: "正常",
|
|
|
value: 0
|
|
value: 0
|
|
@@ -351,6 +347,14 @@ export default {
|
|
|
value: 2
|
|
value: 2
|
|
|
}
|
|
}
|
|
|
],
|
|
],
|
|
|
|
|
+ showSearch: true,
|
|
|
|
|
+ single: true,
|
|
|
|
|
+ multiple: true,
|
|
|
|
|
+ ids: [],
|
|
|
|
|
+ loading: false,
|
|
|
|
|
+ list: [],
|
|
|
|
|
+ total: 0,
|
|
|
|
|
+ typesOptions: [],
|
|
|
isMallOptions:[
|
|
isMallOptions:[
|
|
|
{
|
|
{
|
|
|
dictLabel: "是",
|
|
dictLabel: "是",
|
|
@@ -589,9 +593,10 @@ export default {
|
|
|
},
|
|
},
|
|
|
getStatusLabel(status) {
|
|
getStatusLabel(status) {
|
|
|
const statusMap = {
|
|
const statusMap = {
|
|
|
- 0: '正常',
|
|
|
|
|
- 1: '半封禁',
|
|
|
|
|
- 2: '封禁'
|
|
|
|
|
|
|
+ '-1': '待审核',
|
|
|
|
|
+ '0': '正常',
|
|
|
|
|
+ '1': '半封禁',
|
|
|
|
|
+ '2': '封禁'
|
|
|
};
|
|
};
|
|
|
return statusMap[status] || '未知';
|
|
return statusMap[status] || '未知';
|
|
|
}
|
|
}
|