diff --git a/src/api/mine.js b/src/api/mine.js index c57e6dbc..cc41d4fa 100644 --- a/src/api/mine.js +++ b/src/api/mine.js @@ -50,6 +50,63 @@ export function supplierServiceTree(){ method:'POST' }) } + +// 服务商服务能力 +export function supplierServicePartTree(data){ + return request({ + url:'/supplier/approval/getSupplierServiceTree', + method:'POST', + data + }) +} + +// 申请加入 +export function saveSupplier(data){ + return request({ + url:'/supplier/potential/save', + method:'POST', + data + }) +} + +// 申请加入 +export function auditSupplier(data){ + return request({ + url:'/supplier/potential/audit', + method:'POST', + data + }) +} + +// 修改申请信息 +export function getSupplierInfo(key){ + return request({ + url:'/supplier/potential/getById', + method:'GET', + params:key + }) +} + +// 获取企微二维码 +export function getOrCodeInfo(data){ + return request({ + url:'/agg-api/wxcp/createContactQrCode', + method:'POST', + contentType:'application/json', + data + }) +} + +// 获取是否添加企微结果 +export function getContactQrCodeResult(data){ + return request({ + url:'/agg-api/wxcp/getContactQrCodeResult', + method:'POST', + contentType:'application/json', + data + }) +} + //司机列表 export function driverList(data){ return request({ @@ -318,6 +375,14 @@ export function unifiedOCRWithCompress(data){ }) } +export function getArea(data){ + return request({ + url:'/base/area/tree', + method:'POST', + data + }) +} + // 服务商是否培训 export function jumpPage(data){ return request({ diff --git a/src/views/index/supplierAdd.vue b/src/views/index/supplierAdd.vue index bec0098d..b612c345 100644 --- a/src/views/index/supplierAdd.vue +++ b/src/views/index/supplierAdd.vue @@ -3,95 +3,100 @@
-
-
-
-
-
+
+
+
+
-
+