diff --git a/src/api/zongzhi/st.js b/src/api/zongzhi/st.js index 6cc5427..7a65041 100644 --- a/src/api/zongzhi/st.js +++ b/src/api/zongzhi/st.js @@ -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", + }); } diff --git a/src/store/modules/dict.js b/src/store/modules/dict.js index 7a8cac5..d48f47a 100644 --- a/src/store/modules/dict.js +++ b/src/store/modules/dict.js @@ -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) diff --git a/src/utils/safesoft.js b/src/utils/safesoft.js index 9a5e315..a84ee50 100644 --- a/src/utils/safesoft.js +++ b/src/utils/safesoft.js @@ -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 ) diff --git a/src/views/privateOrder/ecosphere/components/componentCenter.vue b/src/views/privateOrder/ecosphere/components/componentCenter.vue index 1cf585c..6823442 100644 --- a/src/views/privateOrder/ecosphere/components/componentCenter.vue +++ b/src/views/privateOrder/ecosphere/components/componentCenter.vue @@ -1,8 +1,8 @@