From a05d27a8148b8f2fe3061c4fb3908d7333ac45d3 Mon Sep 17 00:00:00 2001 From: zjh <2207896513@qq.com> Date: 星期四, 22 五月 2025 19:50:48 +0800 Subject: [PATCH] 代码提交 --- 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