|
|
@ -76,6 +76,11 @@
|
|
|
|
<el-table-column label="排除信息总数" align="center" prop="pcxxCount" />
|
|
|
|
<el-table-column label="排除信息总数" align="center" prop="pcxxCount" />
|
|
|
|
<el-table-column label="舆情预警总数" align="center" prop="yqyjCount" />
|
|
|
|
<el-table-column label="舆情预警总数" align="center" prop="yqyjCount" />
|
|
|
|
<el-table-column label="舆情预警占比" align="center" prop="yqyjZb" />
|
|
|
|
<el-table-column label="舆情预警占比" align="center" prop="yqyjZb" />
|
|
|
|
|
|
|
|
<el-table-column label="启用/禁用" align="center">
|
|
|
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
|
|
|
<el-switch v-model="scope.row.isStatus"></el-switch>
|
|
|
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
</el-table-column>
|
|
|
|
<el-table-column
|
|
|
|
<el-table-column
|
|
|
|
label="操作"
|
|
|
|
label="操作"
|
|
|
|
align="center"
|
|
|
|
align="center"
|
|
|
@ -241,7 +246,7 @@ export default {
|
|
|
|
// 表单校验
|
|
|
|
// 表单校验
|
|
|
|
rules: {},
|
|
|
|
rules: {},
|
|
|
|
//新增按钮是否可用
|
|
|
|
//新增按钮是否可用
|
|
|
|
isAdd:false,
|
|
|
|
isAdd: false,
|
|
|
|
};
|
|
|
|
};
|
|
|
|
},
|
|
|
|
},
|
|
|
|
created() {
|
|
|
|
created() {
|
|
|
@ -260,10 +265,10 @@ export default {
|
|
|
|
getList() {
|
|
|
|
getList() {
|
|
|
|
this.loading = true;
|
|
|
|
this.loading = true;
|
|
|
|
listSx(this.queryParams).then((response) => {
|
|
|
|
listSx(this.queryParams).then((response) => {
|
|
|
|
if(response.rows.length>0){
|
|
|
|
if (response.rows.length > 0) {
|
|
|
|
this.isAdd=true
|
|
|
|
this.isAdd = true;
|
|
|
|
}else{
|
|
|
|
} else {
|
|
|
|
this.isAdd=false
|
|
|
|
this.isAdd = false;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
this.sxList = response.rows;
|
|
|
|
this.sxList = response.rows;
|
|
|
|
this.total = response.total;
|
|
|
|
this.total = response.total;
|
|
|
|