diff --git a/src/views/privateOrder/security/components/ReportingStatistics.vue b/src/views/privateOrder/security/components/ReportingStatistics.vue index 1a82c87..81a86e5 100644 --- a/src/views/privateOrder/security/components/ReportingStatistics.vue +++ b/src/views/privateOrder/security/components/ReportingStatistics.vue @@ -32,12 +32,12 @@ 通报次数
- - + > --> +
{{ item.count }}
- - +
+
@@ -392,7 +392,7 @@ export default { this.piedata.push({ name: this.$filterDict("tc_sdtbmc", value.area), value: value.count, - percent: (value.percentage).toFixed(2), + percent: value.percentage.toFixed(2), area: value.area, img: require(`@/assets/privateOrder/general/${ index + 1 > 8 ? 1 : index + 1 @@ -530,7 +530,7 @@ export default { align-items: center; width: 720px; height: 60px; - margin-bottom: 15px; + margin: 15px 0; background: url("~@/assets/privateOrder/general/first/部门通报tr-bg.png"); .item_icon { width: 38px; diff --git a/src/views/privateOrder/security/components/componentLeft.vue b/src/views/privateOrder/security/components/componentLeft.vue index f5c71a6..b50e2a9 100644 --- a/src/views/privateOrder/security/components/componentLeft.vue +++ b/src/views/privateOrder/security/components/componentLeft.vue @@ -602,6 +602,8 @@ export default { listCybersecurity({ isStatus: 1, areaId: 1, + pageNum: 1, + pageSize: 100, }).then((res) => { this.tableData = res.rows; }); @@ -718,7 +720,7 @@ export default { this.getIdcUnit(); } if (this.dialogType === "监管单位" || this.dialogType === "网站监测") { - this.queryParams.areaId = 1 + this.queryParams.areaId = 1; this.dialogWidth = "2100px"; if (!this.queryParams.type) { this.queryParams.type = type; @@ -731,7 +733,7 @@ export default { } if (this.dialogType == "系统监测") { this.dialogWidth = "2100px"; - this.queryParams.areaId = 1 + this.queryParams.areaId = 1; if (!this.queryParams.type) { this.queryParams.type = type; } diff --git a/src/views/privateOrder/sentiment/components/componentRight.vue b/src/views/privateOrder/sentiment/components/componentRight.vue index 4dd1c09..7dbfa0a 100644 --- a/src/views/privateOrder/sentiment/components/componentRight.vue +++ b/src/views/privateOrder/sentiment/components/componentRight.vue @@ -114,8 +114,8 @@ v-for="(item, idx) in turnDetailsList" :key="idx" class="monitor-list" + @click="rowClick(item)" > - {{ item.yqTitle }} {{ item.depName }} {{ @@ -413,9 +413,9 @@ export default { return { color: "#ff8839" }; } else if (status === "处理中") { return { color: "#ff8839" }; - } else if (status === "已处置") { + } else if (status === "已处理") { return { color: "#ffed1f" }; - } else if (status === "待核查") { + } else if (status === "未处理") { return { color: "#53edff" }; } else if (status === "已归档") { return { color: "#35ca29" }; @@ -449,7 +449,6 @@ export default { methods: { getDataList() { //获取舆情报告的各个类型的数量 - numYqbg().then((res) => { this.tsdNum = res.data.count; this.zbdNum = res.data.count1; @@ -532,7 +531,13 @@ export default { }, rowClick(row) { console.log(row); - if (!row.fileName && !row.fileUrl) return; + if (!row.fileUrl) { + this.$message({ + message: "该记录暂无文件!", + type: "warning", + }); + return; + } let str = row.fileUrl.split(","); let str1 = str[0].split("."); this.fileExtension = str1[str1.length - 1];