|
@@ -1,12 +1,14 @@
|
|
<template>
|
|
<template>
|
|
- <PageWrapper contentBackground>{{ isDev }}
|
|
|
|
|
|
+ <PageWrapper contentBackground>
|
|
<template #footer >
|
|
<template #footer >
|
|
<a-tabs v-model:activeKey="tableType" @change="changeTable">
|
|
<a-tabs v-model:activeKey="tableType" @change="changeTable">
|
|
<a-tab-pane :key="0" tab="四维看看" :disabled="loading"/>
|
|
<a-tab-pane :key="0" tab="四维看看" :disabled="loading"/>
|
|
<a-tab-pane :key="1" tab="四维看见" :disabled="loading"/>
|
|
<a-tab-pane :key="1" tab="四维看见" :disabled="loading"/>
|
|
- <a-tab-pane :key="2" tab="四维深时" :disabled="loading"/>
|
|
|
|
- <a-tab-pane :key="3" tab="四维双目Lite" :disabled="loading"/> </a-tabs
|
|
|
|
- ></template>
|
|
|
|
|
|
+ <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">
|
|
<div class="desc-wrap-BasicTable">
|
|
<BasicTable @register="registerTable">
|
|
<BasicTable @register="registerTable">
|
|
<template #toolbar>
|
|
<template #toolbar>
|
|
@@ -134,7 +136,7 @@
|
|
const loading = ref(false);
|
|
const loading = ref(false);
|
|
const isDev = window.location.hostname.includes('eur')
|
|
const isDev = window.location.hostname.includes('eur')
|
|
console.log('isDev',isDev)
|
|
console.log('isDev',isDev)
|
|
- const tableType = ref<Recordable>(0); //0看看 、1看见、2深时
|
|
|
|
|
|
+ const tableType = ref<Number>(0); //0看看 、1看见、2深时
|
|
const columns: BasicColumn[] = [
|
|
const columns: BasicColumn[] = [
|
|
{
|
|
{
|
|
title: '场景标题',
|
|
title: '场景标题',
|
|
@@ -458,12 +460,17 @@
|
|
const canDownload = ref<boolean>(true);
|
|
const canDownload = ref<boolean>(true);
|
|
function handleDownload(record: Recordable) {
|
|
function handleDownload(record: Recordable) {
|
|
console.log('handleDownload', record,canDownload.value);
|
|
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){
|
|
|
|
+ params.isObj = isObj
|
|
|
|
+ }
|
|
canDownload.value = true;
|
|
canDownload.value = true;
|
|
- checkDownLoad({ num: record.num }).then((res) => {
|
|
|
|
|
|
+ checkDownLoad(params).then((res) => {
|
|
console.log(res);
|
|
console.log(res);
|
|
if (res.downloadStatus != 3) {
|
|
if (res.downloadStatus != 3) {
|
|
// 未下载过,需要打包
|
|
// 未下载过,需要打包
|
|
- sceneDownload({ num: record.num }).then((res) => {
|
|
|
|
|
|
+ sceneDownload(params).then((res) => {
|
|
console.log(res);
|
|
console.log(res);
|
|
openDownModal(true, {
|
|
openDownModal(true, {
|
|
...record,
|
|
...record,
|
|
@@ -473,7 +480,7 @@
|
|
afterClose();
|
|
afterClose();
|
|
}
|
|
}
|
|
timer.value = setInterval(() => {
|
|
timer.value = setInterval(() => {
|
|
- downloadProcess({ num: record.num }).then((res) => {
|
|
|
|
|
|
+ downloadProcess(params).then((res) => {
|
|
if(res.status == '1003'){
|
|
if(res.status == '1003'){
|
|
createMessage.error('下载失败');
|
|
createMessage.error('下载失败');
|
|
afterClose();
|
|
afterClose();
|