{"remainingRequest":"D:\\jenkins\\workspace\\bzzgj-fvue\\node_modules\\thread-loader\\dist\\cjs.js!D:\\jenkins\\workspace\\bzzgj-fvue\\node_modules\\babel-loader\\lib\\index.js!D:\\jenkins\\workspace\\bzzgj-fvue\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!D:\\jenkins\\workspace\\bzzgj-fvue\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\jenkins\\workspace\\bzzgj-fvue\\src\\views\\Device\\deviceManage\\components\\modle\\RoadblockRealDataModel.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\bzzgj-fvue\\src\\views\\Device\\deviceManage\\components\\modle\\RoadblockRealDataModel.vue","mtime":1669171690206},{"path":"D:\\jenkins\\workspace\\bzzgj-fvue\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\bzzgj-fvue\\node_modules\\thread-loader\\dist\\cjs.js","mtime":499162500000},{"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":["import \"core-js/modules/es6.function.name\";\nimport \"core-js/modules/web.dom.iterable\";\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\nimport { TableMixin } from '@/mixins/tableMixin';\nimport RealTimeMonitorBiot from '@/api/device/RealTimeMonitorBiot.js';\nimport dictUtils from '@/components/dict/DictSelectUtils.js';\nimport RealTimeMonitorDialog from '@/components/detailsDialog/RealTimeMonitorDialog.vue';\nexport default {\n name: 'RoadblockRealDataModel',\n components: {\n RealTimeMonitorDialog: RealTimeMonitorDialog\n },\n mixins: [TableMixin],\n data: function data() {\n return {\n querys: [{\n group: 'main',\n operation: 'BETWEEN',\n parentGroup: '',\n property: 'coll_time_',\n relation: 'AND',\n value: ''\n }],\n sorter: [{\n direction: 'DESC',\n property: 'collTime'\n }],\n lastActionList: [],\n //升降柱最近的一次动作字典\n alertList: [],\n //报警状态字典\n statusList: '' //升降柱位置状态字典\n\n };\n },\n created: function created() {\n this.lastActionList = dictUtils.getDictItemsFromCache('sjzzjdz');\n this.alertList = dictUtils.getDictItemsFromCache('bjzt');\n this.statusList = dictUtils.getDictItemsFromCache('sjzwzzt');\n },\n mounted: function mounted() {},\n methods: {\n toDialog: function toDialog(name) {\n this.$refs.RealTimeMonitorDialog.add(name);\n },\n handleUpdate: function handleUpdate(row) {\n console.log(row);\n },\n clearQuerys: function clearQuerys() {\n this.querys[0].value = '';\n },\n loadData: function loadData(page) {\n var _this = this;\n\n if (page) {\n this.queryParam.pageBean.page = page;\n }\n\n this.loading = true;\n this.tableData = [];\n this.queryParam.querys = [];\n this.queryParam = Object.assign(this.queryParam, {\n sorter: this.sorter\n });\n\n if (this.querys[0].value) {\n this.queryParam.querys.push(this.querys[0]);\n }\n\n RealTimeMonitorBiot.loadInfo(this.queryParam, function (res) {\n _this.tableData = res.rows;\n _this.total = res.total;\n\n _this.$set(_this.tableData);\n\n _this.loading = false;\n\n _this.tableData.forEach(function (item) {\n // 位置状态\n _this.statusList.forEach(function (val) {\n if (item.status && item.status == val.value) {\n item['statusName'] = val.name;\n }\n }); // 最近动作\n\n\n _this.lastActionList.forEach(function (val) {\n if (item.lastAction && item.lastAction == val.value) {\n item['lastActionName'] = val.name;\n }\n }); // 报警状态\n\n\n _this.alertList.forEach(function (val) {\n if (item.alert && item.alert == val.value) {\n item['alertName'] = val.name;\n }\n });\n });\n });\n }\n }\n};",null]}