(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-264b9026"],{"6a05":function(e,t,a){"use strict";var i=a("7253"),n=a.n(i);n.a},7253:function(e,t,a){},c681:function(e,t,a){"use strict";a.r(t);var i=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"app-list-content"},[a("cl-crud",{staticClass:"liu-crud-wrap",on:{load:e.onLoad},scopedSlots:e._u([{key:"table-column-addTime",fn:function(t){var i=t.scope;return[a("span",[e._v(e._s(e._f("formatTime")(i.row.addTime)))])]}},{key:"slot-sel-serch",fn:function(t){t.scope;return[a("el-form",{staticClass:"demo-form-inline",attrs:{inline:!0,model:e.form}},[a("el-form-item",{attrs:{label:"员工"}},[a("el-select",{staticStyle:{width:"150px"},attrs:{size:"mini",placeholder:"请选择",clearable:!0},model:{value:e.form.adminId,callback:function(t){e.$set(e.form,"adminId",t)},expression:"form.adminId"}},e._l(e.staffList,(function(t,i){return a("el-option",{key:i,attrs:{label:t.adminName,value:t.id}},[e._v(e._s(t.adminName))])})),1)],1),a("el-form-item",{attrs:{label:"日期"}},[a("el-date-picker",{staticStyle:{width:"150px"},attrs:{type:"date",placeholder:"选择开始日期","value-format":"yyyy-MM-dd",size:"mini"},model:{value:e.form.startTime,callback:function(t){e.$set(e.form,"startTime",t)},expression:"form.startTime"}}),a("span",{staticClass:"picker-separate"},[e._v("-")]),a("el-date-picker",{staticStyle:{width:"150px"},attrs:{type:"date",placeholder:"选择结束日期","value-format":"yyyy-MM-dd",size:"mini"},model:{value:e.form.endTime,callback:function(t){e.$set(e.form,"endTime",t)},expression:"form.endTime"}})],1),a("el-form-item",{attrs:{label:""}},[a("el-button",{attrs:{type:"primary",size:"mini"},on:{click:e.serchFn}},[e._v("确认")])],1)],1)]}}])})],1)},n=[],l={data:function(){return{app:null,staffList:[],form:{adminId:"",startTime:"",endTime:""}}},mounted:function(){this.getStaff()},methods:{getStaff:function(){var e=this;this.$service.staff.list().then((function(t){e.staffList=t.list}))},serchFn:function(){this.app.refresh(this.form)},onLoad:function(e){var t=this,a=e.ctx,i=e.app;this.app=i;var n=function(){return t.$service.single.log(t.form)};a.service({page:n}).set("table",{columns:[{prop:"id",label:"ID",align:"center"},{prop:"adminName",label:"操作者",align:"center"},{prop:"addTime",label:"操作日期",align:"center"},{prop:"ip",label:"IP地址",align:"center"},{prop:"content",label:"操作记录",align:"center",emptyText:"无"}],op:{visible:!1,props:{width:150,align:"center",fixed:"right",label:"操作"},layout:[]}}).set("layout",[["slot-tabs"],["slot-sel-serch","flex1","refresh-btn"],["data-table"],["flex1","pagination"]]).done(),i.refresh(this.form)}}},r=l,s=(a("6a05"),a("5511")),o=Object(s["a"])(r,i,n,!1,null,"4c7a4d08",null);t["default"]=o.exports}}]);