Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SuperMan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
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
罗超
SuperMan
Commits
8d6b2504
Commit
8d6b2504
authored
May 27, 2019
by
华国豪
🙄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增商品列表,商品修改页面
parent
aba74835
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
40 additions
and
5 deletions
+40
-5
Details.vue
src/components/Details.vue
+6
-0
LuckyDraw.vue
src/components/activity/LuckyDraw.vue
+2
-2
Announcement.vue
src/components/administrative/Announcement.vue
+8
-3
config.js
src/router/config.js
+24
-0
No files found.
src/components/Details.vue
View file @
8d6b2504
...
...
@@ -542,6 +542,9 @@ export default {
case
"/CapitalAllocationDetail"
:
//资金调拨
path
=
"/CapitalAllocation"
;
break
;
case
"/addIntegralMall"
:
//新增商品
path
=
"/IntegralMall"
;
break
;
}
//找到Root
...
...
@@ -756,6 +759,9 @@ export default {
case
"/CapitalAllocationDetail"
:
//资金调拨
path
=
"/CapitalAllocation"
;
break
;
case
"/addIntegralMall"
:
//新增商品
path
=
"/IntegralMall"
;
break
;
}
//找到Root
...
...
src/components/activity/LuckyDraw.vue
View file @
8d6b2504
...
...
@@ -602,9 +602,9 @@ export default {
this
.
$message
.
info
(
this
.
$t
(
'tips.shangchuanzhong'
))
this
.
UploadSelfFileT
(
path
,
newArr
,
x
=>
{
let
fileSize
=
file
.
file
.
size
<
1024
?
file
.
file
.
size
:(
file
.
file
.
size
/
1024
).
toFixed
(
0
);
this
.
addMsg
.
i
mage
=
this
.
domainManager
().
ViittoFileUrl
+
x
.
data
.
FilePath
this
.
addMsg
.
i
con
=
this
.
domainManager
().
ViittoFileUrl
+
x
.
data
.
FilePath
this
.
$message
.
success
(
this
.
$t
(
'tips.scchenggong'
));
this
.
$forceUpdate
();
//
this.$forceUpdate();
});
},
}
...
...
src/components/administrative/Announcement.vue
View file @
8d6b2504
...
...
@@ -365,7 +365,7 @@
this
.
addMsg
.
Title
=
res
.
data
.
data
.
Title
this
.
addMsg
.
Content
=
res
.
data
.
data
.
Content
this
.
uploadList
=
[]
if
(
res
.
data
.
data
.
File_url
!=
''
){
if
(
res
.
data
.
data
.
File_url
){
let
_arr
=
JSON
.
parse
(
res
.
data
.
data
.
File_url
);
if
(
_arr
.
length
>
0
){
_arr
.
forEach
(
item
=>
{
...
...
@@ -383,10 +383,12 @@
this
.
apipost
(
'User_get_NoticeGet'
,{
noticeId
:
id
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
detailMessage
=
res
.
data
.
data
if
(
res
.
data
.
data
.
File_url
){
this
.
downLoadList
=
JSON
.
parse
(
res
.
data
.
data
.
File_url
)
this
.
downLoadList
.
forEach
(
item
=>
{
item
.
Url
=
this
.
domainManager
().
ViittoFileUrl
+
item
.
Url
})
})
}
}
else
{
this
.
$message
.
error
(
res
.
data
.
message
)
}
...
...
@@ -439,7 +441,10 @@
this
.
resetForm
(
'addMsg'
);
},
resetForm
(
formName
)
{
//弹出框取消 初始化谈框内表单
this
.
$refs
[
formName
].
resetFields
();
if
(
formName
)
{
this
.
$refs
[
formName
].
resetFields
();
}
this
.
addMsg
.
Id
=
'-1'
}
}
...
...
src/router/config.js
View file @
8d6b2504
...
...
@@ -3274,6 +3274,30 @@ export default {
title
:
'当地游'
}
},
{
path
:
'/CommodityType'
,
name
:
'CommodityType'
,
component
:
resolve
=>
require
([
'@/components/activity/CommodityType'
],
resolve
),
meta
:
{
title
:
'商品类型'
}
},
{
path
:
'/IntegralMall'
,
name
:
'IntegralMall'
,
component
:
resolve
=>
require
([
'@/components/activity/IntegralMall'
],
resolve
),
meta
:
{
title
:
'商品列表'
}
},
{
path
:
'/addIntegralMall'
,
name
:
'addIntegralMall'
,
component
:
resolve
=>
require
([
'@/components/activity/addIntegralMall'
],
resolve
),
meta
:
{
title
:
'新增商品'
}
},
]
},
{
...
...
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