|
@@ -670,7 +670,7 @@ const changePositionInput = (infodata) => {
|
|
}
|
|
}
|
|
|
|
|
|
//获取已填写的数据
|
|
//获取已填写的数据
|
|
-const getBussDataInfo = async (item, index, loadDataId = null) => {
|
|
|
|
|
|
+const getBussDataInfo = async (item, index) => {
|
|
const pkeyIds = getValString(item.pKeyId)
|
|
const pkeyIds = getValString(item.pKeyId)
|
|
const { contractId } = baseData.value
|
|
const { contractId } = baseData.value
|
|
if (pkeyIds) {
|
|
if (pkeyIds) {
|
|
@@ -679,7 +679,6 @@ const getBussDataInfo = async (item, index, loadDataId = null) => {
|
|
id: id || nodeIdvaluedata.value || newaddId.value,
|
|
id: id || nodeIdvaluedata.value || newaddId.value,
|
|
pkeyId: pkeyIds,
|
|
pkeyId: pkeyIds,
|
|
contractId: contractId,
|
|
contractId: contractId,
|
|
- loadDataId: loadDataId,
|
|
|
|
}, false)
|
|
}, false)
|
|
emit('changesingSaveId', pkeyIds)
|
|
emit('changesingSaveId', pkeyIds)
|
|
if (item.oper) {
|
|
if (item.oper) {
|
|
@@ -687,7 +686,6 @@ const getBussDataInfo = async (item, index, loadDataId = null) => {
|
|
formData.value[index] = {
|
|
formData.value[index] = {
|
|
...item,
|
|
...item,
|
|
isCollapseLoad: true,
|
|
isCollapseLoad: true,
|
|
- loadDataId: loadDataId,
|
|
|
|
}
|
|
}
|
|
getsampleData()
|
|
getsampleData()
|
|
getPositionData()
|
|
getPositionData()
|
|
@@ -700,7 +698,6 @@ const getBussDataInfo = async (item, index, loadDataId = null) => {
|
|
formData.value[index] = {
|
|
formData.value[index] = {
|
|
...resData, ...InitObj,
|
|
...resData, ...InitObj,
|
|
isCollapseLoad: true,
|
|
isCollapseLoad: true,
|
|
- loadDataId: loadDataId,
|
|
|
|
}
|
|
}
|
|
getsampleData()
|
|
getsampleData()
|
|
getPositionData()
|
|
getPositionData()
|
|
@@ -708,7 +705,6 @@ const getBussDataInfo = async (item, index, loadDataId = null) => {
|
|
formData.value[index] = {
|
|
formData.value[index] = {
|
|
...getFormDataInit(item),
|
|
...getFormDataInit(item),
|
|
isCollapseLoad: true,
|
|
isCollapseLoad: true,
|
|
- loadDataId: loadDataId,
|
|
|
|
}
|
|
}
|
|
getsampleData()
|
|
getsampleData()
|
|
getPositionData()
|
|
getPositionData()
|
|
@@ -716,7 +712,6 @@ const getBussDataInfo = async (item, index, loadDataId = null) => {
|
|
})
|
|
})
|
|
}
|
|
}
|
|
chartKey.value = formData.value[index].formchartKeyShow
|
|
chartKey.value = formData.value[index].formchartKeyShow
|
|
- console.log(formData.value[index])
|
|
|
|
} else {
|
|
} else {
|
|
window?.$message?.warning('pkeyId为空')
|
|
window?.$message?.warning('pkeyId为空')
|
|
}
|
|
}
|
|
@@ -1732,9 +1727,9 @@ const linksAcquisitionClick = async () => {
|
|
const item = linkAcquisitionRow.value
|
|
const item = linkAcquisitionRow.value
|
|
const index = linkAcquisitionIndex.value
|
|
const index = linkAcquisitionIndex.value
|
|
const dataId = linkAcquisitionLoadDataId.value
|
|
const dataId = linkAcquisitionLoadDataId.value
|
|
- await getBussDataInfo(item, index, dataId)
|
|
|
|
- //listDatas.value[index].loadDataId = id
|
|
|
|
- //formData.value[index].loadDataId = id
|
|
|
|
|
|
+ listDatas.value[index].loadDataId = dataId
|
|
|
|
+ formData.value[index].loadDataId = dataId
|
|
|
|
+ await tableFormSaveClick(item, index)
|
|
linksAcquisitionClose()
|
|
linksAcquisitionClose()
|
|
}
|
|
}
|
|
|
|
|