Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gs1-admin
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
吴迪
gs1-admin
Commits
dbcffb2f
Commit
dbcffb2f
authored
Feb 15, 2022
by
Lyan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
零售新增图片资讯
parent
70ecdeb1
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
333 additions
and
55 deletions
+333
-55
index.js
src/router/index.js
+0
-48
picture.vue
src/views/modules/info/picture.vue
+1
-7
picture-add-or-update.vue
src/views/modules/retail/picture-add-or-update.vue
+332
-0
picture.vue
src/views/modules/retail/picture.vue
+0
-0
No files found.
src/router/index.js
View file @
dbcffb2f
...
...
@@ -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')
...
...
src/views/modules/info/picture.vue
View file @
dbcffb2f
...
...
@@ -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'
)
},
// 删除
...
...
src/views/modules/retail/picture-add-or-update.vue
0 → 100644
View file @
dbcffb2f
This diff is collapsed.
Click to expand it.
src/views/modules/retail/picture.vue
0 → 100644
View file @
dbcffb2f
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment