{"remainingRequest":"D:\\jenkins\\workspace\\bzzgj-fvue\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\jenkins\\workspace\\bzzgj-fvue\\src\\views\\Device\\riotBarricade\\ControlLog.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\bzzgj-fvue\\src\\views\\Device\\riotBarricade\\ControlLog.vue","mtime":1686706098958},{"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\nimport {\n\tTableMixin\n} from '@/mixins/tableMixin'\nimport riotBarricade from '@/api/device/riotBarricade.js'\nimport dictUtils from '@/components/dict/DictSelectUtils.js'\nimport RealTimeMonitorDialog from '@/components/detailsDialog/RealTimeMonitorDialog.vue'\nexport default {\n\tname: 'RealTimeMonitor',\n\tcomponents: {\n\t\tRealTimeMonitorDialog\n\t},\n\tmixins: [TableMixin],\n\tdata() {\n\t\treturn {\n\t\t\tquerys: [{\n\t\t\t\tgroup: 'main',\n\t\t\t\toperation: 'BETWEEN',\n\t\t\t\tparentGroup: '',\n\t\t\t\tproperty: 'b.coll_time_',\n\t\t\t\trelation: 'AND',\n\t\t\t\tvalue: ''\n\t\t\t}],\n\t\t\tsorter: [{\n\t\t\t\tdirection: 'DESC',\n\t\t\t\tproperty: 'createTime'\n\t\t\t}],\n\t\t\tactionList: [], //动作标识字典\n\t\t\tstatusList: [] //成功状态字典\n\t\t}\n\t},\n\tcreated() {\n\t\tthis.actionList = dictUtils.getDictItemsFromCache('dzbs')\n\t\tthis.statusList = dictUtils.getDictItemsFromCache('cgzt')\n\t},\n\tmounted() {},\n\tmethods: {\n\t\thandleUpdate(row) {\n\t\t\tconsole.log(row);\n\t\t},\n\t\ttoDialog(name) {\n\t\t\tthis.$refs.RealTimeMonitorDialog.add(name)\n\t\t},\n\t\tclearQuerys() {\n\t\t\tthis.querys[0].value = ''\n\t\t},\n\t\tloadData(page) {\n\t\t\tif (page) {\n\t\t\t\tthis.queryParam.pageBean.page = page\n\t\t\t}\n\t\t\tthis.loading = true\n\t\t\tthis.tableData = []\n\t\t\tthis.queryParam.querys = []\n\t\t\tthis.queryParam = Object.assign(this.queryParam, {\n\t\t\t\tsorter: this.sorter\n\t\t\t})\n\t\t\tif (this.querys[0].value) {\n\t\t\t\tthis.queryParam.querys.push(this.querys[0])\n\t\t\t}\n\t\t\triotBarricade.loadQuery(this.queryParam, res => {\n\t\t\t\t// console.log(res, 'ppppppp')\n\t\t\t\tthis.tableData = res.rows\n\t\t\t\tthis.total = res.total\n\t\t\t\tthis.$set(this.tableData)\n\t\t\t\tthis.loading = false\n\t\t\t\tthis.tableData.forEach(item => {\n\t\t\t\t\tthis.actionList.forEach(val => {\n\t\t\t\t\t\tif (item.action && item.action == val.value) {\n\t\t\t\t\t\t\titem['actionName'] = val.name\n\t\t\t\t\t\t}\n\t\t\t\t\t})\n\t\t\t\t\tthis.statusList.forEach(val => {\n\t\t\t\t\t\tif (item.status && item.status == val.value) {\n\t\t\t\t\t\t\titem['statusName'] = val.name\n\t\t\t\t\t\t}\n\t\t\t\t\t})\n\t\t\t\t})\n\t\t\t})\n\t\t}\n\t}\n}\n",null]}