From e0f1fb7f0b87d61babdafadd289d42e347c51944 Mon Sep 17 00:00:00 2001
From: songhuangfeng123 <shf18767906695@163.com>
Date: Fri, 29 Apr 2022 17:12:01 +0800
Subject: [PATCH] 负责人新增搜索功能
---
src/views/majorHazardSourceMonitoring/productionEquipment/index.vue | 16 +++++++++++++++-
1 files changed, 15 insertions(+), 1 deletions(-)
diff --git a/src/views/majorHazardSourceMonitoring/productionEquipment/index.vue b/src/views/majorHazardSourceMonitoring/productionEquipment/index.vue
index 5da8ba6..2949b54 100644
--- a/src/views/majorHazardSourceMonitoring/productionEquipment/index.vue
+++ b/src/views/majorHazardSourceMonitoring/productionEquipment/index.vue
@@ -129,6 +129,7 @@
v-model="form.userId"
placeholder="请选择负责人"
style="width: 100%"
+ filterable
>
<el-option
v-for="item in personInCharge"
@@ -257,6 +258,10 @@
title: "成功",
});
} else {
+ this.$message({
+ type: "warning",
+ message: res.data.message,
+ });
}
});
} else {
@@ -271,7 +276,10 @@
title: "成功",
});
} else {
-
+ this.$message({
+ type: "warning",
+ message: res.data.message,
+ });
}
});
}
@@ -294,6 +302,12 @@
type: "success",
duration: 2000,
});
+ }else {
+ this.$message({
+ type: "warning",
+ message: res.data.message,
+ });
+
}
});
})
--
Gitblit v1.9.2