BUG 26943
This commit is contained in:
@@ -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() {
|
||||
|
||||
@@ -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(() => {
|
||||
|
||||
@@ -282,6 +282,9 @@ export default {
|
||||
checked: false
|
||||
})
|
||||
},
|
||||
},
|
||||
onShow(){
|
||||
document.title = '题目设置'
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
@@ -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 = {}
|
||||
|
||||
@@ -126,6 +126,9 @@ export default {
|
||||
uni.hideLoading()
|
||||
})
|
||||
}
|
||||
},
|
||||
onShow(){
|
||||
document.title = '预览表单'
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
@@ -80,6 +80,7 @@ export default {
|
||||
}
|
||||
},
|
||||
onShow() {
|
||||
document.title = '问卷表单'
|
||||
wx.hideOptionMenu();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user