From 1f46c23d0807265aa258bc82d03149c27fd48833 Mon Sep 17 00:00:00 2001
From: 啊鑫 <t2856754968@163.com>
Date: 星期五, 25 七月 2025 13:09:42 +0800
Subject: [PATCH] 优化XJ/Add页面按钮样式和功能
---
pages/QC/LLJ/yzxFrom.vue | 24 ++++++++++++++++++------
1 files changed, 18 insertions(+), 6 deletions(-)
diff --git a/pages/QC/LLJ/yzxFrom.vue b/pages/QC/LLJ/yzxFrom.vue
index 0334b84..9b41d5c 100644
--- a/pages/QC/LLJ/yzxFrom.vue
+++ b/pages/QC/LLJ/yzxFrom.vue
@@ -153,16 +153,28 @@
data: submitData
}
}).then(res => {
-
+ if(res.status==0){
+ uni.showToast({
+ title: '淇濆瓨鎴愬姛',
+ icon: 'success',
+ duration: 2000
+ })
+ }else{
+ uni.showModal({
+ title: "鎻愮ず",
+ content: res.message,
+ confirmText: "纭畾",
+ showCancel: false,
+ success: (res) => {
+
+ }
+ })
+ }
}).catch(() => {
this.isLoading = false; // 鍑虹幇閿欒鏃剁粨鏉熷姞杞�
});
- uni.showToast({
- title: '淇濆瓨鎴愬姛',
- icon: 'success',
- duration: 2000
- })
+
} finally {
this.isSubmitting = false
--
Gitblit v1.9.3