头部导航增加埋点设置
This commit is contained in:
@@ -77,11 +77,21 @@
|
||||
</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="接口是否单服务">
|
||||
<el-checkbox v-model="form.isSingleService"/>
|
||||
</el-form-item>
|
||||
<el-form-item label="默认首页">
|
||||
<el-input v-model="form.homePage" clearable placeholder="填写应用的文件名"/>
|
||||
</el-form-item>
|
||||
</div>
|
||||
<div class="fill">
|
||||
<el-form-item label="开启百度流量">
|
||||
@@ -187,11 +197,13 @@ export default {
|
||||
submit() {
|
||||
this.$refs.AddForm.validate(v => {
|
||||
if (v) {
|
||||
const {tabBar, form: {type, appId, isSingleService, homePage}} = 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, dv, downloadCenter, showTool, helpDoc, customerService}
|
||||
} else if (type == 'wxwork') {
|
||||
this.form.extra = {isSingleService, homePage}
|
||||
this.form.extra = {isSingleService, homePage, hmt}
|
||||
}
|
||||
this.instance.post("/node/custom/addOrUpdate", this.form).then(res => {
|
||||
if (res?.code == 0) {
|
||||
|
||||
Reference in New Issue
Block a user