Commit e4fe04f7 by wuwx

Merge branch 'v2.7.0' into wuwx_dev_v2.7.0

2 parents 48d1625e 85713c83
......@@ -387,9 +387,9 @@ export default {
},
//核销记录
writeOffDetail(row) {
this.$router.push('/couponManage/writeOffDetail/' + row.id)
},
// writeOffDetail(row) {
// this.$router.push('/couponManage/writeOffDetail/' + row.id)
// },
//领取记录
receiveDetail(row) {
......
<!-- 领取详情 -->
<template>
<div class="marketing pro-group p-t-20">
<div class="marketing pro-group">
<div class="edit-container">
<div class="marketing edit-box">
<div class="container edit-container m-b-20">
......
......@@ -98,7 +98,7 @@
<el-form :model="basicForm" :rules="basicRules" ref="groupForm" label-width="120px">
<el-form-item prop="attachmentList">
<label slot="label" class="required">群发内容</label>
<GLEditor ref="welcome" :form="'customer'" :btnList="btnList" @previewWord="previewForm"></GLEditor>
<GLEditor ref="welcome" :form="'customer'" style="line-height: 12px;" :btnList="btnList" @previewWord="previewForm"></GLEditor>
<div v-show="attachmentShow" class="el-form-item__error">{{ attachmentText }}</div>
</el-form-item>
<el-form-item label="发送时间" prop="sendType">
......
......@@ -34,7 +34,7 @@
<el-form :model="basicForm" :rules="basicRules" ref="groupForm" label-width="120px">
<el-form-item prop="attachmentList">
<label slot="label" class="required">群发内容</label>
<GLEditor ref="welcome" :form="'customerGroup'" :btnList="btnList" @previewWord="previewForm"></GLEditor>
<GLEditor ref="welcome" :form="'customerGroup'" style="line-height: 12px;" :btnList="btnList" @previewWord="previewForm"></GLEditor>
<div v-show="attachmentShow" class="el-form-item__error">{{ attachmentText }}</div>
</el-form-item>
<el-form-item label="发送时间" prop="sendType">
......
......@@ -82,9 +82,8 @@ export default {
})
item.attContent = htm
} else if (item.attType != 2 && item.attType != 3) {
console.log(item)
if (!this.eventBus) item.attContent = JSON.parse(utils.deepClone(item.attContent))
console.log(item.attContent)
console.log(item.attContent, JSON.parse(item.attContent).fileName)
item.attContent = JSON.parse(item.attContent)
}
})
}
......@@ -92,7 +91,7 @@ export default {
previewVal: {
handler(val) {
console.log(val)
this.previewList = utils.deepClone(val)
this.previewList = utils.deepClone(val).filter(item => item.attContent)
},
deep: true
}
......
<!-- 编辑礼包 -->
<template>
<div class="edit-gift marketing p-t-20 edit-box">
<div class="edit-gift marketing edit-box">
<!-- <div v-if="routeInfo.addOrEdit != 'add'" class="container approval-container">
<p class="edit-title">审批信息</p>
<div class="approval-info">
......
......@@ -173,7 +173,7 @@ export default {
return {
mode: 'mid',
hasFooter: false,
showGh: true,
showGh: false,
promotionForm: {
QRurl: '',
QRcode: ''
......@@ -370,7 +370,7 @@ export default {
this.merchantModel = this.$globalState.session.merchantModel
this.accountLevel = this.$globalState.session.accountLevel
}
// this.showGh = window.location.host.indexOf('cgacar') != -1
this.showGh = window.location.host.indexOf('cgacar') != -1
this.getCardContentFun()
this.getCardtypeList()
},
......
<!-- 浏览明细 -->
<template>
<div class="edit-share marketing p-t-20 edit-box">
<div class="edit-share marketing edit-box">
<div class="container edit-container">
<p class="edit-title">{{ routeInfo.activityName }}</p>
<div class="p-20">
<GLCombiForm ref="showSearch" class="p-t-20" :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>
<div class="flex m-b-10 w-100-percent">
<span class="table-title"></span>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!