[update] 修改企标新增

This commit is contained in:
lideqin
2023-09-13 12:01:30 +08:00
parent 061daeb8c3
commit dc9a8efcab
6 changed files with 76 additions and 46 deletions
@@ -46,8 +46,8 @@ export default {
getFormFunc: getEnterpriseStandardAddForm,
getDocumentInfoFunc: getEnterpriseStandardInfoById,
url: {
add: '/laws/standard/domestic/commonAdd',
edit: '/laws/standard/domestic/commonEdit'
add: '/laws/standard/enterprise/commonAdd',
edit: '/laws/standard/enterprise/commonEdit'
}
}
},
@@ -65,11 +65,11 @@ export default {
})
},
handleOk () {
this.confirmLoading = true
this.$refs.addForm.submit()
},
// 表单提交的回调,获取表单数据
submitFormData (formInline) {
this.confirmLoading = true
let url = ''
if (formInline.id) {
url = this.url.edit
@@ -96,6 +96,7 @@ export default {
},
close () {
this.visible = false
this.$refs.addForm.clearValidate()
}
}
}