{"remainingRequest":"D:\\jenkins\\workspace\\sfz-lh-fvue\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\jenkins\\workspace\\sfz-lh-fvue\\src\\views\\BigScreen\\trafficReportAI.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\sfz-lh-fvue\\src\\views\\BigScreen\\trafficReportAI.vue","mtime":1712171298752},{"path":"D:\\jenkins\\workspace\\sfz-lh-fvue\\node_modules\\babel-loader\\lib\\index.js","mtime":315532800000},{"path":"D:\\jenkins\\workspace\\sfz-lh-fvue\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\sfz-lh-fvue\\node_modules\\vue-loader\\lib\\index.js","mtime":499162500000}],"contextDependencies":[],"result":["//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\r\nimport headline from './headlineAI.vue'\r\nimport report from '@/api/DataReport/Report.js'\r\nimport moment from 'moment'\r\nexport default {\r\n components: {headline},\r\n name: 'trafficReportAI',\r\n data() {\r\n return {\r\n tableLoading: false,\r\n tableData: [],\r\n column: [\r\n {\r\n name: '日期',\r\n key: 'transDate',\r\n },\r\n {\r\n name: '出口(辆)',\r\n key: 'exitusTrafficVolume',\r\n },\r\n // {\r\n // name: '出口日均',\r\n // key: 'augExitusTrafficVolume',\r\n // },\r\n {\r\n name: '出口同比',\r\n key: 'exitusYOY',\r\n },\r\n {\r\n name: '出口环比',\r\n key: 'exitusQOQ',\r\n },\r\n {\r\n name: '入口(辆)',\r\n key: 'inletTrafficVolume',\r\n },\r\n // {\r\n // name: '入口日均',\r\n // key: 'augInletTrafficVolume',\r\n // },\r\n {\r\n name: '入口同比',\r\n key: 'inletYOY',\r\n },\r\n {\r\n name: '入口比',\r\n key: 'inletQOQ',\r\n },\r\n {\r\n name: '出入口(辆)',\r\n key: 'allTrafficVolume',\r\n },\r\n // {\r\n // name: '出入口日均',\r\n // key: 'augAllTrafficVolume',\r\n // },\r\n {\r\n name: '出入口同比',\r\n key: 'allYOY',\r\n },\r\n {\r\n name: '出入口环比',\r\n key: 'allQOQ',\r\n },\r\n ],\r\n }\r\n },\r\n mounted() {},\r\n activated() {\r\n // this.getData()\r\n },\r\n methods: {\r\n getData() {\r\n this.tableLoading = true\r\n let startDate = moment()\r\n .startOf('month')\r\n .format('YYYY-MM-DD HH:mm:ss')\r\n let endDate = moment()\r\n .startOf('month')\r\n .subtract('month', -1)\r\n .format('YYYY-MM-DD HH:mm:ss')\r\n\r\n this.tollStationId = sessionStorage.getItem('tollStationId')\r\n this.params = {\r\n pageBean: {\r\n page: 1,\r\n pageSize: -1,\r\n total: 0,\r\n },\r\n querys: [\r\n {\r\n group: 'main',\r\n operation: 'LIKE',\r\n parentGroup: '',\r\n property: 'toll_station_id_',\r\n relation: 'AND',\r\n value: this.tollStationId,\r\n },\r\n {\r\n group: 'main',\r\n operation: 'BETWEEN',\r\n parentGroup: '',\r\n property: 'transDate',\r\n relation: 'AND',\r\n value: [startDate, endDate],\r\n },\r\n ],\r\n }\r\n\r\n report\r\n .querytrafficVolume(this.params)\r\n .then((res) => {\r\n this.tableData = res.value || []\r\n })\r\n .finally(() => {\r\n this.tableLoading = false\r\n })\r\n },\r\n },\r\n}\r\n",null]}