You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
667 B
34 lines
667 B
import http from '@/utils/http/index.js'
|
|
|
|
/**
|
|
* 获取远程验厂列表
|
|
*/
|
|
export function getApplyingList(data = {}) {
|
|
return http.get({
|
|
url: '/base-paper-trading/get/factory-inspection/list',
|
|
data
|
|
})
|
|
}
|
|
|
|
/**
|
|
* 获取远程验厂详情
|
|
*/
|
|
export function getApplyingInfo(data = {}) {
|
|
return http.get({
|
|
url: `/base-paper-trading/get/factory-inspection/${data.id}`,
|
|
data
|
|
})
|
|
}
|
|
|
|
/**
|
|
* 处理远程验厂申请
|
|
* @param {object} data
|
|
* @property {number} handleResult
|
|
* @property {number} id
|
|
*/
|
|
export function handleApplying(data = {}) {
|
|
return http.post({
|
|
url: `/base-paper-trading/handle/for-factory-inspection`,
|
|
data
|
|
})
|
|
}
|