|
|
|
@ -271,7 +271,7 @@
|
|
|
|
|
:total="total"
|
|
|
|
|
:page.sync="queryParams.pageNum"
|
|
|
|
|
:limit.sync="queryParams.pageSize"
|
|
|
|
|
@pagination="getAllList"
|
|
|
|
|
@pagination="showAttack"
|
|
|
|
|
/>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
@ -293,7 +293,7 @@ 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 } from '@/api/zongzhi/st.js'
|
|
|
|
|
import { listSystem, listUnit, listWeb, listIDCunit, listSource } from '@/api/zongzhi/st.js'
|
|
|
|
|
import {
|
|
|
|
|
yingTanZhen,
|
|
|
|
|
yingTanZhenKeyValue,
|
|
|
|
@ -336,7 +336,7 @@ export default {
|
|
|
|
|
*/
|
|
|
|
|
queryParams: {
|
|
|
|
|
pageNum: 1,
|
|
|
|
|
pageSize: 1
|
|
|
|
|
pageSize: 10
|
|
|
|
|
}, // 分页查询条件
|
|
|
|
|
total: 0, // 总数
|
|
|
|
|
|
|
|
|
@ -569,68 +569,107 @@ export default {
|
|
|
|
|
this.dialogStatus = true
|
|
|
|
|
this.dialogType = '安全监测'
|
|
|
|
|
},
|
|
|
|
|
/**
|
|
|
|
|
* 表格参数重置
|
|
|
|
|
* */
|
|
|
|
|
reset() {
|
|
|
|
|
this.total = 0
|
|
|
|
|
this.queryParams = {
|
|
|
|
|
pageNum: 1,
|
|
|
|
|
pageSize: 10
|
|
|
|
|
}
|
|
|
|
|
this.excelData = []
|
|
|
|
|
this.excelDataHeader = []
|
|
|
|
|
},
|
|
|
|
|
/**
|
|
|
|
|
* 等保系统
|
|
|
|
|
*/
|
|
|
|
|
getDbSteam() {
|
|
|
|
|
listSystem(this.queryParams).then(res => {
|
|
|
|
|
this.excelData = res.rows
|
|
|
|
|
this.excelDataHeader = dbxtKeyValue
|
|
|
|
|
this.total = res.total
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
/**
|
|
|
|
|
* 等保单位
|
|
|
|
|
*/
|
|
|
|
|
getDbUnit() {
|
|
|
|
|
listUnit(this.queryParams).then(res => {
|
|
|
|
|
this.excelData = res.rows
|
|
|
|
|
this.excelDataHeader = dbdwKeyValue
|
|
|
|
|
this.total = res.total
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
/**
|
|
|
|
|
* 政府网站
|
|
|
|
|
*/
|
|
|
|
|
getZfWeb() {
|
|
|
|
|
listWeb(this.queryParams).then(res => {
|
|
|
|
|
this.excelData = res.rows
|
|
|
|
|
this.excelDataHeader = zfdwKeyValue
|
|
|
|
|
this.total = res.total
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
/**
|
|
|
|
|
* IDC单位
|
|
|
|
|
*/
|
|
|
|
|
getIdcUnit() {
|
|
|
|
|
listIDCunit(this.queryParams).then(res => {
|
|
|
|
|
this.excelData = res.rows
|
|
|
|
|
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) {
|
|
|
|
|
this.dialogType = item
|
|
|
|
|
if (item === '等保系统') {
|
|
|
|
|
if (typeof item === 'object') {
|
|
|
|
|
//
|
|
|
|
|
} else {
|
|
|
|
|
this.reset()
|
|
|
|
|
this.dialogType = item
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (this.dialogType === '等保系统') {
|
|
|
|
|
this.dialogWidth = '4000px'
|
|
|
|
|
listSystem(this.queryParams).then(res => {
|
|
|
|
|
this.excelData = res.rows
|
|
|
|
|
this.excelDataHeader = dbxtKeyValue
|
|
|
|
|
this.total = res.total
|
|
|
|
|
this.dialogStatus = true
|
|
|
|
|
})
|
|
|
|
|
this.getDbSteam()
|
|
|
|
|
}
|
|
|
|
|
if (this.dialogType === '等保单位') {
|
|
|
|
|
this.dialogWidth = '4000px'
|
|
|
|
|
this.getDbUnit()
|
|
|
|
|
}
|
|
|
|
|
// this.tableTotal = total // 写这个的原因是因为总数并不能和数据完全匹配 按页面显示数字为主
|
|
|
|
|
// this.dialogStatus = false
|
|
|
|
|
// setTimeout(() => {
|
|
|
|
|
// if (item === '硬探针') {
|
|
|
|
|
// this.dialogWidth = '1800px'
|
|
|
|
|
// this.excelData = yingTanZhen
|
|
|
|
|
// this.excelDataHeader = yingTanZhenKeyValue
|
|
|
|
|
// }
|
|
|
|
|
// if (item === '系统监测' || item === '监管单位') {
|
|
|
|
|
// this.dialogWidth = '2100px'
|
|
|
|
|
// this.excelData = xitongjiance
|
|
|
|
|
// this.excelDataHeader = xitongjianceKeyValue
|
|
|
|
|
// }
|
|
|
|
|
// if (item === '网站监测') {
|
|
|
|
|
// this.dialogWidth = '2100px'
|
|
|
|
|
// this.excelData = xitongjiance
|
|
|
|
|
// this.excelDataHeader = xitongjianceKeyValue
|
|
|
|
|
// }
|
|
|
|
|
// if (item === 'IDC单位') {
|
|
|
|
|
// this.dialogWidth = '1800px'
|
|
|
|
|
// this.excelData = IDC
|
|
|
|
|
// this.excelDataHeader = IDCKeyValue
|
|
|
|
|
// }
|
|
|
|
|
// if (item === '等保单位') {
|
|
|
|
|
// this.dialogWidth = '3300px'
|
|
|
|
|
// this.excelData = dbdw
|
|
|
|
|
// this.excelDataHeader = dbdwKeyValue
|
|
|
|
|
// }
|
|
|
|
|
// if (item === '等保系统') {
|
|
|
|
|
// this.dialogWidth = '4000px'
|
|
|
|
|
// listSystem().then(res => {
|
|
|
|
|
// this.excelData = res.rows
|
|
|
|
|
// this.excelDataHeader = dbxtKeyValue
|
|
|
|
|
// this.dialogStatus = true
|
|
|
|
|
// })
|
|
|
|
|
// }
|
|
|
|
|
// if (item === '政府网站') {
|
|
|
|
|
// this.dialogWidth = '1800px'
|
|
|
|
|
// this.excelData = zfdw
|
|
|
|
|
// this.excelDataHeader = zfdwKeyValue
|
|
|
|
|
// }
|
|
|
|
|
// if (item === '软探针') {
|
|
|
|
|
// this.dialogWidth = '1800px'
|
|
|
|
|
// this.excelData = rtz
|
|
|
|
|
// this.excelDataHeader = rtzKeyValue
|
|
|
|
|
// }
|
|
|
|
|
// this.dialogType = item
|
|
|
|
|
// if (item.target?.dataset.obj) {
|
|
|
|
|
// this.dialogType = item.target.dataset.obj
|
|
|
|
|
// }
|
|
|
|
|
// }, 0)
|
|
|
|
|
if (this.dialogType === '政府网站') {
|
|
|
|
|
this.dialogWidth = '1800px'
|
|
|
|
|
this.getZfWeb()
|
|
|
|
|
}
|
|
|
|
|
if (this.dialogType === 'IDC单位') {
|
|
|
|
|
this.dialogWidth = '1800px'
|
|
|
|
|
this.getIdcUnit()
|
|
|
|
|
}
|
|
|
|
|
if (this.dialogType === '监管单位' || this.dialogType === '系统监测' || this.dialogType === '网站监测' || this.dialogType === '软探针' || this.dialogType === '硬探针') {
|
|
|
|
|
this.dialogWidth = '2100px'
|
|
|
|
|
if (this.dialogType === '软探针') {
|
|
|
|
|
this.queryParams.type = 4
|
|
|
|
|
} else if (this.dialogType === '硬探针') {
|
|
|
|
|
this.queryParams.type = 3
|
|
|
|
|
} else {
|
|
|
|
|
this.queryParams.type = 5
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
this.getJgUnit()
|
|
|
|
|
}
|
|
|
|
|
this.$nextTick(() => {
|
|
|
|
|
this.dialogStatus = true
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
// 数据来源数据获取
|
|
|
|
|
getDataSource() {
|
|
|
|
|