From 5c35457d2cc1fd0dcf8de9f3de838d58e8296cb8 Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期一, 09 九月 2024 18:26:33 +0800
Subject: [PATCH] 测试完成
---
src/views/followvisit/tasklist/index.vue | 22 +++++++++++++++-------
1 files changed, 15 insertions(+), 7 deletions(-)
diff --git a/src/views/followvisit/tasklist/index.vue b/src/views/followvisit/tasklist/index.vue
index 5f91eea..e1e59cb 100644
--- a/src/views/followvisit/tasklist/index.vue
+++ b/src/views/followvisit/tasklist/index.vue
@@ -811,13 +811,21 @@
},
// 鍒犻櫎浠诲姟
deletefn(row) {
- delTaskInfo(row.taskid).then((res) => {
- console.log(2);
- if (res.code == 200) {
- this.getList();
- this.$modal.msgSuccess("鍒犻櫎鎴愬姛");
- }
- });
+ this.$modal
+ .confirm(
+ '鏄惁鍒犻櫎浠诲姟鍚嶇О涓�"' +
+ row.taskName +
+ '"鐨勬暟鎹」锛屽垹闄ゅ悗涓嶅彲鎾ゅ洖锛佹槸鍚︾户缁�'
+ )
+ .then(() => {
+ delTaskInfo(row.taskid).then((res) => {
+ if (res.code == 200) {
+ this.getList();
+ this.$modal.msgSuccess("鍒犻櫎鎴愬姛");
+ }
+ });
+ })
+ .catch(() => {});
},
// 浠诲姟鍙戣捣
sponsor(row) {
--
Gitblit v1.9.3