From f828b1576669f6b4a301e8dec18b81ebbb5e5204 Mon Sep 17 00:00:00 2001 From: fuliqi <fuliqi@qq.com> Date: 星期三, 08 一月 2025 10:16:09 +0800 Subject: [PATCH] 报备时间选不上、和一些回显问题 --- src/api/platform/unit.js | 21 +++++++++++++++++++-- 1 files changed, 19 insertions(+), 2 deletions(-) diff --git a/src/api/platform/unit.js b/src/api/platform/unit.js index 6baf955..8b64005 100644 --- a/src/api/platform/unit.js +++ b/src/api/platform/unit.js @@ -4,8 +4,8 @@ export function listUnit(query) { return request({ url: '/yw-unit/page', - method: 'get', - params: query + method: 'post', + data: query }) } @@ -42,3 +42,20 @@ method: 'delete' }) } + +// 鑾峰彇杩愮淮鍗曚綅涓嬫媺鍒楄〃 +export function unitSelect() { + return request({ + url: '/yw-unit/list', + method: 'get' + }) +} + +// 鑾峰彇杩愮淮鍗曚綅宸ュ崟缁熻鍒楄〃 +export function workList(params) { + return request({ + url: '/yw-unit/work/list', + method: 'get', + params: params + }) +} -- Gitblit v1.8.0