问题修改

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

@@ -118,67 +118,4 @@ const confirmForm = () => {
}
defineExpose({ open })
</script>
<style lang="scss" scoped>
.el-form {
// width: 96%;
height: 100px;
margin: 0 auto;
// overflow-y: auto;
padding-top: 20px;
}
.dialog-footer {
padding: 10px;
}
/* 调整标签的换行行为 */
.label_over_warp::v-deep .el-form-item__label {
// white-space: pre-line !important;
line-height: 16px !important;
}
::v-deep .el-form-item {
padding: 0 10px;
height: auto !important;
}
::v-deep .el-form-item__label {
justify-content: flex-start !important;
}
.form-label-left-align {
text-align: left;
}
::v-deep .el-input-number .el-input__inner {
text-align: left;
}
//表单tab容器
.form_tab_item {
height: 400px;
overflow-y: auto;
}
::v-deep .el-input {
width: 200px !important;
}
::v-deep .el-select {
width: 200px !important;
}
::v-deep .required_position {
position: relative;
.required_icon {
position: absolute;
left: -10px;
margin-top: 8px;
color: #f56c6c;
margin-left: 10px;
}
.required_text {
padding-left: 20px;
}
}
.no_required::v-deep .el-form-item__label {
padding-left: 10px !important;
width: 70px !important;
margin-left: 0px !important;
}
// ::v-deep .tabs_form{
// height:300px !important;
// }
</style>

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;

View File

@@ -1327,9 +1327,15 @@ const confirmForm = () => {
otherAttachments: otherAttachments?.value //其他附件
}
addTerminalFormData(confirmFormData).then(res => {
ruleFormRef.value.resetFields()
resetForm()
close()
if (res.code == 'A0000') {
ElMessage({
message: '新增成功',
type: 'success'
})
ruleFormRef.value.resetFields()
resetForm()
close()
}
})
} else {
console.log('表单验证失败')
@@ -1340,9 +1346,6 @@ const confirmForm = () => {
defineExpose({ open })
</script>
<style lang="scss" scoped>
.dialog-footer {
padding: 10px;
}
.fixed_upload {
width: 100%;
height: auto;