diff --git a/src/api/consensusList/index.js b/src/api/consensusList/index.js index a12db26..43187f4 100644 --- a/src/api/consensusList/index.js +++ b/src/api/consensusList/index.js @@ -1,18 +1,18 @@ -import request from '@/utils/request.js' - +import request from "@/utils/request.js"; //网络舆情列表 export function yuqingListA(data) { - return request({ - url: '/zongzhi/sentiment/list', - method: 'get', - params:data - }) + data.isStatus = 1; + return request({ + url: "/zongzhi/sentiment/list", + method: "get", + params: data, + }); } //网络舆情详情 export function getWlyq(id) { - return request({ - url: `/zongzhi/sentiment/${id}`, - method: 'get', - }) -} \ No newline at end of file + return request({ + url: `/zongzhi/sentiment/${id}`, + method: "get", + }); +} diff --git a/src/api/publicOpinion/index.js b/src/api/publicOpinion/index.js index 407ae66..5f2c929 100644 --- a/src/api/publicOpinion/index.js +++ b/src/api/publicOpinion/index.js @@ -1,53 +1,53 @@ -import request from '@/utils/request.js' - +import request from "@/utils/request.js"; //舆情分类 export function yuqingTypes(data) { - return request({ - url: '/zongzhi/opinionscreen/sentimenclassification', - method: 'post', - data - }) + return request({ + url: "/zongzhi/opinionscreen/sentimenclassification", + method: "post", + data, + }); } //舆情信息量统计 export function yuqingMsgStats() { - return request({ - url: '/zongzhi/opinionscreen/sentimencount', - method: 'get', - }) + return request({ + url: "/zongzhi/opinionscreen/sentimencount", + method: "get", + }); } //动态筛选大屏幕接口(弃用) export function sift() { - return request({ - url: '/zongzhi/opinionscreen/sentimentfilter', - method: 'get', - }) + return request({ + url: "/zongzhi/opinionscreen/sentimentfilter", + method: "get", + }); } // 舆情走势图 export function yuqingChart() { - return request({ - url: '/zongzhi/opinionscreen/sentimentype', - method: 'get', - }) + return request({ + url: "/zongzhi/opinionscreen/sentimentype", + method: "get", + }); } //词云 export function wordCloud() { - return request({ - url: '/zongzhi/opinionscreen/wordcloud', - method: 'get', - }) + return request({ + url: "/zongzhi/opinionscreen/wordcloud", + method: "get", + }); } //舆情报告 export function yqbg() { - return request({ - url: '/zongzhi/opinionscreen/sentimentreport', - method: 'get', - }) + return request({ + url: "/zongzhi/opinionscreen/sentimentreport", + method: "get", + }); } //动态筛选列表 -export function dtsxListGet(){ - return request({ - url: '/zongzhi/sx/list', - method: 'get', - }) -} \ No newline at end of file +export function dtsxListGet(query) { + return request({ + url: "/zongzhi/sx/list", + method: "get", + params: query, + }); +} diff --git a/src/api/wlSafe/index.js b/src/api/wlSafe/index.js index 7bf4210..0632e5b 100644 --- a/src/api/wlSafe/index.js +++ b/src/api/wlSafe/index.js @@ -8,6 +8,7 @@ export function dataLY() { } //地球受攻击 export function mapAttack(data) { + data.isStatus = 1; return request({ url: "/zongzhi/attack/list", method: "get", @@ -51,6 +52,7 @@ export function tbFinish() { } //获取部门通报列表 export function departmentList(data) { + data.isStatus = 1; return request({ url: "/zongzhi/tb/list", method: "get", diff --git a/src/api/zongzhi/st.js b/src/api/zongzhi/st.js index 9aa8832..811d389 100644 --- a/src/api/zongzhi/st.js +++ b/src/api/zongzhi/st.js @@ -2,6 +2,7 @@ import request from "@/utils/request.js"; // 网络安全官 export function listSafetyadmin(query) { + query.isStatus = 1; return request({ url: "/zongzhi/safetyadmin/list", method: "get", @@ -9,6 +10,7 @@ export function listSafetyadmin(query) { }); } export function listTown(query) { + query.isStatus = 1; return request({ url: "/zongzhi/town/list", method: "get", @@ -25,6 +27,7 @@ export function townTree(query) { } // 查询网评员列表 export function listCommentator(query) { + query.isStatus = 1; return request({ url: "/zongzhi/commentator/list", method: "get", @@ -34,6 +37,7 @@ export function listCommentator(query) { // 查询网络平台列表 export function listPingtai(query) { + query.isStatus = 1; return request({ url: "/zongzhi/pingtai/list", method: "get", @@ -43,6 +47,7 @@ export function listPingtai(query) { // 查询网络安全支持单位列表 export function listNetSafetyZcUnit(query) { + query.isStatus = 1; return request({ url: "/zongzhi/supportunit/list", method: "get", @@ -51,6 +56,7 @@ export function listNetSafetyZcUnit(query) { } // 查询网络民情责任人列表 export function listPrincipal(query) { + query.isStatus = 1; return request({ url: "/zongzhi/principal/list", method: "get", @@ -59,6 +65,7 @@ export function listPrincipal(query) { } // 查询网络文明自愿者列表 export function listVolunteer(query) { + query.isStatus = 1; return request({ url: "/zongzhi/volunteer/list", method: "get", @@ -67,6 +74,7 @@ export function listVolunteer(query) { } // 查询网络文章列表 export function listArticle(query) { + query.isStatus = 1; return request({ url: "/zongzhi/article/list", method: "get", @@ -75,6 +83,7 @@ export function listArticle(query) { } // 查询重点企业名录列表 export function listEnterprise(query) { + query.isStatus = 1; return request({ url: "/zongzhi/enterprise/list", method: "get", @@ -84,6 +93,7 @@ export function listEnterprise(query) { // 查询重点领域监管列表 export function listDomain(query) { + query.isStatus = 1; return request({ url: "/zongzhi/domain/list", method: "get", @@ -92,6 +102,7 @@ export function listDomain(query) { } // 查询重点工作项目列表 export function listWork(query) { + query.isStatus = 1; return request({ url: "/zongzhi/work/list", method: "get", @@ -118,6 +129,7 @@ export function dongtaiInfo(id) { // 查询等保系统列表 export function listSystem(query) { + query.isStatus = 1; return request({ url: "/zongzhi/system/list", method: "get", @@ -126,6 +138,7 @@ export function listSystem(query) { } // 查询等保单位列表 export function listUnit(query) { + query.isStatus = 1; return request({ url: "/zongzhi/dengbaounit/list", method: "get", @@ -135,6 +148,7 @@ export function listUnit(query) { // 查询政府网站列表 export function listWeb(query) { + query.isStatus = 1; return request({ url: "/zongzhi/web/list", method: "get", @@ -143,6 +157,7 @@ export function listWeb(query) { } // 查询IDC单位列表 export function listIDCunit(query) { + query.isStatus = 1; return request({ url: "/zongzhi/idcunit/list", method: "get", @@ -151,6 +166,7 @@ export function listIDCunit(query) { } // 查询数据来源列表 export function listSource(query) { + query.isStatus = 1; return request({ url: "/zongzhi/source/list", method: "get", @@ -181,6 +197,7 @@ export function saftyscreenSafety() { } // 查询安全检测列表 export function listDetection(query) { + query.isStatus = 1; return request({ url: "/zongzhi/detection/list", method: "get", @@ -189,6 +206,7 @@ export function listDetection(query) { } // 网络平台 export function listPlatform(query) { + query.isStatus = 1; return request({ url: "/zongzhi/pingtai/list", method: "get", @@ -206,6 +224,7 @@ export function getDetection(id) { // 查询安全隐患列表 export function listDanger(query) { + query.isStatus = 1; return request({ url: "/zongzhi/danger/list", method: "get", @@ -223,6 +242,7 @@ export function getDanger(id) { // 查询通报列表 export function listTb(query) { + query.isStatus = 1; return request({ url: "/zongzhi/tb/list", method: "get", @@ -277,6 +297,7 @@ export function networkAppraiser() { } // 查询本级上级网评指令比列 (月)列表 export function listBjsj(query) { + query.isStatus = 1; return request({ url: "/zongzhi/bjsj/list", method: "get", @@ -286,6 +307,7 @@ export function listBjsj(query) { // 查询网评员任务完成率心列表 export function listWpyrwwcl(query) { + query.isStatus = 1; return request({ url: "/zongzhi/wpyrwwcl/list", method: "get", diff --git a/src/views/privateOrder/security/components/Earth.vue b/src/views/privateOrder/security/components/Earth.vue index 60b386f..1db74d6 100644 --- a/src/views/privateOrder/security/components/Earth.vue +++ b/src/views/privateOrder/security/components/Earth.vue @@ -564,20 +564,19 @@ export default { //地图受攻击 mapList() { mapAttack({ pageSize: 20, pageNum: 1 }).then((res) => { - console.log(res); res.rows.forEach((value) => { - this.attackItem.forEach((value1,index1)=>{ - if(value1.country == value.name){ - this.attackItem[index1].attackNum = value.attackCount - return + this.attackItem.forEach((value1, index1) => { + if (value1.country == value.name) { + this.attackItem[index1].attackNum = value.attackCount; + return; } - }) - this.attackItemTwo.forEach((value2,index2)=>{ - if(value2.country == value.name){ - this.attackItemTwo[index2].attackNum = value.attackCount - return + }); + this.attackItemTwo.forEach((value2, index2) => { + if (value2.country == value.name) { + this.attackItemTwo[index2].attackNum = value.attackCount; + return; } - }) + }); }); this.onload(); }); diff --git a/src/views/privateOrder/security/components/ReportingStatistics.vue b/src/views/privateOrder/security/components/ReportingStatistics.vue index 089f458..38afea6 100644 --- a/src/views/privateOrder/security/components/ReportingStatistics.vue +++ b/src/views/privateOrder/security/components/ReportingStatistics.vue @@ -41,8 +41,8 @@