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) {