{"remainingRequest":"D:\\jenkins\\workspace\\bzzgj-fvue\\node_modules\\vue-loader\\lib\\loaders\\templateLoader.js??vue-loader-options!D:\\jenkins\\workspace\\bzzgj-fvue\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!D:\\jenkins\\workspace\\bzzgj-fvue\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\jenkins\\workspace\\bzzgj-fvue\\src\\views\\Device\\deviceManage\\EquipmentManage.vue?vue&type=template&id=7281597b&scoped=true&","dependencies":[{"path":"D:\\jenkins\\workspace\\bzzgj-fvue\\src\\views\\Device\\deviceManage\\EquipmentManage.vue","mtime":1686792516218},{"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\\loaders\\templateLoader.js","mtime":499162500000},{"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":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"bbsl-common-page\"},[_c('div',{staticClass:\"bbsl-table-search\"},[_c('el-form',{attrs:{\"inline\":true},model:{value:(_vm.queryParam),callback:function ($$v) {_vm.queryParam=$$v},expression:\"queryParam\"}},[_c('el-form-item',{attrs:{\"label\":\"产品\"}},[_c('el-cascader',{attrs:{\"options\":_vm.productData,\"show-all-levels\":false,\"props\":{ label: 'name', value: 'id',children: 'children',checkStrictly: true },\"clearable\":\"\"},model:{value:(_vm.productValue),callback:function ($$v) {_vm.productValue=$$v},expression:\"productValue\"}})],1),_c('el-form-item',{attrs:{\"label\":\"设备名称\"}},[_c('el-input',{attrs:{\"maxlength\":\"64\",\"clearable\":\"\",\"placeholder\":\"请输入设备名称\"},model:{value:(_vm.querys[0].value),callback:function ($$v) {_vm.$set(_vm.querys[0], \"value\", $$v)},expression:\"querys[0].value\"}})],1),_c('el-form-item',{attrs:{\"label\":\"区域\"}},[_c('el-cascader',{attrs:{\"options\":_vm.treeData,\"show-all-levels\":false,\"props\":{ label: 'name', value: 'id',children: 'children',checkStrictly: true },\"clearable\":\"\"},model:{value:(_vm.querys[5].value),callback:function ($$v) {_vm.$set(_vm.querys[5], \"value\", $$v)},expression:\"querys[5].value\"}})],1),_c('el-form-item',{attrs:{\"label\":\"设备状态\"}},[_c('el-select',{attrs:{\"clearable\":\"\",\"placeholder\":\"请选择设备类型\"},model:{value:(_vm.querys[2].value),callback:function ($$v) {_vm.$set(_vm.querys[2], \"value\", $$v)},expression:\"querys[2].value\"}},_vm._l((_vm.deviceStatus),function(item){return _c('el-option',{key:item.value,attrs:{\"label\":item.name,\"value\":item.value}})}),1)],1),_c('el-form-item',[_c('el-button',{attrs:{\"type\":\"primary\",\"icon\":\"el-icon-search\"},on:{\"click\":_vm.handleSearch}},[_vm._v(\"搜索\")]),_c('el-button',{attrs:{\"icon\":\"el-icon-refresh\"},on:{\"click\":_vm.handleReset}},[_vm._v(\"重置\")]),_c('el-button',{attrs:{\"type\":\"text\"},on:{\"click\":function($event){$event.stopPropagation();return _vm.openMore($event)}}},[_vm._v(\"更多\\n\\t\\t\\t\\t\\t\\t\"),_c('i',{class:_vm.showMore ? 'el-icon-arrow-up' : 'el-icon-arrow-down'})])],1),(_vm.showMore)?_c('div',{staticClass:\"bbsl-search-more\",staticStyle:{\"width\":\"300px\",\"height\":\"60px\"}},[_c('el-row',[_c('el-col',{attrs:{\"span\":24}},[_c('el-form-item',{attrs:{\"label\":\"重点设备\"}},[_c('el-select',{attrs:{\"clearable\":\"\",\"placeholder\":\"是否是重点设备\"},model:{value:(_vm.querys[4].value),callback:function ($$v) {_vm.$set(_vm.querys[4], \"value\", $$v)},expression:\"querys[4].value\"}},[_c('el-option',{attrs:{\"label\":\"一般设备\",\"value\":\"0\"}}),_c('el-option',{attrs:{\"label\":\"重点设备\",\"value\":\"1\"}})],1)],1)],1)],1)],1):_vm._e()],1)],1),_c('div',{ref:\"contentPanel\",staticClass:\"bbsl-table-content\"},[_c('div',{ref:\"btnPanel\",staticClass:\"bbsl-btn-content\",staticStyle:{\"display\":\"flex\"}},[_c('el-button',{attrs:{\"icon\":\"el-icon-plus\",\"type\":\"primary\"},on:{\"click\":_vm.handleAdd}},[_vm._v(\"新增\")]),_c('el-popconfirm',{attrs:{\"title\":\"确定删除选中数据吗?\"},on:{\"confirm\":_vm.handleDelete}},[_c('el-button',{staticStyle:{\"margin-left\":\"10px\"},attrs:{\"slot\":\"reference\",\"disabled\":!_vm.multipleSelection.length,\"icon\":\"el-icon-delete\"},slot:\"reference\"},[_vm._v(\"删除\")])],1),_c('el-button',{staticStyle:{\"margin-left\":\"10px\"},attrs:{\"disabled\":_vm.productValue == '',\"type\":\"warning\",\"icon\":\"el-icon-upload\"},on:{\"click\":_vm.exportKPL}},[_vm._v(\"\\n\\t\\t\\t\\t\\t导出\\n\\t\\t\\t\\t\")]),_c('el-button',{staticStyle:{\"margin-left\":\"10px\"},attrs:{\"disabled\":_vm.productValue == '',\"type\":\"success\",\"plain\":\"\",\"icon\":\"el-icon-download\"},on:{\"click\":function($event){_vm.importVisible = true}}},[_vm._v(\"\\n\\t\\t\\t\\t\\t导入\\n\\t\\t\\t\\t\")]),_c('div',{staticClass:\"statistics\"},[_c('div',{staticClass:\"item\"},[_c('el-badge',{attrs:{\"is-dot\":\"\",\"type\":\"primary\"}}),_c('span',{staticClass:\"all-device\"},[_vm._v(\"全部设备\"),_c('span',[_vm._v(_vm._s(_vm.deviceInfo.allNum || 0))])])],1),_c('div',{staticClass:\"item\"},[_c('el-badge',{attrs:{\"is-dot\":\"\",\"type\":\"success\"}}),_c('span',{staticClass:\"all-device\"},[_vm._v(\"正常\"),_c('span',[_vm._v(_vm._s(_vm.deviceInfo.normalNum || 0))])])],1),_c('div',{staticClass:\"item\"},[_c('el-badge',{attrs:{\"is-dot\":\"\",\"type\":\"danger\"}}),_c('span',{staticClass:\"all-device\"},[_vm._v(\"报警:\"+_vm._s(_vm.deviceInfo.warnNum || 0))])],1),_c('div',{staticClass:\"item\"},[_c('el-badge',{attrs:{\"is-dot\":\"\",\"type\":\"warning\"}}),_c('span',{staticClass:\"all-device\"},[_vm._v(\"故障\"),_c('span',[_vm._v(_vm._s(_vm.deviceInfo.failureNum || 0))])])],1),_c('i',{staticClass:\"el-icon-refresh refresh\",on:{\"click\":_vm.refreshInfo}})])],1),_c('el-table',{directives:[{name:\"loading\",rawName:\"v-loading\",value:(_vm.loading),expression:\"loading\"}],ref:\"multipleSelection\",style:({width: '100%'}),attrs:{\"border\":\"\",\"size\":\"mini\",\"data\":_vm.tableData,\"max-height\":_vm.tableMaxHeight,\"cell-style\":{'text-align': 'center'},\"header-cell-style\":{'text-align': 'center'}},on:{\"row-dblclick\":_vm.toEquipmentDetails,\"selection-change\":_vm.handleSelectionChange}},[_c('el-table-column',{attrs:{\"type\":\"selection\",\"width\":\"55\"}}),_c('el-table-column',{attrs:{\"fixed\":\"\",\"type\":\"index\",\"width\":\"55\",\"label\":\"序号\"}}),_c('el-table-column',{attrs:{\"sortable\":\"\",\"prop\":\"productName\",\"label\":\"产品名称\",\"show-overflow-tooltip\":\"\"}}),_c('el-table-column',{attrs:{\"fixed\":\"\",\"min-width\":\"150\",\"sortable\":\"\",\"prop\":\"name\",\"label\":\"设备名称\",\"show-overflow-tooltip\":\"\"}}),_c('el-table-column',{attrs:{\"sortable\":\"\",\"prop\":\"code\",\"label\":\"设备标识\",\"show-overflow-tooltip\":\"\"}}),_c('el-table-column',{attrs:{\"sortable\":\"\",\"prop\":\"areaName\",\"label\":\"所属区域\",\"show-overflow-tooltip\":\"\"}}),_c('el-table-column',{attrs:{\"sortable\":\"\",\"prop\":\"lgtd\",\"label\":\"经度\",\"show-overflow-tooltip\":\"\"}}),_c('el-table-column',{attrs:{\"sortable\":\"\",\"prop\":\"lttd\",\"label\":\"纬度\",\"show-overflow-tooltip\":\"\"}}),_c('el-table-column',{attrs:{\"sortable\":\"\",\"min-width\":\"90\",\"prop\":\"life\",\"label\":\"使用年限\",\"show-overflow-tooltip\":\"\"}}),_c('el-table-column',{attrs:{\"sortable\":\"\",\"min-width\":\"150\",\"prop\":\"important\",\"label\":\"是否是重点设备\",\"show-overflow-tooltip\":\"\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [(scope.row.important == '1')?_c('span',[_vm._v(\"重点设备\")]):(scope.row.important == '0')?_c('span',[_vm._v(\"一般设备\")]):_vm._e()]}}])}),_c('el-table-column',{attrs:{\"sortable\":\"\",\"prop\":\"statusName\",\"label\":\"设备状态\",\"show-overflow-tooltip\":\"\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('div',{style:(scope.row.status == '-1'\n ? {color: '#409EFF'}\n : scope.row.status == '1'\n ? {color: '#13ce66'}\n : scope.row.status == '2'\n ? {color: '#ff4949'}\n : {color: '#e6a23c'})},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\t\"+_vm._s(scope.row.statusName)+\"\\n\\t\\t\\t\\t\\t\\t\")])]}}])}),_c('el-table-column',{attrs:{\"min-width\":\"130\",\"label\":\"操作\",\"fixed\":\"right\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('el-dropdown',{attrs:{\"trigger\":\"click\",\"split-button\":\"\"}},[_c('i',{staticClass:\"el-icon-setting\",staticStyle:{\"margin-right\":\"5px\"}}),_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\t管理按钮\\n\\t\\t\\t\\t\\t\\t\\t\"),_c('el-dropdown-menu',{attrs:{\"slot\":\"dropdown\"},slot:\"dropdown\"},[_c('el-dropdown-item',{nativeOn:{\"click\":function($event){return _vm.revise(scope.row)}}},[_c('i',{staticClass:\"el-icon-edit-outline\"}),_vm._v(\" 修改设备状态\\n\\t\\t\\t\\t\\t\\t\\t\\t\")]),_c('el-dropdown-item',{nativeOn:{\"click\":function($event){return _vm.equipment(scope.row)}}},[_c('i',{staticClass:\"el-icon-edit-outline\"}),_vm._v(\" 修改重点设备\\n\\t\\t\\t\\t\\t\\t\\t\\t\")])],1)],1)]}}])})],1),_c('el-pagination',{ref:\"paginationPanel\",staticClass:\"bbsl-pagination\",attrs:{\"align\":\"right\",\"background\":\"\",\"current-page\":_vm.queryParam.pageBean.page,\"page-sizes\":[20, 30, 40, 50],\"page-size\":_vm.queryParam.pageBean.pageSize,\"layout\":\"total, sizes, prev, pager, next, jumper\",\"total\":_vm.total},on:{\"size-change\":_vm.handleSizeChange,\"current-change\":_vm.handleCurrentChange}})],1),_c('equipment-manage-dialog',{ref:\"formModal\"}),(_vm.showExtend)?_c('EquipmentExtendDialog',{attrs:{\"parameter\":_vm.parameters,\"showExtend\":_vm.showExtend},on:{\"reload\":_vm.reload,\"closeExtend\":_vm.closeExtend}}):_vm._e(),_c('el-dialog',{attrs:{\"title\":\"导入模版\",\"visible\":_vm.importVisible,\"width\":\"30%\",\"before-close\":_vm.handleClose},on:{\"update:visible\":function($event){_vm.importVisible=$event}}},[_c('el-button',{attrs:{\"type\":\"info\",\"icon\":\"el-icon-upload\"}},[_c('a',{attrs:{\"href\":_vm.actionUrl + '/device/info/downModel',\"target\":\"_blank\"}},[_vm._v(\"下载模板\")])]),_c('el-upload',{staticClass:\"upload\",staticStyle:{\"margin-top\":\"20px\"},attrs:{\"action\":_vm.actionUrl + '/device/info/importExcel',\"data\":_vm.uploadData,\"show-file-list\":false,\"on-success\":_vm.handleAvatarSuccess,\"on-error\":_vm.handleAvatarError,\"headers\":_vm.header}},[_c('el-button',[_vm._v(\"点击上传\")])],1),_c('span',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{on:{\"click\":function($event){_vm.importVisible = false}}},[_vm._v(\"取 消\")]),_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":function($event){_vm.importVisible = false}}},[_vm._v(\"确 定\")])],1)],1),_c('el-dialog',{attrs:{\"title\":\"提示\",\"visible\":_vm.reviseVisible,\"width\":\"30%\",\"before-close\":_vm.handleClose},on:{\"update:visible\":function($event){_vm.reviseVisible=$event}}},[_c('el-select',{attrs:{\"clearable\":\"\",\"placeholder\":\"请选择设备类型\"},model:{value:(_vm.reviseStart),callback:function ($$v) {_vm.reviseStart=$$v},expression:\"reviseStart\"}},[_c('el-option',{attrs:{\"label\":\"正常\",\"value\":\"1\"}}),_c('el-option',{attrs:{\"label\":\"故障\",\"value\":\"2\"}}),_c('el-option',{attrs:{\"label\":\"预警\",\"value\":\"3\"}})],1),_c('span',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{on:{\"click\":function($event){_vm.reviseVisible = false}}},[_vm._v(\"取 消\")]),_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.reviseBtn}},[_vm._v(\"确 定\")])],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }"]}