许宏杰 1 year ago
commit 0028e615c8

@ -1,216 +1,247 @@
import request from '@/utils/request.js' import request from "@/utils/request.js";
// 网络安全官 // 网络安全官
export function listSafetyadmin(query) { export function listSafetyadmin(query) {
return request({ return request({
url: '/zongzhi/safetyadmin/list', url: "/zongzhi/safetyadmin/list",
method: 'get', method: "get",
params: query params: query,
}) });
} }
export function listTown(query) { export function listTown(query) {
return request({ return request({
url: '/zongzhi/town/list', url: "/zongzhi/town/list",
method: 'get', method: "get",
params: query params: query,
}) });
} }
// 查询网评员列表 // 查询网评员列表
export function listCommentator(query) { export function listCommentator(query) {
return request({ return request({
url: '/zongzhi/commentator/list', url: "/zongzhi/commentator/list",
method: 'get', method: "get",
params: query params: query,
}) });
} }
// 查询网络平台列表 // 查询网络平台列表
export function listPingtai(query) { export function listPingtai(query) {
return request({ return request({
url: '/zongzhi/pingtai/list', url: "/zongzhi/pingtai/list",
method: 'get', method: "get",
params: query params: query,
}) });
} }
// 查询网络安全支持单位列表 // 查询网络安全支持单位列表
export function listNetSafetyZcUnit(query) { export function listNetSafetyZcUnit(query) {
return request({ return request({
url: '/zongzhi/supportunit/list', url: "/zongzhi/supportunit/list",
method: 'get', method: "get",
params: query params: query,
}) });
} }
// 查询网络民情责任人列表 // 查询网络民情责任人列表
export function listPrincipal(query) { export function listPrincipal(query) {
return request({ return request({
url: '/zongzhi/principal/list', url: "/zongzhi/principal/list",
method: 'get', method: "get",
params: query params: query,
}) });
} }
// 查询网络文明自愿者列表 // 查询网络文明自愿者列表
export function listVolunteer(query) { export function listVolunteer(query) {
return request({ return request({
url: '/zongzhi/volunteer/list', url: "/zongzhi/volunteer/list",
method: 'get', method: "get",
params: query params: query,
}) });
} }
// 查询网络文章列表 // 查询网络文章列表
export function listArticle(query) { export function listArticle(query) {
return request({ return request({
url: '/zongzhi/article/list', url: "/zongzhi/article/list",
method: 'get', method: "get",
params: query params: query,
}) });
} }
// 查询重点企业名录列表 // 查询重点企业名录列表
export function listEnterprise(query) { export function listEnterprise(query) {
return request({ return request({
url: '/zongzhi/enterprise/list', url: "/zongzhi/enterprise/list",
method: 'get', method: "get",
params: query params: query,
}) });
} }
// 查询重点领域监管列表 // 查询重点领域监管列表
export function listDomain(query) { export function listDomain(query) {
return request({ return request({
url: '/zongzhi/domain/list', url: "/zongzhi/domain/list",
method: 'get', method: "get",
params: query params: query,
}) });
} }
// 查询重点工作项目列表 // 查询重点工作项目列表
export function listWork(query) { export function listWork(query) {
return request({ return request({
url: '/zongzhi/work/list', url: "/zongzhi/work/list",
method: 'get', method: "get",
params: query params: query,
}) });
} }
// 查询工作动态列表 // 查询工作动态列表 dongtai/list
export function listDongtai(query) { export function listDongtai(query) {
return request({ return request({
url: '/zongzhi/dongtai/list', url: "/zongzhi/managescreen/workdynamics",
method: 'get', method: "get",
params: query params: query,
}) });
} }
// 查询等保系统列表 // 查询等保系统列表
export function listSystem(query) { export function listSystem(query) {
return request({ return request({
url: '/zongzhi/system/list', url: "/zongzhi/system/list",
method: 'get', method: "get",
params: query params: query,
}) });
} }
// 查询等保单位列表 // 查询等保单位列表
export function listUnit(query) { export function listUnit(query) {
return request({ return request({
url: '/zongzhi/dengbaounit/list', url: "/zongzhi/dengbaounit/list",
method: 'get', method: "get",
params: query params: query,
}) });
} }
// 查询政府网站列表 // 查询政府网站列表
export function listWeb(query) { export function listWeb(query) {
return request({ return request({
url: '/zongzhi/web/list', url: "/zongzhi/web/list",
method: 'get', method: "get",
params: query params: query,
}) });
} }
// 查询IDC单位列表 // 查询IDC单位列表
export function listIDCunit(query) { export function listIDCunit(query) {
return request({ return request({
url: '/zongzhi/idcunit/list', url: "/zongzhi/idcunit/list",
method: 'get', method: "get",
params: query params: query,
}) });
} }
// 查询数据来源列表 // 查询数据来源列表
export function listSource(query) { export function listSource(query) {
return request({ return request({
url: '/zongzhi/source/list', url: "/zongzhi/source/list",
method: 'get', method: "get",
params: query params: query,
}) });
} }
export function saftyscreenSupervise() { export function saftyscreenSupervise() {
return request({ return request({
url: '/zongzhi/saftyscreen/supervise', url: "/zongzhi/saftyscreen/supervise",
method: 'get' method: "get",
}) });
} }
// 受攻击IPTop5 // 受攻击IPTop5
export function saftyscreenUnattack() { export function saftyscreenUnattack() {
return request({ return request({
url: '/zongzhi/saftyscreen/unattack', url: "/zongzhi/saftyscreen/unattack",
method: 'get' method: "get",
}) });
} }
// 安全检测数据统计 // 安全检测数据统计
export function saftyscreenSafety() { export function saftyscreenSafety() {
return request({ return request({
url: '/zongzhi/saftyscreen/safety', url: "/zongzhi/saftyscreen/safety",
method: 'get' method: "get",
}) });
} }
// 查询安全检测列表 // 查询安全检测列表
export function listDetection(query) { export function listDetection(query) {
return request({ return request({
url: '/zongzhi/detection/list', url: "/zongzhi/detection/list",
method: 'get', method: "get",
params: query params: query,
}) });
}
// 网络平台
export function listPlatform(query) {
return request({
url: "/zongzhi/pingtai/list",
method: "get",
params: query,
});
} }
// 查询安全检测详细 // 查询安全检测详细
export function getDetection(id) { export function getDetection(id) {
return request({ return request({
url: '/zongzhi/detection/' + id, url: "/zongzhi/detection/" + id,
method: 'get' method: "get",
}) });
} }
// 查询安全隐患列表 // 查询安全隐患列表
export function listDanger(query) { export function listDanger(query) {
return request({ return request({
url: '/zongzhi/danger/list', url: "/zongzhi/danger/list",
method: 'get', method: "get",
params: query params: query,
}) });
}
// 清朗专项行动动态
export function zhuanxiang(query) {
return request({
url: "/zongzhi/zhuanxiang/list",
method: "get",
params: query,
});
} }
// 查询安全隐患详细 // 查询安全隐患详细
export function getDanger(id) { export function getDanger(id) {
return request({ return request({
url: '/zongzhi/danger/' + id, url: "/zongzhi/danger/" + id,
method: 'get' method: "get",
}) });
} }
// 查询通报列表 // 查询通报列表
export function listTb(query) { export function listTb(query) {
return request({ return request({
url: '/zongzhi/tb/list', url: "/zongzhi/tb/list",
method: 'get', method: "get",
params: query params: query,
}) });
} }
// 查询通报详细 // 查询通报详细
export function getTb(id) { export function getTb(id) {
return request({ return request({
url: '/zongzhi/tb/' + id, url: "/zongzhi/tb/" + id,
method: 'get' 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",
});
} }

@ -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 { getDictList } from '@/api/zongzhi/common.js'
import { listTown } from '@/api/zongzhi/st.js' import { listTown } from '@/api/zongzhi/st.js'
const dict = { const dict = {
@ -21,6 +29,7 @@ const dict = {
} }
getDictList(query) getDictList(query)
.then((res) => { .then((res) => {
// console.log(res)
commit('SET_DICT', res.data) commit('SET_DICT', res.data)
getownList().then((town) => { getownList().then((town) => {
commit('SET_TOWN', town) commit('SET_TOWN', town)

@ -3,7 +3,7 @@
* Copyright (c) 2019 safesoft * 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) { export function parseTime(time, pattern) {
@ -110,7 +110,7 @@ export function selectDictLabels(datas, value, separator) {
// 通用下载方法 // 通用下载方法
export function download(fileName) { 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 ) // 字符串格式化(%s )

@ -1,8 +1,8 @@
<!-- <!--
* @Author: lough * @Author: lough
* @Date: 2021-12-21 14:12:54 * @Date: 2021-12-21 14:12:54
* @LastEditors: lough * @LastEditors: JC9527
* @LastEditTime: 2022-09-08 10:26:49 * @LastEditTime: 2023-08-21 16:54:37
* @Description: * @Description:
--> -->
<template> <template>
@ -30,7 +30,7 @@
</template> </template>
<script> <script>
import { getreportNum } from '@/api/common' import { networkreport } from '@/api/zongzhi/st.js'
export default { export default {
data() { data() {
return { return {
@ -39,12 +39,18 @@ export default {
} }
}, },
mounted() { mounted() {
this.reportTotalCount = 45 // this.reportTotalCount = 45
this.completedPercent = 100 // this.completedPercent = 100
// getreportNum().then(res => { // getreportNum().then(res => {
// this.reportTotalCount = res.data.reportTotalCount // this.reportTotalCount = res.data.reportTotalCount
// this.completedPercent = res.data.completedPercent // this.completedPercent = res.data.completedPercent
// }) // })
networkreport().then(res => {
this.reportTotalCount = res.data.count
this.completedPercent = res.data.handle
});
// console.log(data)
} }
} }

@ -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: 2022-08-22 17:25:45 * @LastEditTime: 2023-08-21 16:01:49
* @FilePath : \\tcingiocpro\\src\\views\\privateOrder\\ecosphere\\components\\componentLeft.vue * @FilePath : \\tcingiocpro\\src\\views\\privateOrder\\ecosphere\\components\\componentLeft.vue
--> -->
<template> <template>
@ -155,8 +155,9 @@
@click.stop="dynamicClick(item)" @click.stop="dynamicClick(item)"
> >
<div class="item_txt"> <div class="item_txt">
<span :data-obj="item.materialsName"> <!-- materialsName -->
{{ item.materialsName }} <span :data-obj="item.name">
{{ item.name }}
</span> </span>
</div> </div>
<div class="item_bottom"> <div class="item_bottom">
@ -201,7 +202,7 @@
@mouseover="zoologyMouseOver(idx)" @mouseover="zoologyMouseOver(idx)"
@mouseleave="zoologyMouseLeave" @mouseleave="zoologyMouseLeave"
@click=" @click="
networkPlatformClick(item.name); networkPlatformClick(item.name,item.type);
currentIndex = idx; currentIndex = idx;
" "
> >
@ -482,7 +483,7 @@
<script> <script>
import vueSeamlessScroll from 'vue-seamless-scroll' import vueSeamlessScroll from 'vue-seamless-scroll'
import ModuleTitle from '../../common/ModuleTitle.vue' import ModuleTitle from '../../common/ModuleTitle.vue'
import { listEnterprise, listDomain, listWork, listDongtai } from '@/api/zongzhi/st.js' import { listEnterprise, listDomain, listWork, listDongtai, listPlatform } from '@/api/zongzhi/st.js'
import { import {
getBilibiliData, getBilibiliData,
getRedBookData, getRedBookData,
@ -534,24 +535,28 @@ export default {
name: '网站', name: '网站',
num: 0, num: 0,
subList: [], subList: [],
type:1,
url: require('@/assets/ecosphere/icon-网站.png') url: require('@/assets/ecosphere/icon-网站.png')
}, },
{ {
name: '抖音', name: '抖音',
num: 0, num: 0,
subList: [], subList: [],
type:2,
url: require('@/assets/ecosphere/icon-抖音.png') url: require('@/assets/ecosphere/icon-抖音.png')
}, },
{ {
name: '微信', name: '微信',
num: 0, num: 0,
subList: [], subList: [],
type:3,
url: require('@/assets/ecosphere/icon-微信.png') url: require('@/assets/ecosphere/icon-微信.png')
}, },
{ {
name: '微博', name: '微博',
num: 0, num: 0,
subList: [], subList: [],
type:4,
url: require('@/assets/ecosphere/icon微博.png') url: require('@/assets/ecosphere/icon微博.png')
}, },
@ -559,24 +564,28 @@ export default {
name: '今日头条', name: '今日头条',
num: 0, num: 0,
subList: [], subList: [],
type:5,
url: require('@/assets/ecosphere/icon-头条.png') url: require('@/assets/ecosphere/icon-头条.png')
}, },
{ {
name: '快手', name: '快手',
num: 0, num: 0,
subList: [], subList: [],
type:6,
url: require('@/assets/ecosphere/icon-快手.png') url: require('@/assets/ecosphere/icon-快手.png')
}, },
{ {
name: 'B站', name: 'B站',
num: 0, num: 0,
subList: [], subList: [],
type:7,
url: require('@/assets/ecosphere/icon-b站.png') url: require('@/assets/ecosphere/icon-b站.png')
}, },
{ {
name: '小红书', name: '小红书',
num: 0, num: 0,
subList: [], subList: [],
type:8,
url: require('@/assets/ecosphere/icon-小红书.png') url: require('@/assets/ecosphere/icon-小红书.png')
} }
], ],
@ -634,16 +643,17 @@ export default {
methods: { methods: {
// //
getDynamicData() { getDynamicData() {
listDongtai(this.dtParams).then(res => { listDongtai().then(res => {
this.dynamicList = res.rows console.log(res)
this.dtTotal = res.total this.dynamicList = res.data
// this.dtTotal = res.total
}) })
// const tableObject = require('./data.json') // const tableObject = require('./data.json')
// this.dynamicList = tableObject[''] // this.dynamicList = tableObject['']
}, },
// //
networkPlatformClick(val) { async networkPlatformClick(val,type) {
this.currentPage = 1 this.currentPage = 1
this.pageSize = 10 this.pageSize = 10
this.dialogTitle = val this.dialogTitle = val
@ -653,9 +663,16 @@ export default {
this.tableHeader = ['账号ID', 'URL'] this.tableHeader = ['账号ID', 'URL']
this.zoologyWidth = '1000px' this.zoologyWidth = '1000px'
this.tableData = [] this.tableData = []
this.tableData = [ // this.tableData = [
{ 账号ID: 1, URL: 'https://www.bilibili.com/' } // { ID: 1, URL: 'https://www.bilibili.com/' }
] // ]
let res = await listPlatform({type:type});
res.rows.map((item)=>{
let obj = {}
obj['账号ID'] = item.name
obj['URL'] = item.dns
this.tableData.push(obj)
})
// res['T_DATA_BILIBILI[]'].forEach((item) => { // res['T_DATA_BILIBILI[]'].forEach((item) => {
// this.tableData.push({ ID: item.account_id, URL: item.url }) // this.tableData.push({ ID: item.account_id, URL: item.url })
// }) // })
@ -666,12 +683,19 @@ export default {
this.tableHeader = ['账号ID', 'URL'] this.tableHeader = ['账号ID', 'URL']
this.zoologyWidth = '1000px' this.zoologyWidth = '1000px'
this.tableData = [] this.tableData = []
this.tableData = [ // this.tableData = [
{ 账号ID: 1, URL: 'https://www.xiaohongshu.com/explore' } // { ID: 1, URL: 'https://www.xiaohongshu.com/explore' }
] // ]
// res['T_DATA_RED_BOOK[]'].forEach((item) => { // res['T_DATA_RED_BOOK[]'].forEach((item) => {
// this.tableData.push({ ID: item.account_id, URL: item.url }) // this.tableData.push({ ID: item.account_id, URL: item.url })
// }) // })
let res = await listPlatform({type:type});
res.rows.map((item)=>{
let obj = {}
obj['账号ID'] = item.name
obj['URL'] = item.dns
this.tableData.push(obj)
})
this.networkPlatformData() this.networkPlatformData()
// }) // })
} else if (val === '今日头条') { } else if (val === '今日头条') {
@ -679,9 +703,16 @@ export default {
this.tableHeader = ['账号ID', '简介'] this.tableHeader = ['账号ID', '简介']
this.zoologyWidth = '1200px' this.zoologyWidth = '1200px'
this.tableData = [] this.tableData = []
this.tableData = [ // this.tableData = [
{ 账号ID: 1, 简介: '今日头条是北京字节跳动科技有限公司开发的一款基于数据挖掘的推荐引擎产品为用户推荐信息、提供连接人与信息的服务的产品。由张一鸣于2012年3月创建2012年8月发布第一个版本。' } // { ID: 1, : '2012320128' }
] // ]
let res = await listPlatform({type:type});
res.rows.map((item)=>{
let obj = {}
obj['账号ID'] = item.name
obj['简介'] = item.intro
this.tableData.push(obj)
})
// res['T_DATA_TODAY_HEADLINE[]'].forEach((item) => { // res['T_DATA_TODAY_HEADLINE[]'].forEach((item) => {
// this.tableData.push({ // this.tableData.push({
// ID: item.account_id, // ID: item.account_id,
@ -695,9 +726,16 @@ export default {
this.tableHeader = ['账号ID', '简介'] this.tableHeader = ['账号ID', '简介']
this.zoologyWidth = '1000px' this.zoologyWidth = '1000px'
this.tableData = [] this.tableData = []
this.tableData = [ // this.tableData = [
{ 账号ID: 1, 简介: '快手是北京快手科技有限公司旗下的产品。快手 [1-2]的前身叫“GIF快手”诞生于2011年3月最初是一款用来制作、分享GIF图片的手机应用。2012年11月快手从纯粹的工具应用转型为短视频社区用于用户记录和分享生产、生活的平台。后来随着智能手机、平板电脑的普及和移动流量成本的下降快手在2015年以后迎来市场' } // { ID: 1, : ' [1-2]GIF20113GIF2012112015' }
] // ]
let res = await listPlatform({type:type});
res.rows.map((item)=>{
let obj = {}
obj['账号ID'] = item.name
obj['简介'] = item.intro
this.tableData.push(obj)
})
// res['T_DATA_QUICK_WORKER[]'].forEach((item) => { // res['T_DATA_QUICK_WORKER[]'].forEach((item) => {
// this.tableData.push({ // this.tableData.push({
// ID: item.account_id, // ID: item.account_id,
@ -711,9 +749,16 @@ export default {
this.tableHeader = ['账号ID', '行业属性'] this.tableHeader = ['账号ID', '行业属性']
this.zoologyWidth = '1000px' this.zoologyWidth = '1000px'
this.tableData = [] this.tableData = []
this.tableData = [ // this.tableData = [
{ 账号ID: 1, 行业属性: '自媒体' } // { ID: 1, : '' }
] // ]
let res = await listPlatform({type:type});
res.rows.map((item)=>{
let obj = {}
obj['账号ID'] = item.name
obj['行业属性'] = this.getProps(item.props)
this.tableData.push(obj)
})
// res['T_DATA_WECHAT[]'].forEach((item) => { // res['T_DATA_WECHAT[]'].forEach((item) => {
// this.tableData.push({ // this.tableData.push({
// ID: item.account_id, // ID: item.account_id,
@ -727,12 +772,21 @@ export default {
this.tableHeader = ['网站名称', '真实IP', '网站域名', '备案许可证号'] this.tableHeader = ['网站名称', '真实IP', '网站域名', '备案许可证号']
this.zoologyWidth = '2000px' this.zoologyWidth = '2000px'
this.tableData = [] this.tableData = []
this.tableData.push({ // this.tableData.push({
网站名称: '百度', // : '',
真实IP: '220.181.111.188', // IP: '220.181.111.188',
网站域名: 'https://www.xiaohongshu.com/explore', // : 'https://www.xiaohongshu.com/explore',
备案许可证号: '京ICP证030173号', // : 'ICP030173',
numOrder: 1 // numOrder: 1
// })
let res = await listPlatform({type:type});
res.rows.map((item)=>{
let obj = {}
obj['网站名称'] = item.name
obj['真实IP'] = item.ipAddress
obj['网站域名'] = item.dns
obj['备案许可证号'] = item.licenceNum
this.tableData.push(obj)
}) })
// res['T_big_screen_website_data[]'].forEach((item) => { // res['T_big_screen_website_data[]'].forEach((item) => {
// const startIndex = item.licence_num.indexOf('') // const startIndex = item.licence_num.indexOf('')
@ -754,10 +808,18 @@ export default {
this.zoologyWidth = '1000px' this.zoologyWidth = '1000px'
this.tableData = [] this.tableData = []
// res['T_big_screen_weibo_data[]'].forEach((item) => { // res['T_big_screen_weibo_data[]'].forEach((item) => {
this.tableData.push({ // this.tableData.push({
账号名称: '大红矛', // : '',
认证: '微博原创视频博主', // : '',
地区: '北京' // : ''
// })
let res = await listPlatform({type:type});
res.rows.map((item)=>{
let obj = {}
obj['账号名称'] = item.name
obj['认证'] = item.authentication
obj['地区'] = item.area
this.tableData.push(obj)
}) })
// }) // })
this.networkPlatformData() this.networkPlatformData()
@ -768,16 +830,42 @@ export default {
this.zoologyWidth = '1500px' this.zoologyWidth = '1500px'
this.tableData = [] this.tableData = []
// res['T_big_screen_tik_tok[]'].forEach((item) => { // res['T_big_screen_tik_tok[]'].forEach((item) => {
this.tableData.push({ // this.tableData.push({
账号: '1124693722', // : '1124693722',
简介: '无', // : '',
粉丝数: 25 // : 25
})
// }) // })
let res = await listPlatform({type:type});
res.rows.map((item)=>{
let obj = {};
obj['账号'] = item.name;
obj['简介'] = item.intro;
obj['粉丝数'] = item.fansNum;
this.tableData.push(obj)
})
this.tableData.sort((a, b) => b.粉丝数 - a.粉丝数) this.tableData.sort((a, b) => b.粉丝数 - a.粉丝数)
this.networkPlatformData()
// }) // })
} }
this.networkPlatformData()
},
getProps(props){
switch(props){
case 1:
return '房产';
case 2:
return '汽车';
case 3:
return '自媒体';
case 4:
return '餐饮';
case 5:
return '电子竞技';
case 6:
return '财务'
default :
break;
}
}, },
networkPlatformData() { networkPlatformData() {
this.total = this.tableData.length this.total = this.tableData.length

@ -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: 2022-11-15 13:46:59 * @LastEditTime: 2023-08-22 08:57:33
* @FilePath : \\tcingiocpro\\src\\views\\privateOrder\\ecosphere\\components\\componentRight.vue * @FilePath : \\tcingiocpro\\src\\views\\privateOrder\\ecosphere\\components\\componentRight.vue
--> -->
<template> <template>
@ -162,7 +162,9 @@
window.JSZip = require('jszip') window.JSZip = require('jszip')
import { qlzxdtData } from './json' import { qlzxdtData } from './json'
import { getreportNum } from '@/api/common' import { getreportNum } from '@/api/common'
import { zhuanxiang, managescreen } from '@/api/zongzhi/st.js'
import { echartsJump } from '../../../../../public/static/echartsJump' import { echartsJump } from '../../../../../public/static/echartsJump'
import { download } from "@/utils/safesoft"
import vueSeamlessScroll from 'vue-seamless-scroll' import vueSeamlessScroll from 'vue-seamless-scroll'
import image from '../../../../assets/ecosphere/饼图标注.png' import image from '../../../../assets/ecosphere/饼图标注.png'
import ModuleTitle from '../../common/ModuleTitle.vue' import ModuleTitle from '../../common/ModuleTitle.vue'
@ -324,8 +326,10 @@ export default {
}, },
mounted() { mounted() {
this.qlzxdtList = qlzxdtData this.qlzxdtList = qlzxdtData
// this.zhuanxiangList()
// //
this.reportingProcessTimer() this.reportingProcessTimer()
this.inItPie() this.inItPie()
// getreportNum().then(res => { // getreportNum().then(res => {
// this.pieData[0].value = res.data.reportTotalCount - 12 // this.pieData[0].value = res.data.reportTotalCount - 12
@ -340,6 +344,25 @@ export default {
changeImg(item, index) { changeImg(item, index) {
item.index = index item.index = index
}, },
//
async zhuanxiangList(){
let res = await zhuanxiang();
let imgArr
let qlzxdtList = JSON.parse(JSON.stringify(res.rows))
this.qlzxdtList = qlzxdtList
for(let i = 0; i < qlzxdtList.length; i++){
imgArr = qlzxdtList[i].zhuanxiangImg
imgArr = imgArr.split(',')
this.qlzxdtList[i].zhuanxiangImg = imgArr
for(let j = 0; j < imgArr.length; j++){
imgArr[j] = process.env.VUE_APP_BASE_API3 + imgArr[j]
}
}
// zhuanxiang().then(res => {
// console.log(this.qlzxdtList)
// })
},
// //
inItPie() { inItPie() {
const chartDom = document.getElementById('pie') const chartDom = document.getElementById('pie')

Loading…
Cancel
Save