|
|
|
@ -626,7 +626,9 @@ const setUpClick = (val: string, id: string) => { |
|
|
|
|
|
|
|
}else if(props.formBasicConfig.qrCodePrintStyle&&props.formBasicConfig.qrCodePrintStyle=="1"){ |
|
|
|
//fieldsMap = null |
|
|
|
tablesData.value = getDetailQrCodesData |
|
|
|
qrCodesPrintDialogFlag.value = true |
|
|
|
loadingInstance1.close() |
|
|
|
} |
|
|
|
|
|
|
|
})/* .finally(()=>{ |
|
|
|
@ -1961,6 +1963,31 @@ const diGuiJilian = (val: any, options: any[]) => { |
|
|
|
</table> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div v-if="formBasicConfig.qrCodePrintStyle == '1'" style="display: flex; flex-direction: column; align-items: center; min-height: 50px; max-height: 750px; overflow-y: auto"> |
|
|
|
<div |
|
|
|
v-for="(tableData, tableKey) in tablesData" |
|
|
|
:id="tableKey" |
|
|
|
:key="tableKey" |
|
|
|
:ref="(el: any) => { if (el) tableRefs[tableKey] = el }" |
|
|
|
style="margin-bottom: 30px; width: 400px;" |
|
|
|
> |
|
|
|
<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> --> |
|
|
|
</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> |
|
|
|
|
|
|
|
<template #footer> |
|
|
|
<div class="dialog-footer"> |
|
|
|
<el-button :disabled="isButton1Disabled" type="primary" plain @click="downloadTables">下载</el-button> |
|
|
|
|