chenrui  2 жил өмнө
parent
commit
b4e11a519e

BIN
dist.rar


+ 15 - 5
src/views/baggageManagement/components/transferArrival/index.vue

@@ -127,13 +127,18 @@
               >搜索</el-button
             >
           </el-form-item>
-          <el-form-item>
+          <el-form-item v-is="['ti_showTransit']">
+            <el-button size="small" type="primary" @click="changeView"
+              >切换视角</el-button
+            >
+          </el-form-item>
+          <!-- <el-form-item>
             <el-switch
               v-model="formData.switch"
               style="margin-left: 40px"
               active-text="显示中转"
             />
-          </el-form-item>
+          </el-form-item> -->
           <el-form-item v-is="['i_timeIcon']">
             <el-dropdown>
               <img
@@ -154,7 +159,7 @@
               @click="show"
             />
           </el-form-item>
-          <el-form-item>
+          <!-- <el-form-item>
             <el-button
               class="btn-square setBtn"
               type="primary"
@@ -162,7 +167,7 @@
               size="mini"
               @click="show"
             />
-          </el-form-item>
+          </el-form-item> -->
         </div>
       </el-form>
     </div>
@@ -393,6 +398,11 @@ export default {
   //   },
   // },
   methods: {
+    changeView() {
+      this.$router.replace({
+        path: "/transfer/departure",
+      });
+    },
     airPortChange() {
       this.getAviationData();
       this.upAviationData();
@@ -504,7 +514,7 @@ export default {
       ];
       try {
         const res = await getQuery({
-          id: 68,
+          id: 69,
           dataContent: [...arr],
         });
         if (res.code == 0) {

+ 68 - 58
src/views/baggageManagement/components/transferDeparture/index.vue

@@ -127,25 +127,30 @@
               >搜索</el-button
             >
           </el-form-item>
-          <el-form-item>
+          <!-- <el-form-item>
             <el-switch
               v-model="formData.switch"
               style="margin-left: 40px"
               active-text="显示中转"
             />
-          </el-form-item>
-          <el-form-item v-is="['i_timeIcon']">
+          </el-form-item> -->
+          <!-- <el-form-item v-is="['i_timeIcon']">
             <el-dropdown>
               <img
                 class="checkTime msgImg"
                 src="../../../../assets/departure/ic_time.png"
-              />
+              />切换视角
               <el-dropdown-menu slot="dropdown" class="time-zone">
                 <el-dropdown-item>国内Local/国际UTC</el-dropdown-item>
                 <el-dropdown-item>Local</el-dropdown-item>
                 <el-dropdown-item>UTC</el-dropdown-item>
               </el-dropdown-menu>
             </el-dropdown>
+          </el-form-item> -->
+          <el-form-item v-is="['ti_showTransit']">
+            <el-button size="small" type="primary" @click="changeView"
+              >切换视角</el-button
+            >
           </el-form-item>
           <el-form-item>
             <img
@@ -154,7 +159,7 @@
               @click="show"
             />
           </el-form-item>
-          <el-form-item>
+          <!-- <el-form-item>
             <el-button
               class="btn-square setBtn"
               type="primary"
@@ -162,7 +167,7 @@
               size="mini"
               @click="show"
             />
-          </el-form-item>
+          </el-form-item> -->
         </div>
       </el-form>
     </div>
@@ -255,57 +260,6 @@ export default {
       orderNum: ["0", "0", "0", "0"], // 默认总数
       // 初始表头
       tableCols: [
-        {
-          statCode: "arrivalInfo",
-          statName: "进港航班",
-          children: [
-            {
-              statCode: "PreFlightNO",
-              statName: "航班号",
-              width: 122,
-            },
-            {
-              statCode: "PreFlightDate",
-              statName: "航班日期",
-              width: 83,
-            },
-            {
-              statCode: "PreAirport",
-              statName: "起飞机场",
-              width: 79,
-            },
-            {
-              statCode: "ActualLandingTime",
-              statName: "降落时间",
-              width: 79,
-            },
-            {
-              statCode: "LandingBuild",
-              statName: "降落航站楼",
-              width: 79,
-            },
-            {
-              statCode: "Carousel",
-              statName: "行李转盘",
-              width: 79,
-            },
-            {
-              statCode: "StandForLanding",
-              statName: "降落停机位",
-              width: 79,
-            },
-            {
-              statCode: "inTransferBaggageCount",
-              statName: "中转行李数",
-              width: 58,
-            },
-            {
-              statCode: "inTransferredBaggageCount",
-              statName: "已中转行李数",
-              width: 63,
-            },
-          ],
-        },
         {
           statCode: "departureInfo",
           statName: "离港航班",
@@ -362,6 +316,57 @@ export default {
             },
           ],
         },
+        {
+          statCode: "arrivalInfo",
+          statName: "进港航班",
+          children: [
+            {
+              statCode: "PreFlightNO",
+              statName: "航班号",
+              width: 122,
+            },
+            {
+              statCode: "PreFlightDate",
+              statName: "航班日期",
+              width: 83,
+            },
+            {
+              statCode: "PreAirport",
+              statName: "起飞机场",
+              width: 79,
+            },
+            {
+              statCode: "ActualLandingTime",
+              statName: "降落时间",
+              width: 79,
+            },
+            {
+              statCode: "LandingBuild",
+              statName: "降落航站楼",
+              width: 79,
+            },
+            {
+              statCode: "Carousel",
+              statName: "行李转盘",
+              width: 79,
+            },
+            {
+              statCode: "StandForLanding",
+              statName: "降落停机位",
+              width: 79,
+            },
+            {
+              statCode: "inTransferBaggageCount",
+              statName: "中转行李数",
+              width: 58,
+            },
+            {
+              statCode: "inTransferredBaggageCount",
+              statName: "已中转行李数",
+              width: 63,
+            },
+          ],
+        },
       ],
       AirportList: [],
       carrierProps: [],
@@ -384,6 +389,11 @@ export default {
     this.getAirPortData();
   },
   methods: {
+    changeView() {
+      this.$router.replace({
+        path: "/transfer/arrival",
+      });
+    },
     airPortChange() {
       this.getAviationData();
       this.upAviationData();
@@ -504,7 +514,7 @@ export default {
       ];
       try {
         const res = await getQuery({
-          id: 69,
+          id: 68,
           dataContent: [...arr, ...arr, ...arr],
         });
         if (res.code == 0) {