|
@@ -318,10 +318,12 @@ const delegateContractChange = async () => {
|
|
|
|
|
|
//获取委托html
|
|
|
const getDelegateExcelHtml = async () => {
|
|
|
+ const { primaryKeyId } = nodeDataInfo.value
|
|
|
const { error, code, msg, data } = await samplingApi.getExcelHtml({
|
|
|
primaryKeyId: nodeErTreeId.value,
|
|
|
projectId: projectId.value,
|
|
|
contractId: delegateContractId.value,
|
|
|
+ nodeId: primaryKeyId,
|
|
|
})
|
|
|
if (!error && code === 200) {
|
|
|
delegateHtml.value = isString(data) ? data : ''
|
|
@@ -333,15 +335,15 @@ const getDelegateExcelHtml = async () => {
|
|
|
|
|
|
//获取委托数据
|
|
|
const getDelegateDataInfo = async (editId) => {
|
|
|
+ const { primaryKeyId } = nodeDataInfo.value
|
|
|
const { error, code, msg, data } = await samplingApi.getBussDataInfoTrialEntrust({
|
|
|
id: editId,
|
|
|
pkeyId: nodeErTreeId.value,
|
|
|
projectId: projectId.value,
|
|
|
contractId: delegateContractId.value,
|
|
|
+ nodeId: primaryKeyId,
|
|
|
})
|
|
|
-
|
|
|
if (!error && code === 200) {
|
|
|
- console.log('--------', data)
|
|
|
delegateHtmlForm.value = getObjValue(data[0])
|
|
|
} else {
|
|
|
delegateHtmlForm.value = {}
|