From af2b318da9d4c51b5b8afb2f4cefe86ff049bc7c Mon Sep 17 00:00:00 2001 From: songshankun <songshankun@foxmail.com> Date: 星期二, 17 十月 2023 21:16:45 +0800 Subject: [PATCH] feat: 添加缺失的请求 --- src/views/client/salesLead/DetailSalesLead.vue | 40 ++++++++++++++++++++++++---------------- 1 files changed, 24 insertions(+), 16 deletions(-) diff --git a/src/views/client/salesLead/DetailSalesLead.vue b/src/views/client/salesLead/DetailSalesLead.vue index adafad6..ac32fcb 100644 --- a/src/views/client/salesLead/DetailSalesLead.vue +++ b/src/views/client/salesLead/DetailSalesLead.vue @@ -3,7 +3,7 @@ <el-drawer :visible.sync="detailConfig.visible" size="80%" :before-close="handleClose" :wrapperClosable="false"> <template slot="title"> <div class="header"> - <span class="header-label">瀹㈡埛鍚嶇О</span> + <span class="header-label">閿�鍞嚎绱�</span> <span class="header-title">{{ detailConfig.infomation.name }}</span> </div> </template> @@ -171,13 +171,15 @@ if (item.FollowRecord && item.FollowRecord.length > 0) { this.record = item.FollowRecord[0].record console.log(item.FollowRecord[0].follow_time) - let follow_time = item.FollowRecord[0].follow_time - this.newContactDays = follow_time.substring(0, 10) - this.noContactDays = this.getDiffDay(Date.now(), this.newContactDays) + if (item.FollowRecord[0].follow_time && item.FollowRecord[0].follow_time.length > 0) { + let follow_time = item.FollowRecord[0].follow_time + this.newContactDays = follow_time.substring(0, 10) + this.noContactDays = this.getDiffDay(Date.now(), this.newContactDays) + } } this.basicInfoList = [ { - leftStr: "瀹㈡埛鍚嶇О", + leftStr: "鎰忓悜瀹㈡埛鍚嶇О", leftValue: item.name, rightStr: "閿�鍞嚎绱㈢紪鍙�", rightValue: item.number @@ -191,11 +193,11 @@ { leftStr: "鎵嬫満鍙风爜", leftValue: item.contact_phone, - rightStr: "鍟嗘満鐘舵��", + rightStr: "绾跨储鐘舵��", rightValue: "鏂板缓" }, { - leftStr: "鍟嗘満鏉ユ簮", + leftStr: "绾跨储鏉ユ簮", leftValue: item.sales_resources, rightStr: "璐熻矗浜�", rightValue: item.member_name @@ -203,21 +205,27 @@ { leftStr: "鍒嗛厤鏃ユ湡", leftValue: "", - rightStr: "鍏捣鐘舵��", + // rightStr: "鍏捣鐘舵��", + // rightValue: "" + rightStr: "鍒涘缓鏃堕棿", rightValue: "" }, { - leftStr: "鍒涘缓鏃堕棿", - leftValue: "", - rightStr: "鍒涘缓浜�", - rightValue: "" - }, - { - leftStr: "鍏抽棴鍘熷洜", + // leftStr: "鍒涘缓鏃堕棿", + // leftValue: "", + // rightStr: "鍒涘缓浜�", + // rightValue: "" + leftStr: "鍒涘缓浜�", leftValue: "", rightStr: "", rightValue: "" - } + }, + // { + // leftStr: "鍏抽棴鍘熷洜", + // leftValue: "", + // rightStr: "", + // rightValue: "" + // } ] this.dynamicInfoList = [ { -- Gitblit v1.8.0