浏览代码

Merge branch 'dev/lfh'

李富豪 11 月之前
父节点
当前提交
0bfdb0464e

+ 2 - 2
Web/src/api/custom/index.ts

@@ -81,7 +81,7 @@ export type FetchChangeRecordListApiParams = Partial<{
 export type FetchMediaFileListApiParams = Partial<{
     begin_time: number,
     end_time: number,
-    template_type: number,
+    template_type: string,
     payload: string,
     search_info: string,
     page: number,
@@ -112,7 +112,7 @@ export type BatchDeletePictureApiParams = {
 export type FetchTrajectoryListApiParams = Partial<{
     begin_time: number,
     end_time: number,
-    template_type: number,
+    template_type: string,
     payload: number,
     search_info: string,
     page: number,

+ 4 - 4
Web/src/pages/page-web/projects/media/index/components/Search.vue

@@ -19,16 +19,16 @@
         </a-form-item>
         <a-form-item name="template_type">
           <a-select style="width: 200px;" placeholder="任务类型" v-model:value="formModel.template_type">
-            <a-select-option :value="0">
+            <a-select-option value="waypoint">
               航点航线
             </a-select-option>
-            <a-select-option :value="1">
+            <a-select-option value="mapping2d">
               二维正射
             </a-select-option>
-            <a-select-option :value="2">
+            <a-select-option value="mapping3d">
               倾斜摄影
             </a-select-option>
-            <a-select-option :value="3">
+            <a-select-option value="mappingStrip">
               带状航线
             </a-select-option>
           </a-select>

+ 4 - 4
Web/src/pages/page-web/projects/media/index/index.vue

@@ -202,16 +202,16 @@ const columns = [
     customRender: ({ text }: any) => {
       let content = '--';
       switch (text) {
-        case '0':
+        case 'waypoint':
           content = '航点航线';
           break;
-        case '1':
+        case 'mapping2d':
           content = '二维正射';
           break;
-        case '2':
+        case 'mapping3d':
           content = '倾斜摄影';
           break;
-        case '3':
+        case 'mappingStrip':
           content = '带状航线';
           break;
         default:

+ 4 - 4
Web/src/pages/page-web/projects/trajectory/components/Search.vue

@@ -7,16 +7,16 @@
         </a-form-item>
         <a-form-item name="template_type">
           <a-select style="width: 200px;" placeholder="任务类型" v-model:value="formModel.template_type">
-            <a-select-option :value="0">
+            <a-select-option value="waypoint">
               航点航线
             </a-select-option>
-            <a-select-option :value="1">
+            <a-select-option value="mapping2d">
               二维正射
             </a-select-option>
-            <a-select-option :value="2">
+            <a-select-option value="mapping3d">
               倾斜摄影
             </a-select-option>
-            <a-select-option :value="3">
+            <a-select-option value="mappingStrip">
               带状航线
             </a-select-option>
           </a-select>

+ 4 - 4
Web/src/pages/page-web/projects/trajectory/index.vue

@@ -101,16 +101,16 @@ const columns = [
     customRender: ({ text }: any) => {
       let content = '--';
       switch (text) {
-        case '0':
+        case 'waypoint':
           content = '航点航线';
           break;
-        case '1':
+        case 'mapping2d':
           content = '二维正射';
           break;
-        case '2':
+        case 'mapping3d':
           content = '倾斜摄影';
           break;
-        case '3':
+        case 'mappingStrip':
           content = '带状航线';
           break;
         default: