|
@@ -90,12 +90,15 @@ const tableData = ref([])
|
|
|
const getTableData = async () => {
|
|
|
tableData.value = []
|
|
|
tableLoading.value = true
|
|
|
- const {ids, treeId} = taskInfo.value
|
|
|
+ const {ids, treeId, taskId, dataId, primaryKeyIdMeter} = taskInfo.value
|
|
|
const { data } = await orderApi.addForm({
|
|
|
...searchForm.value,
|
|
|
+ primaryKeyIdMeter: primaryKeyIdMeter ?? '',
|
|
|
projectId: projectId.value,
|
|
|
contractId: contractId.value,
|
|
|
+ taskId: taskId ?? '',
|
|
|
nodeId: treeId ?? '',
|
|
|
+ dataId: dataId ?? '',
|
|
|
ids: ids ?? '',
|
|
|
})
|
|
|
tableData.value = getArrValue(data)
|