|
|
|
@ -41,7 +41,7 @@
|
|
|
|
|
v-for="(item, idx) in dataSource.bottom"
|
|
|
|
|
:key="idx"
|
|
|
|
|
class="section-bottom-item"
|
|
|
|
|
@click="showAttack(item.title, item.num)"
|
|
|
|
|
@click="showAttack(item.title, item.type)"
|
|
|
|
|
>
|
|
|
|
|
<img :src="item.url" alt="" />
|
|
|
|
|
<span class="bottom-title">{{ item.title }}</span>
|
|
|
|
@ -58,7 +58,7 @@
|
|
|
|
|
v-for="(item, idx) in superviseObject"
|
|
|
|
|
:key="idx"
|
|
|
|
|
:class="['section-object-item', item.className]"
|
|
|
|
|
@click="showAttack(item.title, item.num)"
|
|
|
|
|
@click="showAttack(item.title, item.type)"
|
|
|
|
|
>
|
|
|
|
|
<img :src="item.url" alt="" />
|
|
|
|
|
<div class="item-content">
|
|
|
|
@ -81,7 +81,7 @@
|
|
|
|
|
<img :src="securityMonitor.url" alt="" />
|
|
|
|
|
<div class="monitor-info-des">
|
|
|
|
|
<span class="info-des-title">{{ securityMonitor.title }}</span>
|
|
|
|
|
<span class="info-des-total">{{ monitorForm.totalSum }}</span>
|
|
|
|
|
<span class="info-des-total">{{ monitorForm.netAttack }}</span>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<span class="monitor-line">|</span>
|
|
|
|
@ -95,11 +95,11 @@
|
|
|
|
|
<span class="detail-item-title">{{ item.title }}</span>
|
|
|
|
|
<span class="detail-item-num">{{
|
|
|
|
|
item.title == "入侵攻击"
|
|
|
|
|
? monitorForm.rqSum
|
|
|
|
|
? monitorForm.rqAttack
|
|
|
|
|
: item.title == "恶意扫描"
|
|
|
|
|
? monitorForm.eySum
|
|
|
|
|
? monitorForm.smAttack
|
|
|
|
|
: item.title == "僵木蠕病毒"
|
|
|
|
|
? monitorForm.jmrSum
|
|
|
|
|
? monitorForm.bdAttack
|
|
|
|
|
: 0
|
|
|
|
|
}}</span>
|
|
|
|
|
</div>
|
|
|
|
@ -112,7 +112,7 @@
|
|
|
|
|
<span>攻击源/IP</span>
|
|
|
|
|
<span>攻击类型</span>
|
|
|
|
|
</div>
|
|
|
|
|
<div @click="getAttackSource($event)">
|
|
|
|
|
<div>
|
|
|
|
|
<vue-seamless-scroll
|
|
|
|
|
:data="tableData"
|
|
|
|
|
:class-option="classOption"
|
|
|
|
@ -122,12 +122,13 @@
|
|
|
|
|
v-for="(item, idx) in tableData"
|
|
|
|
|
:key="idx"
|
|
|
|
|
class="monitor-list"
|
|
|
|
|
@click="getAttackSource(item)"
|
|
|
|
|
>
|
|
|
|
|
<span :data-id="item.id">{{ item.attackTime }}</span>
|
|
|
|
|
<span :data-id="item.id">{{ item.sourceIp }}</span>
|
|
|
|
|
<span :data-id="item.id">{{
|
|
|
|
|
$filterDict("tc_attack_type", item.attackType)
|
|
|
|
|
$moment(item.startTime).format("YYYY-MM-DD")
|
|
|
|
|
}}</span>
|
|
|
|
|
<span :data-id="item.id">{{ item.attackyIp }}</span>
|
|
|
|
|
<span :data-id="item.id">{{ item.attackType }}</span>
|
|
|
|
|
</div>
|
|
|
|
|
</vue-seamless-scroll>
|
|
|
|
|
</div>
|
|
|
|
@ -176,7 +177,7 @@
|
|
|
|
|
<div class="dialog_little_title">攻击发起时间:</div>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="18">
|
|
|
|
|
<div class="dialog_little_ctn">{{ tableDataPop.attackTime }}</div>
|
|
|
|
|
<div class="dialog_little_ctn">{{ tableDataPop.startTime }}</div>
|
|
|
|
|
</el-col>
|
|
|
|
|
</el-row>
|
|
|
|
|
<el-row>
|
|
|
|
@ -184,7 +185,7 @@
|
|
|
|
|
<div class="dialog_little_title">攻击源IP:</div>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="18">
|
|
|
|
|
<div class="dialog_little_ctn">{{ tableDataPop.sourceIp }}</div>
|
|
|
|
|
<div class="dialog_little_ctn">{{ tableDataPop.attackyIp }}</div>
|
|
|
|
|
</el-col>
|
|
|
|
|
</el-row>
|
|
|
|
|
<el-row>
|
|
|
|
@ -193,7 +194,7 @@
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="18">
|
|
|
|
|
<div class="dialog_little_ctn">
|
|
|
|
|
{{ $filterDict("tc_attack_type", tableDataPop.attackType) }}
|
|
|
|
|
{{ tableDataPop.attackType }}
|
|
|
|
|
</div>
|
|
|
|
|
</el-col>
|
|
|
|
|
</el-row>
|
|
|
|
@ -203,7 +204,7 @@
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="18">
|
|
|
|
|
<div class="dialog_little_ctn">
|
|
|
|
|
{{ tableDataPop.attackIpRegion }}
|
|
|
|
|
{{ tableDataPop.attackIpArea }}
|
|
|
|
|
</div>
|
|
|
|
|
</el-col>
|
|
|
|
|
</el-row>
|
|
|
|
@ -212,7 +213,7 @@
|
|
|
|
|
<div class="dialog_little_title">受攻击IP:</div>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="18">
|
|
|
|
|
<div class="dialog_little_ctn">{{ tableDataPop.attackedIp }}</div>
|
|
|
|
|
<div class="dialog_little_ctn">{{ tableDataPop.sAttackIp }}</div>
|
|
|
|
|
</el-col>
|
|
|
|
|
</el-row>
|
|
|
|
|
<el-row>
|
|
|
|
@ -221,7 +222,7 @@
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="18">
|
|
|
|
|
<div class="dialog_little_ctn">
|
|
|
|
|
{{ tableDataPop.attackedIpRegion }}
|
|
|
|
|
{{ tableDataPop.sAttackIpArea }}
|
|
|
|
|
</div>
|
|
|
|
|
</el-col>
|
|
|
|
|
</el-row>
|
|
|
|
@ -239,14 +240,14 @@
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="6">
|
|
|
|
|
<div class="dialog_little_ctn">
|
|
|
|
|
{{ $filterDict("tc_net_safety_level", tableDataPop.level) }}
|
|
|
|
|
{{ tableDataPop.netLevel }}
|
|
|
|
|
</div>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="6">
|
|
|
|
|
<div class="dialog_little_title">联系电话:</div>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="6">
|
|
|
|
|
<div class="dialog_little_ctn">{{ tableDataPop.phoneNum }}</div>
|
|
|
|
|
<div class="dialog_little_ctn">{{ tableDataPop.linkTel }}</div>
|
|
|
|
|
</el-col>
|
|
|
|
|
</el-row>
|
|
|
|
|
<el-row>
|
|
|
|
@ -287,7 +288,7 @@
|
|
|
|
|
:total="total"
|
|
|
|
|
:page.sync="queryParams.pageNum"
|
|
|
|
|
:limit.sync="queryParams.pageSize"
|
|
|
|
|
@pagination="showAttack"
|
|
|
|
|
@pagination="showAttack1"
|
|
|
|
|
/>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
@ -308,19 +309,6 @@ import vueSeamlessScroll from "vue-seamless-scroll";
|
|
|
|
|
import ModuleTitle from "../../common/ModuleTitle.vue";
|
|
|
|
|
import attackSituation from "./attackSituation.vue";
|
|
|
|
|
import ExcelTable from "@/components/ExcelTable";
|
|
|
|
|
import {
|
|
|
|
|
listSystem,
|
|
|
|
|
listUnit,
|
|
|
|
|
listWeb,
|
|
|
|
|
listIDCunit,
|
|
|
|
|
listSource,
|
|
|
|
|
saftyscreenSupervise,
|
|
|
|
|
saftyscreenSafety,
|
|
|
|
|
listDetection,
|
|
|
|
|
getDetection,
|
|
|
|
|
listTj,
|
|
|
|
|
listSourceTj,
|
|
|
|
|
} from "@/api/zongzhi/st.js";
|
|
|
|
|
import {
|
|
|
|
|
yingTanZhen,
|
|
|
|
|
yingTanZhenKeyValue,
|
|
|
|
@ -339,9 +327,21 @@ import {
|
|
|
|
|
rtz,
|
|
|
|
|
rtzKeyValue,
|
|
|
|
|
} from "./jianGuan";
|
|
|
|
|
import { getLatest, getSecurity } from "@/api/common";
|
|
|
|
|
//===============
|
|
|
|
|
import { dataLY } from "@/api/wlSafe";
|
|
|
|
|
import {
|
|
|
|
|
listDataSourceTj,
|
|
|
|
|
listRyz,
|
|
|
|
|
listXtjc,
|
|
|
|
|
listDbxt,
|
|
|
|
|
listDbdw,
|
|
|
|
|
listZfwz,
|
|
|
|
|
listJgdw,
|
|
|
|
|
listIdcdw,
|
|
|
|
|
listWljgtj,
|
|
|
|
|
listCybersecurity,
|
|
|
|
|
getCybersecurity,
|
|
|
|
|
} from "@/api/networkSecurity";
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
|
components: {
|
|
|
|
|
attackSituation,
|
|
|
|
@ -366,6 +366,7 @@ export default {
|
|
|
|
|
queryParams: {
|
|
|
|
|
pageNum: 1,
|
|
|
|
|
pageSize: 10,
|
|
|
|
|
isStatus: 1,
|
|
|
|
|
}, // 分页查询条件
|
|
|
|
|
total: 0, // 总数
|
|
|
|
|
time: null,
|
|
|
|
@ -408,19 +409,18 @@ export default {
|
|
|
|
|
title: "硬探针",
|
|
|
|
|
num: 0,
|
|
|
|
|
url: require("@/assets/privateOrder/general/硬探针.png"),
|
|
|
|
|
type: 3,
|
|
|
|
|
type: 1,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: "软探针",
|
|
|
|
|
num: 0,
|
|
|
|
|
url: require("@/assets/privateOrder/general/软探针.png"),
|
|
|
|
|
type: 4,
|
|
|
|
|
type: 2,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: "系统监测",
|
|
|
|
|
num: 0,
|
|
|
|
|
url: require("@/assets/privateOrder/general/系统监测.png"),
|
|
|
|
|
type: 7,
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
@ -436,14 +436,14 @@ export default {
|
|
|
|
|
num: 0,
|
|
|
|
|
className: "item2",
|
|
|
|
|
url: require("@/assets/privateOrder/general/icon-监管单位.png"),
|
|
|
|
|
type: 5,
|
|
|
|
|
type: 1,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: "网站监测",
|
|
|
|
|
num: 0,
|
|
|
|
|
className: "item3",
|
|
|
|
|
url: require("@/assets/privateOrder/general/icon-网站监测.png"),
|
|
|
|
|
type: 6,
|
|
|
|
|
type: 2,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: "IDC单位",
|
|
|
|
@ -471,24 +471,19 @@ export default {
|
|
|
|
|
detail: [
|
|
|
|
|
{
|
|
|
|
|
title: "入侵攻击",
|
|
|
|
|
// num: 1455.92
|
|
|
|
|
num: 1455.92,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: "恶意扫描",
|
|
|
|
|
// num: 2325.24
|
|
|
|
|
num: 2325.24,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: "僵木蠕病毒",
|
|
|
|
|
// num: 796.152
|
|
|
|
|
num: 796.152,
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
monitorForm: {
|
|
|
|
|
totalSum: 0,
|
|
|
|
|
rqSum: 0,
|
|
|
|
|
eySum: 0,
|
|
|
|
|
jmrSum: 0,
|
|
|
|
|
},
|
|
|
|
|
monitorForm: {},
|
|
|
|
|
tableDataPop: {
|
|
|
|
|
// id: 1,
|
|
|
|
|
// attackTime: '2023-07-30',
|
|
|
|
@ -556,146 +551,83 @@ export default {
|
|
|
|
|
clearInterval(this.time);
|
|
|
|
|
},
|
|
|
|
|
mounted() {
|
|
|
|
|
listSourceTj().then((res) => {
|
|
|
|
|
this.dataSource.top[0].currentNum = res.rows[0].lable1;
|
|
|
|
|
this.dataSource.top[0].total = res.rows[0].lable1Sume;
|
|
|
|
|
this.dataSource.top[1].currentNum = res.rows[0].lable2;
|
|
|
|
|
this.dataSource.top[1].total = res.rows[0].lable2Sume;
|
|
|
|
|
});
|
|
|
|
|
this.changeBtn(); // 切换
|
|
|
|
|
this.getSaftyscreenSupervise();
|
|
|
|
|
this.getSaftyscreenSafety();
|
|
|
|
|
this.getListDetection();
|
|
|
|
|
this.time = setInterval(() => {
|
|
|
|
|
// 安全隐患列表
|
|
|
|
|
if (this.tableData.length >= this.checkTotal) {
|
|
|
|
|
clearInterval(this.time);
|
|
|
|
|
} else {
|
|
|
|
|
this.checkParams.pageNum = this.checkParams.pageNum + 1;
|
|
|
|
|
this.getListDetection();
|
|
|
|
|
}
|
|
|
|
|
}, 6000);
|
|
|
|
|
// this.getDataSource() // 数据来源
|
|
|
|
|
// 左下角数据滚动
|
|
|
|
|
// getLatest().then((res) => {
|
|
|
|
|
// this.tableData = []
|
|
|
|
|
// res['T_LATEST_NEWS[]'].forEach((item) => {
|
|
|
|
|
// this.tableData.push({
|
|
|
|
|
// id: item.id,
|
|
|
|
|
// date: item.attack_time.substring(0, 10),
|
|
|
|
|
// ip: item.attack_ip_region + '/' + item.source_ip,
|
|
|
|
|
// type: item.attack_type
|
|
|
|
|
// })
|
|
|
|
|
// })
|
|
|
|
|
// })
|
|
|
|
|
// getSecurity().then((res) => {
|
|
|
|
|
// const data = res['T_SECURITY_MONITOR[]']
|
|
|
|
|
// this.securityMonitor.total = (data[0].statistic_count / 10000).toFixed(2)
|
|
|
|
|
// this.securityMonitor.detail[0].num = (
|
|
|
|
|
// data[1].statistic_count / 10000
|
|
|
|
|
// ).toFixed(2)
|
|
|
|
|
// this.securityMonitor.detail[1].num = (
|
|
|
|
|
// data[2].statistic_count / 10000
|
|
|
|
|
// ).toFixed(2)
|
|
|
|
|
// this.securityMonitor.detail[2].num = (
|
|
|
|
|
// data[3].statistic_count / 10000
|
|
|
|
|
// ).toFixed(2)
|
|
|
|
|
// })
|
|
|
|
|
|
|
|
|
|
//数据来源
|
|
|
|
|
this.getsjly();
|
|
|
|
|
this.changeBtn(); // 切换
|
|
|
|
|
// this.getSaftyscreenSupervise();
|
|
|
|
|
// this.getSaftyscreenSafety();
|
|
|
|
|
// this.getListDetection();
|
|
|
|
|
// this.time = setInterval(() => {
|
|
|
|
|
// // 安全隐患列表
|
|
|
|
|
// if (this.tableData.length >= this.checkTotal) {
|
|
|
|
|
// clearInterval(this.time);
|
|
|
|
|
// } else {
|
|
|
|
|
// this.checkParams.pageNum = this.checkParams.pageNum + 1;
|
|
|
|
|
// this.getListDetection();
|
|
|
|
|
// }
|
|
|
|
|
// }, 6000);
|
|
|
|
|
},
|
|
|
|
|
methods: {
|
|
|
|
|
getsjly() {
|
|
|
|
|
dataLY().then((res) => {
|
|
|
|
|
//获取云端监测和APT(M)
|
|
|
|
|
listDataSourceTj().then((res) => {
|
|
|
|
|
console.log(res);
|
|
|
|
|
res.data.forEach((value, index) => {
|
|
|
|
|
this.dataSource.bottom.forEach((value2, index2) => {
|
|
|
|
|
if (value.type == value2.type) {
|
|
|
|
|
this.dataSource.bottom[index2].num = value.count;
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
this.superviseObject.forEach((value3, index3) => {
|
|
|
|
|
if (value.type == value3.type) {
|
|
|
|
|
this.superviseObject[index3].num = value.count;
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
});
|
|
|
|
|
this.dataSource.top[0].currentNum = res.rows[0].lable1;
|
|
|
|
|
this.dataSource.top[0].total = res.rows[0].lable1Sum;
|
|
|
|
|
this.dataSource.top[1].currentNum = res.rows[0].lable2;
|
|
|
|
|
this.dataSource.top[1].total = res.rows[0].lable2Sum;
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
//================
|
|
|
|
|
AttackClick(id) {
|
|
|
|
|
return new Promise((resolve) => {
|
|
|
|
|
getLatest().then((res) => {
|
|
|
|
|
res["T_LATEST_NEWS[]"].forEach((item) => {
|
|
|
|
|
if (item.id === id) {
|
|
|
|
|
this.tableDataPop.id = id;
|
|
|
|
|
this.tableDataPop.attackTime = item.attack_time;
|
|
|
|
|
this.tableDataPop.sourceIp = item.source_ip;
|
|
|
|
|
this.tableDataPop.attackType = item.attack_type;
|
|
|
|
|
this.tableDataPop.attackIpRegion = item.attack_ip_region;
|
|
|
|
|
this.tableDataPop.attackedIp = item.attacked_ip;
|
|
|
|
|
this.tableDataPop.attackedType = item.attacked_type;
|
|
|
|
|
this.tableDataPop.webLevel = item.web_level;
|
|
|
|
|
this.tableDataPop.subordinateDept = item.subordinate_dept;
|
|
|
|
|
this.tableDataPop.attackedIpRegion = item.attacked_ip_region;
|
|
|
|
|
item.contact_tel === undefined
|
|
|
|
|
? (this.tableDataPop.contactTel = "-")
|
|
|
|
|
: (this.tableDataPop.contactTel = item.contact_tel);
|
|
|
|
|
item.contact_name === undefined
|
|
|
|
|
? (this.tableDataPop.contactName = "-")
|
|
|
|
|
: (this.tableDataPop.contactName = item.contact_name);
|
|
|
|
|
resolve();
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
});
|
|
|
|
|
//获取网络监测统计数据
|
|
|
|
|
listWljgtj().then((res) => {
|
|
|
|
|
this.monitorForm = res.rows[0];
|
|
|
|
|
});
|
|
|
|
|
//获取网络监测列表
|
|
|
|
|
listCybersecurity({
|
|
|
|
|
isStatus: 1,
|
|
|
|
|
}).then((res) => {
|
|
|
|
|
this.tableData = res.rows;
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
async getAttackSource(e) {
|
|
|
|
|
let id = e.target.dataset.id;
|
|
|
|
|
if (!id) return;
|
|
|
|
|
//================
|
|
|
|
|
getAttackSource(e) {
|
|
|
|
|
this.dialogWidth = "1000px";
|
|
|
|
|
getDetection(id).then((res) => {
|
|
|
|
|
this.tableDataPop = res.data;
|
|
|
|
|
getCybersecurity(e.id).then((res) => {
|
|
|
|
|
this.dialogType = "安全监测";
|
|
|
|
|
this.tableDataPop = res.data;
|
|
|
|
|
this.dialogStatus = true;
|
|
|
|
|
});
|
|
|
|
|
// await this.AttackClick(id)
|
|
|
|
|
},
|
|
|
|
|
/**
|
|
|
|
|
* 安全监管List
|
|
|
|
|
*/
|
|
|
|
|
getListDetection() {
|
|
|
|
|
listDetection(this.checkParams).then((res) => {
|
|
|
|
|
this.tableData = [...this.tableData, ...res.rows];
|
|
|
|
|
this.checkTotal = res.total;
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
// getListDetection() {
|
|
|
|
|
// listDetection(this.checkParams).then((res) => {
|
|
|
|
|
// this.tableData = [...this.tableData, ...res.rows];
|
|
|
|
|
// this.checkTotal = res.total;
|
|
|
|
|
// });
|
|
|
|
|
// },
|
|
|
|
|
/**
|
|
|
|
|
* 安全监测攻击类型统计
|
|
|
|
|
*/
|
|
|
|
|
getSaftyscreenSafety() {
|
|
|
|
|
listTj({ isStatus: 1 }).then((res) => {
|
|
|
|
|
this.monitorForm = res.rows[0];
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
// getSaftyscreenSafety() {
|
|
|
|
|
// listTj({ isStatus: 1 }).then((res) => {
|
|
|
|
|
// this.monitorForm = res.rows[0];
|
|
|
|
|
// });
|
|
|
|
|
// },
|
|
|
|
|
/**
|
|
|
|
|
* 监管对象各类别统计量
|
|
|
|
|
*/
|
|
|
|
|
getSaftyscreenSupervise() {
|
|
|
|
|
saftyscreenSupervise().then((res) => {
|
|
|
|
|
res.data.forEach((item) => {
|
|
|
|
|
this.superviseObject.forEach((it) => {
|
|
|
|
|
if (item.name == it.title) {
|
|
|
|
|
it.num = item.count;
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
});
|
|
|
|
|
console.log(res, "aaa");
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
// getSaftyscreenSupervise() {
|
|
|
|
|
// saftyscreenSupervise().then((res) => {
|
|
|
|
|
// res.data.forEach((item) => {
|
|
|
|
|
// this.superviseObject.forEach((it) => {
|
|
|
|
|
// if (item.name == it.title) {
|
|
|
|
|
// it.num = item.count;
|
|
|
|
|
// }
|
|
|
|
|
// });
|
|
|
|
|
// });
|
|
|
|
|
// console.log(res, "aaa");
|
|
|
|
|
// });
|
|
|
|
|
// },
|
|
|
|
|
/**
|
|
|
|
|
* 表格参数重置
|
|
|
|
|
* */
|
|
|
|
@ -703,72 +635,56 @@ export default {
|
|
|
|
|
this.total = 0;
|
|
|
|
|
this.queryParams = {
|
|
|
|
|
pageNum: 1,
|
|
|
|
|
isStatus: 1,
|
|
|
|
|
pageSize: 10,
|
|
|
|
|
};
|
|
|
|
|
this.excelData = [];
|
|
|
|
|
this.excelDataHeader = [];
|
|
|
|
|
},
|
|
|
|
|
/**
|
|
|
|
|
* 等保系统
|
|
|
|
|
*/
|
|
|
|
|
getDbSteam() {
|
|
|
|
|
listSystem(this.queryParams).then((res) => {
|
|
|
|
|
this.excelData = res.rows;
|
|
|
|
|
// 等保系统
|
|
|
|
|
getDbxt() {
|
|
|
|
|
listDbxt(this.queryParams).then((res) => {
|
|
|
|
|
this.excelDataHeader = dbxtKeyValue;
|
|
|
|
|
this.excelData = res.rows;
|
|
|
|
|
this.total = res.total;
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
/**
|
|
|
|
|
* 等保单位
|
|
|
|
|
*/
|
|
|
|
|
// 等保单位
|
|
|
|
|
getDbUnit() {
|
|
|
|
|
listUnit(this.queryParams).then((res) => {
|
|
|
|
|
this.excelData = res.rows;
|
|
|
|
|
listDbdw(this.queryParams).then((res) => {
|
|
|
|
|
this.excelDataHeader = dbdwKeyValue;
|
|
|
|
|
this.excelData = res.rows;
|
|
|
|
|
this.total = res.total;
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
/**
|
|
|
|
|
* 政府网站
|
|
|
|
|
*/
|
|
|
|
|
// 政府网站
|
|
|
|
|
getZfWeb() {
|
|
|
|
|
listWeb(this.queryParams).then((res) => {
|
|
|
|
|
this.excelData = res.rows;
|
|
|
|
|
listZfwz(this.queryParams).then((res) => {
|
|
|
|
|
this.excelDataHeader = zfdwKeyValue;
|
|
|
|
|
this.excelData = res.rows;
|
|
|
|
|
this.total = res.total;
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
/**
|
|
|
|
|
* IDC单位
|
|
|
|
|
*/
|
|
|
|
|
// IDC单位
|
|
|
|
|
getIdcUnit() {
|
|
|
|
|
listIDCunit(this.queryParams).then((res) => {
|
|
|
|
|
this.excelData = res.rows;
|
|
|
|
|
listIdcdw(this.queryParams).then((res) => {
|
|
|
|
|
this.excelDataHeader = IDCKeyValue;
|
|
|
|
|
this.total = res.total;
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
/**
|
|
|
|
|
* 监管单位 || 网站监测 || 系统监测
|
|
|
|
|
*/
|
|
|
|
|
getJgUnit() {
|
|
|
|
|
listSource(this.queryParams).then((res) => {
|
|
|
|
|
this.excelData = res.rows;
|
|
|
|
|
this.excelDataHeader = xitongjianceKeyValue;
|
|
|
|
|
this.total = res.total;
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
showAttack(item = "安全监测", total) {
|
|
|
|
|
|
|
|
|
|
showAttack(item, type) {
|
|
|
|
|
if (typeof item === "object") {
|
|
|
|
|
//
|
|
|
|
|
this.queryParams.pageNum = item.page;
|
|
|
|
|
this.queryParams.pageSize = item.limit;
|
|
|
|
|
} else {
|
|
|
|
|
this.reset();
|
|
|
|
|
this.dialogType = item;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (this.dialogType === "等保系统") {
|
|
|
|
|
this.dialogWidth = "4000px";
|
|
|
|
|
this.getDbSteam();
|
|
|
|
|
this.getDbxt();
|
|
|
|
|
}
|
|
|
|
|
if (this.dialogType === "等保单位") {
|
|
|
|
|
this.dialogWidth = "4000px";
|
|
|
|
@ -782,53 +698,46 @@ export default {
|
|
|
|
|
this.dialogWidth = "1800px";
|
|
|
|
|
this.getIdcUnit();
|
|
|
|
|
}
|
|
|
|
|
if (
|
|
|
|
|
this.dialogType === "监管单位" ||
|
|
|
|
|
this.dialogType === "系统监测" ||
|
|
|
|
|
this.dialogType === "网站监测" ||
|
|
|
|
|
this.dialogType === "软探针" ||
|
|
|
|
|
this.dialogType === "硬探针"
|
|
|
|
|
) {
|
|
|
|
|
if (this.dialogType === "监管单位" || this.dialogType === "网站监测") {
|
|
|
|
|
this.dialogWidth = "2100px";
|
|
|
|
|
if (this.dialogType === "软探针") {
|
|
|
|
|
this.queryParams.type = 4;
|
|
|
|
|
} else if (this.dialogType === "硬探针") {
|
|
|
|
|
this.queryParams.type = 3;
|
|
|
|
|
} else if (this.dialogType === "监管单位") {
|
|
|
|
|
this.queryParams.type = 5;
|
|
|
|
|
} else if (this.dialogType === "网站监测") {
|
|
|
|
|
this.queryParams.type = 6;
|
|
|
|
|
} else {
|
|
|
|
|
this.queryParams.type = 7;
|
|
|
|
|
if (!this.queryParams.type) {
|
|
|
|
|
this.queryParams.type = type;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
this.getJgUnit();
|
|
|
|
|
listJgdw(this.queryParams).then((res) => {
|
|
|
|
|
this.excelDataHeader = xitongjianceKeyValue;
|
|
|
|
|
this.excelData = res.rows;
|
|
|
|
|
this.total = res.total;
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
if (this.dialogType == "系统监测") {
|
|
|
|
|
this.dialogWidth = "2100px";
|
|
|
|
|
if (!this.queryParams.type) {
|
|
|
|
|
this.queryParams.type = type;
|
|
|
|
|
}
|
|
|
|
|
listXtjc(this.queryParams).then((res) => {
|
|
|
|
|
this.excelDataHeader = xitongjianceKeyValue;
|
|
|
|
|
this.excelData = res.rows;
|
|
|
|
|
this.total = res.total;
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
if (this.dialogType === "硬探针" || this.dialogType === "软探针") {
|
|
|
|
|
this.dialogWidth = "2100px";
|
|
|
|
|
if (!this.queryParams.type) {
|
|
|
|
|
this.queryParams.type = type;
|
|
|
|
|
}
|
|
|
|
|
listRyz(this.queryParams).then((res) => {
|
|
|
|
|
this.excelDataHeader = rtzKeyValue;
|
|
|
|
|
this.excelData = res.rows;
|
|
|
|
|
this.total = res.total;
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
this.$nextTick(() => {
|
|
|
|
|
this.dialogStatus = true;
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
// 数据来源数据获取
|
|
|
|
|
// getDataSource() {
|
|
|
|
|
// getSource(9).then((res) => {
|
|
|
|
|
// const data = JSON.parse(res["[]"][0].T_static_data.DATA);
|
|
|
|
|
// for (let i = 0; i < data.top.length; i++) {
|
|
|
|
|
// for (let j = 0; j < this.dataSource.top.length; j++) {
|
|
|
|
|
// if (data.top[i].title === this.dataSource.top[j].title) {
|
|
|
|
|
// this.dataSource.top[j].currentNum = data.top[i].currentNum;
|
|
|
|
|
// this.dataSource.top[j].total = data.top[i].total;
|
|
|
|
|
// }
|
|
|
|
|
// }
|
|
|
|
|
// }
|
|
|
|
|
// for (let i = 0; i < data.bottom.length; i++) {
|
|
|
|
|
// for (let j = 0; j < this.dataSource.bottom.length; j++) {
|
|
|
|
|
// if (data.bottom[i].title === this.dataSource.bottom[j].title) {
|
|
|
|
|
// this.dataSource.bottom[j].num = data.bottom[i].num;
|
|
|
|
|
// }
|
|
|
|
|
// }
|
|
|
|
|
// }
|
|
|
|
|
// });
|
|
|
|
|
// },
|
|
|
|
|
showAttack1(e) {
|
|
|
|
|
this.showAttack(e);
|
|
|
|
|
},
|
|
|
|
|
// 鼠标经过暂停
|
|
|
|
|
mouseOver() {
|
|
|
|
|
clearInterval(this.attackTime);
|
|
|
|
|