tangning пре 4 месеци
родитељ
комит
0c6756c7e9
1 измењених фајлова са 10 додато и 8 уклоњено
  1. 10 8
      src/views/customer/scene.vue

+ 10 - 8
src/views/customer/scene.vue

@@ -2,13 +2,14 @@
   <PageWrapper contentBackground>
     <template #footer>
       <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="5" tab="深时Mesh场景" :disabled="loading"/>
-        <a-tab-pane :key="6" tab="深光点云场景" :disabled="loading"/>
-        <a-tab-pane :key="7" tab="深光Mesh场景" :disabled="loading"/>
-        <a-tab-pane :key="3" tab="四维双目Lite" :disabled="loading"/> 
+        <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="5" tab="深时Mesh场景" :disabled="loading" />
+        <a-tab-pane :key="6" tab="深光点云场景" :disabled="loading" />
+        <a-tab-pane :key="7" tab="深光Mesh场景" :disabled="loading" />
+        <a-tab-pane :key="8" tab="深巡点云场景" :disabled="loading" />
+        <a-tab-pane :key="3" tab="四维双目Lite" :disabled="loading" />
       </a-tabs>
     </template>
     <div class="desc-wrap-BasicTable">
@@ -233,7 +234,7 @@
       const [registerPriority, { openModal: openPriorityModal }] = useModal();
       const [registerDownModal, { openModal: openDownModal, closeModal }] = useModal();
       const [registerMoveModal, { openModal: openMoveModal }] = useModal();
-      const [registerTable, { reload, clearSelectedRowKeys, getSelectRowKeys }] = useTable({
+      const [registerTable, { reload, setColumns, clearSelectedRowKeys, getSelectRowKeys }] = useTable({
         api: operateSceneList,
         // title: `场景列表`,
         // titleHelpMessage: ['已启用expandRowByClick', '已启用stopButtonPropagation'],
@@ -261,6 +262,7 @@
       });
       function changeTable(val: string) {
         tableType.value = val;
+        setColumns(getColumns(val));
         clearSelectedRowKeys()
         reload();
       }