Portal/potal_admin/up-portal-admin-1.0.1/js/chunk-a230744a.d965dc85.js

1 line
10 KiB
JavaScript
Raw Normal View History

2025-03-10 17:41:02 +08:00
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-a230744a","chunk-1c553a1b"],{"0f32":function(e,t,a){var r=a("b047"),i=a("1a8c"),n="Expected a function";function l(e,t,a){var l=!0,o=!0;if("function"!=typeof e)throw new TypeError(n);return i(a)&&(l="leading"in a?!!a.leading:l,o="trailing"in a?!!a.trailing:o),r(e,t,{leading:l,maxWait:t,trailing:o})}e.exports=l},"31a9":function(e,t,a){"use strict";a("cbba")},"5df3":function(e,t,a){"use strict";var r=a("02f4")(!0);a("01f9")(String,"String",(function(e){this._t=String(e),this._i=0}),(function(){var e,t=this._t,a=this._i;return a>=t.length?{value:void 0,done:!0}:(e=r(t,a),this._i+=e.length,{value:e,done:!1})}))},"86a9":function(e,t,a){"use strict";a.r(t);var r=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("el-card",{staticClass:"aui-card--fill",attrs:{shadow:"never"}},[a("el-form",{ref:"ruleForm",attrs:{inline:!0,model:e.dataForm},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.getDataList()}}},[a("el-form-item",{attrs:{label:"检测位置",prop:"tfDevicename"}},[a("el-input",{attrs:{placeholder:"请输入",clearable:""},model:{value:e.dataForm.tfDevicename,callback:function(t){e.$set(e.dataForm,"tfDevicename",t)},expression:"dataForm.tfDevicename"}})],1),a("el-form-item",{attrs:{label:"设备状态",prop:"tfStatus"}},[a("el-select",{attrs:{placeholder:"请选择",clearable:""},model:{value:e.dataForm.tfStatus,callback:function(t){e.$set(e.dataForm,"tfStatus",t)},expression:"dataForm.tfStatus"}},e._l(e.equipStatusList,(function(e){return a("el-option",{key:e.dictValue,attrs:{label:e.dictLabel,value:e.dictValue}})})),1)],1),a("el-form-item",[a("el-button",{on:{click:function(t){return e.getDataList()}}},[e._v("查询")]),a("el-button",{attrs:{type:"primary"},on:{click:function(t){return e.addOrUpdateHandle()}}},[e._v(e._s(e.$t("add")))])],1)],1),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.dataListLoading,expression:"dataListLoading"}],staticStyle:{width:"100%"},attrs:{data:e.dataList}},[a("el-table-column",{attrs:{type:"index",label:"序号",width:"100",align:"center"}}),a("el-table-column",{attrs:{prop:"tfDevicename",label:"检测位置","header-align":"center",align:"center"}}),a("el-table-column",{attrs:{prop:"tfDevicesn",label:"设备序列号","header-align":"center",align:"center"}}),a("el-table-column",{attrs:{prop:"tfIpgateway",label:"IP地址","header-align":"center",align:"center"}}),a("el-table-column",{attrs:{label:"设备状态","header-align":"center",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[0==t.row.tfStatus?a("span",{staticStyle:{color:"#67C23A"}},[e._v(" "+e._s(e.$getDictLabel("equipment_status",t.row.tfStatus)))]):a("span",{staticStyle:{color:"#f56c6c"}},[e._v(" "+e._s(e.$getDictLabel("equipment_status",t.row.tfStatus)))])]}}])}),a("el-table-column",{attrs:{prop:"tfSetupaddr",label:"安装位置","header-align":"center",align:"center"}}),a("el-table-column",{attrs:{prop:"tfSetupdate",label:"安装时间","header-align":"center",align:"center"}}),a("el-table-column",{attrs:{label:e.$t("handle"),fixed:"right","header-align":"center",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{attrs:{type:"text"},on:{click:function(a){return e.addOrUpdateHandle(t.row.tfId)}}},[e._v(e._s(e.$t("update")))]),a("el-button",{attrs:{type:"text"},on:{click:function(a){return e.deleteHandle(t.row.tfId)}}},[e._v(e._s(e.$t("delete")))])]}}])})],1),a("el-pagination",{attrs:{"current-page":e.page,"page-sizes":[10,20,50,100],"page-size":e.limit,total:e.total,layout:"total, sizes, prev, pager, next, jumper"},on:{"size-change":e.pageSizeChangeHandle,"current-change":e.pageCurrentChangeHandle}}),e.addOrUpdateVisible?a("add-or-update",{ref:"addOrUpdate",on:{refreshDataList:e.getDataList}}):e._e()],1)},i=[],n=a("d121"),l=a("e1a5"),o=a("ed08"),s={name:"therma-imaging",components:{AddOrUpdate:n["default"]},mixins:[l["a"]],data:function(){return{mixinViewModuleOptions:{getDataListURL:"/system/scthermalimaging/