From a43f46673857cd5ce0e06400c6e3b3dedbaa0ca9 Mon Sep 17 00:00:00 2001
From: cuijian <cuijian@xalxzn.com>
Date: 星期一, 16 十月 2023 11:00:26 +0800
Subject: [PATCH] 维修工单增加必填校验
---
src/views/system/modules/DepartList/DepartModal.vue | 12 ++++++++++--
1 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/src/views/system/modules/DepartList/DepartModal.vue b/src/views/system/modules/DepartList/DepartModal.vue
index 0d280a6..697ec7c 100644
--- a/src/views/system/modules/DepartList/DepartModal.vue
+++ b/src/views/system/modules/DepartList/DepartModal.vue
@@ -189,11 +189,19 @@
that.confirmLoading = true;
httpAction(this.url.add,this.model,"post").then((res)=>{
if(res.success){
- that.$message.success(res.message);
+ // that.$message.success(res.message);
+ that.$notification.success({
+ message:'娑堟伅',
+ description:res.message
+ });
that.loadTreeData();
that.$emit('ok');
}else{
- that.$message.warning(res.message);
+ // that.$message.warning(res.message);
+ that.$notification.warning({
+ message:'娑堟伅',
+ description:res.message
+ });
}
}).finally(() => {
that.confirmLoading = false;
--
Gitblit v1.9.3