Commit 72888b86 by 李长胜

会员中心修改

1 parent c6efb215
......@@ -216,7 +216,6 @@ export default {
{
label: '开通日期',
prop: 'activeTime'
// addHtml: 'activeTime'
},
{
......@@ -240,7 +239,8 @@ export default {
cardName: '',
price: '',
marketPrice: '',
linkUrl: ''
linkUrl: '',
tryAble:''
},
copyRuleForm: {},
rules: {
......@@ -263,7 +263,7 @@ export default {
created() {
if (window.__POWERED_BY_QIANKUN__) {
//运行在qiankun容器中
this.merchantId = this.$globalState.session.merchantId
this.merchantId = this.$globalState.session.merchantId
}
this.getCardContentFun()
},
......@@ -301,11 +301,13 @@ export default {
},
getCardContentFun() {
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.price = res[0].price
this.ruleForm.marketPrice = res[0].marketPrice
this.ruleForm.linkUrl = res[0].url
this.ruleForm.tryAble=res[0].tryAble
})
},
openEditWrap() {
......@@ -328,7 +330,7 @@ export default {
params.cardClassName = this.ruleForm.cardName
params.price = this.ruleForm.price
params.marketPrice = this.ruleForm.marketPrice
params.tryAble=this.ruleForm.tryAble
updateCardContent(params).then(res => {
if (!res) {
return
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!