This commit is contained in:
liuye
2022-03-25 11:37:05 +08:00
7 changed files with 13 additions and 6 deletions

View File

@@ -166,6 +166,7 @@ export default {
},
created() {
let {type, isQuote, id} = this.$route.query
document.title = !id ? '新建表单' : '编辑表单'
this.type = type
this.isQuote = !!isQuote
if (id) {
@@ -182,7 +183,6 @@ export default {
}
this.formConfig = res
})
uni.$on('filedConfig', res => {
console.log(res)
if (res.index < 0) {
@@ -191,7 +191,6 @@ export default {
this.targetList.splice(res.index, 1, res.config)
}
})
document.title = !id ? '新建表单' : '编辑表单'
},
methods: {
toSetting() {

View File

@@ -36,8 +36,7 @@ export default {
}
},
onShow() {
// document.title = "问卷表单"
uni.setNavigationBarTitle({title:"问卷表单"})
document.title = "问卷表单"
this.$refs?.TabPage?.show()
this.$nextTick(() => {
this.injectJWeixin(['sendChatMessage', 'selectEnterpriseContact', 'shareAppMessage', 'shareWechatMessage']).then(() => {

View File

@@ -282,6 +282,9 @@ export default {
checked: false
})
},
},
onShow(){
document.title = '题目设置'
}
}
</script>

View File

@@ -108,11 +108,13 @@ export default {
}
},
created() {
document.title = '表单设置'
if (this.id) {
this.getInfo(this.id)
} else this.getFormSetting()
},
onShow() {
document.title = '表单设置'
},
methods: {
getFormSetting() {
let params = localStorage.getItem("toFormSetting"), res = {}

View File

@@ -126,6 +126,9 @@ export default {
uni.hideLoading()
})
}
},
onShow(){
document.title = '预览表单'
}
}
</script>

View File

@@ -80,6 +80,7 @@ export default {
}
},
onShow() {
document.title = '问卷表单'
wx.hideOptionMenu();
}
}

View File

@@ -58,7 +58,7 @@ export default {
}
},
onShow() {
document.title = "风险监控"
document.title = "风险预警"
}
}
</script>