Commit 217936bc by 杨琪琪

信息发布系统--修复查询,实现收报信息

parent 6ab3fcfb
...@@ -77,8 +77,8 @@ export const assInfoList = (data) => { ...@@ -77,8 +77,8 @@ export const assInfoList = (data) => {
} }
//获取收报信息列表 //获取收报信息列表---接收
export const getSBList = (data) => { export const getSBReceiveList = (data) => {
return request({ return request({
url: 'websiteCluster/website/getSBList', url: 'websiteCluster/website/getSBList',
method: 'POST', method: 'POST',
...@@ -86,6 +86,16 @@ export const getSBList = (data) => { ...@@ -86,6 +86,16 @@ export const getSBList = (data) => {
}) })
} }
//获取收报信息列表---报送
export const getSBSubmittedList = (data) => {
return request({
url: 'websiteCluster/website/getReportList',
method: 'POST',
data
})
}
//管理列表--新闻详情 //管理列表--新闻详情
export const newsDetail = (data) => { export const newsDetail = (data) => {
return request({ return request({
...@@ -165,6 +175,15 @@ export const sbBatch = (data) => { ...@@ -165,6 +175,15 @@ export const sbBatch = (data) => {
}) })
} }
// 收报批量采用或不采用
export const sbBatchUseOrNot = (data) => {
return request({
url: 'websiteCluster/website/sbBatchUseOrNot',
method: 'POST',
data
})
}
//日志详情 //日志详情
......
...@@ -52,7 +52,7 @@ const constantRouterMap = [ ...@@ -52,7 +52,7 @@ const constantRouterMap = [
{ {
path: "/manage", path: "/manage",
name: 'manage', name: 'manage',
meta: { title: '栏目', icon: '' }, meta: { title: '信息发布系统', icon: '' },
component: resolve => require(["@/views/manage"], resolve), component: resolve => require(["@/views/manage"], resolve),
}, },
{ {
......
...@@ -124,6 +124,7 @@ export default { ...@@ -124,6 +124,7 @@ export default {
loginOut() { loginOut() {
logout().then((res) => { logout().then((res) => {
removeToken(); removeToken();
window.localStorage.removeItem('publishFlag');
// this.$router.push("/"); // this.$router.push("/");
location.href = res.data; location.href = res.data;
}); });
...@@ -135,7 +136,7 @@ export default { ...@@ -135,7 +136,7 @@ export default {
location.href = process.env.VUE_APP_LOGIN_API location.href = process.env.VUE_APP_LOGIN_API
}, },
enableTurnOnSystem(){ enableTurnOnSystem(){
enableTurnOnSystem({fyId:32}).then((res) => { enableTurnOnSystem().then((res) => {
sessionStorage.setItem('publishFlag',res.success); sessionStorage.setItem('publishFlag',res.success);
}); });
} }
......
...@@ -60,7 +60,6 @@ ...@@ -60,7 +60,6 @@
<div style="font-size:8px;" class="tab-item" :class="[workActive==index? 'tab-item-active':'']" @click="informationSelection(item,index)"> <div style="font-size:8px;" class="tab-item" :class="[workActive==index? 'tab-item-active':'']" @click="informationSelection(item,index)">
{{item.boardName}} {{item.boardName}}
</div> </div>
</div> </div>
</el-col > </el-col >
<el-col :span="16" style=""> <el-col :span="16" style="">
......
...@@ -78,7 +78,11 @@ ...@@ -78,7 +78,11 @@
</div> </div>
<div class="k-flex seach-input k-align-center" style="width: 180px"> <div class="k-flex seach-input k-align-center" style="width: 180px">
<el-input v-model="searchSubject" placeholder="请输入内容" clearable> <el-input
v-model="searchSubject"
placeholder="请输入内容"
clearable
>
<i <i
@click="searchEvent" @click="searchEvent"
slot="suffix" slot="suffix"
...@@ -231,13 +235,14 @@ import items from "./items.vue"; ...@@ -231,13 +235,14 @@ import items from "./items.vue";
import { import {
getAllCourts, //获取全区法院 getAllCourts, //获取全区法院
getSubLevelBoard, //获取子栏目 getSubLevelBoard, //获取子栏目
searchForNews,//搜索新闻 searchForNews, //搜索新闻
enableTurnOnSystem,
} from "@/api/homePage.js"; } from "@/api/homePage.js";
export default { export default {
components: { sideItem, items }, components: { sideItem, items },
data() { data() {
return { return {
searchSubject:'',//搜索内容 searchSubject: "", //搜索内容
allCourtsData: [], //全区法院 allCourtsData: [], //全区法院
childFlag: false, childFlag: false,
activeIndex: "/homePage", activeIndex: "/homePage",
...@@ -255,29 +260,28 @@ export default { ...@@ -255,29 +260,28 @@ export default {
name: "news", name: "news",
path: "/news", path: "/news",
meta: { title: "法院新闻" }, meta: { title: "法院新闻" },
children:[ children: [
{ {
name: "top", name: "top",
path:'', path: "",
boardId:'', boardId: "",
type:'top', type: "top",
meta:{title:'今日头条',}, meta: { title: "今日头条" },
}, },
{ {
name: "all", name: "all",
path:'', path: "",
type:'all', type: "all",
meta:{title:'全区速递',}, meta: { title: "全区速递" },
}, },
{ {
name: "vedio", name: "vedio",
path:'', path: "",
boardId:1965, boardId: 1965,
type:'vedio', type: "vedio",
meta:{title:'视频点播',}, meta: { title: "视频点播" },
}, },
] ],
// children:[ // children:[
// { // {
// name: "news", // name: "news",
...@@ -354,12 +358,8 @@ export default { ...@@ -354,12 +358,8 @@ export default {
path: "", path: "",
meta: { title: "全区法院" }, meta: { title: "全区法院" },
}, },
{
name: "manage",
path: "/manage",
meta: { title: "信息发布系统" },
},
], ],
pFlag: false, // 是否显示信息发布系统
}; };
}, },
computed: { computed: {
...@@ -367,6 +367,8 @@ export default { ...@@ -367,6 +367,8 @@ export default {
...mapGetters(["user"]), ...mapGetters(["user"]),
}, },
created() { created() {
// this.isPublishOut();
this.enableTurnOnSystem();
this.getAllCourts(); //获取全区法院 this.getAllCourts(); //获取全区法院
// this.getSubLevelBoard(1, 129); //法院新闻 // this.getSubLevelBoard(1, 129); //法院新闻
this.getSubLevelBoard(2, 1929); //工作信息 this.getSubLevelBoard(2, 1929); //工作信息
...@@ -375,76 +377,101 @@ export default { ...@@ -375,76 +377,101 @@ export default {
this.getSubLevelBoard(2, 130); //法院业务 this.getSubLevelBoard(2, 130); //法院业务
}, },
methods: { methods: {
// 是否显示信息发布系统
enableTurnOnSystem() {
enableTurnOnSystem().then((res) => {
if (res.success) {
var pObj = {
name: "manage",
path: "/manage",
meta: { title: "信息发布系统" },
};
this.routesList.push(pObj);
}
});
},
// // 是否显示信息发布系统
// isPublishOut() {
// this.pFlag = window.sessionStorage.getItem("publishFlag");
// console.log(
// "-=-==-=-==-==-=-=-=-=-==-=是否显示信息发布系统1111111",
// this.pFlag
// );
// if (this.pFlag == "true") {
// var pObj = {
// name: "manage",
// path: "/manage",
// meta: { title: "信息发布系统" },
// };
// this.routesList.push(pObj);
// }
// },
//1、点击一级导航 //1、点击一级导航
menuRouterClick(item, index) { menuRouterClick(item, index) {
console.log("menuRouterClick-index==", index); console.log("menuRouterClick-index==", index);
console.log("menuRouterClick-item==", item); console.log("menuRouterClick-item==", item);
console.log('this.routesList==',this.routesList); console.log("this.routesList==", this.routesList);
// this.classA = index; // this.classA = index;
console.log("this.classA==", this.classA); console.log("this.classA==", this.classA);
this.classA = index; this.classA = index;
item=this.routesList[this.classA]; item = this.routesList[this.classA];
// return; // return;
if (item.name == "manage") { if (item.name == "manage") {
// var url=process.env.VUE_APP_LOGIN_API+'/manage' // var url=process.env.VUE_APP_LOGIN_API+'/manage'
// window.open(url) // window.open(url)
// window.open("/#/manage"); // window.open("/#/manage");
var userInfo=sessionStorage.getItem('userInfo'); var userInfo = sessionStorage.getItem("userInfo");
var publishFlag=sessionStorage.getItem('publishFlag'); var publishFlag = sessionStorage.getItem("publishFlag");
console.log('user==',userInfo); console.log("user==", userInfo);
if(!userInfo){ if (!userInfo) {
this.$message({ this.$message({
message:'请先登录!', message: "请先登录!",
type:'error', type: "error",
}); });
return; return;
} else {
}else{ console.log("publishFlag=", publishFlag);
console.log('publishFlag=',publishFlag); if (publishFlag) {
if(publishFlag){
this.$router.push({ this.$router.push({
path: item.path, //跳转路由 path: item.path, //跳转路由
}); });
}else{ } else {
this.$message({ this.$message({
message:'您的账号没有权限!', message: "您的账号没有权限!",
type:'error', type: "error",
}); });
return; return;
} }
} }
}else if(item.name == "homePage" || item.name == "news"){ } else if (item.name == "homePage" || item.name == "news") {
this.$router.push({ this.$router.push({
path: item.path, //跳转路由 path: item.path, //跳转路由
}); });
}else if(item.name == "fun"){ } else if (item.name == "fun") {
this.$message({ this.$message({
message:'维护中...', message: "维护中...",
type:'error', type: "error",
duration:1000 duration: 1000,
}); });
return; return;
}else{ } else {
this.$router.push({ this.$router.push({
path: "/list", //跳转路由 path: "/list", //跳转路由
query: { query: {
//参数对象 //参数对象
boardId: item.boardId, boardId: item.boardId,
type:'menu' type: "menu",
}, },
}); });
} }
}, },
// 2、点击二级子栏目--跳转到列表 // 2、点击二级子栏目--跳转到列表
menuselected(item, subItem) { menuselected(item, subItem) {
// alert('item'); // alert('item');
console.log("点击子菜单1==", item); console.log("点击子菜单1==", item);
console.log("点击子菜单2==", subItem); console.log("点击子菜单2==", subItem);
console.log('this.routesList==',this.routesList); console.log("this.routesList==", this.routesList);
for (var i = 0; i < this.routesList.length; i++) { for (var i = 0; i < this.routesList.length; i++) {
if (this.routesList[i].name == item.name) { if (this.routesList[i].name == item.name) {
...@@ -459,30 +486,29 @@ export default { ...@@ -459,30 +486,29 @@ export default {
// }); // });
// return; // return;
// } // }
if(subItem.name=='top' || subItem.name=='all' || subItem.name=='vedio'){ if (
subItem.name == "top" ||
subItem.name == "all" ||
subItem.name == "vedio"
) {
this.$router.push({ this.$router.push({
path: "/zone", //跳转路由 path: "/zone", //跳转路由
query: { query: {
//参数对象 //参数对象
boardId: subItem.boardId, boardId: subItem.boardId,
type:subItem.type type: subItem.type,
}, },
}); });
}else{ } else {
this.$router.push({ this.$router.push({
path: "/list", //跳转路由 path: "/list", //跳转路由
query: { query: {
//参数对象 //参数对象
boardId: subItem.boardId, boardId: subItem.boardId,
type:'sub' type: "sub",
}, },
}); });
} }
}, },
// treeNavSwitch(){}, // treeNavSwitch(){},
//获取全区法院 //获取全区法院
...@@ -544,7 +570,6 @@ export default { ...@@ -544,7 +570,6 @@ export default {
subject: this.searchSubject, subject: this.searchSubject,
}, },
}); });
}, },
toNews() { toNews() {
console.log(4556); console.log(4556);
...@@ -574,7 +599,6 @@ export default { ...@@ -574,7 +599,6 @@ export default {
.el-menu--horizontal > .el-submenu .el-submenu__title { .el-menu--horizontal > .el-submenu .el-submenu__title {
font-size: 13px; font-size: 13px;
} }
} }
// $childs: false; // $childs: false;
...@@ -698,7 +722,7 @@ li { ...@@ -698,7 +722,7 @@ li {
border-bottom: 2px solid #ffd04b; border-bottom: 2px solid #ffd04b;
} }
.main-active .nav-a-text { .main-active .nav-a-text {
color: #ffd04b!important; color: #ffd04b !important;
} }
.menu_ul_text:hover { .menu_ul_text:hover {
...@@ -714,7 +738,7 @@ li { ...@@ -714,7 +738,7 @@ li {
width: 170px; width: 170px;
border-radius: 5px; border-radius: 5px;
bottom: -65; bottom: -65;
z-index:19; z-index: 19;
} }
.nav-a-li:hover .submenu-container-first { .nav-a-li:hover .submenu-container-first {
display: block; display: block;
...@@ -756,7 +780,7 @@ li { ...@@ -756,7 +780,7 @@ li {
.search-container { .search-container {
width: 100%; width: 100%;
height: 500px; height: 500px;
background-image: url('../../assets/pic.jpg'); background-image: url("../../assets/pic.jpg");
background-repeat: no-repeat; background-repeat: no-repeat;
background-size: 100% 100%; background-size: 100% 100%;
} }
...@@ -776,6 +800,4 @@ li { ...@@ -776,6 +800,4 @@ li {
.seach-input { .seach-input {
width: 60%; width: 60%;
} }
</style> </style>
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -92,13 +92,13 @@ ...@@ -92,13 +92,13 @@
<el-row :gutter="10"> <el-row :gutter="10">
<el-col :span="12"> <el-col :span="12">
<el-image style="" :src="require('../../assets/pic.jpg')"></el-image> <el-image style="" :src="require('../../assets/pic.jpg')"></el-image>
</el-col :span="12"> </el-col>
<el-col :span="12"> <el-col :span="12">
<div> <div>
结果立刻发动进攻类库的结构来看到付即可购房贷款逛街看到路上经过考虑工具开发架构框架 结果立刻发动进攻类库的结构来看到付即可购房贷款逛街看到路上经过考虑工具开发架构框架
<span style="color:red;font-size:10px;">[详细]</span> <span style="color:red;font-size:10px;">[详细]</span>
</div> </div>
</el-col :span="12"> </el-col>
</el-row> </el-row>
<ul class="business-ul"> <ul class="business-ul">
...@@ -220,11 +220,6 @@ ...@@ -220,11 +220,6 @@
</div> </div>
</div> </div>
</el-col> </el-col>
</el-row> </el-row>
......
...@@ -130,7 +130,7 @@ ...@@ -130,7 +130,7 @@
</el-col > </el-col >
<el-col :span="12"> <el-col :span="12">
<div v-if="highlightsData[0]" class="re-see"> <div v-if="highlightsData[0]" class="re-see">
<div class="hightlight-v" v-html="highlightsData[0].content"></div> <div class="hightlight-v" v-html="highlightsData[0].content" @click="setParams(highlightsData[0])"></div>
<span @click="setParams(highlightsData[0])" style="color:red;font-size:10px;">[详细]</span> <span @click="setParams(highlightsData[0])" style="color:red;font-size:10px;">[详细]</span>
</div> </div>
</el-col > </el-col >
...@@ -272,10 +272,10 @@ export default { ...@@ -272,10 +272,10 @@ export default {
if(type==1){ if(type==1){
params.byDay='1';//按日 params.byDay='1';//按日
} }
if(type==2){ if(type==3){
params.byMonth='1';//按月 params.byMonth='1';//按月
} }
if(type==3){ if(type==2){
params.byWeek='1';//按周 params.byWeek='1';//按周
} }
...@@ -535,6 +535,7 @@ ul{ ...@@ -535,6 +535,7 @@ ul{
margin-right:5px; margin-right:5px;
position:relative; position:relative;
color:black; color:black;
cursor: default;
} }
.line-div{ .line-div{
position:absolute; position:absolute;
...@@ -745,9 +746,11 @@ ul{ ...@@ -745,9 +746,11 @@ ul{
} }
@keyframes infiniteScroll { @keyframes infiniteScroll {
// 动画开始时间
0% { 0% {
transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0);
} }
// 动画结束时间
100% { 100% {
transform: translate3d(-100%, 0, 0); transform: translate3d(-100%, 0, 0);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment