Commit 795f7f00 by wuwx

Merge branch 'v2.7.0' into wuwx_dev_v2.7.0

2 parents ce248f7b 7dc2fbe9
...@@ -230,7 +230,6 @@ function setMinHeight(calssName = '.edit-container') { ...@@ -230,7 +230,6 @@ function setMinHeight(calssName = '.edit-container') {
let height = document.querySelector('.header-wrap').clientHeight + 110 + 'px' let height = document.querySelector('.header-wrap').clientHeight + 110 + 'px'
let minHeight = 'calc(100vh - ' + height + ')' let minHeight = 'calc(100vh - ' + height + ')'
document.querySelector(calssName).style.minHeight = minHeight document.querySelector(calssName).style.minHeight = minHeight
console.log(minHeight)
} }
export { limitPrice, getExplorer, exportFn, aToExport, downloadIamge, orderManageStatusList, afterSaleStatusList, orderSourceList, deliveryTypeList, statusList, serviceStatusList, memberTypeList, stateList, orderTypesList, orderStatusList, setMinHeight } export { limitPrice, getExplorer, exportFn, aToExport, downloadIamge, orderManageStatusList, afterSaleStatusList, orderSourceList, deliveryTypeList, statusList, serviceStatusList, memberTypeList, stateList, orderTypesList, orderStatusList, setMinHeight }
...@@ -121,12 +121,12 @@ export default { ...@@ -121,12 +121,12 @@ export default {
}) })
}, },
handleChange(selection, row) { handleChange(selection, row) {
var addOrDelete = !!selection.find(item => item.merchantNo === row.merchantNo) var addOrDelete = !!selection.find(item => +item.merchantNo === +row.merchantNo)
addOrDelete ? this.selectedData.push(row) : (this.selectedData = this.selectedData.filter(item => item.merchantNo !== row.merchantNo)) addOrDelete ? this.selectedData.push(row) : (this.selectedData = this.selectedData.filter(item => item.merchantNo !== row.merchantNo))
}, },
handleAll(selection) { handleAll(selection) {
this.selectingData.forEach(item => { this.selectingData.forEach(item => {
var isExit = this.selectedData.findIndex(subItem => subItem.merchantNo === item.merchantNo) let isExit = this.selectedData.findIndex(subItem => +subItem.merchantNo === +item.merchantNo)
var isServed = item.hasOwnProperty('beServed') ? item.beServed : false var isServed = item.hasOwnProperty('beServed') ? item.beServed : false
if (selection.length && isExit === -1 && !isServed) { if (selection.length && isExit === -1 && !isServed) {
this.selectedData.push(item) this.selectedData.push(item)
...@@ -136,7 +136,7 @@ export default { ...@@ -136,7 +136,7 @@ export default {
}) })
}, },
handleDelete(row) { handleDelete(row) {
this.selectedData = this.selectedData.filter(item => item.merchantNo !== row.merchantNo) this.selectedData = this.selectedData.filter(item => +item.merchantNo !== +row.merchantNo)
this.recoverySelection() this.recoverySelection()
}, },
handleCurrentChange(val) { handleCurrentChange(val) {
......
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
</GLTable> </GLTable>
<!-- 表格区域 end --> <!-- 表格区域 end -->
</div> </div>
<glsx-dialog class="qr-dialog" width="720px" title="生成二维码" btnOkLabel="下载" :isVisible.sync="isQrcodeVisible" @confirmDialog="handleCancelConfirm" @closeDialog="handleCancelClose"> <GLDialog class="qr-dialog" title="生成二维码" mode="mid" okText="下载" :visible.sync="isQrcodeVisible" @onOk="handleCancelConfirm" @onCancel="handleCancelClose">
<div class="qrcode-body"> <div class="qrcode-body">
<p>可生成对应发放员工的小程序领取二维码</p> <p>可生成对应发放员工的小程序领取二维码</p>
<el-select filterable v-model="curStaffId" @change="changeStaff" placeholder="请选择发放员工"> <el-select filterable v-model="curStaffId" @change="changeStaff" placeholder="请选择发放员工">
...@@ -50,7 +50,7 @@ ...@@ -50,7 +50,7 @@
<el-image :src="curQrcode" alt=""></el-image> <el-image :src="curQrcode" alt=""></el-image>
</div> </div>
</div> </div>
</glsx-dialog> </GLDialog>
</div> </div>
</template> </template>
...@@ -58,12 +58,8 @@ ...@@ -58,12 +58,8 @@
import * as dayjs from 'dayjs' import * as dayjs from 'dayjs'
import url from '@/assets/empty.png' import url from '@/assets/empty.png'
import { aToExport, downloadIamge } from '@/common/constant' import { aToExport, downloadIamge } from '@/common/constant'
import glsxDialog from '@/components/glsx-dialog'
export default { export default {
name: 'giftList', name: 'giftList',
components: {
glsxDialog
},
data() { data() {
return { return {
isQrcodeVisible: false, isQrcodeVisible: false,
...@@ -512,7 +508,7 @@ export default { ...@@ -512,7 +508,7 @@ export default {
.qr-dialog { .qr-dialog {
/deep/.el-dialog__body { /deep/.el-dialog__body {
padding: 20px; // padding: 20px;
.el-scrollbar__wrap { .el-scrollbar__wrap {
overflow: hidden; overflow: hidden;
} }
......
<template> <template>
<div class="introduct"> <div class="introduct">
<el-dialog title="功能介绍" :visible.sync="introductionDialog" width="1080px" :before-close="handleClose"> <GLDialog bigTitle="功能介绍" mode="big" :visible.sync="introductionDialog" :before-close="handleClose" :hasFooter="false">
<p class="note">营销素材——将业务资料、经典案例、活动等以图文、PDF形式上传在营销素材中,企业成员可在企业微信聊天侧边栏或者嘀加企微管家工作台中一键发给客户。发送给客户的营销素材支持雷达追踪,将客户阅读行为记录到客户动态中,同时给客户打上指定标签并通知其对应的跟进员工。</p> <p class="note">营销素材——将业务资料、经典案例、活动等以图文、PDF形式上传在营销素材中,企业成员可在企业微信聊天侧边栏或者嘀加企微管家工作台中一键发给客户。发送给客户的营销素材支持雷达追踪,将客户阅读行为记录到客户动态中,同时给客户打上指定标签并通知其对应的跟进员工。</p>
<h3>我的优势</h3> <h3>我的优势</h3>
<p class="list">1、门店可以为不同的业务部门提供不同的营销素材,规范营销内容;</p> <p class="list">1、门店可以为不同的业务部门提供不同的营销素材,规范营销内容;</p>
...@@ -9,10 +9,7 @@ ...@@ -9,10 +9,7 @@
<div class="img_div"> <div class="img_div">
<img src="@/assets/material/introduction.png" alt=""> <img src="@/assets/material/introduction.png" alt="">
</div> </div>
<span slot="footer" class="dialog-footer"> </GLDialog>
<el-button type="primary" @click="handleClose" class="btn-close">关闭</el-button>
</span>
</el-dialog>
</div> </div>
</template> </template>
......
<template> <template>
<div class="tag-main"> <div class="tag-main">
<el-dialog title="选择标签" :visible.sync="dialogVisible" width="50%" :before-close="handleClose"> <GLDialog bigTitle="选择标签" mode="big" :visible.sync="dialogVisible" :before-close="handleClose">
<div class="tag-panel"> <div class="tag-panel">
<div class="tag-panel-select"> <div class="tag-panel-select">
<div class="tag-title">预选标签</div> <div class="tag-title">预选标签</div>
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
<el-button size="small" @click="dialogVisible = false">取 消</el-button> <el-button size="small" @click="dialogVisible = false">取 消</el-button>
<el-button size="small" type="primary" @click="handleSelect">确 定</el-button> <el-button size="small" type="primary" @click="handleSelect">确 定</el-button>
</span> </span>
</el-dialog> </GLDialog>
</div> </div>
</template> </template>
......
...@@ -110,7 +110,7 @@ ...@@ -110,7 +110,7 @@
</span> </span>
</GLTable> </GLTable>
</div> </div>
<GLDialog :mode="mode" title="权益详情" :type="'error'" okText="关闭" @onOk="handleClose" @onCancel="handleClose" :visible.sync="isDialogVisible"> <GLDialog :mode="mode" title="权益详情" :hasFooter="hasFooter" :type="'error'" :visible.sync="isDialogVisible">
<div class="modal-body"> <div class="modal-body">
<div class="equity-name">汽车权益</div> <div class="equity-name">汽车权益</div>
<div class="equity-panel"> <div class="equity-panel">
...@@ -133,7 +133,7 @@ ...@@ -133,7 +133,7 @@
</div> </div>
</GLDialog> </GLDialog>
<!-- 推广弹窗 --> <!-- 推广弹窗 -->
<GLDialog :mode="mode" title="试用推广" :hasFooter="hasFooter" :type="'error'" @onOk="handleQRConfirm" @onCancel="handleQRClose" :visible.sync="isQRVisible"> <GLDialog :mode="mode" title="试用推广" @onOk="handleQRConfirm" @onCancel="handleQRClose" :visible.sync="isQRVisible">
<el-form class="proForm" :model="ruleForm" :rules="rules" ref="ruleForm" label-width="68px"> <el-form class="proForm" :model="ruleForm" :rules="rules" ref="ruleForm" label-width="68px">
<div class="form"> <div class="form">
<div class="main-qrcode"> <div class="main-qrcode">
...@@ -172,7 +172,7 @@ export default { ...@@ -172,7 +172,7 @@ export default {
data() { data() {
return { return {
mode: 'mid', mode: 'mid',
hasFooter: true, hasFooter: false,
showGh: true, showGh: true,
promotionForm: { promotionForm: {
QRurl: '', QRurl: '',
...@@ -585,9 +585,6 @@ export default { ...@@ -585,9 +585,6 @@ export default {
width: 53px; width: 53px;
margin: 0 3px; margin: 0 3px;
} }
/deep/ .btn-three {
display: none;
}
.lineCtn { .lineCtn {
display: flex; display: flex;
flex-direction: row; flex-direction: row;
...@@ -773,32 +770,9 @@ export default { ...@@ -773,32 +770,9 @@ export default {
.el-range-editor--small.el-input__inner { .el-range-editor--small.el-input__inner {
width: 215px; width: 215px;
} }
// /deep/ .container .el-input--small .el-input__inner {
// width: 215px;
// }
/deep/ .el-dialog__header .el-dialog__title {
// font-size: 16px;
// color: #000;
// font-weight: 700;
// height: 24px;
// line-height: 24px;
font-size: 20px;
font-weight: 500;
color: #333;
line-height: 28px;
}
// ::v-deep .el-dialog__body {
// border-top: 1px solid #e6e6e6;
// border-bottom: 1px solid #e6e6e6;
// padding: 20px 25px;
// }
/deep/.el-dialog__body { /deep/.el-dialog__body {
border-top: 1px solid #e6e6e6;
border-bottom: 1px solid #e6e6e6;
// padding: 20px 45px;
padding: 20px 20px 20px 45px;
.modal-body { .modal-body {
// overflow: auto;
max-height: 400px; max-height: 400px;
} }
.equity-panel { .equity-panel {
...@@ -852,10 +826,6 @@ export default { ...@@ -852,10 +826,6 @@ export default {
overflow: hidden; overflow: hidden;
} }
} }
/deep/ .el-dialog__footer {
padding: 20px;
text-align: center;
}
.pricesMerge { .pricesMerge {
display: flex; display: flex;
......
...@@ -540,8 +540,8 @@ export default { ...@@ -540,8 +540,8 @@ export default {
padding-bottom: 12px; padding-bottom: 12px;
} }
} }
::v-deep .el-dialog__footer { // ::v-deep .el-dialog__footer {
text-align: center; // text-align: center;
} // }
} }
</style> </style>
...@@ -293,24 +293,6 @@ export default { ...@@ -293,24 +293,6 @@ export default {
.el-range-editor--small.el-input__inner { .el-range-editor--small.el-input__inner {
width: 215px; width: 215px;
} }
/deep/.el-dialog__header {
padding-top: 20px;
padding-bottom: 20px;
}
/deep/ .el-dialog__body {
// border-bottom: 1px solid #e6e6e6;
// border-top: 1px solid #e6e6e6;
padding: 30px 20px;
.content-body {
.el-input--small .el-input__inner {
width: 300px;
}
}
}
/deep/ .el-dialog__footer {
// text-align: center;
padding-top: 12px;
padding-bottom: 12px;
}
</style> </style>
<!-- 订单详情 --> <!-- 订单详情 -->
<template> <template>
<div class="order-detail marketing edit-box"> <div class="order-detail marketing">
<div class="edit-box">
<div class="container m-b-20"> <div class="container m-b-20">
<p class="edit-title">订单信息</p> <p class="edit-title">订单信息</p>
<el-form label-width="100px" :inline="true"> <el-form label-width="100px" :inline="true">
...@@ -56,9 +57,10 @@ ...@@ -56,9 +57,10 @@
</el-form> </el-form>
</div> </div>
</div> </div>
<div class="footer" :style="{ left: footerLeft + 'px', width: footerWidth + 'px' }">
<el-button type="default" @click="handleCancel">返回</el-button>
</div> </div>
<GLFooter>
<el-button @click="handleCancel" size="medium">取消</el-button>
</GLFooter>
</div> </div>
</template> </template>
...@@ -71,8 +73,6 @@ export default { ...@@ -71,8 +73,6 @@ export default {
return { return {
size: 'small', size: 'small',
title: '查看订单', title: '查看订单',
footerLeft: '0',
footerWidth: '0',
editChildRef: 'editChildRef', editChildRef: 'editChildRef',
routeInfo: { routeInfo: {
orderCode: '' orderCode: ''
...@@ -201,8 +201,7 @@ export default { ...@@ -201,8 +201,7 @@ export default {
}, },
mounted() { mounted() {
this.footerLeft = document.querySelector('.base-container-right').offsetLeft this.setMinHeight('.edit-box')
this.footerWidth = document.documentElement.clientWidth - this.footerLeft
this.routeInfo = this.$route.query this.routeInfo = this.$route.query
this.getInfo() this.getInfo()
}, },
......
...@@ -210,7 +210,7 @@ ...@@ -210,7 +210,7 @@
<el-button :disabled="isDisabled" v-show="editForm.takeAllMerchant == '0'" type="default" @click="handleRelateStoreClose(scope)">{{ editForm.supplyMerchantList.length ? '更换门店' : '+选择门店' }}</el-button> <el-button :disabled="isDisabled" v-show="editForm.takeAllMerchant == '0'" type="default" @click="handleRelateStoreClose(scope)">{{ editForm.supplyMerchantList.length ? '更换门店' : '+选择门店' }}</el-button>
</div> </div>
<div slot="merchantTable" class="select-merchant" v-show="editForm.takeAllMerchant == '0'" :style="{ 'margin-left': labelWidth, width: `calc(100% - ${labelWidth} - 10px )` }"> <div slot="merchantTable" class="select-merchant" v-show="editForm.takeAllMerchant == '0'" :style="{ 'margin-left': labelWidth, width: `calc(100% - ${labelWidth} - 10px )` }">
<GLTable v-show="editForm.supplyMerchantList.length" ref="merchantTableRef" :tableParams="tableParams" :tableData="editForm.supplyMerchantList"> <GLTable v-show="editForm.supplyMerchantList.length" ref="merchantTableRef" :tableParams="tableParams" :tableData="editForm.supplyMerchantList" :hasPage="false">
<span slot="auth-button" slot-scope="scope"> <span slot="auth-button" slot-scope="scope">
<el-button :disabled="isDisabled" type="text" @click="handleMerchantDelete(scope)">删除</el-button> <el-button :disabled="isDisabled" type="text" @click="handleMerchantDelete(scope)">删除</el-button>
</span> </span>
......
...@@ -105,14 +105,15 @@ ...@@ -105,14 +105,15 @@
<div slot="activityBigImg" class="edit-tips m-t-8">建议尺寸750*1258</div> <div slot="activityBigImg" class="edit-tips m-t-8">建议尺寸750*1258</div>
<div slot="activityVideos" class="edit-tips m-t-8">最多上传6个视频</div> <div slot="activityVideos" class="edit-tips m-t-8">最多上传6个视频</div>
<div slot="posterImg" class="edit-tips m-t-8">建议尺寸640*1008</div> <div slot="posterImg" class="edit-tips m-t-8">建议尺寸640*1008</div>
<div class="form-describe flex-default" slot="formDescribe" v-for="(item, index) in formDescribeList" :key="index"> <div class="form-describe-box" slot="formDescribe">
<el-input class="describe-input" v-model="item.value" placeholder="请输入" maxlength="20"> <div v-for="(item, index) in formDescribeList" :key="index" class="form-describe flex-default">
<el-button v-show="index == formDescribeList.length - 1 && formDescribeList.length < describeNum" slot="suffix" :size="size" type="text" @click="handleDescribeAdd"> <el-input class="describe-input" v-model="item.value" placeholder="请输入" maxlength="20"></el-input>
<span class="describe-plus">+</span> <el-button class="describe-delete" v-show="!(index == 0 && formDescribeList.length == 1)" icon="el-icon-delete" type="text" @click="handleDescribeDelete(index)"></el-button>
</div>
<el-button class="describe-btn" v-show="formDescribeList.length < describeNum" :size="size" type="text" @click="handleDescribeAdd">
<img class="icon-add" src="@/assets/seckillActivity/icon-add.png" />
新增表单
</el-button> </el-button>
</el-input>
<el-button class="describe-delete" v-show="index != formDescribeList.length - 1 || index == describeNum - 1" icon="el-icon-delete" type="text" @click="handleDescribeDelete(index)"></el-button>
<!-- <el-button v-show="index == formDescribeList.length - 1 && formDescribeList.length < describeNum" :size="size" type="default" class="default-blue-btn el-icon-plus" @click="handleDescribeAdd">新增</el-button> -->
</div> </div>
</glsx-combi-form> </glsx-combi-form>
</div> </div>
...@@ -1356,10 +1357,22 @@ export default { ...@@ -1356,10 +1357,22 @@ export default {
padding: 20px 20px 0 20px; padding: 20px 20px 0 20px;
background: #f9f9f9; background: #f9f9f9;
} }
.edit-activity .form-describe-box {
width: 597px;
background: #f9f9f9;
}
.edit-activity .describe-btn {
color: #5850ff;
cursor: pointer;
padding: 0 0 16px 20px;
}
.edit-activity .form-describe-box .icon-add {
width: 20px;
height: 20px;
vertical-align: middle;
}
.edit-activity .form-describe { .edit-activity .form-describe {
width: 560px;
padding: 0 20px 20px; padding: 0 20px 20px;
background: #f9f9f9;
} }
.edit-activity .form-describe:first-child { .edit-activity .form-describe:first-child {
padding: 20px; padding: 20px;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!