forked from zhurui/management
1 line
7.6 KiB
JSON
1 line
7.6 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\\electric-view.vue?vue&type=script&lang=js&","dependencies":[{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\src\\views\\modules\\equipmentManage\\electric-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//\nexport default {\n name: \"electric-add-or-update\",\n data: function data() {\n return {\n visible: false,\n dataForm: {\n \"id\": \"\",\n tfId: \"\",\n tfDevicename: \"\",\n \"tfDevicesn\": \"\",\n \"tfIpgateway\": \"\",\n tfSetupaddr: [],\n \"tfExpirydate\": \"\",\n scTransformerroomDTOList: [{\n tfrPortaddr: 1,\n drId: \"\"\n }, {\n tfrPortaddr: 2,\n drId: \"\"\n }, {\n tfrPortaddr: 3,\n drId: \"\"\n }, {\n tfrPortaddr: 4,\n drId: \"\"\n }],\n remark: \"\"\n }\n };\n },\n methods: {\n init: function init(id) {\n var _this = this;\n\n this.dataForm.id = id;\n this.visible = true;\n this.$http.get(\"/system/sctransformerdc/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":["electric-view.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2CA,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,YAAA,EAAA,EAHA;AAIA,sBAAA,EAJA;AAKA,uBAAA,EALA;AAMA,QAAA,WAAA,EAAA,EANA;AAOA,wBAAA,EAPA;AAQA,QAAA,wBAAA,EAAA,CAAA;AACA,UAAA,WAAA,EAAA,CADA;AAEA,UAAA,IAAA,EAAA;AAFA,SAAA,EAIA;AACA,UAAA,WAAA,EAAA,CADA;AAEA,UAAA,IAAA,EAAA;AAFA,SAJA,EAQA;AACA,UAAA,WAAA,EAAA,CADA;AAEA,UAAA,IAAA,EAAA;AAFA,SARA,EAYA;AACA,UAAA,WAAA,EAAA,CADA;AAEA,UAAA,IAAA,EAAA;AAFA,SAZA,CARA;AAyBA,QAAA,MAAA,EAAA;AAzBA;AAFA,KAAA;AA8BA,GAjCA;AAmCA,EAAA,OAAA,EAAA;AACA,IAAA,IADA,gBACA,EADA,EACA;AAAA;;AACA,WAAA,QAAA,CAAA,EAAA,GAAA,EAAA;AACA,WAAA,OAAA,GAAA,IAAA;AACA,WAAA,KAAA,CAAA,GAAA,wCAAA,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;AAnCA,CAAA","sourcesContent":["<template>\n <el-dialog\n :visible.sync=\"visible\"\n title=\"详情\"\n :close-on-click-modal=\"false\"\n :close-on-press-escape=\"false\"\n\twidth=\"700px\"\n >\n <el-row>\n <el-col :span=\"4\">设备名称:</el-col>\n <el-col :span=\"8\">{{dataForm.tfDevicename}}</el-col>\n <el-col :span=\"4\">设备序列号:</el-col>\n <el-col :span=\"8\">{{dataForm.tfDevicesn}}</el-col>\n </el-row>\n <el-row>\n <el-col :span=\"4\">IP地址:</el-col>\n <el-col :span=\"8\">{{dataForm.tfIpgateway}}</el-col>\n <el-col :span=\"4\">安装位置:</el-col>\n <el-col :span=\"8\">{{dataForm.tfSetupaddr.join(\"/\")}}</el-col>\n </el-row>\n <el-row>\n <el-col :span=\"4\">有效期:</el-col>\n <el-col :span=\"8\">{{dataForm.tfExpirydate}}</el-col>\n </el-row>\n\t <el-row>\n <el-col :span=\"4\">检测端编号:</el-col>\n <el-col :span=\"20\">\n\t\t <el-row v-for=\"(item,index) in dataForm.scTransformerroomDTOList\" :key=\"index\">\n\t\t\t <el-col :span=\"1\">{{item.tfrPortaddr}}</el-col>\n\t\t\t <el-col :span=\"9\">{{item.tfrDrroomno}}</el-col>\n\t\t </el-row>\n\t\t <!-- {{dataForm.scTransformerroomDTOList}} -->\n\t </el-col>\n </el-row>\n <el-row>\n <el-col :span=\"4\">备注:</el-col>\n <el-col :span=\"20\">{{dataForm.remark}}</el-col>\n </el-row>\n </el-dialog>\n</template>\n\n<script>\n\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\ttfId: \"\",\n\t\t\t\t\ttfDevicename: \"\",\n\t\t\t\t\t\"tfDevicesn\": \"\",\n\t\t\t\t\t\"tfIpgateway\": \"\",\n\t\t\t\t\ttfSetupaddr: [],\n\t\t\t\t\t\"tfExpirydate\": \"\",\n\t\t\t\t\tscTransformerroomDTOList: [{\n\t\t\t\t\t\t\ttfrPortaddr: 1,\n\t\t\t\t\t\t\tdrId: \"\",\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\ttfrPortaddr: 2,\n\t\t\t\t\t\t\tdrId: \"\",\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\ttfrPortaddr: 3,\n\t\t\t\t\t\t\tdrId: \"\",\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\ttfrPortaddr: 4,\n\t\t\t\t\t\t\tdrId: \"\",\n\t\t\t\t\t\t},\n\t\t\t\t\t],\n\t\t\t\t\tremark: \"\",\n\t\t\t\t},\n\t\t\t}\n\t\t},\n\t\n\t\tmethods: {\n\t\t\tinit(id) {\n\t\t\t\tthis.dataForm.id = id\n\t\t\t\tthis.visible = true\n\t\t\t\tthis.$http.get(`/system/sctransformerdc/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-4 {\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"}]} |