Commit 4aa0046e by crushh

update: dist

parent 8c5d351f
...@@ -35,6 +35,11 @@ const attractFlowLinkRouter = [ ...@@ -35,6 +35,11 @@ const attractFlowLinkRouter = [
component: _import('salesleads/actCodeManage/attractFlowLink', 'info') component: _import('salesleads/actCodeManage/attractFlowLink', 'info')
}, },
{ {
path: '/attLinkRecord',
name: '查看记录',
component: _import('salesleads/actCodeManage/staffActCode', 'actCodeRecord')
},
{
path: '/ladingPageList', path: '/ladingPageList',
name: '落地页列表', name: '落地页列表',
component: _import('salesleads/actCodeManage/attractFlowLink/landingPage', 'list'), component: _import('salesleads/actCodeManage/attractFlowLink/landingPage', 'list'),
......
...@@ -112,10 +112,10 @@ ...@@ -112,10 +112,10 @@
<el-input class="w-260" placeholder="请输入标题" v-model="landingPage.pageSearchText" @keyup.native="toInput" clearable @clear="getList"></el-input> <el-input class="w-260" placeholder="请输入标题" v-model="landingPage.pageSearchText" @keyup.native="toInput" clearable @clear="getList"></el-input>
<el-button plain class="blueBtn" @click="addTemp">新建模板</el-button> <el-button plain class="blueBtn" @click="addTemp">新建模板</el-button>
</div> </div>
<el-table :data="landingData" height="426" :loading="landingLoading"> <el-table :data="landingData" height="426" :loading="landingLoading" @row-click="handleTableRowClick">
<el-table-column width="55"> <el-table-column width="55">
<template slot-scope="{ row }"> <template slot-scope="{ row }">
<el-radio :label="row.pageId" v-model="form.pageId" @change.native="getCurrentRow(row)"> &nbsp;</el-radio> <el-radio :label="row.pageId" v-model="form.pageId" @change.native="getCurrentRow(row)"><i></i></el-radio>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="pageCode" label="模板ID" minWidth="148"></el-table-column> <el-table-column prop="pageCode" label="模板ID" minWidth="148"></el-table-column>
...@@ -293,6 +293,9 @@ export default { ...@@ -293,6 +293,9 @@ export default {
this.form.memberLabelStatus = 1; this.form.memberLabelStatus = 1;
this.$refs.form.validateField('memberLabelId'); this.$refs.form.validateField('memberLabelId');
}, },
handleTableRowClick(row) {
this.form.pageId = row.pageId;
},
handleTagCloseTag() { handleTagCloseTag() {
this.form.memberLabelName = ''; this.form.memberLabelName = '';
this.form.memberLabelId = ''; this.form.memberLabelId = '';
......
...@@ -110,9 +110,9 @@ export default { ...@@ -110,9 +110,9 @@ export default {
wxEnterpriseList({}).then(res => { wxEnterpriseList({}).then(res => {
let resData = res.data; let resData = res.data;
if (!!resData.result && !!resData.result.length) { if (!!resData.result && !!resData.result.length) {
const { conactsPhone, enterpriseLogo, enterpriseName } = resData.result.filter(item => item.wxEnterpriseId == this.wxEnterpriseId)[0]; const { customerPhone, enterpriseLogo, enterpriseName } = resData.result.filter(item => item.wxEnterpriseId == this.wxEnterpriseId)[0];
this.form.merchantLogo = enterpriseLogo; this.form.merchantLogo = enterpriseLogo;
this.form.merchantPhoneNumber = conactsPhone; this.form.merchantPhoneNumber = customerPhone;
this.form.merchantName = enterpriseName; this.form.merchantName = enterpriseName;
} }
}); });
......
...@@ -241,11 +241,14 @@ export default { ...@@ -241,11 +241,14 @@ export default {
const { clerkId, linkId, hmId } = row; const { clerkId, linkId, hmId } = row;
const startTime = this.dateDefault && this.dateDefault.length ? this.dateDefault[0] : undefined; const startTime = this.dateDefault && this.dateDefault.length ? this.dateDefault[0] : undefined;
const endTime = this.dateDefault && this.dateDefault.length ? this.dateDefault[1] : undefined; const endTime = this.dateDefault && this.dateDefault.length ? this.dateDefault[1] : undefined;
let query = { linkId, clerkId, hmId }; let query = { linkId, clerkId, hmId };
startTime ? (query.startTime = startTime) : ''; startTime ? (query.startTime = startTime) : '';
endTime ? (query.endTime = endTime) : ''; endTime ? (query.endTime = endTime) : '';
this.$router.push({ path: '/actCodeRecord', query: query }); if (linkId) {
this.$router.push({ path: '/attLinkRecord', query: query });
} else {
this.$router.push({ path: '/actCodeRecord', query: query });
}
} }
} }
}; };
......
...@@ -29,10 +29,10 @@ ...@@ -29,10 +29,10 @@
<el-input class="w260" placeholder="请输入标题" v-model="welcomePage.title" @keyup.native="toInput" clearable @clear="onSearch"></el-input> <el-input class="w260" placeholder="请输入标题" v-model="welcomePage.title" @keyup.native="toInput" clearable @clear="onSearch"></el-input>
<el-button plain class="blueBtn" @click="changeRoute">新建欢迎语</el-button> <el-button plain class="blueBtn" @click="changeRoute">新建欢迎语</el-button>
</div> </div>
<el-table :data="welcomeTableData" max-height="300px"> <el-table :data="welcomeTableData" max-height="300px" @row-click="getCurrentRow">
<el-table-column width="55"> <el-table-column width="55">
<template slot-scope="{ row }"> <template slot-scope="{ row }">
<el-radio :label="row.welcomeId" @change.native="getCurrentRow(row)" v-model="welcomeId">&nbsp;</el-radio> <el-radio :label="row.welcomeId" @change.native="getCurrentRow(row)" v-model="welcomeId"><i></i></el-radio>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="title" label="标题" width="158px"></el-table-column> <el-table-column prop="title" label="标题" width="158px"></el-table-column>
...@@ -154,12 +154,12 @@ export default { ...@@ -154,12 +154,12 @@ export default {
this.$router.push({ path: '/salutatorySet', query: { type: 2 } }); this.$router.push({ path: '/salutatorySet', query: { type: 2 } });
}, },
getCurrentRow(row) { getCurrentRow(row) {
console.log(row);
const { welcomeMediaList, welcomeContent, welcomeId } = row; const { welcomeMediaList, welcomeContent, welcomeId } = row;
this.$emit('update:welcomeId', welcomeId); this.$emit('update:welcomeId', welcomeId);
this.welcomeContent = welcomeContent; this.welcomeContent = welcomeContent;
this.welcomeMediaList = welcomeMediaList; this.welcomeMediaList = welcomeMediaList;
}, },
// 单选框点击事件 // 单选框点击事件
radioChange(e) { radioChange(e) {
this.$emit('update:welcomeType', e); this.$emit('update:welcomeType', e);
......
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