1 line
2.7 KiB
JSON
1 line
2.7 KiB
JSON
{"remainingRequest":"D:\\data\\hanguodoushan\\acs2\\nladmin-ui\\node_modules\\babel-loader\\lib\\index.js!D:\\data\\hanguodoushan\\acs2\\nladmin-ui\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!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\\babel.config.js","mtime":1732871025888},{"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":["\"use strict\";\n\nvar _interopRequireDefault = require(\"D:/data/hanguodoushan/acs2/nladmin-ui/node_modules/@babel/runtime/helpers/interopRequireDefault.js\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar _device = _interopRequireDefault(require(\"@/api/acs/device/device\"));\nvar _routePlan = _interopRequireDefault(require(\"@/api/acs/route/routePlan\"));\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//\nvar _default = exports.default = {\n name: 'RouteChart',\n data: function data() {\n return {\n taskType: [],\n deviceList: [],\n path: null,\n route_plan_code: null,\n device_code: null,\n next_device_code: null\n };\n },\n created: function created() {\n var _this = this;\n _device.default.selectDeviceList().then(function (data) {\n _this.deviceList = data;\n });\n _routePlan.default.selectList().then(function (res) {\n _this.taskType = res;\n });\n },\n methods: {\n onSubmit: function onSubmit() {\n var _this2 = this;\n this.path = null;\n _routePlan.default.getRoute(this.device_code, this.next_device_code, this.route_plan_code).then(function (res) {\n if (res[0] === undefined) {\n _this2.path = '该路由不通';\n }\n _this2.path = res[0].path;\n });\n }\n }\n};",null]} |