许宏杰 1 year ago
commit 0028e615c8

@ -1,216 +1,247 @@
import request from '@/utils/request.js'
import request from "@/utils/request.js";
// 网络安全官
export function listSafetyadmin(query) {
return request({
url: '/zongzhi/safetyadmin/list',
method: 'get',
params: query
})
url: "/zongzhi/safetyadmin/list",
method: "get",
params: query,
});
}
export function listTown(query) {
return request({
url: '/zongzhi/town/list',
method: 'get',
params: query
})
url: "/zongzhi/town/list",
method: "get",
params: query,
});
}
// 查询网评员列表
export function listCommentator(query) {
return request({
url: '/zongzhi/commentator/list',
method: 'get',
params: query
})
url: "/zongzhi/commentator/list",
method: "get",
params: query,
});
}
// 查询网络平台列表
export function listPingtai(query) {
return request({
url: '/zongzhi/pingtai/list',
method: 'get',
params: query
})
url: "/zongzhi/pingtai/list",
method: "get",
params: query,
});
}
// 查询网络安全支持单位列表
export function listNetSafetyZcUnit(query) {
return request({
url: '/zongzhi/supportunit/list',
method: 'get',
params: query
})
url: "/zongzhi/supportunit/list",
method: "get",
params: query,
});
}
// 查询网络民情责任人列表
export function listPrincipal(query) {
return request({
url: '/zongzhi/principal/list',
method: 'get',
params: query
})
url: "/zongzhi/principal/list",
method: "get",
params: query,
});
}
// 查询网络文明自愿者列表
export function listVolunteer(query) {
return request({
url: '/zongzhi/volunteer/list',
method: 'get',
params: query
})
url: "/zongzhi/volunteer/list",
method: "get",
params: query,
});
}
// 查询网络文章列表
export function listArticle(query) {
return request({
url: '/zongzhi/article/list',
method: 'get',
params: query
})
url: "/zongzhi/article/list",
method: "get",
params: query,
});
}
// 查询重点企业名录列表
export function listEnterprise(query) {
return request({
url: '/zongzhi/enterprise/list',
method: 'get',
params: query
})
url: "/zongzhi/enterprise/list",
method: "get",
params: query,
});
}
// 查询重点领域监管列表
export function listDomain(query) {
return request({
url: '/zongzhi/domain/list',
method: 'get',
params: query
})
url: "/zongzhi/domain/list",
method: "get",
params: query,
});
}
// 查询重点工作项目列表
export function listWork(query) {
return request({
url: '/zongzhi/work/list',
method: 'get',
params: query
})
url: "/zongzhi/work/list",
method: "get",
params: query,
});
}
// 查询工作动态列表
// 查询工作动态列表 dongtai/list
export function listDongtai(query) {
return request({
url: '/zongzhi/dongtai/list',
method: 'get',
params: query
})
url: "/zongzhi/managescreen/workdynamics",
method: "get",
params: query,
});
}
// 查询等保系统列表
export function listSystem(query) {
return request({
url: '/zongzhi/system/list',
method: 'get',
params: query
})
url: "/zongzhi/system/list",
method: "get",
params: query,
});
}
// 查询等保单位列表
export function listUnit(query) {
return request({
url: '/zongzhi/dengbaounit/list',
method: 'get',
params: query
})
url: "/zongzhi/dengbaounit/list",
method: "get",
params: query,
});
}
// 查询政府网站列表
export function listWeb(query) {
return request({
url: '/zongzhi/web/list',
method: 'get',
params: query
})
url: "/zongzhi/web/list",
method: "get",
params: query,
});
}
// 查询IDC单位列表
export function listIDCunit(query) {
return request({
url: '/zongzhi/idcunit/list',
method: 'get',
params: query
})
url: "/zongzhi/idcunit/list",
method: "get",
params: query,
});
}
// 查询数据来源列表
export function listSource(query) {
return request({
url: '/zongzhi/source/list',
method: 'get',
params: query
})
url: "/zongzhi/source/list",
method: "get",
params: query,
});
}
export function saftyscreenSupervise() {
return request({
url: '/zongzhi/saftyscreen/supervise',
method: 'get'
})
url: "/zongzhi/saftyscreen/supervise",
method: "get",
});
}
// 受攻击IPTop5
export function saftyscreenUnattack() {
return request({
url: '/zongzhi/saftyscreen/unattack',
method: 'get'
})
url: "/zongzhi/saftyscreen/unattack",
method: "get",
});
}
// 安全检测数据统计
export function saftyscreenSafety() {
return request({
url: '/zongzhi/saftyscreen/safety',
method: 'get'
})
url: "/zongzhi/saftyscreen/safety",
method: "get",
});
}
// 查询安全检测列表
export function listDetection(query) {
return request({
url: '/zongzhi/detection/list',
method: 'get',
params: query
})
url: "/zongzhi/detection/list",
method: "get",
params: query,
});
}
// 网络平台
export function listPlatform(query) {
return request({
url: "/zongzhi/pingtai/list",
method: "get",
params: query,
});
}
// 查询安全检测详细
export function getDetection(id) {
return request({
url: '/zongzhi/detection/' + id,
method: 'get'
})
url: "/zongzhi/detection/" + id,
method: "get",
});
}
// 查询安全隐患列表
export function listDanger(query) {
return request({
url: '/zongzhi/danger/list',
method: 'get',
params: query
})
url: "/zongzhi/danger/list",
method: "get",
params: query,
});
}
// 清朗专项行动动态
export function zhuanxiang(query) {
return request({
url: "/zongzhi/zhuanxiang/list",
method: "get",
params: query,
});
}
// 查询安全隐患详细
export function getDanger(id) {
return request({
url: '/zongzhi/danger/' + id,
method: 'get'
})
url: "/zongzhi/danger/" + id,
method: "get",
});
}
// 查询通报列表
export function listTb(query) {
return request({
url: '/zongzhi/tb/list',
method: 'get',
params: query
})
url: "/zongzhi/tb/list",
method: "get",
params: query,
});
}
// 查询通报详细
export function getTb(id) {
return request({
url: '/zongzhi/tb/' + id,
method: 'get'
})
url: "/zongzhi/tb/" + id,
method: "get",
});
}
// 举报总数和处置率
export function networkreport() {
return request({
url: "/zongzhi/managescreen/networkreport",
method: "get",
});
}
// 清朗专项行动数据统计 /zongzhi/managescreen/action
export function managescreen() {
return request({
url: "/zongzhi/managescreen/action",
method: "get",
});
}

@ -1,3 +1,11 @@
/*
* @Descripttion:
* @version:
* @Author: JC9527
* @Date: 2023-08-21 08:54:24
* @LastEditors: JC9527
* @LastEditTime: 2023-08-21 15:29:23
*/
import { getDictList } from '@/api/zongzhi/common.js'
import { listTown } from '@/api/zongzhi/st.js'
const dict = {
@ -21,6 +29,7 @@ const dict = {
}
getDictList(query)
.then((res) => {
// console.log(res)
commit('SET_DICT', res.data)
getownList().then((town) => {
commit('SET_TOWN', town)

@ -3,7 +3,7 @@
* Copyright (c) 2019 safesoft
*/
const baseURL = process.env.VUE_APP_BASE_API
const baseURL = process.env.VUE_APP_BASE_API2
// 日期格式化
export function parseTime(time, pattern) {
@ -110,7 +110,7 @@ export function selectDictLabels(datas, value, separator) {
// 通用下载方法
export function download(fileName) {
window.location.href = baseURL + '/common/download?fileName=' + encodeURI(fileName) + '&delete=' + true
window.location.href = baseURL + '/zongzhi/common/download?fileName=' + encodeURI(fileName) + '&delete=' + true
}
// 字符串格式化(%s )

@ -1,8 +1,8 @@
<!--
* @Author: lough
* @Date: 2021-12-21 14:12:54
* @LastEditors: lough
* @LastEditTime: 2022-09-08 10:26:49
* @LastEditors: JC9527
* @LastEditTime: 2023-08-21 16:54:37
* @Description:
-->
<template>
@ -30,7 +30,7 @@
</template>
<script>
import { getreportNum } from '@/api/common'
import { networkreport } from '@/api/zongzhi/st.js'
export default {
data() {
return {
@ -39,12 +39,18 @@ export default {
}
},
mounted() {
this.reportTotalCount = 45
this.completedPercent = 100
// this.reportTotalCount = 45
// this.completedPercent = 100
// getreportNum().then(res => {
// this.reportTotalCount = res.data.reportTotalCount
// this.completedPercent = res.data.completedPercent
// })
networkreport().then(res => {
this.reportTotalCount = res.data.count
this.completedPercent = res.data.handle
});
// console.log(data)
}
}

@ -3,7 +3,7 @@
* @Author: kery.chen
* @Description: 总体概览左侧
* @Date: 2021-11-30 11:08:50
* @LastEditTime: 2022-08-22 17:25:45
* @LastEditTime: 2023-08-21 16:01:49
* @FilePath : \\tcingiocpro\\src\\views\\privateOrder\\ecosphere\\components\\componentLeft.vue
-->
<template>
@ -155,8 +155,9 @@
@click.stop="dynamicClick(item)"
>
<div class="item_txt">
<span :data-obj="item.materialsName">
{{ item.materialsName }}
<!-- materialsName -->
<span :data-obj="item.name">
{{ item.name }}
</span>
</div>
<div class="item_bottom">
@ -201,7 +202,7 @@
@mouseover="zoologyMouseOver(idx)"
@mouseleave="zoologyMouseLeave"
@click="
networkPlatformClick(item.name);
networkPlatformClick(item.name,item.type);
currentIndex = idx;
"
>
@ -482,7 +483,7 @@
<script>
import vueSeamlessScroll from 'vue-seamless-scroll'
import ModuleTitle from '../../common/ModuleTitle.vue'
import { listEnterprise, listDomain, listWork, listDongtai } from '@/api/zongzhi/st.js'
import { listEnterprise, listDomain, listWork, listDongtai, listPlatform } from '@/api/zongzhi/st.js'
import {
getBilibiliData,
getRedBookData,
@ -534,24 +535,28 @@ export default {
name: '网站',
num: 0,
subList: [],
type:1,
url: require('@/assets/ecosphere/icon-网站.png')
},
{
name: '抖音',
num: 0,
subList: [],
type:2,
url: require('@/assets/ecosphere/icon-抖音.png')
},
{
name: '微信',
num: 0,
subList: [],
type:3,
url: require('@/assets/ecosphere/icon-微信.png')
},
{
name: '微博',
num: 0,
subList: [],
type:4,
url: require('@/assets/ecosphere/icon微博.png')
},
@ -559,24 +564,28 @@ export default {
name: '今日头条',
num: 0,
subList: [],
type:5,
url: require('@/assets/ecosphere/icon-头条.png')
},
{
name: '快手',
num: 0,
subList: [],
type:6,
url: require('@/assets/ecosphere/icon-快手.png')
},
{
name: 'B站',
num: 0,
subList: [],
type:7,
url: require('@/assets/ecosphere/icon-b站.png')
},
{
name: '小红书',
num: 0,
subList: [],
type:8,
url: require('@/assets/ecosphere/icon-小红书.png')
}
],
@ -634,16 +643,17 @@ export default {
methods: {
//
getDynamicData() {
listDongtai(this.dtParams).then(res => {
this.dynamicList = res.rows
this.dtTotal = res.total
listDongtai().then(res => {
console.log(res)
this.dynamicList = res.data
// this.dtTotal = res.total
})
// const tableObject = require('./data.json')
// this.dynamicList = tableObject['']
},
//
networkPlatformClick(val) {
async networkPlatformClick(val,type) {
this.currentPage = 1
this.pageSize = 10
this.dialogTitle = val
@ -653,9 +663,16 @@ export default {
this.tableHeader = ['账号ID', 'URL']
this.zoologyWidth = '1000px'
this.tableData = []
this.tableData = [
{ 账号ID: 1, URL: 'https://www.bilibili.com/' }
]
// this.tableData = [
// { ID: 1, URL: 'https://www.bilibili.com/' }
// ]
let res = await listPlatform({type:type});
res.rows.map((item)=>{
let obj = {}
obj['账号ID'] = item.name
obj['URL'] = item.dns
this.tableData.push(obj)
})
// res['T_DATA_BILIBILI[]'].forEach((item) => {
// this.tableData.push({ ID: item.account_id, URL: item.url })
// })
@ -666,12 +683,19 @@ export default {
this.tableHeader = ['账号ID', 'URL']
this.zoologyWidth = '1000px'
this.tableData = []
this.tableData = [
{ 账号ID: 1, URL: 'https://www.xiaohongshu.com/explore' }
]
// this.tableData = [
// { ID: 1, URL: 'https://www.xiaohongshu.com/explore' }
// ]
// res['T_DATA_RED_BOOK[]'].forEach((item) => {
// this.tableData.push({ ID: item.account_id, URL: item.url })
// })
let res = await listPlatform({type:type});
res.rows.map((item)=>{
let obj = {}
obj['账号ID'] = item.name
obj['URL'] = item.dns
this.tableData.push(obj)
})
this.networkPlatformData()
// })
} else if (val === '今日头条') {
@ -679,9 +703,16 @@ export default {
this.tableHeader = ['账号ID', '简介']
this.zoologyWidth = '1200px'
this.tableData = []
this.tableData = [
{ 账号ID: 1, 简介: '今日头条是北京字节跳动科技有限公司开发的一款基于数据挖掘的推荐引擎产品为用户推荐信息、提供连接人与信息的服务的产品。由张一鸣于2012年3月创建2012年8月发布第一个版本。' }
]
// this.tableData = [
// { ID: 1, : '2012320128' }
// ]
let res = await listPlatform({type:type});
res.rows.map((item)=>{
let obj = {}
obj['账号ID'] = item.name
obj['简介'] = item.intro
this.tableData.push(obj)
})
// res['T_DATA_TODAY_HEADLINE[]'].forEach((item) => {
// this.tableData.push({
// ID: item.account_id,
@ -695,9 +726,16 @@ export default {
this.tableHeader = ['账号ID', '简介']
this.zoologyWidth = '1000px'
this.tableData = []
this.tableData = [
{ 账号ID: 1, 简介: '快手是北京快手科技有限公司旗下的产品。快手 [1-2]的前身叫“GIF快手”诞生于2011年3月最初是一款用来制作、分享GIF图片的手机应用。2012年11月快手从纯粹的工具应用转型为短视频社区用于用户记录和分享生产、生活的平台。后来随着智能手机、平板电脑的普及和移动流量成本的下降快手在2015年以后迎来市场' }
]
// this.tableData = [
// { ID: 1, : ' [1-2]GIF20113GIF2012112015' }
// ]
let res = await listPlatform({type:type});
res.rows.map((item)=>{
let obj = {}
obj['账号ID'] = item.name
obj['简介'] = item.intro
this.tableData.push(obj)
})
// res['T_DATA_QUICK_WORKER[]'].forEach((item) => {
// this.tableData.push({
// ID: item.account_id,
@ -711,9 +749,16 @@ export default {
this.tableHeader = ['账号ID', '行业属性']
this.zoologyWidth = '1000px'
this.tableData = []
this.tableData = [
{ 账号ID: 1, 行业属性: '自媒体' }
]
// this.tableData = [
// { ID: 1, : '' }
// ]
let res = await listPlatform({type:type});
res.rows.map((item)=>{
let obj = {}
obj['账号ID'] = item.name
obj['行业属性'] = this.getProps(item.props)
this.tableData.push(obj)
})
// res['T_DATA_WECHAT[]'].forEach((item) => {
// this.tableData.push({
// ID: item.account_id,
@ -727,12 +772,21 @@ export default {
this.tableHeader = ['网站名称', '真实IP', '网站域名', '备案许可证号']
this.zoologyWidth = '2000px'
this.tableData = []
this.tableData.push({
网站名称: '百度',
真实IP: '220.181.111.188',
网站域名: 'https://www.xiaohongshu.com/explore',
备案许可证号: '京ICP证030173号',
numOrder: 1
// this.tableData.push({
// : '',
// IP: '220.181.111.188',
// : 'https://www.xiaohongshu.com/explore',
// : 'ICP030173',
// numOrder: 1
// })
let res = await listPlatform({type:type});
res.rows.map((item)=>{
let obj = {}
obj['网站名称'] = item.name
obj['真实IP'] = item.ipAddress
obj['网站域名'] = item.dns
obj['备案许可证号'] = item.licenceNum
this.tableData.push(obj)
})
// res['T_big_screen_website_data[]'].forEach((item) => {
// const startIndex = item.licence_num.indexOf('')
@ -754,10 +808,18 @@ export default {
this.zoologyWidth = '1000px'
this.tableData = []
// res['T_big_screen_weibo_data[]'].forEach((item) => {
this.tableData.push({
账号名称: '大红矛',
认证: '微博原创视频博主',
地区: '北京'
// this.tableData.push({
// : '',
// : '',
// : ''
// })
let res = await listPlatform({type:type});
res.rows.map((item)=>{
let obj = {}
obj['账号名称'] = item.name
obj['认证'] = item.authentication
obj['地区'] = item.area
this.tableData.push(obj)
})
// })
this.networkPlatformData()
@ -768,16 +830,42 @@ export default {
this.zoologyWidth = '1500px'
this.tableData = []
// res['T_big_screen_tik_tok[]'].forEach((item) => {
this.tableData.push({
账号: '1124693722',
简介: '无',
粉丝数: 25
})
// this.tableData.push({
// : '1124693722',
// : '',
// : 25
// })
let res = await listPlatform({type:type});
res.rows.map((item)=>{
let obj = {};
obj['账号'] = item.name;
obj['简介'] = item.intro;
obj['粉丝数'] = item.fansNum;
this.tableData.push(obj)
})
this.tableData.sort((a, b) => b.粉丝数 - a.粉丝数)
this.networkPlatformData()
// })
}
this.networkPlatformData()
},
getProps(props){
switch(props){
case 1:
return '房产';
case 2:
return '汽车';
case 3:
return '自媒体';
case 4:
return '餐饮';
case 5:
return '电子竞技';
case 6:
return '财务'
default :
break;
}
},
networkPlatformData() {
this.total = this.tableData.length

@ -3,7 +3,7 @@
* @Author: kery.chen
* @Description: 总体概览右侧
* @Date: 2021-11-30 11:08:50
* @LastEditTime: 2022-11-15 13:46:59
* @LastEditTime: 2023-08-22 08:57:33
* @FilePath : \\tcingiocpro\\src\\views\\privateOrder\\ecosphere\\components\\componentRight.vue
-->
<template>
@ -162,7 +162,9 @@
window.JSZip = require('jszip')
import { qlzxdtData } from './json'
import { getreportNum } from '@/api/common'
import { zhuanxiang, managescreen } from '@/api/zongzhi/st.js'
import { echartsJump } from '../../../../../public/static/echartsJump'
import { download } from "@/utils/safesoft"
import vueSeamlessScroll from 'vue-seamless-scroll'
import image from '../../../../assets/ecosphere/饼图标注.png'
import ModuleTitle from '../../common/ModuleTitle.vue'
@ -324,8 +326,10 @@ export default {
},
mounted() {
this.qlzxdtList = qlzxdtData
// this.zhuanxiangList()
//
this.reportingProcessTimer()
this.inItPie()
// getreportNum().then(res => {
// this.pieData[0].value = res.data.reportTotalCount - 12
@ -340,6 +344,25 @@ export default {
changeImg(item, index) {
item.index = index
},
//
async zhuanxiangList(){
let res = await zhuanxiang();
let imgArr
let qlzxdtList = JSON.parse(JSON.stringify(res.rows))
this.qlzxdtList = qlzxdtList
for(let i = 0; i < qlzxdtList.length; i++){
imgArr = qlzxdtList[i].zhuanxiangImg
imgArr = imgArr.split(',')
this.qlzxdtList[i].zhuanxiangImg = imgArr
for(let j = 0; j < imgArr.length; j++){
imgArr[j] = process.env.VUE_APP_BASE_API3 + imgArr[j]
}
}
// zhuanxiang().then(res => {
// console.log(this.qlzxdtList)
// })
},
//
inItPie() {
const chartDom = document.getElementById('pie')

Loading…
Cancel
Save