Commit 3c2f1993 by chenwq

跳转sop

1 parent 23f0b138
......@@ -43,8 +43,13 @@ export default {
editEvent
},
beforeRouteLeave(to, from, next) {
this.$common.utils.storage.get('sopInfo') && this.$common.utils.storage.remove('sopInfo')
next()
},
created() {
this.routeInfo = this.$route.query
this.routeInfo = Object.keys(this.$route.query).length ? this.$route.query : this.$common.utils.storage.get('sopInfo')
},
methods: {
......
......@@ -77,7 +77,7 @@
<div class="container edit-container">
<p class="edit-title">营销渠道</p>
<glsx-combi-form class="edit-form-container m-r-20" ref="editFormRefChannel" :isEdit="isEdit" :labelWidth="labelWidth" defaultWidth="320px" :isBlock="true" :formRef="editChildRef" :formObj="editForm" :formData="editFormDataChannel" :formRules="editRule">
<div v-show="editForm.pushChannelType" slot="channelSuffix" class="edit-tips m-t-8">预估受众用户总数:{{ editForm.pushChannelType == 2 ? predictCountObj.phone : predictCountObj.qiwei }} /{{ predictCountObj.total }}</div>
<div v-show="editForm.pushChannelType" slot="channelSuffix" class="edit-tips m-t-8">预估受众用户总数:{{ editForm.pushChannelType == 2 ? predictCountObj.phone : predictCountObj.qiwei }} / {{ predictCountObj.total }}</div>
<template slot="reachesType" slot-scope="scope">
<el-radio-group v-model="editForm[scope.scope.name]" @change="handleReachesType" :disabled="editForm.repeatFlag == 'N'">
<el-radio v-for="(item, index) in scope.scope.optionList" :key="index" :label="item[scope.scope.optionId]">{{ item[scope.scope.optionLabel] }}</el-radio>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!