From cf96248735a50054600dbea21f45d9db7faf3c7e Mon Sep 17 00:00:00 2001 From: yxq Date: Tue, 10 Dec 2024 15:21:28 +0800 Subject: [PATCH] =?UTF-8?q?=E7=B3=BB=E7=BB=9F=E9=85=8D=E7=BD=AE=E8=A1=A8?= =?UTF-8?q?=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../LearunApp-2.2.0/pages/customapp/customapp.js | 2 +- .../LearunApp-2.2.0/pages/customapp/single.vue | 12 +++++++++--- 2 files changed, 10 insertions(+), 4 deletions(-) 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