From 018b738e71f40cdacb2fc03a6e90b7c6b0b79078 Mon Sep 17 00:00:00 2001 From: xiangpei <xiangpei@timesnew.cn> Date: 星期三, 04 九月 2024 02:20:40 +0800 Subject: [PATCH] mongo统计 --- 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..7b57622 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 process(data) { + return request({ + url: '/work-order/process/' + data, + method: 'get' + }) +} + +// 鑾峰彇宸ュ崟杩愮淮鎯呭喌璁板綍 +export function getYwConditionList(data) { + return request({ + url: '/work-order/yw-condition-list/' + data, + method: 'get' + }) +} -- Gitblit v1.8.0