From cb1ec4fab7c89d51acf6ad4ff849e81de4adf4c0 Mon Sep 17 00:00:00 2001 From: Wik-T <812952667@qq.com> Date: Fri, 25 Mar 2022 09:33:12 +0800 Subject: [PATCH] =?UTF-8?q?1.=E5=8A=9F=E8=83=BD=E8=B0=83=E6=95=B4=202.?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=BB=91=E5=AE=9A=E8=AE=BE=E5=A4=87=E6=96=B9?= =?UTF-8?q?=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Utils/Api.js | 17 +- pages/index/addStore/addStore.vue | 140 ++++++------- pages/index/collectNotes/collectNotes.vue | 45 +++-- .../merchant-details/merchant-details.vue | 12 +- .../merchant-incoming-parts.vue | 155 ++++++++------ .../merchant-management.vue | 30 ++- pages/index/serviceBuild/serviceBuild.vue | 191 +++++++++++++----- pages/index/store-details/store-details.vue | 6 +- pages/tabBar/home/home.vue | 119 ++++++----- static/img/del.png | Bin 0 -> 1722 bytes unpackage/dist/build/h5/index.html | 2 +- .../pages-index-addStore-addStore.e1c484c6.js | 1 - unpackage/dist/build/h5/归档.zip | Bin 2279670 -> 2310687 bytes 13 files changed, 451 insertions(+), 267 deletions(-) create mode 100644 static/img/del.png delete mode 100644 unpackage/dist/build/h5/static/js/pages-index-addStore-addStore.e1c484c6.js diff --git a/Utils/Api.js b/Utils/Api.js index d39de96..beb3010 100644 --- a/Utils/Api.js +++ b/Utils/Api.js @@ -79,17 +79,18 @@ export const configStore = params => { return POST('POST', `${base}/store/configStore`, params).then(res => res.data); } //门店添加设备 -export const configStoreDevice = params => { - return POST('POST', `${base}/storeDevice/configStoreDevice`, params).then(res => res.data); +export const bindStoreDevice = params => { + return POST('POST', `${base}/device/bindStoreDevice`, params).then(res => res.data); } -//门店删除设备 -export const delStoreDevice = params => { - return POST('POST', `${base}/storeDevice/delStoreDevice`, params).then(res => res.data); +//业务员查询设备列表 +export const getSalesmanDeviceList = params => { + return POST('GET', `${base}/device/getSalesmanDeviceList`, params).then(res => res.data); } -//门店查看设备列表 +//门店查询设备列表 export const getStoreDeviceList = params => { - return POST('GET', `${base}/storeDevice/getStoreDeviceList`, params).then(res => res.data); + return POST('GET', `${base}/device/getStoreDeviceList`, params).then(res => res.data); } + //业务员查询统计 export const moveHomeCount = params => { return POST('POST', `${base}/salesman/moveHomeCount`, params).then(res => res.data); @@ -105,4 +106,4 @@ export const storemoveHomeCount = params => { // 查询交易订单列表 export const getTradeOrderList = params => { return POST('GET', `${base}/tradeOrder/getTradeOrderList`, params).then(res => res.data); -} \ No newline at end of file +} diff --git a/pages/index/addStore/addStore.vue b/pages/index/addStore/addStore.vue index bf8e9ad..e07beb8 100644 --- a/pages/index/addStore/addStore.vue +++ b/pages/index/addStore/addStore.vue @@ -1,7 +1,7 @@