|
|
|
@ -926,7 +926,8 @@ const asfGetPageData = (asfFormId: any, asfToSelectMastersKey: any) => { |
|
|
|
let asfToSelectIds = []; |
|
|
|
for (let i = 0; i < data.data.list.length; i++) { |
|
|
|
let asfMasterAndAsfId: any = {}; |
|
|
|
asfMasterAndAsfId.asfId = data.data.list[i][asfDetails[j].field]; |
|
|
|
//asfMasterAndAsfId.asfId = data.data.list[i][asfDetails[j].field]; |
|
|
|
asfMasterAndAsfId.asfId = data.data.list[i].id |
|
|
|
asfMasterAndAsfId.asfMasterId = data.data.list[i].id; |
|
|
|
|
|
|
|
asfToSelectIds.push(asfMasterAndAsfId); |
|
|
|
@ -974,11 +975,15 @@ const asfGetPageData = (asfFormId: any, asfToSelectMastersKey: any) => { |
|
|
|
}) |
|
|
|
.finally(() => { |
|
|
|
/* state.loading = false; */ |
|
|
|
|
|
|
|
//显示关联表单本条详情 |
|
|
|
tablePageClass.value = 4; |
|
|
|
drawerWith.value = container.value?.clientWidth; |
|
|
|
asflookPageInfoIsShow.value = true; |
|
|
|
setTimeout(()=>{ |
|
|
|
//nextTick(() => { |
|
|
|
//显示关联表单本条详情 |
|
|
|
tablePageClass.value = 4; |
|
|
|
drawerWith.value = container.value?.clientWidth; |
|
|
|
asflookPageInfoIsShow.value = true; |
|
|
|
//}); |
|
|
|
},500) |
|
|
|
|
|
|
|
}); |
|
|
|
}; |
|
|
|
|
|
|
|
@ -1959,7 +1964,7 @@ const diGuiJilian = (val: any, options: any[]) => { |
|
|
|
> |
|
|
|
<table> |
|
|
|
<tr> |
|
|
|
<th style="font-weight: bold; font-size:medium;" colspan="2">{{ tableData.groupName }}-{{ tablesData[tableKey].appName }}-{{ tablesData[tableKey].formName }}-{{ tableKey }}</th> |
|
|
|
<th style="font-weight: bold; font-size:medium;" colspan="2">{{ tablesData[tableKey].appName }}-{{ tablesData[tableKey].formName }}</th> |
|
|
|
<th rowspan="6"><img :src="tableData.bufferedImage" alt="二维码" width="auto" height="100%"></th> |
|
|
|
</tr> |
|
|
|
<tr v-for="(item, fIndex) in tableData.fieldsMap" :key="fIndex"> |
|
|
|
@ -1979,17 +1984,11 @@ const diGuiJilian = (val: any, options: any[]) => { |
|
|
|
> |
|
|
|
<table > |
|
|
|
<tr> |
|
|
|
<th style="font-weight: bold; font-size:medium;" colspan="1">{{ tableData.groupName }}-{{ tablesData[tableKey].appName }}-{{ tablesData[tableKey].formName }}-{{ tableKey }}</th> |
|
|
|
<!-- <th ><img :src="tableData.bufferedImage" alt="二维码" width="auto" height="100%"></th> --> |
|
|
|
<th style="font-weight: bold; font-size:medium;" colspan="1">{{ tablesData[tableKey].appName }}-{{ tablesData[tableKey].formName }}-{{ tablesData[tableKey].dataTitle }}</th> |
|
|
|
</tr> |
|
|
|
<tr> |
|
|
|
<!-- <th style="font-weight: bold; font-size:medium;" colspan="2">{{ tableData.groupName }}-{{ tablesData[tableKey].appName }}-{{ tablesData[tableKey].formName }}-{{ tableKey }}</th> --> |
|
|
|
<th ><img :src="tableData.bufferedImage" alt="二维码" width="auto" height="100%"></th> |
|
|
|
</tr> |
|
|
|
<!-- <tr v-for="(item, fIndex) in tableData.fieldsMap" :key="fIndex"> |
|
|
|
<th>{{ item.key }}</th> |
|
|
|
<td>{{ item.value }}</td> |
|
|
|
</tr> --> |
|
|
|
</table> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|