Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-marketing
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 344f4981
authored
Jul 21, 2022
by
王志慧
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
commit
1 parent
2169102b
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
7 deletions
src/views/memberCenter/center.vue
src/views/memberCenter/setmeal.vue
src/views/memberCenter/center.vue
View file @
344f498
...
@@ -21,8 +21,7 @@
...
@@ -21,8 +21,7 @@
<
template
v-if=
"showGh"
>
<
template
v-if=
"showGh"
>
<div
class=
"flex-1 mt-10 line-20"
>
<div
class=
"flex-1 mt-10 line-20"
>
<p
class=
"text-14 weight-5"
>
<p
class=
"text-14 weight-5"
>
<!--
{{
ruleForm
.
cardName
?
ruleForm
.
cardName
:
'--'
}}
-->
{{
ruleForm
.
goldCardClassName
?
ruleForm
.
goldCardClassName
:
'--'
}}
--
</p>
</p>
<div
class=
"member-card"
><img
src=
"@/assets/gold.png"
alt=
""
/></div>
<div
class=
"member-card"
><img
src=
"@/assets/gold.png"
alt=
""
/></div>
</div>
</div>
...
@@ -55,8 +54,8 @@
...
@@ -55,8 +54,8 @@
<el-form-item
label=
"银卡"
prop=
"cardName"
size=
"small"
>
<el-form-item
label=
"银卡"
prop=
"cardName"
size=
"small"
>
<el-input
v-model
.
trim=
"ruleForm.cardName"
size=
"small"
class=
"cardNameInput"
show-word-limit
placeholder=
"请输入银卡名称"
maxlength=
"15"
></el-input>
<el-input
v-model
.
trim=
"ruleForm.cardName"
size=
"small"
class=
"cardNameInput"
show-word-limit
placeholder=
"请输入银卡名称"
maxlength=
"15"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"金卡"
prop=
"
card
Name"
size=
"small"
>
<el-form-item
label=
"金卡"
prop=
"
goldCardClass
Name"
size=
"small"
>
<el-input
v-model
.
trim=
"ruleForm.
card
Name"
size=
"small"
class=
"cardNameInput"
show-word-limit
placeholder=
"请输入金卡名称"
maxlength=
"15"
></el-input>
<el-input
v-model
.
trim=
"ruleForm.
goldCardClass
Name"
size=
"small"
class=
"cardNameInput"
show-word-limit
placeholder=
"请输入金卡名称"
maxlength=
"15"
></el-input>
</el-form-item>
</el-form-item>
</
template
>
</
template
>
...
@@ -346,6 +345,7 @@ export default {
...
@@ -346,6 +345,7 @@ export default {
ruleForm
:
{
ruleForm
:
{
equityId
:
''
,
equityId
:
''
,
cardName
:
''
,
cardName
:
''
,
goldCardClassName
:
''
,
price
:
''
,
price
:
''
,
marketPrice
:
''
,
marketPrice
:
''
,
linkUrl
:
''
,
linkUrl
:
''
,
...
@@ -355,6 +355,7 @@ export default {
...
@@ -355,6 +355,7 @@ export default {
copyRuleForm
:
{},
copyRuleForm
:
{},
rules
:
{
rules
:
{
cardName
:
[{
required
:
true
,
min
:
1
,
max
:
15
,
message
:
'请输入会员卡名称'
,
trigger
:
'blur'
}],
cardName
:
[{
required
:
true
,
min
:
1
,
max
:
15
,
message
:
'请输入会员卡名称'
,
trigger
:
'blur'
}],
goldCardClassName
:
[{
required
:
true
,
min
:
1
,
max
:
15
,
message
:
'请输入金卡名称'
,
trigger
:
'blur'
}],
price
:
[{
required
:
true
,
message
:
'请输入售价'
,
trigger
:
'blur'
}],
price
:
[{
required
:
true
,
message
:
'请输入售价'
,
trigger
:
'blur'
}],
marketPrice
:
[{
required
:
true
,
message
:
'请输入市场价'
,
trigger
:
'blur'
}]
marketPrice
:
[{
required
:
true
,
message
:
'请输入市场价'
,
trigger
:
'blur'
}]
},
},
...
@@ -373,7 +374,7 @@ export default {
...
@@ -373,7 +374,7 @@ export default {
this
.
merchantModel
=
this
.
$globalState
.
session
.
merchantModel
this
.
merchantModel
=
this
.
$globalState
.
session
.
merchantModel
this
.
accountLevel
=
this
.
$globalState
.
session
.
accountLevel
this
.
accountLevel
=
this
.
$globalState
.
session
.
accountLevel
}
}
//
this.showGh = window.location.host.indexOf('cgacar') != -1
this
.
showGh
=
window
.
location
.
host
.
indexOf
(
'cgacar'
)
!=
-
1
this
.
getCardContentFun
()
this
.
getCardContentFun
()
this
.
getCardtypeList
()
this
.
getCardtypeList
()
},
},
...
@@ -474,6 +475,7 @@ export default {
...
@@ -474,6 +475,7 @@ export default {
}
}
this
.
ruleForm
.
equityId
=
res
.
equityClassId
this
.
ruleForm
.
equityId
=
res
.
equityClassId
this
.
ruleForm
.
cardName
=
res
.
equityName
this
.
ruleForm
.
cardName
=
res
.
equityName
this
.
ruleForm
.
goldCardClassName
=
res
.
equityGoldName
this
.
ruleForm
.
price
=
res
.
goodPrice
this
.
ruleForm
.
price
=
res
.
goodPrice
this
.
ruleForm
.
marketPrice
=
res
.
marketPrice
this
.
ruleForm
.
marketPrice
=
res
.
marketPrice
this
.
ruleForm
.
linkUrl
=
res
.
freeUrl
this
.
ruleForm
.
linkUrl
=
res
.
freeUrl
...
@@ -503,6 +505,7 @@ export default {
...
@@ -503,6 +505,7 @@ export default {
let
params
=
{}
let
params
=
{}
params
.
id
=
this
.
ruleForm
.
equityId
params
.
id
=
this
.
ruleForm
.
equityId
params
.
cardClassName
=
this
.
ruleForm
.
cardName
params
.
cardClassName
=
this
.
ruleForm
.
cardName
if
(
this
.
showGh
)
params
.
goldCardClassName
=
this
.
ruleForm
.
goldCardClassName
params
.
price
=
this
.
ruleForm
.
price
params
.
price
=
this
.
ruleForm
.
price
params
.
marketPrice
=
this
.
ruleForm
.
marketPrice
params
.
marketPrice
=
this
.
ruleForm
.
marketPrice
params
.
tryNum
=
this
.
ruleForm
.
tryNum
params
.
tryNum
=
this
.
ruleForm
.
tryNum
...
@@ -583,8 +586,8 @@ export default {
...
@@ -583,8 +586,8 @@ export default {
width
:
53px
;
width
:
53px
;
margin
:
0
3px
;
margin
:
0
3px
;
}
}
/
deep
/
.btn-three
{
/
deep
/
.btn-three
{
display
:
none
;
display
:
none
;
}
}
.lineCtn
{
.lineCtn
{
display
:
flex
;
display
:
flex
;
...
...
src/views/memberCenter/setmeal.vue
View file @
344f498
...
@@ -368,6 +368,7 @@ export default {
...
@@ -368,6 +368,7 @@ export default {
this
.
$messageBox
.
confirm
(
'下架后将隐藏且客户不能购买该套餐,已经购买的客户仍继续享有该套餐的服务?'
,
'下架'
,
{
this
.
$messageBox
.
confirm
(
'下架后将隐藏且客户不能购买该套餐,已经购买的客户仍继续享有该套餐的服务?'
,
'下架'
,
{
confirmButtonText
:
'确定'
,
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
,
// type: 'error',
// type: 'error',
callback
:
action
=>
{
callback
:
action
=>
{
if
(
action
==
'confirm'
)
{
if
(
action
==
'confirm'
)
{
...
...
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