diff --git a/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/customapp/customapp.js b/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/customapp/customapp.js index 245134ac3..804387a14 100644 --- a/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/customapp/customapp.js +++ b/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/customapp/customapp.js @@ -26,7 +26,7 @@ export default { // 返回: scheme, formValue async getCustomAppForm(prop) { const { schemeData, formData, keyValue, useDefault } = prop - const schemeInfoId = schemeData.schemeInfoId + const schemeInfoId = schemeData.F_SchemeInfoId const schemeRef = {} const refList = [] diff --git a/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/customapp/single.vue b/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/customapp/single.vue index 43d7a6c54..df9e008ee 100644 --- a/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/customapp/single.vue +++ b/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/customapp/single.vue @@ -4,9 +4,9 @@ - + 提交保存 - 编辑本页 + @@ -112,6 +112,9 @@ export default { const formValue = this.$refs.form.getFormValue() const postData = await this.getPostData(formValue, this.scheme) postData[0].schemeInfoId = this.schemeId + // let formData = JSON.parse(postData[0].formData) + // if(!formData[this.IDKey]) formData[this.IDKey] = this.GUID() + // postData[0].formData = JSON.stringify(formData) this.HTTP_POST('learun/adms/form/save', postData, '表单提交保存失败').then(success => { this.HIDE_LOADING() if (!success) { @@ -123,6 +126,9 @@ export default { this.mode = 'view' this.editMode = false this.TOAST('提交保存成功', 'success') + setTimeout(()=>{ + this.NAV_BACK() + },600) }) return