From fc89d746424577392fcec92cc8b8fea34006ce1c Mon Sep 17 00:00:00 2001
From: Fixiaobai <fixiaobai@163.com>
Date: 星期四, 14 九月 2023 13:49:14 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.22:9001/r/mom-before

---
 src/components/view/self-inspection.vue |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diff --git a/src/components/view/self-inspection.vue b/src/components/view/self-inspection.vue
index 55b8cbc..b8213a2 100644
--- a/src/components/view/self-inspection.vue
+++ b/src/components/view/self-inspection.vue
@@ -448,8 +448,15 @@
 			},
 			//鏂板
 			add() {
-				this.dialogVisible = false
+				if (this.form.standard[0] !== "<" && this.form.standard[0] !== "<=" && this.form.standard[0] !== ">"){
+				this.$message({
+						message: '杈撳叆鐨勭涓�涓瓧绗﹀繀椤绘槸 '<' 鎴� '<='锛�',
+						type: 'warning'
+					});
+					return;
+				}
 				this.addSelfcheck()
+				this.dialogVisible = false
 			},
 			addSelfcheck() {
                 this.$axios.post(this.$api.url.addSelfcheck,{
@@ -513,6 +520,7 @@
 			})[0]
 			console.log(one);
 			let id =one.children[0].id
+			this.checkTreeNode.id = id
 			console.log(id);
 			this.selectAllSelfStart(id)
 			this.selectDataList();

--
Gitblit v1.9.3