28395
This commit is contained in:
@@ -191,6 +191,7 @@ export default {
|
||||
this.targetList.splice(res.index, 1, res.config)
|
||||
}
|
||||
})
|
||||
document.title = !id ? '新建表单' : '编辑表单'
|
||||
},
|
||||
methods: {
|
||||
toSetting() {
|
||||
@@ -295,6 +296,7 @@ export default {
|
||||
}
|
||||
})
|
||||
|
||||
this.$loading()
|
||||
this.$http.post(`/app/appquestionnairetemplate/addOrUpdate`, {
|
||||
...this.form,
|
||||
fields,
|
||||
@@ -314,8 +316,11 @@ export default {
|
||||
})}`
|
||||
})
|
||||
}
|
||||
|
||||
uni.hideLoading()
|
||||
}).catch(e => {
|
||||
this.$u.toast(e)
|
||||
uni.hideLoading()
|
||||
})
|
||||
},
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@ import {mapActions} from "vuex";
|
||||
|
||||
export default {
|
||||
name: 'AppAskForm',
|
||||
appName: '问卷表单管理',
|
||||
appName: '问卷表单',
|
||||
|
||||
data() {
|
||||
return {
|
||||
@@ -36,7 +36,6 @@ export default {
|
||||
}
|
||||
},
|
||||
onShow() {
|
||||
document.title = "问卷表单"
|
||||
this.$refs?.TabPage?.show()
|
||||
this.$nextTick(() => {
|
||||
this.injectJWeixin(['sendChatMessage', 'shareAppMessage', 'shareWechatMessage']).then(() => {
|
||||
|
||||
Reference in New Issue
Block a user