From c1adf27fbabbff1d76b60993521c765ef1ed79ef Mon Sep 17 00:00:00 2001 From: yangfeng <wanwan926_4@163.com> Date: 星期二, 15 八月 2023 20:03:21 +0800 Subject: [PATCH] 新建客户管理 客户名称查重 --- src/views/service/serviceFollowup/DetailServiceFollowup.vue | 38 +++++++++++++++++++------------------- 1 files changed, 19 insertions(+), 19 deletions(-) diff --git a/src/views/service/serviceFollowup/DetailServiceFollowup.vue b/src/views/service/serviceFollowup/DetailServiceFollowup.vue index 44d36a1..0891623 100644 --- a/src/views/service/serviceFollowup/DetailServiceFollowup.vue +++ b/src/views/service/serviceFollowup/DetailServiceFollowup.vue @@ -37,11 +37,11 @@ <li v-for="(item, i) in basicInfoList" :key="i"> <div class="left"> <div class="content-title">{{ item.leftStr + "锛�" }}</div> - <div class="content-data">{{ item.leftValue }}</div> + <div class="content-data">{{ item.leftValue ? item.leftValue : "--" }}</div> </div> - <div class="right"> - <div class="content-title">{{ item.rightStr }}</div> - <div class="content-data">{{ item.rightValue }}</div> + <div v-if="item.rightStr" class="right"> + <div class="content-title">{{ item.rightStr + "锛�" }}</div> + <div class="content-data">{{ item.rightValue ? item.rightValue : "--" }}</div> </div> </li> </ul> @@ -59,14 +59,14 @@ <li> <div class="left remark"> <div class="content-title">{{ "澶囨敞锛�" }}</div> - <div class="content-data">{{ "澶囨敞鍐呭" }}</div> + <div class="content-data">{{ detailConfig.infomation.remark }}</div> </div> </li> </ul> </div> </div> <!-- 闄勪欢淇℃伅 --> - <div class="basic-info"> + <!-- <div class="basic-info"> <div class="basic-info-label" @click="expandClick('annex')"> <i v-if="isAnnexExpand" class="el-icon-arrow-down"></i> <i v-else class="el-icon-arrow-up"></i> @@ -82,7 +82,7 @@ </li> </ul> </div> - </div> + </div> --> </div> <div v-if="activeName === 'annex'" class="second"> <!-- <SubOrder :isDetail="true" /> --> @@ -119,45 +119,45 @@ } }, created() { - this.setData() + this.setData(this.detailConfig.infomation) }, mounted() {}, methods: { - setData() { + setData(item) { this.basicInfoList = [ { leftStr: "瀹㈡埛鍚嶇О", - leftValue: "", + leftValue: item.client_name, rightStr: "鍥炶鍗曠紪鍙�", - rightValue: "" + rightValue: item.number }, { leftStr: "鑱旂郴浜哄鍚�", - leftValue: "", + leftValue: item.contact_name, rightStr: "瀹㈡埛鏈嶅姟鍗�", - rightValue: "" + rightValue: item.ServiceOrder.serviceNumber }, { leftStr: "鍥炶浜�", - leftValue: "", + leftValue: item.Member.username, rightStr: "椤圭洰璁″垝", rightValue: "" }, { leftStr: "婊℃剰搴�", - leftValue: "", + leftValue: item.satisfaction.name, rightStr: "鍙婃椂鐜�", - rightValue: "" + rightValue: item.timelyRate.name }, { leftStr: "瑙e喅鐜�", - leftValue: "", + leftValue: item.solveRate.name, rightStr: "鍘熸湇鍔′汉鍛�", - rightValue: "" + rightValue: item.oldMember.username }, { leftStr: "鏈嶅姟浜哄憳鏄惁鏉ヨ繃", - leftValue: "", + leftValue: item.isVisit.name, rightStr: "鍒涘缓鏃堕棿", rightValue: "" }, -- Gitblit v1.8.0