|
@@ -1,5 +1,5 @@
|
|
|
<template>
|
|
|
- <PageWrapper contentBackground>
|
|
|
+ <PageWrapper contentBackground>{{ isDev }}
|
|
|
<template #footer >
|
|
|
<a-tabs v-model:activeKey="tableType" @change="changeTable">
|
|
|
<a-tab-pane :key="0" tab="四维看看" :disabled="loading"/>
|
|
@@ -12,9 +12,10 @@
|
|
|
<template #toolbar>
|
|
|
<!-- <a-button type="primary" @click="exportExcel"> 导出1</a-button> -->
|
|
|
</template>
|
|
|
-
|
|
|
+
|
|
|
<template #href="{ record }">
|
|
|
- <a v-if="record.sceneName" target="_blank" :href="record.thumb">{{record.sceneName}}</a>
|
|
|
+ <a v-if="record.sceneName && isDev" target="_blank" :href="`/livestream/?m=${record.sceneNumList && record.sceneNumList[0]}lang=zh&isTour=1`">{{record.sceneName}}</a>
|
|
|
+ <span v-else-if="record.sceneName">{{record.sceneName}}</span>
|
|
|
<span v-else>-</span>
|
|
|
</template>
|
|
|
<template #action="{ record }">
|
|
@@ -131,6 +132,8 @@
|
|
|
const permissionStore = usePermissionStore();
|
|
|
const { getCheckPerm } = permissionStore;
|
|
|
const loading = ref(false);
|
|
|
+ const isDev = window.location.hostname.includes('eur')
|
|
|
+ console.log('isDev',isDev)
|
|
|
const tableType = ref<Recordable>(0); //0看看 、1看见、2深时
|
|
|
const columns: BasicColumn[] = [
|
|
|
{
|
|
@@ -338,12 +341,25 @@
|
|
|
xl: 7,
|
|
|
xxl: 7,
|
|
|
},
|
|
|
+ },
|
|
|
+ {
|
|
|
+ field: 'userName',
|
|
|
+ label: '绑定账号',
|
|
|
+ component: 'Input',
|
|
|
+ componentProps: {
|
|
|
+ maxLength: 100,
|
|
|
+ },
|
|
|
+ colProps: {
|
|
|
+ xl: 7,
|
|
|
+ xxl: 7,
|
|
|
+ },
|
|
|
},{
|
|
|
field: 'timeList',
|
|
|
label: '拍摄时间段',
|
|
|
component: 'RangePicker',
|
|
|
componentProps: {
|
|
|
maxLength: 100,
|
|
|
+ width:'385px',
|
|
|
format: 'YYYY-MM-DD',
|
|
|
valueFormat: 'YYYY-MM-DD',
|
|
|
showTime: true,
|
|
@@ -353,18 +369,6 @@
|
|
|
xxl: 8,
|
|
|
},
|
|
|
},
|
|
|
- {
|
|
|
- field: 'userName',
|
|
|
- label: '绑定账号',
|
|
|
- component: 'Input',
|
|
|
- componentProps: {
|
|
|
- maxLength: 100,
|
|
|
- },
|
|
|
- colProps: {
|
|
|
- xl: 7,
|
|
|
- xxl: 7,
|
|
|
- },
|
|
|
- },
|
|
|
],
|
|
|
};
|
|
|
function cancelDownload() {
|
|
@@ -530,6 +534,7 @@
|
|
|
downloadOption,
|
|
|
cancelDownload,
|
|
|
getTypeCheckPerm,
|
|
|
+ isDev,
|
|
|
};
|
|
|
},
|
|
|
});
|