| ¶Ô±ÈÐÂÎļþ |
| | |
| | | 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}`) |
| | | } |
| | | // 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}`) |
| | | } |
| | | // 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 getsbInfo (id) { |
| | | return request.post(`/ext/deviceExt/${id}`) |
| | | } |
| | | // export function getsbInfo (id: any): Promise<any> { |
| | | // return httpRequest({ |
| | | // url: `ext/deviceExt/${id}`, |
| | | // method: 'get' |
| | | // }) |
| | | // } |