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

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

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

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

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

Loading…
Cancel
Save