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 { ...@@ -387,9 +387,9 @@ export default {
}, },
//核销记录 //核销记录
writeOffDetail(row) { // writeOffDetail(row) {
this.$router.push('/couponManage/writeOffDetail/' + row.id) // this.$router.push('/couponManage/writeOffDetail/' + row.id)
}, // },
//领取记录 //领取记录
receiveDetail(row) { receiveDetail(row) {
......
<!-- 领取详情 --> <!-- 领取详情 -->
<template> <template>
<div class="marketing pro-group p-t-20"> <div class="marketing pro-group">
<div class="edit-container"> <div class="edit-container">
<div class="marketing edit-box"> <div class="marketing edit-box">
<div class="container edit-container m-b-20"> <div class="container edit-container m-b-20">
......
...@@ -98,7 +98,7 @@ ...@@ -98,7 +98,7 @@
<el-form :model="basicForm" :rules="basicRules" ref="groupForm" label-width="120px"> <el-form :model="basicForm" :rules="basicRules" ref="groupForm" label-width="120px">
<el-form-item prop="attachmentList"> <el-form-item prop="attachmentList">
<label slot="label" class="required">群发内容</label> <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> <div v-show="attachmentShow" class="el-form-item__error">{{ attachmentText }}</div>
</el-form-item> </el-form-item>
<el-form-item label="发送时间" prop="sendType"> <el-form-item label="发送时间" prop="sendType">
......
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
<el-form :model="basicForm" :rules="basicRules" ref="groupForm" label-width="120px"> <el-form :model="basicForm" :rules="basicRules" ref="groupForm" label-width="120px">
<el-form-item prop="attachmentList"> <el-form-item prop="attachmentList">
<label slot="label" class="required">群发内容</label> <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> <div v-show="attachmentShow" class="el-form-item__error">{{ attachmentText }}</div>
</el-form-item> </el-form-item>
<el-form-item label="发送时间" prop="sendType"> <el-form-item label="发送时间" prop="sendType">
......
...@@ -82,9 +82,8 @@ export default { ...@@ -82,9 +82,8 @@ export default {
}) })
item.attContent = htm item.attContent = htm
} else if (item.attType != 2 && item.attType != 3) { } else if (item.attType != 2 && item.attType != 3) {
console.log(item) console.log(item.attContent, JSON.parse(item.attContent).fileName)
if (!this.eventBus) item.attContent = JSON.parse(utils.deepClone(item.attContent)) item.attContent = JSON.parse(item.attContent)
console.log(item.attContent)
} }
}) })
} }
...@@ -92,7 +91,7 @@ export default { ...@@ -92,7 +91,7 @@ export default {
previewVal: { previewVal: {
handler(val) { handler(val) {
console.log(val) console.log(val)
this.previewList = utils.deepClone(val) this.previewList = utils.deepClone(val).filter(item => item.attContent)
}, },
deep: true deep: true
} }
......
<!-- 编辑礼包 --> <!-- 编辑礼包 -->
<template> <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"> <!-- <div v-if="routeInfo.addOrEdit != 'add'" class="container approval-container">
<p class="edit-title">审批信息</p> <p class="edit-title">审批信息</p>
<div class="approval-info"> <div class="approval-info">
......
...@@ -173,7 +173,7 @@ export default { ...@@ -173,7 +173,7 @@ export default {
return { return {
mode: 'mid', mode: 'mid',
hasFooter: false, hasFooter: false,
showGh: true, showGh: false,
promotionForm: { promotionForm: {
QRurl: '', QRurl: '',
QRcode: '' QRcode: ''
...@@ -370,7 +370,7 @@ export default { ...@@ -370,7 +370,7 @@ export default {
this.merchantModel = this.$globalState.session.merchantModel this.merchantModel = this.$globalState.session.merchantModel
this.accountLevel = this.$globalState.session.accountLevel 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.getCardContentFun()
this.getCardtypeList() this.getCardtypeList()
}, },
......
<!-- 浏览明细 --> <!-- 浏览明细 -->
<template> <template>
<div class="edit-share marketing p-t-20 edit-box"> <div class="edit-share marketing edit-box">
<div class="container edit-container"> <div class="container edit-container">
<p class="edit-title">{{ routeInfo.activityName }}</p> <p class="edit-title">{{ routeInfo.activityName }}</p>
<div class="p-20"> <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"> <div class="flex m-b-10 w-100-percent">
<span class="table-title"></span> <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!