tangning 1 năm trước cách đây
mục cha
commit
f70bff8cb4

+ 2 - 2
src/views/productOperation/data.ts

@@ -408,7 +408,7 @@ export const getVrColumns = () => {
     },
     {
       title: '点位数量',
-      dataIndex: 'shootCount',
+      dataIndex: 'sceneSource',
       width: 80,
       // customRender: ({ record }) => {
       //   return ( tableType.value == 2 || tableType.value == 6 )||!record.shootCount ? '-' : record.shootCount
@@ -432,7 +432,7 @@ export const getVrColumns = () => {
     },
     {
       title: '浏览量',
-      dataIndex: 'viewCount',
+      dataIndex: 'visit',
       sorter: true,
       width: 80,
     },

+ 16 - 3
src/views/productOperation/viewKankan.vue

@@ -54,12 +54,12 @@
         </template>
         <template #href="{ record }">
           <a
-            v-if="record.sceneName && record.thumb"
+            v-if="record.name"
             target="_blank"
             :href="record.webSite || record.thumb"
-            >{{ record.sceneName }}</a
+            >{{ record.name }}</a
           >
-          <span v-else-if="record.sceneName">{{ record.sceneName }}</span>
+          <!-- <span v-else-if="record.name">{{ record.name }}</span> -->
           <span v-else>-</span>
         </template>
         <template #action="{ record }">
@@ -152,6 +152,18 @@
   import priorityMoadl from './modal/priorityMoadl.vue';
   import { usePermissionStore } from '/@/store/modules/permission';
   import { getSchemas, getVrColumns, getviewColumns, getviewSchemas } from './data';
+  import {
+    operateSceneList,
+    sceneMove,
+    sceneDelete,
+    sceneReset,
+    sceneRestStore,
+    sceneDownload,
+    checkDownLoad,
+    downloadProcess,
+    sceneCopy,
+    rebuildScene,
+  } from '/@/api/operate';
   export default defineComponent({
     components: {
       BasicTable,
@@ -317,6 +329,7 @@
       async function handleMove(record: Recordable) {
         openMoveModal(true, {
           ...record,
+          sceneName: record.name,
         });
       }
       let timer: null = ref(null);