From 2d078ee0ef0cc976aa78e673d052c0afdac60723 Mon Sep 17 00:00:00 2001
From: 王震 <10952869+daywangzhen@user.noreply.gitee.com>
Date: 星期五, 27 十月 2023 09:44:19 +0800
Subject: [PATCH] 改
---
src/views/basic/part/index.vue | 12 ++++++++++--
1 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/src/views/basic/part/index.vue b/src/views/basic/part/index.vue
index f96c473..5ef67ee 100644
--- a/src/views/basic/part/index.vue
+++ b/src/views/basic/part/index.vue
@@ -364,7 +364,7 @@
fun: this.addOrUpdateHandle
},
{
- text: '鍚屾IFS',
+ text: '鑾峰彇IFS闆朵欢',
type: 'primary',
fun: this.syncISDate,
loading: false
@@ -648,12 +648,20 @@
syncPart(datas)
.then((res) => {
const data = res.data
+ console.log(data);
if (data.code === 0) {
- this.$message.success('鍚屾鎴愬姛锛�')
+ if(data.data>0){
+ this.$message.success('鍚屾鎴愬姛'+data.data+"鏉℃暟鎹�")
+ }
+ if(data.data<1){
+ this.$message.warning("璇ユ棩鏈熸病鏈夋柊鐨勯浂浠舵暟鎹�");
+ }
this.table.toolbar.find((e) => e.text === '鍚屾IFS').loading = false
this.getData()
} else {
this.$message.error('鍚屾IFS澶辫触')
+ this.table.toolbar.find((e) => e.text === '鍚屾IFS').loading = false
+ this.getData()
}
})
.catch((e) => {
--
Gitblit v1.9.3