From 09abeae851f72a25f105030e37c6a0c9f3189378 Mon Sep 17 00:00:00 2001
From: WXL (wul) <wl_5969728@163.com>
Date: 星期二, 07 七月 2026 14:54:57 +0800
Subject: [PATCH] 测试完成
---
src/views/followvisit/tasklist/index.vue | 48 ++++++++++++++++++++++++++++++++++++------------
1 files changed, 36 insertions(+), 12 deletions(-)
diff --git a/src/views/followvisit/tasklist/index.vue b/src/views/followvisit/tasklist/index.vue
index 9640683..d5409b2 100644
--- a/src/views/followvisit/tasklist/index.vue
+++ b/src/views/followvisit/tasklist/index.vue
@@ -184,8 +184,26 @@
key="longTask"
prop="longTask"
>
- <template slot-scope="scope">
+ <!-- <template slot-scope="scope">
<span>{{ scope.row.longTask ? "闀挎湡浠诲姟" : "闈為暱鏈�" }}</span>
+ </template> -->
+ <template slot-scope="scope">
+
+ <div v-if="scope.row.longTask == 0">
+ <el-tag type="primary" :disable-transitions="false"
+ >鑷畾涔夊懆鏈熶换鍔�</el-tag
+ >
+ </div>
+ <div v-if="scope.row.longTask == 1">
+ <el-tag type="success" :disable-transitions="false"
+ >闀挎湡浠诲姟</el-tag
+ >
+ </div>
+ <div v-if="scope.row.longTask == 2">
+ <el-tag type="success" :disable-transitions="false"
+ >鍥哄畾浠诲姟</el-tag
+ >
+ </div>
</template>
</el-table-column>
@@ -685,6 +703,7 @@
this.tasktopic == 7 ||
this.tasktopic == 5 ||
this.tasktopic == 18 ||
+ this.tasktopic == 19 ||
this.tasktopic == 6
) {
if (!this.topqueryParams.type) this.topqueryParams.type = "2";
@@ -1002,17 +1021,22 @@
// 鏆傚仠
stop(row) {
- console.log(row);
- if (row.sendState == 2) {
- this.TaskOperation.taskId = row.taskid;
- this.TaskOperation.sendState = 3;
- this.TaskOperation.sendType = "";
- this.TaskOperation.taskType = row.type;
- TaskTemplateSendExecution(this.TaskOperation).then((res) => {
- this.$modal.msgSuccess("浠诲姟宸叉殏鍋�");
- this.getList();
- });
- }
+ this.$modal
+ .confirm('鏄惁纭鏆傚仠"' + row.taskName + '"锛�')
+ .then(function () {
+ if (row.sendState == 2) {
+ this.TaskOperation.taskId = row.taskid;
+ this.TaskOperation.sendState = 3;
+ this.TaskOperation.sendType = "";
+ this.TaskOperation.taskType = row.type;
+ TaskTemplateSendExecution(this.TaskOperation).then((res) => {
+ this.$modal.msgSuccess("浠诲姟宸叉殏鍋�");
+ this.getList();
+ });
+ }
+ })
+
+ .catch(() => {});
},
/** 鎻愪氦鎸夐挳 */
--
Gitblit v1.9.3