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