Commit ee421406 by wuwx

Merge branch 'v2.7.0' into wuwx_dev_v2.7.0

2 parents fa0789b6 656f66dd
...@@ -16,7 +16,7 @@ html { ...@@ -16,7 +16,7 @@ html {
.marketing .container { .marketing .container {
background: #ffffff; background: #ffffff;
box-shadow: 0 10px 20px 0 rgba(88, 80, 255, 0.1); // box-shadow: 0 10px 20px 0 rgba(88, 80, 255, 0.1);
padding: 20px; padding: 20px;
} }
...@@ -26,7 +26,7 @@ html { ...@@ -26,7 +26,7 @@ html {
.live-room .container { .live-room .container {
background: #ffffff; background: #ffffff;
margin: 20px 0; // margin: 20px 0;
padding: 15px 20px; padding: 15px 20px;
box-shadow: 0 1px 5px 0 rgba(38, 38, 38, 0.1); box-shadow: 0 1px 5px 0 rgba(38, 38, 38, 0.1);
} }
...@@ -119,7 +119,9 @@ html { ...@@ -119,7 +119,9 @@ html {
} }
.marketing .edit-container { .marketing .edit-container {
margin-bottom: 84px; // margin-bottom: 84px;
// min-height: calc(100vh - 156px);
margin-bottom: 16px;
} }
.marketing .approval-container { .marketing .approval-container {
margin-bottom: 10px; margin-bottom: 10px;
......
...@@ -2,11 +2,11 @@ ...@@ -2,11 +2,11 @@
function limitPrice(newValue, oldValue, intergerDigit, pointDigit, minValue, maxValue, regRule) { function limitPrice(newValue, oldValue, intergerDigit, pointDigit, minValue, maxValue, regRule) {
/* eslint-disable */ /* eslint-disable */
var reg = { var reg = {
priceReg: /^\d[\d\.]*$/, priceReg: /^\d[\d\.]*$/,
numReg: /^[1-9]\d*$/, numReg: /^[1-9]\d*$/,
zNumReg: /^\d*$/ zNumReg: /^\d*$/
} }
/* eslint-enable */ /* eslint-enable */
regRule = regRule || 'priceReg' regRule = regRule || 'priceReg'
if (newValue && ((minValue && newValue < minValue) || (maxValue && newValue > maxValue))) { if (newValue && ((minValue && newValue < minValue) || (maxValue && newValue > maxValue))) {
return oldValue || '' return oldValue || ''
...@@ -226,4 +226,11 @@ const stateList = [ ...@@ -226,4 +226,11 @@ const stateList = [
} }
] ]
export { limitPrice, getExplorer, exportFn, aToExport, downloadIamge, orderManageStatusList, afterSaleStatusList, orderSourceList, deliveryTypeList, statusList, serviceStatusList, memberTypeList, stateList, orderTypesList, orderStatusList } function setMinHeight(calssName = '.edit-container') {
let height = document.querySelector('.header-wrap').clientHeight + 110 + 'px'
let minHeight = 'calc(100vh - ' + height + ')'
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 }
...@@ -14,6 +14,7 @@ import './public-path' ...@@ -14,6 +14,7 @@ import './public-path'
import '@/components' import '@/components'
// import 'glsx-components/dist/glsx-components.css' // import 'glsx-components/dist/glsx-components.css'
import { start } from '@/setup' import { start } from '@/setup'
import { setMinHeight } from '@/common/constant'
import VueAMap from 'vue-amap' import VueAMap from 'vue-amap'
Vue.use(VueAMap) Vue.use(VueAMap)
// 初始化vue-amap // 初始化vue-amap
...@@ -25,6 +26,7 @@ VueAMap.initAMapApiLoader({ ...@@ -25,6 +26,7 @@ VueAMap.initAMapApiLoader({
Vue.config.productionTip = false Vue.config.productionTip = false
Vue.prototype.$apis = apis Vue.prototype.$apis = apis
Vue.prototype.size = 'small' Vue.prototype.size = 'small'
Vue.prototype.setMinHeight = setMinHeight
start() start()
export { bootstrap, mount, unmount } from '@/setup' export { bootstrap, mount, unmount } from '@/setup'
export const http = params => Vue.prototype.$http(params) export const http = params => Vue.prototype.$http(params)
......
...@@ -20,10 +20,10 @@ ...@@ -20,10 +20,10 @@
</div> </div>
</glsx-combi-form> </glsx-combi-form>
</div> </div>
<div class="footer" :style="{ left: footerLeft + 'px', width: footerWidth + 'px' }"> <GLFooter>
<el-button type="primary" @click="handleConfirm">确定</el-button> <el-button @click="handleCancel" size="medium">取消</el-button>
<el-button type="default" @click="handleCancel">取消</el-button> <el-button type="primary" @click="handleConfirm" size="medium" :loading="loading">提交</el-button>
</div> </GLFooter>
<select-muti-pro-dialog ref="classMutiProRef" v-if="isMutiSelectVisible" :isMutiSelectVisible="isMutiSelectVisible" :searchForm="searchProForm" :selectedProList="selectedProList" @handleMutiSelectConfirm="handleMutiSelectConfirm" @handleMutiSelectClose="handleMutiSelectClose"> <select-muti-pro-dialog ref="classMutiProRef" v-if="isMutiSelectVisible" :isMutiSelectVisible="isMutiSelectVisible" :searchForm="searchProForm" :selectedProList="selectedProList" @handleMutiSelectConfirm="handleMutiSelectConfirm" @handleMutiSelectClose="handleMutiSelectClose">
<!-- <template slot="search"> <!-- <template slot="search">
<div class="flex"> <div class="flex">
...@@ -53,8 +53,6 @@ export default { ...@@ -53,8 +53,6 @@ export default {
1: '新建分类', 1: '新建分类',
2: '编辑分类' 2: '编辑分类'
}, },
footerLeft: '0',
footerWidth: '0',
editChildRef: 'editChildRef', editChildRef: 'editChildRef',
routeInfo: { routeInfo: {
// 1-新建;2-编辑;3-查看 // 1-新建;2-编辑;3-查看
...@@ -126,8 +124,7 @@ export default { ...@@ -126,8 +124,7 @@ export default {
}, },
mounted() { mounted() {
this.footerLeft = document.querySelector('.base-container-right').offsetLeft this.setMinHeight()
this.footerWidth = document.documentElement.clientWidth - this.footerLeft
this.routeInfo = this.$route.query this.routeInfo = this.$route.query
this.title = this.titleObj[this.routeInfo.addOrEdit] this.title = this.titleObj[this.routeInfo.addOrEdit]
this.routeInfo.addOrEdit != 1 ? this.getInfo() : '' this.routeInfo.addOrEdit != 1 ? this.getInfo() : ''
......
...@@ -166,11 +166,10 @@ ...@@ -166,11 +166,10 @@
</glsx-combi-form> </glsx-combi-form>
</div> </div>
</div> </div>
<div class="footer" :style="{ left: footerLeft + 'px', width: footerWidth + 'px' }"> <GLFooter>
<el-button type="primary" v-if="showSubmit" @click="handleConfirm">确定</el-button> <el-button @click="handleCancel" size="medium">{{ apear != 'couponSee' ? '取消' : '返回' }}</el-button>
<el-button v-if="apear != 'couponSee'" @click="handleCancel">取消</el-button> <el-button v-if="showSubmit" type="primary" @click="handleConfirm" size="medium" :loading="loading">提交</el-button>
<el-button v-if="apear == 'couponSee'" @click="handleCancel">返回</el-button> </GLFooter>
</div>
<select-muti-pro-forcoupon-dialog v-if="isMutiSelectVisible" :isMutiSelectVisible="isMutiSelectVisible" <select-muti-pro-forcoupon-dialog v-if="isMutiSelectVisible" :isMutiSelectVisible="isMutiSelectVisible"
:searchForm="searchProForm" :selectedProList="selectedProList" @handleMutiSelectConfirm="handleMutiSelectConfirm" :searchForm="searchProForm" :selectedProList="selectedProList" @handleMutiSelectConfirm="handleMutiSelectConfirm"
@handleMutiSelectClose="handleMutiSelectClose"></select-muti-pro-forcoupon-dialog> @handleMutiSelectClose="handleMutiSelectClose"></select-muti-pro-forcoupon-dialog>
...@@ -189,8 +188,6 @@ export default { ...@@ -189,8 +188,6 @@ export default {
userDisable: false, userDisable: false,
size: 'small', size: 'small',
title: '创建', title: '创建',
footerLeft: '0',
footerWidth: '0',
editChildRef: 'editChildRef', editChildRef: 'editChildRef',
loading: false, loading: false,
routeInfo: { routeInfo: {
...@@ -374,8 +371,7 @@ export default { ...@@ -374,8 +371,7 @@ export default {
}, },
mounted() { mounted() {
this.footerLeft = document.querySelector('.base-container-right').offsetLeft this.setMinHeight()
this.footerWidth = document.documentElement.clientWidth - this.footerLeft
this.routeInfo = this.$route.params this.routeInfo = this.$route.params
this.getAllGoods() this.getAllGoods()
var id = this.routeInfo.id var id = this.routeInfo.id
......
...@@ -151,11 +151,10 @@ ...@@ -151,11 +151,10 @@
</glsx-combi-form> </glsx-combi-form>
</div> </div>
</div> </div>
<div class="footer" :style="{ left: footerLeft + 'px', width: footerWidth + 'px' }"> <GLFooter>
<el-button type="primary" v-if="showSubmit" @click="handleConfirm">确定</el-button> <el-button @click="handleCancel" size="medium">{{ apear != 'couponSee' ? '取消' : '返回' }}</el-button>
<el-button v-if="apear != 'couponSee'" @click="handleCancel">取消</el-button> <el-button v-if="showSubmit" type="primary" @click="handleConfirm" size="medium" :loading="loading">提交</el-button>
<el-button v-if="apear == 'couponSee'" @click="handleCancel">返回</el-button> </GLFooter>
</div>
</div> </div>
</template> </template>
...@@ -175,8 +174,6 @@ export default { ...@@ -175,8 +174,6 @@ export default {
1: '创建晒单', 1: '创建晒单',
2: '编辑晒单' 2: '编辑晒单'
}, },
footerLeft: '0',
footerWidth: '0',
editChildRef: 'editChildRef', editChildRef: 'editChildRef',
loading: false, loading: false,
// pickerOptions: { // pickerOptions: {
...@@ -318,8 +315,7 @@ export default { ...@@ -318,8 +315,7 @@ export default {
}, },
mounted() { mounted() {
this.footerLeft = document.querySelector('.base-container-right').offsetLeft this.setMinHeight()
this.footerWidth = document.documentElement.clientWidth - this.footerLeft
this.routeInfo = this.$route.params this.routeInfo = this.$route.params
// this.title = this.titleObj[this.routeInfo.addOrEdit] // this.title = this.titleObj[this.routeInfo.addOrEdit]
this.routeInfo.addOrEdit != 1 ? this.getInfo() : '' this.routeInfo.addOrEdit != 1 ? this.getInfo() : ''
......
<!-- 编辑兑换券 --> <!-- 编辑兑换券 -->
<template> <template>
<div class="edit-share marketing edit-box"> <div class="edit-share marketing edit-box">
<div class="container edit-container" style="position: relative; min-height: 700px;" v-loading="loading"> <div class="container edit-container" style="position: relative;" v-loading="loading">
<div class="right_show"> <div class="right_show">
<div class="card-top"></div> <div class="card-top"></div>
<div class="slider"> <div class="slider">
...@@ -101,11 +101,10 @@ ...@@ -101,11 +101,10 @@
<glsx-combi-form class="edit-form-container" ref="merchantRef" :isEdit="true" :isBlock="true" :formRef="editChildRef" :formObj="editForm" :formData="merchantEditFormData" :formRules="merchantRule"></glsx-combi-form> <glsx-combi-form class="edit-form-container" ref="merchantRef" :isEdit="true" :isBlock="true" :formRef="editChildRef" :formObj="editForm" :formData="merchantEditFormData" :formRules="merchantRule"></glsx-combi-form>
</div> </div>
</div> </div>
<div class="footer" :style="{ left: footerLeft + 'px', width: footerWidth + 'px' }"> <GLFooter>
<el-button type="primary" v-if="showSubmit" @click="handleConfirm">确定</el-button> <el-button @click="handleCancel" size="medium">{{ apear != 'couponSee' ? '取消' : '返回' }}</el-button>
<el-button v-if="apear != 'couponSee'" @click="handleCancel">取消</el-button> <el-button type="primary" @click="handleConfirm" size="medium" :loading="loading">提交</el-button>
<el-button v-if="apear == 'couponSee'" @click="handleCancel">返回</el-button> </GLFooter>
</div>
</div> </div>
</template> </template>
...@@ -125,8 +124,6 @@ export default { ...@@ -125,8 +124,6 @@ export default {
1: '创建晒单', 1: '创建晒单',
2: '编辑晒单' 2: '编辑晒单'
}, },
footerLeft: '0',
footerWidth: '0',
editChildRef: 'editChildRef', editChildRef: 'editChildRef',
loading: false, loading: false,
editStatus: false, editStatus: false,
...@@ -251,8 +248,7 @@ export default { ...@@ -251,8 +248,7 @@ export default {
}, },
mounted() { mounted() {
this.footerLeft = document.querySelector('.base-container-right').offsetLeft this.setMinHeight()
this.footerWidth = document.documentElement.clientWidth - this.footerLeft
this.routeInfo = this.$route.params this.routeInfo = this.$route.params
// this.title = this.titleObj[this.routeInfo.addOrEdit] // this.title = this.titleObj[this.routeInfo.addOrEdit]
this.routeInfo.addOrEdit != 1 ? this.getInfo() : '' this.routeInfo.addOrEdit != 1 ? this.getInfo() : ''
...@@ -488,7 +484,7 @@ export default { ...@@ -488,7 +484,7 @@ export default {
.then(() => { .then(() => {
this.cancelJump() this.cancelJump()
}) })
.catch(() => {}) .catch(() => { })
} else { } else {
this.cancelJump() this.cancelJump()
} }
......
...@@ -157,13 +157,10 @@ ...@@ -157,13 +157,10 @@
</div> </div>
</div> </div>
</div> </div>
<div class="footer-panel" :style="{ <GLFooter>
left: footerLeft + 'px', <el-button @click="goBack" size="medium">取消</el-button>
width: footerWidth + 'px' <el-button type="primary" v-if="showSubmit" @click="submitForm('ruleForm')" size="medium" :loading="loading">提交</el-button>
}"> </GLFooter>
<el-button type="primary" @click="submitForm('ruleForm')" size="medium" :loading="sloading" v-if="showSubmit">确定</el-button>
<el-button type="default" @click="goBack" size="medium">取消</el-button>
</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">
<div class="content-body"> <div class="content-body">
...@@ -344,8 +341,6 @@ export default { ...@@ -344,8 +341,6 @@ export default {
this.rules.stock[0].required = !this.$isGroupUp this.rules.stock[0].required = !this.$isGroupUp
}, },
mounted() { mounted() {
this.footerLeft = document.querySelector('.base-container-right').offsetLeft
this.footerWidth = document.documentElement.clientWidth - this.footerLeft
if (this.title == '查看' || this.title == '编辑') { if (this.title == '查看' || this.title == '编辑') {
this.disabledCost = true this.disabledCost = true
this.disabledDescription = true this.disabledDescription = true
...@@ -640,7 +635,7 @@ export default { ...@@ -640,7 +635,7 @@ export default {
} }
} }
.container { .container {
margin: 0 0px 100px; margin: 0 0px 16px;
position: relative; position: relative;
/deep/ .el-form-item__content { /deep/ .el-form-item__content {
......
<template> <template>
<div class> <div class>
<div class="container"> <div class="container">
<div> <div class="edit-container">
<!-- 基础信息 --> <!-- 基础信息 -->
<div class="title"> <div class="title">
编辑朋友圈 编辑朋友圈
...@@ -219,7 +219,9 @@ export default { ...@@ -219,7 +219,9 @@ export default {
deep: true deep: true
} }
}, },
mounted() {}, mounted() {
this.setMinHeight()
},
methods: { methods: {
openMembers() { openMembers() {
this.membersVisible = !this.membersVisible this.membersVisible = !this.membersVisible
...@@ -419,7 +421,7 @@ export default { ...@@ -419,7 +421,7 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
.container { .container {
margin-bottom: 84px; margin-bottom: 16px;
background: #ffffff; background: #ffffff;
box-shadow: 0 10px 20px 0 rgba(88, 80, 255, 0.1); box-shadow: 0 10px 20px 0 rgba(88, 80, 255, 0.1);
// padding: 20px; // padding: 20px;
......
...@@ -102,10 +102,10 @@ ...@@ -102,10 +102,10 @@
</div> </div>
</div> </div>
</div> </div>
<div class="footer" :style="{ left: footerLeft + 'px', width: footerWidth + 'px' }"> <GLFooter>
<el-button type="default" @click="handleCancel">取消</el-button> <el-button @click="handleCancel" size="medium">取消</el-button>
<el-button type="primary" @click="handleConfirm">提交</el-button> <el-button type="primary" @click="handleConfirm" size="medium" :loading="loading">提交</el-button>
</div> </GLFooter>
<select-gift-dialog v-if="isSelectGiftVisible" :isSelectGiftVisible="isSelectGiftVisible" :selectedGiftList="selectedGiftList" @handleGiftConfirm="handleGiftConfirm" @handleGiftClose="handleGiftClose"></select-gift-dialog> <select-gift-dialog v-if="isSelectGiftVisible" :isSelectGiftVisible="isSelectGiftVisible" :selectedGiftList="selectedGiftList" @handleGiftConfirm="handleGiftConfirm" @handleGiftClose="handleGiftClose"></select-gift-dialog>
<select-staff-dialog v-if="isMutiSelectVisible" :isMutiSelectVisible="isMutiSelectVisible" :searchForm="searchStaffForm" :selectedStaffList="selectedStaffList" @handleMutiSelectConfirm="handleMutiSelectConfirm" @handleMutiSelectClose="handleMutiSelectClose"></select-staff-dialog> <select-staff-dialog v-if="isMutiSelectVisible" :isMutiSelectVisible="isMutiSelectVisible" :searchForm="searchStaffForm" :selectedStaffList="selectedStaffList" @handleMutiSelectConfirm="handleMutiSelectConfirm" @handleMutiSelectClose="handleMutiSelectClose"></select-staff-dialog>
</div> </div>
...@@ -133,8 +133,6 @@ export default { ...@@ -133,8 +133,6 @@ export default {
add: '新增礼包', add: '新增礼包',
edit: '编辑礼包' edit: '编辑礼包'
}, },
footerLeft: '0',
footerWidth: '0',
// 选择员工弹窗 // 选择员工弹窗
isMutiSelectVisible: false, isMutiSelectVisible: false,
searchStaffForm: {}, searchStaffForm: {},
...@@ -434,8 +432,7 @@ export default { ...@@ -434,8 +432,7 @@ export default {
}, },
mounted() { mounted() {
this.footerLeft = document.querySelector('.base-container-right').offsetLeft this.setMinHeight()
this.footerWidth = document.documentElement.clientWidth - this.footerLeft
this.routeInfo = this.$route.query this.routeInfo = this.$route.query
if (this.routeInfo.receivedStock) this.routeInfo.receivedStock = +this.routeInfo.receivedStock if (this.routeInfo.receivedStock) this.routeInfo.receivedStock = +this.routeInfo.receivedStock
this.title = this.titleObj[this.routeInfo.addOrEdit] this.title = this.titleObj[this.routeInfo.addOrEdit]
......
...@@ -72,10 +72,9 @@ ...@@ -72,10 +72,9 @@
</div> </div>
</div> </div>
</div> </div>
<div class="footer" :style="{ left: footerLeft + 'px', width: footerWidth + 'px' }"> <GLFooter>
<el-button type="default" @click="handleCancel">返回</el-button> <el-button @click="handleCancel" size="medium">取消</el-button>
<!-- <el-button type="default" @click="handleCancel">修改</el-button> --> </GLFooter>
</div>
</div> </div>
</template> </template>
...@@ -87,8 +86,6 @@ export default { ...@@ -87,8 +86,6 @@ export default {
return { return {
size: 'small', size: 'small',
title: '礼包详情', title: '礼包详情',
footerLeft: '0',
footerWidth: '0',
loading: false, loading: false,
editChildRef: 'editChildRef', editChildRef: 'editChildRef',
receiveDetailList: [], receiveDetailList: [],
...@@ -203,8 +200,7 @@ export default { ...@@ -203,8 +200,7 @@ export default {
}, },
mounted() { mounted() {
this.footerLeft = document.querySelector('.base-container-right').offsetLeft this.setMinHeight()
this.footerWidth = document.documentElement.clientWidth - this.footerLeft
this.routeInfo = this.$route.query this.routeInfo = this.$route.query
this.loading = true this.loading = true
this.getInfo() this.getInfo()
......
...@@ -186,9 +186,9 @@ ...@@ -186,9 +186,9 @@
</div> </div>
</div> </div>
</div> </div>
<div class="footer" :style="{ left: footerLeft + 'px', width: footerWidth + 'px' }"> <GLFooter>
<el-button type="primary" @click="handleConfirm">确定</el-button> <el-button type="primary" @click="handleConfirm" size="medium" :loading="loading">提交</el-button>
</div> </GLFooter>
<select-single-pro-dialog v-if="isSingleSelectVisible" :isSingleSelectVisible="isSingleSelectVisible" :selectedProInfo="selectedProInfo" @handleSingleSelectConfirm="handleSingleSelectConfirm" @handleSingleSelectClose="handleSingleSelectClose"></select-single-pro-dialog> <select-single-pro-dialog v-if="isSingleSelectVisible" :isSingleSelectVisible="isSingleSelectVisible" :selectedProInfo="selectedProInfo" @handleSingleSelectConfirm="handleSingleSelectConfirm" @handleSingleSelectClose="handleSingleSelectClose"></select-single-pro-dialog>
<!-- 在线客服 --> <!-- 在线客服 -->
<glsx-dialog class="server-dialog" title="在线客服" width="712px" :noBtnOk="true" :isVisible.sync="isConsultantVisible" @confirmDialog="handleConsultantConfirm" @closeDialog="handleConsultantClose"> <glsx-dialog class="server-dialog" title="在线客服" width="712px" :noBtnOk="true" :isVisible.sync="isConsultantVisible" @confirmDialog="handleConsultantConfirm" @closeDialog="handleConsultantClose">
...@@ -246,8 +246,6 @@ export default { ...@@ -246,8 +246,6 @@ export default {
name: 'homeSet', name: 'homeSet',
data() { data() {
return { return {
footerLeft: '0',
footerWidth: '0',
size: 'small', size: 'small',
userInfo: {}, userInfo: {},
// 查看大图 // 查看大图
...@@ -501,8 +499,6 @@ export default { ...@@ -501,8 +499,6 @@ export default {
mounted() { mounted() {
this.userInfo = this.$globalState.session this.userInfo = this.$globalState.session
this.footerLeft = document.querySelector('.base-container-right').offsetLeft
this.footerWidth = document.documentElement.clientWidth - this.footerLeft
this.getInfo() this.getInfo()
this.getConsultant() this.getConsultant()
// 非集团账号隐藏配置门店 // 非集团账号隐藏配置门店
......
...@@ -93,8 +93,8 @@ ...@@ -93,8 +93,8 @@
</div> </div>
</div> </div>
<div class="pageTitle">会员用户</div> <div class="pageTitle">会员用户</div>
<div class="live-room container p-t-20 "> <div class="live-room container">
<GLCombiForm ref="showSearch" :rowNumber="1" :formObj="searchForm" :formData="searchFormData" @handleOk="handleSearch" @handleRest="handleReset"></GLCombiForm> <GLCombiForm class="p-t-20" ref="showSearch" :rowNumber="1" :formObj="searchForm" :formData="searchFormData" @handleOk="handleSearch" @handleRest="handleReset"></GLCombiForm>
<div class="flex-between m-b-10 m-t-10"> <div class="flex-between m-b-10 m-t-10">
<div class="text-16 color-3 weight-5">会员列表</div> <div class="text-16 color-3 weight-5">会员列表</div>
<div class="export" @click="handleExport">全部导出</div> <div class="export" @click="handleExport">全部导出</div>
...@@ -633,7 +633,6 @@ export default { ...@@ -633,7 +633,6 @@ export default {
background-color: #fff; background-color: #fff;
height: 190px; height: 190px;
box-sizing: border-box; box-sizing: border-box;
margin-top: 20px;
padding: 10px 8px; padding: 10px 8px;
box-shadow: 0 1px 5px 0 rgba(38, 38, 38, 0.1); box-shadow: 0 1px 5px 0 rgba(38, 38, 38, 0.1);
.cardBoxWrap { .cardBoxWrap {
......
...@@ -272,7 +272,7 @@ export default { ...@@ -272,7 +272,7 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
.marketing { .marketing {
.container-detail { .container-detail {
padding: 20px 0; padding-bottom: 20px;
.order-info { .order-info {
width: 100%; width: 100%;
height: auto; height: auto;
......
...@@ -367,7 +367,7 @@ export default { ...@@ -367,7 +367,7 @@ export default {
this.$messageBox.confirm('下架后将隐藏且客户不能购买该套餐,已经购买的客户仍继续享有该套餐的服务?', '下架', { this.$messageBox.confirm('下架后将隐藏且客户不能购买该套餐,已经购买的客户仍继续享有该套餐的服务?', '下架', {
confirmButtonText: '确定', confirmButtonText: '确定',
cancelButtonText: '取消', cancelButtonText: '取消',
type: 'warning', type: 'warning',
// type: 'error', // type: 'error',
callback: action => { callback: action => {
if (action == 'confirm') { if (action == 'confirm') {
...@@ -406,7 +406,7 @@ export default { ...@@ -406,7 +406,7 @@ export default {
this.$messageBox.confirm('是否删除该套餐?', '删除', { this.$messageBox.confirm('是否删除该套餐?', '删除', {
confirmButtonText: '确定', confirmButtonText: '确定',
cancelButtonText: '取消', cancelButtonText: '取消',
// type: 'error', type: 'warning',
callback: action => { callback: action => {
if (action == 'confirm') { if (action == 'confirm') {
deleteSetMeal({ id: row.id }).then(res => { deleteSetMeal({ id: row.id }).then(res => {
...@@ -428,7 +428,7 @@ export default { ...@@ -428,7 +428,7 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
.btnWrap { .btnWrap {
margin: 10px 0; margin-bottom: 20px;
} }
/deep/ .el-dialog__header { /deep/ .el-dialog__header {
......
...@@ -462,7 +462,6 @@ export default { ...@@ -462,7 +462,6 @@ export default {
color: #5850ff !important; color: #5850ff !important;
} }
.topMsg { .topMsg {
margin: 20px 0px 0;
padding: 0 20px; padding: 0 20px;
background-color: #fff; background-color: #fff;
height: 56px; height: 56px;
......
<!-- 新车管理 --> <!-- 新车管理 -->
<template> <template>
<div class="marketing"> <div class="marketing">
<div class="m-b-20"> <!-- <div class="m-b-20">
<!-- <GLButton :size="size" type="primary" fn="新增新车" class="el-icon-plus" @click="handleEdit(1)">新增新车</GLButton> --> <GLButton :size="size" type="primary" fn="新增新车" class="el-icon-plus" @click="handleEdit(1)">新增新车</GLButton>
</div> </div> -->
<div class="container"> <div class="container">
<GLCombiForm ref="showSearch" :rowNumber="1" :formObj="searchForm" :formData="searchFormData" @handleOk="handleSearch" @handleRest="handleReset"></GLCombiForm> <GLCombiForm ref="showSearch" :rowNumber="1" :formObj="searchForm" :formData="searchFormData" @handleOk="handleSearch" @handleRest="handleReset"></GLCombiForm>
......
...@@ -26,9 +26,9 @@ ...@@ -26,9 +26,9 @@
</div> </div>
</div> </div>
</div> </div>
<div class="footer" :style="{ left: footerLeft + 'px', width: footerWidth + 'px' }"> <GLFooter>
<el-button type="default" @click="handleCancel">返回</el-button> <el-button @click="handleCancel" size="medium">返回</el-button>
</div> </GLFooter>
</div> </div>
</template> </template>
...@@ -39,8 +39,6 @@ export default { ...@@ -39,8 +39,6 @@ export default {
return { return {
size: 'small', size: 'small',
title: '评论详情', title: '评论详情',
footerLeft: '0',
footerWidth: '0',
editChildRef: 'editChildRef', editChildRef: 'editChildRef',
routeInfo: { routeInfo: {
id: '' id: ''
...@@ -51,8 +49,7 @@ export default { ...@@ -51,8 +49,7 @@ export default {
}, },
mounted() { mounted() {
this.footerLeft = document.querySelector('.base-container-right').offsetLeft this.setMinHeight()
this.footerWidth = document.documentElement.clientWidth - this.footerLeft
this.routeInfo = this.$route.query this.routeInfo = this.$route.query
this.getInfo() this.getInfo()
}, },
......
...@@ -91,7 +91,7 @@ export default { ...@@ -91,7 +91,7 @@ export default {
setTableFinishFun() { setTableFinishFun() {
//接收到的数据为空 //接收到的数据为空
this.$refs.commentRef.data.length ? (this.$refs.commentRef.tableHeightValues = '') : this.$refs.commentRef.setTableHeightFun() // this.$refs.commentRef.data.length ? (this.$refs.commentRef.tableHeightValues = '') : this.$refs.commentRef.setTableHeightFun()
}, },
handleImgLook(imgUrls) { handleImgLook(imgUrls) {
......
...@@ -282,10 +282,10 @@ ...@@ -282,10 +282,10 @@
</div> </div>
</div> </div>
<comment-detail v-show="['2', '3'].includes(routeInfo.addOrEdit + '') && activeName == 'afterOrder'" :goodsId="routeInfo.id"></comment-detail> <comment-detail v-show="['2', '3'].includes(routeInfo.addOrEdit + '') && activeName == 'afterOrder'" :goodsId="routeInfo.id"></comment-detail>
<div class="footer" :style="{ left: footerLeft + 'px', width: footerWidth + 'px' }"> <GLFooter>
<el-button v-if="routeInfo.addOrEdit == '1' || (routeInfo.addOrEdit == '2' && activeName == 'basicInfo')" type="primary" @click="handleConfirm">确定</el-button> <el-button @click="handleCancel" size="medium">取消</el-button>
<el-button type="default" @click="handleCancel">取消</el-button> <el-button v-if="routeInfo.addOrEdit == '1' || (routeInfo.addOrEdit == '2' && activeName == 'basicInfo')" type="primary" @click="handleConfirm" size="medium" :loading="loading">提交</el-button>
</div> </GLFooter>
<el-dialog :visible.sync="isImgVisible"> <el-dialog :visible.sync="isImgVisible">
<img class="dialog-img" width="100%" :src="dialogImageUrl" alt /> <img class="dialog-img" width="100%" :src="dialogImageUrl" alt />
</el-dialog> </el-dialog>
...@@ -418,8 +418,6 @@ export default { ...@@ -418,8 +418,6 @@ export default {
] ]
}, },
size: 'small', size: 'small',
footerLeft: '0',
footerWidth: '0',
editChildRef: 'editChildRef', editChildRef: 'editChildRef',
// tab // tab
activeName: 'basicInfo', activeName: 'basicInfo',
...@@ -933,8 +931,6 @@ export default { ...@@ -933,8 +931,6 @@ export default {
mounted() { mounted() {
this.userInfo = this.$globalState.session this.userInfo = this.$globalState.session
this.$refs.merchantTableRef[0].tableHeightValues = '400px' this.$refs.merchantTableRef[0].tableHeightValues = '400px'
this.footerLeft = document.querySelector('.base-container-right').offsetLeft
this.footerWidth = document.documentElement.clientWidth - this.footerLeft
this.getBaseDate().then(() => { this.getBaseDate().then(() => {
this.getOptionsList(0, 'editFormData', false) this.getOptionsList(0, 'editFormData', false)
}) })
......
...@@ -76,11 +76,10 @@ ...@@ -76,11 +76,10 @@
<p class="wechat-name one-line-ellipsis">{{ editForm.activityName }}</p> <p class="wechat-name one-line-ellipsis">{{ editForm.activityName }}</p>
<p v-show="editForm.limitPurchaseNumber" class="wechat-limit-num one-line-ellipsis">{{ editForm.limitPurchaseNumber }}</p> <p v-show="editForm.limitPurchaseNumber" class="wechat-limit-num one-line-ellipsis">{{ editForm.limitPurchaseNumber }}</p>
</div> </div>
<div class="footer" :style="{ left: footerLeft + 'px', width: footerWidth + 'px' }"> <GLFooter>
<el-button type="primary" v-if="apear != 'see'" @click="handleConfirm">确定</el-button> <el-button @click="handleCancel" size="medium">{{ apear != 'see' ? '取消' : '返回' }}</el-button>
<el-button v-if="apear != 'see'" @click="handleCancel">取消</el-button> <el-button v-if="apear != 'see'" type="primary" @click="handleConfirm" size="medium" :loading="loading">提交</el-button>
<el-button v-if="apear == 'see'" @click="handleCancel">返回</el-button> </GLFooter>
</div>
<select-single-pro-dialog v-if="isSingleSelectVisible" :isSingleSelectVisible="isSingleSelectVisible" :selectedProInfo="selectedProInfo" @handleSingleSelectConfirm="handleSingleSelectConfirm" @handleSingleSelectClose="handleSingleSelectClose(true)"></select-single-pro-dialog> <select-single-pro-dialog v-if="isSingleSelectVisible" :isSingleSelectVisible="isSingleSelectVisible" :selectedProInfo="selectedProInfo" @handleSingleSelectConfirm="handleSingleSelectConfirm" @handleSingleSelectClose="handleSingleSelectClose(true)"></select-single-pro-dialog>
</div> </div>
</template> </template>
...@@ -97,8 +96,6 @@ export default { ...@@ -97,8 +96,6 @@ export default {
1: '创建秒杀活动', 1: '创建秒杀活动',
2: '编辑秒杀活动' 2: '编辑秒杀活动'
}, },
footerLeft: '0',
footerWidth: '0',
editChildRef: 'editChildRef', editChildRef: 'editChildRef',
pickerOptions: { pickerOptions: {
disabledDate(v) { disabledDate(v) {
...@@ -274,8 +271,7 @@ export default { ...@@ -274,8 +271,7 @@ export default {
}, },
mounted() { mounted() {
this.footerLeft = document.querySelector('.base-container-right').offsetLeft this.setMinHeight()
this.footerWidth = document.documentElement.clientWidth - this.footerLeft
this.routeInfo = this.$route.params this.routeInfo = this.$route.params
this.routeInfo.addOrEdit != 1 ? this.getInfo() : '' this.routeInfo.addOrEdit != 1 ? this.getInfo() : ''
var id = this.routeInfo.id var id = this.routeInfo.id
......
...@@ -165,11 +165,10 @@ ...@@ -165,11 +165,10 @@
<img class="wechat-footer" src="@/assets/seckillActivity/crowd-footer.png" /> <img class="wechat-footer" src="@/assets/seckillActivity/crowd-footer.png" />
</div> </div>
</div> </div>
<div class="footer" :style="{ left: footerLeft + 'px', width: footerWidth + 'px' }"> <GLFooter>
<el-button type="primary" v-if="routeInfo.addOrEdit != 'detail'" @click="handleConfirm">确定</el-button> <el-button @click="handleCancel" size="medium">{{ routeInfo.addOrEdit != 'detail' ? '取消' : '返回' }}</el-button>
<el-button v-if="routeInfo.addOrEdit != 'detail'" @click="handleCancel">取消</el-button> <el-button v-if="routeInfo.addOrEdit != 'detail'" type="primary" @click="handleConfirm" size="medium" :loading="loading">提交</el-button>
<el-button v-if="routeInfo.addOrEdit == 'detail'" @click="handleCancel">返回</el-button> </GLFooter>
</div>
<select-single-pro-dialog v-if="isSingleSelectVisible" :isSingleSelectVisible="isSingleSelectVisible" :selectedProInfo="selectedProInfo" @handleSingleSelectConfirm="handleSingleSelectConfirm" @handleSingleSelectClose="handleSingleSelectClose(true)"></select-single-pro-dialog> <select-single-pro-dialog v-if="isSingleSelectVisible" :isSingleSelectVisible="isSingleSelectVisible" :selectedProInfo="selectedProInfo" @handleSingleSelectConfirm="handleSingleSelectConfirm" @handleSingleSelectClose="handleSingleSelectClose(true)"></select-single-pro-dialog>
</div> </div>
</template> </template>
...@@ -188,8 +187,6 @@ export default { ...@@ -188,8 +187,6 @@ export default {
} }
return { return {
size: 'small', size: 'small',
footerLeft: '0',
footerWidth: '0',
editChildRef: 'editChildRef', editChildRef: 'editChildRef',
loading: false, loading: false,
userInfo: {}, userInfo: {},
...@@ -592,8 +589,7 @@ export default { ...@@ -592,8 +589,7 @@ export default {
}, },
mounted() { mounted() {
this.footerLeft = document.querySelector('.base-container-right').offsetLeft this.setMinHeight()
this.footerWidth = document.documentElement.clientWidth - this.footerLeft
this.routeInfo = this.$route.query this.routeInfo = this.$route.query
this.routeInfo.addOrEdit != 'add' ? this.getInfo() : this.getMerchantInfo() this.routeInfo.addOrEdit != 'add' ? this.getInfo() : this.getMerchantInfo()
var id = this.routeInfo.id var id = this.routeInfo.id
......
...@@ -93,10 +93,10 @@ ...@@ -93,10 +93,10 @@
<div v-show="!editForm.eventList.length && submit" class="red-txt">请创建营销事件</div> <div v-show="!editForm.eventList.length && submit" class="red-txt">请创建营销事件</div>
</div> </div>
</div> </div>
<div class="footer" :style="{ left: footerLeft + 'px', width: footerWidth + 'px' }"> <GLFooter>
<el-button type="primary" @click="handleConfirm">确定</el-button> <el-button @click="handleCancel" size="medium">取消</el-button>
<el-button type="default" @click="handleCancel">取消</el-button> <el-button type="primary" @click="handleConfirm" size="medium" :loading="loading">提交</el-button>
</div> </GLFooter>
<select-Crowd v-if="isCrowdCustVisible" :dialogVisible="isCrowdCustVisible" :selectedCrowdList="JSON.parse(JSON.stringify(customerDataList[0].list))" @handleCrowdCustClose="handleCrowdCustClose" @handleCrowdCustConfirm="handleDialogConfirm"></select-Crowd> <select-Crowd v-if="isCrowdCustVisible" :dialogVisible="isCrowdCustVisible" :selectedCrowdList="JSON.parse(JSON.stringify(customerDataList[0].list))" @handleCrowdCustClose="handleCrowdCustClose" @handleCrowdCustConfirm="handleDialogConfirm"></select-Crowd>
<select-tag ref="selectTagForm" @tagSelected="handleDialogConfirm" :dialogVisible="isTagVisible"></select-tag> <select-tag ref="selectTagForm" @tagSelected="handleDialogConfirm" :dialogVisible="isTagVisible"></select-tag>
<select-customer v-if="isAppointCustVisible" :dialogVisible="isAppointCustVisible" :parentSelectedCustomerList="customerDataList[2].list" @handleAppointCustClose="handleAppointCustClose" @handleAppointCustConfirm="handleDialogConfirm"></select-customer> <select-customer v-if="isAppointCustVisible" :dialogVisible="isAppointCustVisible" :parentSelectedCustomerList="customerDataList[2].list" @handleAppointCustClose="handleAppointCustClose" @handleAppointCustConfirm="handleDialogConfirm"></select-customer>
...@@ -114,8 +114,6 @@ export default { ...@@ -114,8 +114,6 @@ export default {
size: 'small', size: 'small',
title: '基本信息', title: '基本信息',
url: url, url: url,
footerLeft: '0',
footerWidth: '0',
editChildRef: 'editChildRef', editChildRef: 'editChildRef',
editStatus: false, editStatus: false,
editDisabled: false, editDisabled: false,
...@@ -298,8 +296,7 @@ export default { ...@@ -298,8 +296,7 @@ export default {
}, },
mounted() { mounted() {
this.footerLeft = document.querySelector('.base-container-right').offsetLeft this.setMinHeight('.sop-base-info')
this.footerWidth = document.documentElement.clientWidth - this.footerLeft
if (this.routeInfo.addOrEdit == 'edit') { if (this.routeInfo.addOrEdit == 'edit') {
this.getInfo() this.getInfo()
} else if (this.routeInfo.info) { } else if (this.routeInfo.info) {
......
...@@ -96,10 +96,10 @@ ...@@ -96,10 +96,10 @@
</template> </template>
</glsx-combi-form> </glsx-combi-form>
</div> </div>
<div class="footer" :style="{ left: footerLeft + 'px', width: footerWidth + 'px' }"> <GLFooter>
<el-button type="primary" @click="handleConfirm">确定</el-button> <el-button @click="handleCancel" size="medium">取消</el-button>
<el-button type="default" @click="handleCancel">取消</el-button> <el-button type="primary" @click="handleConfirm" size="medium" :loading="loading">提交</el-button>
</div> </GLFooter>
<ActivityModel ref="activity" @selectActivity="selectActivity"></ActivityModel> <ActivityModel ref="activity" @selectActivity="selectActivity"></ActivityModel>
<material-model v-if="isMaterialVisible" :isMaterialVisible.sync="isMaterialVisible" @handleMaterialConfirm="handleMaterialConfirm" @handleMaterialClose="handleMaterialClose"></material-model> <material-model v-if="isMaterialVisible" :isMaterialVisible.sync="isMaterialVisible" @handleMaterialConfirm="handleMaterialConfirm" @handleMaterialClose="handleMaterialClose"></material-model>
<nickname-model v-if="isNicknameVisible" :isNicknameVisible.sync="isNicknameVisible" @handleNicknameConfirm="handleNicknameConfirm" @handleNicknameClose="handleNicknameClose"></nickname-model> <nickname-model v-if="isNicknameVisible" :isNicknameVisible.sync="isNicknameVisible" @handleNicknameConfirm="handleNicknameConfirm" @handleNicknameClose="handleNicknameClose"></nickname-model>
...@@ -117,8 +117,6 @@ export default { ...@@ -117,8 +117,6 @@ export default {
data() { data() {
return { return {
size: 'small', size: 'small',
footerLeft: '0',
footerWidth: '0',
editChildRef: 'editChildRef', editChildRef: 'editChildRef',
isMaterialVisible: false, isMaterialVisible: false,
isNicknameVisible: false, isNicknameVisible: false,
...@@ -454,8 +452,6 @@ export default { ...@@ -454,8 +452,6 @@ export default {
}, },
mounted() { mounted() {
this.footerLeft = document.querySelector('.base-container-right').offsetLeft
this.footerWidth = document.documentElement.clientWidth - this.footerLeft
Object.assign(this.editForm, this.eventObj.info) Object.assign(this.editForm, this.eventObj.info)
this.getStaffTypeList() this.getStaffTypeList()
this.$nextTick(() => { this.$nextTick(() => {
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<!-- 商品编辑 - 带货 --> <!-- 商品编辑 - 带货 -->
<template> <template>
<div class="edit-product-dh marketing edit-box"> <div class="edit-product-dh marketing edit-box">
<div class="container"> <div class="container edit-container">
<p class="edit-title">{{ title }}</p> <p class="edit-title">{{ title }}</p>
<div class="flex" style="margin-top: 20px;"> <div class="flex" style="margin-top: 20px;">
<div class="main-img-box"> <div class="main-img-box">
...@@ -50,10 +50,9 @@ ...@@ -50,10 +50,9 @@
</div> </div>
<glsx-combi-form v-if="!specificationDetailList.length" class="edit-form-container" ref="editFormRef" labelWidth="140px" defaultWidth="320px" :isBlock="true" :formRef="editChildRef" :formObj="editForm" :formData="editFormData" :formRules="editRule"></glsx-combi-form> <glsx-combi-form v-if="!specificationDetailList.length" class="edit-form-container" ref="editFormRef" labelWidth="140px" defaultWidth="320px" :isBlock="true" :formRef="editChildRef" :formObj="editForm" :formData="editFormData" :formRules="editRule"></glsx-combi-form>
</div> </div>
<div class="footer" :style="{ left: footerLeft + 'px', width: footerWidth + 'px' }"> <GLFooter>
<!-- <el-button type="primary" @click="handleConfirm">确定</el-button> --> <el-button @click="handleCancel" size="medium">返回</el-button>
<el-button type="default" @click="handleCancel">取消</el-button> </GLFooter>
</div>
</div> </div>
</template> </template>
...@@ -65,8 +64,6 @@ export default { ...@@ -65,8 +64,6 @@ export default {
return { return {
size: 'small', size: 'small',
title: '查看商品', title: '查看商品',
footerLeft: '0',
footerWidth: '0',
editChildRef: 'editChildRef', editChildRef: 'editChildRef',
// submitted: false, // submitted: false,
isDisabled: false, isDisabled: false,
...@@ -109,8 +106,7 @@ export default { ...@@ -109,8 +106,7 @@ export default {
}, },
mounted() { mounted() {
this.footerLeft = document.querySelector('.base-container-right').offsetLeft this.setMinHeight()
this.footerWidth = document.documentElement.clientWidth - this.footerLeft
this.routeInfo = this.$route.query this.routeInfo = this.$route.query
this.isDisabled = true this.isDisabled = true
this.editFormData[0].isDisabled = true this.editFormData[0].isDisabled = true
......
<!-- 编辑专区 --> <!-- 编辑专区 -->
<template> <template>
<div class="edit-gift marketing p-t-20 edit-box"> <div class="edit-gift marketing edit-box">
<div class="container edit-container"> <div class="container edit-container">
<p class="edit-title">{{ title }}</p> <p class="edit-title">{{ title }}</p>
<glsx-combi-form class="edit-form-container m-r-20" ref="editFormRef" :isEdit="isEdit" :labelWidth="labelWidth" defaultWidth="320px" :isBlock="true" :formRef="editChildRef" :formObj="editForm" :formData="editFormData" :formRules="editRule"></glsx-combi-form> <glsx-combi-form class="edit-form-container m-r-20" ref="editFormRef" :isEdit="isEdit" :labelWidth="labelWidth" defaultWidth="320px" :isBlock="true" :formRef="editChildRef" :formObj="editForm" :formData="editFormData" :formRules="editRule"></glsx-combi-form>
......
...@@ -31,10 +31,14 @@ ...@@ -31,10 +31,14 @@
</el-row> </el-row>
</relate-store-dialog> </relate-store-dialog>
</div> </div>
<div class="footer" :style="{ left: footerLeft + 'px', width: footerWidth + 'px' }"> <GLFooter>
<el-button @click="handleCancel" size="medium">取消</el-button>
<el-button type="primary" @click="handleConfirm" size="medium" :loading="loading">提交</el-button>
</GLFooter>
<!-- <div class="footer" :style="{ left: footerLeft + 'px', width: footerWidth + 'px' }">
<el-button type="primary" @click="handleConfirm">确定</el-button> <el-button type="primary" @click="handleConfirm">确定</el-button>
<el-button type="default" @click="handleCancel">取消</el-button> <el-button type="default" @click="handleCancel">取消</el-button>
</div> </div> -->
</div> </div>
</template> </template>
...@@ -49,8 +53,6 @@ export default { ...@@ -49,8 +53,6 @@ export default {
1: '新增专区', 1: '新增专区',
2: '编辑专区' 2: '编辑专区'
}, },
footerLeft: '0',
footerWidth: '0',
editChildRef: 'editChildRef', editChildRef: 'editChildRef',
routeInfo: { routeInfo: {
// 1-新增;2-编辑;3-查看 // 1-新增;2-编辑;3-查看
...@@ -139,8 +141,7 @@ export default { ...@@ -139,8 +141,7 @@ export default {
}, },
mounted() { mounted() {
this.footerLeft = document.querySelector('.base-container-right').offsetLeft this.setMinHeight()
this.footerWidth = document.documentElement.clientWidth - this.footerLeft
this.routeInfo = this.$route.query this.routeInfo = this.$route.query
this.title = this.titleObj[this.routeInfo.addOrEdit] this.title = this.titleObj[this.routeInfo.addOrEdit]
this.routeInfo.addOrEdit != 1 ? this.getInfo() : '' this.routeInfo.addOrEdit != 1 ? this.getInfo() : ''
...@@ -232,7 +233,7 @@ export default { ...@@ -232,7 +233,7 @@ export default {
.then(() => { .then(() => {
this.cancelJump() this.cancelJump()
}) })
.catch(() => {}) .catch(() => { })
} else { } else {
this.cancelJump() this.cancelJump()
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!