Commit 73fe1b28 by 王志慧

feat

1 parent 9be0ee1e
......@@ -139,13 +139,13 @@ html {
// width: 215px;
}
.marketing .container {
.container {
background: #ffffff;
// box-shadow: 0 10px 20px 0 rgba(88, 80, 255, 0.1);
padding: 20px;
}
.marketing.edit-box .container {
.edit-box .container {
padding: 0 0 20px;
}
......@@ -203,7 +203,7 @@ html {
background: linear-gradient(to right, transparent, #fff 55%);
}
.marketing .list-tips {
.list-tips {
font-size: 14px;
color: rgba(0, 0, 0, 0.65);
padding: 10px 16px;
......@@ -215,69 +215,69 @@ html {
border-radius: 4px;
}
.marketing .list-tips .tips-img {
.list-tips .tips-img {
vertical-align: middle;
margin: -2px 8px 0 0;
}
.marketing .list-tips .red-txt {
.list-tips .red-txt {
color: #eb4e4e;
}
.marketing .red-txt {
.red-txt {
color: #eb4e4e;
}
.marketing .wechat-container {
.wechat-container {
width: 290px;
margin-left: 32px;
background: #ffffff;
position: relative;
}
.marketing .w-100-per,
.marketing .w-100-percent {
.w-100-per,
.w-100-percent {
width: 100% !important;
}
.marketing .wechat-container .wechat-box {
.wechat-container .wechat-box {
width: 290px;
}
.marketing .edit-container {
.edit-container {
// margin-bottom: 84px;
// min-height: calc(100vh - 156px);
margin-bottom: 16px;
}
.marketing .approval-container {
.approval-container {
margin-bottom: 10px;
}
.marketing .edit-form-container {
.edit-form-container {
margin-top: 20px;
}
.marketing .form-sub-block {
.form-sub-block {
// width: 686px;
background: #f9f9f9;
padding: 20px 80px 20px 20px;
}
.marketing .f-right {
.f-right {
float: right;
}
.marketing .footer-btns {
.footer-btns {
float: right;
margin-bottom: 18px;
}
.marketing .color-transparent {
.color-transparent {
background-color: transparent;
}
.marketing .default-blue-btn {
.default-blue-btn {
color: #5850ff;
border-color: #5850ff;
height: 32px;
......@@ -293,43 +293,43 @@ html {
background-color: rgba(144, 147, 153, 0.5) !important;
}
.marketing .table-title {
.table-title {
line-height: 32px;
}
.marketing .table-circle {
.table-circle {
display: inline-block;
width: 6px;
height: 6px;
border-radius: 4px;
}
.marketing .back-orange {
.back-orange {
background-color: #fdb757;
}
.marketing .back-blue {
.back-blue {
background-color: #5850ff;
}
.marketing .back-grey {
.back-grey {
background-color: #999999;
}
.marketing .back-green {
.back-green {
background-color: #2cca74;
}
.marketing .back-red {
.back-red {
background-color: #eb4e4e;
}
.marketing .el-table .cell {
.el-table .cell {
line-height: 17px;
padding: 0 16px !important;
}
.marketing .table-btns .el-button:first-child {
.table-btns .el-button:first-child {
padding: 0;
border: 0;
}
......@@ -359,109 +359,109 @@ html {
border-radius: 50%;
}
.marketing .pointer {
.pointer {
cursor: pointer;
}
.marketing .img-36 {
.img-36 {
width: 36px;
height: 36px;
}
.marketing .img-60 {
.img-60 {
width: 60px;
height: 60px;
}
.marketing .img-100 {
.img-100 {
width: 100px;
height: 100px;
}
.marketing .img-120 {
.img-120 {
width: 120px;
height: 120px;
}
.marketing .w-150 {
.w-150 {
width: 150px;
}
.marketing .w-320 {
.w-320 {
width: 320px;
}
.marketing .m-t-8 {
.m-t-8 {
margin-top: 8px;
}
.marketing .m-t-10 {
.m-t-10 {
margin-top: 10px;
}
.marketing .m-t-20 {
.m-t-20 {
margin-top: 20px;
}
.marketing .m-b-8 {
.m-b-8 {
margin-bottom: 8px;
}
.marketing .m-b-10 {
.m-b-10 {
margin-bottom: 10px;
}
.marketing .m-b-20 {
.m-b-20 {
margin-bottom: 20px;
}
.marketing .m-b-60 {
.m-b-60 {
margin-bottom: 60px;
}
.marketing .m-r-8 {
.m-r-8 {
margin-right: 8px;
}
.marketing .m-r-10 {
.m-r-10 {
margin-right: 10px;
}
.marketing .m-r-20 {
.m-r-20 {
margin-right: 20px;
}
.marketing .m-l-10 {
.m-l-10 {
margin-left: 10px !important;
}
.marketing .m-l-20 {
.m-l-20 {
margin-left: 20px;
}
.marketing .p-20 {
.p-20 {
padding: 20px;
}
.marketing.p-t-10,
.marketing .p-t-10 {
.p-t-10,
.p-t-10 {
padding-top: 10px;
}
.marketing.p-t-20,
.marketing .p-t-20 {
.p-t-20,
.p-t-20 {
padding-top: 20px;
}
.marketing .p-l-40 {
.p-l-40 {
padding-left: 40px;
}
.marketing .p-0 {
.p-0 {
padding: 0;
}
.marketing .circle {
.circle {
display: inline-block;
width: 6px;
height: 6px;
......@@ -470,50 +470,50 @@ html {
background-color: #5850ff;
}
.marketing .grey {
.grey {
background-color: #999999;
}
.marketing .txt-green {
.txt-green {
color: #61cc43;
}
.marketing .txt-orange {
.txt-orange {
color: #fb8f28;
}
.marketing .txt-blue {
.txt-blue {
color: #5850ff;
}
.marketing .txt-grey {
.txt-grey {
color: #999999;
}
.marketing .text-e8 {
.text-e8 {
color: #eb4e4e !important;
}
.marketing .txt-center {
.txt-center {
text-align: center;
}
.marketing .cursor-pointer {
.cursor-pointer {
cursor: pointer;
color: #5850ff;
}
.marketing .edit-tips {
.edit-tips {
line-height: 20px;
font-size: 12px;
color: #999999;
}
.marketing .p-relative {
.p-relative {
position: relative;
}
.marketing .footer {
.footer {
position: fixed;
bottom: 0;
width: 100%;
......@@ -525,47 +525,47 @@ html {
z-index: 999;
}
.marketing .flex-default {
.flex-default {
display: flex;
}
.marketing .flex {
.flex {
display: flex;
justify-content: space-between;
}
.marketing .flex-wrap {
.flex-wrap {
display: flex;
flex-wrap: wrap;
}
.marketing .flex-align {
.flex-align {
display: flex;
align-items: center;
}
.marketing .flex-top {
.flex-top {
display: flex;
align-items: flex-start;
}
.marketing .flex-center {
.flex-center {
display: flex;
justify-content: center;
align-items: center;
}
.marketing .flex-between {
.flex-between {
display: flex;
justify-content: space-between;
align-items: center;
}
.marketing .flex-grow {
.flex-grow {
flex: 1;
}
.marketing .edit-title {
.edit-title {
font-size: 16px;
font-weight: 600;
height: 58px;
......@@ -575,7 +575,7 @@ html {
padding: 0 0 0 20px;
}
// .marketing .edit-sub-title::before {
// .edit-sub-title::before {
// position: absolute;
// display: inline-block;
// content: '';
......@@ -585,7 +585,7 @@ html {
// left: 0;
// background-color: #0947C6;
// }
.marketing .edit-sub-title {
.edit-sub-title {
position: relative;
font-size: 13px;
font-weight: 700;
......@@ -598,11 +598,11 @@ html {
}
.message-Z-zinde,
.marketing .message-Z-zinde {
.message-Z-zinde {
z-index: 9999 !important;
}
.marketing .txt-red {
.txt-red {
color: red;
}
......@@ -614,7 +614,7 @@ html {
-webkit-box-orient: vertical;
}
.marketing .table-img .el-table--medium td.el-table__cell {
.table-img .el-table--medium td.el-table__cell {
padding: 2px 0 !important;
}
......@@ -648,16 +648,16 @@ html {
/* tab */
.marketing .el-tabs__nav-wrap:after {
.el-tabs__nav-wrap:after {
opacity: 0;
}
.marketing .el-tabs__item {
.el-tabs__item {
height: 20px !important;
line-height: 10px !important;
}
.marketing .el-tabs__item {
.el-tabs__item {
box-sizing: border-box;
width: 120px;
height: 48px !important;
......@@ -673,22 +673,22 @@ html {
margin-right: 1px;
}
.marketing .el-tabs__active-bar {
.el-tabs__active-bar {
display: none;
}
.marketing .el-tabs__header {
.el-tabs__header {
margin: 0 !important;
}
.marketing .el-tabs__item.is-active {
.el-tabs__item.is-active {
color: #5850ff;
background: #ffffff !important;
border-radius: 4px 4px 0px 0px;
border: 1px solid #eeedff !important;
}
.marketing .tips-icon {
.tips-icon {
display: inline-block;
width: 14px;
height: 14px;
......@@ -711,39 +711,39 @@ html {
font-size: 16px;
}
.marketing .text-10 {
.text-10 {
font-size: 10px;
}
.marketing .text-14 {
.text-14 {
font-size: 14px;
}
.marketing .text-16 {
.text-16 {
font-size: 16px;
}
.marketing .color-3 {
.color-3 {
color: #333333;
}
.marketing .line-20 {
.line-20 {
line-height: 20px;
}
.marketing .weight-6 {
.weight-6 {
font-weight: 600;
}
.marketing .weight-5 {
.weight-5 {
font-weight: 500;
}
.marketing .weight-4 {
.weight-4 {
font-weight: 400;
}
.marketing .mt-10 {
.mt-10 {
margin-top: 10px;
}
......
......@@ -19,8 +19,8 @@ export const fetchConfig = function(isEnv = true) {
// return Promise.resolve(cfg)
// }
//return window.fetch('https://', {}).then(res => res.json())
// return new Http().get('https://oss-config.dev.glsx.com.cn/mock/6345096902322627d6b83e83/battles/config')
return new Http().get('https://oss-config.glsx.com.cn/mock/635fc7a254298ae78614407a/battles/config')
return new Http().get('https://oss-config.dev.glsx.com.cn/mock/6345096902322627d6b83e83/battles/config')
// return new Http().get('https://oss-config.glsx.com.cn/mock/635fc7a254298ae78614407a/battles/config')
}
export const config = {
install(vue, cfg) {
......
<template>
<div class="addConfig-wrap">
<div class="header color-3 weight-6 text-16">
门店配置
<span class="weight-5 color6 font-14 ml12">佛山市顺德区世界汽车贸易有限公司44202977</span>
</div>
<div class="config-wrap gl-form-page">
<el-form ref="form" :model="form" label-width="154px">
<el-form-item label="所属企业:">
<el-select v-model="form.merchantId" placeholder="请选择" @change="handleMerchatChange">
<el-option v-for="item in merchantList" :key="item.merchantId" :label="item.merchantName" :value="item.merchantId"></el-option>
</el-select>
</el-form-item>
</el-form>
</div>
<component :is="dialogComponent" ref="componentRef"></component>
</div>
</template>
<script>
import personalDialog from './components/dialogs/personalDialog.vue'
import bulletinDialog from './components/dialogs/bulletinDialog.vue'
import charactersDialog from './components/dialogs/charactersDialog.vue'
import dailyDialog from './components/dialogs/dailyDialog.vue'
import progressDialog from './components/dialogs/progressDialog.vue'
import replenishmentDialog from './components/dialogs/replenishmentDialog.vue'
export default {
components: {
personalDialog,
bulletinDialog,
charactersDialog,
dailyDialog,
progressDialog,
replenishmentDialog
},
data() {
return {
dialogComponent: 'personalDialog',
merchantList: [],
form: {}
}
},
mounted() {
this.getMerchantList()
},
methods: {
getMerchantList() {
this.$apis.battle.getMerchantList({}).then(res => {
this.merchantList = res
// this.config.merchantId = this.baseData.merchantList[0]?.merchantId
// this.config.merchantName = this.baseData.merchantList[0]?.merchantName
})
},
//所属企业
handleMerchatChange(val) {
this.getDepartmentTree()
this.merchantList.forEach(item => {
item.merchantId == val ? (this.config.merchantName = item.merchantName) : ''
})
this.wechat = {
staffId: '',
automaticName: ''
}
this.groupCofList = {
xiReport: [],
zhanReport: [],
orderReport: [],
saReport: [],
saPerReport: [],
scheduleReport: []
}
}
}
}
</script>
<style lang="scss" scoped>
.addConfig-wrap {
background: #fff;
.header {
width: 100%;
height: 58px;
border-bottom: 1px solid #e5e5e5;
line-height: 58px;
padding-left: 20px;
}
.ml12 {
margin-left: 12px;
}
.config-wrap {
margin: 32px 20px;
min-height: 600px;
}
}
</style>
<template>
<GLDialog :mode="mode" title="#2.SA喜报 预览配置显示字段" :visible.sync="isDialogVisible">
<div class="popup-wrap">
<div class="left-wrap">
<div class="img-wrap">
<img src="@/assets/buttetin/bulletin.png" />
</div>
<p class="color-3 txt-center text-14">图示效果</p>
</div>
<div class="right-wrap">
<el-form ref="form" :model="form" label-width="154px">
<div class="item-line">
<el-form-item label="商品名称:">
<el-switch class="switchStyle" v-model="form.delivery" active-text="显示" inactive-text="关闭"></el-switch>
</el-form-item>
<span class="warn">关闭后推送的喜报不会显示商品名称</span>
</div>
<div class="item-line">
<el-form-item label="剔除0产值的员工:">
<el-switch class="switchStyle" v-model="form.delivery" active-text="显示" inactive-text="关闭"></el-switch>
</el-form-item>
<span class="warn">关闭后推送的喜报将显示产值为0的销售名单,喜报长度可能过长,可阅读性较差</span>
</div>
</el-form>
<div class="explain">
<div class="color6 weight-6 font-14">
<i class="el-icon-warning"></i>
推送机制说明
</div>
<p class="mrp">驻店新建下单或扫码下单,客户支付成功后产生有效订单时自动推送, 订单金额低于1元时四舍五入为0元产值订单进行推送,测试订单不推送</p>
</div>
</div>
</div>
</GLDialog>
</template>
<script>
export default {
data() {
return {
isDialogVisible: true,
mode: 'big',
form: {}
}
}
}
</script>
<style lang="scss" scoped>
.popup-wrap {
display: flex;
padding: 0 72px;
.img-wrap {
width: 250px;
height: 560px;
margin-bottom: 14px;
img {
width: 100%;
height: 100%;
}
}
.right-wrap {
margin-top: 12px;
/deep/.el-form-item {
margin-bottom: 0px;
}
.item-line {
margin-bottom: 20px;
}
.switchStyle /deep/ .el-switch__label {
position: absolute;
display: none;
color: #fff;
font-size: 12px !important;
line-height: 20px;
}
.el-switch__core {
background-color: rgba(166, 166, 166, 1);
}
.switchStyle /deep/.el-switch__label--left {
z-index: 9;
left: 20px;
}
.switchStyle /deep/ .el-switch__label--right {
z-index: 9;
left: 4px;
}
.switchStyle /deep/ .el-switch__label.is-active {
display: block;
}
.switchStyle /deep/ .el-switch__core {
width: 56px !important;
}
.switchStyle /deep/ .el-switch__label {
width: 56px !important;
}
.explain {
width: 486px;
height: 102px;
background: #f4f6fc;
padding: 16px;
margin-left: 70px;
box-sizing: border-box;
position:absolute;
bottom:110px;
.el-icon-warning {
width: 16px;
height: 16px;
margin-right: 4px;
}
.mrp {
margin: 8px 0 16px 20px;
line-height: 22px;
}
}
}
.warn {
font-size: 12px;
color: #999999;
margin-left: 154px;
}
}
</style>
<template>
<GLDialog :mode="mode" title="#3.文字喜报 预览配置显示字段" :visible.sync="isDialogVisible">
<div class="popup-wrap">
<div class="left-wrap">
<div class="img-wrap">
<img src="@/assets/buttetin/characters.png" />
</div>
<p class="color-3 txt-center text-14">图示效果</p>
</div>
<div class="right-wrap">
<el-form ref="form" :model="form" label-width="154px">
<div class="item-line">
<el-form-item label="编辑文本:">
<el-switch class="switchStyle" v-model="form.delivery" active-text="显示" inactive-text="关闭"></el-switch>
</el-form-item>
<span class="warn">关闭后推送的喜报不会显示客户车型</span>
</div>
</el-form>
<div class="explain">
<div class="color6 weight-6 font-14">
<i class="el-icon-warning"></i>
推送机制说明
</div>
<p class="mrp">驻店新建下单或扫码下单,客户支付成功后产生有效订单时自动推送, 订单金额低于1元时四舍五入为0元产值订单进行推送,测试订单不推送</p>
</div>
</div>
</div>
</GLDialog>
</template>
<script>
export default {
data() {
return {
isDialogVisible: true,
mode: 'big',
form: {}
}
}
}
</script>
<style lang="scss" scoped>
.popup-wrap {
display: flex;
padding: 0 72px;
.img-wrap {
width: 250px;
height: 560px;
margin-bottom: 14px;
img {
width: 100%;
height: 100%;
}
}
.right-wrap {
margin-top: 12px;
/deep/.el-form-item {
margin-bottom: 0px;
}
.item-line {
margin-bottom: 20px;
}
.switchStyle /deep/ .el-switch__label {
position: absolute;
display: none;
color: #fff;
font-size: 12px !important;
line-height: 20px;
}
.el-switch__core {
background-color: rgba(166, 166, 166, 1);
}
.switchStyle /deep/.el-switch__label--left {
z-index: 9;
left: 20px;
}
.switchStyle /deep/ .el-switch__label--right {
z-index: 9;
left: 4px;
}
.switchStyle /deep/ .el-switch__label.is-active {
display: block;
}
.switchStyle /deep/ .el-switch__core {
width: 56px !important;
}
.switchStyle /deep/ .el-switch__label {
width: 56px !important;
}
.explain {
width: 486px;
height: 102px;
background: #f4f6fc;
padding: 16px;
margin-left: 70px;
box-sizing: border-box;
position:absolute;
bottom:110px;
.el-icon-warning {
width: 16px;
height: 16px;
margin-right: 4px;
}
.mrp{
margin:8px 0 16px 20px;
line-height: 22px;
}
}
}
.warn {
font-size: 12px;
color: #999999;
margin-left: 154px;
}
}
</style>
<template>
<GLDialog :mode="mode" title="#4.早报 预览配置显示字段" :visible.sync="isDialogVisible">
<div class="popup-wrap">
<div class="left-wrap">
<div class="img-wrap">
<img src="@/assets/buttetin/daily.png" />
</div>
<p class="color-3 txt-center text-14">图示效果</p>
</div>
<div class="right-wrap">
<el-form ref="form" :model="form" label-width="154px">
<div class="item-line">
<el-form-item label="客户跟进:">
<el-switch class="switchStyle" v-model="form.delivery" active-text="显示" inactive-text="关闭"></el-switch>
</el-form-item>
<span class="warn">关闭后推送的早报不会显示客户跟进整个模块</span>
</div>
</el-form>
<div class="explain">
<div class="color6 weight-6 font-14">
<i class="el-icon-warning"></i>
推送机制说明
</div>
<p class="mrp">配置后每日早上9-10点,统计前一日门店汇总数据进行推送</p>
</div>
</div>
</div>
</GLDialog>
</template>
<script>
export default {
data() {
return {
isDialogVisible: true,
mode: 'big',
form: {}
}
}
}
</script>
<style lang="scss" scoped>
.popup-wrap {
display: flex;
padding: 0 72px;
.img-wrap {
width: 250px;
height: 560px;
margin-bottom: 14px;
img {
width: 100%;
height: 100%;
}
}
.right-wrap {
margin-top: 12px;
/deep/.el-form-item {
margin-bottom: 0px;
}
.item-line {
margin-bottom: 20px;
}
.switchStyle /deep/ .el-switch__label {
position: absolute;
display: none;
color: #fff;
font-size: 12px !important;
line-height: 20px;
}
.el-switch__core {
background-color: rgba(166, 166, 166, 1);
}
.switchStyle /deep/.el-switch__label--left {
z-index: 9;
left: 20px;
}
.switchStyle /deep/ .el-switch__label--right {
z-index: 9;
left: 4px;
}
.switchStyle /deep/ .el-switch__label.is-active {
display: block;
}
.switchStyle /deep/ .el-switch__core {
width: 56px !important;
}
.switchStyle /deep/ .el-switch__label {
width: 56px !important;
}
.explain {
width: 486px;
height: 102px;
background: #f4f6fc;
padding: 16px;
margin-left: 70px;
box-sizing: border-box;
position:absolute;
bottom:110px;
.el-icon-warning {
width: 16px;
height: 16px;
margin-right: 4px;
}
.mrp{
margin:8px 0 16px 20px;
line-height: 22px;
}
}
}
.warn {
font-size: 12px;
color: #999999;
margin-left: 154px;
}
}
</style>
<template>
<GLDialog :mode="mode" title="#1.SA个人喜报 预览配置显示字段" :visible.sync="isDialogVisible">
<div class="popup-wrap">
<div class="left-wrap">
<div class="img-wrap">
<img src="@/assets/buttetin/personal.png" />
</div>
<p class="color-3 txt-center text-14">图示效果</p>
</div>
<div class="right-wrap">
<el-form ref="form" :model="form" label-width="154px">
<div class="item-line">
<el-form-item label="客户车型:">
<el-switch class="switchStyle" v-model="form.delivery" active-text="显示" inactive-text="关闭"></el-switch>
</el-form-item>
<span class="warn">关闭后推送的喜报不会显示客户车型</span>
</div>
<div class="item-line">
<el-form-item label="开单商品:">
<el-switch class="switchStyle" v-model="form.delivery" active-text="显示" inactive-text="关闭"></el-switch>
</el-form-item>
<span class="warn">关闭后推送的喜报不会显示开单商品</span>
</div>
<div class="item-line">
<el-form-item label="收款方式:">
<el-switch class="switchStyle" v-model="form.delivery" active-text="全部" inactive-text="部分"></el-switch>
</el-form-item>
<span class="warn">关闭后仅推送嘀加收款的喜报,门店收款不推送</span>
</div>
<el-form-item label="话术推荐:"></el-form-item>
</el-form>
<div class="explain">
<div class="color6 weight-6 font-14">
<i class="el-icon-warning"></i>
推送机制说明
</div>
<p class="mrp">驻店新建下单或扫码下单,客户支付成功后产生有效订单时自动推送, 订单金额低于1元时四舍五入为0元产值订单进行推送,测试订单不推送</p>
</div>
</div>
</div>
</GLDialog>
</template>
<script>
export default {
data() {
return {
isDialogVisible: true,
mode: 'big',
form: {}
}
}
}
</script>
<style lang="scss" scoped>
.popup-wrap {
display: flex;
padding: 0 72px;
.img-wrap {
width: 250px;
height: 560px;
margin-bottom: 14px;
img {
width: 100%;
height: 100%;
}
}
.right-wrap {
margin-top: 12px;
/deep/.el-form-item {
margin-bottom: 0px;
}
.item-line {
margin-bottom: 20px;
}
.switchStyle /deep/ .el-switch__label {
position: absolute;
display: none;
color: #fff;
font-size: 12px !important;
line-height: 20px;
}
.el-switch__core {
background-color: rgba(166, 166, 166, 1);
}
.switchStyle /deep/.el-switch__label--left {
z-index: 9;
left: 20px;
}
.switchStyle /deep/ .el-switch__label--right {
z-index: 9;
left: 4px;
}
.switchStyle /deep/ .el-switch__label.is-active {
display: block;
}
.switchStyle /deep/ .el-switch__core {
width: 56px !important;
}
.switchStyle /deep/ .el-switch__label {
width: 56px !important;
}
.explain {
width: 486px;
height: 102px;
background: #f4f6fc;
padding: 16px;
margin-left: 70px;
box-sizing: border-box;
position:absolute;
bottom:110px;
.el-icon-warning {
width: 16px;
height: 16px;
margin-right: 4px;
}
.mrp{
margin:8px 0 16px 20px;
line-height: 22px;
}
}
}
.warn {
font-size: 12px;
color: #999999;
margin-left: 154px;
}
}
</style>
<template>
<GLDialog :mode="mode" title="#5.客户进度消息 预览配置显示字段" :visible.sync="isDialogVisible">
<div class="popup-wrap">
<div class="left-wrap">
<div class="img-wrap">
<img src="@/assets/buttetin/progress.png" />
</div>
<p class="color-3 txt-center text-14">图示效果</p>
</div>
<div class="right-wrap">
<el-form ref="form" :model="form" label-width="154px">
<div class="item-line">
<el-form-item label="业务类型:">
<el-switch class="switchStyle" v-model="form.delivery" active-text="显示" inactive-text="关闭"></el-switch>
</el-form-item>
<span class="warn">关闭后推送的喜报不会显示礼券类型</span>
</div>
</el-form>
<div class="explain">
<div class="color6 weight-6 font-14">
<i class="el-icon-warning"></i>
推送机制说明
</div>
<p class="mrp">门店销售顾问给客户发券时,客户扫码领券成功后会推送此通知,驻店可通过此通知了解待跟进客户基础信息,可进入小程序电联客户预约施工时间</p>
</div>
</div>
</div>
</GLDialog>
</template>
<script>
export default {
data() {
return {
isDialogVisible: true,
mode: 'big',
form: {}
}
}
}
</script>
<style lang="scss" scoped>
.popup-wrap {
display: flex;
padding: 0 72px;
.img-wrap {
width: 250px;
height: 560px;
margin-bottom: 14px;
img {
width: 100%;
height: 100%;
}
}
.right-wrap {
margin-top: 12px;
/deep/.el-form-item {
margin-bottom: 0px;
}
.item-line {
margin-bottom: 20px;
}
.switchStyle /deep/ .el-switch__label {
position: absolute;
display: none;
color: #fff;
font-size: 12px !important;
line-height: 20px;
}
.el-switch__core {
background-color: rgba(166, 166, 166, 1);
}
.switchStyle /deep/.el-switch__label--left {
z-index: 9;
left: 20px;
}
.switchStyle /deep/ .el-switch__label--right {
z-index: 9;
left: 4px;
}
.switchStyle /deep/ .el-switch__label.is-active {
display: block;
}
.switchStyle /deep/ .el-switch__core {
width: 56px !important;
}
.switchStyle /deep/ .el-switch__label {
width: 56px !important;
}
.explain {
width: 486px;
height: 102px;
background: #f4f6fc;
padding: 16px;
margin-left: 70px;
box-sizing: border-box;
position: absolute;
bottom: 110px;
.el-icon-warning {
width: 16px;
height: 16px;
margin-right: 4px;
}
.mrp {
margin: 8px 0 16px 20px;
line-height: 22px;
}
}
}
.warn {
font-size: 12px;
color: #999999;
margin-left: 154px;
}
}
</style>
<template>
<GLDialog :mode="mode" title="#6.补单通知 预览配置显示字段" :visible.sync="isDialogVisible">
<div class="popup-wrap">
<div class="left-wrap">
<div class="img-wrap">
<img src="@/assets/buttetin/replenishment.png" />
</div>
<p class="color-3 txt-center text-14">图示效果</p>
</div>
<div class="right-wrap">
<!-- <p class="">暂无配置项</p> -->
<div class="explain">
<div class="color6 weight-6 font-14">
<i class="el-icon-warning"></i>
推送机制说明
</div>
<p class="mrp">门店放置有4S店收款码或园区店收款码时,客户扫码付款后触发推送,推送时并未产生系统订单,会推送此通知提醒驻店补单</p>
</div>
</div>
</div>
</GLDialog>
</template>
<script>
export default {
data() {
return {
isDialogVisible: true,
mode: 'big',
form: {}
}
}
}
</script>
<style lang="scss" scoped>
.popup-wrap {
display: flex;
padding: 0 72px;
.img-wrap {
width: 250px;
height: 560px;
margin-bottom: 14px;
img {
width: 100%;
height: 100%;
}
}
.right-wrap {
margin-top: 12px;
/deep/.el-form-item {
margin-bottom: 0px;
}
.item-line {
margin-bottom: 20px;
}
.switchStyle /deep/ .el-switch__label {
position: absolute;
display: none;
color: #fff;
font-size: 12px !important;
line-height: 20px;
}
.el-switch__core {
background-color: rgba(166, 166, 166, 1);
}
.switchStyle /deep/.el-switch__label--left {
z-index: 9;
left: 20px;
}
.switchStyle /deep/ .el-switch__label--right {
z-index: 9;
left: 4px;
}
.switchStyle /deep/ .el-switch__label.is-active {
display: block;
}
.switchStyle /deep/ .el-switch__core {
width: 56px !important;
}
.switchStyle /deep/ .el-switch__label {
width: 56px !important;
}
.explain {
width: 486px;
height: 102px;
background: #f4f6fc;
padding: 16px;
margin-left: 70px;
box-sizing: border-box;
position: absolute;
bottom: 110px;
.el-icon-warning {
width: 16px;
height: 16px;
margin-right: 4px;
}
.mrp {
margin: 8px 0 16px 20px;
line-height: 22px;
}
}
}
.warn {
font-size: 12px;
color: #999999;
margin-left: 154px;
}
}
</style>
<template>
<div>222222</div>
</template>
<script>
export default {
}
</script>
<style lang="scss" scoped>
</style>
\ No newline at end of file
......@@ -1098,7 +1098,7 @@ export default {
},
handlebattleOn(data, sign) {
this.$router.push({
path:'/balletin/addConfig'
path:'/bulletin/addConfig'
})
// this.setectList = []
// this.setectList.push(data)
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!