获取太仓市数据

duhanyu
吕天方 1 year ago
parent fb286f2cef
commit 1851955424

@ -140,4 +140,11 @@ export function getJbmap(id) {
url: '/tcZz/netManage/jbmap/' + id,
method: 'get'
})
}
// 查询举报地图详细
export function screenqinglang() {
return request({
url: '/tcZz/networkEcology/screen/screenqinglang',
method: 'get'
})
}

@ -88,4 +88,12 @@ export function listWpyrwwcl(query) {
method: 'get',
params: query
})
}
// 查询网评员文章数量
export function screenarticles() {
return request({
url: '/tcZz/networkEcology/screen/screenarticles',
method: 'get',
})
}

@ -3,7 +3,7 @@
* @Author: kery.chen
* @Description: 总体概览左侧
* @Date: 2021-11-30 11:08:50
* @LastEditTime: 2023-10-19 10:52:51
* @LastEditTime: 2023-10-20 17:21:26
* @FilePath : \\tcingiocpro\\src\\views\\privateOrder\\ecosphere\\components\\componentLeft.vue
-->
<template>
@ -665,7 +665,7 @@ export default {
methods: {
//
getDynamicData() {
listGzdt({isStatus:1}).then(res=>{
listGzdt({isStatus:1, areaId:1}).then(res=>{
this.dongtaiTotal = res.total;
this.dynamicList = [...this.dynamicList, ...res.rows];
})
@ -683,7 +683,7 @@ export default {
this.tableHeader = ["账号ID", "URL"];
this.zoologyWidth = "1000px";
this.tableData = [];
listBzhan({ pageNum: 1, pageSize: 10, type: 1, isStatus:1 }).then(res=>{
listBzhan({ pageNum: 1, pageSize: 10, type: 1, isStatus:1, areaId:1 }).then(res=>{
res.rows.map((item) => {
let obj = {};
obj["账号ID"] = item.zhId;
@ -696,7 +696,7 @@ export default {
this.tableHeader = ["账号ID", "URL"];
this.zoologyWidth = "1000px";
this.tableData = [];
listBzhan({ pageNum: 1, pageSize: 10, type: 2, isStatus:1 }).then(res=>{
listBzhan({ pageNum: 1, pageSize: 10, type: 2, isStatus:1, areaId:1 }).then(res=>{
res.rows.map((item) => {
let obj = {};
obj["账号ID"] = item.zhId;
@ -709,7 +709,7 @@ export default {
this.tableHeader = ["账号ID", "简介"];
this.zoologyWidth = "1200px";
this.tableData = [];
listTtsum({ pageNum: 1, pageSize: 10, type: 1, isStatus:1 }).then(res=>{
listTtsum({ pageNum: 1, pageSize: 10, type: 1, isStatus:1, areaId:1 }).then(res=>{
res.rows.map((item) => {
let obj = {};
obj["账号ID"] = item.zhId;
@ -722,7 +722,7 @@ export default {
this.tableHeader = ["账号ID", "简介"];
this.zoologyWidth = "1000px";
this.tableData = [];
listTtsum({ pageNum: 1, pageSize: 10, type: 2, isStatus:1}).then(res=>{
listTtsum({ pageNum: 1, pageSize: 10, type: 2, isStatus:1, areaId:1}).then(res=>{
res.rows.map((item) => {
let obj = {};
obj["账号ID"] = item.zhId;
@ -735,7 +735,7 @@ export default {
this.tableHeader = ["账号ID", "行业属性"];
this.zoologyWidth = "1000px";
this.tableData = [];
listVx({ pageNum: 1, pageSize: 10, isStatus:1 }).then(res=>{
listVx({ pageNum: 1, pageSize: 10, isStatus:1, areaId:1 }).then(res=>{
res.rows.map((item) => {
let obj = {};
obj["账号ID"] = item.zhId;
@ -749,7 +749,7 @@ export default {
this.tableHeader = ["网站名称", "真实IP", "网站域名", "备案许可证号"];
this.zoologyWidth = "2000px";
this.tableData = [];
listWz({ pageNum: 1, pageSize: 10, isStatus:1 }).then(res=>{
listWz({ pageNum: 1, pageSize: 10, isStatus:1, areaId:1 }).then(res=>{
res.rows.map((item) => {
let obj = {};
obj["网站名称"] = item.webName;
@ -764,7 +764,7 @@ export default {
this.tableHeader = ["账号名称", "认证", "地区"];
this.zoologyWidth = "1000px";
this.tableData = [];
listWb({ pageNum: 1, pageSize: 10, isStatus:1 }).then(res=>{
listWb({ pageNum: 1, pageSize: 10, isStatus:1, areaId:1 }).then(res=>{
res.rows.map((item) => {
let obj = {};
obj["账号名称"] = item.zhName;
@ -778,7 +778,7 @@ export default {
this.tableHeader = ["账号", "简介", "粉丝数"];
this.zoologyWidth = "1500px";
this.tableData = [];
listDy({ pageNum: 1, pageSize: 10, isStatus:1 }).then(res=>{
listDy({ pageNum: 1, pageSize: 10, isStatus:1, areaId:1 }).then(res=>{
res.rows.map((item) => {
let obj = {};
obj["账号"] = item.userName;
@ -861,7 +861,7 @@ export default {
this.currentIndex = status;
if (this.currentIndex == 1) {
// listEnterprise(this.queryParams).then((res) => {
listZdqyml({...this.queryParams,isStatus:1}).then(res => {
listZdqyml({...this.queryParams,isStatus:1, areaId:1}).then(res => {
this.currentPageData = res.rows;
this.tableKey = [
{ name: "企业名称", value: "enterpriseName" },
@ -887,7 +887,7 @@ export default {
});
} else if (this.currentIndex == 2) {
// listDomain(this.queryParams).then((res) => {
listZdlyjg({...this.queryParams,isStatus:1}).then((res) => {
listZdlyjg({...this.queryParams,isStatus:1, areaId:1}).then((res) => {
this.currentPageData = res.rows;
this.tableKey = [
{
@ -904,7 +904,7 @@ export default {
});
} else if (this.currentIndex == 3) {
// listWork(this.queryParams).then((res) => {
listZdgzxm({...this.queryParams,isStatus:1}).then((res) => {
listZdgzxm({...this.queryParams,isStatus:1, areaId:1}).then((res) => {
this.currentPageData = res.rows;
this.tableKey = [
{ name: "推进单位", value: "tjUnit" },

@ -3,7 +3,7 @@
* @Author: kery.chen
* @Description: 总体概览右侧
* @Date: 2021-11-30 11:08:50
* @LastEditTime: 2023-10-19 10:01:06
* @LastEditTime: 2023-10-21 15:43:07
* @FilePath : \\tcingiocpro\\src\\views\\privateOrder\\ecosphere\\components\\componentRight.vue
-->
<template>
@ -169,6 +169,7 @@ import {
listQlzxxddt,
getQlzxxddt,
listQlzxxdsjtj,
screenqinglang,
} from "@/api/netManage/index.js";
import { echartsJump } from '../../../../../public/static/echartsJump'
import { download } from "@/utils/safesoft"
@ -365,7 +366,7 @@ export default {
//
async zhuanxiangList(){
// let res = await zhuanxiang();
listQlzxxddt({isStatus:1}).then(res=>{
listQlzxxddt({isStatus:1, areaId:1}).then(res=>{
let imgArr
this.qlzxdtList = JSON.parse(JSON.stringify(res.rows))
for(let i = 0; i < this.qlzxdtList.length; i++){
@ -378,94 +379,145 @@ export default {
//
async managescreenData(){
// let res = await managescreen()
listQlzxxdsjtj({isStatus:1}).then(res=>{
let data = res.rows || []
let arr1 = [],arr2 = []
let arr = []
data.map((item)=>{
item.dateTime = this.getDate(item.dateTime)
arr.push(item)
// if(item.type == 1) {
// arr1.push(item)
// }else if(item.type == 2){
// arr2.push(item)
// }
screenqinglang().then(res=>{
let data1 = res.data.screenQinglangWeiguiResponse || [];
let data2 = res.data.screenQinglangWeifanResponse || [];
let arr1 = [],arr2 = [];
data1.forEach(item=>{
let obj = {};
obj.name = this.getDate(item.dateTime)
obj.num = item.count2;
arr2.push(obj)
})
// console.log(arr,'arr')
data2.forEach(item=>{
let obj = {};
obj.name = this.getDate(item.dateTime)
obj.num = item.count1;
arr1.push(obj)
})
return {arr1,arr2}
}).then((res)=>{
// console.log(res,'res')
this.qlzfDataStatistics[1].data.map((item)=>{
// arr2.map((arr)=>{
arr.map((arr)=>{
if(item.name == arr.dateTime) {
item.num = arr.count2
res.arr2.map((arr)=>{
if(item.name == arr.name) {
item.num = arr.num
}
})
})
this.qlzfDataStatistics[0].data.map((item)=>{
// arr1.map((arr)=>{
arr.map((arr)=>{
if(item.name == arr.dateTime) {
item.num = arr.count1
res.arr1.map((arr)=>{
if(item.name == arr.name) {
item.num = arr.num
}
})
})
})
// listQlzxxdsjtj({isStatus:1}).then(res=>{
// let data = res.rows || []
// let arr1 = [],arr2 = []
// let arr = []
// data.map((item)=>{
// item.dateTime = this.getDate(item.dateTime)
// arr.push(item)
// // if(item.type == 1) {
// // arr1.push(item)
// // }else if(item.type == 2){
// // arr2.push(item)
// // }
// })
// // console.log(arr,'arr')
// this.qlzfDataStatistics[1].data.map((item)=>{
// // arr2.map((arr)=>{
// arr.map((arr)=>{
// if(item.name == arr.dateTime) {
// item.num = arr.count2
// }
// })
// })
// this.qlzfDataStatistics[0].data.map((item)=>{
// // arr1.map((arr)=>{
// arr.map((arr)=>{
// if(item.name == arr.dateTime) {
// item.num = arr.count1
// }
// })
// })
// })
},
//
async reportbyyearDate(){
// let data = await reportbyyear();
let arr = []
listJbsjndfltj({type:'上级下发'}).then(data=>{
let value = 0
let obj = {}
data.rows.forEach(item=>{
value += item.count
})
obj.value = value;
obj.name = '上级下发';
arr.push(obj)
}).then(res=>{
this.pieData = arr;
this.inItPie()
})
listJbsjndfltj({type:'部门转发'}).then(data=>{
let value = 0
let obj = {}
data.rows.forEach(item=>{
value += item.count
})
obj.value = value;
obj.name = '部门转发'
arr.push(obj)
}).then(res=>{
this.pieData = arr;
this.inItPie()
})
listJbsjndfltj({type:'无效'}).then(data=>{
let value = 0
let obj = {}
data.rows.forEach(item=>{
value += item.count
})
obj.value = value;
obj.name = '无效'
arr.push(obj)
}).then(res=>{
this.pieData = arr;
this.inItPie()
})
listJbsjndfltj({type:'小程序'}).then(data=>{
let value = 0
let obj = {}
data.rows.forEach(item=>{
value += item.count
let arr = [{name:'上级下发',value:''},{name:'部门转发',value:''},{name:'无效',value:''},{name:'小程序',value:''}]
listJbsjndfltj().then(data=>{
data.rows.forEach((item,index)=>{
arr.forEach(item2=>{
if(item.type == item2.name) {
item2.value = item.count;
}
})
// obj.value = item.count;
// obj.name = item.type;
// arr.push(obj)
})
obj.value = value;
obj.name = '小程序'
arr.push(obj)
// obj.value = value;
// obj.name = '';
}).then(res=>{
this.pieData = arr;
this.inItPie()
})
// listJbsjndfltj({type:''}).then(data=>{
// let value = 0
// let obj = {}
// data.rows.forEach(item=>{
// value += item.count
// })
// obj.value = value;
// obj.name = '';
// arr.push(obj)
// }).then(res=>{
// this.pieData = arr;
// this.inItPie()
// })
// listJbsjndfltj({type:''}).then(data=>{
// let value = 0
// let obj = {}
// data.rows.forEach(item=>{
// value += item.count
// })
// obj.value = value;
// obj.name = ''
// arr.push(obj)
// }).then(res=>{
// this.pieData = arr;
// this.inItPie()
// })
// listJbsjndfltj({type:''}).then(data=>{
// let value = 0
// let obj = {}
// data.rows.forEach(item=>{
// value += item.count
// })
// obj.value = value;
// obj.name = ''
// arr.push(obj)
// }).then(res=>{
// this.pieData = arr;
// this.inItPie()
// })
// listJbsjndfltj({type:''}).then(data=>{
// let value = 0
// let obj = {}
// data.rows.forEach(item=>{
// value += item.count
// })
// obj.value = value;
// obj.name = ''
// arr.push(obj)
// }).then(res=>{
// this.pieData = arr;
// this.inItPie()
// })
// for(let i = 1; i < 5; i++){
// let obj = {}
// listJbsjndfltj({type:i}).then(data=>{

@ -2,7 +2,7 @@
* @Author: lough
* @Date: 2021-12-17 10:07:07
* @LastEditors: JC9527
* @LastEditTime: 2023-10-18 15:53:14
* @LastEditTime: 2023-10-20 17:29:53
* @Description:
-->
<template>
@ -366,7 +366,7 @@ export default {
},
methods: {
getWz() {
listFb({...this.queryParams,isStatus:1,type:1}).then(res => {
listFb({...this.queryParams,isStatus:1,type:1, areaId:1}).then(res => {
// listArticle(this.queryParams).then(res => {
this.dataList = [...this.dataList, ...res.rows]
this.total = res.total

@ -2,7 +2,7 @@
* @Author: lough
* @Date: 2021-12-17 10:07:07
* @LastEditors: JC9527
* @LastEditTime: 2023-10-18 15:55:17
* @LastEditTime: 2023-10-20 17:30:40
* @Description:
-->
<template>
@ -362,7 +362,7 @@ export default {
},
methods: {
getWz() {
listFb({...this.queryParams,isStatus:1,type:2}).then(res => {
listFb({...this.queryParams,isStatus:1,type:2, areaId:1}).then(res => {
this.dataList = [...this.dataList, ...res.rows]
})
},

@ -2,7 +2,7 @@
* @Author: lough
* @Date: 2021-12-17 10:07:07
* @LastEditors: JC9527
* @LastEditTime: 2023-10-18 15:47:10
* @LastEditTime: 2023-10-21 15:17:22
* @Description:
-->
<template>
@ -223,6 +223,7 @@ import {
listWlmqfzr,
listWlwmzyz,
listWpwzlyqk,
screenarticles,
} from "@/api/networkEcology/index.js"
import vueSeamlessScroll from 'vue-seamless-scroll'
window.JSZip = require('jszip')
@ -429,15 +430,20 @@ export default {
* 录用情况 TODO:需接口要本级录用苏州级录用省级及以上录用的篇数
*/
getNetworkArticles(){
listWpwzlyqk({type:1,isStatus:1}).then(res=>{
this.articleType['本级录用'] = res.total;
})
listWpwzlyqk({type:2,isStatus:1}).then(res=>{
this.articleType['苏州级录用'] = res.total;
})
listWpwzlyqk({type:3,isStatus:1}).then(res=>{
this.articleType['省级及以上录用'] = res.total;
screenarticles().then(res=>{
this.articleType['本级录用'] = res.data.count;
this.articleType['苏州级录用'] = res.data.count1;
this.articleType['省级及以上录用'] = res.data.count2;
})
// listWpwzlyqk({type:1,isStatus:1, areaId:1}).then(res=>{
// this.articleType[''] = res.total;
// })
// listWpwzlyqk({type:2,isStatus:1, areaId:1}).then(res=>{
// this.articleType[''] = res.total;
// })
// listWpwzlyqk({type:3,isStatus:1, areaId:1}).then(res=>{
// this.articleType[''] = res.total;
// })
// networkArticles().then(res=>{
// for(let key in this.articleType){
// res.data.forEach(item=>{
@ -501,7 +507,7 @@ export default {
* 文明志愿者
*/
getZyz(title) {
listWlwmzyz({...this.queryParams,isStatus:1}).then(res => {
listWlwmzyz({...this.queryParams,isStatus:1, areaId:1}).then(res => {
// listVolunteer(this.queryParams).then(res => {
this.tableList = res.rows
this.tableKey = [
@ -519,7 +525,7 @@ export default {
},
/** 网络安全官 */
getNetAdmin(title) {
listAqg({...this.queryParams,isStatus:1}).then(res => {
listAqg({...this.queryParams,isStatus:1, areaId:1}).then(res => {
// listSafetyadmin(this.queryParams).then(res => {
this.tableList = res.rows
this.tableKey = [
@ -540,7 +546,7 @@ export default {
},
/** 网评员 */
getNetPj(title) {
listWpy({...this.queryParams,isStatus:1}).then(res => {
listWpy({...this.queryParams,isStatus:1, areaId:1}).then(res => {
// listCommentator(this.queryParams).then(res => {
this.tableList = res.rows
this.tableKey = [
@ -563,7 +569,7 @@ export default {
* 网络大V
*/
getNetPt(title) {
listWldv({...this.queryParams,isStatus:1}).then(res => {
listWldv({...this.queryParams,isStatus:1, areaId:1}).then(res => {
// listPingtai(this.queryParams).then(res => {
this.tableList = res.rows
this.tableKey = [
@ -583,7 +589,7 @@ export default {
* 网络安全支持企业
*/
getZcEnterprise(title) {
listWlaqzcqy({...this.queryParams,isStatus:1}).then(res => {
listWlaqzcqy({...this.queryParams,isStatus:1, areaId:1}).then(res => {
// listNetSafetyZcUnit(this.queryParams).then(res => {
this.tableList = res.rows
this.tableKey = [
@ -600,7 +606,7 @@ export default {
* 民情负责人
*/
getFzr(title) {
listWlmqfzr({...this.queryParams,isStatus:1}).then(res => {
listWlmqfzr({...this.queryParams,isStatus:1, areaId:1}).then(res => {
// listPrincipal(this.queryParams).then(res => {
this.tableList = res.rows
this.tableKey = [
@ -624,7 +630,7 @@ export default {
* 文章表
*/
getWz() {
listWpwzlyqk({ type: this.status, isStatus:1 }).then(res => {
listWpwzlyqk({ type: this.status, isStatus:1, areaId:1 }).then(res => {
// listArticle({ type: this.status }).then(res => {
this.dataList = res.rows
})

Loading…
Cancel
Save