文章本地录用、苏州录用、省级录用

lijinlong
许宏杰 1 year ago
parent 7fb5514b8e
commit 82137d9c3d

@ -51,3 +51,11 @@ export function listVolunteer(query) {
params: query params: query
}) })
} }
// 查询网络文章列表
export function listArticle(query) {
return request({
url: '/zongzhi/article/list',
method: 'get',
params: query
})
}

@ -1,6 +1,12 @@
<template> <template>
<div> <div>
<el-table :data="tableList" height="740"> <el-table :data="tableList" height="740">
<el-table-column
label="序号"
type="index"
width="80"
align="center"
/>
<el-table-column <el-table-column
v-for="(item,key) in tableKey" v-for="(item,key) in tableKey"
:key="key" :key="key"

@ -49,37 +49,37 @@
@mouseleave="employStart" @mouseleave="employStart"
> >
<div <div
:class="status === 0 ? 'btnchecked' : 'btnunchecked'" :class="status === 1 ? 'btnchecked' : 'btnunchecked'"
@click="employClick(0)" @click="employClick(1)"
> >
<div class="employ-text">本级录用</div> <div class="employ-text">本级录用</div>
<div class="employ-num"> <div class="employ-num">
<span :class="status === 0 ? 'numchecked' : 'numunchecked'">{{ <span :class="status === 1 ? 'numchecked' : 'numunchecked'">{{
59 59
}}</span> }}</span>
<span></span> <span></span>
</div> </div>
</div> </div>
<div <div
:class="status === 1 ? 'btnchecked' : 'btnunchecked'" :class="status === 2 ? 'btnchecked' : 'btnunchecked'"
@click="employClick(1)" @click="employClick(2)"
> >
<div class="employ-text">苏州级录用</div> <div class="employ-text">苏州级录用</div>
<div class="employ-num"> <div class="employ-num">
<span <span
:class="status === 1 ? 'numchecked' : 'numunchecked'" :class="status === 2 ? 'numchecked' : 'numunchecked'"
>{{ 45 }} >{{ 45 }}
</span> </span>
<span></span> <span></span>
</div> </div>
</div> </div>
<div <div
:class="status === 2 ? 'btnchecked' : 'btnunchecked'" :class="status === 3 ? 'btnchecked' : 'btnunchecked'"
@click="employClick(2)" @click="employClick(3)"
> >
<div class="employ-text">省级及以上录用</div> <div class="employ-text">省级及以上录用</div>
<div class="employ-num"> <div class="employ-num">
<span :class="status === 2 ? 'numchecked' : 'numunchecked'">{{ <span :class="status === 3 ? 'numchecked' : 'numunchecked'">{{
1 1
}}</span> }}</span>
<span></span> <span></span>
@ -97,7 +97,7 @@
class="text" class="text"
@click="rowClick(item)" @click="rowClick(item)"
> >
<span class="text-inner" :title="item.label">{{ item.label }}</span> <span class="text-inner" :title="item.label">{{ item.articleTitle }}</span>
</div> </div>
</vue-seamless-scroll> </vue-seamless-scroll>
</div> </div>
@ -126,30 +126,6 @@
@pagination="getAllList" @pagination="getAllList"
/> />
</div> </div>
<!-- <el-table :data="currentPageData" height="740">
<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> -->
</div> </div>
<span slot="footer" class="dialog-footer"> <span slot="footer" class="dialog-footer">
<span> <span>
@ -157,6 +133,7 @@
</span> </span>
</span> </span>
</el-dialog> </el-dialog>
<el-dialog <el-dialog
v-if="dialogDetails" v-if="dialogDetails"
:title="dialogTitle" :title="dialogTitle"
@ -235,7 +212,7 @@
<script> <script>
// import { getReviewArticle } from '@/api/common' // import { getReviewArticle } from '@/api/common'
import { listSafetyadmin, listCommentator, listPingtai, listNetSafetyZcUnit, listPrincipal, listVolunteer } from '@/api/zongzhi/st.js' import { listSafetyadmin, listCommentator, listPingtai, listNetSafetyZcUnit, listPrincipal, listVolunteer, listArticle } from '@/api/zongzhi/st.js'
import vueSeamlessScroll from 'vue-seamless-scroll' import vueSeamlessScroll from 'vue-seamless-scroll'
window.JSZip = require('jszip') window.JSZip = require('jszip')
export default { export default {
@ -267,76 +244,76 @@ export default {
pageDetails: false, pageDetails: false,
centerDialogVisible: false, centerDialogVisible: false,
employTimer: null, employTimer: null,
status: 0, // , status: 1, // ,
dataList: [ dataList: [
{ // {
label: '以更多实招硬招,抓好优质项目落地开花', // label: '',
url: 'http://www.subaonet.com/2022/xssp/xssp_yzkp/0301/459094.shtml' // url: 'http://www.subaonet.com/2022/xssp/xssp_yzkp/0301/459094.shtml'
}, // },
{ // {
label: '一夜东风起,姑苏春色归', // label: '',
url: 'http://www.subaonet.com/2022/xssp/xssp_yzkp/0301/459090.shtml' // url: 'http://www.subaonet.com/2022/xssp/xssp_yzkp/0301/459090.shtml'
}, // },
{ // {
label: '养老服务体系化 人间温暖夕阳红', // label: ' ',
url: 'http://www.subaonet.com/2022/xssp/xssp_yzkp/0302/460076.shtml' // url: 'http://www.subaonet.com/2022/xssp/xssp_yzkp/0302/460076.shtml'
}, // },
{ // {
label: '跳出“小算盘”,算法应有“大格局”', // label: '',
url: 'http://www.subaonet.com/2022/xssp/xssp_yzkp/0304/461494.shtml' // url: 'http://www.subaonet.com/2022/xssp/xssp_yzkp/0304/461494.shtml'
}, // },
{ // {
label: '从首场“委员通道”,看心怀“国之大者”的民生关切”', // label: '怀',
url: 'http://www.subaonet.com/2022/xssp/xssp_yzkp/0307/463120.shtml' // url: 'http://www.subaonet.com/2022/xssp/xssp_yzkp/0307/463120.shtml'
}, // },
{ // {
label: '数字背后,彰现依法治国新成效', // label: '',
url: 'http://www.subaonet.com/2022/xssp/xssp_yzkp/0310/465290.shtml' // url: 'http://www.subaonet.com/2022/xssp/xssp_yzkp/0310/465290.shtml'
}, // },
{ // {
label: '培植“参天大树”,争做“栋梁之材”', // label: '',
url: 'http://www.subaonet.com/2022/xssp/xssp_yzkp/0312/465942.shtml' // url: 'http://www.subaonet.com/2022/xssp/xssp_yzkp/0312/465942.shtml'
}, // },
{ // {
label: '“食”刻用心,“舌尖上的安全”重于泰山', // label: '',
url: 'http://www.subaonet.com/2022/xssp/xssp_yzkp/0317/469860.shtml' // url: 'http://www.subaonet.com/2022/xssp/xssp_yzkp/0317/469860.shtml'
}, // },
{ // {
label: '重拳直击乱象,只为网络空间更加“清朗”', // label: '',
url: 'http://www.subaonet.com/2022/xssp/xssp_yzkp/0318/470366.shtml' // url: 'http://www.subaonet.com/2022/xssp/xssp_yzkp/0318/470366.shtml'
}, // },
{ // {
label: '弘扬“真”“善”“美”,释放更多网络“正能量”', // label: '',
url: 'http://www.subaonet.com/2022/xssp/xssp_yzkp/0318/470362.shtml' // url: 'http://www.subaonet.com/2022/xssp/xssp_yzkp/0318/470362.shtml'
}, // },
{ // {
label: '打造美丽河湖 共建“绿色”水域家园', // label: ' 绿',
url: 'http://www.subaonet.com/2022/xssp/xssp_yzkp/0322/472432.shtml' // url: 'http://www.subaonet.com/2022/xssp/xssp_yzkp/0322/472432.shtml'
}, // },
{ // {
label: '守护碧水清流,搏击新时代浪潮', // label: '',
url: 'http://www.subaonet.com/2022/xssp/xssp_yzkp/0326/474926.shtml' // url: 'http://www.subaonet.com/2022/xssp/xssp_yzkp/0326/474926.shtml'
}, // },
{ // {
label: '“迎考”督查,交出“美丽江苏”生态答卷', // label: '',
url: 'http://www.subaonet.com/2022/xssp/xssp_yzkp/0326/474922.shtml' // url: 'http://www.subaonet.com/2022/xssp/xssp_yzkp/0326/474922.shtml'
}, // },
{ // {
label: '用心打造“三居”,共享苏式生活“幸福感”', // label: '',
url: 'http://www.subaonet.com/2022/xssp/xssp_yzkp/0401/479224.shtml' // url: 'http://www.subaonet.com/2022/xssp/xssp_yzkp/0401/479224.shtml'
}, // },
{ // {
label: '释放阅读“私域流量” “书香社会”芬芳你我', // label: ' ',
url: 'http://www.subaonet.com/2022/xssp/xssp_yzkp/0422/490920.shtml' // url: 'http://www.subaonet.com/2022/xssp/xssp_yzkp/0422/490920.shtml'
}, // },
{ // {
label: '百年图强向海志 万里蓝疆展宏图', // label: ' ',
url: 'http://www.subaonet.com/2022/xssp/xssp_yzkp/0423/491372.shtml' // url: 'http://www.subaonet.com/2022/xssp/xssp_yzkp/0423/491372.shtml'
}, // },
{ // {
label: '锚定“施工图”,加快知识产权强国建设', // label: '',
url: 'http://www.subaonet.com/2022/xssp/xssp_yzkp/0427/493988.shtml' // url: 'http://www.subaonet.com/2022/xssp/xssp_yzkp/0427/493988.shtml'
} // }
], ],
employData: null, employData: null,
bjLength: null, // bjLength: null, //
@ -422,9 +399,12 @@ export default {
// // this.sjLength = res['T_big_screen_review_article[]'].length // // this.sjLength = res['T_big_screen_review_article[]'].length
// }) // })
}, },
destroyed() {}, destroyed() {
this.clearChange()
},
mounted() { mounted() {
this.automaticChange() this.getWz()
this.automaticChange(2)
}, },
methods: { methods: {
/** 重置 */ /** 重置 */
@ -587,18 +567,34 @@ export default {
this.centerDialogVisible = true this.centerDialogVisible = true
}) })
}, },
/**
* 滚动结束
*/
/**
* 文章表
*/
getWz() {
listArticle({ type: this.status }).then(res => {
this.dataList = res.rows
})
},
// //
employClick(flag) { employClick(flag) {
this.clearChange()
this.status = flag this.status = flag
this.getWz()
}, },
// //
automaticChange() { automaticChange(num) {
let i = 1 let i = num
this.employTimer = setInterval(() => { this.employTimer = setInterval(() => {
this.status = i this.status = i
if (i > 1) { if (i > 2) {
i = 0 i = 1
this.getWz()
} else { } else {
this.getWz()
i++ i++
} }
}, 6000) }, 6000)
@ -609,7 +605,8 @@ export default {
}, },
// //
employStart() { employStart() {
this.automaticChange() const num = this.status + 1
this.automaticChange(num)
}, },
// [0~10],[10~20]..., // [0~10],[10~20]...,
// setCurrentPageData() { // setCurrentPageData() {

Loading…
Cancel
Save