提交 4b68470e 编写于 作者: 刘英杰's avatar 刘英杰

20241029 新增栏目主页

上级 5e67556a
流水线 #30320 已通过 ,包含阶段
in 30 second
# 制度文件移动端 # 制度文件移动端
单点:cardToSSo?token=真实token
\ No newline at end of file
<!DOCTYPE html><html lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no,minimum-scale=1,viewport-fit=cover"><link rel="icon" href="favicon.ico"><title>制度文件</title><link href="static/css/chunk-1f24ae32.06353f14.css" rel="prefetch"><link href="static/css/chunk-6a4f1f7e.bc877712.css" rel="prefetch"><link href="static/css/chunk-ca7f468e.331f546b.css" rel="prefetch"><link href="static/js/chunk-1f24ae32.92aad6e4.js" rel="prefetch"><link href="static/js/chunk-6a4f1f7e.7d0a7c16.js" rel="prefetch"><link href="static/js/chunk-ca7f468e.f2ade498.js" rel="prefetch"><link href="static/css/app~748942c6.1203707a.css" rel="preload" as="style"><link href="static/css/chunk-vendors~253ae210.09af4a6b.css" rel="preload" as="style"><link href="static/css/chunk-vendors~cfbf0a2e.48dbcca1.css" rel="preload" as="style"><link href="static/js/app~748942c6.fc3b96d5.js" rel="preload" as="script"><link href="static/js/chunk-vendors~253ae210.b50231cf.js" rel="preload" as="script"><link href="static/js/chunk-vendors~2a42e354.a4bc0fdf.js" rel="preload" as="script"><link href="static/js/chunk-vendors~7d359b94.08414d6d.js" rel="preload" as="script"><link href="static/js/chunk-vendors~ac50015d.fd71f295.js" rel="preload" as="script"><link href="static/js/chunk-vendors~cfbf0a2e.db930841.js" rel="preload" as="script"><link href="static/css/chunk-vendors~253ae210.09af4a6b.css" rel="stylesheet"><link href="static/css/chunk-vendors~cfbf0a2e.48dbcca1.css" rel="stylesheet"><link href="static/css/app~748942c6.1203707a.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but votemanage_webapp doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><script src="static/js/chunk-vendors~253ae210.b50231cf.js"></script><script src="static/js/chunk-vendors~2a42e354.a4bc0fdf.js"></script><script src="static/js/chunk-vendors~ac50015d.fd71f295.js"></script><script src="static/js/chunk-vendors~7d359b94.08414d6d.js"></script><script src="static/js/chunk-vendors~cfbf0a2e.db930841.js"></script><script src="static/js/app~748942c6.fc3b96d5.js"></script></body></html> <!DOCTYPE html><html lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no,minimum-scale=1,viewport-fit=cover"><link rel="icon" href="favicon.ico"><title>制度文件</title><link href="static/css/chunk-361afe75.2686f104.css" rel="prefetch"><link href="static/css/chunk-6badc2ae.a3b091a9.css" rel="prefetch"><link href="static/css/chunk-ca7f468e.331f546b.css" rel="prefetch"><link href="static/css/chunk-cae7cf22.12e4c854.css" rel="prefetch"><link href="static/js/chunk-361afe75.c03b0768.js" rel="prefetch"><link href="static/js/chunk-6badc2ae.77b5dc0f.js" rel="prefetch"><link href="static/js/chunk-ca7f468e.e6d8923f.js" rel="prefetch"><link href="static/js/chunk-cae7cf22.f0d92fb7.js" rel="prefetch"><link href="static/css/app~748942c6.1203707a.css" rel="preload" as="style"><link href="static/css/chunk-vendors~253ae210.09af4a6b.css" rel="preload" as="style"><link href="static/css/chunk-vendors~cfbf0a2e.48dbcca1.css" rel="preload" as="style"><link href="static/js/app~748942c6.ddb91329.js" rel="preload" as="script"><link href="static/js/chunk-vendors~253ae210.b50231cf.js" rel="preload" as="script"><link href="static/js/chunk-vendors~2a42e354.a4bc0fdf.js" rel="preload" as="script"><link href="static/js/chunk-vendors~7d359b94.08414d6d.js" rel="preload" as="script"><link href="static/js/chunk-vendors~ac50015d.fd71f295.js" rel="preload" as="script"><link href="static/js/chunk-vendors~cfbf0a2e.db930841.js" rel="preload" as="script"><link href="static/css/chunk-vendors~253ae210.09af4a6b.css" rel="stylesheet"><link href="static/css/chunk-vendors~cfbf0a2e.48dbcca1.css" rel="stylesheet"><link href="static/css/app~748942c6.1203707a.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but votemanage_webapp doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><script src="static/js/chunk-vendors~253ae210.b50231cf.js"></script><script src="static/js/chunk-vendors~2a42e354.a4bc0fdf.js"></script><script src="static/js/chunk-vendors~ac50015d.fd71f295.js"></script><script src="static/js/chunk-vendors~7d359b94.08414d6d.js"></script><script src="static/js/chunk-vendors~cfbf0a2e.db930841.js"></script><script src="static/js/app~748942c6.ddb91329.js"></script></body></html>
\ No newline at end of file \ No newline at end of file
因为 它太大了无法显示 源差异 。您可以改为 查看blob。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
...@@ -9,7 +9,7 @@ import 'vant/lib/index.css'; ...@@ -9,7 +9,7 @@ import 'vant/lib/index.css';
export function setSession(value,key){ export function setSession(value,key){
//设置session //设置session
window.sessionStorage.setItem(JSON.stringify(value),key); window.sessionStorage.setItem(key,JSON.stringify(value));
} }
export function getSession(key1){ export function getSession(key1){
//获取session //获取session
......
...@@ -22,7 +22,7 @@ const routes = [ ...@@ -22,7 +22,7 @@ const routes = [
keepAlive: false, keepAlive: false,
} }
}, },
/*{ /* {
path: "/", path: "/",
name: "home", name: "home",
component: () => import('@/views/home/index'), component: () => import('@/views/home/index'),
...@@ -49,6 +49,16 @@ const routes = [ ...@@ -49,6 +49,16 @@ const routes = [
keepAlive: false, keepAlive: false,
} }
},*/ },*/
{
path: "/newsColumns",
name: "newsColumns",
component: () => import('@/views/newsColumns/index'),
meta: {
title: '文件栏目',
keepAlive: false,
}
},
{ {
path: "/newsList", path: "/newsList",
name: "newsList", name: "newsList",
......
...@@ -14,7 +14,7 @@ export default { ...@@ -14,7 +14,7 @@ export default {
getTokenInfo({username: decode.id}).then(res => { getTokenInfo({username: decode.id}).then(res => {
hooks.setStorage(res.data[0],"accuracyControlDocumentWxUserInfo") hooks.setStorage(res.data[0],"accuracyControlDocumentWxUserInfo")
this.$router.replace({ this.$router.replace({
path: "/newsList", path: "/newsColumns",
}) })
}) })
} }
......
此差异已折叠。
...@@ -255,8 +255,8 @@ export default { ...@@ -255,8 +255,8 @@ export default {
this.onLoad(); this.onLoad();
}, },
onClickLeft() { onClickLeft() {
this.$router.back()
this.$router.replace("newsList"); // this.$router.replace("newsList");
}, },
//////////////搜索////////////////// //////////////搜索//////////////////
//发布状态 //发布状态
......
...@@ -57,70 +57,6 @@ ...@@ -57,70 +57,6 @@
</van-cell> </van-cell>
</van-cell-group> </van-cell-group>
<!-- <van-pull-refresh
v-model="refreshing"
@refresh="onRefresh"
success-text="刷新成功"
>
<van-list
v-model="loading"
:finished="finished"
finished-text="没有更多了"
@load="onLoad"
>
<div
class="list"
v-for="(item, index) in list"
:key="index"
>
<van-image
width="55"
height="55"
style="position: absolute;right: 0;z-index: 1;"
:src="item.发布状态标识 == '0'?require('@/assets/images/svg/待发布.svg'):require('@/assets/images/svg/已发布.svg')"
/>
<van-cell-group>
<van-cell :border="true">
<template #title>
<div style="font-size: 16px;min-width: 300px">
<div>{{item.标题}}</div>
</div>
</template>
</van-cell>
<div style="margin: 12px 0;">
<van-cell
title="栏目"
:value="item.一级栏目名"
:border="false"
class="cellStyle_middle"
/>
<van-cell
title="日期"
:value="item.日期"
:border="false"
class="cellStyle_middle"
/>
<van-cell
title="发布时间"
:value="item.发布时间"
:border="false"
class="cellStyle_middle"
/>
</div>
<van-row style="margin: 12px" gutter="20">
<van-col span="12"><van-button block round plain type="info" class="btn"
@click="goDetail(item.id,item.发布状态标识)" >编辑</van-button></van-col>
<van-col span="12">
<van-button block round plain type="info" class="btn" @click="handle_('Issue',item)" v-if="item.发布状态标识 == 0">发布</van-button>
<van-button block round plain type="info" class="btn" @click="handle_('revocation',item)" v-if="item.发布状态标识 == 1">撤回</van-button>
</van-col>
</van-row>
</van-cell-group>
</div>
</van-list>
</van-pull-refresh>-->
</div> </div>
</div> </div>
</template> </template>
...@@ -195,7 +131,7 @@ export default { ...@@ -195,7 +131,7 @@ export default {
value: cur.columnId, value: cur.columnId,
} }
}) })
this.search.value1 = this.search.option1[0].value; this.search.value1 = this.$route.query.id ? this.$route.query.id : this.search.option1[0].value; //默认拿第一项 或拿路由
this.search.params = { this.search.params = {
columnId: this.search.value1, columnId: this.search.value1,
department: this.userInfo.departmentName, department: this.userInfo.departmentName,
...@@ -387,7 +323,7 @@ export default { ...@@ -387,7 +323,7 @@ export default {
this.onLoad(); this.onLoad();
},*/ },*/
onClickLeft() { onClickLeft() {
window.location.href = "/TeacherMobOA" this.$router.replace('/newsColumns')
}, },
//////////////搜索////////////////// //////////////搜索//////////////////
//发布状态 //发布状态
......
Markdown 格式
0% or
您添加了 0 人 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册 或