Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-pay
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 72888b86
authored
Dec 01, 2021
by
李长胜
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
会员中心修改
1 parent
c6efb215
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
src/views/memberCenter/center.vue
src/views/memberCenter/center.vue
View file @
72888b8
...
@@ -216,7 +216,6 @@ export default {
...
@@ -216,7 +216,6 @@ export default {
{
{
label
:
'开通日期'
,
label
:
'开通日期'
,
prop
:
'activeTime'
prop
:
'activeTime'
// addHtml: 'activeTime'
// addHtml: 'activeTime'
},
},
{
{
...
@@ -240,7 +239,8 @@ export default {
...
@@ -240,7 +239,8 @@ export default {
cardName
:
''
,
cardName
:
''
,
price
:
''
,
price
:
''
,
marketPrice
:
''
,
marketPrice
:
''
,
linkUrl
:
''
linkUrl
:
''
,
tryAble
:
''
},
},
copyRuleForm
:
{},
copyRuleForm
:
{},
rules
:
{
rules
:
{
...
@@ -263,7 +263,7 @@ export default {
...
@@ -263,7 +263,7 @@ export default {
created
()
{
created
()
{
if
(
window
.
__POWERED_BY_QIANKUN__
)
{
if
(
window
.
__POWERED_BY_QIANKUN__
)
{
//运行在qiankun容器中
//运行在qiankun容器中
this
.
merchantId
=
this
.
$globalState
.
session
.
merchantId
this
.
merchantId
=
this
.
$globalState
.
session
.
merchantId
}
}
this
.
getCardContentFun
()
this
.
getCardContentFun
()
},
},
...
@@ -301,11 +301,13 @@ export default {
...
@@ -301,11 +301,13 @@ export default {
},
},
getCardContentFun
()
{
getCardContentFun
()
{
getCardContent
({
merchantId
:
this
.
merchantId
}).
then
(
res
=>
{
getCardContent
({
merchantId
:
this
.
merchantId
}).
then
(
res
=>
{
this
.
ruleForm
.
equityId
=
res
[
0
].
id
this
.
ruleForm
.
equityId
=
res
[
0
].
id
this
.
ruleForm
.
cardName
=
res
[
0
].
cardClassName
this
.
ruleForm
.
cardName
=
res
[
0
].
cardClassName
this
.
ruleForm
.
price
=
res
[
0
].
price
this
.
ruleForm
.
price
=
res
[
0
].
price
this
.
ruleForm
.
marketPrice
=
res
[
0
].
marketPrice
this
.
ruleForm
.
marketPrice
=
res
[
0
].
marketPrice
this
.
ruleForm
.
linkUrl
=
res
[
0
].
url
this
.
ruleForm
.
linkUrl
=
res
[
0
].
url
this
.
ruleForm
.
tryAble
=
res
[
0
].
tryAble
})
})
},
},
openEditWrap
()
{
openEditWrap
()
{
...
@@ -328,7 +330,7 @@ export default {
...
@@ -328,7 +330,7 @@ export default {
params
.
cardClassName
=
this
.
ruleForm
.
cardName
params
.
cardClassName
=
this
.
ruleForm
.
cardName
params
.
price
=
this
.
ruleForm
.
price
params
.
price
=
this
.
ruleForm
.
price
params
.
marketPrice
=
this
.
ruleForm
.
marketPrice
params
.
marketPrice
=
this
.
ruleForm
.
marketPrice
params
.
tryAble
=
this
.
ruleForm
.
tryAble
updateCardContent
(
params
).
then
(
res
=>
{
updateCardContent
(
params
).
then
(
res
=>
{
if
(
!
res
)
{
if
(
!
res
)
{
return
return
...
...
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