Commit 01d09a6c by 王志慧

commit

1 parent 344f4981
......@@ -102,7 +102,7 @@
<GLTable ref="memberCenterRef" @setTableFinishFun="setTableFinishFun" :searchForm="searchFormTable" :tableParams="tableParams" :getListApi="getListApi" :pageConf="pageConf" :beforeSearchFn="beforeSearchFn">
<div slot="cardInfo" slot-scope="scope">
<GLTable ref="cardListRef" :hasNum="false" :hasPage="false" :noDataImg="url" :tableParams="cardParams" :tableData="scope.scope.list"></GLTable>
<GLTable class="centerTable" ref="cardListRef" :hasNum="false" :hasPage="false" :noDataImg="url" :tableParams="cardParams" :tableData="scope.scope.list"></GLTable>
</div>
<span slot="accountName" slot-scope="scope">
<div>{{ scope.scope.accountName }}</div>
......@@ -132,9 +132,6 @@
</div>
</div>
</GLDialog>
<!-- <glsx-dialog title="权益详情" width="712px" :noBtnOk="true" :noCancel="true" :noClose="false" typeName="primary" btnCancelLabel="关闭" btnSize="small" :isVisible="isDialogVisible" :showClose="false" @closeDialog="handleClose" @confirmDialog="handleClose">
</glsx-dialog> -->
<!-- 推广弹窗 -->
<GLDialog :mode="mode" title="试用推广" :hasFooter="hasFooter" :type="'error'" @onOk="handleQRConfirm" @onCancel="handleQRClose" :visible.sync="isQRVisible">
<el-form class="proForm" :model="ruleForm" :rules="rules" ref="ruleForm" label-width="68px">
......@@ -164,7 +161,6 @@ const cloneText = message => {
input.setSelectionRange(0, input.value.length), document.execCommand('Copy')
document.body.removeChild(input)
}
import glsxDialog from '@/components/glsx-dialog'
import { getCenterListApi, getMoreMerchant, getCardContent, updateCardContent, memberExportApi, getQrUrl, getCardtypeList } from '@/api/modules/center'
import { statusList, memberTypeList, exportFn } from '@/common/constant'
export default {
......@@ -173,9 +169,6 @@ export default {
return data
}
},
components: {
// glsxDialog
},
data() {
return {
mode: 'mid',
......@@ -289,15 +282,18 @@ export default {
tableColumns: [
{
label: '开通门店',
prop: 'merchantName'
prop: 'merchantName',
width: 300
},
{
label: '开通方式',
prop: 'activeTypeDesc'
prop: 'activeTypeDesc',
width: 200
},
{
label: '开通日期',
prop: 'activeTime'
prop: 'activeTime',
width: 300
}
]
},
......@@ -582,6 +578,9 @@ export default {
</script>
<style lang="scss" scoped>
.centerTable {
padding-left: 10px;
}
/deep/ .el-input-number--small {
width: 53px;
margin: 0 3px;
......
......@@ -40,11 +40,11 @@
</glsx-descriptions>
</div>
<template v-if="detailData.orderType == 1">
<div class="order-info m-b-7">
<div class="order-info">
<div class="order-info-title">套餐使用详情</div>
<GLTable class="meal-table" ref="mealRef" :searchForm="tableSearchForm" :getListApi="getListApi" :hasPage="false" :tableParams="tableParams">
<div slot="verification" slot-scope="scope">
<GLTable :hasNum="false" :hasPage="false" :noDataImg="url" :tableParams="verificationParams" :tableData="scope.scope.verificationPackageCouponList">
<GLTable :hasNum="false" class="verificationTable" :hasPage="false" :noDataImg="url" :tableParams="verificationParams" :tableData="scope.scope.verificationPackageCouponList">
<span slot="verificationDate" slot-scope="scope">
{{ dateFormatFun(scope.scope.verificationDate) }}
</span>
......@@ -61,11 +61,9 @@
</div>
</template>
</div>
<div class="footer-panel">
<div>
<el-button type="primary" @click="goBack">返回</el-button>
</div>
</div>
<GLFooter>
<el-button type="primary" @click="goBack">返回</el-button>
</GLFooter>
</div>
</template>
......@@ -223,12 +221,14 @@ export default {
tableColumns: [
{
label: '核销门店',
prop: 'verificationMerchantName'
prop: 'verificationMerchantName',
width: 300
},
{
label: '核销日期',
prop: 'verificationDate',
addHtml: 'verificationDate'
addHtml: 'verificationDate',
width: 300
}
]
},
......@@ -290,6 +290,7 @@ export default {
padding: 15px 0 15px 20px;
border-bottom: 1px solid #d8d8d8;
}
&-wrap {
padding: 32px 68px;
}
......@@ -299,6 +300,9 @@ export default {
}
.meal-table {
padding: 20px;
.verificationTable {
padding-left: 10px;
}
.content-meal-logo {
width: 58px;
height: 22px;
......
......@@ -164,18 +164,11 @@
</div>
</div>
</div>
<div
class="footer-panel"
:style="{
left: footerLeft + 'px',
width: footerWidth + 'px'
}"
>
<el-button type="primary" @click="submitForm('ruleForm')" size="medium" :loading="sloading" v-if="showSubmit">确定</el-button>
<GLFooter>
<el-button type="primary" @click="goBack" size="medium">取消</el-button>
</div>
<GLDialog mode="small" :hasFooter="hasFooter" type="warning" content="当前有内容信息未保存,是否继续返回?" @onOk="handleConfirm" @onCancel="handleClose" :visible.sync="isDialogVisible">
</GLDialog>
<el-button type="primary" @click="submitForm('ruleForm')" size="medium" :loading="sloading" v-if="showSubmit">确定</el-button>
</GLFooter>
<GLDialog mode="small" :hasFooter="hasFooter" type="warning" content="当前有内容信息未保存,是否继续返回?" @onOk="handleConfirm" @onCancel="handleClose" :visible.sync="isDialogVisible"></GLDialog>
</div>
</template>
......@@ -183,9 +176,6 @@
import { limitPrice } from '@/common/constant'
import { createService, detailService, updateService } from '@/api/modules/service'
export default {
components: {
// glsxDialog
},
data() {
var checkZero = (rule, value, callback) => {
setTimeout(() => {
......@@ -560,7 +550,7 @@ export default {
<style lang="scss" scoped>
.live-room {
/deep/ .el-icon-warning{
/deep/ .el-icon-warning {
color: #5850ff !important;
}
.topMsg {
......@@ -584,7 +574,7 @@ export default {
}
}
.container {
margin: 0 0px 100px;
margin: 0 0px 16px;
position: relative;
/deep/ .el-form-item__content {
......@@ -697,7 +687,6 @@ export default {
z-index: 999;
box-shadow: 0px -1px 1px 0px rgba(88, 80, 255, 0.1);
}
}
.right_show {
position: absolute;
......
......@@ -263,7 +263,6 @@ export default {
}
},
created() {
console.log(this.$route.query.activetab)
if (window.__POWERED_BY_QIANKUN__) {
//运行在qiankun容器中
this.merchantId = this.$globalState.session.merchantId
......
......@@ -65,12 +65,10 @@
</el-form-item>
</el-form>
</div>
<div class="footer-panel">
<div>
<el-button type="primary" @click="submitForm()" size="medium" :loading="sloading">提交</el-button>
<el-button @click="goBack" size="medium">取消</el-button>
</div>
</div>
<GLFooter>
<el-button @click="goBack" size="medium">取消</el-button>
<el-button type="primary" @click="submitForm()" size="medium" :loading="sloading">提交</el-button>
</GLFooter>
<GLDialog mode="small" type="warning" @onOk="handleTipConfirm" content="当前有内容信息未保存,是否继续返回?" @onCancel="handleTipClose" :visible.sync="isTipDialogVisible"></GLDialog>
<select-gift-dialog v-if="isSelectGiftVisible" :isSelectGiftVisible="isSelectGiftVisible" :selectedGiftList="selectedMealList" @handleGiftConfirm="handleGiftConfirm" @handleGiftClose="handleGiftClose"></select-gift-dialog>
</div>
......@@ -460,7 +458,7 @@ export default {
<style lang="scss" scoped>
.live-room {
/deep/ .el-icon-warning{
/deep/ .el-icon-warning {
color: #5850ff !important;
}
.topMsg {
......@@ -484,7 +482,7 @@ export default {
}
}
.container {
margin: 0 0px 100px;
margin: 0 0px 16px;
position: relative;
min-height: calc(100vh - 300px);
.allChoseWrap {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!