From 68ce9382090846dc3a03a057a18a7d09f30e45e5 Mon Sep 17 00:00:00 2001
From: cuiqian2004 <cuiqian2004@163.com>
Date: 星期五, 17 十月 2025 17:39:03 +0800
Subject: [PATCH] test
---
pages/teaching/list.vue | 17 ++++++-----------
1 files changed, 6 insertions(+), 11 deletions(-)
diff --git a/pages/teaching/list.vue b/pages/teaching/list.vue
index 35d2ef8..7d62a86 100644
--- a/pages/teaching/list.vue
+++ b/pages/teaching/list.vue
@@ -44,6 +44,8 @@
showToast,
showModal,
session,
+ showError,
+ showInfo
} from "@/comm/utils.js"
import {
Button
@@ -129,7 +131,7 @@
} catch (ex) {
- this.showError(ex)
+ showError(ex)
}
},
@@ -141,7 +143,7 @@
this.teachingPublic = data?.Public || []
this.teachingStation = data?.Stations || []
} catch (ex) {
- this.showError(ex)
+ showError(ex)
}
},
clickAddTeaching() {
@@ -225,7 +227,7 @@
return tip
},
clickDelTeachingMode(mode, item) {
- showModal("纭鍒犻櫎绀烘暀", "璀﹀憡").then((res) => {
+ showModal("纭鍒犻櫎绀烘暀", "璀﹀憡",true,"纭畾","鍙栨秷").then((res) => {
if (res) {
this.deleteTeachingMode(mode, item)
}
@@ -259,18 +261,11 @@
}
} catch (ex) {
- this.showError(ex)
+ showError(ex)
}
},
- showError(ex) {
- let exStr = JSON.stringify(ex)
- if (exStr == "{}")
- exStr = ex
- let tip = typeof ex.msg == "string" ? ex.msg : exStr
- showModal(tip, "閿欒", false)
- },
}
--
Gitblit v1.9.1