|
@@ -424,9 +424,12 @@ const linkSamplingChange = async ({ id, entrustId }, cancelRow) => {
|
|
if (!id) {
|
|
if (!id) {
|
|
cancelRowData.value = cancelRow
|
|
cancelRowData.value = cancelRow
|
|
await getCancelRow( cancelRow)
|
|
await getCancelRow( cancelRow)
|
|
|
|
+ await getDelegateDataInfo('', cancelRow.entrustId, null)
|
|
|
|
+ } else {
|
|
|
|
+ await getDelegateDataInfo(id, entrustId, delegateHtmlForm.value)
|
|
}
|
|
}
|
|
|
|
|
|
- await getDelegateDataInfo(id, entrustId, delegateHtmlForm.value)
|
|
|
|
|
|
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@@ -450,7 +453,7 @@ const getCancelRow = async (cancelRow) => {
|
|
const getDelegateDataInfo = async (id, entrustId, formData) => {
|
|
const getDelegateDataInfo = async (id, entrustId, formData) => {
|
|
const { primaryKeyId } = nodeDataInfo.value
|
|
const { primaryKeyId } = nodeDataInfo.value
|
|
const { error, code, msg, data } = await samplingApi.getBussDataInfoTrialEntrust({
|
|
const { error, code, msg, data } = await samplingApi.getBussDataInfoTrialEntrust({
|
|
- id: entrustId || cancelRowData.value.entrustId,
|
|
|
|
|
|
+ id: entrustId,
|
|
sampleId: id,
|
|
sampleId: id,
|
|
pkeyId: nodeErTreeId.value,
|
|
pkeyId: nodeErTreeId.value,
|
|
projectId: projectId.value,
|
|
projectId: projectId.value,
|