{"remainingRequest":"D:\\jenkins\\workspace\\bzzgj-fvue\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\jenkins\\workspace\\bzzgj-fvue\\src\\views\\Manage\\duty\\CmgtDutyVehicleGpsinfoManage.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\bzzgj-fvue\\src\\views\\Manage\\duty\\CmgtDutyVehicleGpsinfoManage.vue","mtime":1688615807641},{"path":"D:\\jenkins\\workspace\\bzzgj-fvue\\node_modules\\babel-loader\\lib\\index.js","mtime":315532800000},{"path":"D:\\jenkins\\workspace\\bzzgj-fvue\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\bzzgj-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//\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//\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//\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//\n//\n//\n//\n//\n//\n//\n\r\nimport {TableMixin} from '@/mixins/tableMixin'\r\nimport dictUtils from '@/components/dict/DictSelectUtils.js'\r\nimport dictContracts from '@/components/dict/DictSelectUtils.js'\r\nimport CommonApi from '@/views/Manage/CommonApi.js'\r\nimport CmgtDutyVehicleGpsinfoApi from '@/views/Manage/duty/api/CmgtDutyVehicleGpsinfoApi'\r\nimport CmgtDutyVehicleGpsinfoFormDialog from '@/views/Manage/duty/components/CmgtDutyVehicleGpsinfoFormDialog'\r\n\r\nexport default {\r\n name: 'CmgtDutyVehicleGpsinfoManage',\r\n components: {\r\n CmgtDutyVehicleGpsinfoFormDialog\r\n },\r\n mixins: [TableMixin],\r\n data() {\r\n return {\r\n url: {\r\n delete: '/manager/cmgtDutyVehicleGpsinfo/delete'\r\n },\r\n vehicleIdSelectOptions: [],\r\n querys: [\r\n {\r\n group: 'main',\r\n operation: 'EQUAL',\r\n parentGroup: '',\r\n property: 'vehicle_id_',\r\n relation: 'AND',\r\n value: ''\r\n },\r\n {\r\n group: 'main',\r\n operation: 'EQUAL',\r\n parentGroup: '',\r\n property: 'receive_time_',\r\n relation: 'AND',\r\n value: ''\r\n }\r\n ],\r\n StshowFormDias: false,\r\n fuelTypes: []\r\n }\r\n },\r\n created() {\r\n CommonApi.loadSelectOptions(\r\n {name: 'cmgtDutySelectOptions.getCmgtDutyVehicles'},\r\n res => {\r\n this.vehicleIdSelectOptions = res\r\n }\r\n )\r\n },\r\n mounted() {},\r\n methods: {\r\n // 重置\r\n clearQuerys() {\r\n this.querys[0].value = ''\r\n this.querys[1].value = ''\r\n },\r\n // 获取list\r\n loadData(page) {\r\n if (page) {\r\n this.queryParam.pageBean.page = page\r\n }\r\n this.loading = true\r\n this.tableData = []\r\n this.queryParam.sorter = [\r\n {\r\n direction: 'DESC',\r\n property: 'create_time_'\r\n }\r\n ]\r\n this.queryParam.querys = []\r\n\r\n if (this.querys[0].value) {\r\n this.queryParam.querys.push(this.querys[0])\r\n }\r\n if (this.querys[1].value) {\r\n this.queryParam.querys.push(this.querys[1])\r\n }\r\n CmgtDutyVehicleGpsinfoApi.loadCmgtDutyVehicleGpsinfo(\r\n this.queryParam,\r\n res => {\r\n //console.log(res, 'res')\r\n this.total = res.total\r\n this.tableData = res.rows\r\n this.$set(this.tableData)\r\n this.loading = false\r\n }\r\n )\r\n },\r\n // 修改\r\n handleUpdate(row) {\r\n console.log(row.id)\r\n this.$refs.formModal.Update(row)\r\n },\r\n // 关联设备\r\n // handleClick(item) {\r\n // console.log(item.id)\r\n // this.StshowFormDias = true\r\n // },\r\n closeStshowForm() {\r\n this.StshowFormDias = false\r\n }\r\n }\r\n}\r\n",null]}