Commit 89a2138a by 李长胜

修改会员中心

1 parent 75077e82
<template> <template>
<div class="live-room"> <div class="live-room">
<div class="memberCardWrap"> <div class="memberCardWrap" v-if="!(merchantModel==2 && accountLevel==1)">
<div class="cardBoxWrap"> <div class="cardBoxWrap">
<img src="@/assets/memberCard.png" alt="" /> <img src="@/assets/memberCard.png" alt="" />
<div class="masonry"> <div class="masonry">
...@@ -50,7 +50,7 @@ ...@@ -50,7 +50,7 @@
</div> </div>
</div> </div>
<p class="pageTitle">会员中心</p> <p class="pageTitle" v-if="!(merchantModel==2 && accountLevel==1)">会员中心</p>
<div class="live-room container"> <div class="live-room container">
<el-form :inline="true" style="width: 100%" :model="searchForm" label-width="70px" label-position="right"> <el-form :inline="true" style="width: 100%" :model="searchForm" label-width="70px" label-position="right">
<el-row> <el-row>
...@@ -258,13 +258,17 @@ export default { ...@@ -258,13 +258,17 @@ export default {
//权益 - 弹窗 //权益 - 弹窗
isDialogVisible: false, isDialogVisible: false,
merchantData: {}, merchantData: {},
merchantId: 0 //记得改 glsxadmin:44184606 merchantId: 0,//记得改 glsxadmin:44184606
merchantModel: 1, //集团:1,门店:2
accountLevel: 0, //1,2,3,4工厂,省代,市代,门店
} }
}, },
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.merchantModel = this.$globalState.session.merchantModel
this.accountLevel = this.$globalState.session.accountLevel
} }
this.getCardContentFun() this.getCardContentFun()
}, },
......
...@@ -119,8 +119,8 @@ ...@@ -119,8 +119,8 @@
width: footerWidth + 'px' width: footerWidth + 'px'
}" }"
> >
<el-button type="primary" @click="submitForm('ruleForm')" size="small">创建</el-button> <el-button type="primary" @click="submitForm('ruleForm')" size="medium">创建</el-button>
<el-button type="primary" @click="goBack" size="small">取消</el-button> <el-button type="primary" @click="goBack" size="medium">取消</el-button>
</div> </div>
<!-- :hasScroll="false" :noBtnOk="true" :noCancel="true" :noClose="false" --> <!-- :hasScroll="false" :noBtnOk="true" :noCancel="true" :noClose="false" -->
<glsx-dialog title="" top="30vh" :hasScroll="false" width="547px" btnCloseLabel="取消" :noClose="false" :noCancel="true" btnSize="small" :isVisible="isDialogVisible" :showClose="false" @closeDialog="handleClose" @confirmDialog="handleConfirm"> <glsx-dialog title="" top="30vh" :hasScroll="false" width="547px" btnCloseLabel="取消" :noClose="false" :noCancel="true" btnSize="small" :isVisible="isDialogVisible" :showClose="false" @closeDialog="handleClose" @confirmDialog="handleConfirm">
......
...@@ -46,8 +46,8 @@ ...@@ -46,8 +46,8 @@
width: footerWidth + 'px' width: footerWidth + 'px'
}" }"
> >
<el-button type="primary" @click="submitForm('ruleForm')" size="small">创建</el-button> <el-button type="primary" @click="submitForm('ruleForm')" size="medium">创建</el-button>
<el-button type="primary" @click="goBack" size="small">取消</el-button> <el-button type="primary" @click="goBack" size="medium">取消</el-button>
</div> </div>
<!-- :modalAppendToBody="false" --> <!-- :modalAppendToBody="false" -->
<glsx-dialog title="套餐服务" class="setmealServiceDialog" width="1142px" :noCancel="true" :noClose="false" btnSize="small" :isVisible="setmealDialogVisible" @closeDialog="handleClose" @confirmDialog="handleConfirm"> <glsx-dialog title="套餐服务" class="setmealServiceDialog" width="1142px" :noCancel="true" :noClose="false" btnSize="small" :isVisible="setmealDialogVisible" @closeDialog="handleClose" @confirmDialog="handleConfirm">
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!