1 line
14 KiB
JavaScript
1 line
14 KiB
JavaScript
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-377cca88","chunk-32792f0c"],{1380:function(t,e,a){"use strict";a.r(e);var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("el-card",{staticClass:"aui-card--fill staff-report not-in-or-out",attrs:{shadow:"never"}},[a("el-form",{ref:"ruleForm",attrs:{model:t.dataForm,inline:!0},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.getDataList()}}},[a("el-form-item",{attrs:{label:"时间选择"}},[a("el-date-picker",{attrs:{type:"daterange","value-format":"yyyy-MM-dd","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期","picker-options":t.pickerOptions},model:{value:t.daterange,callback:function(e){t.daterange=e},expression:"daterange"}})],1),a("el-form-item",{attrs:{label:"次数"}},[a("el-input",{model:{value:t.dataForm.num,callback:function(e){t.$set(t.dataForm,"num",e)},expression:"dataForm.num"}})],1),a("el-form-item",{attrs:{label:"类型",prop:"typeArr"}},[a("el-select",{staticStyle:{width:"500px"},attrs:{filterable:"",placeholder:"请选择",multiple:"",clearable:""},model:{value:t.typeArr,callback:function(e){t.typeArr=e},expression:"typeArr"}},t._l(t.options,(function(t){return a("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})})),1)],1),a("el-form-item",[a("el-button",{on:{click:t.getDataList}},[t._v("查询")]),a("el-button",{attrs:{type:"warning"},on:{click:function(e){return t.reset("ruleForm")}}},[t._v("重置")])],1)],1),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],ref:"table",staticStyle:{width:"100%"},attrs:{"element-loading-text":"拼命加载中","element-loading-spinner":"el-icon-loading","element-loading-background":"rgba(0, 0, 0, 0.8)",border:"","span-method":t.objectSpanMethod,data:t.dataList,"header-cell-style":{fontSize:"16px"}}},[a("el-table-column",{attrs:{prop:"scStuname",align:"center",label:"姓名",width:"100"}}),a("el-table-column",{attrs:{align:"center",label:"性别",width:"100"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n\t\t\t\t"+t._s(t.$getDictLabel("gender",e.row.scSex))+"\n\t\t\t")]}}])}),a("el-table-column",{attrs:{prop:"scPhonenum",align:"center",label:"联系电话",width:"200"}}),a("el-table-column",{attrs:{prop:"type",align:"center",label:"位置",width:"200"},scopedSlots:t._u([{key:"default",fn:function(e){return[1==e.row.type?a("span",[t._v("宿舍闸机")]):2==e.row.type?a("span",[t._v("教学楼闸机")]):4==e.row.type?a("span",[t._v("UWB")]):t._e()]}}])}),a("el-table-column",{attrs:{prop:"times",align:"center",label:"异常次数",width:"180"}}),a("el-table-column",{attrs:{align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"squareContent",staticStyle:{display:"flex","flex-wrap":"wrap"}},t._l(t.dateRange,(function(n,i){return a("el-tooltip",{key:i,attrs:{effect:"light",content:t.toolComputed(n,e.row.dataAnalysisInfoDTOList)?t.toolComputed(n,e.row.dataAnalysisInfoDTOList):n,placement:"top-start"}},[a("div",{staticClass:"divSquare",style:{backgroundColor:t.toolComputed(n,e.row.dataAnalysisInfoDTOList)?"red":"green"}})])})),1)]}}])},[a("template",{slot:"header"},[a("div",{staticStyle:{display:"flex","justify-content":"center","align-items":"center"}},[a("div",[t._v("结果描述")]),a("div",[t._v("(")]),a("div",{staticStyle:{width:"12px",height:"12px","background-color":"red",margin:"0 10px"}}),a("div",[t._v("异常")]),a("div",{staticStyle:{width:"12px",height:"12px","background-color":"green",margin:"0 10px"}}),a("div",{staticStyle:{"margin-right":"10px"}},[t._v("正常")]),a("div",[t._v(")")])])])],2),a("el-table-column",{attrs:{align:"center",label:"操作",width:"180"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-button",{attrs:{type:"text"},on:{click:function(a){return t.viewHandle(e.row)}}},[t._v("详情")])]}}])})],1),t.viewVisible?a("v-view",{ref:"viewRef"}):t._e()],1)},i=[],r=a("53ca"),o=(a("ac6a"),a("ce0c")),s=a("457f"),l=a("7e6a"),c={components
|