Commit 0bf4e38c by crushh

update: dist

parent e34fd9a1
......@@ -2,20 +2,21 @@
<div>
<div class="warp">
<h2>加好友配置</h2>
<span class="echoData" v-show="friendSettingType && friendSettingType != 4">{{ friendSettingTypeOption[friendSettingType] }}</span>
<span class="echoData" v-show="friendSettingType && friendSettingType != 4">{{ echoFriendData }}</span>
<el-button type="text" style="margin-left: 20px;" @click="openDialog">去配置</el-button>
</div>
<div class="daily-set-wrap">
<div class="daily-set-content border-box">
<div class="admin-tip-body">
<div role="alert" class="el-alert el-alert--info">
<div role="alert" class="el-alert el-alert--info" style="width: 860px;">
<i class="el-alert__icon el-icon-info"></i>
<div class="el-alert__content">
<p class="el-alert__title">
1. 因企业微信接口限制,若在企微管理端为相关人员配置欢迎语,好办设置欢迎语不会生效;<br />
1. 因企业微信接口限制,若在企微管理后台为门店人员配置了欢迎语,此处好办配置的欢迎语不会生效;<br />
2. 若使用好办欢迎语,请关闭其他企业自建应用/第三方应用的欢迎语配置; <br />
3. 在此处所自定义配置的欢迎语基础上,系统将默认包含“带参会员小程序卡片”,以便门店员工添加客户好友后,引导客户进入带参会员小程序页面授权微信信息,进而使得系统将企业客户与GIC后台某客户对应起来;<br />
4. 如果导购没有绑定导购code,没有主门店信息,则无法发送好办欢迎语;
3. 只有关联了好办导购账号的企微员工在添加好友后才能触发欢迎语,否则无法发送好办欢迎语;<br />
4. 支持按照企微不同的组织架构来分别配置不同的欢迎语,也即“多部门多欢迎语”;<br />
5.好办欢迎语支持“文案+带参小程序卡片/带参公众号二维码”,请根据需要进行配置(“带参公众号二维码”仅有30天有效期,超期失效);
</p>
</div>
</div>
......@@ -55,7 +56,7 @@
<el-table-column label="操作" width="180">
<template slot-scope="{ row }">
<el-button type="text" @click="changeRoute(row)">编辑</el-button>
<el-button type="text" @click="remove(row)">删除</el-button>
<el-button type="text" @click="remove(row)" v-if="row.defaultWelcomeFlag != 1">删除</el-button>
</template>
</el-table-column>
</el-table>
......@@ -66,8 +67,8 @@
<el-form label-width="100px" style="margin-top:20px">
<el-form-item label="加好友配置">
<div v-for="(val, key) in friendSettingTypeOption" :key="key">
<el-radio :label="Number(key)" v-model="type">{{ val }}</el-radio>
<el-tag size="small" v-show="key == 1">推荐使用</el-tag>
<el-radio :label="val.label" v-model="type">{{ val.content }}</el-radio>
<el-tag size="small" v-show="val.label == 2">推荐使用</el-tag>
</div>
</el-form-item>
</el-form>
......@@ -85,11 +86,11 @@ export default {
props: {},
data() {
return {
friendSettingTypeOption: {
1: '发送【好办欢迎语】+【带导购参数的会员小程序卡片】',
2: '发送【好办欢迎语】+【带导购参数的公众号二维码】',
3: '发送【好办欢迎语】'
},
friendSettingTypeOption: [
{ label: 2, content: '发送【好办欢迎语】+【带导购参数的公众号二维码】' },
{ label: 1, content: '发送【好办欢迎语】+【带导购参数的会员小程序卡片】' },
{ label: 3, content: '发送【好办欢迎语】' }
],
title: '',
wxEnterpriseId: localStorage.getItem('userInfos') ? JSON.parse(localStorage.getItem('userInfos')).wxEnterpriseId : '',
friendSettingType: '',
......@@ -116,6 +117,15 @@ export default {
destroyed() {
document.documentElement.style.backgroundColor = '#fff';
},
computed: {
echoFriendData() {
let content = '';
if (this.friendSettingType) {
content = this.friendSettingTypeOption.filter(item => item.label == this.friendSettingType)[0].content;
}
return content;
}
},
methods: {
/**
* 输入
......
......@@ -193,7 +193,7 @@ export default {
label: 'departmentName'
},
form: {
title: '系统默认',
title: '',
welcomeContent: '你好,<微信昵称>',
welcomeMediaList: [],
suitDepartmentAddList: [],
......
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