Browse Source

旅客信息请求地址修改

zhongxiaoyu 2 years ago
parent
commit
c1d85ad4f7
3 changed files with 5 additions and 1 deletions
  1. 1 0
      public/staticConfig.js
  2. 1 1
      src/api/flight.js
  3. 3 0
      src/components/PassengerDialog/index.vue

+ 1 - 0
public/staticConfig.js

@@ -6,6 +6,7 @@ window.PLATFROM_CONFIG = {
   appId: "q7kdjmmaf0kerwpf", //appid
   baseURLCA: "http://10.211.67.163:16300", // 登录后的http请求地址-测试
   baggageMessageURL: "/openApi/query",
+  getBase64: 'http://10.211.67.163:8083/getBase64'
 };
 
 /* 轮询间隔 */

+ 1 - 1
src/api/flight.js

@@ -228,7 +228,7 @@ export function generalDataReception (params) {
 // 获取旅客信息
 export function GetPassengerInfo(params) {
   return request({
-    url: 'http://10.211.67.163:8083/getBase64',
+    url: PLATFROM_CONFIG.getBase64,
     method: 'post',
     data: params
   })

+ 3 - 0
src/components/PassengerDialog/index.vue

@@ -137,6 +137,9 @@ export default {
   },
   watch: {
     passengerDialogFlag(val) {
+      this.$nextTick(() => {
+        this.$refs['dialog']?.focus()
+      })
       this.passengerImg = noDataImage
       if (val) {
         if (this.userChecked) {