dct 8 ヶ月 前
コミット
1c796d62f4
3 ファイル変更5 行追加5 行削除
  1. 1 1
      src/api/order.js
  2. 3 3
      src/globalData.vue
  3. 1 1
      src/pages/dashboard/index.vue

+ 1 - 1
src/api/order.js

@@ -152,7 +152,7 @@ export function getOrderGrandTotalStatistics (params) {
 
 // 获取销售渠道列表
 export function getSaleChannelList () {
-  return http.post('/order/getSaleChannelList')
+  return http.post('/admin/order/otaSourceNameList')
 }
 
 // 补打记录

+ 3 - 3
src/globalData.vue

@@ -14,8 +14,8 @@ export default {
   created () {
     getIp()
     // 获取打印模板
-    this.getReceiptPrintModel()
-    this.getTicketPrintModelList()
+    // this.getReceiptPrintModel()
+    // this.getTicketPrintModelList()
 
     this.$store.dispatch('setTravelAgencyType')
 
@@ -36,7 +36,7 @@ export default {
 
     this.$store.dispatch('getSystemConfigList')
     // 获取旅行社列表
-    this.$store.dispatch('getAgencyList')
+    // this.$store.dispatch('getAgencyList')
     // 获取景点列表
     this.$store.dispatch('getScenicList')
     // 获取账号信息

+ 1 - 1
src/pages/dashboard/index.vue

@@ -273,7 +273,7 @@ export default {
       // this.setWeather()
       checkPermission('querystats:sale_stats') && this.getRealtime()
       this.setWelcome()
-      this.getHandOverData()
+      // this.getHandOverData()
       this.getDataPermission()
     },
     getDataPermission () {