Commit cde31988 by zhouzy

1

1 parent bdc45da5
......@@ -6356,9 +6356,9 @@
}
},
"glsx-components": {
"version": "1.2.3",
"resolved": "https://registry.npmjs.org/glsx-components/-/glsx-components-1.2.3.tgz",
"integrity": "sha512-WMMIfbWjbmtLYLNZFftl7MOG877shwirrGQyl2fhMdlcTEVKjJVtMgNLo2BjgWSPVu9b0SvDdhk1d7JuTns/tg==",
"version": "1.2.5",
"resolved": "https://registry.npmjs.org/glsx-components/-/glsx-components-1.2.5.tgz",
"integrity": "sha512-lXobGXHn8NlO3SI/q7XpdmW5HaqIdwRuaSGkiy9Lfq5hFgi55VmSjJpEh99Srk2blCMNP4tHvVfdS/z1rucB2w==",
"requires": {
"core-js": "^3.6.5",
"element-ui": "^2.15.6",
......
......@@ -14,7 +14,7 @@
"el-tree-transfer": "^2.4.7",
"element-ui": "^2.15.6",
"glsx-common": "^1.4.9",
"glsx-components": "^1.2.4",
"glsx-components": "^1.2.5",
"glsx-vue-components": "^1.0.15",
"jquery": "^3.6.0",
"vue": "^2.6.14",
......
......@@ -281,9 +281,5 @@ img {
height: 28px;
border-bottom: 1px solid #d8d8d8;
}
.titleText {
margin-left: 20px;
line-height: 28px;
}
/*# sourceMappingURL=tao.css.map */
\ No newline at end of file
<template>
<div class="equity-dialog">
<el-dialog title="" :visible.sync="show" :show-close="false" :close-on-press-escape="false" :close-on-click-modal="false" width="712px" class="equityDialog">
<div class="baseinformation">
<span class="titleDialogText">{{ type == 1 ? '添加汽车权益' : '添加商品权益' }}</span>
</div>
<el-dialog :title=" type == 1 ? '添加汽车权益' : '添加商品权益'" :visible.sync="show" :show-close="true" :close-on-press-escape="false" :close-on-click-modal="false" width="712px" class="equityDialog">
<div class="form">
<el-form class="equityForm" :model="form" :rules="rules" ref="ruleForm" label-position="right" label-width="auto">
<el-form-item v-if="type == 1" label="服务提供方" prop="supplier">
......@@ -312,4 +309,18 @@ line-height: 28px;
.buttonBtn .el-button+.el-button {
margin-left: 40px;
}
.equityDialog .el-dialog__header{
padding: 20px 20px 20px;
border-bottom: 1px solid #d8d8d8;
font-size: 20px;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
}
.equityDialog .el-dialog__footer {
padding: 16px 20px;
-webkit-box-sizing: border-box;
box-sizing: border-box;
border-top: 1px solid #e6e6e6;
text-align: center;
}
</style>
\ No newline at end of file
......@@ -87,8 +87,8 @@ export default {
}
},
mounted() {
this.$refs.goodsTable.tableHeightValues = '500'
this.$refs.carTable.tableHeightValues = '500'
// this.$refs.goodsTable.tableHeightValues = '500'
// this.$refs.carTable.tableHeightValues = '500'
this.init()
},
methods: {
......
......@@ -7,7 +7,7 @@
<span style="margin-left: 8px">新建权益卡</span>
</el-button>
</div>
<div class="tableBox" style="margin-left: 40px; margin-top: 20px">
<div class="tableBox" style="margin-left: 40px; margin-top: 20px; margin-right: 20px">
<div class="topline">
<div class="selectStore">搜索门店</div>
<el-select size="small" v-model="searchForm.merchantName" filterable remote reserve-keyword placeholder="请输入门店名称" :remote-method="remoteMethod" :loading="loading" clearable style="margin-left: 10px">
......@@ -19,7 +19,7 @@
</div>
</div>
<div class="tableCtn">
<GLTable ref="recordTable" :searchForm="searchForm" :tableParams="tableParams" :getListApi="getListApi" :pageConf="pageConf">
<GLTable ref="recordTable" :searchForm="searchForm" :tableParams="tableParams" :getListApi="getListApi" :pageConf="pageConf" :noDataImg="url" @setTableFinishFun="setTableFinishFun">
<span slot="auth-button" slot-scope="scope" :data="scope.scope">
<el-button type="text" @click="edit(scope.scope)" class="tableBtn" size="small">编辑</el-button>
<el-button type="text" :disabled="scope.scope.tryAble == 0 ? true : false" @click="extension(scope.scope)" class="tableBtn" size="small">推广</el-button>
......@@ -29,8 +29,8 @@
</div>
</div>
<!-- 推广弹窗 -->
<el-dialog :visible.sync="isVisible" :before-close="handleClose" :close-on-click-modal="false" width="547px">
<div class="baseinformation"><span class="titleText">试用推广</span></div>
<el-dialog title="试用推广" :visible.sync="isVisible" :before-close="handleClose" :close-on-click-modal="false" width="547px" class="addCardsDialog">
<!-- <div class="baseinformation"><span class="titleText">试用推广</span></div> -->
<el-form :model="editForm" :rules="rules" ref="ruleForm" label-width="68px">
<div class="form">
<div class="main-qrcode">
......@@ -46,13 +46,13 @@
</div>
</el-form>
<div slot="footer">
<el-button type="primary" @click="handleConfirm" size="small">确定</el-button>
<el-button size="small" @click="handleClose">取消</el-button>
<el-button size="small" @click="handleClose">取消</el-button>
<el-button type="primary" @click="handleConfirm" size="small">确定</el-button>
</div>
</el-dialog>
<!-- 新建权益卡弹窗 -->
<el-dialog title="" v-if="dialogVisible" :visible.sync="dialogVisible" width="958px" :before-close="closeDialog">
<div class="baseinformation"><span class="titleText">基本信息</span></div>
<el-dialog title="基本信息" v-if="dialogVisible" :visible.sync="dialogVisible" width="958px" :before-close="closeDialog" class="addCardsDialog">
<!-- <div class="baseinformation"><span class="titleText">基本信息</span></div> -->
<el-form class="dialogForm" :model="ruleForm" :rules="rules" ref="ruleForm" label-width="auto" label-position="left">
<!-- 基础表单 -->
<div class="form">
......@@ -104,13 +104,17 @@
<span class="codeTxt2">设置后将生成试用链接和二维码可用于推广</span>
</el-form-item>
</div>
<div class="buttonCtn">
<!-- <div class="buttonCtn">
<el-form-item>
<el-button :disabled="submitBtn" type="primary" @click="submitForm('ruleForm')" size="small">提交</el-button>
<el-button size="small" @click="resetForm('ruleForm')">取消</el-button>
</el-form-item>
</div>
</div> -->
</el-form>
<span slot="footer" class="dialog-footer">
<el-button size="small" @click="resetForm('ruleForm')">取消</el-button>
<el-button :disabled="submitBtn" type="primary" @click="submitForm('ruleForm')" size="small">提交</el-button>
</span>
</el-dialog>
</div>
</template>
......@@ -134,10 +138,12 @@ function date_format(date) {
var ss = date2.getSeconds() < 10 ? '0' + date2.getSeconds() : date2.getSeconds()
return YY + MM + DD + ' ' + hh + mm + ss
}
import url from '@/assets/empty.png'
// import {memberCardDetails} from "@/api/test";
export default {
data() {
return {
url: url,
pageConf: { pageSize: 'pageSize', pageNum: 'pageNum', totalCount: 'total' },
hasTryNum: '',
value: false,
......@@ -299,6 +305,12 @@ export default {
}
},
methods: {
setTableFinishFun() {
//接收到的数据为空
if (!this.$refs.table.data.length) {
this.$refs.table.setTableHeightFun()
}
},
closeDialog() {
this.value = false
this.dialogVisible = false
......@@ -592,7 +604,6 @@ export default {
}
.tableCtn {
margin-top: 20px;
margin-left: 20px;
margin-right: 20px;
}
/* 弹窗界面样式 */
......@@ -664,7 +675,7 @@ export default {
margin-right: 20px;
}
.imgBg {
background: rgb(255, 173, 134);
background: #5850ff;
}
.topline {
display: flex;
......@@ -746,5 +757,19 @@ export default {
.tryDays {
margin-top: 12px;
}
.addCardsDialog .el-dialog__header {
padding: 20px 20px 20px;
border-bottom: 1px solid #d8d8d8;
font-size: 20px;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
}
.addCardsDialog .el-dialog__footer {
padding: 16px 20px;
-webkit-box-sizing: border-box;
box-sizing: border-box;
border-top: 1px solid #e6e6e6;
text-align: center;
}
</style>
\ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!