|
@@ -92,10 +92,10 @@
|
|
|
</template>
|
|
|
<HcTable ref="tableRef" :column="tableColumn" :datas="tableData" :loading="tableLoading" isCheck @selection-change="tableSelection">
|
|
|
<template #recordNo="{row}">
|
|
|
- <span class="text-link" @click="tableRowEdit(row)">{{row?.recordNo}}</span>
|
|
|
+ <span class="text-link" @click="tableRowEdit(row,'1')">{{row?.recordNo}}</span>
|
|
|
</template>
|
|
|
<template #reportNo="{row}">
|
|
|
- <span class="text-link" @click="tableRowEdit(row)">{{row?.reportNo}}</span>
|
|
|
+ <span class="text-link" @click="tableRowEdit(row,'2')">{{row?.reportNo}}</span>
|
|
|
</template>
|
|
|
<template #trialProjectName="{row}">
|
|
|
<span class="text-link font-bold" @click="tableRowPdf(row)">{{row?.trialProjectName}}</span>
|
|
@@ -368,7 +368,7 @@ const addFormModalClick = () => {
|
|
|
}
|
|
|
|
|
|
//编辑
|
|
|
-const tableRowEdit = (row) => {
|
|
|
+const tableRowEdit = (row,tabTypeKey) => {
|
|
|
setStoreData('test-form', row)
|
|
|
setStoreData('prenodeDataInfo', nodeDataInfo.value)
|
|
|
console.log(JSON.stringify(nodeDataInfo.value),'JSON.stringify(nodeDataInfo.value)');
|
|
@@ -378,6 +378,7 @@ const tableRowEdit = (row) => {
|
|
|
id: row.id,
|
|
|
nodeId: row.nodeId,
|
|
|
dataType: row.type,
|
|
|
+ tabTypeKey:tabTypeKey
|
|
|
// prenodeDataInfo:JSON.stringify(nodeDataInfo.value)
|
|
|
|
|
|
}
|