From 216ef4cf6dc78537e556b1552cca0aac4914e216 Mon Sep 17 00:00:00 2001
From: songshankun <songshankun@foxmail.com>
Date: 星期一, 16 十月 2023 15:41:18 +0800
Subject: [PATCH] feat: 调整JWT失效时的跳转逻辑

---
 src/views/client/followupRecords/AddFollowupRecordsDialog.vue |    9 ++-------
 1 files changed, 2 insertions(+), 7 deletions(-)

diff --git a/src/views/client/followupRecords/AddFollowupRecordsDialog.vue b/src/views/client/followupRecords/AddFollowupRecordsDialog.vue
index b0da187..1ca59b2 100644
--- a/src/views/client/followupRecords/AddFollowupRecordsDialog.vue
+++ b/src/views/client/followupRecords/AddFollowupRecordsDialog.vue
@@ -342,7 +342,7 @@
 import SelectChanceDialog from "@/views/other/commonDialog/SelectChanceDialog"
 import SelectLeadDialog from "@/views/other/commonDialog/SelectLeadDialog"
 import codeMixin from "./mixin/codeMixin"
-import { getContactList } from "@/api/client/contacts"
+// import { getContactList } from "@/api/client/contacts"
 import { mapActions } from "vuex"
 import { getSaleChanceList } from "@/api/sales/salesOpportunity"
 
@@ -442,7 +442,7 @@
   created() {
     this.$store.dispatch("geClient")
     this.$store.dispatch("geContact")
-    this.$store.dispatch("geChance")
+    // this.$store.dispatch("geChance")
     this.$store.dispatch("geLead")
     this.getCommonData()
     this.getContactInfoList()
@@ -594,11 +594,6 @@
       if (value === "client") {
         this.clientId = item.id
         this.editConfig.infomation.client_name = item.name
-        await getContactList({
-          clientId: this.clientId
-        }).then((res) => {
-          this.getContactFilter(res.data.list)
-        })
         this.isChance = false
         this.getChanceList(item.id)
         // console.log("clientId",this.clientId,this.editConfig.infomation.client_name)

--
Gitblit v1.8.0