From d459df42ee670d1e4b247c066f742df4a449c8ed Mon Sep 17 00:00:00 2001 From: wuhui_zzw <1760308791@qq.com> Date: Thu, 1 Feb 2024 18:40:43 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=EF=BC=9A=E4=BB=A3=E7=90=86?= =?UTF-8?q?=E4=BA=BA=E5=91=98=E7=94=B3=E8=AF=B7=E4=BF=A1=E6=81=AF=E4=BF=AE?= =?UTF-8?q?=E6=94=B9-=20=E5=BC=80=E5=8F=91=E4=B8=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/agent.js | 11 +- api/supplier.js | 2 +- config/app.js | 8 +- pages.json | 14 +-- pages/agent/invite/index.vue | 110 +++++++++++++----- pages/agent/invite/record.vue | 213 ++++++++++++++++++++++++++++++++++ 6 files changed, 312 insertions(+), 46 deletions(-) create mode 100644 pages/agent/invite/record.vue diff --git a/api/agent.js b/api/agent.js index 1e6f507..a3574b1 100644 --- a/api/agent.js +++ b/api/agent.js @@ -12,9 +12,14 @@ export function inviteSupplierJoinQrCode(data) { export function submitAgentApplyInfo(data) { return request.post('agent/agent_apply',data); } -// 代理加入 - 生成订单 - - +// 入驻申请记录 +export function agentApplyRecord(data) { + return request.post(`agent/apply_record`, data); +} +// 单条申请信息 +export function agentApplyInfo(data) { + return request.get(`agent/apply_info`, data); +} // 获取单条代理人员信息 export function getSingleAgentInfo(id) { return request.get(`agent/single_agent_info/${id}`); diff --git a/api/supplier.js b/api/supplier.js index 8aebf5b..0393a63 100644 --- a/api/supplier.js +++ b/api/supplier.js @@ -8,7 +8,7 @@ export function supplierApplyJoin(data) { export function supplierApplyRecord(data) { return request.post(`supplier/apply_record`, data); } -// 入驻申请记录 +// 单条申请信息 export function supplierApplyInfo(data) { return request.get(`supplier/apply_info`, data); } diff --git a/config/app.js b/config/app.js index e76d97b..6a45260 100644 --- a/config/app.js +++ b/config/app.js @@ -6,13 +6,13 @@ let VUE_APP_WS_URL = `ws://${location.hostname}?type=user` let openPlantGrass = '-openPlantGrass-' // 网络接口修改此字符 小程序域名要求https -let httpApi = 'https://bt.test.cdlfjy.com/' // 开发 -// let httpApi = 'https://mp.scwmbh.cn/' // 生产 +// let httpApi = 'https://bt.test.cdlfjy.com/' // 开发 +let httpApi = 'https://mp.scwmbh.cn/' // 生产 // 聊天接口修改此字符 小程序聊天要求wss 例如: -let wsApi = 'wss://bt.test.cdlfjy.com' -// let wsApi = 'wss://mp.scwmbh.cn' +// let wsApi = 'wss://bt.test.cdlfjy.com' +let wsApi = 'wss://mp.scwmbh.cn' module.exports = { diff --git a/pages.json b/pages.json index 8f3b044..d954c34 100644 --- a/pages.json +++ b/pages.json @@ -1335,11 +1335,13 @@ "style": { "navigationBarTitleText": "邀请下级" } + }, + { + "path": "invite/record", + "style": { + "navigationBarTitleText": "申请记录" + } } - - - - ] }, { @@ -1358,10 +1360,6 @@ "navigationBarTitleText": "申请记录" } } - - - - ] } diff --git a/pages/agent/invite/index.vue b/pages/agent/invite/index.vue index a191fa5..deae6fd 100644 --- a/pages/agent/invite/index.vue +++ b/pages/agent/invite/index.vue @@ -1,7 +1,12 @@