Commit e79f7c5f by huaying

fix: 新增链路欢迎语列表数据展示

parent 90ce6c0c
......@@ -10,7 +10,9 @@ const attractFlowLinkRouter = [
path: '/attractFlowLinkAdd',
name: '新增引流链接',
meta: {
type: 'add'
type: 'add',
keepAlive: true,
fromPath: ['/salutatorySet']
},
component: _import('salesleads/actCodeManage/attractFlowLink', 'detail')
},
......@@ -18,7 +20,9 @@ const attractFlowLinkRouter = [
path: '/attractFlowLinkEdit/:id',
name: '编辑引流链接',
meta: {
type: 'edit'
type: 'edit',
keepAlive: true,
fromPath: ['/salutatorySet']
},
component: _import('salesleads/actCodeManage/attractFlowLink', 'detail')
},
......
......@@ -239,7 +239,7 @@ export default {
},
goLinkDetail(row) {
console.log(row);
if (row.type == 1) {
if (row.type == 2) {
this.$router.push('/actCodeDetail?hmId=' + row.referId);
} else {
this.$router.push(`/attractFlowLinkInfo/${row.referId}`);
......
......@@ -2,7 +2,7 @@
<div>
<el-row>
<el-col :span="17">
<el-form-item label="活码类型">
<el-form-item label="设置欢迎语">
<el-radio-group v-model="welcomesType" @change="radioChange">
<el-radio :label="1" v-if="welcomeType == 'code'">活码欢迎语</el-radio>
<el-radio :label="1" v-else>链接欢迎语</el-radio>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment