|
@@ -18,7 +18,8 @@
|
|
<span v-if="record.status != '-1'">{{record.statusString}}</span>
|
|
<span v-if="record.status != '-1'">{{record.statusString}}</span>
|
|
<Tooltip v-else placement="right">
|
|
<Tooltip v-else placement="right">
|
|
<template #title>
|
|
<template #title>
|
|
- <span>{{record.buildErrorReason}}</span>
|
|
|
|
|
|
+ <span>失败原因:{{record.buildErrorReason}}</span>
|
|
|
|
+ <p>server-path:{{record.dataSource}}</p>
|
|
</template>
|
|
</template>
|
|
<span>{{record.statusString}}
|
|
<span>{{record.statusString}}
|
|
<Icon icon="mdi:warning-octagon-outline" />
|
|
<Icon icon="mdi:warning-octagon-outline" />
|
|
@@ -480,15 +481,14 @@
|
|
const downloadOption = ref<Object>({});
|
|
const downloadOption = ref<Object>({});
|
|
const canDownload = ref<boolean>(true);
|
|
const canDownload = ref<boolean>(true);
|
|
function handleDownload(record: Recordable) {
|
|
function handleDownload(record: Recordable) {
|
|
- console.log('handleDownload', record,canDownload.value);
|
|
|
|
- let isObj = tableType.value == 4?1:0
|
|
|
|
- let params = {num: record.num}
|
|
|
|
- if(tableType.value == 4 || tableType.value == 2){
|
|
|
|
|
|
+ console.log('handleDownload', record,tableType.value);
|
|
|
|
+ let isObj = tableType.value == 5?1:0
|
|
|
|
+ let params = {num: record.num,isObj:0,}
|
|
|
|
+ if(tableType.value == 4 || tableType.value == 5){
|
|
params.isObj = isObj
|
|
params.isObj = isObj
|
|
}
|
|
}
|
|
canDownload.value = true;
|
|
canDownload.value = true;
|
|
checkDownLoad(params).then((res) => {
|
|
checkDownLoad(params).then((res) => {
|
|
- console.log(res);
|
|
|
|
if (res.downloadStatus != 3) {
|
|
if (res.downloadStatus != 3) {
|
|
// 未下载过,需要打包
|
|
// 未下载过,需要打包
|
|
sceneDownload(params).then((res) => {
|
|
sceneDownload(params).then((res) => {
|