tangning 1 rok temu
rodzic
commit
e1060a0ecb
2 zmienionych plików z 5 dodań i 5 usunięć
  1. 1 1
      src/views/archive/list.vue
  2. 4 4
      src/views/scenes/list.vue

+ 1 - 1
src/views/archive/list.vue

@@ -222,7 +222,7 @@
         useSearchForm: true,
         formConfig: searchForm,
         showTableSetting: true,
-        searchInfo: { type: tableType },
+        searchInfo: { type: tableType, lang: isJA.value ? 'ja' : 'en' },
         tableSetting: { fullScreen: true },
         clickToRowSelect: false,
         showIndexColumn: true,

+ 4 - 4
src/views/scenes/list.vue

@@ -345,7 +345,7 @@
         useSearchForm: true,
         formConfig: searchForm,
         showTableSetting: true,
-        searchInfo: { type: tableType },
+        searchInfo: { type: tableType, lang: isJA.value ? 'ja' : 'en' },
         tableSetting: { fullScreen: true },
         clickToRowSelect: false,
         showIndexColumn: false,
@@ -456,10 +456,10 @@
       async function handleDownloadScene(record: Recordable) {
         let param: SceneDownloadParam = {
           num: record.num,
-          isObj: null,
+          isObj: 0,
         };
-        if (tableType.value == 4 || tableType.value == 2) {
-          param.isObj = tableType.value == 4 ? 1 : 0;
+        if (tableType.value == 4 || tableType.value == 6) {
+          param.isObj = 1;
         }
         await addDownloadNumApi(param);
         // SceneDownloadModel