|
|
@ -23,18 +23,15 @@
|
|
|
|
</module-title>
|
|
|
|
</module-title>
|
|
|
|
<div class="warningBox" @click="openDetailLog()">
|
|
|
|
<div class="warningBox" @click="openDetailLog()">
|
|
|
|
<div class="warningBox-BJ"></div>
|
|
|
|
<div class="warningBox-BJ"></div>
|
|
|
|
<div class="warning-title" :title="currentWarningObj.sentimentName">
|
|
|
|
<div class="warning-title" :title="currentWarningObj.title">
|
|
|
|
{{ currentWarningObj.sentimentName }}
|
|
|
|
{{ currentWarningObj.title }}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
<div class="warning-content" :title="currentWarningObj.content">
|
|
|
|
class="warning-content"
|
|
|
|
{{ currentWarningObj.content }}
|
|
|
|
:title="currentWarningObj.sentimentContent"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
{{ currentWarningObj.sentimentContent }}
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="warning-time">{{ currentWarningObj.publishTime }}</div>
|
|
|
|
<div class="warning-time">{{ currentWarningObj.dateTime }}</div>
|
|
|
|
<div class="warning-source">
|
|
|
|
<div class="warning-source">
|
|
|
|
{{ $filterDict("tc_yq_media", currentWarningObj.source) }}
|
|
|
|
{{ currentWarningObj.source }}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
@ -42,11 +39,7 @@
|
|
|
|
<module-title>舆情报告</module-title>
|
|
|
|
<module-title>舆情报告</module-title>
|
|
|
|
<div class="report">
|
|
|
|
<div class="report">
|
|
|
|
<div class="report-top">
|
|
|
|
<div class="report-top">
|
|
|
|
<div
|
|
|
|
<div class="Tips" style="cursor: pointer" @click="reportDetails(1)">
|
|
|
|
class="Tips"
|
|
|
|
|
|
|
|
style="cursor: pointer"
|
|
|
|
|
|
|
|
@click="reportDetails('提示单')"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
<i class="report-icon"></i>
|
|
|
|
<i class="report-icon"></i>
|
|
|
|
<div style="display: inline-block; margin: 33px 0 0 14px">
|
|
|
|
<div style="display: inline-block; margin: 33px 0 0 14px">
|
|
|
|
<div class="report-title">提示单(件)</div>
|
|
|
|
<div class="report-title">提示单(件)</div>
|
|
|
@ -56,7 +49,7 @@
|
|
|
|
<div
|
|
|
|
<div
|
|
|
|
class="Transfer"
|
|
|
|
class="Transfer"
|
|
|
|
style="cursor: pointer"
|
|
|
|
style="cursor: pointer"
|
|
|
|
@click="reportDetails('转办单')"
|
|
|
|
@click="reportDetails(2)"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<i class="report-icon"></i>
|
|
|
|
<i class="report-icon"></i>
|
|
|
|
<div style="display: inline-block; margin: 33px 0 0 14px">
|
|
|
|
<div style="display: inline-block; margin: 33px 0 0 14px">
|
|
|
@ -66,17 +59,17 @@
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="report-bottom">
|
|
|
|
<div class="report-bottom">
|
|
|
|
<div class="Special-report" @click="reportDetails('专报')">
|
|
|
|
<div class="Special-report" @click="reportDetails(3)">
|
|
|
|
<div class="Special-icon"></div>
|
|
|
|
<div class="Special-icon"></div>
|
|
|
|
<div class="Special-title">专报</div>
|
|
|
|
<div class="Special-title">专报</div>
|
|
|
|
<div class="Special-num">{{ Transfer[0].bg }}</div>
|
|
|
|
<div class="Special-num">{{ Transfer[0].bg }}</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="Monthly-report" @click="reportDetails('月报')">
|
|
|
|
<div class="Monthly-report" @click="reportDetails(4)">
|
|
|
|
<div class="Monthly-icon"></div>
|
|
|
|
<div class="Monthly-icon"></div>
|
|
|
|
<div class="Monthly-title">月报</div>
|
|
|
|
<div class="Monthly-title">月报</div>
|
|
|
|
<div class="Monthly-num">{{ Transfer[1].bg }}</div>
|
|
|
|
<div class="Monthly-num">{{ Transfer[1].bg }}</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="depth-report" @click="reportDetails('深度报告')">
|
|
|
|
<div class="depth-report" @click="reportDetails(5)">
|
|
|
|
<div class="depth-icon"></div>
|
|
|
|
<div class="depth-icon"></div>
|
|
|
|
<div class="depth-title">深度报告</div>
|
|
|
|
<div class="depth-title">深度报告</div>
|
|
|
|
<div class="depth-num">{{ Transfer[2].bg }}</div>
|
|
|
|
<div class="depth-num">{{ Transfer[2].bg }}</div>
|
|
|
@ -123,14 +116,14 @@
|
|
|
|
class="monitor-list"
|
|
|
|
class="monitor-list"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<!-- @click="rowClick(item.attUrl,'details')" -->
|
|
|
|
<!-- @click="rowClick(item.attUrl,'details')" -->
|
|
|
|
<span :title="item.sentimentName">{{
|
|
|
|
<span :title="item.yqTitle">{{
|
|
|
|
item.sentimentName
|
|
|
|
item.yqTitle
|
|
|
|
}}</span>
|
|
|
|
}}</span>
|
|
|
|
<span :title="item.depName">{{ item.depName }}</span>
|
|
|
|
<span :title="item.depName">{{ item.depName }}</span>
|
|
|
|
<span
|
|
|
|
<span
|
|
|
|
:title="item.opinionStatusName"
|
|
|
|
:title="item.yqState"
|
|
|
|
:style="activation(item.sentimentState)"
|
|
|
|
:style="activation(item.yqState)"
|
|
|
|
>{{ $filterDict("tc_yq_state", item.sentimentState) }}</span
|
|
|
|
>{{ item.yqState }}</span
|
|
|
|
>
|
|
|
|
>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</vue-seamless-scroll>
|
|
|
|
</vue-seamless-scroll>
|
|
|
@ -172,7 +165,7 @@
|
|
|
|
<el-table-column
|
|
|
|
<el-table-column
|
|
|
|
v-if="item !== '序号'"
|
|
|
|
v-if="item !== '序号'"
|
|
|
|
:key="item"
|
|
|
|
:key="item"
|
|
|
|
prop="sentimentName"
|
|
|
|
prop="title"
|
|
|
|
align="center"
|
|
|
|
align="center"
|
|
|
|
show-overflow-tooltip
|
|
|
|
show-overflow-tooltip
|
|
|
|
label="标题名称"
|
|
|
|
label="标题名称"
|
|
|
@ -263,25 +256,25 @@
|
|
|
|
<el-row>
|
|
|
|
<el-row>
|
|
|
|
<el-col :span="3" class="detail_title">标题:</el-col>
|
|
|
|
<el-col :span="3" class="detail_title">标题:</el-col>
|
|
|
|
<el-col :span="21" class="detail_text">
|
|
|
|
<el-col :span="21" class="detail_text">
|
|
|
|
{{ currentWarningObj.sentimentName }}
|
|
|
|
{{ currentWarningObj.title }}
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
</el-row>
|
|
|
|
</el-row>
|
|
|
|
<el-row>
|
|
|
|
<el-row>
|
|
|
|
<el-col :span="3" class="detail_title">内容:</el-col>
|
|
|
|
<el-col :span="3" class="detail_title">内容:</el-col>
|
|
|
|
<el-col :span="21" class="detail_text">{{
|
|
|
|
<el-col :span="21" class="detail_text">{{
|
|
|
|
currentWarningObj.sentimentContent
|
|
|
|
currentWarningObj.content
|
|
|
|
}}</el-col>
|
|
|
|
}}</el-col>
|
|
|
|
</el-row>
|
|
|
|
</el-row>
|
|
|
|
<el-row>
|
|
|
|
<el-row>
|
|
|
|
<el-col :span="3" class="detail_title">来源:</el-col>
|
|
|
|
<el-col :span="3" class="detail_title">来源:</el-col>
|
|
|
|
<el-col :span="21" class="detail_text">{{
|
|
|
|
<el-col :span="21" class="detail_text">{{
|
|
|
|
$filterDict("tc_yq_media", currentWarningObj.source)
|
|
|
|
currentWarningObj.source
|
|
|
|
}}</el-col>
|
|
|
|
}}</el-col>
|
|
|
|
</el-row>
|
|
|
|
</el-row>
|
|
|
|
<el-row>
|
|
|
|
<el-row>
|
|
|
|
<el-col :span="3" class="detail_title">时间:</el-col>
|
|
|
|
<el-col :span="3" class="detail_title">时间:</el-col>
|
|
|
|
<el-col :span="21" class="detail_text">{{
|
|
|
|
<el-col :span="21" class="detail_text">{{
|
|
|
|
currentWarningObj.publishTime
|
|
|
|
currentWarningObj.dateTime
|
|
|
|
}}</el-col>
|
|
|
|
}}</el-col>
|
|
|
|
</el-row>
|
|
|
|
</el-row>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
@ -320,6 +313,7 @@ import {
|
|
|
|
//================
|
|
|
|
//================
|
|
|
|
import { yuqingListA } from "@/api/consensusList";
|
|
|
|
import { yuqingListA } from "@/api/consensusList";
|
|
|
|
import { yqbg } from "@/api/publicOpinion";
|
|
|
|
import { yqbg } from "@/api/publicOpinion";
|
|
|
|
|
|
|
|
import { listYqyj ,listYqbg,listZbxq} from "@/api/netWorkYq";
|
|
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
export default {
|
|
|
|
components: {
|
|
|
|
components: {
|
|
|
@ -381,12 +375,14 @@ export default {
|
|
|
|
formData: {
|
|
|
|
formData: {
|
|
|
|
pageSize: 1,
|
|
|
|
pageSize: 1,
|
|
|
|
pageNum: 1,
|
|
|
|
pageNum: 1,
|
|
|
|
|
|
|
|
isStatus: 1,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
//总数
|
|
|
|
//总数
|
|
|
|
yqTotal: 0,
|
|
|
|
yqTotal: 0,
|
|
|
|
bgForm: {
|
|
|
|
bgForm: {
|
|
|
|
pageNum: 1,
|
|
|
|
pageNum: 1,
|
|
|
|
pageSize: 10,
|
|
|
|
pageSize: 10,
|
|
|
|
|
|
|
|
isStatus: 1,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
newbgForm: {},
|
|
|
|
newbgForm: {},
|
|
|
|
currentPage: 1, // 当前页数 ,默认为1
|
|
|
|
currentPage: 1, // 当前页数 ,默认为1
|
|
|
@ -408,24 +404,24 @@ export default {
|
|
|
|
},
|
|
|
|
},
|
|
|
|
activation() {
|
|
|
|
activation() {
|
|
|
|
return (status) => {
|
|
|
|
return (status) => {
|
|
|
|
if (status === 1) {
|
|
|
|
// if (status === 1) {
|
|
|
|
return { color: "#ff4c4c" };
|
|
|
|
// return { color: "#ff4c4c" };
|
|
|
|
} else if (status === 2) {
|
|
|
|
// } else if (status === 2) {
|
|
|
|
return { color: "#ff8839" };
|
|
|
|
// return { color: "#ff8839" };
|
|
|
|
} else if (status === 3) {
|
|
|
|
// } else if (status === 3) {
|
|
|
|
return { color: "#35ca29" };
|
|
|
|
// return { color: "#35ca29" };
|
|
|
|
}
|
|
|
|
|
|
|
|
// if (status === '待处理') {
|
|
|
|
|
|
|
|
// return { color: '#ff4c4c' }
|
|
|
|
|
|
|
|
// } else if (status === '待审核') {
|
|
|
|
|
|
|
|
// return { color: '#ff8839' }
|
|
|
|
|
|
|
|
// } else if (status === '待录入') {
|
|
|
|
|
|
|
|
// return { color: '#ffed1f' }
|
|
|
|
|
|
|
|
// } else if (status === '待核查') {
|
|
|
|
|
|
|
|
// return { color: '#53edff' }
|
|
|
|
|
|
|
|
// } else if (status === '已归档') {
|
|
|
|
|
|
|
|
// return { color: '#35ca29' }
|
|
|
|
|
|
|
|
// }
|
|
|
|
// }
|
|
|
|
|
|
|
|
if (status === '待处理') {
|
|
|
|
|
|
|
|
return { color: '#ff8839' }
|
|
|
|
|
|
|
|
} else if (status === '处理中') {
|
|
|
|
|
|
|
|
return { color: '#ff8839' }
|
|
|
|
|
|
|
|
} else if (status === '已处理') {
|
|
|
|
|
|
|
|
return { color: '#ffed1f' }
|
|
|
|
|
|
|
|
} else if (status === '待核查') {
|
|
|
|
|
|
|
|
return { color: '#53edff' }
|
|
|
|
|
|
|
|
} else if (status === '已归档') {
|
|
|
|
|
|
|
|
return { color: '#35ca29' }
|
|
|
|
|
|
|
|
}
|
|
|
|
// const myMap = new Map([
|
|
|
|
// const myMap = new Map([
|
|
|
|
// ["未处理", { color: "#ffed1f" }],
|
|
|
|
// ["未处理", { color: "#ffed1f" }],
|
|
|
|
// ["待舆情专员核查", { color: "#53edff" }],
|
|
|
|
// ["待舆情专员核查", { color: "#53edff" }],
|
|
|
@ -454,27 +450,26 @@ export default {
|
|
|
|
},
|
|
|
|
},
|
|
|
|
methods: {
|
|
|
|
methods: {
|
|
|
|
getDataList() {
|
|
|
|
getDataList() {
|
|
|
|
yqbg().then((res) => {
|
|
|
|
// yqbg().then((res) => {
|
|
|
|
this.tsdNum = res.data.reminder;
|
|
|
|
// this.tsdNum = res.data.reminder;
|
|
|
|
this.zbdNum = res.data.isturn;
|
|
|
|
// this.zbdNum = res.data.isturn;
|
|
|
|
res.data.reportList.forEach((value, index) => {
|
|
|
|
// res.data.reportList.forEach((value, index) => {
|
|
|
|
this.Transfer.forEach((value1, index1) => {
|
|
|
|
// this.Transfer.forEach((value1, index1) => {
|
|
|
|
if (value.sentimentReportType == value1.type) {
|
|
|
|
// if (value.sentimentReportType == value1.type) {
|
|
|
|
this.Transfer[index1].bg = value.count;
|
|
|
|
// this.Transfer[index1].bg = value.count;
|
|
|
|
return;
|
|
|
|
// return;
|
|
|
|
}
|
|
|
|
// }
|
|
|
|
});
|
|
|
|
// });
|
|
|
|
});
|
|
|
|
// });
|
|
|
|
console.log(this.Transfer);
|
|
|
|
// console.log(this.Transfer);
|
|
|
|
});
|
|
|
|
// });
|
|
|
|
//获取舆情列表
|
|
|
|
listZbxq({isStatus:1}).then((res) => {
|
|
|
|
yuqingListA({}).then((res) => {
|
|
|
|
|
|
|
|
this.turnDetailsList = res.rows;
|
|
|
|
this.turnDetailsList = res.rows;
|
|
|
|
});
|
|
|
|
});
|
|
|
|
},
|
|
|
|
},
|
|
|
|
//获取舆情预警单个列表
|
|
|
|
//获取舆情预警单个列表
|
|
|
|
getOneList() {
|
|
|
|
getOneList() {
|
|
|
|
yuqingListA(this.formData).then((res) => {
|
|
|
|
listYqyj(this.formData).then((res) => {
|
|
|
|
this.yqTotal = res.total;
|
|
|
|
this.yqTotal = res.total;
|
|
|
|
this.currentWarningObj = res.rows[0];
|
|
|
|
this.currentWarningObj = res.rows[0];
|
|
|
|
});
|
|
|
|
});
|
|
|
@ -516,40 +511,19 @@ export default {
|
|
|
|
: (this.currentIndex = 0);
|
|
|
|
: (this.currentIndex = 0);
|
|
|
|
}, 11000);
|
|
|
|
}, 11000);
|
|
|
|
},
|
|
|
|
},
|
|
|
|
async reportDetails(val) {
|
|
|
|
reportDetails(val) {
|
|
|
|
this.tableHeader = [{ label: "标题名称", prop: "attName" }];
|
|
|
|
this.tableHeader = [{ label: "标题名称", prop: "attName" }];
|
|
|
|
|
|
|
|
// console.log(this.$filterDict(bg_type,val));
|
|
|
|
this.dialogTitle = val;
|
|
|
|
this.dialogTitle = val;
|
|
|
|
if (val === "提示单") {
|
|
|
|
|
|
|
|
this.newbgForm = {
|
|
|
|
|
|
|
|
...this.bgForm,
|
|
|
|
|
|
|
|
reminder: 1,
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
} else if (val === "转办单") {
|
|
|
|
|
|
|
|
this.newbgForm = {
|
|
|
|
|
|
|
|
...this.bgForm,
|
|
|
|
|
|
|
|
isturn: 1,
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
} else if (val === "专报") {
|
|
|
|
|
|
|
|
this.newbgForm = {
|
|
|
|
|
|
|
|
...this.bgForm,
|
|
|
|
|
|
|
|
sentimentReportType: 1,
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
} else if (val === "月报") {
|
|
|
|
|
|
|
|
this.newbgForm = {
|
|
|
|
|
|
|
|
...this.bgForm,
|
|
|
|
|
|
|
|
sentimentReportType: 2,
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
} else if (val === "深度报告") {
|
|
|
|
|
|
|
|
this.newbgForm = {
|
|
|
|
this.newbgForm = {
|
|
|
|
...this.bgForm,
|
|
|
|
...this.bgForm,
|
|
|
|
sentimentReportType: 3,
|
|
|
|
type: val,
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
this.getyqbgType();
|
|
|
|
this.getyqbgType();
|
|
|
|
},
|
|
|
|
},
|
|
|
|
//获取列表
|
|
|
|
//获取列表
|
|
|
|
getyqbgType() {
|
|
|
|
getyqbgType() {
|
|
|
|
yuqingListA(this.newbgForm).then((res) => {
|
|
|
|
listYqbg(this.newbgForm).then((res) => {
|
|
|
|
this.currentPageData = res.rows;
|
|
|
|
this.currentPageData = res.rows;
|
|
|
|
this.total = res.total;
|
|
|
|
this.total = res.total;
|
|
|
|
this.dialogStatus = true;
|
|
|
|
this.dialogStatus = true;
|
|
|
|