From e3fb08d4cabff8654784c7ac6ed61f2a9e0cf28b Mon Sep 17 00:00:00 2001
From: WXL (wul) <wl_5969728@163.com>
Date: 星期三, 17 九月 2025 18:14:40 +0800
Subject: [PATCH] 同步

---
 src/views/followvisit/tasklist/index.vue |   12 +++++++-----
 vue.config.js                            |    4 ++--
 2 files changed, 9 insertions(+), 7 deletions(-)

diff --git a/src/views/followvisit/tasklist/index.vue b/src/views/followvisit/tasklist/index.vue
index 5143c6f..10a9838 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"
             >
@@ -627,7 +627,7 @@
       topqueryParams: {
         pageNum: 1,
         pageSize: 10,
-        type: 2,
+        type: 1,
         userName: undefined,
         tagid: undefined,
         topic: undefined,
@@ -721,7 +721,7 @@
         this.tasktopic == 7 ||
         this.tasktopic == 6
       ) {
-        if (!this.topqueryParams.type) this.topqueryParams.type = "2";
+        if (!this.topqueryParams.type) this.topqueryParams.type = 1;
         this.longtermlist = [
           {
             value: 1,
@@ -732,7 +732,7 @@
             label: "闂嵎闅忚",
           },
         ];
-        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 = [
@@ -741,7 +741,7 @@
             label: "瀹f暀鍏虫��",
           },
         ];
-        this.topqueryParams.type=3;
+        this.topqueryParams.type = 3;
       } else if (this.tasktopic == 5) {
         if (!this.topqueryParams.type) this.topqueryParams.type = "1";
         this.longtermlist = [
@@ -808,6 +808,8 @@
       this.getList();
     },
     handleQuery() {
+      console.log(this.topqueryParams.type);
+
       this.topqueryParams.pageNum = 1;
       this.getList();
     },
diff --git a/vue.config.js b/vue.config.js
index 772a430..1fed96b 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -36,8 +36,8 @@
       // detail: https://cli.vuejs.org/config/#devserver-proxy
       [process.env.VUE_APP_BASE_API]: {
         // target: `https://www.health-y.cn/lssf`,
-        // target: `http://10.202.20.185:8095`,
-        target: `http://192.168.100.158:8095`,
+        target: `http://192.168.100.10:8095`,
+        // target: `http://192.168.100.158:8095`,
         // target:`http://localhost:8095`,
         // target: `http://192.168.101.135:8095`,
         // target: `http://192.168.101.166:8093`,

--
Gitblit v1.9.3