{"remainingRequest":"D:\\data\\hanguodoushan\\acs2\\nladmin-ui\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\data\\hanguodoushan\\acs2\\nladmin-ui\\src\\views\\acs\\route\\routeChart\\index.vue?vue&type=script&lang=js","dependencies":[{"path":"D:\\data\\hanguodoushan\\acs2\\nladmin-ui\\src\\views\\acs\\route\\routeChart\\index.vue","mtime":1732871026622},{"path":"D:\\data\\hanguodoushan\\acs2\\nladmin-ui\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1732872824662},{"path":"D:\\data\\hanguodoushan\\acs2\\nladmin-ui\\node_modules\\babel-loader\\lib\\index.js","mtime":1732872825017},{"path":"D:\\data\\hanguodoushan\\acs2\\nladmin-ui\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1732872824662},{"path":"D:\\data\\hanguodoushan\\acs2\\nladmin-ui\\node_modules\\vue-loader\\lib\\index.js","mtime":1732872825835}],"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\r\nimport deviceCrud from '@/api/acs/device/device'\r\nimport crudRoutePlan from '@/api/acs/route/routePlan'\r\nexport default {\r\n name: 'RouteChart',\r\n data() {\r\n return {\r\n taskType: [],\r\n deviceList: [],\r\n path: null,\r\n route_plan_code: null,\r\n device_code: null,\r\n next_device_code: null\r\n }\r\n },\r\n created() {\r\n deviceCrud.selectDeviceList().then(data => {\r\n this.deviceList = data\r\n })\r\n crudRoutePlan.selectList().then(res => {\r\n this.taskType = res\r\n })\r\n },\r\n methods: {\r\n onSubmit() {\r\n this.path = null\r\n crudRoutePlan.getRoute(this.device_code, this.next_device_code, this.route_plan_code).then(res => {\r\n if (res[0] === undefined) {\r\n this.path = '该路由不通'\r\n }\r\n this.path = res[0].path\r\n })\r\n }\r\n }\r\n}\r\n",null]}