{"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\\device\\config.vue?vue&type=script&lang=js","dependencies":[{"path":"D:\\data\\hanguodoushan\\acs2\\nladmin-ui\\src\\views\\acs\\device\\config.vue","mtime":1732871026560},{"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//\n//\n//\n//\n//\n//\n//\n//\n//\n\r\nimport crud from '@/mixins/crud'\r\nimport { get, selectDriverCodeList } from '@/api/acs/device/driverConfig'\r\nimport { getDicts } from '@/views/system/dict/dict'\r\nimport standard_autodoor from '@/views/acs/device/driver/standard_autodoor'\r\nimport standard_inspect_site from './driver/standard_inspect_site'\r\nimport ranging_stations from './driver/ranging_stations'\r\nimport standard_ordinary_site from './driver/standard_ordinary_site'\r\nimport standard_storage from '@/views/acs/device/driver/standard_storage'\r\nimport standard_scanner from '@/views/acs/device/driver/standard_scanner'\r\nimport standard_conveyor_control_with_scanner from '@/views/acs/device/driver/standard_conveyor_control_with_scanner'\r\nimport standard_conveyor_control from '@/views/acs/device/driver/standard_conveyor_control'\r\nimport standard_conveyor_monitor from '@/views/acs/device/driver/standard_conveyor_monitor'\r\nimport double_station_stacker from '@/views/acs/device/driver/double_station_stacker'\r\n// import hailiang_smart_plc_test from '@/views/acs/device/driver/hailiang_smart_plc_test'\r\n// import paint_conveyor from '@/views/acs/device/driver/paint_conveyor'\r\nimport standard_stacker from '@/views/acs/device/driver/standard_stacker'\r\nimport siemens_conveyor_labeling from '@/views/acs/device/driver/siemens_conveyor_labeling'\r\nimport siemens_conveyor from '@/views/acs/device/driver/siemens_conveyor'\r\nimport belt_conveyor from '@/views/acs/device/driver/belt_conveyor'\r\nimport lamp_three_color from '@/views/acs/device/driver/lamp_three_color'\r\nimport box_palletizing_manipulator from '@/views/acs/device/driver/box_palletizing_manipulator'\r\nimport hongxiang_conveyor from '@/views/acs/device/driver/hongxiang_conveyor'\r\nimport hongxiang_device from '@/views/acs/device/driver/hongxiang_device'\r\nimport oven_manipulator from '@/views/acs/device/driver/oven_manipulator'\r\nimport plug_pull_device_site from '@/views/acs/device/driver/plug_pull_device_site'\r\nimport slit_two_manipulator from '@/views/acs/device/driver/slit_two_manipulator'\r\n// import empty_vehicle_stacking_position from '@/views/acs/device/driver/empty_vehicle_stacking_position'\r\nimport agv_ndc_one from '@/views/acs/device/driver/agv/agv_ndc_one'\r\nimport agv_ndc_two from '@/views/acs/device/driver/agv/agv_ndc_two'\r\nimport xg_agv from '@/views/acs/device/driver/agv/xg_agv'\r\nimport led_screen from './driver/led_screen'\r\nimport standard_station from '@/views/acs/device/driver/standard_station'\r\nimport double_belt_conveyor from '@/views/acs/device/driver/double_belt_conveyor.vue'\r\nimport with_station_device from '@/views/acs/device/driver/with_station_device.vue'\r\nimport box_manipulator from '@/views/acs/device/driver/box_manipulator.vue'\r\nimport conveyor_with_scanner_weight from '@/views/acs/device/driver/conveyor_with_scanner_weight.vue'\r\nimport box_manipulator_site from '@/views/acs/device/driver/box_manipulator_site.vue'\r\nimport rgv from '@/views/acs/device/driver/rgv.vue'\r\nimport dry_manipulator from '@/views/acs/device/driver/dry_manipulator.vue'\r\nimport blanking_button from '@/views/acs/device/driver/blanking_button.vue'\r\nimport pull_head_manipulator from '@/views/acs/device/driver/pull_head_manipulator.vue'\r\nimport pull_tail_manipulator from '@/views/acs/device/driver/pull_tail_manipulator.vue'\r\nimport die_manipulator from '@/views/acs/device/driver/die_manipulator.vue'\r\nimport green_foil_machine_button from '@/views/acs/device/driver/green_foil_machine_button.vue'\r\nimport inflatable_shaft_library from '@/views/acs/device/driver/inflatable_shaft_library.vue'\r\nimport manipulator_agv_station from '@/views/acs/device/driver/manipulator_agv_station.vue'\r\nimport paper_tube_pick_size from '@/views/acs/device/driver/paper_tube_pick_size.vue'\r\nimport subvolume_weighing_station from '@/views/acs/device/driver/subvolume_weighing_station.vue'\r\nimport waste_foil_weighing_station from '@/views/acs/device/driver/waste_foil_weighing_station.vue'\r\nimport blank_manipulator from '@/views/acs/device/driver/blank_manipulator.vue'\r\nimport trapped_manipulator from '@/views/acs/device/driver/one_manipulator/trapped_manipulator.vue'\r\nimport box_package_manipulator from '@/views/acs/device/driver/one_manipulator/box_package_manipulator.vue'\r\nimport box_storage_manipulator from '@/views/acs/device/driver/one_manipulator/box_storage_manipulator.vue'\r\nimport return_good_manipulator from '@/views/acs/device/driver/one_manipulator/return_good_manipulator.vue'\r\nimport volume_two_manipulator from '@/views/acs/device/driver/one_manipulator/volume_two_manipulator.vue'\r\nimport box_storage_out_conveyor from '@/views/acs/device/driver/one_conveyor/box_storage_out_conveyor.vue'\r\nimport box_subvolumes_conveyor from '@/views/acs/device/driver/one_conveyor/box_subvolumes_conveyor.vue'\r\nimport manipulator_cache from '@/views/acs/device/driver/one_conveyor/manipulator_cache.vue'\r\nimport finished_product_out_with_bind_lable_conveyor from '@/views/acs/device/driver/one_conveyor/finished_product_out_with_bind_lable_conveyor.vue'\r\nimport fold_disc_site from '@/views/acs/device/driver/one_conveyor/fold_disc_site.vue'\r\nimport scanner_weight_conveyor from '@/views/acs/device/driver/one_conveyor/scanner_weight_conveyor.vue'\r\nimport un_box_lable_conveyor from '@/views/acs/device/driver/one_conveyor/un_box_lable_conveyor.vue'\r\nimport xg_agv_car from '@/views/acs/device/driver/agv/xg_agv_car.vue'\r\nimport oven_inspect_site from '@/views/acs/device/driver/oven_inspect_site.vue'\r\nimport one_rgv from '@/views/acs/device/driver/one_manipulator/one_rgv.vue'\r\nimport standard_manipulator from '@/views/acs/device/driver/one_manipulator/standard_manipulator.vue'\r\nexport default {\r\n name: 'DeviceConfig',\r\n components: {\r\n standard_autodoor,\r\n standard_ordinary_site,\r\n standard_inspect_site,\r\n standard_storage,\r\n standard_scanner,\r\n standard_conveyor_control_with_scanner,\r\n standard_conveyor_control,\r\n standard_conveyor_monitor,\r\n agv_ndc_two,\r\n agv_ndc_one,\r\n xg_agv,\r\n led_screen,\r\n standard_stacker,\r\n siemens_conveyor_labeling,\r\n siemens_conveyor,\r\n belt_conveyor,\r\n double_station_stacker,\r\n lamp_three_color,\r\n ranging_stations,\r\n box_palletizing_manipulator,\r\n hongxiang_conveyor,\r\n hongxiang_device,\r\n standard_station,\r\n oven_manipulator,\r\n plug_pull_device_site,\r\n slit_two_manipulator,\r\n double_belt_conveyor,\r\n with_station_device,\r\n standard_manipulator,\r\n box_manipulator,\r\n conveyor_with_scanner_weight,\r\n box_manipulator_site,\r\n rgv,\r\n dry_manipulator,\r\n blank_manipulator,\r\n box_package_manipulator,\r\n box_storage_manipulator,\r\n return_good_manipulator,\r\n trapped_manipulator,\r\n un_box_lable_conveyor,\r\n scanner_weight_conveyor,\r\n fold_disc_site,\r\n box_storage_out_conveyor,\r\n box_subvolumes_conveyor,\r\n finished_product_out_with_bind_lable_conveyor,\r\n blanking_button,\r\n waste_foil_weighing_station,\r\n subvolume_weighing_station,\r\n pull_head_manipulator,\r\n pull_tail_manipulator,\r\n inflatable_shaft_library,\r\n green_foil_machine_button,\r\n xg_agv_car,\r\n oven_inspect_site,\r\n manipulator_agv_station,\r\n volume_two_manipulator,\r\n manipulator_cache,\r\n paper_tube_pick_size,\r\n one_rgv,\r\n die_manipulator\r\n },\r\n dicts: ['device_type'],\r\n mixins: [crud],\r\n data() {\r\n return {\r\n currentComponent: '',\r\n activeName: 'first',\r\n device_name: '',\r\n tableHeight: 550,\r\n columnLoading: false,\r\n configLoading: false,\r\n dicts: [],\r\n syncLoading: false,\r\n genLoading: false,\r\n form: { id: null, device_name: '', device_type: '', name: '', code: '', driver_code: '' },\r\n deviceDriverList: [],\r\n rules: {\r\n driver_code: [\r\n { required: true, message: '设备驱动不能为空', trigger: 'blur' }\r\n ]\r\n }\r\n }\r\n },\r\n created() {\r\n this.tableHeight = document.documentElement.clientHeight - 385\r\n this.device_code = this.$route.params.device_code\r\n this.$nextTick(() => {\r\n get(this.device_code).then(data => {\r\n this.form = data.device\r\n // 默认是普通站点\r\n // this.currentComponent = 'standard_ordinary_site'\r\n if (data.device.driver_code) {\r\n this.currentComponent = data.device.driver_code\r\n }\r\n })\r\n selectDriverCodeList(this.device_code).then(data => {\r\n this.deviceDriverList = data\r\n })\r\n getDicts().then(data => {\r\n this.dicts = data\r\n })\r\n })\r\n },\r\n methods: {\r\n changeDriver(val) {\r\n this.currentComponent = val\r\n }\r\n }\r\n}\r\n",null]}