chenrui  2 年之前
父節點
當前提交
e505647ad7
共有 3 個文件被更改,包括 59 次插入15676 次删除
  1. 1 15676
      package-lock.json
  2. 55 0
      src/api/statistics/statistics.js
  3. 3 0
      src/views/securityCheck/views/cargoTable.vue

File diff suppressed because it is too large
+ 1 - 15676
package-lock.json


+ 55 - 0
src/api/statistics/statistics.js

@@ -0,0 +1,55 @@
+import request from '@/utils/request'
+
+// 航线货物关联统计接口
+export function correlation(query) {
+  return request({
+    url: '/risk/report/securityCheck',
+    method: 'get',
+    params: query
+  })
+}
+
+// 获取航空货物综合统计接口1
+export function comprehensive(query) {
+  return request({
+    url: '/system/waybill/count',
+    method: 'get',
+    params: query
+  })
+}
+
+// 获取航空货物综合统计接口2
+export function comprehensiveTable(query) {
+  return request({
+    url: '/system/waybill/countinfo',
+    method: 'get',
+    params: query
+  })
+}
+
+// 获取货物运单列表接口
+export function waybill(query) {
+  return request({
+    url: '/system/waybill/page',
+    method: 'get',
+    params: query
+  })
+}
+
+// 获取代理人信息统计接口
+export function agent(query) {
+  return request({
+    url: '/risk/report/airlineCargo',
+    method: 'get',
+    params: query
+  })
+}
+
+// 安检通道综合效率统计接口
+export function emergency(query) {
+  return request({
+    url: '/risk/report/agentCredit',
+    method: 'get',
+    params: query
+  })
+}

+ 3 - 0
src/views/securityCheck/views/cargoTable.vue

@@ -22,6 +22,7 @@
 <script>
 import SecurityCheckHeader from "../components/securityCheckHeader.vue";
 import SecurityCheckTable from "../components/securityCheckTable.vue";
+// import { correlation } from "@/api/statistics/statistics.js";
 export default {
   components: { SecurityCheckHeader, SecurityCheckTable },
   data() {
@@ -153,6 +154,8 @@ export default {
     window.removeEventListener("resize", this.setTableHeight);
   },
   methods: {
+    //接口数据
+
     changeHandler() {
       this.$router.push({
         path: "./cargoStatistics",

Some files were not shown because too many files changed in this diff