问题修复

lijinlong
许宏杰 2 years ago
parent 244dfb2162
commit bf8eab8694

@ -1,18 +1,18 @@
import request from '@/utils/request.js' import request from "@/utils/request.js";
//网络舆情列表 //网络舆情列表
export function yuqingListA(data) { export function yuqingListA(data) {
return request({ data.isStatus = 1;
url: '/zongzhi/sentiment/list', return request({
method: 'get', url: "/zongzhi/sentiment/list",
params:data method: "get",
}) params: data,
});
} }
//网络舆情详情 //网络舆情详情
export function getWlyq(id) { export function getWlyq(id) {
return request({ return request({
url: `/zongzhi/sentiment/${id}`, url: `/zongzhi/sentiment/${id}`,
method: 'get', method: "get",
}) });
} }

@ -1,53 +1,53 @@
import request from '@/utils/request.js' import request from "@/utils/request.js";
//舆情分类 //舆情分类
export function yuqingTypes(data) { export function yuqingTypes(data) {
return request({ return request({
url: '/zongzhi/opinionscreen/sentimenclassification', url: "/zongzhi/opinionscreen/sentimenclassification",
method: 'post', method: "post",
data data,
}) });
} }
//舆情信息量统计 //舆情信息量统计
export function yuqingMsgStats() { export function yuqingMsgStats() {
return request({ return request({
url: '/zongzhi/opinionscreen/sentimencount', url: "/zongzhi/opinionscreen/sentimencount",
method: 'get', method: "get",
}) });
} }
//动态筛选大屏幕接口(弃用) //动态筛选大屏幕接口(弃用)
export function sift() { export function sift() {
return request({ return request({
url: '/zongzhi/opinionscreen/sentimentfilter', url: "/zongzhi/opinionscreen/sentimentfilter",
method: 'get', method: "get",
}) });
} }
// 舆情走势图 // 舆情走势图
export function yuqingChart() { export function yuqingChart() {
return request({ return request({
url: '/zongzhi/opinionscreen/sentimentype', url: "/zongzhi/opinionscreen/sentimentype",
method: 'get', method: "get",
}) });
} }
//词云 //词云
export function wordCloud() { export function wordCloud() {
return request({ return request({
url: '/zongzhi/opinionscreen/wordcloud', url: "/zongzhi/opinionscreen/wordcloud",
method: 'get', method: "get",
}) });
} }
//舆情报告 //舆情报告
export function yqbg() { export function yqbg() {
return request({ return request({
url: '/zongzhi/opinionscreen/sentimentreport', url: "/zongzhi/opinionscreen/sentimentreport",
method: 'get', method: "get",
}) });
} }
//动态筛选列表 //动态筛选列表
export function dtsxListGet(){ export function dtsxListGet(query) {
return request({ return request({
url: '/zongzhi/sx/list', url: "/zongzhi/sx/list",
method: 'get', method: "get",
}) params: query,
} });
}

@ -8,6 +8,7 @@ export function dataLY() {
} }
//地球受攻击 //地球受攻击
export function mapAttack(data) { export function mapAttack(data) {
data.isStatus = 1;
return request({ return request({
url: "/zongzhi/attack/list", url: "/zongzhi/attack/list",
method: "get", method: "get",
@ -51,6 +52,7 @@ export function tbFinish() {
} }
//获取部门通报列表 //获取部门通报列表
export function departmentList(data) { export function departmentList(data) {
data.isStatus = 1;
return request({ return request({
url: "/zongzhi/tb/list", url: "/zongzhi/tb/list",
method: "get", method: "get",

@ -2,6 +2,7 @@ import request from "@/utils/request.js";
// 网络安全官 // 网络安全官
export function listSafetyadmin(query) { export function listSafetyadmin(query) {
query.isStatus = 1;
return request({ return request({
url: "/zongzhi/safetyadmin/list", url: "/zongzhi/safetyadmin/list",
method: "get", method: "get",
@ -9,6 +10,7 @@ export function listSafetyadmin(query) {
}); });
} }
export function listTown(query) { export function listTown(query) {
query.isStatus = 1;
return request({ return request({
url: "/zongzhi/town/list", url: "/zongzhi/town/list",
method: "get", method: "get",
@ -25,6 +27,7 @@ export function townTree(query) {
} }
// 查询网评员列表 // 查询网评员列表
export function listCommentator(query) { export function listCommentator(query) {
query.isStatus = 1;
return request({ return request({
url: "/zongzhi/commentator/list", url: "/zongzhi/commentator/list",
method: "get", method: "get",
@ -34,6 +37,7 @@ export function listCommentator(query) {
// 查询网络平台列表 // 查询网络平台列表
export function listPingtai(query) { export function listPingtai(query) {
query.isStatus = 1;
return request({ return request({
url: "/zongzhi/pingtai/list", url: "/zongzhi/pingtai/list",
method: "get", method: "get",
@ -43,6 +47,7 @@ export function listPingtai(query) {
// 查询网络安全支持单位列表 // 查询网络安全支持单位列表
export function listNetSafetyZcUnit(query) { export function listNetSafetyZcUnit(query) {
query.isStatus = 1;
return request({ return request({
url: "/zongzhi/supportunit/list", url: "/zongzhi/supportunit/list",
method: "get", method: "get",
@ -51,6 +56,7 @@ export function listNetSafetyZcUnit(query) {
} }
// 查询网络民情责任人列表 // 查询网络民情责任人列表
export function listPrincipal(query) { export function listPrincipal(query) {
query.isStatus = 1;
return request({ return request({
url: "/zongzhi/principal/list", url: "/zongzhi/principal/list",
method: "get", method: "get",
@ -59,6 +65,7 @@ export function listPrincipal(query) {
} }
// 查询网络文明自愿者列表 // 查询网络文明自愿者列表
export function listVolunteer(query) { export function listVolunteer(query) {
query.isStatus = 1;
return request({ return request({
url: "/zongzhi/volunteer/list", url: "/zongzhi/volunteer/list",
method: "get", method: "get",
@ -67,6 +74,7 @@ export function listVolunteer(query) {
} }
// 查询网络文章列表 // 查询网络文章列表
export function listArticle(query) { export function listArticle(query) {
query.isStatus = 1;
return request({ return request({
url: "/zongzhi/article/list", url: "/zongzhi/article/list",
method: "get", method: "get",
@ -75,6 +83,7 @@ export function listArticle(query) {
} }
// 查询重点企业名录列表 // 查询重点企业名录列表
export function listEnterprise(query) { export function listEnterprise(query) {
query.isStatus = 1;
return request({ return request({
url: "/zongzhi/enterprise/list", url: "/zongzhi/enterprise/list",
method: "get", method: "get",
@ -84,6 +93,7 @@ export function listEnterprise(query) {
// 查询重点领域监管列表 // 查询重点领域监管列表
export function listDomain(query) { export function listDomain(query) {
query.isStatus = 1;
return request({ return request({
url: "/zongzhi/domain/list", url: "/zongzhi/domain/list",
method: "get", method: "get",
@ -92,6 +102,7 @@ export function listDomain(query) {
} }
// 查询重点工作项目列表 // 查询重点工作项目列表
export function listWork(query) { export function listWork(query) {
query.isStatus = 1;
return request({ return request({
url: "/zongzhi/work/list", url: "/zongzhi/work/list",
method: "get", method: "get",
@ -118,6 +129,7 @@ export function dongtaiInfo(id) {
// 查询等保系统列表 // 查询等保系统列表
export function listSystem(query) { export function listSystem(query) {
query.isStatus = 1;
return request({ return request({
url: "/zongzhi/system/list", url: "/zongzhi/system/list",
method: "get", method: "get",
@ -126,6 +138,7 @@ export function listSystem(query) {
} }
// 查询等保单位列表 // 查询等保单位列表
export function listUnit(query) { export function listUnit(query) {
query.isStatus = 1;
return request({ return request({
url: "/zongzhi/dengbaounit/list", url: "/zongzhi/dengbaounit/list",
method: "get", method: "get",
@ -135,6 +148,7 @@ export function listUnit(query) {
// 查询政府网站列表 // 查询政府网站列表
export function listWeb(query) { export function listWeb(query) {
query.isStatus = 1;
return request({ return request({
url: "/zongzhi/web/list", url: "/zongzhi/web/list",
method: "get", method: "get",
@ -143,6 +157,7 @@ export function listWeb(query) {
} }
// 查询IDC单位列表 // 查询IDC单位列表
export function listIDCunit(query) { export function listIDCunit(query) {
query.isStatus = 1;
return request({ return request({
url: "/zongzhi/idcunit/list", url: "/zongzhi/idcunit/list",
method: "get", method: "get",
@ -151,6 +166,7 @@ export function listIDCunit(query) {
} }
// 查询数据来源列表 // 查询数据来源列表
export function listSource(query) { export function listSource(query) {
query.isStatus = 1;
return request({ return request({
url: "/zongzhi/source/list", url: "/zongzhi/source/list",
method: "get", method: "get",
@ -181,6 +197,7 @@ export function saftyscreenSafety() {
} }
// 查询安全检测列表 // 查询安全检测列表
export function listDetection(query) { export function listDetection(query) {
query.isStatus = 1;
return request({ return request({
url: "/zongzhi/detection/list", url: "/zongzhi/detection/list",
method: "get", method: "get",
@ -189,6 +206,7 @@ export function listDetection(query) {
} }
// 网络平台 // 网络平台
export function listPlatform(query) { export function listPlatform(query) {
query.isStatus = 1;
return request({ return request({
url: "/zongzhi/pingtai/list", url: "/zongzhi/pingtai/list",
method: "get", method: "get",
@ -206,6 +224,7 @@ export function getDetection(id) {
// 查询安全隐患列表 // 查询安全隐患列表
export function listDanger(query) { export function listDanger(query) {
query.isStatus = 1;
return request({ return request({
url: "/zongzhi/danger/list", url: "/zongzhi/danger/list",
method: "get", method: "get",
@ -223,6 +242,7 @@ export function getDanger(id) {
// 查询通报列表 // 查询通报列表
export function listTb(query) { export function listTb(query) {
query.isStatus = 1;
return request({ return request({
url: "/zongzhi/tb/list", url: "/zongzhi/tb/list",
method: "get", method: "get",
@ -277,6 +297,7 @@ export function networkAppraiser() {
} }
// 查询本级上级网评指令比列 (月)列表 // 查询本级上级网评指令比列 (月)列表
export function listBjsj(query) { export function listBjsj(query) {
query.isStatus = 1;
return request({ return request({
url: "/zongzhi/bjsj/list", url: "/zongzhi/bjsj/list",
method: "get", method: "get",
@ -286,6 +307,7 @@ export function listBjsj(query) {
// 查询网评员任务完成率心列表 // 查询网评员任务完成率心列表
export function listWpyrwwcl(query) { export function listWpyrwwcl(query) {
query.isStatus = 1;
return request({ return request({
url: "/zongzhi/wpyrwwcl/list", url: "/zongzhi/wpyrwwcl/list",
method: "get", method: "get",

@ -564,20 +564,19 @@ export default {
// //
mapList() { mapList() {
mapAttack({ pageSize: 20, pageNum: 1 }).then((res) => { mapAttack({ pageSize: 20, pageNum: 1 }).then((res) => {
console.log(res);
res.rows.forEach((value) => { res.rows.forEach((value) => {
this.attackItem.forEach((value1,index1)=>{ this.attackItem.forEach((value1, index1) => {
if(value1.country == value.name){ if (value1.country == value.name) {
this.attackItem[index1].attackNum = value.attackCount this.attackItem[index1].attackNum = value.attackCount;
return return;
} }
}) });
this.attackItemTwo.forEach((value2,index2)=>{ this.attackItemTwo.forEach((value2, index2) => {
if(value2.country == value.name){ if (value2.country == value.name) {
this.attackItemTwo[index2].attackNum = value.attackCount this.attackItemTwo[index2].attackNum = value.attackCount;
return return;
} }
}) });
}); });
this.onload(); this.onload();
}); });

@ -41,8 +41,8 @@
<div class="item_icon"> <div class="item_icon">
{{ index + 1 }} {{ index + 1 }}
</div> </div>
<div class="item_name" :title="item.dep_name"> <div class="item_name" :title="item.depName">
{{ item.dep_name }} {{ item.depName }}
</div> </div>
<div class="item_num">{{ item.count }}</div> <div class="item_num">{{ item.count }}</div>
</div> </div>
@ -251,13 +251,11 @@ export default {
echartsJump(myChartPieFirst, optionFirst); echartsJump(myChartPieFirst, optionFirst);
}, },
clickFunc(val) { clickFunc(val) {
console.log(val);
this.queryData.areaId = val.area || val.data.area; this.queryData.areaId = val.area || val.data.area;
console.log(this.queryData); console.log(this.queryData);
// //
this.dangerList = []; this.dangerList = [];
departmentList(this.queryData).then((res) => { departmentList(this.queryData).then((res) => {
console.log(res);
res.rows.forEach((value) => { res.rows.forEach((value) => {
// //
// //
@ -265,12 +263,10 @@ export default {
if (value.fileName) { if (value.fileName) {
let arr1 = value.fileName.split(","); let arr1 = value.fileName.split(",");
let arr2 = value.fileUrl.split(","); let arr2 = value.fileUrl.split(",");
// arr1.forEach((value1, index1) => {
this.dangerList.push({ this.dangerList.push({
fileName: arr1[0], fileName: arr1[0],
fileUrl: arr2[0], fileUrl: arr2[0],
}); });
// });
} }
// if (value.fileName && value.fileUrl) { // if (value.fileName && value.fileUrl) {
// this.dangerList.push({ // this.dangerList.push({
@ -287,9 +283,8 @@ export default {
let str1 = str[0].split("."); let str1 = str[0].split(".");
this.fileExtension = str1[1]; this.fileExtension = str1[1];
if (this.fileExtension == "pdf") { if (this.fileExtension == "pdf") {
this.getNumPages(process.env.VUE_APP_BASE_API2 + str[0]) this.getNumPages(process.env.VUE_APP_BASE_API2 + str[0]);
this.dialogStatus2 = true; this.dialogStatus2 = true;
} else if ( } else if (
this.fileExtension === "docx" || this.fileExtension === "docx" ||
this.fileExtension === "doc" this.fileExtension === "doc"
@ -359,14 +354,12 @@ export default {
// //
getBMData() { getBMData() {
departmentTB().then((res) => { departmentTB().then((res) => {
console.log(res);
this.notificationList = res.data; this.notificationList = res.data;
}); });
}, },
// //
getSDData() { getSDData() {
territorialTB().then((res) => { territorialTB().then((res) => {
console.log(res);
res.data.forEach((value, index) => { res.data.forEach((value, index) => {
this.piedata.push({ this.piedata.push({
name: this.$filterDict("1", `[${value.areaId}]`, true), name: this.$filterDict("1", `[${value.areaId}]`, true),

@ -675,8 +675,7 @@ export default {
* 安全监测攻击类型统计 * 安全监测攻击类型统计
*/ */
getSaftyscreenSafety() { getSaftyscreenSafety() {
listTj().then((res) => { listTj({ isStatus: 1 }).then((res) => {
// this.securityMonitor.detail = res.rows
this.monitorForm = res.rows[0]; this.monitorForm = res.rows[0];
}); });
}, },
@ -685,7 +684,6 @@ export default {
*/ */
getSaftyscreenSupervise() { getSaftyscreenSupervise() {
saftyscreenSupervise().then((res) => { saftyscreenSupervise().then((res) => {
// this.superviseObject[4].num = res.data.
res.data.forEach((item) => { res.data.forEach((item) => {
this.superviseObject.forEach((it) => { this.superviseObject.forEach((it) => {
if (item.name == it.title) { if (item.name == it.title) {

@ -553,9 +553,10 @@ export default {
}); });
}); });
}); });
dtsxListGet().then(res=>{
this.dtsx = res.rows[0] dtsxListGet({ isStatus: 1 }).then((res) => {
}) this.dtsx = res.rows[0];
});
}, },
// 线 // 线
lineBox() { lineBox() {

@ -468,14 +468,13 @@ export default {
console.log(this.Transfer); console.log(this.Transfer);
}); });
// //
yuqingListA().then((res) => { yuqingListA({}).then((res) => {
this.turnDetailsList = res.rows; this.turnDetailsList = res.rows;
}); });
}, },
// //
getOneList() { getOneList() {
yuqingListA(this.formData).then((res) => { yuqingListA(this.formData).then((res) => {
console.log(res);
this.yqTotal = res.total; this.yqTotal = res.total;
this.currentWarningObj = res.rows[0]; this.currentWarningObj = res.rows[0];
}); });
@ -566,11 +565,11 @@ export default {
}, },
rowClick(row) { rowClick(row) {
if (!row.fileName && !row.fileUrl) return; if (!row.fileName && !row.fileUrl) return;
let str = row.fileUrl.split(',') let str = row.fileUrl.split(",");
let str1 = str[0].split('.') let str1 = str[0].split(".");
this.fileExtension = str1[1]; this.fileExtension = str1[1];
if (this.fileExtension == "pdf") { if (this.fileExtension == "pdf") {
this.getNumPages(process.env.VUE_APP_BASE_API2 + str[0]) this.getNumPages(process.env.VUE_APP_BASE_API2 + str[0]);
this.dialogDetails = true; this.dialogDetails = true;
} else if ( } else if (
this.fileExtension === "docx" || this.fileExtension === "docx" ||

Loading…
Cancel
Save