Files
UniversalTestSoftware/client/nginx/html/js/chunk-e064540e.215e1dd2.js

2 lines
32 KiB
JavaScript
Raw Permalink Normal View History

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-e064540e"],{"2e76":function(t,e,a){"use strict";a.r(e);var s=function(){var t=this,e=t._self._c;return e("div",{staticClass:"box-content"},[e("div",{staticClass:"big-box",class:{shrink:t.dialogVisible}},[e("div",{staticClass:"center-top-box"},[e("div",{staticClass:"center-top-list"},[t._l(t.dataTopList,(function(s,i){return e("div",{key:i,staticClass:"center-items",class:t.centerActive===i?"acitem":"",on:{click:function(e){return t.centerClick(s,i)}}},[e("p",{staticClass:"items-box"},[t._v(t._s(s.dataBoardName))]),e("el-dropdown",{staticClass:"ml15",attrs:{trigger:"click"},nativeOn:{click:function(t){t.stopPropagation()}}},[e("img",{staticClass:"icons pointer",attrs:{src:a("67a0"),alt:""}}),e("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[e("el-dropdown-item",{nativeOn:{click:function(e){return t.editTelemeterClick(s,i)}}},[t._v("重命名")]),e("el-dropdown-item",{nativeOn:{click:function(e){return t.deleteTelemeterClick(s)}}},[t._v("删除")])],1)],1)],1)})),e("div",{staticClass:"add-center",on:{click:function(e){return e.stopPropagation(),t.telemeterAdd()}}},[e("img",{staticStyle:{width:"20px",height:"20px"},attrs:{src:a("9b8d")}})])],2)]),e("div",{staticClass:"telemeter-box"},[e("div",{staticClass:"telemeter-left"},[e("el-tree",{ref:"leftTree",staticClass:"mt10",attrs:{"default-expanded-keys":t.firstLevelKeys,"node-key":"webKey",data:t.leftTDList,"expand-on-click-node":!1,props:t.defaultLeftProps,"show-checkbox":"","default-checked-keys":t.checkedList},on:{check:t.changeCheck,"check-change":t.leftHandleChange},scopedSlots:t._u([{key:"default",fn:function({node:a,data:s}){return e("span",{staticClass:"custom-tree-node"},[e("span",{staticClass:"mr10"},[a.level>2&&t.dataBoardType?e("el-color-picker",{attrs:{size:"mini"},on:{change:function(e){return t.changeColorOrLeftRight(s)}},model:{value:s.legendColor,callback:function(e){t.$set(s,"legendColor",e)},expression:"data.legendColor"}}):t._e()],1),e("span",{staticClass:"mr10"},[t._v(" "+t._s(1==a.level?s.channelName:2==a.level?s.protocolName:s.parameter))]),a.level>2&&t.dataBoardType?e("span",{staticClass:"leftOrRight"},[e("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"曲线图左y轴",placement:"top-start"}},[e("i",{staticClass:"el-icon-caret-left",style:{color:1==s.isLeftYaxis?s.legendColor:"#909399",fontSize:"24px",marginRight:"-9px"},on:{click:function(e){return t.changeLeftRight(1,s)}}})]),e("span",{staticClass:"line",style:{backgroundColor:s.legendColor}}),e("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"曲线图右y轴",placement:"top-start"}},[e("i",{staticClass:"el-icon-caret-right",style:{color:0==s.isLeftYaxis?s.legendColor:"#909399",fontSize:"24px",marginLeft:"-14px"},on:{click:function(e){return t.changeLeftRight(0,s)}}})])],1):t._e()])}}])})],1),e("div",{staticClass:"telemeter-right"},[e("div",[e("el-form",{staticClass:"form-top",attrs:{model:t.modelForm,size:"small",inline:!0}},[e("el-form-item",{attrs:{label:"时间范围"}},[e("el-date-picker",{staticStyle:{width:"350px"},attrs:{clearable:"",type:"datetimerange","value-format":"yyyy-MM-dd HH:mm:ss","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期"},on:{change:t.timeChange},model:{value:t.modelForm.value,callback:function(e){t.$set(t.modelForm,"value",e)},expression:"modelForm.value"}})],1),e("el-form-item",{attrs:{label:"每秒数据量"}},[e("el-select",{staticStyle:{width:"80px"},attrs:{placeholder:"请选择"},on:{change:t.changedataNum},model:{value:t.modelForm.dataNum,callback:function(e){t.$set(t.modelForm,"dataNum",e)},expression:"modelForm.dataNum"}},t._l(t.dataSize,(function(t){return e("el-option",{key:t.label,attrs:{label:t.label,value:t.value}})})),1)],1),e("el-form-item",{attrs:{label:"回放速度"}},[e("el-select",{staticStyle:{width:"80px"},attrs:{placeholder:"请选择"},on:{change:t.changeUpdateDataForm},model:{value:t.modelForm.speed,callback:function(e){t.$set(t.modelForm,"speed",e)},expression:"modelForm.speed"}},t._l(t.playbackS
//# sourceMappingURL=chunk-e064540e.215e1dd2.js.map