From bfbced1434833586988c36fe2670527bb5b2274d Mon Sep 17 00:00:00 2001 From: 346149741 <346149741@qq.com> Date: 星期二, 27 八月 2024 11:59:52 +0800 Subject: [PATCH] 修复选择同行人 --- api/index.js | 18 +++++++++++++++++- 1 files changed, 17 insertions(+), 1 deletions(-) diff --git a/api/index.js b/api/index.js index ced9d46..8f83188 100644 --- a/api/index.js +++ b/api/index.js @@ -13,7 +13,23 @@ export function doc(id){ return http.get('/system/doc/'+id, { custom: { loading: true }}); } -// 淇℃伅鍏ず璇︽儏 +// 淇℃伅鍏ず export function order(id){ return http.get('/enforce/order/'+id, { custom: { loading: true }}); +} +// 浼佷笟娉ㄥ唽 +export function companyRegister(data) { + return http.post('/system/company/add', {params: data}, { custom: { loading: true }}); +} +// /system/dept/list +export function deptList(data) { + return http.get('/system/dept/allList', {params: data}, { custom: { loading: true }}); +} +// /enforce/company/log/add +export function addLog(data) { + return http.post('/enforce/company/log/add', data, { custom: { loading: true }}); +} +// enforce/complaint/log/add +export function complaintAdd(data) { + return http.post('/enforce/complaint/log/add', data, { custom: { loading: true }}); } \ No newline at end of file -- Gitblit v1.9.1