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 | 20 ++++++++++++++++++-- 1 files changed, 18 insertions(+), 2 deletions(-) diff --git a/api/index.js b/api/index.js index 09c53e4..8f83188 100644 --- a/api/index.js +++ b/api/index.js @@ -9,11 +9,27 @@ export function showList(data){ return http.get('/enforce/order/showList', {params: data}, { custom: { loading: true }}); } -// 鎯犱紒鏀跨瓥 +// 鎯犱紒鏀跨瓥璇︽儏 export function doc(id){ - return http.get('/system/doc/'+id, {params: data}, { custom: { loading: true }}); + 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