diff --git a/pages/center/consumer/consumerDetail.vue b/pages/center/consumer/consumerDetail.vue index 4ec4594..9652f0f 100644 --- a/pages/center/consumer/consumerDetail.vue +++ b/pages/center/consumer/consumerDetail.vue @@ -21,9 +21,9 @@ 客户标签: - 投资 - 理财专用 - 学区 + 暂无 + {{che.name}} + 顾问姓名:{{customerInfo.agentName}} @@ -280,7 +280,7 @@ }) return } - if(res[0].recordDuration>360){ + if(res[0].merge==0){ let newobj = res[0]; uni.navigateTo({ url: `/pages/mine/details2?customerId=${newobj.customerId}&status=${newobj.status}&itemobj=${JSON.stringify(item)}&stateisshow=${"2"}` diff --git a/pages/center/consumer/consumerSearch.vue b/pages/center/consumer/consumerSearch.vue index 5c61fba..f33927e 100644 --- a/pages/center/consumer/consumerSearch.vue +++ b/pages/center/consumer/consumerSearch.vue @@ -65,6 +65,12 @@ } }, methods:{ + // 客户详情 + gotoDetail(id) { + uni.navigateTo({ + url: `/pages/center/consumer/consumerDetail?id=${id}` + }) + }, searchinfo(){ this.nextPage=1; this.recordList=[]; diff --git a/pages/center/records/index.vue b/pages/center/records/index.vue index 45a0de2..c3bacc4 100644 --- a/pages/center/records/index.vue +++ b/pages/center/records/index.vue @@ -216,7 +216,7 @@ return }else{ let newobj = res[0]; - if(res[0].recordDuration>360){ + if(res[0].merge==0){ uni.navigateTo({ url: `/pages/mine/details2?customerId=${newobj.customerId}&status=${newobj.status}&itemobj=${JSON.stringify(item)}&stateisshow=${"2"}` }) diff --git a/pages/center/records/recordSearch.vue b/pages/center/records/recordSearch.vue index badaa50..2b9104b 100644 --- a/pages/center/records/recordSearch.vue +++ b/pages/center/records/recordSearch.vue @@ -6,7 +6,7 @@ - + {{item.agentName.slice(0,1)}} @@ -63,6 +63,48 @@ } }, methods:{ + tapThevisiting(item) { + if(item.status==0){ + uni.showToast({ + icon: "none", + title: "排队中" + }) + return + }else{ + const parames = { + pageNum: 1, + pageSize: 100, + query: { + customerId: item.id, + } + } + var item={ + bg:0, + customerId:item.id, + } + this.$u.post("/corpus/findByPage", parames).then(res => { + if(res==null){ + uni.showToast({ + icon: "none", + title: "暂无音频" + }) + return + }else{ + let newobj = res[0]; + if(res[0].merge==0){ + uni.navigateTo({ + url: `/pages/mine/details2?customerId=${newobj.customerId}&status=${newobj.status}&itemobj=${JSON.stringify(item)}&stateisshow=${"2"}` + }) + }else{ + uni.navigateTo({ + url: `/pages/mine/details?customerId=${newobj.customerId}&status=${newobj.status}&itemobj=${JSON.stringify(item)}&stateisshow=${"1"}` + }) + } + } + }) + } + + }, searchinfo(){ this.nextPage=1; this.recordList=[]; diff --git a/pages/index/index.vue b/pages/index/index.vue index 758347e..609e846 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -183,7 +183,6 @@