lvtianfang
杜函宇 1 year ago
parent b90b761663
commit 47acb23fe8

@ -32,12 +32,12 @@
<span class="title_two">通报次数</span> <span class="title_two">通报次数</span>
</div> </div>
<div> <div>
<vue-seamless-scroll <!-- <vue-seamless-scroll
:data="notificationList" :data="notificationList"
:class-option="classOption" :class-option="classOption"
class="monitorScroll" class="monitorScroll"
> > -->
<!-- <div class="table_ctn"> --> <div class="table_ctn">
<div <div
v-for="(item, index) in notificationList" v-for="(item, index) in notificationList"
:key="index" :key="index"
@ -52,8 +52,8 @@
</div> </div>
<div class="item_num">{{ item.count }}</div> <div class="item_num">{{ item.count }}</div>
</div> </div>
<!-- </div> --> </div>
</vue-seamless-scroll> <!-- </vue-seamless-scroll> -->
</div> </div>
</div> </div>
</div> </div>
@ -392,7 +392,7 @@ export default {
this.piedata.push({ this.piedata.push({
name: this.$filterDict("tc_sdtbmc", value.area), name: this.$filterDict("tc_sdtbmc", value.area),
value: value.count, value: value.count,
percent: (value.percentage).toFixed(2), percent: value.percentage.toFixed(2),
area: value.area, area: value.area,
img: require(`@/assets/privateOrder/general/${ img: require(`@/assets/privateOrder/general/${
index + 1 > 8 ? 1 : index + 1 index + 1 > 8 ? 1 : index + 1
@ -530,7 +530,7 @@ export default {
align-items: center; align-items: center;
width: 720px; width: 720px;
height: 60px; height: 60px;
margin-bottom: 15px; margin: 15px 0;
background: url("~@/assets/privateOrder/general/first/部门通报tr-bg.png"); background: url("~@/assets/privateOrder/general/first/部门通报tr-bg.png");
.item_icon { .item_icon {
width: 38px; width: 38px;

@ -602,6 +602,8 @@ export default {
listCybersecurity({ listCybersecurity({
isStatus: 1, isStatus: 1,
areaId: 1, areaId: 1,
pageNum: 1,
pageSize: 100,
}).then((res) => { }).then((res) => {
this.tableData = res.rows; this.tableData = res.rows;
}); });
@ -718,7 +720,7 @@ export default {
this.getIdcUnit(); this.getIdcUnit();
} }
if (this.dialogType === "监管单位" || this.dialogType === "网站监测") { if (this.dialogType === "监管单位" || this.dialogType === "网站监测") {
this.queryParams.areaId = 1 this.queryParams.areaId = 1;
this.dialogWidth = "2100px"; this.dialogWidth = "2100px";
if (!this.queryParams.type) { if (!this.queryParams.type) {
this.queryParams.type = type; this.queryParams.type = type;
@ -731,7 +733,7 @@ export default {
} }
if (this.dialogType == "系统监测") { if (this.dialogType == "系统监测") {
this.dialogWidth = "2100px"; this.dialogWidth = "2100px";
this.queryParams.areaId = 1 this.queryParams.areaId = 1;
if (!this.queryParams.type) { if (!this.queryParams.type) {
this.queryParams.type = type; this.queryParams.type = type;
} }

@ -114,8 +114,8 @@
v-for="(item, idx) in turnDetailsList" v-for="(item, idx) in turnDetailsList"
:key="idx" :key="idx"
class="monitor-list" class="monitor-list"
@click="rowClick(item)"
> >
<!-- @click="rowClick(item.attUrl,'details')" -->
<span :title="item.yqTitle">{{ item.yqTitle }}</span> <span :title="item.yqTitle">{{ item.yqTitle }}</span>
<span :title="item.depName">{{ item.depName }}</span> <span :title="item.depName">{{ item.depName }}</span>
<span :title="item.yqState" :style="activation(item.yqState)">{{ <span :title="item.yqState" :style="activation(item.yqState)">{{
@ -413,9 +413,9 @@ export default {
return { color: "#ff8839" }; return { color: "#ff8839" };
} else if (status === "处理中") { } else if (status === "处理中") {
return { color: "#ff8839" }; return { color: "#ff8839" };
} else if (status === "已处") { } else if (status === "已处") {
return { color: "#ffed1f" }; return { color: "#ffed1f" };
} else if (status === "待核查") { } else if (status === "未处理") {
return { color: "#53edff" }; return { color: "#53edff" };
} else if (status === "已归档") { } else if (status === "已归档") {
return { color: "#35ca29" }; return { color: "#35ca29" };
@ -449,7 +449,6 @@ export default {
methods: { methods: {
getDataList() { getDataList() {
// //
numYqbg().then((res) => { numYqbg().then((res) => {
this.tsdNum = res.data.count; this.tsdNum = res.data.count;
this.zbdNum = res.data.count1; this.zbdNum = res.data.count1;
@ -532,7 +531,13 @@ export default {
}, },
rowClick(row) { rowClick(row) {
console.log(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 str = row.fileUrl.split(",");
let str1 = str[0].split("."); let str1 = str[0].split(".");
this.fileExtension = str1[str1.length - 1]; this.fileExtension = str1[str1.length - 1];

Loading…
Cancel
Save