From de147dda682f8ac597bbcc8555b57acbdf45dba2 Mon Sep 17 00:00:00 2001
From: WXL (wul) <wl_5969728@163.com>
Date: 星期四, 13 十一月 2025 16:55:51 +0800
Subject: [PATCH] 测试完成
---
src/views/followvisit/tasklist/index.vue | 14 +++++++++-----
1 files changed, 9 insertions(+), 5 deletions(-)
diff --git a/src/views/followvisit/tasklist/index.vue b/src/views/followvisit/tasklist/index.vue
index 2f14227..bbe13cb 100644
--- a/src/views/followvisit/tasklist/index.vue
+++ b/src/views/followvisit/tasklist/index.vue
@@ -90,7 +90,7 @@
>
<el-option
v-for="item in longtermlist"
- :key="item.value"
+ :key="item.label"
:label="item.label"
:value="item.value"
>
@@ -584,7 +584,7 @@
topqueryParams: {
pageNum: 1,
pageSize: 10,
- type: 2,
+ type: 1,
userName: undefined,
tagid: undefined,
topic: undefined,
@@ -650,6 +650,7 @@
this.tasktopic = this.$route.query.tasktopic
? this.$route.query.tasktopic
: this.tasktopic;
+ this.tasktopic = Number(this.tasktopic);
this.getList();
this.getConfigKey("sys.user.initPassword").then((response) => {
this.initPassword = response.msg;
@@ -679,7 +680,7 @@
this.tasktopic == 5 ||
this.tasktopic == 6
) {
- if (!this.topqueryParams.type) this.topqueryParams.type = "2";
+ if (!this.topqueryParams.type) this.topqueryParams.type = 1;
this.longtermlist = [
{
value: 1,
@@ -691,6 +692,7 @@
},
];
// this.topqueryParams.type = 2;
+ // this.topqueryParams.type = 2;
} else if (this.tasktopic == 4 || this.tasktopic == 8) {
if (!this.topqueryParams.type) this.topqueryParams.type = "3";
this.longtermlist = [
@@ -700,8 +702,8 @@
},
];
this.topqueryParams.type = 3;
- } else if (this.tasktopic == 16) {
- if (!this.topqueryParams.type) this.topqueryParams.type = "2";
+ } else if (this.tasktopic == 5) {
+ if (!this.topqueryParams.type) this.topqueryParams.type = "1";
this.longtermlist = [
{
value: 1,
@@ -771,6 +773,8 @@
this.getList();
},
handleQuery() {
+ console.log(this.topqueryParams.type);
+
this.topqueryParams.pageNum = 1;
this.getList();
},
--
Gitblit v1.9.3