Commit dbcffb2f by Lyan

零售新增图片资讯

parent 70ecdeb1
......@@ -39,54 +39,6 @@ const mainRoutes = {
{ path: '/demo-echarts', component: _import('demo/echarts'), name: 'demo-echarts', meta: { title: 'demo-echarts', isTab: true } },
{ path: '/demo-ueditor', component: _import('demo/ueditor'), name: 'demo-ueditor', meta: { title: 'demo-ueditor', isTab: true } }
// { path: '/picture-add', component: _import('modules/info/picture-add-or-update'), name: 'picture-add', meta: { title: '图片资讯添加', isTab: true } },
// { path: '/picture-update', component: _import('modules/info/picture-add-or-update'), name: 'picture-update', meta: { title: '图片资讯编辑', isTab: true } },
// { path: '/picture-info', component: _import('modules/info/picture-add-or-update'), name: 'picture-info', meta: { title: '图片资讯详情', isTab: true } },
// { path: '/news-add', component: _import('modules/info/news-add-or-update'), name: 'news-add', meta: { title: '文章添加', isTab: true } },
// { path: '/news-update', component: _import('modules/info/news-add-or-update'), name: 'news-update', meta: { title: '文章编辑', isTab: true } },
// { path: '/news-info', component: _import('modules/info/news-add-or-update'), name: 'news-info', meta: { title: '文章详情', isTab: true } },
// { path: '/indexcarouselmanage-add', component: _import('modules/info/indexcarouselmanage-add-or-update'), name: 'indexcarouselmanage-add', meta: { title: '首页轮播添加', isTab: true } },
// { path: '/indexcarouselmanage-update', component: _import('modules/info/indexcarouselmanage-add-or-update'), name: 'indexcarouselmanage-update', meta: { title: '首页轮播编辑', isTab: true } },
// { path: '/indexcarouselmanage-info', component: _import('modules/info/indexcarouselmanage-add-or-update'), name: 'indexcarouselmanage-info', meta: { title: '首页轮播详情', isTab: true } },
// { path: '/newtopic-add', component: _import('modules/info/newtopic-add-or-update'), name: 'newtopic-add', meta: { title: '深度专题添加', isTab: true } },
// { path: '/newtopic-update', component: _import('modules/info/newtopic-add-or-update'), name: 'newtopic-update', meta: { title: '深度专题编辑', isTab: true } },
// { path: '/newtopic-info', component: _import('modules/info/newtopic-add-or-update'), name: 'newtopic-info', meta: { title: '深度专题详情', isTab: true } },
// { path: '/newsmovie-add', component: _import('modules/info/newsmovie-add-or-update'), name: 'newsmovie-add', meta: { title: '视频添加', isTab: true } },
// { path: '/newsmovie-update', component: _import('modules/info/newsmovie-add-or-update'), name: 'newsmovie-update', meta: { title: '视频编辑', isTab: true } },
// { path: '/newsmovie-info', component: _import('modules/info/newsmovie-add-or-update'), name: 'newsmovie-info', meta: { title: '视频详情', isTab: true } },
// { path: '/medical-add', component: _import('modules/medical/medical-add-or-update'), name: 'medical-add', meta: { title: '医疗添加', isTab: true } },
// { path: '/medical-update', component: _import('modules/medical/medical-add-or-update'), name: 'medical-update', meta: { title: '医疗编辑', isTab: true } },
// { path: '/medical-info', component: _import('modules/medical/medical-add-or-update'), name: 'medical-info', meta: { title: '医疗详情', isTab: true } },
// { path: '/logistics-add', component: _import('modules/logistics/logistics-add-or-update'), name: 'logistics-add', meta: { title: '物流添加', isTab: true } },
// { path: '/logistics-update', component: _import('modules/logistics/logistics-add-or-update'), name: 'logistics-update', meta: { title: '物流编辑', isTab: true } },
// { path: '/logistics-info', component: _import('modules/logistics/logistics-add-or-update'), name: 'logistics-info', meta: { title: '物流详情', isTab: true } },
// { path: '/center-add', component: _import('modules/party/center-add-or-update'), name: 'center-add', meta: { title: '中央和总局精神添加', isTab: true } },
// { path: '/center-update', component: _import('modules/party/center-add-or-update'), name: 'center-update', meta: { title: '中央和总局精神编辑', isTab: true } },
// { path: '/center-info', component: _import('modules/party/center-add-or-update'), name: 'center-info', meta: { title: '中央和总局精神详情', isTab: true } },
// { path: '/topicnews-add', component: _import('modules/party/topicnews-add-or-update'), name: 'topicnews-add', meta: { title: '活动报道添加', isTab: true } },
// { path: '/topicnews-update', component: _import('modules/party/topicnews-add-or-update'), name: 'topicnews-update', meta: { title: '活动报道编辑', isTab: true } },
// { path: '/topicnews-info', component: _import('modules/party/topicnews-add-or-update'), name: 'topicnews-info', meta: { title: '活动报道详情', isTab: true } },
// { path: '/rules-add', component: _import('modules/party/rules-add-or-update'), name: 'rules-add', meta: { title: '规章制度添加', isTab: true } },
// { path: '/rules-update', component: _import('modules/party/rules-add-or-update'), name: 'rules-update', meta: { title: '规章制度编辑', isTab: true } },
// { path: '/rules-info', component: _import('modules/party/rules-add-or-update'), name: 'rules-info', meta: { title: '规章制度详情', isTab: true } },
// { path: '/hotFlow-add', component: _import('modules/party/hotFlow-add-or-update'), name: 'hotFlow-add', meta: { title: '热点关注添加', isTab: true } },
// { path: '/hotFlow-update', component: _import('modules/party/hotFlow-add-or-update'), name: 'hotFlow-update', meta: { title: '热点关注编辑', isTab: true } },
// { path: '/hotFlow-info', component: _import('modules/party/hotFlow-add-or-update'), name: 'hotFlow-info', meta: { title: '热点关注详情', isTab: true } },
// { path: '/policy-add', component: _import('modules/policy/policy-add-or-update'), name: 'policy-add', meta: { title: '政策法规添加', isTab: true } },
// { path: '/policy-update', component: _import('modules/policy/policy-add-or-update'), name: 'policy-update', meta: { title: '政策法规编辑', isTab: true } },
// { path: '/policy-info', component: _import('modules/policy/policy-add-or-update'), name: 'policy-info', meta: { title: '政策法规详情', isTab: true } }
],
beforeEnter (to, from, next) {
// let token = Vue.cookie.get('token')
......
......@@ -239,13 +239,7 @@ export default {
})
},
showMsg (data) {
if (!data.jumppath || data.jumppath === null) {
window.open(this.$store.state.config.urls + '/News/msg?id=' + data.pictureid, '_blank')
} else if (/^\//.test(data.jumppath)) {
window.open(this.$store.state.config.urls + data.jumppath, '_blank')
} else {
window.open(data.jumppath, '_blank')
}
window.open(`${this.$store.state.config.urls}/home?pictureId=${data.pictureid}`, '_blank')
},
// 删除
......
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