|
@@ -835,11 +835,10 @@ const delegateContractChange = async () => {
|
|
|
|
|
|
//获取委托数据
|
|
|
const getDelegateDataInfo = async () => {
|
|
|
- const { erTreeId } = nodeDataInfo.value
|
|
|
const { error, code, msg, data } = await samplingApi.getBussDataInfoTrialEntrust({
|
|
|
id: entrustId.value,
|
|
|
sampleId: editHtmlId.value,
|
|
|
- pkeyId: erTreeId,
|
|
|
+ pkeyId: nodeErTreeId.value,
|
|
|
contractId: delegateContractId.value,
|
|
|
})
|
|
|
if (!error && code === 200) {
|
|
@@ -861,6 +860,7 @@ const getDelegateExcelHtml = async () => {
|
|
|
nodeErTreeId.value = msg
|
|
|
} else {
|
|
|
delegateHtml.value = ''
|
|
|
+ nodeErTreeId.value = ''
|
|
|
window.$message.error(msg || '获取委托信息失败')
|
|
|
}
|
|
|
}
|