|
@@ -21,13 +21,19 @@
|
|
|
<el-table-column label="序号" align="center" prop="id" width="100" />
|
|
|
<el-table-column label="标题" prop="title" show-overflow-tooltip />
|
|
|
<el-table-column label="说明" prop="description" show-overflow-tooltip />
|
|
|
+ <el-table-column prop="status" label="类型" width="100" align="center" >
|
|
|
+ <template #default="scope">
|
|
|
+ <div v-if="scope.row.types == 1">手动</div>
|
|
|
+ <div v-if="scope.row.types == 2">自动</div>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
<el-table-column prop="status" label="状态" width="80" align="center" >
|
|
|
<template #default="scope">
|
|
|
<el-tag type="success" size="small" v-if="scope.row.status == 1">启用</el-tag>
|
|
|
<el-tag type="info" size="small" v-else>禁用</el-tag>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="操作" width="180" align="center" fixed="right">
|
|
|
+ <el-table-column label="操作" width="220" align="center" fixed="right">
|
|
|
<template #default="scope">
|
|
|
<el-button size="small" text type="primary" @click="onOpenRecord(scope.row)">执行</el-button>
|
|
|
<el-button size="small" text type="primary" @click="onOpenPolicyRecord(scope.row)">策略</el-button>
|