EMS2.0-Documents/7.部署文档/Window安装/项目前端文件/IEMS/js/chunk-a17305cc.e8f0c65d.js.map

1 line
119 KiB
Plaintext

{"version":3,"sources":["webpack:///./node_modules/core-js/modules/es.array.flat.js","webpack:///./src/api/department.js","webpack:///./src/components/Pagination/index.vue?31f0","webpack:///./src/components/Pagination/index.vue?8e6f","webpack:///src/components/Pagination/index.vue","webpack:///./src/components/Pagination/index.vue?6c75","webpack:///./src/components/Pagination/index.vue?0d87","webpack:///./src/views/manager/electrovalence/index.vue?aad9","webpack:///./src/components/electrovalence/index.vue?3cbf","webpack:///src/components/electrovalence/index.vue","webpack:///./src/components/electrovalence/index.vue?738b","webpack:///./src/components/electrovalence/index.vue","webpack:///src/views/manager/electrovalence/index.vue","webpack:///./src/views/manager/electrovalence/index.vue?4229","webpack:///./src/views/manager/electrovalence/index.vue","webpack:///./node_modules/core-js/modules/es.array.unscopables.flat.js","webpack:///./src/directive/permission/permission.js","webpack:///./src/directive/permission/index.js","webpack:///./src/components/electrovalence/index.vue?464a","webpack:///./src/api/area.js","webpack:///./node_modules/core-js/internals/flatten-into-array.js","webpack:///./src/views/manager/electrovalence/index.vue?fe39","webpack:///./src/api/electrovalence.js"],"names":["$","flattenIntoArray","toObject","lengthOfArrayLike","toIntegerOrInfinity","arraySpeciesCreate","target","proto","flat","depthArg","arguments","length","undefined","O","this","sourceLen","A","getDepartmentList","data","request","url","method","params","getDeptSubByDeptId","editSubmitApi","formData","qs","stringify","addSubmitApi","delSubmitApi","headers","render","_vm","_h","$createElement","_c","_self","staticClass","_b","attrs","background","currentPage","pageSize","layout","pageSizes","total","on","$event","handleSizeChange","handleCurrentChange","$attrs","staticRenderFns","name","props","required","type","page","default","limit","hidden","computed","get","set","val","$emit","methods","component","directives","rawName","value","addDialog","expression","class","clicked","_v","_s","$t","areaIdList","checkStrictly","emitPath","nativeOn","indexOf","_k","keyCode","key","handleFilter","apply","model","listQuery","callback","$$v","$set","_e","clearListQuery","handleCreate","deleteList","ref","list","scopedSlots","_u","fn","scope","row","electricityPloy","ployName","startTime","endTime","out","online","none","status","ployAreas","join","createUser","createTime","handleUpdate","handleDelete","curPage","getList","ployId","goOut","deptIdList","form","arrayTime","multiple","getArea","areaId","_l","i","eleTypeId","typeIndex","eleTypeName","visible","checkType","staticStyle","getType","slot","e","index","option","label","ployList","addPloyList","clearPloyList","delPloyList","idx","electricity","volLevelId","volLevelName","addLevels","clearLevels","delLevels","spike","push","splice","peak","low","chargeType","updateData","createData","permission","createStatus","deptId","ployAreaList","methodList","typesList","checkTypes","levelsList","checkLevel","watch","console","created","getBaseList","filter","includes","forEach","spikePrice","peakPrice","flatPrice","lowPrice","price","demandPrice","capacityPrice","getAreaSubByAreaId","getElectricityLevels","getElectricityTypes","getAreaIdList","res","subList","obj","getdeptIdList","subBeanList","siteCode","cabinetCode","deviceName","getElectricityPloyByPloyId","typeId","v","dataNeed","timeList","addElectricityPloy","then","title","message","duration","catch","$notify","eleId","updateElectricityPloy","resetForm","components","Pagination","EleBox","dialogStatus","listLoading","statusList","getElectricityPloyList","timestamp","$confirm","confirmButtonText","cancelButtonText","deleteElectricityPloy","$refs","table","selection","deleteListElectricityPloy","ployIds","addToUnscopables","inserted","el","binding","roles","store","getters","butPermission","log","Array","Error","permissionRoles","hasPermission","some","role","state","user","permissionFlag","newnode","document","createElement","style","cursor","display","pointerEvents","parentNode","insertBefore","removeChild","appendChild","install","Vue","directive","window","use","getAreaTreeList","removeArea","saveArea","updateArea","global","isArray","bind","TypeError","original","source","start","depth","mapper","thisArg","element","elementLen","targetIndex","sourceIndex","mapFn","module","exports","getEleDifference","getEleTrendChart","getEleTrendPic"],"mappings":"kHACA,IAAIA,EAAI,EAAQ,QACZC,EAAmB,EAAQ,QAC3BC,EAAW,EAAQ,QACnBC,EAAoB,EAAQ,QAC5BC,EAAsB,EAAQ,QAC9BC,EAAqB,EAAQ,QAIjCL,EAAE,CAAEM,OAAQ,QAASC,OAAO,GAAQ,CAClCC,KAAM,WACJ,IAAIC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AuBtM,GACnC,OAAOC,eAAQ,CACXC,IAAK,4CACLC,OAAQ,MACRC,OAAQJ,IAKT,SAAS2M,EAAsB3M,GAClC,OAAOC,eAAQ,CACXC,IAAK,2CACLC,OAAQ,SACRC,OAAQJ,IAKT,SAAS+M,EAA0B/M,GACtC,OAAOC,eAAQ,CACXC,IAAK,+CACLC,OAAQ,SACRC,OAAQJ,IAKT,SAASiL,EAA2BjL,GACvC,OAAOC,eAAQ,CACXC,IAAK,gDACLC,OAAQ,MACRC,OAAQJ,IAMT,SAASsK,EAAqBtK,GACjC,OAAOC,eAAQ,CACXC,IAAK,0CACLC,OAAQ,MACRC,OAAQJ,IAMT,SAASuK,EAAoBvK,GAChC,OAAOC,eAAQ,CACXC,IAAK,0CACLC,OAAQ,MACRC,OAAQJ,IAMT,SAAS8L,EAAsB9L,GAClC,OAAOC,eAAQ,CACXC,IAAK,2CACLC,OAAQ,MACRH,SAcD,SAASwQ,EAAiBxQ,GAC7B,OAAOC,eAAQ,CACXC,IAAK,uCACLC,OAAQ,MACRC,OAAQJ,IAKT,SAASyQ,EAAiBzQ,GAC7B,OAAOC,eAAQ,CACXC,IAAK,uCACLC,OAAQ,MACRC,OAAQJ,IAKT,SAAS0Q,EAAe1Q,GAC3B,OAAOC,eAAQ,CACXC,IAAK,qCACLC,OAAQ,MACRC,OAAQJ,M","file":"js/chunk-a17305cc.e8f0c65d.js","sourcesContent":["'use strict';\nvar $ = require('../internals/export');\nvar flattenIntoArray = require('../internals/flatten-into-array');\nvar toObject = require('../internals/to-object');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar arraySpeciesCreate = require('../internals/array-species-create');\n\n// `Array.prototype.flat` method\n// https://tc39.es/ecma262/#sec-array.prototype.flat\n$({ target: 'Array', proto: true }, {\n flat: function flat(/* depthArg = 1 */) {\n var depthArg = arguments.length ? arguments[0] : undefined;\n var O = toObject(this);\n var sourceLen = lengthOfArrayLike(O);\n var A = arraySpeciesCreate(O, 0);\n A.length = flattenIntoArray(A, O, O, sourceLen, 0, depthArg === undefined ? 1 : toIntegerOrInfinity(depthArg));\n return A;\n }\n});\n","import request from '@/utils/request'\r\nimport qs from 'qs'\r\n/*\r\n 系统管理-区域管理 权限操作api\r\n*/\r\n\r\n// 查询区域列表树\r\nexport function getAreaTreeList(data) {\r\n return request({\r\n url: 'user-service/area/getAreaTreeList',\r\n method: 'get',\r\n params: data\r\n })\r\n}\r\n\r\n\r\n// 查询所有区域树\r\nexport function getDepartmentList(data) {\r\n return request({\r\n url: 'user-service/dept/getDeptTreeList',\r\n method: 'get',\r\n params: data\r\n })\r\n}\r\n\r\n// 查询本级节点ID-直系子级节点\r\nexport function getDeptSubByDeptId(data) {\r\n return request({\r\n url: 'user-service/dept/getDeptSubByDeptId',\r\n method: 'get',\r\n params: data\r\n })\r\n}\r\n\r\n// 查询区域列表\r\nexport function getDeptTreeByDeptId(data) {\r\n return request({\r\n url: 'user-service/dept/getDeptTreeByDeptId',\r\n method: 'get',\r\n params: data\r\n })\r\n}\r\n// 修改\r\nexport function editSubmitApi(formData) {\r\n const data = qs.stringify(formData)\r\n return request({\r\n url: 'user-service/dept/updateDept',\r\n method: 'post',\r\n data\r\n })\r\n}\r\n\r\n// 新增\r\nexport function addSubmitApi(formData) {\r\n const data = qs.stringify(formData)\r\n return request({\r\n url: 'user-service/dept/saveDept',\r\n method: 'post',\r\n data\r\n })\r\n}\r\n\r\n// 删除\r\nexport function delSubmitApi(formData) {\r\n return request({\r\n headers: {\r\n 'Content-Type': 'application/json'\r\n },\r\n url: 'user-service/dept/removeDept',\r\n method: 'get',\r\n\r\n params: formData\r\n })\r\n}\r\n","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=style&index=0&id=4dfad654&scoped=true&lang=css&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"pagination-container\"},[_c('el-pagination',_vm._b({attrs:{\"background\":_vm.background,\"current-page\":_vm.currentPage,\"page-size\":_vm.pageSize,\"layout\":_vm.layout,\"page-sizes\":_vm.pageSizes,\"total\":_vm.total},on:{\"update:currentPage\":function($event){_vm.currentPage=$event},\"update:current-page\":function($event){_vm.currentPage=$event},\"update:pageSize\":function($event){_vm.pageSize=$event},\"update:page-size\":function($event){_vm.pageSize=$event},\"size-change\":_vm.handleSizeChange,\"current-change\":_vm.handleCurrentChange}},'el-pagination',_vm.$attrs,false))],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <div class=\"pagination-container\">\r\n <el-pagination\r\n :background=\"background\"\r\n :current-page.sync=\"currentPage\"\r\n :page-size.sync=\"pageSize\"\r\n :layout=\"layout\"\r\n :page-sizes=\"pageSizes\"\r\n :total=\"total\"\r\n v-bind=\"$attrs\"\r\n @size-change=\"handleSizeChange\"\r\n @current-change=\"handleCurrentChange\"\r\n />\r\n </div>\r\n</template>\r\n\r\n<script>\r\nexport default {\r\n name: 'Pagination',\r\n props: {\r\n total: {\r\n required: true,\r\n type: Number\r\n },\r\n page: {\r\n type: Number,\r\n default: 0\r\n },\r\n limit: {\r\n type: Number,\r\n default: 20\r\n },\r\n pageSizes: {\r\n type: Array,\r\n default() {\r\n return [5, 10, 20, 30, 70]\r\n }\r\n },\r\n layout: {\r\n type: String,\r\n default: 'total, sizes, prev, pager, next, jumper'\r\n },\r\n background: {\r\n type: Boolean,\r\n default: true\r\n },\r\n hidden: {\r\n type: Boolean,\r\n default: false\r\n }\r\n },\r\n computed: {\r\n currentPage: {\r\n get() {\r\n return this.page\r\n },\r\n set(val) {\r\n this.$emit('update:page', val)\r\n }\r\n },\r\n pageSize: {\r\n get() {\r\n return this.limit\r\n },\r\n set(val) {\r\n this.$emit('update:limit', val)\r\n }\r\n }\r\n },\r\n methods: {\r\n handleSizeChange(val) {\r\n this.$emit('pagination', { page: this.currentPage, limit: val })\r\n },\r\n handleCurrentChange(val) {\r\n this.$emit('pagination', { page: val, limit: this.pageSize })\r\n }\r\n }\r\n}\r\n</script>\r\n\r\n<style scoped>\r\n.pagination-container {\r\n background: none;\r\n position: relative;\r\n margin-top: 30px;\r\n}\r\n.el-pagination {\r\n text-align: center;\r\n}\r\n.pagination-container.hidden {\r\n display: none;\r\n}\r\n</style>\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=4dfad654&scoped=true&\"\nimport script from \"./index.vue?vue&type=script&lang=js&\"\nexport * from \"./index.vue?vue&type=script&lang=js&\"\nimport style0 from \"./index.vue?vue&type=style&index=0&id=4dfad654&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"4dfad654\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"app-container\"},[_c('div',{staticClass:\"decorate\"}),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(!_vm.addDialog),expression:\"!addDialog\"}]},[_c('div',{staticClass:\"filter-container\"},[_c('div',{staticClass:\"tab left\",class:{ clicked: _vm.type == 'area' },on:{\"click\":function($event){_vm.type = 'area'}}},[_vm._v(\" \"+_vm._s(_vm.$t(\"electrovalence.area\"))+\" \")]),_c('div',{staticClass:\"tab right\",class:{ clicked: _vm.type == 'strategy' },on:{\"click\":function($event){_vm.type = 'strategy'}}},[_vm._v(\" \"+_vm._s(_vm.$t(\"electrovalence.strategy\"))+\" \")]),(_vm.type == 'area')?_c('el-cascader',{staticClass:\"filter-item\",attrs:{\"show-all-levels\":false,\"collapse-tags\":\"\",\"options\":_vm.areaIdList,\"placeholder\":_vm.$t('listQuery.areaId'),\"props\":{\n checkStrictly: true,\n emitPath: false\n },\"clearable\":\"\"},nativeOn:{\"keyup\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }return _vm.handleFilter.apply(null, arguments)}},model:{value:(_vm.listQuery.areaId),callback:function ($$v) {_vm.$set(_vm.listQuery, \"areaId\", $$v)},expression:\"listQuery.areaId\"}}):_vm._e(),(_vm.type == 'strategy')?_c('el-input',{staticClass:\"filter-item\",attrs:{\"placeholder\":_vm.$t('electrovalence.ployName')},nativeOn:{\"keyup\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }return _vm.handleFilter.apply(null, arguments)}},model:{value:(_vm.listQuery.deviceName),callback:function ($$v) {_vm.$set(_vm.listQuery, \"deviceName\", $$v)},expression:\"listQuery.deviceName\"}}):_vm._e(),_c('span',{staticClass:\"btn-item\",on:{\"click\":_vm.handleFilter}},[_c('i',{staticClass:\"iconfont icon-sousuo\"}),_vm._v(_vm._s(_vm.$t(\"btn.search\")))]),_c('span',{staticClass:\"btn-item\",on:{\"click\":_vm.clearListQuery}},[_c('i',{staticClass:\"el-icon-refresh-left\"}),_vm._v(\" \"+_vm._s(_vm.$t(\"btn.resetting\")))]),_c('div',{staticClass:\"control-container\"},[_c('span',{staticClass:\"btn-item\",on:{\"click\":function($event){return _vm.handleCreate()}}},[_c('i',{staticClass:\"iconfont icon-a-\"}),_vm._v(_vm._s(_vm.$t(\"btn.add\")))]),_c('span',{staticClass:\"btn-item delete\",on:{\"click\":_vm.deleteList}},[_c('i',{staticClass:\"iconfont icon-shanchu\"}),_vm._v(_vm._s(_vm.$t(\"btn.delete\")))])])],1),_c('div',{staticClass:\"table-container\"},[_c('el-table',{directives:[{name:\"loading\",rawName:\"v-loading\",value:(_vm.listLoading),expression:\"listLoading\"}],ref:\"table\",attrs:{\"data\":_vm.list,\"fit\":\"\",\"max-height\":\"580\",\"highlight-current-row\":\"\",\"header-row-class-name\":\"table-header\",\"row-class-name\":\"table-row\"}},[_c('el-table-column',{attrs:{\"type\":\"selection\",\"width\":\"55\",\"align\":\"center\"}}),_c('el-table-column',{attrs:{\"property\":\"ployName\",\"align\":\"left\",\"label\":_vm.$t('electrovalence.ployName')},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_vm._v(\" \"+_vm._s(scope.row.electricityPloy.ployName)+\" \")]}}])}),_c('el-table-column',{attrs:{\"property\":\"deviceName\",\"align\":\"left\",\"label\":_vm.$t('electrovalence.period')},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_vm._v(\" \"+_vm._s(scope.row.electricityPloy.startTime + \" - \" + scope.row.electricityPloy.endTime)+\" \")]}}])}),_c('el-table-column',{attrs:{\"label\":_vm.$t('electrovalence.status'),\"align\":\"left\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('span',{staticClass:\"pot\",class:{\n out: scope.row.online == 2,\n none: scope.row.electricityPloy.status == 0\n }}),_vm._v(\" \"+_vm._s(scope.row.electricityPloy.status == 0 ? _vm.$t(\"electrovalence.out\") : scope.row.electricityPloy.status == 1 ? _vm.$t(\"electrovalence.on\") : _vm.$t(\"electrovalence.over\"))+\" \")]}}])}),_c('el-table-column',{attrs:{\"label\":_vm.$t('electrovalence.areas'),\"align\":\"left\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_vm._v(\" \"+_vm._s(scope.row.ployAreas.join())+\" \")]}}])}),_c('el-table-column',{attrs:{\"label\":_vm.$t('electrovalence.createUser'),\"align\":\"left\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_vm._v(\" \"+_vm._s(scope.row.electricityPloy.createUser)+\" \")]}}])}),_c('el-table-column',{attrs:{\"label\":_vm.$t('electrovalence.createTime'),\"align\":\"left\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_vm._v(\" \"+_vm._s(scope.row.electricityPloy.createTime)+\" \")]}}])}),_c('el-table-column',{attrs:{\"label\":_vm.$t('table.operate'),\"width\":\"180\",\"align\":\"left\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('span',{staticClass:\"btnCancel\",attrs:{\"title\":_vm.$t('table.update')},on:{\"click\":function($event){return _vm.handleUpdate(scope)}}},[_c('i',{staticClass:\"iconfont icon-bianji\"}),_vm._v(_vm._s(_vm.$t(\"table.update\")))]),_c('span',{staticClass:\"btnCancel delete\",attrs:{\"title\":_vm.$t('table.delete')},on:{\"click\":function($event){return _vm.handleDelete(scope)}}},[_c('i',{staticClass:\"iconfont icon-a--\"}),_vm._v(_vm._s(_vm.$t(\"table.delete\")))])]}}])})],1),_c('pagination',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.total > 0),expression:\"total > 0\"}],attrs:{\"total\":_vm.total,\"page\":_vm.listQuery.curPage,\"limit\":_vm.listQuery.pageSize},on:{\"update:page\":function($event){return _vm.$set(_vm.listQuery, \"curPage\", $event)},\"update:limit\":function($event){return _vm.$set(_vm.listQuery, \"pageSize\", $event)},\"pagination\":_vm.getList}})],1)]),(_vm.addDialog)?_c('EleBox',{attrs:{\"ployId\":_vm.ployId,\"goOut\":_vm.goOut}}):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"elebox\"},[_c('div',{staticClass:\"filter-container title\"},[_vm._v(\" \"+_vm._s(_vm.ployId ? _vm.$t(\"electrovalence.update\") : _vm.$t(\"electrovalence.create\"))+\" \")]),_c('div',{staticClass:\"filter-container\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"listQuery.deptId\"))+\" \"),_c('el-cascader',{staticClass:\"filter-item\",attrs:{\"show-all-levels\":false,\"options\":_vm.deptIdList,\"props\":{ checkStrictly: true, emitPath: false, props: {} },\"clearable\":\"\"},model:{value:(_vm.form.deptId),callback:function ($$v) {_vm.$set(_vm.form, \"deptId\", $$v)},expression:\"form.deptId\"}}),_vm._v(\" \"+_vm._s(_vm.$t(\"electrovalence.ployName\"))+\" \"),_c('el-input',{staticClass:\"filter-item\",attrs:{\"placeholder\":_vm.$t('electrovalence.ployName')},model:{value:(_vm.form.ployName),callback:function ($$v) {_vm.$set(_vm.form, \"ployName\", $$v)},expression:\"form.ployName\"}}),_vm._v(\" \"+_vm._s(_vm.$t(\"electrovalence.period\"))+\" \"),_c('el-date-picker',{staticClass:\"long\",attrs:{\"type\":\"daterange\",\"value-format\":\"yyyy-MM-dd HH:mm:ss\",\"range-separator\":\"-\",\"start-placeholder\":_vm.$t('startTime'),\"end-placeholder\":_vm.$t('endTime')},model:{value:(_vm.arrayTime),callback:function ($$v) {_vm.arrayTime=$$v},expression:\"arrayTime\"}}),_vm._v(\" \"+_vm._s(_vm.$t(\"electrovalence.areas\"))+\" \"),_c('el-cascader',{staticClass:\"long\",attrs:{\"collapse-tags\":\"\",\"options\":_vm.areaIdList,\"placeholder\":_vm.$t('listQuery.areaId'),\"props\":{\n multiple: true,\n emitPath: false\n },\"clearable\":\"\"},on:{\"change\":_vm.getArea},model:{value:(_vm.areaId),callback:function ($$v) {_vm.areaId=$$v},expression:\"areaId\"}})],1),_c('div',{staticClass:\"filter-container tabs\"},[_vm._l((_vm.checkTypes),function(i){return _c('div',{key:i.eleTypeId,staticClass:\"tab\",class:{ clicked: _vm.typeIndex.eleTypeId == i.eleTypeId },on:{\"click\":function($event){_vm.typeIndex = i}}},[_vm._v(\" \"+_vm._s(i.eleTypeName)+\" \")])}),_c('el-popover',{attrs:{\"placement\":\"right\",\"width\":\"280\"},model:{value:(_vm.visible),callback:function ($$v) {_vm.visible=$$v},expression:\"visible\"}},[_c('div',{},[_c('div',{staticClass:\"name\"},[_vm._v(_vm._s(_vm.$t(\"electrovalence.checkType\")))]),_c('el-checkbox-group',{model:{value:(_vm.checkType),callback:function ($$v) {_vm.checkType=$$v},expression:\"checkType\"}},_vm._l((_vm.typesList),function(i){return _c('el-checkbox',{key:i.eleTypeId,attrs:{\"label\":i.eleTypeId}},[_vm._v(\" \"+_vm._s(i.eleTypeName))])}),1)],1),_c('div',{staticStyle:{\"text-align\":\"right\",\"margin\":\"0\"}},[_c('el-button',{attrs:{\"size\":\"mini\",\"type\":\"text\"},on:{\"click\":function($event){_vm.visible = false}}},[_vm._v(\" \"+_vm._s(_vm.$t(\"btn.cancel\")))]),_c('el-button',{attrs:{\"type\":\"primary\",\"size\":\"mini\"},on:{\"click\":_vm.getType}},[_vm._v(\" \"+_vm._s(_vm.$t(\"btn.define\"))+\" \")])],1),_c('div',{staticClass:\"add\",attrs:{\"slot\":\"reference\"},slot:\"reference\"},[_vm._v(\" + \"+_vm._s(_vm.$t(\"electrovalence.addCheckType\"))+\" \")])])],2),_vm._l((_vm.typeIndex.ployList),function(e,index){return _c('div',{key:index,staticClass:\"eleItem\"},[_c('div',{staticClass:\"filter-container\",staticStyle:{\"margin-bottom\":\"16px\"}},[_vm._v(\" \"+_vm._s(_vm.$t(\"electrovalence.method\"))+\" \"),_c('el-select',{staticClass:\"filter-item\",attrs:{\"placeholder\":_vm.$t('electrovalence.method')},model:{value:(e.chargeType),callback:function ($$v) {_vm.$set(e, \"chargeType\", $$v)},expression:\"e.chargeType\"}},_vm._l((_vm.methodList),function(option){return _c('el-option',{key:option.label,attrs:{\"label\":option.label,\"value\":option.value}})}),1),(index == _vm.typeIndex.ployList.length - 1)?_c('div',{staticClass:\"add\",on:{\"click\":_vm.addPloyList}},[_vm._v(\" \"+_vm._s(_vm.$t(\"btn.add\"))+\" \")]):_vm._e(),_c('div',{staticClass:\"add\",on:{\"click\":function($event){return _vm.clearPloyList(index)}}},[_vm._v(\" \"+_vm._s(_vm.$t(\"btn.resetting\"))+\" \")]),(_vm.typeIndex.ployList.length > 1)?_c('div',{staticClass:\"add\",on:{\"click\":function($event){return _vm.delPloyList(index)}}},[_vm._v(\" \"+_vm._s(_vm.$t(\"btn.delete\"))+\" \")]):_vm._e()],1),_vm._l((e.list),function(i,idx){return _c('div',{key:idx,staticClass:\"levelBox\"},[_c('div',{staticClass:\"filter-container\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"electrovalence.level\"))+\" \"),_c('el-select',{staticClass:\"filter-item\",staticStyle:{\"width\":\"100px\"},attrs:{\"placeholder\":_vm.$t('electrovalence.level')},model:{value:(i.electricity.volLevelId),callback:function ($$v) {_vm.$set(i.electricity, \"volLevelId\", $$v)},expression:\"i.electricity.volLevelId\"}},_vm._l((_vm.levelsList),function(option){return _c('el-option',{key:option.volLevelId,attrs:{\"label\":option.volLevelName,\"value\":option.volLevelId}})}),1),(idx == e.list.length - 1)?_c('div',{staticClass:\"add\",on:{\"click\":function($event){return _vm.addLevels(e.list)}}},[_vm._v(\" \"+_vm._s(_vm.$t(\"btn.add\"))+\" \")]):_vm._e(),_c('div',{staticClass:\"add\",on:{\"click\":function($event){return _vm.clearLevels(e.list, idx)}}},[_vm._v(\" \"+_vm._s(_vm.$t(\"btn.resetting\"))+\" \")]),(e.list.length > 1)?_c('div',{staticClass:\"add\",on:{\"click\":function($event){return _vm.delLevels(e.list, idx)}}},[_vm._v(\" \"+_vm._s(_vm.$t(\"btn.delete\"))+\" \")]):_vm._e()],1),_c('div',{staticClass:\"row\"},[_c('el-row',[_c('el-col',{staticClass:\"label\",attrs:{\"span\":2}},[_vm._v(\" \"+_vm._s(_vm.$t(\"electrovalence.sharp\")))]),_c('el-col',{staticClass:\"value\",attrs:{\"span\":4}},[_c('div',{staticClass:\"time\"},[_c('i',{staticClass:\"el-icon-plus befored\",on:{\"click\":function($event){return i.spike.push(null)}}}),_c('el-time-picker',{staticClass:\"timeArr\",attrs:{\"is-range\":\"\",\"clearable\":\"\",\"value-format\":\"HH:mm\",\"format\":\"HH:mm\"},model:{value:(i.spike[0]),callback:function ($$v) {_vm.$set(i.spike, 0, $$v)},expression:\"i.spike[0]\"}})],1),_vm._l((i.spike.length - 1),function(e){return _c('div',{key:e,staticClass:\"time\"},[_c('i',{staticClass:\"el-icon-minus befored\",on:{\"click\":function($event){return i.spike.splice(e, 1)}}}),_c('el-time-picker',{staticClass:\"timeArr\",attrs:{\"is-range\":\"\",\"clearable\":\"\",\"value-format\":\"HH:mm\",\"format\":\"HH:mm\"},model:{value:(i.spike[e]),callback:function ($$v) {_vm.$set(i.spike, e, $$v)},expression:\"i.spike[e]\"}})],1)})],2),_c('el-col',{staticClass:\"label\",attrs:{\"span\":2}},[_vm._v(\" \"+_vm._s(_vm.$t(\"electrovalence.peak\"))+\" \")]),_c('el-col',{staticClass:\"value\",attrs:{\"span\":4}},[_c('div',{staticClass:\"time\"},[_c('i',{staticClass:\"el-icon-plus befored\",on:{\"click\":function($event){return i.peak.push(null)}}}),_c('el-time-picker',{staticClass:\"timeArr\",attrs:{\"is-range\":\"\",\"clearable\":\"\",\"value-format\":\"HH:mm\",\"format\":\"HH:mm\"},model:{value:(i.peak[0]),callback:function ($$v) {_vm.$set(i.peak, 0, $$v)},expression:\"i.peak[0]\"}})],1),_vm._l((i.peak.length - 1),function(e){return _c('div',{key:e,staticClass:\"time\"},[_c('i',{staticClass:\"el-icon-minus befored\",on:{\"click\":function($event){return i.peak.splice(e, 1)}}}),_c('el-time-picker',{staticClass:\"timeArr\",attrs:{\"is-range\":\"\",\"clearable\":\"\",\"value-format\":\"HH:mm\",\"format\":\"HH:mm\"},model:{value:(i.peak[e]),callback:function ($$v) {_vm.$set(i.peak, e, $$v)},expression:\"i.peak[e]\"}})],1)})],2),_c('el-col',{staticClass:\"label\",attrs:{\"span\":2}},[_vm._v(\" \"+_vm._s(_vm.$t(\"electrovalence.shoulder\"))+\" \")]),_c('el-col',{staticClass:\"value\",attrs:{\"span\":4}},[_c('div',{staticClass:\"time\"},[_c('i',{staticClass:\"el-icon-plus befored\",on:{\"click\":function($event){return i.flat.push(null)}}}),_c('el-time-picker',{staticClass:\"timeArr\",attrs:{\"is-range\":\"\",\"clearable\":\"\",\"value-format\":\"HH:mm\",\"format\":\"HH:mm\"},model:{value:(i.flat[0]),callback:function ($$v) {_vm.$set(i.flat, 0, $$v)},expression:\"i.flat[0]\"}})],1),_vm._l((i.flat.length - 1),function(e){return _c('div',{key:e,staticClass:\"time\"},[_c('i',{staticClass:\"el-icon-minus befored\",on:{\"click\":function($event){return i.flat.splice(e, 1)}}}),_c('el-time-picker',{staticClass:\"timeArr\",attrs:{\"is-range\":\"\",\"clearable\":\"\",\"value-format\":\"HH:mm\",\"format\":\"HH:mm\"},model:{value:(i.flat[e]),callback:function ($$v) {_vm.$set(i.flat, e, $$v)},expression:\"i.flat[e]\"}})],1)})],2),_c('el-col',{staticClass:\"label\",attrs:{\"span\":2}},[_vm._v(\" \"+_vm._s(_vm.$t(\"electrovalence.offPeak\"))+\" \")]),_c('el-col',{staticClass:\"value\",attrs:{\"span\":4}},[_c('div',{staticClass:\"time\"},[_c('i',{staticClass:\"el-icon-plus befored\",on:{\"click\":function($event){return i.low.push(null)}}}),_c('el-time-picker',{staticClass:\"timeArr\",attrs:{\"is-range\":\"\",\"clearable\":\"\",\"value-format\":\"HH:mm\",\"format\":\"HH:mm\"},model:{value:(i.low[0]),callback:function ($$v) {_vm.$set(i.low, 0, $$v)},expression:\"i.low[0]\"}})],1),_vm._l((i.low.length - 1),function(e){return _c('div',{key:e,staticClass:\"time\"},[_c('i',{staticClass:\"el-icon-minus befored\",on:{\"click\":function($event){return i.low.splice(e, 1)}}}),_c('el-time-picker',{staticClass:\"timeArr\",attrs:{\"is-range\":\"\",\"clearable\":\"\",\"value-format\":\"HH:mm\",\"format\":\"HH:mm\"},model:{value:(i.low[e]),callback:function ($$v) {_vm.$set(i.low, e, $$v)},expression:\"i.low[e]\"}})],1)})],2)],1),_c('el-row',[_c('el-col',{staticClass:\"label\",attrs:{\"span\":2}},[_vm._v(_vm._s(_vm.$t(\"electrovalence.sharps\")))]),_c('el-col',{staticClass:\"value\",attrs:{\"span\":4}},[_c('el-input',{staticClass:\"filter-item\",model:{value:(i.electricity.spikePrice),callback:function ($$v) {_vm.$set(i.electricity, \"spikePrice\", $$v)},expression:\"i.electricity.spikePrice\"}})],1),_c('el-col',{staticClass:\"label\",attrs:{\"span\":2}},[_vm._v(_vm._s(_vm.$t(\"electrovalence.peaks\")))]),_c('el-col',{staticClass:\"value\",attrs:{\"span\":4}},[_c('el-input',{staticClass:\"filter-item\",model:{value:(i.electricity.peakPrice),callback:function ($$v) {_vm.$set(i.electricity, \"peakPrice\", $$v)},expression:\"i.electricity.peakPrice\"}})],1),_c('el-col',{staticClass:\"label\",attrs:{\"span\":2}},[_vm._v(_vm._s(_vm.$t(\"electrovalence.shoulders\")))]),_c('el-col',{staticClass:\"value\",attrs:{\"span\":4}},[_c('el-input',{staticClass:\"filter-item\",model:{value:(i.electricity.flatPrice),callback:function ($$v) {_vm.$set(i.electricity, \"flatPrice\", $$v)},expression:\"i.electricity.flatPrice\"}})],1),_c('el-col',{staticClass:\"label\",attrs:{\"span\":2}},[_vm._v(_vm._s(_vm.$t(\"electrovalence.offPeaks\")))]),_c('el-col',{staticClass:\"value\",attrs:{\"span\":4}},[_c('el-input',{staticClass:\"filter-item\",model:{value:(i.electricity.lowPrice),callback:function ($$v) {_vm.$set(i.electricity, \"lowPrice\", $$v)},expression:\"i.electricity.lowPrice\"}})],1),_c('el-col',{staticClass:\"label\",attrs:{\"span\":2}},[_vm._v(_vm._s(_vm.$t(\"electrovalence.basic\")))]),_c('el-col',{staticClass:\"value\",attrs:{\"span\":4}},[_c('el-input',{staticClass:\"filter-item\",model:{value:(i.electricity.price),callback:function ($$v) {_vm.$set(i.electricity, \"price\", $$v)},expression:\"i.electricity.price\"}})],1),(e.chargeType == 2)?_c('div',[_c('el-col',{staticClass:\"label\",attrs:{\"span\":2}},[_vm._v(_vm._s(_vm.$t(\"electrovalence.demand\")))]),_c('el-col',{staticClass:\"value\",attrs:{\"span\":4}},[_c('el-input',{staticClass:\"filter-item\",model:{value:(i.electricity.demandPrice),callback:function ($$v) {_vm.$set(i.electricity, \"demandPrice\", $$v)},expression:\"i.electricity.demandPrice\"}})],1),_c('el-col',{staticClass:\"label\",attrs:{\"span\":2}},[_vm._v(_vm._s(_vm.$t(\"electrovalence.capacity\")))]),_c('el-col',{staticClass:\"value\",attrs:{\"span\":4}},[_c('el-input',{staticClass:\"filter-item\",model:{value:(i.electricity.capacityPrice),callback:function ($$v) {_vm.$set(i.electricity, \"capacityPrice\", $$v)},expression:\"i.electricity.capacityPrice\"}})],1)],1):_vm._e()],1)],1)])})],2)}),_c('div',{staticClass:\"filter-container bottom\"},[_c('span',{staticClass:\"btn-item\",on:{\"click\":_vm.goOut}},[_vm._v(_vm._s(_vm.$t(\"btn.cancel\")))]),_c('span',{staticClass:\"btn-item\",on:{\"click\":function($event){_vm.ployId ? _vm.updateData() : _vm.createData()}}},[_vm._v(_vm._s(_vm.$t(\"btn.define\")))])])],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!-- 设备管理-柜内设备 -->\r\n<template>\r\n <div class=\"elebox\">\r\n <div class=\"filter-container title\">\r\n {{ ployId ? $t(\"electrovalence.update\") : $t(\"electrovalence.create\") }}\r\n </div>\r\n <div class=\"filter-container\">\r\n {{ $t(\"listQuery.deptId\") }}\r\n <el-cascader\r\n :show-all-levels=\"false\"\r\n v-model=\"form.deptId\"\r\n class=\"filter-item\"\r\n :options=\"deptIdList\"\r\n :props=\"{ checkStrictly: true, emitPath: false, props: {} }\"\r\n clearable\r\n />\r\n {{ $t(\"electrovalence.ployName\") }}\r\n <el-input\r\n v-model=\"form.ployName\"\r\n :placeholder=\"$t('electrovalence.ployName')\"\r\n class=\"filter-item\"\r\n />\r\n {{ $t(\"electrovalence.period\") }}\r\n <el-date-picker\r\n v-model=\"arrayTime\"\r\n class=\"long\"\r\n type=\"daterange\"\r\n value-format=\"yyyy-MM-dd HH:mm:ss\"\r\n range-separator=\"-\"\r\n :start-placeholder=\"$t('startTime')\"\r\n :end-placeholder=\"$t('endTime')\"\r\n />\r\n\r\n {{ $t(\"electrovalence.areas\") }}\r\n <el-cascader\r\n v-model=\"areaId\"\r\n class=\"long\"\r\n collapse-tags\r\n :options=\"areaIdList\"\r\n :placeholder=\"$t('listQuery.areaId')\"\r\n @change=\"getArea\"\r\n :props=\"{\r\n multiple: true,\r\n emitPath: false\r\n }\"\r\n clearable\r\n />\r\n </div>\r\n <div class=\"filter-container tabs\">\r\n <div\r\n v-for=\"i in checkTypes\"\r\n :key=\"i.eleTypeId\"\r\n class=\"tab\"\r\n :class=\"{ clicked: typeIndex.eleTypeId == i.eleTypeId }\"\r\n @click=\"typeIndex = i\"\r\n >\r\n {{ i.eleTypeName }}\r\n </div>\r\n <el-popover placement=\"right\" width=\"280\" v-model=\"visible\">\r\n <div class=\"\">\r\n <div class=\"name\">{{ $t(\"electrovalence.checkType\") }}</div>\r\n <el-checkbox-group v-model=\"checkType\">\r\n <el-checkbox\r\n v-for=\"i in typesList\"\r\n :key=\"i.eleTypeId\"\r\n :label=\"i.eleTypeId\"\r\n >\r\n {{ i.eleTypeName }}</el-checkbox\r\n >\r\n </el-checkbox-group>\r\n </div>\r\n <div style=\"text-align: right; margin: 0\">\r\n <el-button size=\"mini\" type=\"text\" @click=\"visible = false\">\r\n {{ $t(\"btn.cancel\") }}</el-button\r\n >\r\n <el-button type=\"primary\" size=\"mini\" @click=\"getType\">\r\n {{ $t(\"btn.define\") }}\r\n </el-button>\r\n </div>\r\n <div class=\"add\" slot=\"reference\">\r\n + {{ $t(\"electrovalence.addCheckType\") }}\r\n </div>\r\n </el-popover>\r\n </div>\r\n\r\n <div class=\"eleItem\" v-for=\"(e, index) in typeIndex.ployList\" :key=\"index\">\r\n <div class=\"filter-container\" style=\"margin-bottom: 16px\">\r\n {{ $t(\"electrovalence.method\") }}\r\n <el-select\r\n v-model=\"e.chargeType\"\r\n :placeholder=\"$t('electrovalence.method')\"\r\n class=\"filter-item\"\r\n >\r\n <el-option\r\n v-for=\"option in methodList\"\r\n :key=\"option.label\"\r\n :label=\"option.label\"\r\n :value=\"option.value\"\r\n ></el-option>\r\n </el-select>\r\n <div\r\n class=\"add\"\r\n @click=\"addPloyList\"\r\n v-if=\"index == typeIndex.ployList.length - 1\"\r\n >\r\n {{ $t(\"btn.add\") }}\r\n </div>\r\n <div class=\"add\" @click=\"clearPloyList(index)\">\r\n {{ $t(\"btn.resetting\") }}\r\n </div>\r\n <div\r\n class=\"add\"\r\n @click=\"delPloyList(index)\"\r\n v-if=\"typeIndex.ployList.length > 1\"\r\n >\r\n {{ $t(\"btn.delete\") }}\r\n </div>\r\n </div>\r\n <div class=\"levelBox\" v-for=\"(i, idx) in e.list\" :key=\"idx\">\r\n <div class=\"filter-container\">\r\n {{ $t(\"electrovalence.level\") }}\r\n <el-select\r\n v-model=\"i.electricity.volLevelId\"\r\n :placeholder=\"$t('electrovalence.level')\"\r\n class=\"filter-item\"\r\n style=\"width: 100px\"\r\n >\r\n <el-option\r\n v-for=\"option in levelsList\"\r\n :key=\"option.volLevelId\"\r\n :label=\"option.volLevelName\"\r\n :value=\"option.volLevelId\"\r\n ></el-option>\r\n </el-select>\r\n <div\r\n class=\"add\"\r\n @click=\"addLevels(e.list)\"\r\n v-if=\"idx == e.list.length - 1\"\r\n >\r\n {{ $t(\"btn.add\") }}\r\n </div>\r\n <div class=\"add\" @click=\"clearLevels(e.list, idx)\">\r\n {{ $t(\"btn.resetting\") }}\r\n </div>\r\n <div\r\n class=\"add\"\r\n @click=\"delLevels(e.list, idx)\"\r\n v-if=\"e.list.length > 1\"\r\n >\r\n {{ $t(\"btn.delete\") }}\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <el-row>\r\n <el-col :span=\"2\" class=\"label\">\r\n {{ $t(\"electrovalence.sharp\") }}</el-col\r\n >\r\n\r\n <el-col :span=\"4\" class=\"value\">\r\n <div class=\"time\">\r\n <i class=\"el-icon-plus befored\" @click=\"i.spike.push(null)\" />\r\n <el-time-picker\r\n is-range\r\n class=\"timeArr\"\r\n v-model=\"i.spike[0]\"\r\n clearable\r\n value-format=\"HH:mm\"\r\n format=\"HH:mm\"\r\n />\r\n </div>\r\n <div class=\"time\" v-for=\"e in i.spike.length - 1\" :key=\"e\">\r\n <i\r\n class=\"el-icon-minus befored\"\r\n @click=\"i.spike.splice(e, 1)\"\r\n />\r\n <el-time-picker\r\n is-range\r\n class=\"timeArr\"\r\n v-model=\"i.spike[e]\"\r\n clearable\r\n value-format=\"HH:mm\"\r\n format=\"HH:mm\"\r\n />\r\n </div>\r\n </el-col>\r\n <el-col :span=\"2\" class=\"label\">\r\n {{ $t(\"electrovalence.peak\") }}\r\n </el-col>\r\n <el-col :span=\"4\" class=\"value\">\r\n <div class=\"time\">\r\n <i class=\"el-icon-plus befored\" @click=\"i.peak.push(null)\" />\r\n <el-time-picker\r\n is-range\r\n class=\"timeArr\"\r\n v-model=\"i.peak[0]\"\r\n clearable\r\n value-format=\"HH:mm\"\r\n format=\"HH:mm\"\r\n />\r\n </div>\r\n <div class=\"time\" v-for=\"e in i.peak.length - 1\" :key=\"e\">\r\n <i class=\"el-icon-minus befored\" @click=\"i.peak.splice(e, 1)\" />\r\n <el-time-picker\r\n is-range\r\n class=\"timeArr\"\r\n v-model=\"i.peak[e]\"\r\n clearable\r\n value-format=\"HH:mm\"\r\n format=\"HH:mm\"\r\n />\r\n </div>\r\n </el-col>\r\n\r\n <el-col :span=\"2\" class=\"label\">\r\n {{ $t(\"electrovalence.shoulder\") }}\r\n </el-col>\r\n <el-col :span=\"4\" class=\"value\">\r\n <div class=\"time\">\r\n <i class=\"el-icon-plus befored\" @click=\"i.flat.push(null)\" />\r\n <el-time-picker\r\n is-range\r\n class=\"timeArr\"\r\n v-model=\"i.flat[0]\"\r\n clearable\r\n value-format=\"HH:mm\"\r\n format=\"HH:mm\"\r\n />\r\n </div>\r\n <div class=\"time\" v-for=\"e in i.flat.length - 1\" :key=\"e\">\r\n <i class=\"el-icon-minus befored\" @click=\"i.flat.splice(e, 1)\" />\r\n <el-time-picker\r\n is-range\r\n class=\"timeArr\"\r\n v-model=\"i.flat[e]\"\r\n clearable\r\n value-format=\"HH:mm\"\r\n format=\"HH:mm\"\r\n />\r\n </div>\r\n </el-col>\r\n <el-col :span=\"2\" class=\"label\">\r\n {{ $t(\"electrovalence.offPeak\") }}\r\n </el-col>\r\n <el-col :span=\"4\" class=\"value\">\r\n <div class=\"time\">\r\n <i class=\"el-icon-plus befored\" @click=\"i.low.push(null)\" />\r\n <el-time-picker\r\n is-range\r\n class=\"timeArr\"\r\n v-model=\"i.low[0]\"\r\n clearable\r\n value-format=\"HH:mm\"\r\n format=\"HH:mm\"\r\n />\r\n </div>\r\n <div class=\"time\" v-for=\"e in i.low.length - 1\" :key=\"e\">\r\n <i class=\"el-icon-minus befored\" @click=\"i.low.splice(e, 1)\" />\r\n <el-time-picker\r\n is-range\r\n class=\"timeArr\"\r\n v-model=\"i.low[e]\"\r\n clearable\r\n value-format=\"HH:mm\"\r\n format=\"HH:mm\"\r\n />\r\n </div>\r\n </el-col>\r\n </el-row>\r\n <el-row>\r\n <el-col :span=\"2\" class=\"label\">{{\r\n $t(\"electrovalence.sharps\")\r\n }}</el-col>\r\n <el-col :span=\"4\" class=\"value\">\r\n <el-input\r\n v-model=\"i.electricity.spikePrice\"\r\n class=\"filter-item\"\r\n />\r\n </el-col>\r\n <el-col :span=\"2\" class=\"label\">{{\r\n $t(\"electrovalence.peaks\")\r\n }}</el-col>\r\n <el-col :span=\"4\" class=\"value\">\r\n <el-input v-model=\"i.electricity.peakPrice\" class=\"filter-item\" />\r\n </el-col>\r\n\r\n <el-col :span=\"2\" class=\"label\">{{\r\n $t(\"electrovalence.shoulders\")\r\n }}</el-col>\r\n <el-col :span=\"4\" class=\"value\">\r\n <el-input v-model=\"i.electricity.flatPrice\" class=\"filter-item\" />\r\n </el-col>\r\n\r\n <el-col :span=\"2\" class=\"label\">{{\r\n $t(\"electrovalence.offPeaks\")\r\n }}</el-col>\r\n <el-col :span=\"4\" class=\"value\">\r\n <el-input v-model=\"i.electricity.lowPrice\" class=\"filter-item\" />\r\n </el-col>\r\n <el-col :span=\"2\" class=\"label\">{{\r\n $t(\"electrovalence.basic\")\r\n }}</el-col>\r\n <el-col :span=\"4\" class=\"value\">\r\n <el-input v-model=\"i.electricity.price\" class=\"filter-item\" />\r\n </el-col>\r\n <div v-if=\"e.chargeType == 2\">\r\n <el-col :span=\"2\" class=\"label\">{{\r\n $t(\"electrovalence.demand\")\r\n }}</el-col>\r\n <el-col :span=\"4\" class=\"value\">\r\n <el-input\r\n v-model=\"i.electricity.demandPrice\"\r\n class=\"filter-item\"\r\n />\r\n </el-col>\r\n <el-col :span=\"2\" class=\"label\">{{\r\n $t(\"electrovalence.capacity\")\r\n }}</el-col>\r\n <el-col :span=\"4\" class=\"value\">\r\n <el-input\r\n v-model=\"i.electricity.capacityPrice\"\r\n class=\"filter-item\"\r\n />\r\n </el-col>\r\n </div>\r\n </el-row>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"filter-container bottom\">\r\n <span class=\"btn-item\" @click=\"goOut\">{{ $t(\"btn.cancel\") }}</span>\r\n <span class=\"btn-item\" @click=\"ployId ? updateData() : createData()\">{{\r\n $t(\"btn.define\")\r\n }}</span>\r\n </div>\r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport {\r\n addElectricityPloy,\r\n updateElectricityPloy,\r\n getElectricityLevels,\r\n getElectricityPloyByPloyId,\r\n getElectricityTypes\r\n} from \"@/api/electrovalence\"\r\nimport { getDeptSubByDeptId } from \"@/api/department\"\r\nimport { getAreaSubByAreaId } from \"@/api/area\"\r\nimport permission from \"@/directive/permission/index.js\" // 权限判断指令\r\n\r\nexport default {\r\n directives: { permission },\r\n props: {\r\n ployId: {\r\n required: true,\r\n type: [String, Number]\r\n },\r\n goOut: {\r\n required: true,\r\n type: Function\r\n }\r\n },\r\n data() {\r\n return {\r\n createStatus: false,\r\n form: {\r\n deptId: null,\r\n endTime: null,\r\n ployId: null,\r\n ployName: null,\r\n startTime: null\r\n },\r\n ployAreaList: [],\r\n methodList: [\r\n { label: \"单一制\", value: 1 },\r\n { label: \"两部制\", value: 2 }\r\n ],\r\n visible: false,\r\n areaIdList: [],\r\n typesList: [],\r\n checkType: [],\r\n typeIndex: { ployList: [] },\r\n checkTypes: [{}],\r\n levelsList: [],\r\n checkLevel: [],\r\n arrayTime: [],\r\n deptIdList: [],\r\n areaId: []\r\n }\r\n },\r\n watch: {\r\n arrayTime(val) {\r\n console.log(val, \"HH:mm:ss\")\r\n this.form.startTime = val && val && val[0]\r\n this.form.endTime = val && val && val[1]\r\n }\r\n },\r\n created() {\r\n // this.getList()\r\n\r\n this.getBaseList()\r\n },\r\n methods: {\r\n getArea(data) {\r\n this.ployAreaList = this.ployAreaList.filter((e) =>\r\n data.includes(e.areaId)\r\n )\r\n const list = this.ployAreaList.map((e) => e.areaId)\r\n data.forEach((e) => {\r\n if (!list.includes(e)) {\r\n this.ployAreaList.push({\r\n ployId: this.form.ployId,\r\n areaId: e\r\n })\r\n }\r\n })\r\n },\r\n getType() {\r\n this.visible = false\r\n const checkTypes = this.checkTypes.filter((e) =>\r\n this.checkType.includes(e.eleTypeId)\r\n )\r\n const list = checkTypes.map((e) => e.eleTypeId)\r\n\r\n this.typesList.forEach((e) => {\r\n if (\r\n this.checkType.includes(e.eleTypeId) &&\r\n !list.includes(e.eleTypeId)\r\n ) {\r\n checkTypes.push({\r\n eleTypeId: e.eleTypeId,\r\n eleTypeName: e.eleTypeName,\r\n ployList: [\r\n {\r\n chargeType: 1,\r\n list: [\r\n {\r\n electricity: {\r\n eleTypeId: e.eleTypeId,\r\n volLevelId:\r\n this.levelsList[0] && this.levelsList[0].volLevelId,\r\n chargeType: 1,\r\n spikePrice: null,\r\n peakPrice: null,\r\n flatPrice: null,\r\n lowPrice: null,\r\n price: null,\r\n demandPrice: null,\r\n capacityPrice: null\r\n },\r\n spike: [null],\r\n peak: [null],\r\n flat: [null],\r\n low: [null]\r\n }\r\n ]\r\n }\r\n ]\r\n })\r\n }\r\n })\r\n this.checkTypes = checkTypes\r\n },\r\n async getBaseList() {\r\n // 获取区域列表\r\n getAreaSubByAreaId().then((res) => {\r\n this.areaIdList = res.data && this.getAreaIdList(res.data)\r\n console.log(this.areaIdList, \" this.areaIdList \")\r\n })\r\n\r\n getDeptSubByDeptId().then((res) => {\r\n this.deptIdList = res.data && this.getdeptIdList(res.data)\r\n })\r\n // 获取电力等级\r\n await getElectricityLevels().then((res) => {\r\n this.levelsList = res.data\r\n })\r\n // 获取电力分类\r\n await getElectricityTypes().then((res) => {\r\n this.typesList = res.data\r\n })\r\n if (this.ployId) {\r\n this.getList()\r\n } else {\r\n const e = this.typesList[0] || {}\r\n this.checkTypes = [\r\n {\r\n eleTypeId: e.eleTypeId,\r\n eleTypeName: e.eleTypeName,\r\n ployList: [\r\n {\r\n chargeType: 1,\r\n list: [\r\n {\r\n electricity: {\r\n eleTypeId: e.eleTypeId,\r\n volLevelId:\r\n this.levelsList[0] && this.levelsList[0].volLevelId,\r\n chargeType: 1,\r\n spikePrice: null,\r\n peakPrice: null,\r\n flatPrice: null,\r\n lowPrice: null,\r\n price: null,\r\n demandPrice: null,\r\n capacityPrice: null\r\n },\r\n spike: [null],\r\n peak: [null],\r\n flat: [null],\r\n low: [null]\r\n }\r\n ]\r\n }\r\n ]\r\n }\r\n ]\r\n this.checkType = [e.eleTypeId]\r\n this.typeIndex = this.checkTypes[0]\r\n }\r\n },\r\n addPloyList() {\r\n this.typeIndex.ployList.push({\r\n chargeType: null,\r\n list: [\r\n {\r\n electricity: {\r\n eleTypeId: this.typeIndex.eleTypeId,\r\n volLevelId: null,\r\n chargeType: null,\r\n spikePrice: null,\r\n peakPrice: null,\r\n flatPrice: null,\r\n lowPrice: null,\r\n price: null,\r\n demandPrice: null,\r\n capacityPrice: null\r\n },\r\n spike: [null],\r\n peak: [null],\r\n flat: [null],\r\n low: [null]\r\n }\r\n ]\r\n })\r\n },\r\n clearPloyList(index) {\r\n this.typeIndex.ployList.splice(index, 1, {\r\n chargeType: null,\r\n list: [\r\n {\r\n electricity: {\r\n eleTypeId: this.typeIndex.eleTypeId,\r\n volLevelId: null,\r\n chargeType: null,\r\n spikePrice: null,\r\n peakPrice: null,\r\n flatPrice: null,\r\n lowPrice: null,\r\n price: null,\r\n demandPrice: null,\r\n capacityPrice: null\r\n },\r\n spike: [null],\r\n peak: [null],\r\n flat: [null],\r\n low: [null]\r\n }\r\n ]\r\n })\r\n },\r\n delPloyList(index) {\r\n this.typeIndex.ployList.splice(index, 1)\r\n },\r\n addLevels(list) {\r\n list.push({\r\n electricity: {\r\n eleTypeId: this.typeIndex.eleTypeId,\r\n volLevelId: null,\r\n spikePrice: null,\r\n peakPrice: null,\r\n flatPrice: null,\r\n lowPrice: null,\r\n price: null,\r\n demandPrice: null,\r\n capacityPrice: null\r\n },\r\n spike: [null],\r\n peak: [null],\r\n flat: [null],\r\n low: [null]\r\n })\r\n },\r\n clearLevels(list, index) {\r\n list.splice(index, 1, {\r\n electricity: {\r\n eleTypeId: this.typeIndex.eleTypeId,\r\n volLevelId: null,\r\n spikePrice: null,\r\n peakPrice: null,\r\n flatPrice: null,\r\n lowPrice: null,\r\n price: null,\r\n demandPrice: null,\r\n capacityPrice: null\r\n },\r\n spike: [null],\r\n peak: [null],\r\n flat: [null],\r\n low: [null]\r\n })\r\n },\r\n delLevels(list, index) {\r\n list.splice(index, 1)\r\n },\r\n // 数组遍历\r\n getAreaIdList(data) {\r\n if (!data.length) {\r\n data = [data]\r\n }\r\n const list = data.map((res) => {\r\n const obj = {}\r\n if (res.subList) {\r\n obj.children = this.getAreaIdList(res.subList)\r\n obj.label = res.areaName\r\n obj.value = res.areaId\r\n return obj\r\n } else {\r\n obj.label = res.areaName\r\n obj.value = res.areaId\r\n return obj\r\n }\r\n })\r\n return list\r\n },\r\n // 数组遍历\r\n getdeptIdList(data) {\r\n if (!data.length) {\r\n data = [data]\r\n }\r\n const list = data.map((res) => {\r\n const obj = {}\r\n if (res.subBeanList) {\r\n obj.children = this.getdeptIdList(res.subBeanList)\r\n obj.label = res.nodeBean.deptName\r\n obj.value = res.nodeBean.deptId\r\n return obj\r\n } else {\r\n obj.label = res.nodeBean.deptName\r\n obj.value = res.nodeBean.deptId\r\n return obj\r\n }\r\n })\r\n return list\r\n },\r\n // 清空搜索选项,重置表格\r\n clearListQuery() {\r\n this.listQuery = {\r\n siteCode: null,\r\n cabinetCode: null,\r\n deptId: null,\r\n deviceName: null,\r\n curPage: 1,\r\n pageSize: 10\r\n }\r\n this.getList()\r\n },\r\n getList() {\r\n getElectricityPloyByPloyId({ ployId: this.ployId }).then((res) => {\r\n console.log(res.data)\r\n this.form = res.data.electricityPloy\r\n this.arrayTime = [\r\n res.data.electricityPloy.startTime,\r\n res.data.electricityPloy.endTime\r\n ]\r\n this.areaId = res.data.ployAreaList.map((e) => e.areaId)\r\n this.ployAreaList = res.data.ployAreaList\r\n const checkTypes = []\r\n res.data.ployList.forEach((e) => {\r\n const eleTypeId = checkTypes.map((e) => e.eleTypeId)\r\n const spike = [],\r\n peak = [],\r\n low = [],\r\n flat = []\r\n e.timeList.forEach((i) => {\r\n if (i.typeId == 1) {\r\n spike.push([i.startTime, i.endTime])\r\n }\r\n if (i.typeId == 2) {\r\n peak.push([i.startTime, i.endTime])\r\n }\r\n if (i.typeId == 3) {\r\n low.push([i.startTime, i.endTime])\r\n }\r\n if (i.typeId == 4) {\r\n flat.push([i.startTime, i.endTime])\r\n }\r\n })\r\n e.spike = (spike.length > 0 && spike) || [[]]\r\n e.peak = (peak.length > 0 && peak) || [[]]\r\n e.low = (low.length > 0 && low) || [[]]\r\n e.flat = (flat.length > 0 && flat) || [[]]\r\n console.log(e.spike, e.peak, e.low, e.flat, \"----------\")\r\n if (eleTypeId.includes(e.electricity.eleTypeId)) {\r\n checkTypes.forEach((i) => {\r\n if (i.eleTypeId == e.electricity.eleTypeId) {\r\n const chargeType = i.ployList.map((e) => e.chargeType)\r\n if (chargeType.includes(e.electricity.chargeType)) {\r\n checkTypes.ployList.forEach((v) => {\r\n if (v.chargeType == e.electricity.chargeType) {\r\n v.list.push(e)\r\n }\r\n })\r\n } else {\r\n i.ployList.push({\r\n chargeType: e.electricity.chargeType,\r\n list: [e]\r\n })\r\n }\r\n }\r\n })\r\n } else {\r\n console.log(e.spike, e, \"----------\")\r\n console.log(e, \"-------------1----------\")\r\n let eleTypeName = null\r\n let eleTypeId = e.electricity.eleTypeId || 1\r\n this.typesList.forEach((x) => {\r\n if (eleTypeId == x.eleTypeId) {\r\n eleTypeName = x.eleTypeName\r\n }\r\n })\r\n checkTypes.push({\r\n eleTypeId: eleTypeId,\r\n eleTypeName: eleTypeName || 1,\r\n ployList: [\r\n {\r\n chargeType: e.electricity.chargeType,\r\n list: [e]\r\n }\r\n ]\r\n })\r\n }\r\n })\r\n this.checkTypes = checkTypes\r\n this.checkType = checkTypes.map((e) => e.eleTypeId)\r\n this.typeIndex = this.checkTypes[0]\r\n console.log(this.checkTypes)\r\n })\r\n },\r\n createData() {\r\n if (this.createStatus) {\r\n return\r\n }\r\n let dataNeed = false\r\n const data = {\r\n electricityPloy: {\r\n deptId: this.form.deptId,\r\n endTime: this.form.endTime,\r\n ployName: this.form.ployName,\r\n startTime: this.form.startTime\r\n },\r\n ployAreaList: this.ployAreaList,\r\n ployList: []\r\n }\r\n for (let key in data.electricityPloy) {\r\n if (!data.electricityPloy[key]) {\r\n dataNeed = true\r\n }\r\n }\r\n if (data.ployAreaList.length < 1) {\r\n dataNeed = true\r\n }\r\n this.checkTypes.forEach((e) => {\r\n e.ployList.forEach((i) => {\r\n i.list.forEach((v) => {\r\n console.log(e, i, v, \"electricity\")\r\n const timeList = []\r\n v.spike.forEach((spike) => {\r\n if (spike) {\r\n timeList.push({\r\n startTime: spike[0],\r\n endTime: spike[1],\r\n typeId: 1\r\n })\r\n } else {\r\n dataNeed = true\r\n return\r\n }\r\n })\r\n v.peak.forEach((peak) => {\r\n if (peak) {\r\n timeList.push({\r\n startTime: peak[0],\r\n endTime: peak[1],\r\n typeId: 2\r\n })\r\n } else {\r\n dataNeed = true\r\n return\r\n }\r\n })\r\n v.low.forEach((low) => {\r\n if (low) {\r\n timeList.push({\r\n startTime: low[0],\r\n endTime: low[1],\r\n typeId: 3\r\n })\r\n } else {\r\n dataNeed = true\r\n return\r\n }\r\n })\r\n v.flat.forEach((flat) => {\r\n if (flat) {\r\n timeList.push({\r\n startTime: flat[0],\r\n endTime: flat[1],\r\n typeId: 4\r\n })\r\n } else {\r\n dataNeed = true\r\n return\r\n }\r\n })\r\n const electricity = {\r\n eleTypeId: e.eleTypeId,\r\n chargeType: i.chargeType,\r\n flatPrice: v.electricity.flatPrice,\r\n lowPrice: v.electricity.lowPrice,\r\n peakPrice: v.electricity.peakPrice,\r\n price: v.electricity.price,\r\n spikePrice: v.electricity.spikePrice,\r\n volLevelId: v.electricity.volLevelId\r\n }\r\n if (electricity.chargeType == 2) {\r\n electricity.demandPrice = v.electricity.demandPrice\r\n electricity.capacityPrice = v.electricity.capacityPrice\r\n }\r\n\r\n for (let key in electricity) {\r\n if (!electricity[key]) {\r\n console.log(key, \"-----------\")\r\n if (key !== \"eleId\") {\r\n dataNeed = true\r\n }\r\n }\r\n }\r\n data.ployList.push({ electricity, timeList })\r\n })\r\n })\r\n })\r\n // 新增\r\n if (dataNeed) {\r\n this.dataNeed()\r\n return\r\n }\r\n this.createStatus = true\r\n addElectricityPloy(data)\r\n .then((res) => {\r\n if (res.status == 200) {\r\n this.createStatus = false\r\n this.$notify({\r\n title: this.$t(\"title.success\"),\r\n message: this.$t(\"title.addSuccess\"),\r\n type: \"success\",\r\n duration: 3000\r\n })\r\n this.goOut()\r\n }\r\n })\r\n .catch(() => {\r\n this.createStatus = false\r\n })\r\n },\r\n dataNeed() {\r\n this.$notify({\r\n title: this.$t(\"title.pointOut\"),\r\n message: this.$t(\"electrovalence.dataNeed\"),\r\n type: \"warning\",\r\n duration: 3000\r\n })\r\n },\r\n updateData() {\r\n // 编辑\r\n if (this.createStatus) {\r\n return\r\n }\r\n let dataNeed = false\r\n const data = {\r\n electricityPloy: {\r\n ployId: this.form.ployId,\r\n deptId: this.form.deptId,\r\n endTime: this.form.endTime,\r\n ployName: this.form.ployName,\r\n startTime: this.form.startTime\r\n },\r\n ployAreaList: this.ployAreaList,\r\n ployList: []\r\n }\r\n for (let key in data.electricityPloy) {\r\n if (!data.electricityPloy[key]) {\r\n dataNeed = true\r\n }\r\n }\r\n if (data.ployAreaList.length < 1) {\r\n dataNeed = true\r\n }\r\n this.checkTypes.forEach((e) => {\r\n e.ployList.forEach((i) => {\r\n i.list.forEach((v) => {\r\n console.log(e, i, v, \"electricity\")\r\n const timeList = []\r\n v.spike.forEach((spike) => {\r\n if (spike) {\r\n timeList.push({\r\n eleId: v.electricity.eleId,\r\n startTime: spike[0],\r\n endTime: spike[1],\r\n typeId: 1\r\n })\r\n } else {\r\n dataNeed = true\r\n return\r\n }\r\n })\r\n v.peak.forEach((peak) => {\r\n if (peak) {\r\n timeList.push({\r\n eleId: v.electricity.eleId,\r\n startTime: peak[0],\r\n endTime: peak[1],\r\n typeId: 2\r\n })\r\n } else {\r\n dataNeed = true\r\n return\r\n }\r\n })\r\n v.low.forEach((low) => {\r\n if (low) {\r\n timeList.push({\r\n eleId: v.electricity.eleId,\r\n startTime: low[0],\r\n endTime: low[1],\r\n typeId: 3\r\n })\r\n } else {\r\n dataNeed = true\r\n return\r\n }\r\n })\r\n v.flat.forEach((flat) => {\r\n if (flat) {\r\n timeList.push({\r\n eleId: v.electricity.eleId,\r\n startTime: flat[0],\r\n endTime: flat[1],\r\n typeId: 4\r\n })\r\n } else {\r\n dataNeed = true\r\n return\r\n }\r\n })\r\n const electricity = {\r\n eleId: v.electricity.eleId,\r\n ployId: this.form.ployId,\r\n eleTypeId: e.eleTypeId,\r\n chargeType: i.chargeType,\r\n flatPrice: v.electricity.flatPrice,\r\n lowPrice: v.electricity.lowPrice,\r\n peakPrice: v.electricity.peakPrice,\r\n price: v.electricity.price,\r\n spikePrice: v.electricity.spikePrice,\r\n volLevelId: v.electricity.volLevelId\r\n }\r\n if (electricity.chargeType == 2) {\r\n electricity.demandPrice = v.electricity.demandPrice\r\n electricity.capacityPrice = v.electricity.capacityPrice\r\n }\r\n for (let key in electricity) {\r\n if (!electricity[key]) {\r\n console.log(key, \"-----------\")\r\n if (key !== \"eleId\") {\r\n dataNeed = true\r\n }\r\n }\r\n }\r\n data.ployList.push({ electricity, timeList })\r\n })\r\n })\r\n })\r\n // 新增\r\n if (dataNeed) {\r\n this.dataNeed()\r\n return\r\n }\r\n this.createStatus = true\r\n updateElectricityPloy(data)\r\n .then((res) => {\r\n if (res.status == 200) {\r\n this.$notify({\r\n title: this.$t(\"title.success\"),\r\n message: this.$t(\"title.updateSuccess\"),\r\n type: \"success\",\r\n duration: 3000\r\n })\r\n this.goOut()\r\n }\r\n })\r\n .catch(() => {\r\n this.createStatus = false\r\n })\r\n },\r\n resetForm() {\r\n // 重置表单\r\n for (var key in this.form) {\r\n this.form[key] = null\r\n }\r\n }\r\n }\r\n}\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n.filter-container {\r\n font-size: 14px;\r\n font-family: Microsoft YaHei;\r\n font-weight: 400;\r\n color: #d2ffff;\r\n .filter-item {\r\n margin-left: 10px;\r\n }\r\n .long {\r\n min-width: 300px;\r\n margin: 0 10px;\r\n }\r\n}\r\n.title {\r\n font-size: 16px;\r\n font-family: Microsoft YaHei;\r\n font-weight: 400;\r\n color: #01ffe9;\r\n margin-bottom: 10px;\r\n}\r\n.tabs {\r\n margin-top: 36px;\r\n margin-left: 16px;\r\n width: calc(100% - 24px);\r\n\r\n padding: 0;\r\n height: 32px;\r\n border-bottom: 1px solid #00a696;\r\n .tab {\r\n min-width: 160px;\r\n text-align: center;\r\n padding: 0 20px;\r\n line-height: 32px;\r\n height: 32px;\r\n border: 1px solid #00a696;\r\n font-size: 14px;\r\n font-family: Microsoft YaHei;\r\n font-weight: 400;\r\n color: #00bfad;\r\n border-radius: 2px 2px 0px 0px;\r\n cursor: pointer;\r\n &.clicked {\r\n color: #ffffff;\r\n background: #02e2d4;\r\n border: 1px solid #02e2d4;\r\n }\r\n }\r\n .add {\r\n cursor: pointer;\r\n padding: 0 20px;\r\n font-size: 14px;\r\n font-family: Microsoft YaHei;\r\n font-weight: 400;\r\n color: #02e2d4;\r\n }\r\n}\r\n.eleItem {\r\n margin-top: 30px;\r\n line-height: 36px;\r\n .add {\r\n cursor: pointer;\r\n padding: 0 5px;\r\n font-size: 14px;\r\n font-family: Microsoft YaHei;\r\n font-weight: 400;\r\n color: #02e2d4;\r\n }\r\n .levelBox {\r\n width: calc(100% - 88px);\r\n margin-left: 80px;\r\n display: flex;\r\n padding: 16px;\r\n background: rgba(7, 69, 74, 0.8);\r\n .filter-container {\r\n padding: 0;\r\n width: 310px;\r\n align-items: inherit;\r\n }\r\n .row {\r\n flex: 1;\r\n color: #d2ffff;\r\n font-size: 14px;\r\n font-family: Microsoft YaHei;\r\n font-weight: 400;\r\n color: #d2ffff;\r\n .label {\r\n text-indent: 10px;\r\n white-space: nowrap;\r\n }\r\n .value {\r\n padding-left: 20px;\r\n }\r\n .time {\r\n position: relative;\r\n .befored {\r\n cursor: pointer;\r\n position: absolute;\r\n left: -20px;\r\n top: calc(50% - 7px);\r\n &:hover {\r\n color: #02e2d4;\r\n }\r\n }\r\n }\r\n }\r\n }\r\n .timeArr {\r\n width: 100%;\r\n height: 28px;\r\n padding-right: 0;\r\n line-height: 18px;\r\n }\r\n}\r\n.bottom {\r\n margin-top: 36px;\r\n margin-left: 16px;\r\n padding: 30px;\r\n width: calc(100% - 24px);\r\n border-top: 1px solid #00a696;\r\n justify-content: center;\r\n .btn-item {\r\n width: 100px;\r\n height: 36px;\r\n border-radius: 2px;\r\n }\r\n}\r\n</style>\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=0fefc438&scoped=true&\"\nimport script from \"./index.vue?vue&type=script&lang=js&\"\nexport * from \"./index.vue?vue&type=script&lang=js&\"\nimport style0 from \"./index.vue?vue&type=style&index=0&id=0fefc438&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"0fefc438\",\n null\n \n)\n\nexport default component.exports","<!-- 设备管理-柜内设备 -->\r\n<template>\r\n <div class=\"app-container\">\r\n <div class=\"decorate\"></div>\r\n\r\n <div v-show=\"!addDialog\">\r\n <div class=\"filter-container\">\r\n <div\r\n class=\"tab left\"\r\n :class=\"{ clicked: type == 'area' }\"\r\n @click=\"type = 'area'\"\r\n >\r\n {{ $t(\"electrovalence.area\") }}\r\n </div>\r\n <div\r\n class=\"tab right\"\r\n :class=\"{ clicked: type == 'strategy' }\"\r\n @click=\"type = 'strategy'\"\r\n >\r\n {{ $t(\"electrovalence.strategy\") }}\r\n </div>\r\n <el-cascader\r\n v-model=\"listQuery.areaId\"\r\n class=\"filter-item\"\r\n v-if=\"type == 'area'\"\r\n :show-all-levels=\"false\"\r\n collapse-tags\r\n :options=\"areaIdList\"\r\n :placeholder=\"$t('listQuery.areaId')\"\r\n :props=\"{\r\n checkStrictly: true,\r\n emitPath: false\r\n }\"\r\n clearable\r\n @keyup.enter.native=\"handleFilter\"\r\n />\r\n <el-input\r\n v-model=\"listQuery.deviceName\"\r\n v-if=\"type == 'strategy'\"\r\n :placeholder=\"$t('electrovalence.ployName')\"\r\n class=\"filter-item\"\r\n @keyup.enter.native=\"handleFilter\"\r\n />\r\n <span class=\"btn-item\" @click=\"handleFilter\"\r\n ><i class=\"iconfont icon-sousuo\" />{{ $t(\"btn.search\") }}</span\r\n >\r\n <span class=\"btn-item\" @click=\"clearListQuery\">\r\n <i class=\"el-icon-refresh-left\"></i>\r\n {{ $t(\"btn.resetting\") }}</span\r\n >\r\n\r\n <div class=\"control-container\">\r\n <span class=\"btn-item\" @click=\"handleCreate()\"\r\n ><i class=\"iconfont icon-a-\" />{{ $t(\"btn.add\") }}</span\r\n >\r\n <span class=\"btn-item delete\" @click=\"deleteList\"\r\n ><i class=\"iconfont icon-shanchu\" />{{ $t(\"btn.delete\") }}</span\r\n >\r\n </div>\r\n </div>\r\n\r\n <div class=\"table-container\">\r\n <el-table\r\n v-loading=\"listLoading\"\r\n :data=\"list\"\r\n ref=\"table\"\r\n fit\r\n max-height=\"580\"\r\n highlight-current-row\r\n header-row-class-name=\"table-header\"\r\n row-class-name=\"table-row\"\r\n >\r\n <el-table-column type=\"selection\" width=\"55\" align=\"center\" />\r\n\r\n <el-table-column\r\n property=\"ployName\"\r\n align=\"left\"\r\n :label=\"$t('electrovalence.ployName')\"\r\n >\r\n <template slot-scope=\"scope\">\r\n {{ scope.row.electricityPloy.ployName }}\r\n </template>\r\n </el-table-column>\r\n <el-table-column\r\n property=\"deviceName\"\r\n align=\"left\"\r\n :label=\"$t('electrovalence.period')\"\r\n >\r\n <template slot-scope=\"scope\">\r\n {{\r\n scope.row.electricityPloy.startTime +\r\n \" - \" +\r\n scope.row.electricityPloy.endTime\r\n }}\r\n </template>\r\n </el-table-column>\r\n <el-table-column :label=\"$t('electrovalence.status')\" align=\"left\">\r\n <template slot-scope=\"scope\">\r\n <span\r\n class=\"pot\"\r\n :class=\"{\r\n out: scope.row.online == 2,\r\n none: scope.row.electricityPloy.status == 0\r\n }\"\r\n >\r\n </span>\r\n {{\r\n scope.row.electricityPloy.status == 0\r\n ? $t(\"electrovalence.out\")\r\n : scope.row.electricityPloy.status == 1\r\n ? $t(\"electrovalence.on\")\r\n : $t(\"electrovalence.over\")\r\n }}\r\n </template>\r\n </el-table-column>\r\n <el-table-column :label=\"$t('electrovalence.areas')\" align=\"left\">\r\n <template slot-scope=\"scope\">\r\n {{ scope.row.ployAreas.join() }}\r\n </template>\r\n </el-table-column>\r\n <el-table-column\r\n :label=\"$t('electrovalence.createUser')\"\r\n align=\"left\"\r\n >\r\n <template slot-scope=\"scope\">\r\n {{ scope.row.electricityPloy.createUser }}\r\n </template>\r\n </el-table-column>\r\n <el-table-column\r\n :label=\"$t('electrovalence.createTime')\"\r\n align=\"left\"\r\n >\r\n <template slot-scope=\"scope\">\r\n {{ scope.row.electricityPloy.createTime }}\r\n </template>\r\n </el-table-column>\r\n <el-table-column\r\n :label=\"$t('table.operate')\"\r\n width=\"180\"\r\n align=\"left\"\r\n >\r\n <template slot-scope=\"scope\">\r\n <span\r\n class=\"btnCancel\"\r\n @click=\"handleUpdate(scope)\"\r\n :title=\"$t('table.update')\"\r\n >\r\n <i class=\"iconfont icon-bianji\" />{{ $t(\"table.update\") }}</span\r\n >\r\n <span\r\n class=\"btnCancel delete\"\r\n @click=\"handleDelete(scope)\"\r\n :title=\"$t('table.delete')\"\r\n >\r\n <i class=\"iconfont icon-a--\" />{{ $t(\"table.delete\") }}</span\r\n >\r\n </template>\r\n </el-table-column>\r\n </el-table>\r\n <pagination\r\n v-show=\"total > 0\"\r\n :total=\"total\"\r\n :page.sync=\"listQuery.curPage\"\r\n :limit.sync=\"listQuery.pageSize\"\r\n @pagination=\"getList\"\r\n />\r\n </div>\r\n </div>\r\n <EleBox v-if=\"addDialog\" :ployId=\"ployId\" :goOut=\"goOut\" />\r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport {\r\n getElectricityPloyList,\r\n deleteElectricityPloy,\r\n deleteListElectricityPloy\r\n} from \"@/api/electrovalence\"\r\nimport { getAreaSubByAreaId } from \"@/api/area\"\r\nimport Pagination from \"@/components/Pagination\"\r\nimport EleBox from \"@/components/electrovalence\"\r\n\r\nimport permission from \"@/directive/permission/index.js\" // 权限判断指令\r\n\r\nexport default {\r\n components: { Pagination, EleBox },\r\n directives: { permission },\r\n data() {\r\n return {\r\n addDialog: false,\r\n dialogStatus: \"\",\r\n total: 0,\r\n type: \"area\",\r\n listQuery: {\r\n siteCode: null,\r\n cabinetCode: null,\r\n deptId: null,\r\n deviceName: null,\r\n curPage: 1,\r\n pageSize: 10\r\n },\r\n listLoading: true,\r\n list: null,\r\n ployId: \"\",\r\n areaIdList: [],\r\n statusList: []\r\n }\r\n },\r\n created() {\r\n this.getList()\r\n\r\n this.getBaseList()\r\n },\r\n methods: {\r\n getBaseList() {\r\n // 获取区域列表\r\n getAreaSubByAreaId().then((res) => {\r\n this.areaIdList = res.data && this.getAreaIdList(res.data)\r\n })\r\n },\r\n goOut() {\r\n this.addDialog = false\r\n this.getList()\r\n },\r\n // 数组遍历\r\n getAreaIdList(data) {\r\n if (!data.length) {\r\n data = [data]\r\n }\r\n const list = data.map((res) => {\r\n const obj = {}\r\n if (res.subList) {\r\n obj.children = this.getAreaIdList(res.subList)\r\n obj.label = res.areaName\r\n obj.value = res.areaId\r\n return obj\r\n } else {\r\n obj.label = res.areaName\r\n obj.value = res.areaId\r\n return obj\r\n }\r\n })\r\n return list\r\n },\r\n // 清空搜索选项,重置表格\r\n clearListQuery() {\r\n this.listQuery = {\r\n siteCode: null,\r\n cabinetCode: null,\r\n deptId: null,\r\n deviceName: null,\r\n curPage: 1,\r\n pageSize: 10\r\n }\r\n this.getList()\r\n },\r\n getList() {\r\n this.listLoading = true\r\n getElectricityPloyList(this.listQuery).then((res) => {\r\n this.listLoading = false\r\n const timestamp = new Date(res.timestamp).getTime()\r\n this.list = res.data.list.map((e) => {\r\n let startTime = new Date(e.electricityPloy.startTime).getTime()\r\n let endTime = new Date(e.electricityPloy.endTime).getTime()\r\n if (startTime > timestamp) {\r\n e.electricityPloy.status = 0\r\n } else if (endTime > timestamp) {\r\n e.electricityPloy.status = 1\r\n } else {\r\n e.electricityPloy.status = 2\r\n }\r\n return e\r\n })\r\n this.total = res.data.totalRow\r\n })\r\n },\r\n // 删除\r\n handleDelete(scope) {\r\n this.$confirm(\r\n this.$t(\"title.delPointOutDevice\"),\r\n this.$t(\"title.pointOut\"),\r\n {\r\n confirmButtonText: this.$t(\"title.delete\"),\r\n cancelButtonText: this.$t(\"title.cancel\"),\r\n type: \"warning\"\r\n }\r\n ).then(() => {\r\n deleteElectricityPloy({\r\n ployId: scope.row.electricityPloy.ployId\r\n }).then((res) => {\r\n if (res.status == 200) {\r\n this.getList()\r\n this.$notify({\r\n title: this.$t(\"title.success\"),\r\n message: this.$t(\"title.deleteSuccess\"),\r\n type: \"success\",\r\n duration: 3000\r\n })\r\n }\r\n })\r\n })\r\n },\r\n handleCreate() {\r\n this.ployId = null\r\n this.addDialog = true\r\n },\r\n handleUpdate(scope) {\r\n this.ployId = scope.row.electricityPloy.ployId\r\n this.addDialog = true\r\n },\r\n // 批量删除\r\n deleteList() {\r\n if (!this.$refs.table.selection.length) {\r\n this.$notify({\r\n title: this.$t(\"title.fail\"),\r\n message: this.$t(\"pSelect\") + this.$t(\"user.user\"),\r\n type: \"warning\",\r\n duration: 3000\r\n })\r\n return\r\n }\r\n this.$confirm(\r\n this.$t(\"title.delPointOutDevice\"),\r\n this.$t(\"title.pointOut\"),\r\n {\r\n confirmButtonText: this.$t(\"title.delete\"),\r\n cancelButtonText: this.$t(\"title.cancel\"),\r\n type: \"warning\"\r\n }\r\n ).then(() => {\r\n const list = this.$refs.table.selection.map(\r\n (e) => e.electricityPloy.ployId\r\n )\r\n const str = list.join(\",\")\r\n deleteListElectricityPloy({ ployIds: str }).then((res) => {\r\n if (res.status == 200) {\r\n this.getList()\r\n this.$notify({\r\n title: this.$t(\"title.success\"),\r\n message: this.$t(\"title.deleteSuccess\"),\r\n type: \"success\",\r\n duration: 3000\r\n })\r\n }\r\n })\r\n })\r\n },\r\n // 搜索\r\n handleFilter() {\r\n this.listQuery.curPage = 1\r\n this.getList()\r\n }\r\n }\r\n}\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n.tab {\r\n width: 100px;\r\n text-align: center;\r\n height: 38px;\r\n border: 1px solid #00a696;\r\n line-height: 36px;\r\n font-size: 14px;\r\n font-family: Microsoft YaHei;\r\n font-weight: 400;\r\n color: #00bfad;\r\n cursor: pointer;\r\n &.left {\r\n border-radius: 2px 0px 0px 2px;\r\n border-right: 0;\r\n }\r\n &.right {\r\n border-left: 0;\r\n border-radius: 0px 2px 2px 0px;\r\n }\r\n &.clicked {\r\n background: #02e2d4;\r\n border-color: #02e2d4;\r\n color: #ffffff;\r\n }\r\n}\r\n.filter-container {\r\n font-size: 14px;\r\n font-family: Microsoft YaHei;\r\n font-weight: 400;\r\n color: #d2ffff;\r\n .filter-item {\r\n margin-left: 10px;\r\n }\r\n .long {\r\n min-width: 300px;\r\n margin: 0 10px;\r\n }\r\n}\r\n.title {\r\n font-size: 16px;\r\n font-family: Microsoft YaHei;\r\n font-weight: 400;\r\n color: #01ffe9;\r\n margin-bottom: 10px;\r\n}\r\n.pot {\r\n display: inline-block;\r\n position: relative;\r\n width: 16px;\r\n height: 16px;\r\n background: rgba(0, 255, 0, 0.15);\r\n border-radius: 50%;\r\n margin: 0 7px;\r\n top: 3px;\r\n &::before {\r\n content: \"\";\r\n display: inline-block;\r\n width: 8px;\r\n height: 8px;\r\n background: rgba(0, 255, 0, 1);\r\n border-radius: 50%;\r\n position: absolute;\r\n left: 4px;\r\n top: 4px;\r\n }\r\n}\r\n</style>\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=008ae353&scoped=true&\"\nimport script from \"./index.vue?vue&type=script&lang=js&\"\nexport * from \"./index.vue?vue&type=script&lang=js&\"\nimport style0 from \"./index.vue?vue&type=style&index=0&id=008ae353&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"008ae353\",\n null\n \n)\n\nexport default component.exports","// this method was added to unscopables after implementation\n// in popular engines, so it's moved to a separate module\nvar addToUnscopables = require('../internals/add-to-unscopables');\n\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables('flat');\n","import store from \"@/store\";\r\n\r\nexport default {\r\n inserted(el, binding) {\r\n const { value } = binding;\r\n // const roles = store.getters && store.getters.roles\r\n const roles = store.getters && store.getters.butPermission;\r\n console.log(roles, 'roles');\r\n if (value && value instanceof Array && value.length > 0) {\r\n const permissionRoles = value;\r\n const hasPermission = roles.some(role => {\r\n return permissionRoles.includes(role);\r\n });\r\n console.log(hasPermission, 'hasPermission');\r\n if (!hasPermission) {\r\n // el.parentNode && el.parentNode.removeChild(el) \r\n\r\n store.state.user.permissionFlag[permissionRoles] = true;\r\n\r\n\r\n console.log(store.state.user.permissionFlag[permissionRoles], 'permissionRoles');\r\n const newnode = document.createElement(\"div\");\r\n newnode.style.cursor = 'not-allowed'\r\n newnode.style.display = 'inline-block'\r\n el.style.pointerEvents = \"none\"\r\n el.parentNode.insertBefore(newnode, el)\r\n el.parentNode && el.parentNode.removeChild(el)\r\n newnode.appendChild(el);\r\n console.log(el, 'permissionRoles');\r\n } else {\r\n store.state.user.permissionFlag[permissionRoles] = false;\r\n }\r\n } else {\r\n throw new Error(`need roles! Like v-permission=\"['admin','editor']\"`);\r\n }\r\n }\r\n};","import permission from \"./permission\";\n\nconst install = function(Vue) {\n Vue.directive(\"permission\", permission);\n};\n\nif (window.Vue) {\n window[\"permission\"] = permission;\n Vue.use(install); // eslint-disable-line\n}\n\npermission.install = install;\nexport default permission;\n","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=style&index=0&id=0fefc438&lang=scss&scoped=true&\"","import request from '@/utils/request'\r\n/*\r\n 系统管理-区域管理 权限操作api\r\n*/\r\n\r\n// 查询区域列表树\r\nexport function getAreaTreeList(data) {\r\n return request({\r\n url: 'user-service/area/getAreaTreeList',\r\n method: 'get',\r\n params: data\r\n })\r\n}\r\n\r\n\r\n// 查询本级节点-直系子级节点\r\nexport function getAreaSubByAreaId(data) {\r\n return request({\r\n url: 'user-service/area/getAreaSubByAreaId',\r\n method: 'get',\r\n params: data\r\n })\r\n}\r\n\r\n// 删除区域\r\nexport function removeArea(data) {\r\n return request({\r\n url: 'user-service/area/removeArea',\r\n method: 'get',\r\n params: data\r\n })\r\n}\r\n\r\n// 新增\r\nexport function saveArea(data) {\r\n return request({\r\n url: 'user-service/area/saveArea',\r\n method: 'post',\r\n data\r\n })\r\n}\r\n\r\n// 修改\r\nexport function updateArea(data) {\r\n return request({\r\n url: 'user-service/area/updateArea',\r\n method: 'post',\r\n data\r\n })\r\n}","'use strict';\nvar global = require('../internals/global');\nvar isArray = require('../internals/is-array');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar bind = require('../internals/function-bind-context');\n\nvar TypeError = global.TypeError;\n\n// `FlattenIntoArray` abstract operation\n// https://tc39.github.io/proposal-flatMap/#sec-FlattenIntoArray\nvar flattenIntoArray = function (target, original, source, sourceLen, start, depth, mapper, thisArg) {\n var targetIndex = start;\n var sourceIndex = 0;\n var mapFn = mapper ? bind(mapper, thisArg) : false;\n var element, elementLen;\n\n while (sourceIndex < sourceLen) {\n if (sourceIndex in source) {\n element = mapFn ? mapFn(source[sourceIndex], sourceIndex, original) : source[sourceIndex];\n\n if (depth > 0 && isArray(element)) {\n elementLen = lengthOfArrayLike(element);\n targetIndex = flattenIntoArray(target, original, element, elementLen, targetIndex, depth - 1) - 1;\n } else {\n if (targetIndex >= 0x1FFFFFFFFFFFFF) throw TypeError('Exceed the acceptable array length');\n target[targetIndex] = element;\n }\n\n targetIndex++;\n }\n sourceIndex++;\n }\n return targetIndex;\n};\n\nmodule.exports = flattenIntoArray;\n","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=style&index=0&id=008ae353&lang=scss&scoped=true&\"","import request from '@/utils/request'\r\n// import qs from 'qs'\r\n/*\r\n 管理台-综合柜设备参数 权限操作api\r\n*/\r\n\r\n// 录入电价策略信息\r\nexport function addElectricityPloy(data) {\r\n return request({\r\n url: 'device-service/ele/addElectricityPloy',\r\n method: 'post',\r\n data\r\n })\r\n}\r\n\r\n// 根据筛选条件查询电价策略的列表信息\r\nexport function getElectricityPloyList(data) {\r\n return request({\r\n url: 'device-service/ele/getElectricityPloyList',\r\n method: 'get',\r\n params: data\r\n })\r\n}\r\n\r\n// 删除电价策略\r\nexport function deleteElectricityPloy(data) {\r\n return request({\r\n url: 'device-service/ele/deleteElectricityPloy',\r\n method: 'delete',\r\n params: data\r\n })\r\n}\r\n\r\n// 批量删除电价策略\r\nexport function deleteListElectricityPloy(data) {\r\n return request({\r\n url: 'device-service/ele/deleteListElectricityPloy',\r\n method: 'delete',\r\n params: data\r\n })\r\n}\r\n\r\n// 编辑前根据ployId查询单个电价策略信息\r\nexport function getElectricityPloyByPloyId(data) {\r\n return request({\r\n url: 'device-service/ele/getElectricityPloyByPloyId',\r\n method: 'get',\r\n params: data\r\n })\r\n}\r\n\r\n\r\n// 查询所有电压等级信息\r\nexport function getElectricityLevels(data) {\r\n return request({\r\n url: 'device-service/ele/getElectricityLevels',\r\n method: 'get',\r\n params: data\r\n })\r\n}\r\n\r\n\r\n// 查询所有用电类型信息\r\nexport function getElectricityTypes(data) {\r\n return request({\r\n url: 'device-service//ele/getElectricityTypes',\r\n method: 'get',\r\n params: data\r\n })\r\n}\r\n\r\n\r\n// 修改电价策略信息\r\nexport function updateElectricityPloy(data) {\r\n return request({\r\n url: 'device-service/ele/updateElectricityPloy',\r\n method: 'put',\r\n data\r\n })\r\n}\r\n\r\n// 修改电价策略状态信息\r\nexport function updatePloyInfo(data) {\r\n return request({\r\n url: 'device-service/ele/updatePloyInfo',\r\n method: 'put',\r\n data\r\n })\r\n}\r\n\r\n// 查询峰谷差值信息\r\nexport function getEleDifference(data) {\r\n return request({\r\n url: 'device-service/stat/getEleDifference',\r\n method: 'get',\r\n params: data\r\n })\r\n}\r\n\r\n// 查询统计分析-趋势图中的时段信息\r\nexport function getEleTrendChart(data) {\r\n return request({\r\n url: 'device-service/stat/getEleTrendChart',\r\n method: 'get',\r\n params: data\r\n })\r\n}\r\n\r\n// 查询统计分析-趋势图中的时段信息\r\nexport function getEleTrendPic(data) {\r\n return request({\r\n url: 'device-service/stat/getEleTrendPic',\r\n method: 'get',\r\n params: data\r\n })\r\n}\r\n"],"sourceRoot":""}