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 | 18 +++++++++++-------
1 files changed, 11 insertions(+), 7 deletions(-)
diff --git a/src/views/followvisit/tasklist/index.vue b/src/views/followvisit/tasklist/index.vue
index ef08e2f..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,
@@ -690,7 +691,8 @@
label: "闂嵎闅忚",
},
];
- this.topqueryParams.type = 2;
+ // 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,
@@ -716,7 +718,7 @@
label: "瀹f暀鍏虫��",
},
];
- this.topqueryParams.type = 2;
+ // this.topqueryParams.type = 2;
}
this.topqueryParams.beginTime = this.dateRange[0];
this.topqueryParams.endTime = this.dateRange[1];
@@ -771,6 +773,8 @@
this.getList();
},
handleQuery() {
+ console.log(this.topqueryParams.type);
+
this.topqueryParams.pageNum = 1;
this.getList();
},
--
Gitblit v1.9.3