From 2e6ea98e21785e6ad44f825c9fcaaa3239b0bcc4 Mon Sep 17 00:00:00 2001 From: THK3121 Date: Sat, 7 Oct 2023 18:56:59 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E5=95=86=E6=9C=BA=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/bussness.js | 4 +- config/app.js | 2 +- pages.json | 1 - pages/business/business.vue | 214 ++++++++++++++++-------------------- 4 files changed, 98 insertions(+), 123 deletions(-) diff --git a/api/bussness.js b/api/bussness.js index dc0dcd7..1a00163 100644 --- a/api/bussness.js +++ b/api/bussness.js @@ -5,8 +5,10 @@ import oahttp from "@/utils/aa.js"; */ export const bindScoket = (data) => oahttp.post('/common/im/doBindUid', data) // 发送消息 -export const sendMsgApi = (data) => oahttp.post('/common/im/sendMessage', data) +export const sendMsgApi = (data) => oahttp.post('/common/im/sendTextMsg', data) // 发送文件 export const sendFileApi = (data) => oahttp.post('/common/im/sendFileMsg', data) // 消息列表 export const getMsgListApi = (data) => oahttp.post('/common/im/msgList', data) +// 片区经理id +export const getAreaManagerApi = (data) => oahttp.post('/common/im/getAreaManager', data) diff --git a/config/app.js b/config/app.js index 45f647e..1db8661 100644 --- a/config/app.js +++ b/config/app.js @@ -22,7 +22,7 @@ switch (env) { httpApi = 'https://ceshi-worker-task.lihaink.cn' //测试 httpApiThree = 'https://ceshi-worker-task.lihaink.cn' //测试 httpApiTwo = 'https://ceshi-logistics.lihaink.cn' //测试环境 - httpApiTest = 'http://192.168.1.16:8081' //测试环境 + httpApiTest = 'http://192.168.1.9:8081' //测试环境 } diff --git a/pages.json b/pages.json index 471397c..4e43f79 100644 --- a/pages.json +++ b/pages.json @@ -29,7 +29,6 @@ "path": "pages/business/business", "style": { "navigationBarTitleText": "商机信息", - "enablePullDownRefresh": true, "navigationBarBackgroundColor": "#0122C7", "navigationBarTextStyle": "white" } diff --git a/pages/business/business.vue b/pages/business/business.vue index c708f3f..f32bb76 100644 --- a/pages/business/business.vue +++ b/pages/business/business.vue @@ -18,12 +18,11 @@ - - + - + @@ -38,9 +37,9 @@ - + - 点击预览 + @@ -54,12 +53,12 @@ - - + + - {{item.content}} + {{item.content}} - + - 点击预览 + + @@ -144,8 +144,6 @@ - - @@ -163,14 +161,13 @@