|
@@ -20,9 +20,17 @@ export default {
|
|
//详情
|
|
//详情
|
|
async detail(id, msg = true) {
|
|
async detail(id, msg = true) {
|
|
return HcApi({
|
|
return HcApi({
|
|
- url: '/api/blade-business/entrustinfo/detail',
|
|
|
|
- method: 'get',
|
|
|
|
|
|
+ url: '/api/blade-business/entrustinfo/get-report-detail',
|
|
|
|
+ method: 'post',
|
|
params: { id },
|
|
params: { id },
|
|
}, msg)
|
|
}, msg)
|
|
},
|
|
},
|
|
|
|
+ //创建报告
|
|
|
|
+ async update(form, msg = true) {
|
|
|
|
+ return HcApi({
|
|
|
|
+ url: '/api/blade-business/entrustinfo/update',
|
|
|
|
+ method: 'post',
|
|
|
|
+ data: form,
|
|
|
|
+ }, msg)
|
|
|
|
+ },
|
|
}
|
|
}
|