活数据替换

lijinlong
许宏杰 1 year ago
parent 82137d9c3d
commit cb69e6df51

@ -0,0 +1,10 @@
import request from '@/utils/request.js'
// 查询字典
export function getDictList(query) {
return request({
url: '/system/dict/data/getlist',
method: 'get',
params: query
})
}

@ -59,3 +59,71 @@ export function listArticle(query) {
params: query
})
}
// 查询重点企业名录列表
export function listEnterprise(query) {
return request({
url: '/zongzhi/enterprise/list',
method: 'get',
params: query
})
}
// 查询重点领域监管列表
export function listDomain(query) {
return request({
url: '/zongzhi/domain/list',
method: 'get',
params: query
})
}
// 查询重点工作项目列表
export function listWork(query) {
return request({
url: '/zongzhi/work/list',
method: 'get',
params: query
})
}
// 查询工作动态列表
export function listDongtai(query) {
return request({
url: '/zongzhi/dongtai/list',
method: 'get',
params: query
})
}
// 查询等保系统列表
export function listSystem(query) {
return request({
url: '/zongzhi/system/list',
method: 'get',
params: query
})
}
// 查询等保单位列表
export function listUnit(query) {
return request({
url: '/zongzhi/dengbaounit/list',
method: 'get',
params: query
})
}
// 查询政府网站列表
export function listWeb(query) {
return request({
url: '/zongzhi/web/list',
method: 'get',
params: query
})
}
// 查询IDC单位列表
export function listIDCunit(query) {
return request({
url: '/zongzhi/idcunit/list',
method: 'get',
params: query
})
}

@ -1,28 +1,27 @@
<template>
<div>
<el-table :data="tableList" height="740">
<el-table-column
<!-- <el-table-column
label="序号"
type="index"
width="80"
align="center"
/>
/> -->
<el-table-column
v-for="(item,key) in tableKey"
v-if="!item.dictType"
:key="key"
:prop="item.value"
:label="item.name"
align="center"
:show-overflow-tooltip="true"
></el-table-column>
<el-table-column v-else :label="item.name" :show-overflow-tooltip="true">
<template scope="scope">
{{ $filterDict(item.dictType,scope.row[item.value]) }}
</template>
</el-table-column>
</el-table>
<!-- <div style="text-align: right; margin-top: 10px">
<pagination
v-show="total > 0"
:total="total"
:page.sync="pageNum"
:limit.sync="pageSize"
@pagination="getList"
/>
</div> -->
</div>
</template>

@ -22,6 +22,8 @@ import router from './router'
import MyTable from '@/components/MyTable'
import Paginations from '@/components/Pagination'
import { filterDict } from '@/utils/common.js'
Vue.prototype.$filterDict = filterDict
Vue.component('MyTable', MyTable)
Vue.component('Paginations', Paginations)
import $ from 'jquery'

@ -6,12 +6,14 @@
* @LastEditors: Wiley.Yang
* @LastEditTime: 2022-02-16 15:50:20
*/
import store from './store'
import router from './router'
// import store from './store'
// import { Message } from 'element-ui'
import { Message } from 'element-ui'
import NProgress from 'nprogress' // progress bar
import 'nprogress/nprogress.css' // progress bar style
import getPageTitle from '@/utils/get-page-title'
// import { error } from 'jquery'
// import { asyncRoutes, constantRoutes } from '@/router'
NProgress.configure({ showSpinner: false }) // NProgress Configuration
@ -31,8 +33,20 @@ router.beforeEach(async(to, from, next) => {
// next(`/Screen`);
// NProgress.done();
// }
// 获取大屏所用到的接口
if (JSON.stringify(store.state.dict.dictObject) === '{}') {
store
.dispatch('getDictType')
.then((res) => {
next()
})
.catch((error) => {
Message.error(error)
})
} else {
next()
}
next()
NProgress.done()
})

@ -7,6 +7,7 @@
* @LastEditTime: 2022-02-14 16:13:10
*/
const getters = {
fixedHeader: state => state.settings.fixedHeader
fixedHeader: (state) => state.settings.fixedHeader,
dictObject: (state) => state.dict.dictObject
}
export default getters

@ -10,12 +10,14 @@ import Vue from 'vue'
import Vuex from 'vuex'
import getters from './getters'
import settings from './modules/settings'
import dict from './modules/dict'
Vue.use(Vuex)
const store = new Vuex.Store({
modules: {
settings
settings,
dict
},
getters
})

@ -0,0 +1,30 @@
import { getDictList } from '@/api/zongzhi/common.js'
const dict = {
state: {
dictObject: {}
},
mutations: {
SET_DICT: (state, dict) => {
state.dictObject = dict
}
},
actions: {
getDictType({ commit }) {
return new Promise((resolve, reject) => {
const query = {
list: 'sys_user_sex,tc_net_sx,tc_yq_media,tc_enter_type,tc_inlet_yewu,tc_item_type'
}
getDictList(query)
.then((res) => {
commit('SET_DICT', res.data)
resolve()
})
.catch((error) => {
reject(error)
})
})
}
}
}
export default dict

@ -0,0 +1,13 @@
import store from '@/store'
export function filterDict(type, value) {
const dict = store.getters.dictObject
// console.log(dict, type, value)
// debugger
const result = dict[type].filter((item) => item.dictValue == value)
if (result.length > 0) {
return result[0].dictLabel
} else {
return '未匹配到'
}
}

@ -141,7 +141,7 @@
</div>
</div>
</div>
<div class="section-dynamic" @click.stop="dynamicClick($event)">
<div class="section-dynamic">
<module-title>工作动态</module-title>
<vue-seamless-scroll
:data="dynamicList"
@ -152,15 +152,16 @@
v-for="(item, idx) in dynamicList"
:key="idx"
class="scroll_item"
@click.stop="dynamicClick(item)"
>
<div class="item_txt">
<span :data-obj="JSON.stringify(item)">
{{ item.dynamicName }}
<span :data-obj="item.materialsName">
{{ item.materialsName }}
</span>
</div>
<div class="item_bottom">
<div class="bottom_icon"></div>
<div class="bottom_name">{{ item.department }}</div>
<div class="bottom_name">{{ item.type }}</div>
</div>
</div>
</vue-seamless-scroll>
@ -223,43 +224,23 @@
:modal-append-to-body="false"
center
:modal="false"
:before-close="beForeClose"
>
<div style="height: 765px">
<el-table :data="currentPageData" height="750" highlight-current-row>
<el-table-column
label="序号"
type="index"
:index="
(index) => {
return index + 1 + (currentPage - 1) * pageSize;
}
"
width="80"
align="center"
/>
<template v-for="item in tableHeader">
<el-table-column
v-if="item !== '序号'"
:key="item"
:prop="item"
show-overflow-tooltip
:label="item"
>
</el-table-column>
</template>
</el-table>
<MyTable
:height="750"
:table-list="currentPageData"
:table-key="tableKey"
/>
<div style="text-align: right">
<el-pagination
:current-page="currentPage"
:page-sizes="[10, 20, 30, 50, 100]"
:page-size="pageSize"
layout="total, sizes, prev, pager, next, jumper"
<paginations
v-show="total > 0"
:total="total"
popper-class="select_bottom"
@size-change="handleSizeChange"
@current-change="handleCurrentChange"
>
</el-pagination>
:page.sync="queryParams.pageNum"
:limit.sync="queryParams.pageSize"
@pagination="inventoryBtn"
/>
</div>
</div>
<span slot="footer" class="dialog-footer">
@ -285,7 +266,7 @@
highlight-current-row
@row-click="rowClick"
>
<el-table-column
<!-- <el-table-column
label="序号"
type="index"
:index="
@ -295,7 +276,7 @@
"
width="80"
align="center"
/>
/> -->
<template v-for="item in tableHeader">
<el-table-column
v-if="item !== '序号'"
@ -501,6 +482,7 @@
<script>
import vueSeamlessScroll from 'vue-seamless-scroll'
import ModuleTitle from '../../common/ModuleTitle.vue'
import { listEnterprise, listDomain, listWork, listDongtai } from '@/api/zongzhi/st.js'
import {
getBilibiliData,
getRedBookData,
@ -524,6 +506,20 @@ export default {
},
data() {
return {
currentIndex: 0,
//
total: 0,
queryParams: {
pageNum: 1,
pageSize: 10
},
dtTotal: 0,
dtParams: {
pageNum: 1,
pageSize: 10
},
currentPageData: [], //
tableKey: [],
threeTimer: null,
dialogImg: false,
imgSrc: '',
@ -532,7 +528,7 @@ export default {
href: null,
threeStatus: 1,
pageDetails: false,
dynamicList: null,
dynamicList: [],
zoologyIconList: [
{
name: '网站',
@ -598,7 +594,7 @@ export default {
total: 1, // 1
currentPage: 1, // 1
pageSize: 10, //
currentPageData: [], //
tableHeader: [],
tableData: [],
dialogTitle: '',
@ -612,7 +608,7 @@ export default {
classOption() {
return {
step: 0.4, //
limitMoveNum: this.dynamicList.length, // this.dataList.length
limitMoveNum: 5, // this.dataList.length
hoverStop: true, // stop
direction: 1, // 0 1 2 3
openWatch: true, // dom
@ -638,8 +634,12 @@ export default {
methods: {
//
getDynamicData() {
const tableObject = require('./data.json')
this.dynamicList = tableObject['工作动态']
listDongtai(this.dtParams).then(res => {
this.dynamicList = res.rows
this.dtTotal = res.total
})
// const tableObject = require('./data.json')
// this.dynamicList = tableObject['']
},
//
@ -804,23 +804,89 @@ export default {
zoologyMouseLeave() {
this.getZoologyChange()
},
/**
* 重置
*/
reset() {
this.total = 0
this.queryParams = {
pageNum: 1,
pageSize: 10
}
this.currentPageData = [] //
this.tableKey = []
},
/**
* 关闭dialog弹出前的回调
*/
beForeClose(done) {
this.reset()
done()
},
//
inventoryBtn(status, val) {
this.currentPage = 1
this.pageSize = 10
const tableObject = require('./data.json')
this.threeStatus = status
this.dialogTitle = val
this.tableData = tableObject[val]
this.tableHeader = []
for (const item in tableObject[val][0]) {
this.tableHeader.push(item)
this.currentIndex = status
if (this.currentIndex == 1) {
listEnterprise(this.queryParams).then(res => {
this.currentPageData = res.rows
this.tableKey = [
{ name: '企业名称', value: 'enterpriseName' },
{ name: '企业类型', value: 'enterpriseType', dictType: 'tc_enter_type' },
{ name: '互联网业务', value: 'networkYewu', dictType: 'tc_inlet_yewu' },
{ name: '监管部门', value: 'jianguanBumen' },
{ name: '单位地址', value: 'address' },
{ name: '联系人', value: 'linkMan' },
{ name: '联系电话', value: 'phoneNum' },
{ name: '网址或平台名称', value: 'productName' },
{ name: '域名', value: 'dns' }
]
this.total = res.total
})
} else if (this.currentIndex == 2) {
listDomain(this.queryParams).then(res => {
this.currentPageData = res.rows
this.tableKey = [
{ name: '企业类型', value: 'enterpriseType', dictType: 'tc_enter_type' },
{ name: '重点监管监管对象', value: 'zdjgContent' },
{ name: '法律法规令禁止的有关行为', value: 'weifaXingwei' },
{ name: '主要监管部门', value: 'dep' },
{ name: '主要依据', value: 'zhuyaoYiju' }
]
this.total = res.total
})
} else if (this.currentIndex == 3) {
listWork(this.queryParams).then(res => {
this.currentPageData = res.rows
this.tableKey = [
{ name: '推进单位', value: 'unitName' },
{ name: '项目名称', value: 'projectName' },
{ name: '项目内容', value: 'projectContent' },
{ name: '项目类型', value: 'projectType', dictType: 'tc_item_type' },
{ name: '项目联系人', value: 'projectLinkMan' }
]
this.total = res.total
})
}
this.total = this.tableData.length
this.totalPage = Math.ceil(this.tableData.length / this.pageSize)
this.totalPage = this.totalPage === 0 ? 1 : this.totalPage
this.setCurrentPageData()
this.dialogStatus = true
this.$nextTick(() => {
this.dialogTitle = val
this.dialogStatus = true
})
// this.currentPage = 1
// this.pageSize = 10
// const tableObject = require('./data.json')
// this.threeStatus = status
// this.dialogTitle = val
// this.tableData = tableObject[val]
// this.tableHeader = []
// for (const item in tableObject[val][0]) {
// this.tableHeader.push(item)
// }
// this.total = this.tableData.length
// this.totalPage = Math.ceil(this.tableData.length / this.pageSize)
// this.totalPage = this.totalPage === 0 ? 1 : this.totalPage
// this.setCurrentPageData()
// this.dialogStatus = true
},
//
inventoryChange() {
@ -867,21 +933,33 @@ export default {
this.currentPage = val
this.setCurrentPageData()
},
dynamicClick(e) {
const val = JSON.parse(e.target.dataset.obj)
this.dialogTitle = val.dynamicName
this.tableData = val.fileList
this.tableHeader = []
for (const item in val.fileList[0]) {
if (item !== '材料路径') {
this.tableHeader.push(item)
}
dynamicClick(item) {
console.log('数据', item)
this.tableHeader.push({ name: '材料路径', value: 'name' })
const fileName = item.materialsFileName.split(',')
const fileUrl = item.materialsFileUrl.split(',')
if (fileName.length > 0) {
fileName.forEach((item, index) => {
this.tableData.push({ name: item, url: fileUrl[index] })
})
} else {
this.tableData = []
}
this.total = this.tableData.length
this.totalPage = Math.ceil(this.tableData.length / this.pageSize)
this.totalPage = this.totalPage === 0 ? 1 : this.totalPage
this.setCurrentPageData()
this.dynamicStatus = true
// this.dialogTitle = val.dynamicName
// this.tableData = val.fileList
// this.tableHeader = []
// for (const item in val.fileList[0]) {
// if (item !== '') {
// this.tableHeader.push(item)
// }
// }
// this.total = this.tableData.length
// this.totalPage = Math.ceil(this.tableData.length / this.pageSize)
// this.totalPage = this.totalPage === 0 ? 1 : this.totalPage
// this.setCurrentPageData()
// this.dynamicStatus = true
},
rowClick(row) {
console.log(row)
@ -975,6 +1053,7 @@ export default {
return url
},
dialogClose() {
this.reset()
this.dialogStatus = false
this.dynamicStatus = false
this.pageSize = 20

@ -20,10 +20,10 @@
class="text-row"
:data-curData="idx"
>
<span :data-curData="idx" :title="item.title">{{ item.title }}</span>
<span :data-curData="idx" :title="item.title">{{ item.articleTitle }}</span>
<div :data-curData="idx" style="text-align: right">
<span :title="item.source" :data-curData="idx">{{ item.source }}</span>
<span :data-curData="idx">{{ item.date.split(' ')[0] }}</span>
<span :title="item.source" :data-curData="idx">{{ $filterDict('tc_yq_media',item.source) }}</span>
<span :data-curData="idx">{{ item.releaseTime }}</span>
<div />
</div>
</div>
@ -77,6 +77,7 @@
<script>
import { allProjects, newsList, opinionWarningDetail, sjmtMedia } from '@/api/common'
import { listArticle } from '@/api/zongzhi/st.js'
import vueSeamlessScroll from 'vue-seamless-scroll'
export default {
components: {
@ -84,232 +85,241 @@ export default {
},
data() {
return {
employTimer: null,
queryParams: {
pageNum: 1,
pageSize: 10,
type: 4
},
total: 0,
tableTime: null,
href: null,
dialogDetails: false,
dataList: [
{
序号: 1,
title: '多地联合执法 打击非法捕捞',
date: this.$moment().format('YYYY-MM-DD'),
source: '二三里资讯-社会',
url: 'https://www.ersanli.cn/article.html?newsId=122920652129632&uid=0&utm_uid=0&type=1&appId=1'
},
{
序号: 2,
title: '“康统”之后日清跟风涨价, 成本提升又遭预制菜挤压',
date: this.$moment().format('YYYY-MM-DD'),
source: 'UC头条',
url: 'http://m.uczzd.cn/ucnews/news?aid=18152418836666321505'
},
{
序号: 3,
title: '曹路宝在太仓检查调研',
date: this.$moment().format('YYYY-MM-DD'),
source: '新浪长微博',
url: 'https://weibo.com/ttarticle/p/show?id=2309404741793936965690'
},
{
序号: 4,
title: '黄浦人才周举办外国高端人才专场',
date: this.$moment().format('YYYY-MM-DD'),
source: '东方网',
url: 'https://j.eastday.com/p/1646013940044353'
},
{
序号: 5,
title: '2021年苏州市全面深化改革综述以改革“关键招”破局开路',
date: this.$moment().format('YYYY-MM-DD'),
source: '引力播',
url: 'https://app.suzhou-news.cn/news/300397424'
},
{
序号: 6,
title: '太仓首场直播带岗提供近600个优质岗位',
date: this.$moment().format('YYYY-MM-DD'),
source: '名城苏州网',
url: 'http://news.2500sz.com/doc/2022/02/28/816923.shtml'
},
{
序号: 7,
title: '中共安徽省商务厅党组关于巡视“回头看”整改进展情况的通报',
date: this.$moment().format('YYYY-MM-DD'),
source: '安徽纪检监察网',
url: 'http://www.ahjjjc.gov.cn/xsxc/p/101227.html'
},
{
序号: 8,
title: '2021年苏州市全面深化改革综述',
date: this.$moment().format('YYYY-MM-DD'),
source: '名城苏州网',
url: 'http://news.2500sz.com/doc/2022/02/28/816889.shtml'
},
{
序号: 9,
title:
'曹路宝在太仓检查调研:坚持不懈织密扎牢疫情防控网 助力重点项目高质量发展',
date: this.$moment().format('YYYY-MM-DD'),
source: '今日头条-时政',
url: 'http://www.toutiao.com/item/7069565519959114277/'
},
{
序号: 10,
title: '江苏港口表现亮眼 经济双循环生机勃勃',
date: this.$moment().format('YYYY-MM-DD'),
source: '二三里资讯-财经,投资',
url: 'https://www.ersanli.cn/article.html?newsId=122921846965934&uid=0&utm_uid=0&type=1&appId=1'
},
{
序号: 11,
title:
'【第242期水星新经济早报|2.28】亚马逊有万亿美元市值未被市场挖掘出来',
date: this.$moment().format('YYYY-MM-DD'),
source: '金斧子-私募社区',
url: 'https://v.jfz.com/detail-97815.html'
},
{
序号: 12,
title: '没有产业和城市分工就无所谓一体化',
date: this.$moment().format('YYYY-MM-DD'),
source: '新浪看点',
url: 'https://k.sina.cn/article_7517400647_1c0126e4705902xe9v.html'
},
{
序号: 13,
title: '“千亿县”江湖 多了新面孔',
date: this.$moment().format('YYYY-MM-DD'),
source: '绍兴日报-09版',
url: 'http://epaper.sxnews.cn/sxrb/html/2022-02/28/content_11865_5782248.htm'
},
{
序号: 14,
title: '热点:剪式液压升降机设计的类比增型与油缸推力计算',
date: this.$moment().format('YYYY-MM-DD'),
source: 'seo准-互联网',
url: 'http://www.seozhun.com/thread-2527413-1-1.html'
},
{
序号: 15,
title: '转发微博',
date: this.$moment().format('YYYY-MM-DD'),
source: '新浪微博',
url: 'https://weibo.com/6456696165/LhsVNdkC8'
},
{
序号: 16,
title: '【品美术经典,学百年党史】井冈山八角楼',
date: this.$moment().format('YYYY-MM-DD'),
source: '网易号',
url: 'https://c.m.163.com/news/a/H185097K0514X3KG.html'
},
{
序号: 17,
title: '江苏11个县获评“四好农村路”全国示范县',
date: this.$moment().format('YYYY-MM-DD'),
source: '快资讯-domestic',
url: 'https://www.360kuai.com/942b4412212c58912'
},
{
序号: 18,
title:
'强推央视的【深度国际】 让我们深度了解一下俄乌为啥打架[二哈][二哈][二哈] 太仓市 ',
date: this.$moment().format('YYYY-MM-DD'),
source: '新浪微博',
url: 'https://weibo.com/1936880961/LhqSpwU1Y'
},
{
序号: 19,
title: '用植脂的,能不能便宜点?',
date: this.$moment().format('YYYY-MM-DD'),
source: '新浪微博',
url: 'https://weibo.com/5265081521/LhqkKwBDc'
},
{
序号: 20,
title: '医生提醒……',
date: this.$moment().format('YYYY-MM-DD'),
source: '企鹅号',
url: 'https://page.om.qq.com/page/OsShDQUvzn_pyt_dVoM-Bgdg0'
},
{
序号: 21,
title:
'今日零售家乐福被强制执行盒马鲜生青岛关店Costco销售额超15%;罗森深圳首店将开业;星巴克再引争议;京东收购达达获批',
date: this.$moment().format('YYYY-MM-DD'),
source: '商业新知',
url: 'https://www.shangyexinzhi.com/article/4626737.html'
},
{
序号: 22,
title: '第七届广东省养老服务高峰论坛暨第五届粤港澳大湾区养老',
date: this.$moment().format('YYYY-MM-DD'),
source: '养老之家网-养老动态',
url: 'https://0555mas.com/yanglaodongtai/99832.html'
},
{
序号: 23,
title: '以梅为媒,莘庄如何持续发展梅花经济?',
date: this.$moment().format('YYYY-MM-DD'),
source: '巴蜀论坛-科技 ',
url: 'http://www.phoer.net/thread-3457650-1-1.html'
},
{
序号: 24,
title:
'支持维权!伸张正义!#第二批政法队伍教育整顿# #全国第二批政法队伍教育整顿# //@江苏省淮安市公检法制造冤假错案:依法治国,依法,依法,依法!执法不严,执法不公,如何依法治国?如何让法律落实?如何促进法律的不断完善?如何使百姓安居乐业?',
date: this.$moment().format('YYYY-MM-DD'),
source: '新浪微博',
url: 'https://weibo.com/7333562025/Lhnj5cPE4'
},
{
序号: 25,
title: '最新利好消息住建部透露2022年楼市走向上海...',
date: this.$moment().format('YYYY-MM-DD'),
source: '搜狐新闻',
url: 'https://3g.k.sohu.com/t/n586934197'
},
{
序号: 26,
title:
'一周新消费| 杨国福麻辣烫提交上市申请书元气森林第6家自建工厂落地美团饿了么违反食品安全被罚',
date: this.$moment().format('YYYY-MM-DD'),
source: '网易号',
url: 'https://c.m.163.com/news/a/H16JN7SN05525SEG.html'
},
{
序号: 27,
title: '海事一周要闻_港口_船舶_航运公司',
date: this.$moment().format('YYYY-MM-DD'),
source: '西安资讯站-新闻聚焦',
url: 'http://3566666.cn/html/news/36480.html'
},
{
序号: 28,
title: '央视“大幕开启”杂技剧《战上海》掀开一段跨越72年的时空对话',
date: this.$moment().format('YYYY-MM-DD'),
source: '新浪看点',
url: 'https://k.sina.cn/article_7506583603_1bf6d6033001011bp6.html'
},
{
序号: 29,
title: '江苏设高速收费站疫情查验点85个36个收费站入口临时关闭',
date: this.$moment().format('YYYY-MM-DD'),
source: '今日头条-社会',
url: 'http://www.toutiao.com/item/7069027514345062925/#ocr'
},
{
序号: 30,
title: '城市植物|上海棉花往事,未完待续',
date: this.$moment().format('YYYY-MM-DD'),
source: '搜狐新闻',
url: 'https://3g.k.sohu.com/t/n586903578'
}
// {
// : 1,
// title: ' ',
// date: this.$moment().format('YYYY-MM-DD'),
// source: '-',
// url: 'https://www.ersanli.cn/article.html?newsId=122920652129632&uid=0&utm_uid=0&type=1&appId=1'
// },
// {
// : 2,
// title: ', ',
// date: this.$moment().format('YYYY-MM-DD'),
// source: 'UC',
// url: 'http://m.uczzd.cn/ucnews/news?aid=18152418836666321505'
// },
// {
// : 3,
// title: '',
// date: this.$moment().format('YYYY-MM-DD'),
// source: '',
// url: 'https://weibo.com/ttarticle/p/show?id=2309404741793936965690'
// },
// {
// : 4,
// title: '',
// date: this.$moment().format('YYYY-MM-DD'),
// source: '',
// url: 'https://j.eastday.com/p/1646013940044353'
// },
// {
// : 5,
// title: '2021',
// date: this.$moment().format('YYYY-MM-DD'),
// source: '',
// url: 'https://app.suzhou-news.cn/news/300397424'
// },
// {
// : 6,
// title: '600',
// date: this.$moment().format('YYYY-MM-DD'),
// source: '',
// url: 'http://news.2500sz.com/doc/2022/02/28/816923.shtml'
// }
// {
// : 7,
// title: '',
// date: this.$moment().format('YYYY-MM-DD'),
// source: '',
// url: 'http://www.ahjjjc.gov.cn/xsxc/p/101227.html'
// },
// {
// : 8,
// title: '2021',
// date: this.$moment().format('YYYY-MM-DD'),
// source: '',
// url: 'http://news.2500sz.com/doc/2022/02/28/816889.shtml'
// },
// {
// : 9,
// title:
// ' ',
// date: this.$moment().format('YYYY-MM-DD'),
// source: '-',
// url: 'http://www.toutiao.com/item/7069565519959114277/'
// },
// {
// : 10,
// title: ' ',
// date: this.$moment().format('YYYY-MM-DD'),
// source: '-,',
// url: 'https://www.ersanli.cn/article.html?newsId=122921846965934&uid=0&utm_uid=0&type=1&appId=1'
// },
// {
// : 11,
// title:
// '242|2.28亿',
// date: this.$moment().format('YYYY-MM-DD'),
// source: '-',
// url: 'https://v.jfz.com/detail-97815.html'
// },
// {
// : 12,
// title: '',
// date: this.$moment().format('YYYY-MM-DD'),
// source: '',
// url: 'https://k.sina.cn/article_7517400647_1c0126e4705902xe9v.html'
// },
// {
// : 13,
// title: '亿 ',
// date: this.$moment().format('YYYY-MM-DD'),
// source: '-09',
// url: 'http://epaper.sxnews.cn/sxrb/html/2022-02/28/content_11865_5782248.htm'
// },
// {
// : 14,
// title: '',
// date: this.$moment().format('YYYY-MM-DD'),
// source: 'seo-',
// url: 'http://www.seozhun.com/thread-2527413-1-1.html'
// },
// {
// : 15,
// title: '',
// date: this.$moment().format('YYYY-MM-DD'),
// source: '',
// url: 'https://weibo.com/6456696165/LhsVNdkC8'
// },
// {
// : 16,
// title: '',
// date: this.$moment().format('YYYY-MM-DD'),
// source: '',
// url: 'https://c.m.163.com/news/a/H185097K0514X3KG.html'
// },
// {
// : 17,
// title: '11',
// date: this.$moment().format('YYYY-MM-DD'),
// source: '-domestic',
// url: 'https://www.360kuai.com/942b4412212c58912'
// },
// {
// : 18,
// title:
// ' [][][] ',
// date: this.$moment().format('YYYY-MM-DD'),
// source: '',
// url: 'https://weibo.com/1936880961/LhqSpwU1Y'
// },
// {
// : 19,
// title: '便',
// date: this.$moment().format('YYYY-MM-DD'),
// source: '',
// url: 'https://weibo.com/5265081521/LhqkKwBDc'
// },
// {
// : 20,
// title: '',
// date: this.$moment().format('YYYY-MM-DD'),
// source: '',
// url: 'https://page.om.qq.com/page/OsShDQUvzn_pyt_dVoM-Bgdg0'
// },
// {
// : 21,
// title:
// 'Costco15%',
// date: this.$moment().format('YYYY-MM-DD'),
// source: '',
// url: 'https://www.shangyexinzhi.com/article/4626737.html'
// },
// {
// : 22,
// title: '广',
// date: this.$moment().format('YYYY-MM-DD'),
// source: '-',
// url: 'https://0555mas.com/yanglaodongtai/99832.html'
// },
// {
// : 23,
// title: '',
// date: this.$moment().format('YYYY-MM-DD'),
// source: '- ',
// url: 'http://www.phoer.net/thread-3457650-1-1.html'
// },
// {
// : 24,
// title:
// '## ## //@:使',
// date: this.$moment().format('YYYY-MM-DD'),
// source: '',
// url: 'https://weibo.com/7333562025/Lhnj5cPE4'
// },
// {
// : 25,
// title: '2022...',
// date: this.$moment().format('YYYY-MM-DD'),
// source: '',
// url: 'https://3g.k.sohu.com/t/n586934197'
// },
// {
// : 26,
// title:
// '| 6饿',
// date: this.$moment().format('YYYY-MM-DD'),
// source: '',
// url: 'https://c.m.163.com/news/a/H16JN7SN05525SEG.html'
// },
// {
// : 27,
// title: '___',
// date: this.$moment().format('YYYY-MM-DD'),
// source: '西-',
// url: 'http://3566666.cn/html/news/36480.html'
// },
// {
// : 28,
// title: '72',
// date: this.$moment().format('YYYY-MM-DD'),
// source: '',
// url: 'https://k.sina.cn/article_7506583603_1bf6d6033001011bp6.html'
// },
// {
// : 29,
// title: '8536',
// date: this.$moment().format('YYYY-MM-DD'),
// source: '-',
// url: 'http://www.toutiao.com/item/7069027514345062925/#ocr'
// },
// {
// : 30,
// title: '',
// date: this.$moment().format('YYYY-MM-DD'),
// source: '',
// url: 'https://3g.k.sohu.com/t/n586903578'
// }
]
}
},
computed: {
classOption() {
return {
total: 0,
step: 0.4, //
limitMoveNum: 7, // this.dataList.length
hoverStop: true, // stop
@ -322,7 +332,9 @@ export default {
}
},
watch: {},
destroyed() { },
destroyed() {
clearInterval(this.employTimer)
},
mounted() {
// this.getData()
// sjmtMedia().then(res => {
@ -335,8 +347,25 @@ export default {
// })
// }
// })
this.getWz()
this.employTimer = setInterval(() => {
if (this.dataList.length >= this.total) {
clearInterval(this.employTimer)
} else {
this.queryParams.pageNum = this.queryParams.pageNum + 1
this.getWz()
}
}, 6000)
},
methods: {
getWz() {
listArticle(this.queryParams).then(res => {
this.dataList = [...this.dataList, ...res.rows]
this.total = res.total
})
},
getData() {
allProjects().then(res => {
res['[]'].forEach(item => {

@ -19,10 +19,10 @@
class="text-row"
:data-curData="idx"
>
<span :data-curData="idx" :title="item.title ">{{ item.title }}</span>
<span :data-curData="idx" :title="item.title ">{{ item.articleTitle }}</span>
<div style="text-align: right" :data-curData="idx">
<span :title="item.source" :data-curData="idx">{{ item.source }}</span>
<span :data-curData="idx">{{ item.date.split(' ')[0] }}</span>
<span :title="item.source" :data-curData="idx">{{ $filterDict('tc_yq_media',item.source) }}</span>
<span :data-curData="idx">{{ item.releaseTime }}</span>
<div />
</div>
</div>
@ -73,7 +73,8 @@
</template>
<script>
import { loaclMedia, opinionWarningDetail } from '@/api/common'
// import { loaclMedia, opinionWarningDetail } from '@/api/common'
import { listArticle } from '@/api/zongzhi/st.js'
import vueSeamlessScroll from 'vue-seamless-scroll'
export default {
components: {
@ -81,231 +82,238 @@ export default {
},
data() {
return {
employTimer: null,
queryParams: {
pageNum: 1,
pageSize: 10,
type: 5
},
total: 0,
tableTime: null,
href: null,
tableData: null,
dialogDetails: false,
dataList: [
{
序号: 1,
title: '//@苏州气象:',
date: this.$moment().format('YYYY-MM-DD'),
source: '新浪微博',
url: 'https://weibo.com/3957548062/LhwednwG9'
},
{
序号: 2,
title: '万千岗位“纷至沓来” 太仓“云聘月”向你发出“春天的邀请”',
date: this.$moment().format('YYYY-MM-DD'),
source: '川报观察',
url: 'https://cbgc.scol.com.cn/news/3234477'
},
{
序号: 3,
title: '[打call][打call][打call]#太仓新闻#',
date: this.$moment().format('YYYY-MM-DD'),
source: '新浪微博',
url: 'https://weibo.com/3195619433/LhqRi7KJ5'
},
{
序号: 4,
title: '最新!苏州这些地方核酸采样点调整',
date: this.$moment().format('YYYY-MM-DD'),
source: '新黄河',
url: 'https://api.jinantimes.com.cn/h5/content.html?catid=1&id=2303061'
},
{
序号: 5,
title: '3月1日起开始“退钱”啦',
date: this.$moment().format('YYYY-MM-DD'),
source: '太融e',
url: 'https://taironge.tc.taicangfmc.com/pages/2022/02/25/b4014e1c388b48fda3c60fbdf8ad0ab7.html'
},
{
序号: 6,
title: '春暖花开!我市多家景区明日起恢复开放',
date: this.$moment().format('YYYY-MM-DD'),
source: '企鹅号',
url: 'https://page.om.qq.com/page/OOHB5UQ4tD6_hei1UlY_JiAQ0'
},
{
序号: 7,
title: '转发微博',
date: this.$moment().format('YYYY-MM-DD'),
source: '新浪微博',
url: 'https://weibo.com/6570018317/Lhitkyhff'
},
{
序号: 8,
title:
'苏州优秀的GDP成绩跟这一家家高科技的企业落户有很大关系只能说@苏州发布 @太仓发布 政府的工作做得优秀,才能有企业各种世界第一家、第一条落地地方,促进更多的就业机会,人才聚集活力四射//@梦龙MAGNUM:全世界第一条梦龙数字化柔性生产',
date: this.$moment().format('YYYY-MM-DD'),
source: '新浪微博',
url: 'https://weibo.com/1763303783/Lhg1alF24'
},
{
序号: 9,
title: '转发微博',
date: this.$moment().format('YYYY-MM-DD'),
source: '新浪微博',
url: 'https://weibo.com/2128406204/LhfaxynTW'
},
{
序号: 10,
title: '太仓发布娄江新城规划,高质量打造“未来之城”',
date: this.$moment().format('YYYY-MM-DD'),
source: '百度百家',
url: 'https://baijiahao.baidu.com/s?id=1725788414864520745'
},
{
序号: 11,
title: '金辉·悠步江来丨集聚新动能,拼出新气象!百亿项目落户太仓!',
date: this.$moment().format('YYYY-MM-DD'),
source: '企鹅号',
url: 'https://page.om.qq.com/page/OqmvD_9Y-sBrJgObhkliR30g0'
},
{
序号: 12,
title:
'苏州县市究竟有多少人4个县级市688.65万人份采样数据,昆山人最多。 昆山共287.39万人, 常熟共180.29万人, 张家港共128.27万人, 太仓共92.7万人, 这个数据还是有点准确的。苏州大市一起共729.23+68',
date: this.$moment().format('YYYY-MM-DD'),
source: '今日头条-微头条',
url: 'http://www.toutiao.com/item/1725646568614991/#ocr'
},
{
序号: 13,
title: '元气森林',
date: this.$moment().format('YYYY-MM-DD'),
source: '百度贴吧-太仓吧',
url: 'https://tieba.baidu.com/p/7740100089#ocr'
},
{
序号: 14,
title: '总归希望有一天我的某一个公司也要落户太仓的。',
date: this.$moment().format('YYYY-MM-DD'),
source: '新浪微博',
url: 'https://weibo.com/1562147545/Lh9R3ihej'
},
{
序号: 15,
title:
'太仓发布“十四五”养老服务发展规划 打造“县域养老”全国示范区;解读《盐城市养老服务条例》太仓发布“十四五”养老服务发展规划 打造“县域养老”全国示范区;解读《盐城市养老服务条例》 ',
date: this.$moment().format('YYYY-MM-DD'),
source: '新浪微博',
url: 'https://weibo.com/2947651152/Lh9JUCd5d'
},
{
序号: 16,
title:
'来出差差点要在太仓露宿街头信息系统录入故障没有办法出核酸报告酒店入住和离开太仓均需要48小时核酸。回不去的上海留不下的太仓在太仓南站还有几个像我一样系统差不到报告的人在到处打电话咨询没有答案。 24号上午在太仓人民医院核酸检测',
date: this.$moment().format('YYYY-MM-DD'),
source: '新浪微博',
url: 'https://weibo.com/2792805504/Lh8Z03s1H'
},
{
序号: 17,
title: '[鼓掌][鼓掌][鼓掌]',
date: this.$moment().format('YYYY-MM-DD'),
source: '新浪微博',
url: 'https://weibo.com/1865783061/Lh8AnC0UY'
},
{
序号: 18,
title:
'#太仓新闻#【#元气森林#来太仓啦】2月25日下午在2022太仓市重点项目云签约活动上元气森林华东生产运营基地项目计划在太建设元气森林华东生产运营基地和展示体验中心打造工业生产和工业旅游相结合的现代化工厂。元气森林期待@元气森',
date: this.$moment().format('YYYY-MM-DD'),
source: '新浪微博',
url: 'https://weibo.com/3195619433/Lh6W1gLOl'
},
{
序号: 19,
title: '转发微博',
date: this.$moment().format('YYYY-MM-DD'),
source: '新浪微博',
url: 'https://weibo.com/2604309930/Lh5aEDsaa'
},
{
序号: 20,
title: '最新!太仓核酸检测采样服务点名单',
date: this.$moment().format('YYYY-MM-DD'),
source: '58本地版',
url: 'https://wxgfoctongzhen.ganji.com/new/frowstyvincula/search/c/hexosanpuffin/wechatSharingDetailNew?infoid=1363443717248606208&source=19'
},
{
序号: 21,
title:
'全国首创!江苏太仓将进口企业疫情防控纳入“安全生产监管系统”大数据平台',
date: this.$moment().format('YYYY-MM-DD'),
source: '汉风号',
url: 'https://rmt-wap.hanfenghao.com/news_details.html?from=androidapp&id=680315&userId=not_login'
},
{
序号: 22,
title: '全部阴性!关于太仓市区域核酸检测结果的通报',
date: this.$moment().format('YYYY-MM-DD'),
source: '企鹅号',
url: 'https://page.om.qq.com/page/OkhM9gC1CtRjyLnxARzWSoVA0'
},
{
序号: 23,
title:
'太仓的数据如下OCR:IMG:985:3 X 全部阴性!关于太仓市区域核酸 检测结果的通报 太仓发布2022-D2- 1车0 园城 幸福 关于太仓市区域核酸检测 结果的通报 全市广大居民朋友 2月23日我市启动区域核酸检测 迅速完成“采、',
date: this.$moment().format('YYYY-MM-DD'),
source: '百度贴吧-老米吧',
url: 'http://tieba.baidu.com/p/7728286049?pid=143263219039&cid=0#143263219039#ocr'
},
{
序号: 24,
title:
'「太仓中南春江云锦」——【中南春江云锦】——-全面解析未来的升值前景',
date: this.$moment().format('YYYY-MM-DD'),
source: '搜狐新闻',
url: 'https://3g.k.sohu.com/t/n586403528'
},
{
序号: 25,
title:
'江苏太仓『中南春江云锦』中南春江云锦首页:售楼中心—官方网站【官】',
date: this.$moment().format('YYYY-MM-DD'),
source: '搜狐新闻',
url: 'https://www.sohu.com/a/525158004_120965097'
},
{
序号: 26,
title: '全部阴性!苏州太仓通报区域核酸检测结果',
date: this.$moment().format('YYYY-MM-DD'),
source: '现代快报-江苏',
url: 'http://www.xdkb.net/p1/js/20220224/259732.html'
},
{
序号: 27,
title: '江苏太仓完成区域核酸检测采样92.7万人,结果均为阴性',
date: this.$moment().format('YYYY-MM-DD'),
source: '快资讯-domestic',
url: 'https://www.360kuai.com/98897c3e1c87c059d'
},
{
序号: 28,
title:
'#太仓新闻#【太仓第二轮区域核酸检测更有序、更高效、更便捷】2月23日我市开展 第二轮区域核酸检测,现场更有序、更高效、更便捷!小布带你去现场看看 太仓发布的微博视频 ',
date: this.$moment().format('YYYY-MM-DD'),
source: '新浪微博',
url: 'https://weibo.com/3195619433/LgVFBkilA'
},
{
序号: 29,
title: '苏州四个县级市关于开展新一轮区域核酸检测的公告',
date: this.$moment().format('YYYY-MM-DD'),
source: '生活圈-新乡圈',
url: 'http://tz.fafengtuqiang.cn/weizhan/article/0/31980345564/1564484'
},
{
序号: 30,
title: '苏州四个县级市开展新一轮区域核酸检测',
date: this.$moment().format('YYYY-MM-DD'),
source: '手机新浪网-新浪资讯',
url: 'https://zx.sina.cn/2022-02-24/detail-imcwipih5040209.d.html'
}
// {
// : 1,
// title: '//@:',
// date: this.$moment().format('YYYY-MM-DD'),
// source: '',
// url: 'https://weibo.com/3957548062/LhwednwG9'
// },
// {
// : 2,
// title: ' ',
// date: this.$moment().format('YYYY-MM-DD'),
// source: '',
// url: 'https://cbgc.scol.com.cn/news/3234477'
// },
// {
// : 3,
// title: '[call][call][call]##',
// date: this.$moment().format('YYYY-MM-DD'),
// source: '',
// url: 'https://weibo.com/3195619433/LhqRi7KJ5'
// },
// {
// : 4,
// title: '',
// date: this.$moment().format('YYYY-MM-DD'),
// source: '',
// url: 'https://api.jinantimes.com.cn/h5/content.html?catid=1&id=2303061'
// }
// {
// : 5,
// title: '31退',
// date: this.$moment().format('YYYY-MM-DD'),
// source: 'e',
// url: 'https://taironge.tc.taicangfmc.com/pages/2022/02/25/b4014e1c388b48fda3c60fbdf8ad0ab7.html'
// },
// {
// : 6,
// title: '',
// date: this.$moment().format('YYYY-MM-DD'),
// source: '',
// url: 'https://page.om.qq.com/page/OOHB5UQ4tD6_hei1UlY_JiAQ0'
// },
// {
// : 7,
// title: '',
// date: this.$moment().format('YYYY-MM-DD'),
// source: '',
// url: 'https://weibo.com/6570018317/Lhitkyhff'
// },
// {
// : 8,
// title:
// 'GDP@ @ //@MAGNUM:',
// date: this.$moment().format('YYYY-MM-DD'),
// source: '',
// url: 'https://weibo.com/1763303783/Lhg1alF24'
// },
// {
// : 9,
// title: '',
// date: this.$moment().format('YYYY-MM-DD'),
// source: '',
// url: 'https://weibo.com/2128406204/LhfaxynTW'
// },
// {
// : 10,
// title: '',
// date: this.$moment().format('YYYY-MM-DD'),
// source: '',
// url: 'https://baijiahao.baidu.com/s?id=1725788414864520745'
// },
// {
// : 11,
// title: '·亿',
// date: this.$moment().format('YYYY-MM-DD'),
// source: '',
// url: 'https://page.om.qq.com/page/OqmvD_9Y-sBrJgObhkliR30g0'
// },
// {
// : 12,
// title:
// '4688.65 287.39 180.29 128.27 92.7 729.23+68',
// date: this.$moment().format('YYYY-MM-DD'),
// source: '-',
// url: 'http://www.toutiao.com/item/1725646568614991/#ocr'
// },
// {
// : 13,
// title: '',
// date: this.$moment().format('YYYY-MM-DD'),
// source: '-',
// url: 'https://tieba.baidu.com/p/7740100089#ocr'
// },
// {
// : 14,
// title: '',
// date: this.$moment().format('YYYY-MM-DD'),
// source: '',
// url: 'https://weibo.com/1562147545/Lh9R3ihej'
// },
// {
// : 15,
// title:
// ' ',
// date: this.$moment().format('YYYY-MM-DD'),
// source: '',
// url: 'https://weibo.com/2947651152/Lh9JUCd5d'
// },
// {
// : 16,
// title:
// '宿48 24',
// date: this.$moment().format('YYYY-MM-DD'),
// source: '',
// url: 'https://weibo.com/2792805504/Lh8Z03s1H'
// },
// {
// : 17,
// title: '[][][]',
// date: this.$moment().format('YYYY-MM-DD'),
// source: '',
// url: 'https://weibo.com/1865783061/Lh8AnC0UY'
// },
// {
// : 18,
// title:
// '####2252022@',
// date: this.$moment().format('YYYY-MM-DD'),
// source: '',
// url: 'https://weibo.com/3195619433/Lh6W1gLOl'
// },
// {
// : 19,
// title: '',
// date: this.$moment().format('YYYY-MM-DD'),
// source: '',
// url: 'https://weibo.com/2604309930/Lh5aEDsaa'
// },
// {
// : 20,
// title: '',
// date: this.$moment().format('YYYY-MM-DD'),
// source: '58',
// url: 'https://wxgfoctongzhen.ganji.com/new/frowstyvincula/search/c/hexosanpuffin/wechatSharingDetailNew?infoid=1363443717248606208&source=19'
// },
// {
// : 21,
// title:
// '',
// date: this.$moment().format('YYYY-MM-DD'),
// source: '',
// url: 'https://rmt-wap.hanfenghao.com/news_details.html?from=androidapp&id=680315&userId=not_login'
// },
// {
// : 22,
// title: '',
// date: this.$moment().format('YYYY-MM-DD'),
// source: '',
// url: 'https://page.om.qq.com/page/OkhM9gC1CtRjyLnxARzWSoVA0'
// },
// {
// : 23,
// title:
// 'OCR:IMG:985:3 X 2022-D2- 10 广 223 ',
// date: this.$moment().format('YYYY-MM-DD'),
// source: '-',
// url: 'http://tieba.baidu.com/p/7728286049?pid=143263219039&cid=0#143263219039#ocr'
// },
// {
// : 24,
// title:
// '-',
// date: this.$moment().format('YYYY-MM-DD'),
// source: '',
// url: 'https://3g.k.sohu.com/t/n586403528'
// },
// {
// : 25,
// title:
// '',
// date: this.$moment().format('YYYY-MM-DD'),
// source: '',
// url: 'https://www.sohu.com/a/525158004_120965097'
// },
// {
// : 26,
// title: '',
// date: this.$moment().format('YYYY-MM-DD'),
// source: '-',
// url: 'http://www.xdkb.net/p1/js/20220224/259732.html'
// },
// {
// : 27,
// title: '92.7',
// date: this.$moment().format('YYYY-MM-DD'),
// source: '-domestic',
// url: 'https://www.360kuai.com/98897c3e1c87c059d'
// },
// {
// : 28,
// title:
// '##便223 便 ',
// date: this.$moment().format('YYYY-MM-DD'),
// source: '',
// url: 'https://weibo.com/3195619433/LgVFBkilA'
// },
// {
// : 29,
// title: '',
// date: this.$moment().format('YYYY-MM-DD'),
// source: '-',
// url: 'http://tz.fafengtuqiang.cn/weizhan/article/0/31980345564/1564484'
// },
// {
// : 30,
// title: '',
// date: this.$moment().format('YYYY-MM-DD'),
// source: '-',
// url: 'https://zx.sina.cn/2022-02-24/detail-imcwipih5040209.d.html'
// }
]
}
},
@ -324,7 +332,9 @@ export default {
}
},
watch: {},
destroyed() { },
destroyed() {
clearInterval(this.employTimer)
},
mounted() {
// loaclMedia().then(res => {
// this.tableData = res['T_LOCAL_MEDIA[]']
@ -337,8 +347,22 @@ export default {
// })
// }
// })
this.getWz()
this.employTimer = setInterval(() => {
if (this.dataList.length >= this.total) {
clearInterval(this.employTimer)
} else {
this.queryParams.pageNum = this.queryParams.pageNum + 1
this.getWz()
}
}, 6000)
},
methods: {
getWz() {
listArticle(this.queryParams).then(res => {
this.dataList = [...this.dataList, ...res.rows]
})
},
openNewWindow(e) {
const index = e.target.dataset.curdata
// if (url.includes('www.taicangdaily.com')) {

@ -213,6 +213,7 @@
<script>
// import { getReviewArticle } from '@/api/common'
import { listSafetyadmin, listCommentator, listPingtai, listNetSafetyZcUnit, listPrincipal, listVolunteer, listArticle } from '@/api/zongzhi/st.js'
import vueSeamlessScroll from 'vue-seamless-scroll'
window.JSZip = require('jszip')
export default {
@ -501,7 +502,7 @@ export default {
this.tableList = res.rows
this.tableKey = [
{ name: '姓名', value: 'name' },
{ name: '性别', value: 'sex' },
{ name: '性别', value: 'sex', isDict: true, dictType: 'sys_user_sex' },
{ name: '年龄', value: 'age' },
{ name: '名族', value: 'nationality' },
{ name: '政治面貌', value: 'politicsStatus' },
@ -523,7 +524,7 @@ export default {
this.tableKey = [
{ name: '分类', value: 'type' },
{ name: '账号名称', value: 'name' },
{ name: '属性', value: 'props' },
{ name: '属性', value: 'props', isDict: true, dictType: 'tc_net_sx' },
{ name: '简介', value: 'intro' },
{ name: '粉丝数', value: 'fansNum' }
]
@ -623,7 +624,7 @@ export default {
this.setCurrentPageData()
},
rowClick(row) {
// this.dialogTitle = row.label
// this.dialogTitle = row.labe
this.href = row.url
this.pageDetails = true
// this.dialogTitle = row.label

@ -285,6 +285,7 @@ import vueSeamlessScroll from 'vue-seamless-scroll'
import ModuleTitle from '../../common/ModuleTitle.vue'
import attackSituation from './attackSituation.vue'
import ExcelTable from '@/components/ExcelTable'
import { listSystem, listUnit, listWeb, listIDCunit } from '@/api/zongzhi/st.js'
import {
yingTanZhen,
yingTanZhenKeyValue,
@ -553,53 +554,53 @@ export default {
showAttack(item = '安全监测', total) {
this.tableTotal = total //
this.dialogStatus = false
setTimeout(() => {
if (item === '硬探针') {
this.dialogWidth = '1800px'
this.excelData = yingTanZhen
this.excelDataHeader = yingTanZhenKeyValue
}
if (item === '系统监测' || item === '监管单位') {
this.dialogWidth = '2100px'
this.excelData = xitongjiance
this.excelDataHeader = xitongjianceKeyValue
}
if (item === '网站监测') {
this.dialogWidth = '2100px'
this.excelData = xitongjiance
this.excelDataHeader = xitongjianceKeyValue
}
if (item === 'IDC单位') {
this.dialogWidth = '1800px'
this.excelData = IDC
this.excelDataHeader = IDCKeyValue
}
if (item === '等保单位') {
this.dialogWidth = '3300px'
this.excelData = dbdw
this.excelDataHeader = dbdwKeyValue
}
if (item === '等保系统') {
this.dialogWidth = '4000px'
this.excelData = dbxt
this.excelDataHeader = dbxtKeyValue
}
if (item === '政府网站') {
this.dialogWidth = '1800px'
this.excelData = zfdw
this.excelDataHeader = zfdwKeyValue
}
if (item === '软探针') {
this.dialogWidth = '1800px'
this.excelData = rtz
this.excelDataHeader = rtzKeyValue
}
this.dialogType = item
if (item.target?.dataset.obj) {
this.dialogType = item.target.dataset.obj
}
this.dialogStatus = true
}, 0)
// setTimeout(() => {
if (item === '硬探针') {
this.dialogWidth = '1800px'
this.excelData = yingTanZhen
this.excelDataHeader = yingTanZhenKeyValue
}
if (item === '系统监测' || item === '监管单位') {
this.dialogWidth = '2100px'
this.excelData = xitongjiance
this.excelDataHeader = xitongjianceKeyValue
}
if (item === '网站监测') {
this.dialogWidth = '2100px'
this.excelData = xitongjiance
this.excelDataHeader = xitongjianceKeyValue
}
if (item === 'IDC单位') {
this.dialogWidth = '1800px'
this.excelData = IDC
this.excelDataHeader = IDCKeyValue
}
if (item === '等保单位') {
this.dialogWidth = '3300px'
this.excelData = dbdw
this.excelDataHeader = dbdwKeyValue
}
if (item === '等保系统') {
this.dialogWidth = '4000px'
this.excelData = dbxt
this.excelDataHeader = dbxtKeyValue
}
if (item === '政府网站') {
this.dialogWidth = '1800px'
this.excelData = zfdw
this.excelDataHeader = zfdwKeyValue
}
if (item === '软探针') {
this.dialogWidth = '1800px'
this.excelData = rtz
this.excelDataHeader = rtzKeyValue
}
this.dialogType = item
if (item.target?.dataset.obj) {
this.dialogType = item.target.dataset.obj
}
this.dialogStatus = true
// }, 0)
},
//
getDataSource() {

Loading…
Cancel
Save