|
@@ -294,16 +294,16 @@ const sampleRemoveApi = async (ids) => {
|
|
}
|
|
}
|
|
|
|
|
|
//填写报告
|
|
//填写报告
|
|
-const fillReportClick = ({ testId }) => {
|
|
|
|
|
|
+const fillReportClick = ({ id, testId }) => {
|
|
const { contractType } = contractInfo.value
|
|
const { contractType } = contractInfo.value
|
|
const { primaryKeyId } = treeInfo.value
|
|
const { primaryKeyId } = treeInfo.value
|
|
router.push({
|
|
router.push({
|
|
path: '/tentative/detect/test-form',
|
|
path: '/tentative/detect/test-form',
|
|
query: {
|
|
query: {
|
|
|
|
+ id: testId,
|
|
nodeId: primaryKeyId || '',
|
|
nodeId: primaryKeyId || '',
|
|
dataType: contractType > 0 ? contractType + '' : '1',
|
|
dataType: contractType > 0 ? contractType + '' : '1',
|
|
- commissionId: testId,
|
|
|
|
- isaddType: true,
|
|
|
|
|
|
+ commissionId: id,
|
|
},
|
|
},
|
|
})
|
|
})
|
|
}
|
|
}
|