未符合项新增编辑弹框修改

This commit is contained in:
zyx.net
2023-09-05 13:52:11 +08:00
parent 5f2beaf67c
commit 47a7fb2fdf
2 changed files with 14 additions and 7 deletions
@@ -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"/>
</a-form-model-item>
</div>
</a-col>
@@ -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
@@ -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"/>
</a-form-model-item>
</div>
</a-col>
@@ -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) {