forked from zhurui/management
1 line
7.4 KiB
JSON
1 line
7.4 KiB
JSON
{"remainingRequest":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\babel-loader\\lib\\index.js!C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\src\\views\\modules\\equipmentManage\\gateway-view.vue?vue&type=script&lang=js&","dependencies":[{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\src\\views\\modules\\equipmentManage\\gateway-view.vue","mtime":1614735254000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\babel-loader\\lib\\index.js","mtime":499162500000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\vue-loader\\lib\\index.js","mtime":499162500000}],"contextDependencies":[],"result":["import \"core-js/modules/es7.object.get-own-property-descriptors\";\nimport \"core-js/modules/web.dom.iterable\";\nimport \"core-js/modules/es6.object.keys\";\nimport _defineProperty from \"C:\\\\Users\\\\27446\\\\Desktop\\\\up\\\\front\\\\dkha-web-sz-main\\\\node_modules\\\\@babel\\\\runtime-corejs2/helpers/esm/defineProperty\";\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\nexport default {\n name: \"electric-add-or-update\",\n data: function data() {\n return {\n visible: false,\n dataForm: {\n \"id\": \"\",\n gwId: \"\",\n gwIpgateway: \"\",\n gwName: \"\",\n gwSn: \"\",\n // gwUwbnum: \"\",\n gwExpirydate: \"\",\n gwSetupaddr: [],\n scGatebusdeviceDTOList: [],\n remark: \"\"\n }\n };\n },\n methods: {\n init: function init(id) {\n var _this = this;\n\n this.visible = true;\n this.dataForm.id = id;\n this.$http.get(\"/system/scgatewaydc/info/\".concat(id)).then(function (_ref) {\n var res = _ref.data;\n\n if (res.code !== 0) {\n return _this.$message.error(res.msg);\n }\n\n _this.dataForm = _objectSpread({}, _this.dataForm, {}, res.data);\n }).catch(function () {});\n }\n }\n};",{"version":3,"sources":["gateway-view.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkDA,eAAA;AACA,EAAA,IAAA,EAAA,wBADA;AAEA,EAAA,IAFA,kBAEA;AACA,WAAA;AACA,MAAA,OAAA,EAAA,KADA;AAEA,MAAA,QAAA,EAAA;AACA,cAAA,EADA;AAEA,QAAA,IAAA,EAAA,EAFA;AAGA,QAAA,WAAA,EAAA,EAHA;AAIA,QAAA,MAAA,EAAA,EAJA;AAKA,QAAA,IAAA,EAAA,EALA;AAMA;AACA,QAAA,YAAA,EAAA,EAPA;AAQA,QAAA,WAAA,EAAA,EARA;AASA,QAAA,sBAAA,EAAA,EATA;AAUA,QAAA,MAAA,EAAA;AAVA;AAFA,KAAA;AAeA,GAlBA;AAmBA,EAAA,OAAA,EAAA;AACA,IAAA,IADA,gBACA,EADA,EACA;AAAA;;AACA,WAAA,OAAA,GAAA,IAAA;AACA,WAAA,QAAA,CAAA,EAAA,GAAA,EAAA;AACA,WAAA,KAAA,CAAA,GAAA,oCAAA,EAAA,GAAA,IAAA,CAAA,gBAEA;AAAA,YADA,GACA,QADA,IACA;;AACA,YAAA,GAAA,CAAA,IAAA,KAAA,CAAA,EAAA;AACA,iBAAA,KAAA,CAAA,QAAA,CAAA,KAAA,CAAA,GAAA,CAAA,GAAA,CAAA;AACA;;AACA,QAAA,KAAA,CAAA,QAAA,qBAAA,KAAA,CAAA,QAAA,MACA,GAAA,CAAA,IADA;AAGA,OATA,EASA,KATA,CASA,YAAA,CAAA,CATA;AAUA;AAdA;AAnBA,CAAA","sourcesContent":["<template>\n\t<el-dialog :visible.sync=\"visible\" title=\"详情\" :close-on-click-modal=\"false\" :close-on-press-escape=\"false\">\n\n\t\t<el-row>\n\t\t\t<el-col :span=\"3\">IP地址:</el-col>\n\t\t\t<el-col :span=\"9\">{{dataForm.gwIpgateway}}</el-col>\n\t\t\t<el-col :span=\"3\">设备名称:</el-col>\n\t\t\t<el-col :span=\"9\">{{dataForm.gwName}}</el-col>\n\t\t</el-row>\n\t\t<el-row>\n\t\t\t<el-col :span=\"3\">设备序列号:</el-col>\n\t\t\t<el-col :span=\"9\">{{dataForm.gwSn}}</el-col>\n\t\t\t<el-col :span=\"3\">有效期:</el-col>\n\t\t\t<el-col :span=\"9\">{{dataForm.gwExpirydate}}</el-col>\n\t\t</el-row>\n\t\t<el-row>\n\t\t\t<el-col :span=\"3\">安装位置:</el-col>\n\t\t\t<el-col :span=\"9\">{{dataForm.gwSetupaddr&&dataForm.gwSetupaddr[0]}}</el-col>\n\t\t</el-row>\n\t\t<el-row>\n\t\t\t<el-col :span=\"3\">总线:</el-col>\n\t\t\t<el-col :span=\"21\">\n\t\t\t\t <el-row>\n\t\t\t\t\t <el-col :span=\"2\">序号</el-col>\n\t\t\t\t\t <el-col :span=\"2\">总线编号</el-col>\n\t\t\t\t\t <el-col :span=\"4\">设备类型</el-col>\n\t\t\t\t\t <el-col :span=\"4\">设备</el-col>\n\t\t\t\t\t <el-col :span=\"4\">接口编号</el-col>\n\t\t\t\t\t <el-col :span=\"4\">分组编号</el-col>\n\t\t\t\t\t <el-col :span=\"4\">围栏编号</el-col>\n\t\t\t\t </el-row>\n\t\t\t\t <el-row v-for=\"(item,index) in dataForm.scGatebusdeviceDTOList\" :key=\"index\">\n\t\t\t\t\t <el-col :span=\"2\">{{index+1}}</el-col>\n\t\t\t\t\t <el-col :span=\"2\">{{item.gbdLineNum}}</el-col>\n\t\t\t\t\t <el-col :span=\"4\">{{item.gbdDevicetype}}</el-col>\n\t\t\t\t\t <el-col :span=\"4\">{{item.mbdDevicename}}</el-col>\n\t\t\t\t\t <el-col :span=\"4\">{{item.gbdAddr}}</el-col>\n\t\t\t\t\t <el-col :span=\"4\">{{item.gbdGroup}}</el-col>\n\t\t\t\t\t <el-col :span=\"4\">{{item.fenceName}}</el-col>\n\t\t\t\t </el-row>\n\t\t\t</el-col>\n\t\t</el-row>\n\t\t\t<el-row>\n\t\t\t<el-col :span=\"3\">备注:</el-col>\n\t\t\t<el-col :span=\"21\">{{dataForm.remark}}</el-col>\n\t\t</el-row>\n\t</el-dialog>\n</template>\n\n<script>\n\texport default {\n\t\tname: \"electric-add-or-update\",\n\t\tdata() {\n\t\t\treturn {\n\t\t\t\tvisible: false,\n\t\t\t\tdataForm: {\n\t\t\t\t\t\"id\": \"\",\n\t\t\t\t\tgwId: \"\",\n\t\t\t\t\tgwIpgateway: \"\",\n\t\t\t\t\tgwName: \"\",\n\t\t\t\t\tgwSn: \"\",\n\t\t\t\t\t// gwUwbnum: \"\",\n\t\t\t\t\tgwExpirydate: \"\",\n\t\t\t\t\tgwSetupaddr: [],\n\t\t\t\t\tscGatebusdeviceDTOList: [],\n\t\t\t\t\tremark: \"\",\n\t\t\t\t},\n\t\t\t}\n\t\t},\n\t\tmethods: {\n\t\t\tinit(id) {\n\t\t\t\tthis.visible = true\n\t\t\t\tthis.dataForm.id = id\n\t\t\t\tthis.$http.get(`/system/scgatewaydc/info/${id}`).then(({\n\t\t\t\t\tdata: res\n\t\t\t\t}) => {\n\t\t\t\t\tif (res.code !== 0) {\n\t\t\t\t\t\treturn this.$message.error(res.msg)\n\t\t\t\t\t}\n\t\t\t\t\tthis.dataForm = { ...this.dataForm,\n\t\t\t\t\t\t...res.data\n\t\t\t\t\t}\n\t\t\t\t}).catch(() => {})\n\t\t\t},\n\t\t},\n\t}\n</script>\n\n<style scoped lang=\"scss\">\n.el-dialog {\n .el-row {\n color: #fff;\n line-height: 35px;\n .el-col-3 {\n text-align: right;\n }\n .student-img {\n width: 106px;\n height: 150px;\n }\n }\n}\n</style>\n"],"sourceRoot":"src/views/modules/equipmentManage"}]} |