Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-activity-center
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit c6eb94b6
authored
Dec 26, 2022
by
前端
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
添加提示语
1 parent
1dfc0319
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletions
src/views/activityRecord/addRecord.vue
src/views/activityRecord/viewRecord.vue
src/views/activityRecord/addRecord.vue
View file @
c6eb94b
...
@@ -153,6 +153,8 @@ export default {
...
@@ -153,6 +153,8 @@ export default {
console
.
log
(
res
)
console
.
log
(
res
)
if
(
res
)
{
if
(
res
)
{
this
.
activityDetail
=
res
this
.
activityDetail
=
res
}
else
{
this
.
$message
.
warning
(
'查不到该活动记录'
)
}
}
})
})
},
},
...
@@ -323,6 +325,10 @@ export default {
...
@@ -323,6 +325,10 @@ export default {
if
(
this
.
routeInfo
.
addOrEdit
==
1
)
{
if
(
this
.
routeInfo
.
addOrEdit
==
1
)
{
let
detailData
=
await
this
.
$apis
.
record
.
findActivity
({
activityId
:
this
.
recordForm
.
crowdFundActivityId
})
let
detailData
=
await
this
.
$apis
.
record
.
findActivity
({
activityId
:
this
.
recordForm
.
crowdFundActivityId
})
console
.
log
(
detailData
,
'==='
)
console
.
log
(
detailData
,
'==='
)
if
(
!
detailData
)
{
this
.
$message
.
warning
(
'查不到该活动记录'
)
return
}
params
.
merchantNo
=
detailData
.
merchantId
params
.
merchantNo
=
detailData
.
merchantId
params
.
merchantName
=
detailData
.
merchantName
params
.
merchantName
=
detailData
.
merchantName
params
.
activityName
=
detailData
.
activityName
params
.
activityName
=
detailData
.
activityName
...
...
src/views/activityRecord/viewRecord.vue
View file @
c6eb94b
...
@@ -131,6 +131,7 @@ export default {
...
@@ -131,6 +131,7 @@ export default {
console
.
log
(
res
)
console
.
log
(
res
)
if
(
res
)
{
if
(
res
)
{
this
.
recordForm
=
res
this
.
recordForm
=
res
this
.
$message
.
success
(
'更新数据成功'
)
}
}
})
})
}
}
...
@@ -191,7 +192,8 @@ export default {
...
@@ -191,7 +192,8 @@ export default {
margin
:
0
0
20px
154px
;
margin
:
0
0
20px
154px
;
background
:
#f9f9f9
;
background
:
#f9f9f9
;
padding
:
20px
0
;
padding
:
20px
0
;
max-width
:
600px
;
min-width
:
600px
;
max-width
:
1100px
;
&-content
{
&-content
{
display
:
flex
;
display
:
flex
;
.activity-title
{
.activity-title
{
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment