From 1995e710dcf70e635c4edaa8173f8b66cd67d499 Mon Sep 17 00:00:00 2001 From: 黄何裕 <1053952480@qq.com> Date: 星期二, 30 七月 2024 14:05:06 +0800 Subject: [PATCH] 样式优化 --- src/api/platform/work-order.js | 60 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 60 insertions(+), 0 deletions(-) diff --git a/src/api/platform/work-order.js b/src/api/platform/work-order.js index 4b02485..700cd9b 100644 --- a/src/api/platform/work-order.js +++ b/src/api/platform/work-order.js @@ -9,6 +9,33 @@ }) } +// 鏌ヨ涓嬪彂宸ュ崟鍒楄〃 +export function distributeWorkOrder(query) { + return request({ + url: '/work-order/distribute/page', + method: 'post', + data: query + }) +} + +// 蹇�熶笅鍙戝伐鍗� +export function fastDistribute(data) { + return request({ + url: '/work-order/distribute/fast', + method: 'post', + data: data + }) +} + +// 涓嬪彂閫夋嫨宸ュ崟 +export function selectedIdsDistribute(data) { + return request({ + url: '/work-order/distribute/ids', + method: 'post', + data: data + }) +} + // 鏌ヨ杩愮淮宸ュ崟璇︾粏 export function getWorkOrder(id) { return request({ @@ -52,6 +79,15 @@ }) } +// 鎵归噺瀹℃牳宸ュ崟 +export function batchAuditing(data) { + return request({ + url: '/work-order/batchAuditing', + method: 'put', + data: data + }) +} + // 宸ュ崟杩愮淮鎯呭喌 export function ywCondition(data) { return request({ @@ -60,3 +96,27 @@ data: data }) } + +// 鑾峰彇宸ュ崟杩愮淮鎯呭喌 +export function getYwCondition(data) { + return request({ + url: '/work-order/yw-condition/' + data, + method: 'get' + }) +} + +// 鑾峰彇宸ュ崟杩愮淮瀹℃牳璁板綍 +export function getYwAuditingList(data) { + return request({ + url: '/work-order/yw-auditing-list/' + data, + method: 'get' + }) +} + +// 鑾峰彇宸ュ崟杩愮淮鎯呭喌璁板綍 +export function getYwConditionList(data) { + return request({ + url: '/work-order/yw-condition-list/' + data, + method: 'get' + }) +} -- Gitblit v1.8.0