|
|
@@ -928,8 +928,12 @@ const canSubmitMainReportType = ()=>{
|
|
|
// 重大线索告知 && 检验意见通知书的流转记录
|
|
|
const fetchOtherRecordList = async () => {
|
|
|
try {
|
|
|
- console.log(props)
|
|
|
- const response = await props.recordFn({id: props.id, reportType: props.reportType})
|
|
|
+ // console.log(props)
|
|
|
+ let apiParamsId = props.id;
|
|
|
+ if ([PressureReportType.SUGGUESTION].includes(props.reportType)){
|
|
|
+ apiParamsId = props.apiParams.reportId ? props.apiParams.reportId : props.apiParams.reportIds[0];
|
|
|
+ }
|
|
|
+ const response = await props.recordFn({id: apiParamsId, reportType: props.reportType})
|
|
|
recordList.value = response
|
|
|
total.value = 0
|
|
|
} catch (error: any) {
|