diff --git a/api/apiRoute.js b/api/apiRoute.js index 1b83819..1c17ad9 100644 --- a/api/apiRoute.js +++ b/api/apiRoute.js @@ -325,5 +325,9 @@ export default { //学生端-订单管理-添加 async xy_orderTableAdd(data = {}) { return await http.post('/xy/orderTable/add', data); - } + }, + + async listCallUp(data={}) { + return await http.get('/member/list_call_up', data); + }, } \ No newline at end of file diff --git a/pages/market/clue/clue_info.vue b/pages/market/clue/clue_info.vue index 830f99c..6c41db7 100644 --- a/pages/market/clue/clue_info.vue +++ b/pages/market/clue/clue_info.vue @@ -49,9 +49,9 @@ 基本资料 - 跟进记录 - + --> 通话记录 @@ -309,7 +309,7 @@ async init(){ await this.getInfo()//客户详情 this.getUserInfo()//获取当前登录的员工信息 - // this.getListCallUp()//获取通话记录 + this.getListCallUp()//获取通话记录 }, //获取当前登录的员工信息 @@ -365,7 +365,7 @@ let data = { sales_id:this.resource_sharing_id// } - let res = await marketApi.listCallUp(data) + let res = await apiRoute.listCallUp(data) if(res.code != 1){ uni.showToast({ title: res.msg, @@ -376,12 +376,6 @@ this.listCallUp = res.data }, - //跳转页面-添加跟进记录 - openViewWritingFollowUp() { - this.$navigateTo({ - url: `/pages/market/clue/writing_followUp` - }) - }, //跳转页面-编辑客户详情 openViewEditClues(){ let resource_sharing_id = this.resource_sharing_id//共享资源表id