| | |
| | | }, |
| | | |
| | | /** |
| | | * 根据巡查任务获取评分细则 |
| | | */ |
| | | |
| | | |
| | | /** |
| | | * 查询评估总规则 |
| | | * @param {Object} param |
| | | * @returns |
| | |
| | | return $fysp.post(`evaluation/auto`, param).then((res) => res.data); |
| | | }, |
| | | |
| | | downloadAutoEvaluation(param) { |
| | | /** |
| | | * 下载规范性评估与分析报告 |
| | | */ |
| | | downloadAutoEvaluation(param, forceUpdate) { |
| | | return $fysp |
| | | .post(`evaluation/auto/record/download`, param, { responseType: 'blob' }) |
| | | .post(`evaluation/auto/record/download?forceUpdate=${forceUpdate}`, param, { responseType: 'blob' }) |
| | | .then((res) => { |
| | | // 文档未生成,已启动文档生成后台任务 |
| | | if (res.data.type == 'application/json') { |