获取太仓市数据

duhanyu
吕天方 2 years ago
parent fb286f2cef
commit 1851955424

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

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

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

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

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

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

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

Loading…
Cancel
Save