From faf1d3cc35a3a5f83558946c8056537a4d77fa1f Mon Sep 17 00:00:00 2001
From: liuleilei <234@qq.com>
Date: 星期一, 11 九月 2023 09:34:02 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/dev' into dev

---
 minipro_standard/util/api/PlanningAPI.js |  213 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 213 insertions(+), 0 deletions(-)

diff --git a/minipro_standard/util/api/PlanningAPI.js b/minipro_standard/util/api/PlanningAPI.js
new file mode 100644
index 0000000..11bcdd7
--- /dev/null
+++ b/minipro_standard/util/api/PlanningAPI.js
@@ -0,0 +1,213 @@
+const request = uni.$u.http
+
+// 鍒嗛〉鏌ヨ
+export function getList (data) {
+  return request.post('/ext/plansExt/page', data)
+}
+// export function getList(data: any): Promise<any> {
+//     return httpRequest({
+//         url: '/ext/plansExt/page',
+//         method: 'post',
+//         data
+//     })
+// }
+
+// 鏍规嵁id鏌ヨ
+export function queryByID (id) {
+  return request.get(`/ext/plansExt/h5/${id}`)
+}
+// export function queryByID(id: any): Promise<any> {
+//     return httpRequest({
+//         url: `/ext/plansExt/h5/${id}`,
+//         method: 'get'
+//     })
+// }
+
+// 鏌ヨ缁熻鍒楄〃鏁伴噺
+export function pageCount (data) {
+  return request.post('/ext/plansExt/pageCount', data)
+}
+// export function pageCount(data: any): Promise<any> {
+//     return httpRequest({
+//         url: 'ext/plansExt/pageCount',
+//         method: 'post',
+//         data
+//     })
+// }
+
+// 鏌ヨ宸ュ簭(涓汉)
+export function getWorkingProcedure (data) {
+  return request.post('/ext/proceduresExt/page', data)
+}
+// export function getWorkingProcedure(data: any): Promise<any> {
+//     return httpRequest({
+//         url: 'ext/proceduresExt/page',
+//         method: 'post',
+//         data
+//     })
+// }
+
+// 鏍规嵁ID鍙戝竷璁″垝
+export function publishById (data) {
+  return request.post('/ext/plansExt/publishById', data)
+}
+// export function publishById(data: any): Promise<any> {
+//     return httpRequest({
+//         url: 'ext/plansExt/publishById',
+//         method: 'post',
+//         data
+//     })
+// }
+
+// 鏍规嵁ID鍒嗛厤璁″垝
+export function distributeById (data) {
+  return request.post('/ext/plansExt/distributeById', data)
+}
+// export function distributeById(data: any): Promise<any> {
+//     return httpRequest({
+//         url: 'ext/plansExt/distributeById',
+//         method: 'post',
+//         data
+//     })
+// }
+
+// 鏌ヨ褰撳墠鐢ㄦ埛鍏ㄩ儴鑼冨洿鍐呯殑鍏ㄩ儴宸ュ簭
+export function getSelfList (data) {
+  return request.post('/ext/proceduresExt/getSelfList', data)
+}
+// export function getSelfList(data: any): Promise<any> {
+//     return httpRequest({
+//         url: 'ext/proceduresExt/getSelfList',
+//         method: 'post',
+//         data
+//     })
+// }
+
+// 缁堟鍒嗛〉鏌ヨ
+export function ZJPage (data) {
+  return request.post('/ext/endCheckExt/page', data)
+}
+// export function ZJPage(data: any): Promise<any> {
+//     return httpRequest({
+//         url: 'ext/endCheckExt/page',
+//         method: 'post',
+//         data
+//     })
+// }
+
+// 缁堟鏍规嵁ID鏌ヨ
+export function getById (id) {
+  return request.get(`/ext/endCheckExt/${id}`)
+}
+// export function getById(id: any): Promise<any> {
+//     return httpRequest({
+//         url: `ext/endCheckExt/${id}`,
+//         method: 'get'
+//     })
+// }
+
+// 鏌ヨ璁惧
+export function getDeviceByCondition (data) {
+  return request.post('/ext/deviceExt/getDeviceByCondition', data)
+}
+// export function getDeviceByCondition(data: any): Promise<any> {
+//     return httpRequest({
+//         url: 'ext/deviceExt/getDeviceByCondition',
+//         method: 'post',
+//         data
+//     })
+// }
+
+// 浜哄憳缁戝畾璁惧淇℃伅
+export function getFindAll (data) {
+  return request.post('/ext/userDeviceExt/findAll', data)
+}
+// export function getFindAll(data: any): Promise<any> {
+//     return httpRequest({
+//         url: 'ext/userDeviceExt/findAll',
+//         method: 'post',
+//         data
+//     })
+// }
+
+// 鏉′欢鏌ヨ浼佷笟鍏ㄩ儴閮ㄩ棬
+export function deletejy (id) {
+  return request.get(`/ext/workorderCheckExt/delete/${id}`)
+}
+// export function deletejy(id: any): Promise<any> {
+//     return httpRequest({
+//         url: `ext/workorderCheckExt/delete/${id}`,
+//         method: 'get'
+//     })
+// }
+
+// 鏍规嵁瀵硅薄淇℃伅鏌ヨ
+export function queryOne (data) {
+  return request.post('/ext/salaryParam/queryOne', data)
+}
+// export function queryOne (data: any): Promise<any> {
+//     return httpRequest({
+//         url: '/ext/salaryParam/queryOne',
+//         method: 'post',
+//         data
+//     })
+// }
+
+// 鏍规嵁瀵硅薄淇℃伅鏌ヨ
+export function queryList (data) {
+  return request.post('/ext/salaryParam/queryList', data)
+}
+// export function queryList (data: any): Promise<any> {
+//     return httpRequest({
+//         url: '/ext/salaryParam/queryList',
+//         method: 'post',
+//         data
+//     })
+// }
+
+// 涓�閿姤宸�
+export function autoWorkReport (data) {
+  return request.post('/ext/plansExt/autoWorkReport', data)
+}
+// export function autoWorkReport (data: any): Promise<any> {
+//     return httpRequest({
+//         url: '/ext/plansExt/autoWorkReport',
+//         method: 'post',
+//         data
+//     })
+// }
+
+// 鏍规嵁id鏌ヨ
+export function getIdPlansExt (id) {
+  return request.get(`/ext/plansExt/${id}`)
+}
+// export function getIdPlansExt(id: any): Promise<any> {
+//     return httpRequest({
+//         url: `/ext/plansExt/${id}`,
+//         method: 'get'
+//     })
+// }
+
+// 鍒楄〃鏌ヨ
+export function categoryExtList (data) {
+  return request.post('/ext/categoryExt/list', data)
+}
+// export function categoryExtList (data: any): Promise<any> {
+//     return httpRequest({
+//         url: '/ext/categoryExt/list',
+//         method: 'post',
+//         data
+//     })
+// }
+
+// 鏌ヨ鍏ㄩ儴
+export function allUser (data) {
+  return request.post('/ext/companyUserExt/allUser', data)
+}
+// export function allUser (data: any): Promise<any> {
+//     return httpRequest({
+//         url: '/ext/companyUserExt/allUser',
+//         method: 'post',
+//         data
+//     })
+// }

--
Gitblit v1.9.3