From 0607e1ce79787ef81d40e56d417e184bc7dcb2ae Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期六, 27 一月 2024 11:42:36 +0800
Subject: [PATCH] Mr.Shi

---
 platform/src/plugins/messagebox.js |   31 +++++++++++++++++++++++++++++++
 1 files changed, 31 insertions(+), 0 deletions(-)

diff --git a/platform/src/plugins/messagebox.js b/platform/src/plugins/messagebox.js
index 5d3d2ec..be2c47b 100644
--- a/platform/src/plugins/messagebox.js
+++ b/platform/src/plugins/messagebox.js
@@ -10,6 +10,13 @@
       type: 'warning'
     })
   },
+  resetConfirm (message) {
+    return MessageBox.confirm(message, '閲嶇疆鎻愰啋', {
+      confirmButtonText: '纭閲嶇疆',
+      cancelButtonText: '鍙栨秷',
+      type: 'warning'
+    })
+  },
   // 绂佺敤浜屾纭
   disableConfirm (message) {
     return MessageBox.confirm(message, '绂佺敤鎻愰啋', {
@@ -25,5 +32,29 @@
       cancelButtonText: '鍙栨秷',
       type: 'warning'
     })
+  },
+  // 瀹屽杽鎻愰啋
+  messageApprove (message) {
+    return MessageBox.confirm(message, '瀹℃牳鎻愰啋', {
+      confirmButtonText: '纭畾',
+      cancelButtonText: '鍙栨秷',
+      type: 'warning'
+    })
+  },
+    // 闂嵎纭疄鎻愰啋
+  messageWaring (message, title, confirmText='纭畾', cancelText='鍙栨秷') {
+    return MessageBox.confirm(message, title, {
+      confirmButtonText: confirmText,
+      cancelButtonText: cancelText,
+      type: 'warning'
+    })
+  },
+  // 纭鏄惁鏈嶅姟璇ヤ紒涓�
+  cancelOrder (message) {
+    return MessageBox.confirm(message, '鍙栨秷鎻愮ず', {
+      confirmButtonText: '纭畾',
+      cancelButtonText: '鍙栨秷',
+      type: 'warning'
+    })
   }
 }

--
Gitblit v1.9.3