|
@@ -517,10 +517,9 @@
|
|
|
const downloadOption = ref<Object>({});
|
|
|
const canDownload = ref<boolean>(true);
|
|
|
function handleDownload(record: Recordable) {
|
|
|
- console.log('handleDownload', record, tableType.value);
|
|
|
let isObj = tableType.value == 5 || tableType.value == 7 ? 1 : 0;
|
|
|
let params = { num: record.num, isObj: 0 };
|
|
|
- if (tableType.value == 4 || tableType.value == 5) {
|
|
|
+ if (tableType.value == 4 || tableType.value == 5 || tableType.value == 7) {
|
|
|
params.isObj = isObj;
|
|
|
}
|
|
|
canDownload.value = true;
|