(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-51df3908"],{"1bf3":function(a,t,e){"use strict";e("9f84")},"1cdd":function(a,t,e){},"53b6":function(a,t,e){"use strict";e("1cdd")},"7c25":function(a,t,e){"use strict";e.r(t);var r=function(){var a=this,t=a.$createElement,e=a._self._c||t;return e("div",{staticClass:"app-container"},[e("div",{staticClass:"decorate"}),e("el-tabs",{staticClass:"tabBox",attrs:{"tab-position":"left"},on:{"tab-click":a.handleClick},model:{value:a.typeCode,callback:function(t){a.typeCode=t},expression:"typeCode"}},a._l(a.tabList,(function(t){return e("el-tab-pane",{key:t.typeId,attrs:{label:t.typeName,name:t.typeCode+""}},[e("span",{staticClass:"cover",attrs:{slot:"label"},on:{click:function(e){return a.getTabList(t.typeCode)}},slot:"label"},[e("i",{staticClass:"iconfont",class:"icon-"+a.getIcon(t.typeCode)}),e("span",[a._v(" "+a._s(t.typeName))])])])})),1),e("div",{staticClass:"contentBox"},[e("div",{staticClass:"menu-top-btn"},[a._v(a._s(a.$t("threshold.parameterName")))]),e("div",{staticClass:"menuBox"},[e("div",{staticClass:"bar"},[a.menuList?e("el-menu",{staticClass:"menu",attrs:{"default-active":a.dictionaryId,"collapse-transition":!1}},a._l(a.menuList,(function(t){return e("el-menu-item",{key:t.dictionaryId,attrs:{index:t.dictionaryId+""},on:{click:function(e){return a.handleSelect(t)}}},[e("span",{attrs:{slot:"title"},slot:"title"},[a._v(a._s(t.signName))])])})),1):a._e()],1)]),e("div",{staticClass:"content"},[e("div",{staticClass:"breadcrumb"},[e("el-breadcrumb",{attrs:{separator:"/"}},[e("el-breadcrumb-item",[a._v(a._s(a.typeName))]),e("el-breadcrumb-item",[a._v(a._s(a.signName))]),e("el-breadcrumb-item",[a._v(a._s(a.$t("threshold.setting")))])],1)],1),e("div",{staticClass:"dataBox"},[e("el-form",{ref:"form",attrs:{model:a.form,rules:a.rules,"label-width":"130px"}},[e("el-form-item",{attrs:{label:a.$t("threshold.paramType")}},[e("el-radio-group",{model:{value:a.form.paramType,callback:function(t){a.$set(a.form,"paramType",t)},expression:"form.paramType"}},[e("el-radio",{attrs:{label:1}},[a._v(a._s(a.$t("threshold.paramType1")))]),e("el-radio",{attrs:{label:2}},[a._v(a._s(a.$t("threshold.paramType2")))])],1)],1),1==a.form.paramType?e("el-form-item",{attrs:{label:a.$t("threshold.maxVal"),prop:"maxVal"}},[e("el-input-number",{attrs:{placeholder:a.$t("pEnter"),"controls-position":"right"},model:{value:a.form.maxVal,callback:function(t){a.$set(a.form,"maxVal",t)},expression:"form.maxVal"}})],1):a._e(),1==a.form.paramType?e("el-form-item",{attrs:{label:a.$t("threshold.minVal"),prop:"minVal"}},[e("el-input-number",{attrs:{placeholder:a.$t("pEnter"),"controls-position":"right"},model:{value:a.form.minVal,callback:function(t){a.$set(a.form,"minVal",t)},expression:"form.minVal"}})],1):a._e(),1!=a.form.paramType?e("el-form-item",{attrs:{label:a.$t("threshold.alarm")}},[e("el-radio-group",{model:{value:a.onOff,callback:function(t){a.onOff=t},expression:"onOff"}},[e("el-radio",{attrs:{label:1}},[a._v(a._s(a.$t("type.open")))]),e("el-radio",{attrs:{label:0}},[a._v(a._s(a.$t("type.close")))])],1)],1):a._e(),e("el-form-item",{attrs:{label:a.$t("threshold.timeGap")}},[e("el-input-number",{attrs:{placeholder:a.$t("pEnter"),"controls-position":"right"},model:{value:a.form.timeGap,callback:function(t){a.$set(a.form,"timeGap",t)},expression:"form.timeGap"}})],1),e("el-form-item",{attrs:{label:a.$t("threshold.alarmLevel")}},[e("el-radio-group",{model:{value:a.form.alarmLevel,callback:function(t){a.$set(a.form,"alarmLevel",t)},expression:"form.alarmLevel"}},[e("el-radio",{attrs:{label:1}},[a._v(a._s(a.$t("threshold.one")))]),e("el-radio",{attrs:{label:2}},[a._v(a._s(a.$t("threshold.two")))]),e("el-radio",{attrs:{label:3}},[a._v(a._s(a.$t("threshold.three")))])],1)],1),e("el-form-item",{attrs:{label:a.$t("threshold.alarmInfo"),prop:"alarmInfo"}},[e("el-input",{attrs:{placeholder:a.$t("pEnter"),type:"textarea"},model:{value:a.form.alarmInfo,callback:function(t){a.$set(a.form,"alarmInfo",t)},expression:"form.alarmInfo"}})],1),e("el-form-item",{staticStyle:{"margin-left":"394px"}},[e("span",{staticClass:"btn-item long",on:{click:a.updateData}},[a._v(a._s(a.$t("btn.save")))])])],1)],1)])])],1)},n=[],l=(e("d3b7"),e("25f0"),e("d81d"),e("e9c4"),e("b775"));function i(a){return Object(l["a"])({url:"alarm-service/threshold/getThresholdByDictionary",method:"get",params:a})}function o(a){return Object(l["a"])({headers:{"Content-Type":"application/json"},url:"alarm-service/threshold/updateThreshold",method:"put",data:a})}function s(a){return Object(l["a"])({url:"device-service/dictionary/getDictionaryByCode",method:"get",params:a})}function m(a){return Object(l["a"])({url:"device-service/dictionary/getDictionaryType",method:"get",params:a})}var d={data:function(){var a=this,t=function(t,e,r){e?a.form.maxVal