优化
This commit is contained in:
@@ -193,6 +193,10 @@ export default {
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
onShow () {
|
||||
document.title = !this.id ? '新建表单' : '编辑表单'
|
||||
},
|
||||
methods: {
|
||||
toSetting() {
|
||||
let {formConfig} = this
|
||||
|
||||
@@ -40,6 +40,7 @@ export default {
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
document.title = '表单创建成功'
|
||||
this.injectJWeixin(['sendChatMessage'])
|
||||
},
|
||||
methods: {
|
||||
|
||||
@@ -62,6 +62,7 @@ export default {
|
||||
},
|
||||
onShow() {
|
||||
this.getData();
|
||||
document.title = this.index == 0 ? "历史会议" : "草稿箱"
|
||||
},
|
||||
methods: {
|
||||
detail({id}) {
|
||||
|
||||
@@ -73,6 +73,7 @@ export default {
|
||||
},
|
||||
|
||||
created() {
|
||||
this.$loading()
|
||||
this.injectJWeixin(['sendChatMessage']).then(() => {
|
||||
this.getDetail()
|
||||
})
|
||||
@@ -102,6 +103,7 @@ export default {
|
||||
detail: this.flag
|
||||
}
|
||||
}).then(res => {
|
||||
uni.hideLoading()
|
||||
if (res && res.data) {
|
||||
this.detailObj = res.data;
|
||||
this.pageShow = true
|
||||
|
||||
Reference in New Issue
Block a user