From a2b2309c0cead11d8b73c2f0f52f05df4a9fa588 Mon Sep 17 00:00:00 2001
From: zhuzhuanzhuan
Date: 星期一, 13 十一月 2023 17:32:15 +0800
Subject: [PATCH] 1、优化车间看板页面开启拖拽及缩放功能时关闭鼠标悬浮弹出设备详情弹窗功能 2、优化用户登陆时若输入密码错误后登录按钮将被禁用问题
---
src/views/eam/modules/operationCertificateApply/OperationCertificateApplyForm.vue | 21 +++++++++++----------
1 files changed, 11 insertions(+), 10 deletions(-)
diff --git a/src/views/eam/modules/operationCertificateApply/OperationCertificateApplyForm.vue b/src/views/eam/modules/operationCertificateApply/OperationCertificateApplyForm.vue
index 3064b2e..fa9fee4 100644
--- a/src/views/eam/modules/operationCertificateApply/OperationCertificateApplyForm.vue
+++ b/src/views/eam/modules/operationCertificateApply/OperationCertificateApplyForm.vue
@@ -88,7 +88,6 @@
},
data() {
return {
- isAchievement:false,
labelCol: {
xs: { span: 24 },
sm: { span: 5 }
@@ -232,7 +231,7 @@
default: false,
required: false
},
- isAchievement: {
+ achievement: {
type: Boolean,
default: false,
required: false
@@ -243,7 +242,7 @@
return this.disabled
},
achievementDisabled() {
- return this.isAchievement
+ return this.achievement
}
},
created() {
@@ -309,13 +308,15 @@
console.log("formData===>",formData);
httpAction(url, formData, method).then((res) => {
if (res.success) {
- httpAction(this.url.addOperationCertificate, formData.operationCertificateApplyDetailList, 'post').then((res) => {
- if (res.success) {
- this.$message.success(res.message)
- }else {
- this.$message.warning(res.message)
- }
- })
+ if(this.achievementDisabled){
+ httpAction(this.url.addOperationCertificate, formData.operationCertificateApplyDetailList, 'post').then((res) => {
+ if (res.success) {
+ this.$message.success(res.message)
+ }else {
+ this.$message.warning(res.message)
+ }
+ })
+ }
this.$message.success(res.message)
this.$emit('ok')
this.close()
--
Gitblit v1.9.3