tangning 3 months ago
parent
commit
14ebb70616
2 changed files with 46 additions and 46 deletions
  1. 35 35
      src/views/case/addCaseModal.vue
  2. 11 11
      src/views/productOperation/cameraScene.vue

+ 35 - 35
src/views/case/addCaseModal.vue

@@ -139,40 +139,40 @@
               xxl: 7,
             },
           },
-          {
-            field: 'isObj',
-            label: '场景类型',
-            component: 'Select',
-            labelWidth: 80,
-            // labelWidth: 50,
-            defaultValue: '1',
-            componentProps: {
-              allowClear: false,
-              options: [
-                {
-                  label: '点云场景',
-                  value: '0',
-                  key: '0',
-                },
-                {
-                  label: 'Mesh 场景',
-                  value: '1',
-                  key: '1',
-                },
-              ],
-              onChange: (value) => {
-                reload({
-                  searchInfo: { isObj: value },
-                }).then(() => {
-                  setSelectedRowKeys(value == 0 ? fileFlow.dylist : fileFlow.mslist);
-                });
-              },
-            },
-            colProps: {
-              xl: 7,
-              xxl: 7,
-            },
-          },
+          // {
+          //   field: 'isObj',
+          //   label: '场景类型',
+          //   component: 'Select',
+          //   labelWidth: 80,
+          //   // labelWidth: 50,
+          //   defaultValue: '1',
+          //   componentProps: {
+          //     allowClear: false,
+          //     options: [
+          //       {
+          //         label: '点云场景',
+          //         value: '0',
+          //         key: '0',
+          //       },
+          //       {
+          //         label: 'Mesh 场景',
+          //         value: '1',
+          //         key: '1',
+          //       },
+          //     ],
+          //     onChange: (value) => {
+          //       reload({
+          //         searchInfo: { isObj: value },
+          //       }).then(() => {
+          //         setSelectedRowKeys(value == 0 ? fileFlow.dylist : fileFlow.mslist);
+          //       });
+          //     },
+          //   },
+          //   colProps: {
+          //     xl: 7,
+          //     xxl: 7,
+          //   },
+          // },
         ],
       };
       const { createMessage, createConfirm } = useMessage();
@@ -183,7 +183,7 @@
         rowSelection: { type: 'checkbox',getCheckboxProps: getRowSelection, onChange: onSelectChange },
         // titleHelpMessage: ['已启用expandRowByClick', '已启用stopButtonPropagation'],
         columns: columns,
-        // searchInfo: { type: tableType },
+        searchInfo: { isObj: '1' },
         useSearchForm: true,
         formConfig: searchForm,
         showIndexColumn: false,

+ 11 - 11
src/views/productOperation/cameraScene.vue

@@ -477,21 +477,21 @@
                   value: '1',
                   key: '1',
                 },
-                {
-                  label: '四维深时/点云',
-                  value: '2',
-                  key: '2',
-                },
+                // {
+                //   label: '四维深时/点云',
+                //   value: '2',
+                //   key: '2',
+                // },
                 {
                   label: '四维深时/Mesh',
                   value: '5',
                   key: '5',
                 },
-                {
-                  label: '四维深光/点云',
-                  value: '6',
-                  key: '6',
-                },
+                // {
+                //   label: '四维深光/点云',
+                //   value: '6',
+                //   key: '6',
+                // },
                 {
                   label: '四维深光/Mesh',
                   value: '7',
@@ -548,7 +548,7 @@
         title: `场景列表`,
         // titleHelpMessage: ['已启用expandRowByClick', '已启用stopButtonPropagation'],
         columns: columns,
-        searchInfo: { sceneType: tableType },
+        searchInfo: { sceneType: tableType, isObj: "1" },
         useSearchForm: true,
         formConfig: searchForm,
         showTableSetting: true,