BUG 26943
This commit is contained in:
@@ -166,6 +166,7 @@ export default {
|
|||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
let {type, isQuote, id} = this.$route.query
|
let {type, isQuote, id} = this.$route.query
|
||||||
|
document.title = !id ? '新建表单' : '编辑表单'
|
||||||
this.type = type
|
this.type = type
|
||||||
this.isQuote = !!isQuote
|
this.isQuote = !!isQuote
|
||||||
if (id) {
|
if (id) {
|
||||||
@@ -182,7 +183,6 @@ export default {
|
|||||||
}
|
}
|
||||||
this.formConfig = res
|
this.formConfig = res
|
||||||
})
|
})
|
||||||
|
|
||||||
uni.$on('filedConfig', res => {
|
uni.$on('filedConfig', res => {
|
||||||
console.log(res)
|
console.log(res)
|
||||||
if (res.index < 0) {
|
if (res.index < 0) {
|
||||||
@@ -191,7 +191,6 @@ export default {
|
|||||||
this.targetList.splice(res.index, 1, res.config)
|
this.targetList.splice(res.index, 1, res.config)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
document.title = !id ? '新建表单' : '编辑表单'
|
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
toSetting() {
|
toSetting() {
|
||||||
|
|||||||
@@ -36,8 +36,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
onShow() {
|
onShow() {
|
||||||
// document.title = "问卷表单"
|
document.title = "问卷表单"
|
||||||
uni.setNavigationBarTitle({title:"问卷表单"})
|
|
||||||
this.$refs?.TabPage?.show()
|
this.$refs?.TabPage?.show()
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.injectJWeixin(['sendChatMessage', 'selectEnterpriseContact', 'shareAppMessage', 'shareWechatMessage']).then(() => {
|
this.injectJWeixin(['sendChatMessage', 'selectEnterpriseContact', 'shareAppMessage', 'shareWechatMessage']).then(() => {
|
||||||
|
|||||||
@@ -282,6 +282,9 @@ export default {
|
|||||||
checked: false
|
checked: false
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
},
|
||||||
|
onShow(){
|
||||||
|
document.title = '题目设置'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -108,11 +108,13 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
document.title = '表单设置'
|
|
||||||
if (this.id) {
|
if (this.id) {
|
||||||
this.getInfo(this.id)
|
this.getInfo(this.id)
|
||||||
} else this.getFormSetting()
|
} else this.getFormSetting()
|
||||||
},
|
},
|
||||||
|
onShow() {
|
||||||
|
document.title = '表单设置'
|
||||||
|
},
|
||||||
methods: {
|
methods: {
|
||||||
getFormSetting() {
|
getFormSetting() {
|
||||||
let params = localStorage.getItem("toFormSetting"), res = {}
|
let params = localStorage.getItem("toFormSetting"), res = {}
|
||||||
|
|||||||
@@ -126,6 +126,9 @@ export default {
|
|||||||
uni.hideLoading()
|
uni.hideLoading()
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
onShow(){
|
||||||
|
document.title = '预览表单'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -80,6 +80,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
onShow() {
|
onShow() {
|
||||||
|
document.title = '问卷表单'
|
||||||
wx.hideOptionMenu();
|
wx.hideOptionMenu();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user