|
@@ -4,7 +4,8 @@
|
|
|
<a-tabs v-model:activeKey="tableType" @change="changeTable">
|
|
|
<a-tab-pane :key="0" tab="四维看看" :disabled="loading"/>
|
|
|
<a-tab-pane :key="1" tab="四维看见" :disabled="loading"/>
|
|
|
- <a-tab-pane :key="2" tab="四维深时" :disabled="loading"/>
|
|
|
+ <a-tab-pane :key="2" tab="四维深时点云" :disabled="loading"/>
|
|
|
+ <a-tab-pane :key="5" tab="四维深时Obj" :disabled="loading"/>
|
|
|
<a-tab-pane :key="3" tab="四维双目Lite" :disabled="loading"/> </a-tabs
|
|
|
></template>
|
|
|
<div class="desc-wrap-BasicTable">
|
|
@@ -387,13 +388,16 @@
|
|
|
const downloadOption = ref<Object>({});
|
|
|
const canDownload = ref<boolean>(true);
|
|
|
function handleDownload(record: Recordable) {
|
|
|
- console.log('handleDownload', record);
|
|
|
-
|
|
|
- checkDownLoad({ num: record.num }).then((res) => {
|
|
|
+ let isObj = tableType.value == 4?1:0
|
|
|
+ let params = {num: record.num}
|
|
|
+ if(tableType.value == 4 || tableType.value == 2){
|
|
|
+ params.isObj = isObj
|
|
|
+ }
|
|
|
+ checkDownLoad(params).then((res) => {
|
|
|
console.log(res);
|
|
|
if (res.downloadStatus != 3) {
|
|
|
// 未下载过,需要打包
|
|
|
- sceneDownload({ num: record.num }).then((res) => {
|
|
|
+ sceneDownload(params).then((res) => {
|
|
|
console.log(res);
|
|
|
openDownModal(true, {
|
|
|
...record,
|
|
@@ -403,7 +407,7 @@
|
|
|
afterClose();
|
|
|
}
|
|
|
timer.value = setInterval(() => {
|
|
|
- downloadProcess({ num: record.num }).then((res) => {
|
|
|
+ downloadProcess(params).then((res) => {
|
|
|
if(res.status == '1003'){
|
|
|
createMessage.error('下载失败');
|
|
|
afterClose();
|