From 47a7fb2fdfee0cc705d15393ec5094d36d58c251 Mon Sep 17 00:00:00 2001 From: "zyx.net" Date: Tue, 5 Sep 2023 13:52:11 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9C=AA=E7=AC=A6=E5=90=88=E9=A1=B9=E6=96=B0?= =?UTF-8?q?=E5=A2=9E=E7=BC=96=E8=BE=91=E5=BC=B9=E6=A1=86=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/addModelconformance.vue | 7 +++++-- .../projectNonConformance/moudles/addModel.vue | 14 +++++++++----- 2 files changed, 14 insertions(+), 7 deletions(-) diff --git a/jero-web/src/views/projectManagement/components/addModelconformance.vue b/jero-web/src/views/projectManagement/components/addModelconformance.vue index 597eef7a0..4504ec55c 100644 --- a/jero-web/src/views/projectManagement/components/addModelconformance.vue +++ b/jero-web/src/views/projectManagement/components/addModelconformance.vue @@ -73,8 +73,9 @@ :query="{'db_field_txt':$t('Relevantlawsregulations')}" :standard="formInline" :disabled="false" + @input="Standardselectioninput" @change="StandardselectionChange" - v-model="formInline.lawsId"/> + v-model="formInline.lawsName"/> @@ -452,10 +453,12 @@ export default { }) }, StandardselectionChange(value, id) { - console.log(id) this.formInline.lawsId = id this.formInline = { ...this.formInline } }, + Standardselectioninput(val){ + this.formInline.lawsName = val + }, clickButtonToUpload(item) { this.$refs.uploadFile.perentHandleFunc() this.$refs.uploadFile.visible = true diff --git a/jero-web/src/views/projectManagement/projectNonConformance/moudles/addModel.vue b/jero-web/src/views/projectManagement/projectNonConformance/moudles/addModel.vue index 597eef7a0..22fc0b35a 100644 --- a/jero-web/src/views/projectManagement/projectNonConformance/moudles/addModel.vue +++ b/jero-web/src/views/projectManagement/projectNonConformance/moudles/addModel.vue @@ -73,8 +73,9 @@ :query="{'db_field_txt':$t('Relevantlawsregulations')}" :standard="formInline" :disabled="false" + @input="Standardselectioninput" @change="StandardselectionChange" - v-model="formInline.lawsId"/> + v-model="formInline.lawsName"/> @@ -385,7 +386,7 @@ export default { formInline: { fileLinkList:[{}], progressTrackingList:[{}], - approvalEvidenceLink:[{}] + approvalEvidenceLinkList:[{}] }, formInlinetracking:{}, confirmLoading: false, @@ -452,10 +453,12 @@ export default { }) }, StandardselectionChange(value, id) { - console.log(id) this.formInline.lawsId = id this.formInline = { ...this.formInline } }, + Standardselectioninput(val){ + this.formInline.lawsName = val + }, clickButtonToUpload(item) { this.$refs.uploadFile.perentHandleFunc() this.$refs.uploadFile.visible = true @@ -491,7 +494,7 @@ export default { this.formInline = { fileLinkList:[{}], progressTrackingList:[{}], - approvalEvidenceLink:[{}] + approvalEvidenceLinkList:[{}] } this.$nextTick(() => { this.formInline = { ...this.formInline } @@ -592,7 +595,8 @@ export default { // } // }) let query = { - problemManagementEO:formInline + // problemManagementEO:formInline + ...this.formInline } action(url, query).then((res) => { if (res.success) {