|
@@ -319,7 +319,6 @@ import HcTaskNotes from './task-notes.vue'
|
|
|
import HcRepealForm from './repeal-form.vue'
|
|
|
import { arrUnion, deepClone, getArrValue, getObjValue, getRandom, isNullES } from 'js-fast-way'
|
|
|
import mainApi from '~api/tasks/hc-data'
|
|
|
-import certificateApi from '~api/debit-pay/admin/certificate'
|
|
|
import dayjs from 'dayjs'
|
|
|
|
|
|
const props = defineProps({
|
|
@@ -624,10 +623,11 @@ const rowViewPdf = async () => {
|
|
|
return
|
|
|
}
|
|
|
rowViewLoading.value = true
|
|
|
- const { code, msg, data } = await certificateApi.recalculate({
|
|
|
+ const { code, msg, data } = await mainApi.taskMeterPdfInfo({
|
|
|
reportId: reportId,
|
|
|
type: type,
|
|
|
taskType: 10,
|
|
|
+ taskId: rowInfo.value.id,
|
|
|
})
|
|
|
rowViewLoading.value = false
|
|
|
if (code === 200 && !isNullES(data)) {
|