/*
|
* @Author: lixiong
|
* @Date: 2019-08-21 14:35:07
|
* @Last Modified by: lixiong
|
* @Last Modified time: 2019-10-16 11:16:45
|
*/
|
|
/**
|
* 提前结清申请信息详情
|
*/
|
|
import ApiModel from '@/utils/core/apiModel'
|
export default options => {
|
// 接口地址,required
|
const api = 'server/queryPrePaymentApplyInfo'
|
return new ApiModel({
|
api,
|
request(params) {
|
return this.post(params)
|
},
|
computedResponse:item => {
|
// 对返回的数组数据转换成字符串展示
|
let { finishTypeArrayDesc,reductionTypeArrayDesc,sourcesTypeArrayDesc } = item
|
item.finishTypeArray = finishTypeArrayDesc.join()
|
item.reductionTypeArray = reductionTypeArrayDesc.join()
|
item.sourcesTypeArray = sourcesTypeArrayDesc.join()
|
return {...item }
|
}
|
})
|
}
|