| | |
| | | }); |
| | | } |
| | | |
| | | export function selectIndustryOptions() { |
| | | return request({ url: '/standardMethod/selectIndustryOptions', method: 'get' }) |
| | | } |
| | | |
| | | export function selectAttachments(query) { |
| | | return request({ url: '/standardMethod/selectAttachments', method: 'get', params: query }) |
| | | } |
| | | |
| | | export function uploadAttachment(data, standardMethodId) { |
| | | return request({ |
| | | url: '/standardMethod/uploadAttachment', |
| | | method: 'post', |
| | | params: { standardMethodId }, |
| | | data, |
| | | headers: { 'Content-Type': 'multipart/form-data' } |
| | | }) |
| | | } |
| | | |
| | | export function deleteAttachment(query) { |
| | | return request({ url: '/standardMethod/deleteAttachment', method: 'delete', params: query }) |
| | | } |
| | | |