问题修改

This commit is contained in:
zhujiyan
2024-05-29 15:06:53 +08:00
parent 62e68e4434
commit 32be424616
12 changed files with 137 additions and 244 deletions

View File

@@ -866,9 +866,15 @@ const confirmForm = () => {
ctRatio: form.value.ctRatio / form.value.ctRatio2 //CT变比
}
addMointorPointFormData(confirmFormData).then(res => {
ruleFormRef.value.resetFields()
resetForm()
close()
if (res.code == 'A0000') {
ElMessage({
message: '新增成功',
type: 'success'
})
ruleFormRef.value.resetFields()
resetForm()
close()
}
})
} else {
console.log('表单验证失败')
@@ -879,16 +885,6 @@ const confirmForm = () => {
defineExpose({ open })
</script>
<style lang="scss" scoped>
.el-form {
// width: 96%;
// height: 400px;
// margin: 0 auto;
// overflow-y: auto;
// padding-top: 20px;
}
.dialog-footer {
padding: 10px;
}
.fixed_upload {
width: 100%;
height: auto;