From a52f13d719ee9cd53f129f4c59dcad783977fce9 Mon Sep 17 00:00:00 2001
From: Mr.Zhang <710666463@qq.com>
Date: 星期五, 01 九月 2023 11:36:34 +0800
Subject: [PATCH] 小程序接口api 添加
---
minipro_standard/pages.json | 204 +++---
minipro_standard/util/api/agencyAPI.js | 77 ++
minipro_standard/util/api/PersonalAPI.js | 36 +
minipro_standard/util/api/PlanningAPI.js | 213 +++++++
web_standard/src/api/business/salaryParam.js | 20
minipro_standard/util/api/WorkOrderAPI.js | 652 ++++++++++++++++++++++
minipro_standard/util/api/QualityAPI.js | 118 ++++
minipro_standard/pages/index/index.vue | 13
minipro_standard/util/api/ExWarehouse.js | 252 ++++++++
minipro_standard/common/config.js | 2
minipro_standard/util/api/materialStorage.js | 115 +++
11 files changed, 1,584 insertions(+), 118 deletions(-)
diff --git a/minipro_standard/common/config.js b/minipro_standard/common/config.js
index db36bef..d0ead09 100644
--- a/minipro_standard/common/config.js
+++ b/minipro_standard/common/config.js
@@ -1,7 +1,7 @@
module.exports = {
// baseUrl: 'http://106.14.20.42/test_hfznzz/',
// baseUrl: 'https://hefei.dtkey.cn/test_hfznzz/',
- baseUrl: 'https://dmtest.ahapp.net/doumeeplant_api/',
+ baseUrl: 'https://dmtest.ahapp.net/doumeeplant_api',
phoneRegular: /^1[3456789]\d{9}$/,
mailboxRegular: /^\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$/,
positiveInteger: /^[0-9]*[1-9][0-9]*$/,
diff --git a/minipro_standard/pages.json b/minipro_standard/pages.json
index 2027444..52bd971 100644
--- a/minipro_standard/pages.json
+++ b/minipro_standard/pages.json
@@ -1,6 +1,5 @@
{
- "pages": [
- {
+ "pages": [{
"path": "pages/workbench/workbench",
"style": {
"navigationBarTitleText": "宸ヤ綔鍙�",
@@ -53,85 +52,67 @@
"enablePullDownRefresh": false
}
+ }, {
+ "path": "pages/plannedProgress/plannedProgress",
+ "style": {
+ "navigationBarTitleText": "璁″垝杩涘害",
+ "enablePullDownRefresh": false
+ }
+
+ }, {
+ "path": "pages/planDetails/planDetails",
+ "style": {
+ "navigationBarTitleText": "璁″垝璇︽儏",
+ "enablePullDownRefresh": false
+ }
+
+ }, {
+ "path": "pages/plannedDistribution/plannedDistribution",
+ "style": {
+ "navigationBarTitleText": "璁″垝鍒嗛厤",
+ "enablePullDownRefresh": false
+ }
+
+ }, {
+ "path": "pages/allocation/allocation",
+ "style": {
+ "navigationBarTitleText": "閫夋嫨",
+ "enablePullDownRefresh": false
+ }
+
+ }, {
+ "path": "pages/inspectComplete/inspectComplete",
+ "style": {
+ "navigationBarTitleText": "瀹屽伐妫�",
+ "enablePullDownRefresh": false
+ }
+
+ }, {
+ "path": "pages/selectWorkOrder/selectWorkOrder",
+ "style": {
+ "navigationBarTitleText": "閫夋嫨宸ュ崟",
+ "enablePullDownRefresh": false
+ }
+
+ }, {
+ "path": "pages/inspectPatrol/inspectPatrol",
+ "style": {
+ "navigationBarTitleText": "宸℃",
+ "enablePullDownRefresh": false
+ }
+
+ }, {
+ "path": "pages/linePatrol/linePatrol",
+ "style": {
+ "navigationBarTitleText": "宸$嚎",
+ "enablePullDownRefresh": false
+ }
+
}
- ,{
- "path" : "pages/plannedProgress/plannedProgress",
- "style" :
- {
- "navigationBarTitleText": "璁″垝杩涘害",
- "enablePullDownRefresh": false
- }
-
- }
- ,{
- "path" : "pages/planDetails/planDetails",
- "style" :
- {
- "navigationBarTitleText": "璁″垝璇︽儏",
- "enablePullDownRefresh": false
- }
-
- }
- ,{
- "path" : "pages/plannedDistribution/plannedDistribution",
- "style" :
- {
- "navigationBarTitleText": "璁″垝鍒嗛厤",
- "enablePullDownRefresh": false
- }
-
- }
- ,{
- "path" : "pages/allocation/allocation",
- "style" :
- {
- "navigationBarTitleText": "閫夋嫨",
- "enablePullDownRefresh": false
- }
-
- }
- ,{
- "path" : "pages/inspectComplete/inspectComplete",
- "style" :
- {
- "navigationBarTitleText": "瀹屽伐妫�",
- "enablePullDownRefresh": false
- }
-
- }
- ,{
- "path" : "pages/selectWorkOrder/selectWorkOrder",
- "style" :
- {
- "navigationBarTitleText": "閫夋嫨宸ュ崟",
- "enablePullDownRefresh": false
- }
-
- }
- ,{
- "path" : "pages/inspectPatrol/inspectPatrol",
- "style" :
- {
- "navigationBarTitleText": "宸℃",
- "enablePullDownRefresh": false
- }
-
- }
- ,{
- "path" : "pages/linePatrol/linePatrol",
- "style" :
- {
- "navigationBarTitleText": "宸$嚎",
- "enablePullDownRefresh": false
- }
-
- }
- ],
- "subPackages": [
- {
+ ],
+ "subPackages": [{
"root": "pages_adjust",
- "pages": [
- {
+ "pages": [{
"path": "pages/newOutbound/newOutbound",
"style": {
"navigationBarTitleText": "鏂板缓鍑哄簱",
@@ -144,27 +125,27 @@
"navigationBarTitleText": "鏂板缓鍏ュ簱",
"enablePullDownRefresh": false
}
- },
- {
- "path": "pages/manualFeed/manualFeed",
- "style": {
- "navigationBarTitleText": "鎵嬪姩鎶曟枡",
- "enablePullDownRefresh": false
- }
- },
- {
- "path": "pages/OrderDetail/OrderDetail",
- "style": {
- "navigationBarTitleText": "宸ュ崟璇︽儏",
- "enablePullDownRefresh": false
- }
- },
- {
- "path": "pages/workOrderReporting/workOrderReporting",
- "style": {
- "navigationBarTitleText": "宸ュ崟鎶ュ伐",
- "enablePullDownRefresh": false
- }
+ },
+ {
+ "path": "pages/manualFeed/manualFeed",
+ "style": {
+ "navigationBarTitleText": "鎵嬪姩鎶曟枡",
+ "enablePullDownRefresh": false
+ }
+ },
+ {
+ "path": "pages/OrderDetail/OrderDetail",
+ "style": {
+ "navigationBarTitleText": "宸ュ崟璇︽儏",
+ "enablePullDownRefresh": false
+ }
+ },
+ {
+ "path": "pages/workOrderReporting/workOrderReporting",
+ "style": {
+ "navigationBarTitleText": "宸ュ崟鎶ュ伐",
+ "enablePullDownRefresh": false
+ }
},
{
"path": "pages/transferList/transferList",
@@ -219,20 +200,19 @@
},
{
"root": "pages_inspect",
- "pages": [
- {
- "path": "pages/InspectionRecords/InspectionRecords",
- "style": {
- "navigationBarTitleText": "妫�楠岃褰�",
- "enablePullDownRefresh": false
- }
+ "pages": [{
+ "path": "pages/InspectionRecords/InspectionRecords",
+ "style": {
+ "navigationBarTitleText": "妫�楠岃褰�",
+ "enablePullDownRefresh": false
+ }
},
{
- "path": "pages/InspectionDetails/InspectionDetails",
- "style": {
- "navigationBarTitleText": "妫�楠岃鎯�",
- "enablePullDownRefresh": false
- }
+ "path": "pages/InspectionDetails/InspectionDetails",
+ "style": {
+ "navigationBarTitleText": "妫�楠岃鎯�",
+ "enablePullDownRefresh": false
+ }
}
]
}
diff --git a/minipro_standard/pages/index/index.vue b/minipro_standard/pages/index/index.vue
index 3640c53..9c02c28 100644
--- a/minipro_standard/pages/index/index.vue
+++ b/minipro_standard/pages/index/index.vue
@@ -50,8 +50,8 @@
<u-grid col="2" :border="false">
<u-grid-item v-for="item in types" :key="item.id">
<view class="ptb20 c9 type-style tc rd10"
- :class="searchForm.type===item.id?'sbtn_green':'sbtn_gray'"
- @click="searchForm.type=item.id">{{ item.name }}</view>
+ :class="type===item.id?'sbtn_green':'sbtn_gray'"
+ @click="type=item.id">{{ item.name }}</view>
</u-grid-item>
</u-grid>
</view>
@@ -115,7 +115,8 @@
id: 8,
name: '瀹㈤��/杩斿搧鍥炲巶妫�楠�'
}
- ],
+ ],
+ type: '',
searchForm: {
name: '',
status: 0,
@@ -273,11 +274,13 @@
close() {
this.show = false
},
- resetType() {
+ resetType() {
+ this.type = ''
this.searchForm.type = ''
this.confirm()
},
- confirm() {
+ confirm() {
+ this.searchForm.type = this.type
this.show = false
this.scrolltoupper()
}
diff --git a/minipro_standard/util/api/ExWarehouse.js b/minipro_standard/util/api/ExWarehouse.js
new file mode 100644
index 0000000..a99e79b
--- /dev/null
+++ b/minipro_standard/util/api/ExWarehouse.js
@@ -0,0 +1,252 @@
+const http = uni.$u.http
+
+// 鍑哄叆搴撹鎯�
+export function getList(params) {
+ return http.get('/ext/wOutboundExt/findById', { params })
+}
+// export function getList(params: any): Promise<any> {
+// return httpRequest({
+// url: 'ext/wOutboundExt/findById',
+// method: 'get',
+// params
+// })
+// }
+
+// 鍑哄簱/鍏ュ簱鎵弿绡瓙鐮� - H5
+export function outScanAppliances(params) {
+ return http.get('/ext/wOutboundExt/outScanAppliances', { params })
+}
+// export function outScanAppliances(params: any): Promise<any> {
+// return httpRequest({
+// url: 'ext/wOutboundExt/outScanAppliances',
+// method: 'get',
+// params
+// })
+// }
+
+// 鏍规嵁杞簱鍗曡幏鍙栧嚭搴撲俊鎭� - H5
+export function getOutByWTransferId(params) {
+ return http.get('/ext/wOutboundExt/getOutByWTransferId', { params })
+}
+// export function getOutByWTransferId(params: any): Promise<any> {
+// return httpRequest({
+// url: 'ext/wOutboundExt/getOutByWTransferId',
+// method: 'get',
+// params
+// })
+// }
+
+// 鍑哄簱鍗曚繚瀛�
+export function saveOut(data) {
+ return http.post('/ext/wOutboundExt/saveOut', data)
+}
+// export function saveOut(data: any): Promise<any> {
+// return httpRequest({
+// url: 'ext/wOutboundExt/saveOut',
+// method: 'post',
+// data
+// })
+// }
+
+// 鍏ュ簱鍗曚繚瀛�
+export function saveIn(data) {
+ return http.post('/ext/wOutboundExt/saveIn', data)
+}
+// export function saveIn(data: any): Promise<any> {
+// return httpRequest({
+// url: 'ext/wOutboundExt/saveIn',
+// method: 'post',
+// data
+// })
+// }
+
+// 鏍规嵁杞簱鍗曡幏鍙栧叆搴撲俊鎭�
+export function getInByWTransferId(params) {
+ return http.get('/ext/wOutboundExt/getInByWTransferId', { params })
+}
+// export function getInByWTransferId(params: any): Promise<any> {
+// return httpRequest({
+// url: 'ext/wOutboundExt/getInByWTransferId',
+// method: 'get',
+// params
+// })
+// }
+
+// 鏍规嵁ID鏌ヨ璐т綅淇℃伅
+export function getLocationInfo(id) {
+ return http.get(`/ext/warehouseLocationExt/${id}`)
+}
+// export function getLocationInfo(id: string | number): Promise<any> {
+// return httpRequest({
+// url: `ext/warehouseLocationExt/${id}`,
+// method: 'get'
+// })
+// }
+
+// 鏍规嵁ID鏌ヨ璐т綅淇℃伅
+export function finishedInBill(params) {
+ return http.get('/ext/wOutboundExt/finishedInBill', { params })
+}
+// export function finishedInBill(params: any): Promise<any> {
+// return httpRequest({
+// url: 'ext/wOutboundExt/finishedInBill',
+// method: 'get',
+// params
+// })
+// }
+
+// 鑾峰彇杞簱鍗曚俊鎭�
+export function wTransferForInOut(params) {
+ return http.get('/ext/wOutboundExt/wTransferForInOut', { params })
+}
+// export function wTransferForInOut(params: any): Promise<any> {
+// return httpRequest({
+// url: 'ext/wTransferExt/wTransferForInOut',
+// method: 'get',
+// params
+// })
+// }
+
+// 鑾峰彇鍑哄叆搴撳崟淇℃伅
+export function wOutBoundForInOut(params) {
+ return http.get('/ext/wOutboundExt/wOutBoundForInOut', { params })
+}
+// export function wOutBoundForInOut(params: any): Promise<any> {
+// return httpRequest({
+// url: 'ext/wOutboundExt/wOutBoundForInOut',
+// method: 'get',
+// params
+// })
+// }
+
+// 鑾峰彇杞簱鍗曚俊鎭�
+export function saveOutCK (data) {
+ return request.post('/ext/wOutboundExt/saveOut', data)
+}
+// export function saveOutCK(data: any): Promise<any> {
+// return httpRequest({
+// url: 'ext/wOutboundExt/saveOut',
+// method: 'post',
+// data
+// })
+// }
+
+// 鎻愪氦杞簱鍗曞嚭鍏ュ簱
+export function wTransferForInOutUpload(params) {
+ return http.get('/ext/wTransferExt/wTransferForInOutUpload', { params })
+}
+// export function wTransferForInOutUpload(params: any): Promise<any> {
+// return httpRequest({
+// url: 'ext/wTransferExt/wTransferForInOutUpload',
+// method: 'get',
+// params
+// })
+// }
+
+// 璋冩暣鍏ュ簱
+export function wOutBoundForStockUp (data) {
+ return request.post('/ext/wOutboundExt/wOutBoundForStockUp', data)
+}
+// export function wOutBoundForStockUp(data: any): Promise<any> {
+// return httpRequest({
+// url: 'ext/wOutboundExt/createForStandard',
+// method: 'post',
+// data
+// })
+// }
+
+// 鍑哄叆搴撲笟鍔″鐞嗘彁浜�
+export function wOutBoundForUpload(params) {
+ return http.get('/ext/wOutboundExt/wOutBoundForUpload', { params })
+}
+// export function wOutBoundForUpload(params: any): Promise<any> {
+// return httpRequest({
+// url: 'ext/wOutboundExt/wOutBoundForUpload',
+// method: 'get',
+// params
+// })
+// }
+
+// 鐗╂枡鍒嗛厤淇℃伅鍒嗛〉鏌ヨ
+export function materialDistributeExt (data) {
+ return request.post('/ext/materialDistributeExt/page', data)
+}
+// export function materialDistributeExt(data: any): Promise<any> {
+// return httpRequest({
+// url: 'ext/materialDistributeExt/page',
+// method: 'post',
+// data
+// })
+// }
+
+// 鏍规嵁鐗╂枡涓婚敭鏌ヨ鐗╂枡鍒嗛厤鏁版嵁
+export function getMaterialItem(params) {
+ return http.get('/ext/materialDistributeExt/findByMaterialId', { params })
+}
+// export function getMaterialItem(params: any): Promise<any> {
+// return httpRequest({
+// url: `ext/materialDistributeExt/findByMaterialId`,
+// method: 'get',
+// params
+// })
+// }
+
+// 鏍规嵁鐗╂枡鍒嗛厤涓婚敭鏌ヨ
+export function getListByMaterialId(params) {
+ return http.get('/ext/proceduresExt/getListByMaterialId', { params })
+}
+// export function getListByMaterialId(params: any): Promise<any> {
+// return httpRequest({
+// url: 'ext/proceduresExt/getListByMaterialId',
+// method: 'get',
+// params
+// })
+// }
+
+// 鏍规嵁杞簱鍗曟煡璇㈠簱瀛�
+export function choiceStockPageByTransfer (data) {
+ return request.post('/ext/wStockExt/choiceStockPageByTransfer', data)
+}
+// export function choiceStockPageByTransfer(data: any): Promise<any> {
+// return httpRequest({
+// url: 'ext/wStockExt/choiceStockPageByTransfer',
+// method: 'post',
+// data
+// })
+// }
+
+// 杞簱鍑哄簱涓氬姟 - H5
+export function transferToOutNew (data) {
+ return request.post('/ext/wTransferExt/transferToOutNew', data)
+}
+// export function transferToOutNew(data: any): Promise<any> {
+// return httpRequest({
+// url: 'ext/wTransferExt/transferToOutNew',
+// method: 'post',
+// data
+// })
+// }
+
+// 杞簱鍏ュ簱涓氬姟 - H5
+export function transferToInNew (data) {
+ return request.post('/ext/wTransferExt/transferToInNew', data)
+}
+// export function transferToInNew(data: any): Promise<any> {
+// return httpRequest({
+// url: '/ext/wTransferExt/transferToInNew',
+// method: 'post',
+// data
+// })
+// }
+
+// 鏍规嵁渚涢渶璁″垝鏌ヨ鍙敤搴撳瓨
+export function getStockByPlansForStandard (data) {
+ return request.post('/ext/workorderRecordExt/getStockByPlansForStandard', data)
+}
+// export function getStockByPlansForStandard(data: any): Promise<any> {
+// return httpRequest({
+// url: '/ext/workorderRecordExt/getStockByPlansForStandard',
+// method: 'post',
+// data
+// })
+// }
\ No newline at end of file
diff --git a/minipro_standard/util/api/PersonalAPI.js b/minipro_standard/util/api/PersonalAPI.js
new file mode 100644
index 0000000..51e17d8
--- /dev/null
+++ b/minipro_standard/util/api/PersonalAPI.js
@@ -0,0 +1,36 @@
+const request = uni.$u.http
+
+// 淇敼褰撳墠鐢ㄦ埛瀵嗙爜
+export function updatePwd (data) {
+ return request.post('/system/updatePwd', data)
+}
+// export function updatePwd(data: any): Promise<any> {
+// return httpRequest({
+// url: 'system/updatePwd',
+// method: 'post',
+// data
+// })
+// }
+
+// 鍒囨崲褰撳墠鍏徃绾х粍缁�
+export function changeCom (id) {
+ return request.get(`/ext/departmentExt/changeCom/${id}`)
+}
+// export function changeCom(id: any): Promise<any> {
+// return httpRequest({
+// url: `ext/departmentExt/changeCom/${id}`,
+// method: 'get'
+// })
+// }
+
+// 鏉′欢鏌ヨ浼佷笟鍏ㄩ儴閮ㄩ棬
+export function getDepartmentListByConditon (data) {
+ return request.post('/ext/departmentExt/getDepartmentListByConditon', data)
+}
+// export function getDepartmentListByConditon(data: any): Promise<any> {
+// return httpRequest({
+// url: 'ext/departmentExt/getDepartmentListByConditon',
+// method: 'post',
+// data
+// })
+// }
diff --git a/minipro_standard/util/api/PlanningAPI.js b/minipro_standard/util/api/PlanningAPI.js
new file mode 100644
index 0000000..f68a57c
--- /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 getWorkingProcedure (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
+// })
+// }
diff --git a/minipro_standard/util/api/QualityAPI.js b/minipro_standard/util/api/QualityAPI.js
new file mode 100644
index 0000000..72031cf
--- /dev/null
+++ b/minipro_standard/util/api/QualityAPI.js
@@ -0,0 +1,118 @@
+const request = uni.$u.http
+
+// 鍒嗛〉鏌ヨ
+export function page (data) {
+ return request.post('/ext/workorderCheckExt/page', data)
+}
+// export function page(data: any): Promise<any> {
+// return httpRequest({
+// url: 'ext/workorderCheckExt/page',
+// method: 'post',
+// data
+// })
+// }
+
+// 鍒涘缓妫�楠�
+export function createJY (data) {
+ return request.post('/ext/workorderCheckExt/create', data)
+}
+// export function createJY(data: any): Promise<any> {
+// return httpRequest({
+// url: 'ext/workorderCheckExt/create',
+// method: 'post',
+// data
+// })
+// }
+
+// 鍒涘缓妫�楠�--鏀�
+export function createStandard (data) {
+ return request.post('/ext/workorderCheckExt/createStandard', data)
+}
+// export function createStandard(data: any): Promise<any> {
+// return httpRequest({
+// url: 'ext/workorderCheckExt/createStandard',
+// method: 'post',
+// data
+// })
+// }
+
+// 鏍规嵁ID鏌ヨ
+export function getBYid (id) {
+ return request.post(`/ext/workorderCheckExt/${id}`, data)
+}
+// export function getBYid(id: any): Promise<any> {
+// return httpRequest({
+// url: `/ext/workorderCheckExt/${id}`,
+// method: 'get'
+// })
+// }
+
+// 鑾峰彇鍑哄叆搴撲俊鎭�
+export function findById (id) {
+ return request.post(`/ext/wOutboundExt/findById?id=${id}`, data)
+}
+// export function findById(id: Number): Promise<any> {
+// return httpRequest({
+// url: `/ext/wOutboundExt/findById?id=${id}`,
+// method: 'get'
+// })
+// }
+
+// 鐢熶骇缁堟鏁版嵁鎻愪氦
+export function upload (data) {
+ return request.post('/ext/endCheckExt/upload', data)
+}
+// export function upload (data: any): Promise<any> {
+// return httpRequest({
+// url: 'ext/endCheckExt/upload',
+// method: 'post',
+// data
+// })
+// }
+
+// 鐢熶骇缁堟鏁版嵁鎻愪氦
+export function uploadTest (data) {
+ return request.post('/ext/endCheckExt/uploadEndCheckNew', data)
+}
+// export function uploadTest (data: any): Promise<any> {
+// return httpRequest({
+// url: 'ext/endCheckExt/uploadEndCheckNew',
+// method: 'post',
+// data
+// })
+// }
+
+// 宸℃璁板綍鍒涘缓
+export function saveBean (data) {
+ return request.post('/ext/deviceCheckExt/saveBean', data)
+}
+// export function saveBean (data: any): Promise<any> {
+// return httpRequest({
+// url: 'ext/deviceCheckExt/saveBean',
+// method: 'post',
+// data
+// })
+// }
+
+// 鑾峰彇鏉冮檺鑼冨洿鍐呯殑璁惧鏁版嵁
+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
+// })
+// }
+
+// 鏍规嵁ID鏌ヨ璁惧
+export function getBYid (id) {
+ return request.post(`/ext/deviceExt/${id}`, data)
+}
+// export function getsbInfo (id: any): Promise<any> {
+// return httpRequest({
+// url: `ext/deviceExt/${id}`,
+// method: 'get'
+// })
+// }
diff --git a/minipro_standard/util/api/WorkOrderAPI.js b/minipro_standard/util/api/WorkOrderAPI.js
new file mode 100644
index 0000000..49ba02d
--- /dev/null
+++ b/minipro_standard/util/api/WorkOrderAPI.js
@@ -0,0 +1,652 @@
+const http = uni.$u.http
+
+// 鍒嗛〉鏌ヨ
+export function getList (data) {
+ return http.post('/ext/workorderExt/page', data)
+}
+// export function getList(data: any): Promise<any> {
+// return httpRequest({
+// url: '/ext/workorderExt/page',
+// method: 'post',
+// data
+// })
+// }
+
+// 宸ュ崟缁熻鍒楄〃鏁伴噺
+export function pageCount (data) {
+ return http.post('/ext/workorderExt/pageCount', data)
+}
+// export function pageCount(data: any): Promise<any> {
+// return httpRequest({
+// url: '/ext/workorderExt/pageCount',
+// method: 'post',
+// data
+// })
+// }
+
+// 鏍规嵁ID鏌ヨ
+export function queryById (id) {
+ return http.get(`/ext/workorderExt/${id}`)
+}
+// export function queryById(id: any): Promise<any> {
+// return httpRequest({
+// url: `ext/workorderExt/${id}`,
+// method: 'get'
+// })
+// }
+
+// 鍒嗙被缁勫悎鎺ュ彛2
+export function checkAllList (data) {
+ return http.post('/ext/categoryUnionExt/checkAllList', data)
+}
+// export function checkAllList(data: any): Promise<any> {
+// return httpRequest({
+// url: 'ext/categoryUnionExt/checkAllList',
+// method: 'post',
+// data
+// })
+// }
+
+// 鏍规嵁鐢ㄦ埛鏌ヨ - 璁惧鍒楄〃
+export function getListByUser () {
+ return http.post('/ext/userDeviceExt/getListByUser')
+}
+// export function getListByUser (): Promise<any> {
+// return httpRequest({
+// url: 'ext/userDeviceExt/getListByUser',
+// method: 'post'
+// })
+// }
+
+// 鏌ヨ褰撳墠鐢ㄦ埛鎵�鏈変富缁勭粐涓嬬殑宸ュ簭
+export function warehouseList (data) {
+ return http.post('/ext/warehouseExt/page', data)
+}
+// export function warehouseList(data: any): Promise<any> {
+// return httpRequest({
+// url: '/ext/warehouseExt/page',
+// method: 'post',
+// data
+// })
+// }
+
+// 瀹屽伐鍏ュ簱璇︽儏
+export function finishedDetail(params) {
+ return http.get('/ext/workorderExt/finishedDetail', { params })
+}
+// export function finishedDetail (params: any): Promise<any> {
+// return httpRequest({
+// url: 'ext/workorderExt/finishedDetail',
+// method: 'get',
+// params
+// })
+// }
+
+// 鏍规嵁鏉′欢鏌ヨ宸ヨ
+export function getListByCondition (data) {
+ return http.post('/ext/appliancesExt/getListByCondition', data)
+}
+// export function getListByCondition(data: any): Promise<any> {
+// return httpRequest({
+// url: 'ext/appliancesExt/getListByCondition',
+// method: 'post',
+// data
+// })
+// }
+
+// 鏂板缓鎶曟枡
+export function createMaterial (data) {
+ return http.post('/ext/workorderRecordExt/createMaterial', data)
+}
+// export function createMaterial(data: any): Promise<any> {
+// return httpRequest({
+// url: 'ext/workorderRecordExt/createMaterial',
+// method: 'post',
+// data
+// })
+// }
+
+// 鏂板缓鎶曟枡 - 鏍囧噯鐗�
+export function createMaterialStandard (data) {
+ return http.post('/ext/workorderRecordExt/createMaterialStandard', data)
+}
+// export function createMaterialStandard(data: any): Promise<any> {
+// return httpRequest({
+// url: 'ext/workorderRecordExt/createMaterialStandard',
+// method: 'post',
+// data
+// })
+// }
+
+// 鑾峰彇鎵弿鏉$爜鍐呭
+export function getBarcodeContent(params) {
+ return http.get('/ext/barcodeParamExt/getBarcodeContent', { params })
+}
+// export function getBarcodeContent(params: any): Promise<any> {
+// return httpRequest({
+// url: 'ext/barcodeParamExt/getBarcodeContent',
+// method: 'get',
+// params
+// })
+// }
+
+// 鏌ヨ鍏ㄩ儴宸ュ崟鐢熶骇杩囩▼璁板綍
+export function getOrocessRecord (data) {
+ return http.post('/ext/workorderRecordExt/all', data)
+}
+// export function getOrocessRecord(data: any): Promise<any> {
+// return httpRequest({
+// url: 'ext/workorderRecordExt/all',
+// method: 'post',
+// data
+// })
+// }
+
+// 宸ヨ鍣ㄥ叿鏍规嵁ID鏌ヨ
+export function toolingQueryById (data) {
+ return http.post('/ext/appliancesExt/getListByCondition', data)
+}
+// export function toolingQueryById(data: any): Promise<any> {
+// return httpRequest({
+// url: 'ext/appliancesExt/getListByCondition',
+// method: 'post',
+// data
+// })
+// }
+
+// 鏂板缓浜у嚭
+export function createProduce (data) {
+ return http.post('/ext/workorderRecordExt/createProduce', data)
+}
+// export function createProduce(data: any): Promise<any> {
+// return httpRequest({
+// url: 'ext/workorderRecordExt/createProduce',
+// method: 'post',
+// data
+// })
+// }
+
+// 鍒犻櫎浜у嚭/鎶曟枡鍗曟潯璁板綍
+export function deleteCT (id) {
+ return http.get(`/ext/workorderRecordExt/delete/${id}`)
+}
+// export function deleteCT (id: any): Promise<any> {
+// return httpRequest({
+// url: `/ext/workorderRecordExt/delete/${id}`,
+// method: 'get'
+// })
+// }
+
+// 鏍规嵁ID淇敼浜у嚭-鎶曟枡鏁伴噺
+export function updateById (data) {
+ return http.post('/ext/workorderRecordExt/updateById', data)
+}
+// export function updateById (data: any): Promise<any> {
+// return httpRequest({
+// url: 'ext/workorderRecordExt/updateById',
+// method: 'post',
+// data
+// })
+// }
+
+// 鏍规嵁绡瓙鍒嗙粍缁熻鎶ュ簾鍜屼笉鑹暟閲�
+export function listGroupByAppliance (data) {
+ return http.post('/ext/workorderCheckExt/listGroupByAppliance', data)
+}
+// export function listGroupByAppliance (data: any): Promise<any> {
+// return httpRequest({
+// url: 'ext/workorderCheckExt/listGroupByAppliance',
+// method: 'post',
+// data
+// })
+// }
+
+// 纭鎶ュ伐
+export function comfirmDone (data) {
+ return http.post('/ext/workorderRecordExt/comfirmDone', data)
+}
+// export function comfirmDone (data: any): Promise<any> {
+// return httpRequest({
+// url: 'ext/workorderRecordExt/comfirmDone',
+// method: 'post',
+// data
+// })
+// }
+
+// 纭鎶ュ伐 - 鏍囧噯鐗�
+export function comfirmDoneStandard (data) {
+ return http.post('/ext/workorderRecordExt/comfirmDoneStandard', data)
+}
+// export function comfirmDoneStandard (data: any): Promise<any> {
+// return httpRequest({
+// url: 'ext/workorderRecordExt/comfirmDoneStandard',
+// method: 'post',
+// data
+// })
+// }
+
+// 鏍规嵁鏉′欢鏌ヨ鎵�鏈夌殑妫�鐐瑰睘鎬�
+export function getJdList (data) {
+ return http.post('/ext/checkAttrExt/getListByCondition', data)
+}
+// export function getJdList (data: any): Promise<any> {
+// return httpRequest({
+// url: 'ext/checkAttrExt/getListByCondition',
+// method: 'post',
+// data
+// })
+// }
+
+// 鏂板缓鐐规
+export function createDJ (data) {
+ return http.post('/ext/workorderCheckAttrExt/create', data)
+}
+// export function createDJ (data: any): Promise<any> {
+// return httpRequest({
+// url: 'ext/workorderCheckAttrExt/create',
+// method: 'post',
+// data
+// })
+// }
+
+// 鐐规鍒嗛〉鏌ヨ
+export function pageDJ (data) {
+ return http.post('/ext/workorderCheckAttrExt/page', data)
+}
+// export function pageDJ (data: any): Promise<any> {
+// return httpRequest({
+// url: 'ext/workorderCheckAttrExt/page',
+// method: 'post',
+// data
+// })
+// }
+
+// 瀹屽伐鍏ュ簱鎻愪氦
+export function finished(params) {
+ return http.get('/ext/workorderExt/finished', { params })
+}
+// export function finished (params: any): Promise<any> {
+// return httpRequest({
+// url: 'ext/workorderExt/finished',
+// method: 'get',
+// params
+// })
+// }
+
+// 瀹屽伐鍏ュ簱璇︽儏璁板綍
+export function saveFinishRecord (data) {
+ return http.post('/ext/workorderExt/saveFinishRecord', data)
+}
+// export function saveFinishRecord (data: any): Promise<any> {
+// return httpRequest({
+// url: 'ext/workorderExt/saveFinishRecord',
+// method: 'post',
+// data
+// })
+// }
+
+// 瀹屽伐鍏ュ簱璇︽儏璁板綍 --- 寰呭姙杩涘叆
+export function getFinishRecord(params) {
+ return http.get('/ext/workorderExt/getFinishRecord', { params })
+}
+// export function getFinishRecord (params: any): Promise<any> {
+// return httpRequest({
+// url: 'ext/workorderExt/getFinishRecord',
+// method: 'get',
+// params
+// })
+// }
+
+// 鏍规嵁ID鏌ヨ璁惧璇︽儏
+export function deleteById (id) {
+ return http.get(`/ext/deviceExt/${id}`)
+}
+// export function getSbInfo (id: any): Promise<any> {
+// return httpRequest({
+// url: `ext/deviceExt/${id}`,
+// method: 'get'
+// })
+// }
+
+// 鎹叆搴撹揣浣嶇瓫閫夊叆搴撳崟 - H5
+export function finishedInBill(params) {
+ return http.get('/ext/wOutboundExt/finishedInBill', { params })
+}
+// export function finishedInBill (params: any): Promise<any> {
+// return httpRequest({
+// url: 'ext/wOutboundExt/finishedInBill',
+// method: 'get',
+// params
+// })
+// }
+
+// 鐢ㄦ埛缁戝畾璁惧
+export function bindingDevice (data) {
+ return http.post('/ext/userDeviceExt/create', data)
+}
+// export function bindingDevice (data: any): Promise<any> {
+// return httpRequest({
+// url: 'ext/userDeviceExt/create',
+// method: 'post',
+// data
+// })
+// }
+
+// 宸ヨ鍒嗛〉鏌ヨ
+export function toolingList (data) {
+ return http.post('/ext/appliancesExt/page', data)
+}
+// export function toolingList (data: any): Promise<any> {
+// return httpRequest({
+// url: 'ext/appliancesExt/page',
+// method: 'post',
+// data
+// })
+// }
+
+// 鏇存崲绡瓙
+export function chageApplicance (data) {
+ return http.post('/ext/appliancesExt/chageApplicance', data)
+}
+// export function chageApplicance (data: any): Promise<any> {
+// return httpRequest({
+// url: 'ext/appliancesExt/chageApplicance',
+// method: 'post',
+// data
+// })
+// }
+
+// 鐢宠鍗曪紝杩斿伐杩斾慨鐢宠涓嶈壇鍘熷洜
+export function checkFGFXList(params) {
+ return http.get('/ext/categoryUnionExt/checkFGFXList', { params })
+}
+// export function checkFGFXList (params: any): Promise<any> {
+// return httpRequest({
+// url: 'ext/categoryUnionExt/checkFGFXList',
+// method: 'get',
+// params
+// })
+// }
+
+// 鏌ヨ鍏徃绾у叏閮�
+export function allData (data) {
+ return http.post('/ext/salesorder/allData', data)
+}
+// export function allData (data: any): Promise<any> {
+// return httpRequest({
+// url: 'business/salesorder/allData',
+// method: 'post',
+// data
+// })
+// }
+
+// 鏍规嵁ID鏌ヨ宸ュ簭
+export function getGXItem (id) {
+ return http.get(`/ext/proceduresExt/${id}`)
+}
+// export function getGXItem (id: any): Promise<any> {
+// return httpRequest({
+// url: `ext/proceduresExt/${id}`,
+// method: 'get'
+// })
+// }
+
+// 鏂板缓杩斿伐杩斾慨鐢宠鍗�
+export function createSingle (data) {
+ return http.post('/business/backorder/create', data)
+}
+// export function createSingle (data: any): Promise<any> {
+// return httpRequest({
+// url: 'business/backorder/create',
+// method: 'post',
+// data
+// })
+// }
+
+// 鏌ヨ褰撳墠鐢ㄦ埛鎵�鏈変富缁勭粐涓嬬殑宸ュ簭
+export function productesGroup (data) {
+ return http.post('/ext/proceduresExt/productesGroup', data)
+}
+// export function productesGroup (data: any): Promise<any> {
+// return httpRequest({
+// url: 'ext/proceduresExt/productesGroup',
+// method: 'post',
+// data
+// })
+// }
+
+// 鐢宠鍗曞垎椤垫煡璇�
+export function sqdCage (data) {
+ return http.post('/business/backorder/page', data)
+}
+// export function sqdCage (data: any): Promise<any> {
+// return httpRequest({
+// url: 'business/backorder/page',
+// method: 'post',
+// data
+// })
+// }
+
+// 鐢宠鍗曟牴鎹甶d鏌ヨ璇︾粏
+export function getsqdInfo (id) {
+ return http.get(`/business/backorder/${id}`)
+}
+// export function getsqdInfo (id: any): Promise<any> {
+// return httpRequest({
+// url: `business/backorder/${id}`,
+// method: 'get'
+// })
+// }
+
+// 鐢宠鍗�---鏍规嵁宸ュ巶id鏌ヨ宸ュ簭
+export function productesGroups (data) {
+ return http.post('/business/proceduresExt/productesGroup', data)
+}
+// export function productesGroups (data: any): Promise<any> {
+// return httpRequest({
+// url: 'ext/proceduresExt/productesGroup',
+// method: 'post',
+// data
+// })
+// }
+
+// 瀹屽伐鍏ュ簱璇︽儏 - NEW
+export function finishedDetailNew(params) {
+ return http.get('/ext/workorderExt/finishedDetailNew', { params })
+}
+// export function finishedDetailNew (params: any): Promise<any> {
+// return httpRequest({
+// url: 'ext/workorderExt/finishedDetailNew',
+// method: 'get',
+// params
+// })
+// }
+
+// 鏍规嵁宸ュ崟鏌ヨ宸ヨ壓鍗�
+export function getListByWorkOrderId (data) {
+ return http.post('/ext/routeCardExt/getListByWorkOrderId', data)
+}
+// export function getListByWorkOrderId (data: any): Promise<any> {
+// return httpRequest({
+// url: 'ext/routeCardExt/getListByWorkOrderId',
+// method: 'post',
+// data
+// })
+// }
+
+// 缁堟宸ヨ鎵弿
+export function getEndCheckAP(params) {
+ return http.get('/ext/workorderRecordExt/getEndCheckAP', { params })
+}
+// export function getEndCheckAP (params: any): Promise<any> {
+// return httpRequest({
+// url: 'ext/workorderRecordExt/getEndCheckAP',
+// method: 'get',
+// params
+// })
+// }
+
+// 鏍规嵁ID鏌ヨ璁惧
+export function deletedj (id) {
+ return http.get(`/ext/workorderCheckAttrExt/delete/${id}`)
+}
+// export function deletedj (id: any): Promise<any> {
+// return httpRequest({
+// url: `ext/workorderCheckAttrExt/delete/${id}`,
+// method: 'get'
+// })
+// }
+
+// 搴撳瓨閲忔煡璇� - H5
+export function pageForH5 (data) {
+ return http.post('/ext/wStockExt/pageForH5', data)
+}
+// export function pageForH5 (data: any): Promise<any> {
+// return httpRequest({
+// url: 'ext/wStockExt/pageForH5',
+// method: 'post',
+// data
+// })
+// }
+
+// 璐т綅鍒嗛〉鏌ヨ
+export function pageHW (data) {
+ return http.post('/ext/warehouseLocationExt/page', data)
+}
+// export function pageHW (data: any): Promise<any> {
+// return httpRequest({
+// url: 'ext/warehouseLocationExt/page',
+// method: 'post',
+// data
+// })
+// }
+
+// 鏍规嵁浠撳簱鏌ヨ浠撳簱涓嬭揣浣嶄俊鎭�
+export function getListByWarehouseId(params) {
+ return http.get('/ext/warehouseLocationExt/getListByWarehouseId', { params })
+}
+// export function getListByWarehouseId (params: any): Promise<any> {
+// return httpRequest({
+// url: 'ext/warehouseLocationExt/getListByWarehouseId',
+// method: 'get',
+// params
+// })
+// }
+
+// 鎵嬪伐杞簱 - H5
+export function scanTransfer (data) {
+ return http.post('/ext/wTransferExt/scanTransfer', data)
+}
+// export function scanTransfer (data: any): Promise<any> {
+// return httpRequest({
+// url: 'ext/wTransferExt/scanTransfer',
+// method: 'post',
+// data
+// })
+// }
+
+// 鏌ヨ鍏ㄩ儴 - 鏍囧噯
+export function allForStandard (data) {
+ return http.post('/ext/workorderRecordExt/allForStandard', data)
+}
+// export function allForStandard (data: any): Promise<any> {
+// return httpRequest({
+// url: 'ext/workorderRecordExt/allForStandard',
+// method: 'post',
+// data
+// })
+// }
+
+// 鐢熸垚鎶曟枡璁板綍 - standard
+export function dealWorkorderRecordStandard (data) {
+ return http.post('/ext/workorderRecordExt/dealWorkorderRecordStandard', data)
+}
+// export function dealWorkorderRecordStandard (data: any): Promise<any> {
+// return httpRequest({
+// url: 'ext/workorderRecordExt/dealWorkorderRecordStandard',
+// method: 'post',
+// data
+// })
+// }
+
+// 鏌ヨ浜у嚭璁板綍鍒楄〃
+export function getWorkorderRecordListStandard(params) {
+ return http.get('/ext/workorderRecordExt/getWorkorderRecordListStandard', { params })
+}
+// export function getWorkorderRecordListStandard (params: any): Promise<any> {
+// return httpRequest({
+// url: 'ext/workorderRecordExt/getWorkorderRecordListStandard',
+// method: 'get',
+// params
+// })
+// }
+
+/***
+ * 鏍规嵁ID鏌ヨ宸ヨ淇℃伅
+ * @param id
+ */
+export function getGzInfo (id) {
+ return http.get(`/ext/appliancesExt/${id}`)
+}
+// export function getGzInfo (id: any): Promise<any> {
+// return httpRequest({
+// url: `ext/appliancesExt/${id}`,
+// method: 'get'
+// })
+// }
+
+/**
+ * 纭澶囨枡璇︽儏
+ * @param params id: 杞簱id
+ * @returns
+ */
+export function wTransferConfirm(params) {
+ return http.get('/ext/wTransferExt/wTransferConfirm', { params })
+}
+// export function wTransferConfirm(params: any): Promise<any> {
+// return httpRequest({
+// url: '/ext/wTransferExt/wTransferConfirm',
+// method: 'get',
+// params
+// })
+// }
+
+/**
+* 鎺ュ彈澶囨枡
+* @param params id: id
+* @returns
+*/
+export function acceptWTransfer(params) {
+ return http.get('/ext/wTransferExt/acceptWTransfer', { params })
+}
+// export function acceptWTransfer(params: any): Promise<any> {
+// return httpRequest({
+// url: '/ext/wTransferExt/acceptWTransfer',
+// method: 'get',
+// params
+// })
+// }
+
+// 鏂板鍑哄簱
+export function createForStandard (data) {
+ return http.post('/ext/wOutboundExt/createForStandard', data)
+}
+// export function createForStandard (data: any): Promise<any> {
+// return httpRequest({
+// url: '/ext/wOutboundExt/createForStandard',
+// method: 'post',
+// data
+// })
+// }
+
+// 搴撳瓨璋冩暣銆侀噰璐叆搴撳叆搴撳崟鍒涘缓
+export function wOutBoundForStockUp (data) {
+ return http.post('/ext/wOutboundExt/wOutBoundForStockUp', data)
+}
+// export function wOutBoundForStockUp (data: any): Promise<any> {
+// return httpRequest({
+// url: '/ext/wOutboundExt/wOutBoundForStockUp',
+// method: 'post',
+// data
+// })
+// }
diff --git a/minipro_standard/util/api/agencyAPI.js b/minipro_standard/util/api/agencyAPI.js
new file mode 100644
index 0000000..6876b57
--- /dev/null
+++ b/minipro_standard/util/api/agencyAPI.js
@@ -0,0 +1,77 @@
+const http = uni.$u.http
+
+// 鍒嗛〉鏌ヨ
+export function getList(data) {
+ return http.post('/ext/noticesExt/page', data)
+}
+
+// 鏌ヨ缁熻鍒楄〃鏁伴噺
+export function pageCount(data) {
+ return http.post('/ext/noticesExt/pageCount', data)
+}
+// export function pageCount(data: any): Promise<any> {
+// return httpRequest({
+// url: 'ext/noticesExt/pageCount',
+// method: 'post',
+// data
+// })
+// }
+
+// 鏍规嵁ID鏌ヨ
+export function getDB(id) {
+ return http.get(`/ext/noticesExt/${id}`)
+}
+// export function getDB(id: any): Promise<any> {
+// return httpRequest({
+// url: `ext/noticesExt/${id}`,
+// method: 'get'
+// })
+// }
+
+// 鎵嬪姩鍑哄叆搴撲娇鐢� - 鍒嗛〉鏌ヨ
+export function findListPageForManual(data) {
+ return http.post('/ext/appliancesExt/findListPageForManual', data)
+}
+// export function findListPageForManual(data: any): Promise<any> {
+// return httpRequest({
+// url: 'ext/appliancesExt/findListPageForManual',
+// method: 'post',
+// data
+// })
+// }
+
+// 鏍规嵁浠撳簱鏌ヨ搴撳瓨
+export function choiceStockListPage(data) {
+ return http.post('/ext/wStockExt/choiceStockListPage', data)
+}
+// export function choiceStockListPage(data: any): Promise<any> {
+// return httpRequest({
+// url: '/ext/wStockExt/choiceStockListPage',
+// method: 'post',
+// data
+// })
+// }
+
+// 鏍规嵁浠撳簱鏌ヨ搴撳瓨-鏍囧噯鐗�
+export function choiceStockPageForStandard(data) {
+ return http.post('/ext/workorderRecordExt/choiceStockPageForStandard', data)
+}
+// export function choiceStockPageForStandard(data: any): Promise<any> {
+// return httpRequest({
+// url: 'ext/workorderRecordExt/choiceStockPageForStandard',
+// method: 'post',
+// data
+// })
+// }
+
+// 鎵嬪姩鏂板缓杞簱鍗�
+export function createZK(data) {
+ return http.post('/ext/wTransferExt/create', data)
+}
+// export function createZK(data: any): Promise<any> {
+// return httpRequest({
+// url: 'ext/wTransferExt/create',
+// method: 'post',
+// data
+// })
+// }
diff --git a/minipro_standard/util/api/materialStorage.js b/minipro_standard/util/api/materialStorage.js
new file mode 100644
index 0000000..aa85e99
--- /dev/null
+++ b/minipro_standard/util/api/materialStorage.js
@@ -0,0 +1,115 @@
+const request = uni.$u.http
+
+// 杞簱鍗曞垪琛�
+export function getTransferList (data) {
+ return request.post('/ext/wTransferExt/pageList', data)
+}
+// export function getTransferList(data: any): Promise<any> {
+// return httpRequest({
+// url: '/ext/wTransferExt/pageList',
+// method: 'post',
+// data
+// })
+// }
+
+// 杞簱鍗曡鎯�
+export function wTransferExtDetail (id) {
+ return request.get(`/ext/wTransferExt/${id}`)
+}
+// export function wTransferExtDetail(id: any): Promise<any> {
+// return httpRequest({
+// url: `/ext/wTransferExt/${id}`,
+// method: 'get'
+// })
+// }
+
+// 鍒嗛〉鏌ヨ搴撳瓨
+export function getwStockExtList (data) {
+ return request.post('/ext/wStockExt/pageForH5', data)
+}
+// export function getwStockExtList(data: any): Promise<any> {
+// return httpRequest({
+// url: '/ext/wStockExt/pageForH5',
+// method: 'post',
+// data
+// })
+// }
+
+// 鍑哄叆搴撳崟鍒楄〃
+export function getBoundList (data) {
+ return request.post('/ext/wOutboundExt/listPage', data)
+}
+// export function getBoundList(data: any): Promise<any> {
+// return httpRequest({
+// url: '/ext/wOutboundExt/listPage',
+// method: 'post',
+// data
+// })
+// }
+
+// 鎻愪氦杞簱鍗曞嚭鍏ュ簱
+export function inOutSubmit(params) {
+ return http.get('/ext/wTransferExt/wTransferForInOutUpload', { params })
+}
+// export function inOutSubmit(params: any): Promise<any> {
+// return httpRequest({
+// url: 'ext/wTransferExt/wTransferForInOutUpload',
+// method: 'get',
+// params
+// })
+// }
+
+// 鍑哄叆搴撳垪琛ㄧ粺璁� - H5
+export function pageCount (data) {
+ return request.post('/ext/wOutboundExt/pageCount', data)
+}
+// export function pageCount(data: any): Promise<any> {
+// return httpRequest({
+// url: 'ext/wOutboundExt/pageCount',
+// method: 'post',
+// data
+// })
+// }
+
+// 杞簱鍒楄〃缁熻 - H5
+export function ZKPageCount (data) {
+ return request.post('/ext/wTransferExt/pageCount', data)
+}
+// export function ZKPageCount(data: any): Promise<any> {
+// return httpRequest({
+// url: 'ext/wTransferExt/pageCount',
+// method: 'post',
+// data
+// })
+// }
+
+/**
+ *
+ * @param params id 鍑哄叆搴搃d
+ * @returns
+ */
+export function getBoundDetail(params) {
+ return http.get('/ext/wOutboundExt/findById', { params })
+}
+// export function getBoundDetail(params: any): Promise<any> {
+// return httpRequest({
+// url: '/ext/wOutboundExt/findById',
+// method: 'get',
+// params
+// })
+// }
+/**
+ * 鍙栨秷鍑哄叆搴撳崟鎹�
+ * @param params id 鍑哄叆搴搃d
+ * @returns
+ */
+export function cancelBound(params) {
+ return http.get('/ext/wOutboundExt/cancel', { params })
+}
+// export function cancelBound(params: any): Promise<any> {
+// return httpRequest({
+// url: '/ext/wOutboundExt/cancel',
+// method: 'get',
+// params
+// })
+// }
diff --git a/web_standard/src/api/business/salaryParam.js b/web_standard/src/api/business/salaryParam.js
index 6a34dd9..ace1e8b 100644
--- a/web_standard/src/api/business/salaryParam.js
+++ b/web_standard/src/api/business/salaryParam.js
@@ -38,3 +38,23 @@
}
})
}
+
+
+/**
+// 淇敼
+export function updateById (data) {
+ return http.post('/ext/workorderExt/updateById', data)
+}
+
+// 鍒犻櫎
+export function deleteById (id) {
+ return http.get(`/ext/workorderExt/${id}`)
+}
+
+export function outScanAppliances(params) {
+ return http.get('/ext/workorderExt/outScanAppliances', { params })
+}
+ */
+
+
+
--
Gitblit v1.9.3