头部导航增加埋点设置
This commit is contained in:
@@ -77,6 +77,13 @@
|
||||
</el-row>
|
||||
</template>
|
||||
<template v-else-if="form.type=='web'">
|
||||
<el-form-item label="头部导航工具栏">
|
||||
<el-checkbox v-model="form.downloadCenter">下载中心</el-checkbox>
|
||||
<el-checkbox v-model="form.dv">数据大屏</el-checkbox>
|
||||
<el-checkbox v-model="form.showTool">显示/隐藏导航栏</el-checkbox>
|
||||
<el-checkbox v-model="form.helpDoc">帮助文档</el-checkbox>
|
||||
<el-checkbox v-model="form.customerService">智能客服</el-checkbox>
|
||||
</el-form-item>
|
||||
<el-row type="flex">
|
||||
<div class="fill">
|
||||
<el-form-item label="接口是否单服务">
|
||||
@@ -190,11 +197,11 @@ export default {
|
||||
submit() {
|
||||
this.$refs.AddForm.validate(v => {
|
||||
if (v) {
|
||||
const {tabBar, form: {type, appId, isSingleService, homePage, hmt}} = this
|
||||
const {tabBar, form: {type, appId, isSingleService, homePage, hmt, dv, downloadCenter, showTool, helpDoc, customerService}} = this
|
||||
if (type == 'mp') {
|
||||
this.form.extra = {tabBar, appId}
|
||||
} else if (type == 'web') {
|
||||
this.form.extra = {isSingleService, homePage, hmt}
|
||||
this.form.extra = {isSingleService, homePage, hmt, dv, downloadCenter, showTool, helpDoc, customerService}
|
||||
} else if (type == 'wxwork') {
|
||||
this.form.extra = {isSingleService, homePage, hmt}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user