chunk-97b6bfce.8a805839.js 57 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-97b6bfce"],{"359f":function(e,t,r){"use strict";r.r(t);var a,n=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"m-container"},[e._m(0),e._v(" "),r("div",{staticClass:"m-core"},[r("tab-router",{on:{change:e.changeKey}},[e.permission("/indexErrDataRecord/historyError")?r("el-tab-pane",{attrs:{lazy:"",label:"异常数据查询汇总",name:"historyError"}},["historyError"===e.activeKey?r("historyError"):e._e()],1):e._e(),e._v(" "),e.permission("/indexErrDataRecord/patrol")?r("el-tab-pane",{attrs:{lazy:"",label:"乐团巡查事项异常",name:"patrol"}},["patrol"===e.activeKey?r("patrol",{attrs:{searchType:"MUSIC_PATROL_ITEM"}}):e._e()],1):e._e(),e._v(" "),e.permission("/indexErrDataRecord/inspection")?r("el-tab-pane",{attrs:{lazy:"",label:"乐团巡查任务未提交",name:"inspection"}},["inspection"===e.activeKey?r("patrol",{attrs:{searchType:"INSPECTION_ITEM_PLAN"}}):e._e()],1):e._e(),e._v(" "),e.permission("/indexErrDataRecord/errattendance")?r("el-tab-pane",{attrs:{lazy:"",label:"课程考勤异常",name:"errattendance"}},["errattendance"===e.activeKey?r("errorCourse",{attrs:{searchType:"ERR_ATTENDANCE"}}):e._e()],1):e._e(),e._v(" "),e.permission("/indexErrDataRecord/noattendance")?r("el-tab-pane",{attrs:{lazy:"",label:"课程异常",name:"noattendance"}},["noattendance"===e.activeKey?r("errorCourse",{attrs:{searchType:"NO_ATTENDANCE"}}):e._e()],1):e._e()],1)],1)])},s=[function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("h2",[r("div",{staticClass:"squrt"}),e._v("\n 异常数据查询\n ")])}],o=r("ec8a"),i=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",[r("div",[r("save-form",{ref:"searchForm",attrs:{inline:!0,model:e.searchForm,saveKey:"indexErrDataRecord-"+e.searchType},on:{submit:e.search,reset:e.onReSet}},[r("el-form-item",{attrs:{prop:"search"}},[r("el-input",{attrs:{type:"text",placeholder:"请输入乐团名称",clearable:""},model:{value:e.searchForm.search,callback:function(t){e.$set(e.searchForm,"search",t)},expression:"searchForm.search"}})],1),e._v(" "),r("el-form-item",{attrs:{prop:"organId"}},[r("el-select",{staticClass:"multiple",attrs:{filterable:"",clearable:"",placeholder:"请选择分部"},on:{change:e.onBranchChange},model:{value:e.searchForm.organId,callback:function(t){e.$set(e.searchForm,"organId","string"===typeof t?t.trim():t)},expression:"searchForm.organId"}},e._l(e.selects.branchs,(function(e,t){return r("el-option",{key:t,attrs:{label:e.name,value:e.id}})})),1)],1),e._v(" "),r("el-form-item",{attrs:{prop:"cooperationOrganId"}},[r("el-select",{staticClass:"multiple",attrs:{disabled:!e.searchForm.organId,filterable:"",clearable:"",placeholder:"请选择合作单位"},model:{value:e.searchForm.cooperationOrganId,callback:function(t){e.$set(e.searchForm,"cooperationOrganId","string"===typeof t?t.trim():t)},expression:"searchForm.cooperationOrganId"}},e._l(e.cooperationList,(function(e,t){return r("el-option",{key:t,attrs:{label:e.name,value:e.id}})})),1)],1),e._v(" "),r("el-form-item",{attrs:{prop:"userId"}},[r("el-select",{staticClass:"multiple",attrs:{filterable:"",clearable:"",placeholder:"请选择乐团主管"},model:{value:e.searchForm.userId,callback:function(t){e.$set(e.searchForm,"userId","string"===typeof t?t.trim():t)},expression:"searchForm.userId"}},e._l(e.selects.roles.EDUCATION,(function(t,a){return r("el-option",{key:a,attrs:{label:t.userName,value:t.userId}},[r("span",{staticStyle:{float:"left"}},[e._v(e._s(t.userName))]),e._v(" "),r("span",{staticStyle:{float:"right",color:"#8492a6","font-size":"13px"}},[e._v(e._s(t.userId))])])})),1)],1),e._v(" "),r("el-form-item",{attrs:{prop:"hasDealTime"}},[r("el-select",{attrs:{clearable:"",filterable:"",placeholder:"是否处理异常"},model:{value:e.searchForm.hasDealTime,callback:function(t){e.$set(e.searchForm,"hasDealTime","string"===typeof t?t.trim():t)},expression:"searchForm.hasDealTime"}},[r("el-option",{attrs:{label:"是",value:"1"}}),e._v(" "),r("el-option",{attrs:{label:"否",value:"0"}})],1)],1),e._v(" "),r("el-form-item",{attrs:{prop:"createTimer"}},[r("el-date-picker",{attrs:{type:"daterange","value-format":"yyyy-MM-dd","range-separator":"至","start-placeholder":"巡查开始日期","end-placeholder":"巡查结束日期","picker-options":{firstDayOfWeek:1}},model:{value:e.searchForm.createTimer,callback:function(t){e.$set(e.searchForm,"createTimer","string"===typeof t?t.trim():t)},expression:"searchForm.createTimer"}})],1),e._v(" "),r("el-form-item",[r("el-button",{attrs:{type:"danger","native-type":"submit"}},[e._v("搜索")]),e._v(" "),r("el-button",{attrs:{"native-type":"reset",type:"primary"}},[e._v("重置")])],1)],1),e._v(" "),r("div",{staticClass:"tableWrap"},[r("el-table",{staticStyle:{width:"100%"},attrs:{"header-cell-style":{background:"#EDEEF0",color:"#444"},data:e.tableList}},[r("el-table-column",{attrs:{align:"center",prop:"id",width:"120px",label:"巡查编号"}}),e._v(" "),r("el-table-column",{attrs:{align:"center",label:"所属分部"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.organName)+"("),r("copy-text",[e._v(e._s(t.row.organId))]),e._v(")\n ")]}}])}),e._v(" "),r("el-table-column",{attrs:{align:"center",prop:"cooperationName",label:"合作单位"}}),e._v(" "),r("el-table-column",{attrs:{align:"center",prop:"musicGroupName",label:"巡查乐团"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.musicGroupName)+"("),r("copy-text",[e._v(e._s(t.row.musicGroupId))]),e._v(")\n ")]}}])}),e._v(" "),r("el-table-column",{attrs:{align:"center",label:"乐团主管"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.realName)+"("),r("copy-text",[e._v(e._s(t.row.userId))]),e._v(")\n ")]}}])}),e._v(" "),r("el-table-column",{attrs:{align:"center",label:"巡查项目是否异常"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.conclusionStatus?"否":"是")+"\n ")]}}])}),e._v(" "),r("el-table-column",{attrs:{align:"center",prop:"subject",label:"巡查时间",width:"103px"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e.dayjs(t.row.planStart).format("YYYY-MM-DD HH:mm"))+"~"+e._s(e.dayjs(t.row.planEnd).format("HH:mm"))+"\n ")]}}])}),e._v(" "),r("el-table-column",{attrs:{align:"center",prop:"submitedTime",label:"提交时间"}}),e._v(" "),r("el-table-column",{attrs:{align:"center",prop:"status",label:"提交状态"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e._f("statusFormat")(t.row.status))+"\n ")]}}])}),e._v(" "),r("el-table-column",{attrs:{align:"center",label:"处理方式"},scopedSlots:e._u([{key:"default",fn:function(e){return[r("overflow-text",{attrs:{width:"100%",text:e.row.memo}})]}}])}),e._v(" "),r("el-table-column",{attrs:{align:"center",label:"异常产生时间"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("div",[e._v("\n "+e._s(e._f("dayjsFormat")(t.row.generateTime))+"\n ")])]}}])}),e._v(" "),r("el-table-column",{attrs:{align:"center",label:"异常处理时间",width:"103px"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("div",[e._v("\n "+e._s(t.row.dealTime)+"\n ")])]}}])}),e._v(" "),"MUSIC_PATROL_ITEM"==e.searchType?r("el-table-column",{attrs:{align:"center",width:"250px",label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){return[0!=t.row.status?r("auth",{attrs:{auths:"inspectionItemPlanConclusion/getPlanConclusion/4403"}},[r("el-button",{attrs:{type:"text"},on:{click:function(r){return e.onLook(t.row)}}},[e._v("查看")])],1):e._e(),e._v(" "),0!=t.row.status?r("auth",{attrs:{auths:"inspectionItemPlanConclusion/GPS-INFO/4404"}},[r("el-button",{attrs:{type:"text"},on:{click:function(r){return e.onGPS(t.row)}}},[e._v("GPS定位")])],1):e._e(),e._v(" "),0!=t.row.status?r("auth",{attrs:{auths:"inspectionItemPlanConclusion/exportPlanConclusion/4405"}},[r("el-button",{attrs:{type:"text"},on:{click:function(r){return e.onExport(t.row)}}},[e._v("下载")])],1):e._e()]}}],null,!1,95967362)}):e._e()],1),e._v(" "),r("pagination",{attrs:{saveKey:"indexErrDataRecord-"+e.searchType,total:e.pageInfo.total,sync:"",page:e.pageInfo.page,limit:e.pageInfo.limit,"page-sizes":e.pageInfo.page_size},on:{"update:total":function(t){return e.$set(e.pageInfo,"total",t)},"update:page":function(t){return e.$set(e.pageInfo,"page",t)},"update:limit":function(t){return e.$set(e.pageInfo,"limit",t)},pagination:e.getList}})],1)],1),e._v(" "),r("el-dialog",{attrs:{title:"乐团巡查表",visible:e.tableStatus,width:"1200px"},on:{"update:visible":function(t){e.tableStatus=t}}},[e.tableStatus?r("look-detail",{attrs:{detail:e.planDetail}}):e._e()],1),e._v(" "),r("el-dialog",{attrs:{title:"GPS定位",visible:e.gpsVisible,width:"1000px","append-to-body":""},on:{"update:visible":function(t){e.gpsVisible=t}}},[e.gpsVisible?r("gpsLoction",{attrs:{activeRow:e.activeRow}}):e._e()],1),e._v(" "),r("el-dialog",{attrs:{title:"处理方式",visible:e.handleStatus,width:"500px"},on:{"update:visible":function(t){e.handleStatus=t},close:function(t){return e.handleClose("ruleForm")}}},[r("el-form",{ref:"ruleForm",attrs:{model:e.handleForm,"label-position":"top"}},[r("el-form-item",{attrs:{label:"处理方式",prop:"memo",rules:[{required:!0,message:"请输入处理方式",trigger:"blur"}]}},[r("el-input",{attrs:{type:"textarea"},model:{value:e.handleForm.memo,callback:function(t){e.$set(e.handleForm,"memo","string"===typeof t?t.trim():t)},expression:"handleForm.memo"}})],1)],1),e._v(" "),r("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[r("el-button",{on:{click:function(t){e.handleStatus=!1}}},[e._v("取 消")]),e._v(" "),r("el-button",{attrs:{type:"primary"},on:{click:function(t){return e.onHandleSubmit("ruleForm")}}},[e._v("确 定")])],1)],1)],1)},l=[],c=r("ade3"),u=r("5530"),p=r("15fd"),m=(r("c5f6"),r("96cf"),r("1da1")),h=r("333d"),d=r("f903"),f=r("5a0c"),b=r.n(f),v=r("44ac"),g=r("99b4"),y=(r("160b"),r("ed08")),_=r("adb21"),F=r("9be9"),w=r("829b"),x=function(e){return Object(w["a"])({url:"/api-web/indexErrDataRecord/queryErrInspectionData",params:e,method:"get"})},I=function(e){return Object(w["a"])({url:"/api-web/indexErrDataRecord/queryErrStudentVisit",params:e,method:"get"})},S=function(e){return Object(w["a"])({url:"/api-web/indexErrDataRecord/queryHistoryErrCourseData",params:e,method:"get"})},T=function(e){return Object(w["a"])({url:"/api-web/indexErrDataRecord/queryRecord",params:e,method:"get"})},k=function(e){return Object(w["a"])({url:"/api-web/indexErrDataRecord/errDataSummarizing",params:e,method:"get"})},O=function(e){return Object(w["a"])({url:"/api-web/indexErrDataRecord/getAllEducationUsers",params:e,method:"get"})},j={props:["searchType"],components:{pagination:h["a"],LookDetail:d["a"],gpsLoction:F["a"]},data:function(){return{cooperationList:[],musicGroupList:[],activeRow:null,planDetail:null,searchForm:{search:null,organId:null,userId:null,conclusionStatus:null,cooperationOrganId:null,createTimer:[],hasDealTime:null},tableList:[],pageInfo:{limit:10,page:1,total:0,page_size:[10,20,40,50]},handleStatus:!1,handleForm:{id:null,memo:null},tableStatus:!1,gpsVisible:!1}},mounted:function(){var e=Object(m["a"])(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=this.$route.query,t.organId&&(this.searchForm.organId=t.organId),t.conclusionStatus&&(this.searchForm.conclusionStatus=Number(t.conclusionStatus)),t.start&&t.end&&(this.searchForm.createTimer=[t.start,t.end]),this.getList(),e.next=7,this.$store.dispatch("setBranchs");case 7:return e.next=9,this.$store.dispatch("setOrganRole");case 9:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),methods:(a={dayjs:b.a,reloadSearch:function(){this.rules.page=1,this.getList()},getList:function(){var e=Object(m["a"])(regeneratorRuntime.mark((function e(){var t,r,a,n,s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,t=this.searchForm,r=t.createTimer,a=Object(p["a"])(t,["createTimer"]),n=Object(u["a"])(Object(u["a"])({},a),{},{page:this.pageInfo.page,rows:this.pageInfo.limit,searchType:this.searchType},Object(y["a"])(r,["startTime","endTime"])),e.next=5,x(n);case 5:s=e.sent,this.tableList=s.data.rows,this.pageInfo.total=s.data.total,e.next=12;break;case 10:e.prev=10,e.t0=e["catch"](0);case 12:case"end":return e.stop()}}),e,this,[[0,10]])})));function t(){return e.apply(this,arguments)}return t}()},Object(c["a"])(a,"reloadSearch",(function(){this.rules.page=1,this.getList()})),Object(c["a"])(a,"onLook",(function(e){this.planDetail=e,this.tableStatus=!0})),Object(c["a"])(a,"onGPS",(function(e){this.activeRow={schoolLongitudeLatitude:e.schoolGps,signOutLongitudeLatitude:e.submitedGps},this.gpsVisible=!0})),Object(c["a"])(a,"onExport",function(){var e=Object(m["a"])(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(_["a"])(this,{url:"/api-web/inspectionItemPlanConclusion/exportPlanConclusion",fileName:"巡查结果.xls",method:"get",params:{planId:t.id}},"您确定导出巡查结果?");case 2:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}()),Object(c["a"])(a,"onBranchChange",function(){var e=Object(m["a"])(regeneratorRuntime.mark((function e(t){var r=this;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(t){e.next=4;break}return this.cooperationList=[],this.searchForm.cooperationOrganId=null,e.abrupt("return");case 4:return e.next=6,Object(g["E"])({organId:t}).then((function(e){200==e.code&&(r.cooperationList=e.data)}));case 6:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}()),Object(c["a"])(a,"search",(function(){this.pageInfo.page=1,this.getList()})),Object(c["a"])(a,"onReSet",(function(){this.$refs["searchForm"].resetFields(),this.pageInfo.page=1,this.getList()})),Object(c["a"])(a,"handleClick",(function(e){this.handleForm.id=e.id,this.handleForm.memo=e.memo,this.handleStatus=!0})),Object(c["a"])(a,"onHandleSubmit",(function(e){var t=this;this.$refs[e].validate(function(){var e=Object(m["a"])(regeneratorRuntime.mark((function e(r){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!r){e.next=12;break}return console.log(t.handleForm),e.prev=2,e.next=5,Object(v["c"])(t.handleForm);case 5:t.$message.success("处理成功"),t.getList(),t.handleStatus=!1,e.next=12;break;case 10:e.prev=10,e.t0=e["catch"](2);case 12:case"end":return e.stop()}}),e,null,[[2,10]])})));return function(t){return e.apply(this,arguments)}}())})),Object(c["a"])(a,"handleClose",(function(e){this.$refs[e].resetFields()})),a),filters:{statusFormat:function(e){var t=["未提交","正常","异常"];return t[e]}}},D=j,C=(r("c414"),r("2877")),E=Object(C["a"])(D,i,l,!1,null,"eb87393c",null),L=E.exports,N=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",[r("save-form",{ref:"searchForm",attrs:{inline:!0,model:e.searchForm,saveKey:"indexErrDataRecord-"+e.searchType},on:{submit:e.search,reset:e.onReSet}},[r("el-form-item",{attrs:{prop:"organId"}},[r("el-select",{staticClass:"multiple",attrs:{filterable:"",clearable:"",placeholder:"请选择分部"},model:{value:e.searchForm.organId,callback:function(t){e.$set(e.searchForm,"organId","string"===typeof t?t.trim():t)},expression:"searchForm.organId"}},e._l(e.selects.branchs,(function(e,t){return r("el-option",{key:t,attrs:{label:e.name,value:e.id}})})),1)],1),e._v(" "),r("el-form-item",{attrs:{prop:"userId"}},[r("remote-search",{attrs:{commit:"setEducations"},model:{value:e.searchForm.userId,callback:function(t){e.$set(e.searchForm,"userId",t)},expression:"searchForm.userId"}})],1),e._v(" "),r("el-form-item",{attrs:{prop:"month"}},[r("el-date-picker",{staticStyle:{width:"220px"},attrs:{"value-format":"yyyy-MM",type:"monthrange","start-placeholder":"开始周期","end-placeholder":"结束周期"},model:{value:e.searchForm.month,callback:function(t){e.$set(e.searchForm,"month",t)},expression:"searchForm.month"}})],1),e._v(" "),r("el-form-item",[r("el-button",{attrs:{"native-type":"submit",type:"primary"}},[e._v("搜索")]),e._v(" "),r("el-button",{attrs:{"native-type":"reset",type:"danger"}},[e._v("重置")])],1)],1),e._v(" "),r("el-table",{staticStyle:{width:"100%"},attrs:{"header-cell-style":{background:"#EDEEF0",color:"#444"},data:e.tableList}},[r("el-table-column",{attrs:{align:"center",prop:"organName",label:"分部"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("div",[r("copy-text",[e._v(e._s(t.row.organName))])],1)]}}])}),e._v(" "),r("el-table-column",{attrs:{align:"center",prop:"month",label:"工作周期"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("div",[e._v("\n "+e._s(e._f("dayjsFormatWeek")(t.row.month))+"\n ")])]}}])}),e._v(" "),r("el-table-column",{attrs:{align:"center",prop:"userName",label:"乐团主管"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("div",[r("copy-text",[e._v(e._s(t.row.userName))])],1)]}}])}),e._v(" "),r("el-table-column",{attrs:{align:"center",prop:"item",label:"任务事项"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("div",[e._v("\n "+e._s(e._f("inspectionItemFormat")(t.row.item))+"\n ")])]}}])}),e._v(" "),r("el-table-column",{attrs:{align:"center",prop:"times",label:"任务次数"}}),e._v(" "),r("el-table-column",{attrs:{align:"center",prop:"plannedTimes",label:"已安排日程次数"}}),e._v(" "),r("el-table-column",{attrs:{align:"center",prop:"submittedTimes",label:"已提交任务数"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("div",{style:t.row.times>t.row.submittedTimes?"color:red":""},[e._v("\n "+e._s(t.row.submittedTimes)+"\n ")])]}}])}),e._v(" "),r("el-table-column",{attrs:{align:"center",prop:"memo",label:"处理意见",width:"220"},scopedSlots:e._u([{key:"default",fn:function(e){return[r("overflow-text",{attrs:{text:e.row.memo}})]}}])}),e._v(" "),r("el-table-column",{attrs:{align:"center",label:"异常产生时间"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("div",[e._v("\n "+e._s(e._f("dayjsFormat")(t.row.generateTime))+"\n ")])]}}])}),e._v(" "),r("el-table-column",{attrs:{align:"center",label:"异常处理时间"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("div",[e._v("\n "+e._s(t.row.dealTime)+"\n ")])]}}])})],1),e._v(" "),r("pagination",{attrs:{sync:"",total:e.rules.total,saveKey:"indexErrDataRecord-"+e.searchType,page:e.rules.page,limit:e.rules.limit,"page-sizes":e.rules.page_size},on:{"update:total":function(t){return e.$set(e.rules,"total",t)},"update:page":function(t){return e.$set(e.rules,"page",t)},"update:limit":function(t){return e.$set(e.rules,"limit",t)},pagination:e.getList}})],1)},$=[],R=(r("386d"),{props:["searchType"],components:{pagination:h["a"]},data:function(){return{searchForm:{userId:"",organId:"",month:[],searchType:""},handleForm:{memo:"",searchType:""},tableList:[],handleVisible:!1,rules:{limit:10,page:1,total:0,page_size:[10,20,40,50]}}},mounted:function(){var e=this.$route.query;e.organId&&(this.searchForm.organId=e.organId),e.start&&e.end&&(this.searchForm.month=[e.start,e.end]),this.$store.dispatch("setBranchs"),this.getList()},methods:{permission:function(e){return Object(o["a"])(e)},onReSet:function(){this.$refs.searchForm.resetFields(),this.search()},search:function(){this.rules.page=1,this.getList()},getList:function(){var e=Object(m["a"])(regeneratorRuntime.mark((function e(){var t,r,a,n,s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=this.searchForm,r=t.month,a=Object(p["a"])(t,["month"]),n=Object(u["a"])(Object(u["a"])(Object(u["a"])({},a),{},{page:this.rules.page,rows:this.rules.limit},Object(y["a"])(r,["startTime","endTime"],"YYYY-MM")),{},{searchType:this.searchType}),e.prev=2,e.next=5,I(n);case 5:s=e.sent,this.tableList=s.data.rows,this.rules.total=s.data.total,e.next=13;break;case 10:e.prev=10,e.t0=e["catch"](2),console.log(e.t0);case 13:case"end":return e.stop()}}),e,this,[[2,10]])})));function t(){return e.apply(this,arguments)}return t}(),resetLine:function(e){var t=e.id,r=e.memo;this.handleForm={id:t,memo:r},this.handleVisible=!0},gotoHander:function(e){var t=b()(e.month).startOf("month").format("YYYY-MM-DD"),r=b()(e.month).endOf("month").format("YYYY-MM-DD");"VISIT"==e.item?this.$router.push({path:"/studentManager/returnVisitList",query:{teacher:e.userName,timer:[t,r]}}):this.$router.push({path:"/main/scheduleDetail",query:{teacher:e.userId,startTime:t,endTime:r,name:e.userName,organId:e.organId,itemId:e.id,times:e.times}})}}}),V=R,A=Object(C["a"])(V,N,$,!1,null,"5c0273f7",null),M=A.exports,P=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",[r("div",[r("save-form",{ref:"searchForm",staticClass:"searchForm",attrs:{inline:!0,model:e.searchForm,saveKey:"indexErrDataRecord-"+e.searchType},on:{submit:e.search,reset:e.reset,"update:model":function(t){e.searchForm=t}}},[r("el-form-item",[r("el-input",{attrs:{type:"number",clearable:"",placeholder:"课程编号"},model:{value:e.searchForm.courseIdSearch,callback:function(t){e.$set(e.searchForm,"courseIdSearch","string"===typeof t?t.trim():t)},expression:"searchForm.courseIdSearch"}})],1),e._v(" "),r("el-form-item",[r("remote-search",{attrs:{commit:"setTeachers"},model:{value:e.searchForm.teacherIdList,callback:function(t){e.$set(e.searchForm,"teacherIdList",t)},expression:"searchForm.teacherIdList"}})],1),e._v(" "),r("el-form-item",[r("el-select",{attrs:{clearable:"",filterable:"",placeholder:"课程类型"},model:{value:e.searchForm.courseType,callback:function(t){e.$set(e.searchForm,"courseType","string"===typeof t?t.trim():t)},expression:"searchForm.courseType"}},e._l(e.courseType,(function(e,t){return r("el-option",{key:t,attrs:{value:e.value,label:e.label}})})),1)],1),e._v(" "),r("el-form-item",[r("el-select",{attrs:{clearable:"",filterable:"",placeholder:"课程状态"},model:{value:e.searchForm.courseStatus,callback:function(t){e.$set(e.searchForm,"courseStatus","string"===typeof t?t.trim():t)},expression:"searchForm.courseStatus"}},[r("el-option",{attrs:{label:"未开始",value:"NOT_START"}}),e._v(" "),r("el-option",{attrs:{label:"进行中",value:"UNDERWAY"}}),e._v(" "),r("el-option",{attrs:{label:"已结束",value:"OVER"}})],1)],1),e._v(" "),r("el-form-item",{attrs:{prop:"educationUserId"}},[r("el-select",{staticClass:"multiple",attrs:{filterable:"",clearable:"",placeholder:"请选择乐团主管"},model:{value:e.searchForm.educationUserId,callback:function(t){e.$set(e.searchForm,"educationUserId","string"===typeof t?t.trim():t)},expression:"searchForm.educationUserId"}},e._l(e.educationList,(function(t,a){return r("el-option",{key:a,attrs:{label:t.userName,value:t.userId}},[r("span",{staticStyle:{float:"left"}},[e._v(e._s(t.userName))]),e._v(" "),r("span",{staticStyle:{float:"right",color:"#8492a6","font-size":"13px"}},[e._v(e._s(t.userId))])])})),1)],1),e._v(" "),r("el-form-item",[r("el-select",{attrs:{clearable:"",filterable:"",placeholder:"是否处理异常"},model:{value:e.searchForm.hasDealTime,callback:function(t){e.$set(e.searchForm,"hasDealTime","string"===typeof t?t.trim():t)},expression:"searchForm.hasDealTime"}},[r("el-option",{attrs:{label:"是",value:"1"}}),e._v(" "),r("el-option",{attrs:{label:"否",value:"0"}})],1)],1),e._v(" "),r("el-form-item",[r("el-date-picker",{attrs:{type:"daterange","value-format":"yyyy-MM-dd","range-separator":"至","start-placeholder":"上课开始日期","end-placeholder":"上课结束日期","picker-options":{firstDayOfWeek:1}},model:{value:e.searchForm.timer,callback:function(t){e.$set(e.searchForm,"timer","string"===typeof t?t.trim():t)},expression:"searchForm.timer"}})],1),e._v(" "),r("el-form-item",[r("el-button",{attrs:{type:e.isSearch?"primary":"info",icon:"el-icon-circle-plus-outline"},on:{click:function(t){e.showMove=!0}}},[e._v("更多选项")])],1),e._v(" "),r("el-form-item",[r("el-button",{attrs:{"native-type":"submit",type:"primary"}},[e._v("搜索")]),e._v(" "),r("el-button",{attrs:{"native-type":"reset",type:"danger"}},[e._v("重置")])],1)],1),e._v(" "),r("div",{staticClass:"tableWrap"},[r("el-table",{ref:"tableList",attrs:{data:e.tableList,"header-cell-style":{background:"#EDEEF0",color:"#444"},"row-key":"id"}},[e._v("\n >\n\n "),r("el-table-column",{attrs:{align:"center",prop:"organName",label:"分部名称"}}),e._v(" "),r("el-table-column",{attrs:{align:"center",width:"170px",prop:"musicGroupId",label:"乐团/课程组编号"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("el-button",{staticStyle:{width:"100%"},attrs:{type:"text"},on:{click:function(r){return e.gotoCourse(t.row)}}},[r("copy-text",[e._v(e._s(t.row.musicGroupId))])],1)]}}])}),e._v(" "),r("el-table-column",{attrs:{align:"center",prop:"id",width:"100px",label:"课程编号"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("copy-text",[e._v(e._s(t.row.id))])]}}])}),e._v(" "),r("el-table-column",{attrs:{align:"center",width:"200px",label:"上课时间"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.startClassTime?t.row.startClassTime.substr(0,16):"")+"-"+e._s(t.row.endClassTime?t.row.endClassTime.substr(11,5):""))]}}])}),e._v(" "),r("el-table-column",{attrs:{align:"center",prop:"subjectName",label:"声部"}}),e._v(" "),r("el-table-column",{attrs:{prop:"name",width:"150px",label:"课程名称"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("copy-text",[e._v(e._s(t.row.name))])]}}])}),e._v(" "),r("el-table-column",{attrs:{align:"center",width:"150px",label:"课程类型"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("div",[e._v(e._s(e._f("coursesType")(t.row.type)))])]}}])}),e._v(" "),r("el-table-column",{attrs:{align:"center",label:"教学模式"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("div",[e._v(e._s(e._f("teachMode")(t.row.teachMode)))])]}}])}),e._v(" "),r("el-table-column",{attrs:{align:"center",prop:"teacherName",width:"110",label:"主教老师"}}),e._v(" "),r("el-table-column",{attrs:{align:"center",prop:"educationTeacherName",width:"110",label:"乐团主管"}}),e._v(" "),r("el-table-column",{attrs:{align:"center",prop:"schoolName",label:"教学点"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("div",[e._v("\n "+e._s(t.row.schoolName?t.row.schoolName:"网络教室")+"\n ")])]}}])}),e._v(" "),r("el-table-column",{attrs:{align:"center",prop:"courseScheduleStatus",label:"课程状态"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("div",[e._v(e._s(e._f("coursesStatus")(t.row.status)))])]}}])}),e._v(" "),r("el-table-column",{attrs:{align:"center",label:"考勤申诉"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("div",[e._v(e._s(1==t.row.isComplaints?"是":"否"))])]}}])}),e._v(" "),r("el-table-column",{attrs:{align:"center",prop:"isLock",label:"是否冻结"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.isLock?"是":"否"))]}}])}),e._v(" "),r("el-table-column",{attrs:{align:"center",label:"异常产生时间",width:"103px"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("div",[e._v("\n "+e._s(e._f("dayjsFormat")(t.row.generateTime))+"\n ")])]}}])}),e._v(" "),r("el-table-column",{attrs:{align:"center",label:"异常处理时间",width:"103px"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("div",[e._v("\n "+e._s(t.row.dealTime)+"\n ")])]}}])}),e._v(" "),r("el-table-column",{attrs:{align:"center",prop:"isCallNames",label:"是否点名",fixed:"right"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.isCallNames?"是":"否"))]}}])}),e._v(" "),r("el-table-column",{attrs:{align:"center",label:"详情",fixed:"right"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("div",[r("auth",{attrs:{auths:"/teamCourseList"}},[r("el-button",{attrs:{type:"text"},on:{click:function(r){return e.lookDetail(t.row)}}},[e._v("查看")])],1)],1)]}}])})],1),e._v(" "),r("pagination",{attrs:{total:e.rules.total,page:e.rules.page,limit:e.rules.limit,"page-sizes":e.rules.page_size,saveKey:"indexErrDataRecord-"+e.searchType,sync:""},on:{"update:total":function(t){return e.$set(e.rules,"total",t)},"update:page":function(t){return e.$set(e.rules,"page",t)},"update:limit":function(t){return e.$set(e.rules,"limit",t)},pagination:e.getList}})],1)],1),e._v(" "),e.showMove?r("el-dialog",{attrs:{title:"更多选项",visible:e.showMove,width:"700px"},on:{"update:visible":function(t){e.showMove=t}}},[r("el-form",{ref:"searchForm2",staticClass:"searchForm",attrs:{inline:!0,model:e.searchForm,"label-width":"120px"},on:{submit:e.search,reset:e.reset,"update:model":function(t){e.searchForm=t}}},[r("el-form-item",{attrs:{label:"课程组编号/名称",prop:"search"}},[r("el-input",{staticStyle:{width:"180px !important"},attrs:{clearable:"",placeholder:"课程组编号/课程名称"},model:{value:e.searchForm.search,callback:function(t){e.$set(e.searchForm,"search","string"===typeof t?t.trim():t)},expression:"searchForm.search"}})],1),e._v(" "),r("el-form-item",{attrs:{label:"教学点",prop:"schoolId"}},[r("el-select",{staticStyle:{width:"180px !important"},attrs:{clearable:"",filterable:"",placeholder:"请选择教学点"},model:{value:e.searchForm.schoolId,callback:function(t){e.$set(e.searchForm,"schoolId","string"===typeof t?t.trim():t)},expression:"searchForm.schoolId"}},e._l(e.selects.schools,(function(e,t){return r("el-option",{key:t,attrs:{value:e.id,label:e.name}})})),1)],1),e._v(" "),r("el-form-item",{attrs:{label:"分部",prop:"organIdList"}},[r("el-select",{staticClass:"multiple",staticStyle:{width:"180px !important"},attrs:{filterable:"",clearable:"",placeholder:"请选择分部"},model:{value:e.searchForm.organIdList,callback:function(t){e.$set(e.searchForm,"organIdList","string"===typeof t?t.trim():t)},expression:"searchForm.organIdList"}},e._l(e.selects.branchs,(function(e,t){return r("el-option",{key:t,attrs:{label:e.name,value:e.id}})})),1)],1),e._v(" "),r("el-form-item",{attrs:{label:"课程组类型",prop:"groupType"}},[r("el-select",{staticStyle:{width:"180px !important"},attrs:{clearable:"",filterable:"",placeholder:"课程组类型"},model:{value:e.searchForm.groupType,callback:function(t){e.$set(e.searchForm,"groupType","string"===typeof t?t.trim():t)},expression:"searchForm.groupType"}},e._l(e.courseListType,(function(e){return r("el-option",{key:e.value,attrs:{value:e.value,label:e.label}})})),1)],1),e._v(" "),r("el-form-item",{attrs:{label:"教学模式",prop:"teachMode"}},[r("el-select",{staticStyle:{width:"180px !important"},attrs:{clearable:"",filterable:"",placeholder:"教学模式"},model:{value:e.searchForm.teachMode,callback:function(t){e.$set(e.searchForm,"teachMode","string"===typeof t?t.trim():t)},expression:"searchForm.teachMode"}},[r("el-option",{attrs:{label:"线上课",value:"ONLINE"}}),e._v(" "),r("el-option",{attrs:{label:"线下课",value:"OFFLINE"}})],1)],1),e._v(" "),r("el-form-item",{attrs:{label:"合并课类型",prop:"mergeCourseType"}},[r("el-select",{staticStyle:{width:"180px !important"},attrs:{clearable:"",filterable:"",placeholder:"合并课程类型"},model:{value:e.searchForm.mergeCourseType,callback:function(t){e.$set(e.searchForm,"mergeCourseType","string"===typeof t?t.trim():t)},expression:"searchForm.mergeCourseType"}},e._l(e.mergeCourseTypeOptions,(function(e,t){return r("el-option",{key:t,attrs:{value:e.value,label:e.label}})})),1)],1),e._v(" "),r("el-form-item",{attrs:{label:"老师类型",prop:"teachType"}},[r("el-select",{staticStyle:{width:"180px !important"},attrs:{clearable:"",filterable:"",placeholder:"老师类型"},model:{value:e.searchForm.teachType,callback:function(t){e.$set(e.searchForm,"teachType","string"===typeof t?t.trim():t)},expression:"searchForm.teachType"}},e._l(e.workTypeOptions,(function(e){return r("el-option",{key:e.label,attrs:{label:e.label,value:e.value}})})),1)],1),e._v(" "),r("el-form-item",{attrs:{label:"是否点名",prop:"isCallNames"}},[r("el-select",{staticStyle:{width:"180px !important"},attrs:{clearable:"",filterable:"",placeholder:"是否点名"},model:{value:e.searchForm.isCallNames,callback:function(t){e.$set(e.searchForm,"isCallNames","string"===typeof t?t.trim():t)},expression:"searchForm.isCallNames"}},[r("el-option",{attrs:{label:"是",value:"1"}}),e._v(" "),r("el-option",{attrs:{label:"否",value:"0"}})],1)],1),e._v(" "),r("el-form-item",{attrs:{label:"创建日期",prop:"creatTimer"}},[r("el-date-picker",{attrs:{type:"daterange","value-format":"yyyy-MM-dd","range-separator":"-","start-placeholder":"创建开始日期","end-placeholder":"创建结束日期","picker-options":{firstDayOfWeek:1}},model:{value:e.searchForm.creatTimer,callback:function(t){e.$set(e.searchForm,"creatTimer","string"===typeof t?t.trim():t)},expression:"searchForm.creatTimer"}})],1)],1),e._v(" "),r("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[r("el-button",{on:{click:e.cancleMore}},[e._v("取 消")]),e._v(" "),r("el-button",{attrs:{type:"primary"},on:{click:e.okMore}},[e._v("确 定")])],1)],1):e._e()],1)},q=[],G=r("53ca"),Y=(r("1cc7"),r("7e78"),r("267e")),z=(r("8018"),r("92e3")),U=new Date;U=U.getFullYear()+"-"+(U.getMonth()+1)+"-"+U.getDate();var K={teachMode:null,organIdList:null,courseStatus:null,courseType:null,timer:[],class:null,teachType:null,mergeCourseType:null,isCallNames:null,search:null,teacherIdList:null,schoolId:null,creatTimer:[],courseIdSearch:null,hasDealTime:null,educationUserId:null},B={props:["searchType"],data:function(){return{classVisible:!1,timerVisible:!1,courseVisible:!1,locationVisible:!1,courseType:z["u"],mergeCourseType:Y["mergeCourseType"],courseListType:z["s"],searchForm:Object(u["a"])({},K),tableList:[],searchLsit:[],organList:[],rules:{limit:10,page:1,total:0,page_size:[10,20,40,50]},teacherList:[],schoolList:[],maskForm:{},activeName:"first",id:null,show:!1,compoundList:[],deleteList:[],isMainGo:!1,isDetele:!1,showMove:!1,educationList:[]}},components:{pagination:h["a"]},created:function(){},computed:{workTypeOptions:function(){return Object(y["b"])(Y["workType"])},mergeCourseTypeOptions:function(){return Object(y["b"])(Y["mergeCourseType"])},isSearch:function(){var e;return this.searchForm.search||this.searchForm.schoolId||this.searchForm.organIdList||this.searchForm.groupType||this.searchForm.teachMode||this.searchForm.mergeCourseType||this.searchForm.teachType||this.searchForm.isCallNames||(null===(e=this.searchForm.creatTimer)||void 0===e?void 0:e.length)>0}},mounted:function(){var e=Object(m["a"])(regeneratorRuntime.mark((function e(){var t,r,a,n,s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(t=this.$route.query,t.start||t.end)this.searchForm.timer=[t.start,t.end];else{for(a in r=!1,this.searchForm)"object"==Object(G["a"])(this.searchForm[a])?(null===(n=this.searchForm[a])||void 0===n?void 0:n.length)>0&&(r=!0):this.searchForm[a]&&(r=!0);r||(this.searchForm.timer=[])}return"COURSE_TIME_ERROR"==t.searchType&&(this.searchForm.timer=[]),t.organId&&(this.searchForm.organIdList=Number(t.organId)),e.prev=4,e.next=7,O();case 7:s=e.sent,this.educationList=s.data,e.next=13;break;case 11:e.prev=11,e.t0=e["catch"](4);case 13:this.$store.dispatch("setBranchs"),this.$store.dispatch("setTeachers"),this.$store.dispatch("setSchools"),this.init();case 17:case"end":return e.stop()}}),e,this,[[4,11]])})));function t(){return e.apply(this,arguments)}return t}(),methods:{init:function(){this.getList()},setTimeForSearch:function(){var e=this.$route.query;e.start||e.end?this.searchForm.timer=[e.start,e.end]:this.searchForm.timer=[]},permission:function(e,t){return Object(o["a"])(e,t)},reloadSearch:function(e){e||(this.searchForm.timer=[U,U]),this.rules.page=1,this.getList()},reset:function(){this.searchForm=Object(u["a"])({},K),this.search()},search:function(){this.rules.page=1,this.$refs.searchForm.save(this.searchForm),this.getList()},common:function(e){this.searchForm=Object(u["a"])(Object(u["a"])({},K),{},{timer:[],courseIdSearch:e.newCourseId}),this.search()},getSearchForm:function(){var e=this.searchForm;(!e.timer||e.timer.length<=0)&&(e.timer=[]),(!e.creatTimer||e.creatTimer.length<=0)&&(e.creatTimer=[]);for(var t in e)(e[t]&&!Array.isArray(e[t])||Array.isArray(e[t])&&e[t].length>0)&&0;var r=e.creatTimer,a=e.timer,n=Object(p["a"])(e,["creatTimer","timer"]);return Object(u["a"])(Object(u["a"])(Object(u["a"])({},n),{},{page:this.rules.page,rows:this.rules.limit,searchType:this.searchType},Object(y["a"])(r,["createStartDate","createEndDate"])),Object(y["a"])(a,["startTime","endTime"]))},getList:function(){var e=Object(m["a"])(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(this.getSearchForm()){e.next=2;break}return e.abrupt("return");case 2:return e.prev=2,e.next=5,S(this.getSearchForm());case 5:t=e.sent,this.tableList=t.data.rows,this.rules.total=t.data.total,e.next=13;break;case 10:e.prev=10,e.t0=e["catch"](2),console.log(e.t0);case 13:case"end":return e.stop()}}),e,this,[[2,10]])})));function t(){return e.apply(this,arguments)}return t}(),lookDetail:function(e){this.$router.push({name:"teamCourseList",params:{courseIdSearch:e.id}})},resetClass:function(e){this.id=e.id,this.show=!0},closeReset:function(){this.show=!1},gotoCourse:function(e){"MUSIC"==e.groupType?this.$router.push({path:"/teamList",query:{search:e.musicGroupId}}):"VIP"==e.groupType?this.$router.push({path:"/vipManager/vipList",query:{search:e.musicGroupId}}):"PRACTICE"==e.groupType&&this.$router.push({path:"/accompanyManager/accompany",query:{search:e.musicGroupId}})},cancleMore:function(){this.showMove=!1},okMore:function(){this.getList(),this.showMove=!1}},filters:{isCall:function(e){return 0==e?"未点名":1==e?"已点名":void 0}},watch:{classVisible:function(e){e||(this.activeName=null)}}},H=B,W=(r("b717"),Object(C["a"])(H,P,q,!1,null,"49810c27",null)),J=W.exports,Q=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",[r("save-form",{ref:"searchForm",attrs:{inline:!0,model:e.searchForm,saveKey:"indexErrDataRecord-historyError"},on:{submit:e.search,reset:e.onReSet}},[r("el-form-item",{attrs:{prop:"organIds"}},[r("el-select",{staticClass:"multiple",attrs:{filterable:"",clearable:"",placeholder:"请选择分部"},on:{change:e.changeBranch},model:{value:e.searchForm.organIds,callback:function(t){e.$set(e.searchForm,"organIds","string"===typeof t?t.trim():t)},expression:"searchForm.organIds"}},e._l(e.selects.branchs,(function(e,t){return r("el-option",{key:t,attrs:{label:e.name,value:e.id}})})),1)],1),e._v(" "),r("el-form-item",{attrs:{prop:"educationUserId"}},[r("el-select",{staticClass:"multiple",attrs:{filterable:"",clearable:"",placeholder:"请选择乐团主管"},model:{value:e.searchForm.educationUserId,callback:function(t){e.$set(e.searchForm,"educationUserId","string"===typeof t?t.trim():t)},expression:"searchForm.educationUserId"}},e._l(e.educationList,(function(t,a){return r("el-option",{key:a,attrs:{label:t.userName,value:t.userId}},[r("span",{staticStyle:{float:"left"}},[e._v(e._s(t.userName))]),e._v(" "),r("span",{staticStyle:{float:"right",color:"#8492a6","font-size":"13px"}},[e._v(e._s(t.userId))])])})),1)],1),e._v(" "),r("el-form-item",{attrs:{prop:"timer"}},[r("el-date-picker",{attrs:{type:"daterange","value-format":"yyyy-MM-dd","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期","picker-options":{firstDayOfWeek:1}},model:{value:e.searchForm.timer,callback:function(t){e.$set(e.searchForm,"timer","string"===typeof t?t.trim():t)},expression:"searchForm.timer"}})],1),e._v(" "),r("el-form-item",[r("el-button",{attrs:{"native-type":"submit",type:"primary"}},[e._v("搜索")]),e._v(" "),r("el-button",{attrs:{"native-type":"reset",type:"danger"}},[e._v("重置")]),e._v(" "),e.permission("export/exportIndexHistoryErrData")?r("el-button",{attrs:{type:"primary"},on:{click:e.exportIndexErr}},[e._v("导出")]):e._e()],1)],1),e._v(" "),r("statistic",{staticClass:"statistic",attrs:{col:5,cols:0}},[r("statistic-item",[r("span",[e._v("乐团巡查事项异常剩余/总数")]),e._v(" "),r("span",[e._v("\n "+e._s(e.statInfo.musicPatrolItemSurplus?e.statInfo.musicPatrolItemSurplus:"0")+"\n /\n "+e._s(e.statInfo.musicPatrolItem?e.statInfo.musicPatrolItem:"0"))])]),e._v(" "),r("statistic-item",[r("span",[e._v("乐团巡查任务未提交剩余/总数")]),e._v(" "),r("span",[e._v("\n "+e._s(e.statInfo.inspectionItemPlanSurplus?e.statInfo.inspectionItemPlanSurplus:"0")+"\n /\n "+e._s(e.statInfo.inspectionItemPlan?e.statInfo.inspectionItemPlan:"0"))])]),e._v(" "),r("statistic-item",[r("span",[e._v("课程考情异常剩余/总数")]),e._v(" "),r("span",[e._v("\n "+e._s(e.statInfo.teacherExceptionAttendanceSurplus?e.statInfo.teacherExceptionAttendanceSurplus:"0")+"\n /\n "+e._s(e.statInfo.teacherExceptionAttendance?e.statInfo.teacherExceptionAttendance:"0")+"\n ")])]),e._v(" "),r("statistic-item",[r("span",[e._v("课程异常剩余/总数")]),e._v(" "),r("span",[e._v("\n "+e._s(e.statInfo.teacherNotAClassSurplus?e.statInfo.teacherNotAClassSurplus:"0")+"\n /\n "+e._s(e.statInfo.teacherNotAClass?e.statInfo.teacherNotAClass:"0"))])])],1),e._v(" "),r("el-table",{staticStyle:{width:"100%"},attrs:{"header-cell-style":{background:"#EDEEF0",color:"#444"},data:e.tableList}},[r("el-table-column",{attrs:{align:"center",prop:"month",label:"日期"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("div",[e._v("\n "+e._s(t.row.generateTime)+"\n ")])]}}])}),e._v(" "),r("el-table-column",{attrs:{align:"center",prop:"organName",label:"分部"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("div",[r("copy-text",[e._v(e._s(t.row.organName))])],1)]}}])}),e._v(" "),r("el-table-column",{attrs:{align:"center",prop:"organName",label:"乐团主管"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("div",[e._v("\n "+e._s(t.row.dealUserName)+"\n ")])]}}])}),e._v(" "),r("el-table-column",{attrs:{align:"center",prop:"userName",label:"乐团巡查事项异常剩余/总数"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("div",[e._v("\n "+e._s(t.row.musicPatrolItemSurplus?t.row.musicPatrolItemSurplus:"0")+"\n / "+e._s(t.row.musicPatrolItem?t.row.musicPatrolItem:"0")+"\n ")])]}}])}),e._v(" "),r("el-table-column",{attrs:{align:"center",prop:"item",label:"乐团巡查任务未提交剩余/总数"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("div",[e._v("\n "+e._s(t.row.inspectionItemPlanSurplus?t.row.inspectionItemPlanSurplus:"0")+"\n /\n "+e._s(t.row.inspectionItemPlan?t.row.inspectionItemPlan:"0")+"\n ")])]}}])}),e._v(" "),r("el-table-column",{attrs:{align:"center",prop:"plannedTimes",label:"课程考勤异常剩余/总数"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("div",[e._v("\n "+e._s(t.row.teacherExceptionAttendanceSurplus?t.row.teacherExceptionAttendanceSurplus:"0")+"\n /\n "+e._s(t.row.teacherExceptionAttendance?t.row.teacherExceptionAttendance:"0")+"\n ")])]}}])}),e._v(" "),r("el-table-column",{attrs:{align:"center",prop:"submittedTimes",label:"课程异常剩余/总数"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("div",[e._v("\n "+e._s(t.row.teacherNotAClassSurplus?t.row.teacherNotAClassSurplus:"0")+"\n /\n "+e._s(t.row.teacherNotAClass?t.row.teacherNotAClass:"0")+"\n ")])]}}])})],1),e._v(" "),r("pagination",{attrs:{sync:"",total:e.rules.total,saveKey:"indexErrDataRecord-historyError",page:e.rules.page,limit:e.rules.limit,"page-sizes":e.rules.page_size},on:{"update:total":function(t){return e.$set(e.rules,"total",t)},"update:page":function(t){return e.$set(e.rules,"page",t)},"update:limit":function(t){return e.$set(e.rules,"limit",t)},pagination:e.getList}})],1)},X=[],Z=r("ec1b"),ee=r.n(Z),te=r("4328"),re=r.n(te),ae={props:["searchType"],components:{pagination:h["a"],"count-to":ee.a},data:function(){return{searchForm:{organIds:"",timer:[],educationUserId:""},tableList:[],handleVisible:!1,rules:{limit:10,page:1,total:0,page_size:[10,20,40,50]},statInfo:{inspectionItemPlan:0,inspectionItemPlanSurplus:0,musicPatrolItem:0,musicPatrolItemSurplus:0,teacherExceptionAttendance:0,teacherExceptionAttendanceSurplus:0,teacherNotAClass:0,teacherNotAClassSurplus:0,studentVisit:0,studentVisitSurplus:0},educationList:[]}},mounted:function(){var e=Object(m["a"])(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return this.$store.dispatch("setBranchs"),e.prev=1,e.next=4,O();case 4:t=e.sent,this.educationList=t.data,e.next=10;break;case 8:e.prev=8,e.t0=e["catch"](1);case 10:this.getList();case 11:case"end":return e.stop()}}),e,this,[[1,8]])})));function t(){return e.apply(this,arguments)}return t}(),methods:{permission:function(e){return Object(o["a"])(e)},onReSet:function(){this.$refs.searchForm.resetFields(),this.search()},search:function(){this.rules.page=1,this.getList()},changeBranch:function(){var e=Object(m["a"])(regeneratorRuntime.mark((function e(t){var r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return this.searchForm.educationUserId=null,e.prev=1,e.next=4,O({organIds:t});case 4:r=e.sent,this.educationList=r.data,e.next=10;break;case 8:e.prev=8,e.t0=e["catch"](1);case 10:case"end":return e.stop()}}),e,this,[[1,8]])})));function t(t){return e.apply(this,arguments)}return t}(),getList:function(){var e=Object(m["a"])(regeneratorRuntime.mark((function e(){var t,r,a,n,s,o;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=this.searchForm,r=t.timer,a=Object(p["a"])(t,["timer"]),n=Object(u["a"])(Object(u["a"])(Object(u["a"])({},a),{},{page:this.rules.page,rows:this.rules.limit},Object(y["a"])(r,["startDate","endDate"])),{},{searchType:this.searchType}),e.prev=2,e.next=5,T(n);case 5:s=e.sent,this.tableList=s.data.rows,this.rules.total=s.data.total,e.next=13;break;case 10:e.prev=10,e.t0=e["catch"](2),console.log(e.t0);case 13:return e.prev=13,e.next=16,k(n);case 16:o=e.sent,this.statInfo=Object(u["a"])({},o.data),e.next=23;break;case 20:e.prev=20,e.t1=e["catch"](13),console.log(e.t1);case 23:case"end":return e.stop()}}),e,this,[[2,10],[13,20]])})));function t(){return e.apply(this,arguments)}return t}(),resetLine:function(e){var t=e.id,r=e.memo;this.handleForm={id:t,memo:r},this.handleVisible=!0},gotoHander:function(e){var t=b()(e.month).startOf("month").format("YYYY-MM-DD"),r=b()(e.month).endOf("month").format("YYYY-MM-DD");"VISIT"==e.item?this.$router.push({path:"/studentManager/returnVisitList",query:{teacher:e.userName,timer:[t,r]}}):this.$router.push({path:"/main/scheduleDetail",query:{teacher:e.userId,startTime:t,endTime:r,name:e.userName,organId:e.organId,itemId:e.id,times:e.times}})},exportIndexErr:function(){var e=this.searchForm,t=e.timer,r=Object(p["a"])(e,["timer"]),a=Object(u["a"])(Object(u["a"])(Object(u["a"])({},r),{},{page:this.rules.page,rows:this.rules.limit},Object(y["a"])(t,["startDate","endDate"])),{},{searchType:this.searchType});Object(_["a"])(this,{url:"/api-web/export/exportIndexHistoryErrData",fileName:"首页历史异常统计.xls",method:"post",params:re.a.stringify(Object(u["a"])({},a))},"您确定导出首页历史异常统计?")}}},ne=ae,se=Object(C["a"])(ne,Q,X,!1,null,"c2c15844",null),oe=se.exports,ie={name:"indexErrDataRecord",components:{patrol:L,visitError:M,errorCourse:J,historyError:oe},data:function(){return{activeKey:""}},methods:{permission:o["a"],changeKey:function(e){this.activeKey=e},reloadItem:function(){this.$refs.teamSchedule&&this.$refs.teamSchedule.getList()}}},le=ie,ce=Object(C["a"])(le,n,s,!1,null,null,null);t["default"]=ce.exports},"7d86":function(e,t,r){},8018:function(e,t,r){"use strict";r.d(t,"w",(function(){return i})),r.d(t,"t",(function(){return l})),r.d(t,"h",(function(){return c})),r.d(t,"e",(function(){return u})),r.d(t,"v",(function(){return p})),r.d(t,"u",(function(){return m})),r.d(t,"n",(function(){return h})),r.d(t,"C",(function(){return d})),r.d(t,"D",(function(){return f})),r.d(t,"y",(function(){return b})),r.d(t,"x",(function(){return v})),r.d(t,"B",(function(){return g})),r.d(t,"g",(function(){return y})),r.d(t,"q",(function(){return _})),r.d(t,"z",(function(){return F})),r.d(t,"A",(function(){return w})),r.d(t,"s",(function(){return x})),r.d(t,"i",(function(){return I})),r.d(t,"m",(function(){return S})),r.d(t,"r",(function(){return T})),r.d(t,"a",(function(){return k})),r.d(t,"l",(function(){return O})),r.d(t,"o",(function(){return j})),r.d(t,"p",(function(){return D})),r.d(t,"k",(function(){return C})),r.d(t,"d",(function(){return E})),r.d(t,"c",(function(){return L})),r.d(t,"j",(function(){return N})),r.d(t,"b",(function(){return $})),r.d(t,"f",(function(){return R}));var a=r("b775"),n=r("4328"),s=r.n(n),o="/api-web";function i(e){return Object(a["a"])({url:o+"/teacher/queryPage",method:"get",params:e})}function l(e){return Object(a["a"])({url:o+"/teacher/get",method:"get",params:e})}function c(e){return Object(a["a"])({url:o+"/teacher/getTeacherMusicClass",method:"get",params:e})}function u(e){return Object(a["a"])({url:o+"/demoGroup/findTeacherDemoGroups",method:"get",params:e})}function p(e){return Object(a["a"])({url:o+"/teacher/queryCloses",method:"get",params:e})}function m(e){return Object(a["a"])({url:o+"/teacherLeaveRecord/queryPage",method:"get",params:e})}function h(e){return Object(a["a"])({url:o+"/teacher/sumTeacherNoPay",method:"get",params:e})}function d(e){return Object(a["a"])({url:o+"/teacherDefaultVipGroupSalary/queryPageByTeacherId",method:"get",params:e})}function f(e){return Object(a["a"])({url:o+"/teacherDefaultVipGroupSalary/upSet",method:"post",data:e})}function b(e){return Object(a["a"])({url:o+"/teacherDefaultMusicGroupSalary/queryPage",method:"get",params:e})}function v(e){return Object(a["a"])({url:o+"/teacherDefaultMusicGroupSalary/batchUpset",method:"post",data:e})}function g(e){return Object(a["a"])({url:o+"/courseSchedule/updateTeacherCoursesSalary",method:"post",data:s.a.stringify(e)})}function y(e){return Object(a["a"])({url:o+"/school/findVipSchoolByTeacher",method:"get",params:e})}function _(e){return Object(a["a"])({url:o+"/teacher/add",method:"post",data:s.a.stringify(e)})}function F(e){return Object(a["a"])({url:o+"/teacher/update",method:"post",data:s.a.stringify(e)})}function w(e){return Object(a["a"])({url:o+"/teacher/update1",method:"post",data:s.a.stringify(e)})}function x(e){return Object(a["a"])({url:o+"/teacherFreeTime/query",method:"get",params:e})}function I(e){return Object(a["a"])({url:o+"/teacherAttendance/getTeacherPersonalAttendanceDetail",method:"get",params:e})}function S(e){return Object(a["a"])({url:o+"/teacherFreeTime/updateSet",method:"post",data:s.a.stringify(e)})}function T(e){return Object(a["a"])({url:o+"/teacherDefaultPracticeGroupSalary/queryPageByTeacherId",method:"get",params:e})}function k(e){return Object(a["a"])({url:o+"/teacherDefaultPracticeGroupSalary/update",method:"post",data:e})}function O(e){return Object(a["a"])({url:o+"/sysTenantAccount/queryTenantAccountDetail",method:"get",params:e})}function j(e){return Object(a["a"])({url:o+"/sysTenantAccount/addMinutes",method:"post",data:s.a.stringify(e)})}function D(e){return Object(a["a"])({url:o+"/sysTenantAccount/subtractMinutes",method:"post",data:s.a.stringify(e)})}function C(e){return Object(a["a"])({url:o+"/sysTenantAccount/get",method:"get",params:e})}function E(e){return Object(a["a"])({url:o+"/coursesGroupController/findTeacherCourseGroupsWithWeb",method:"get",params:e})}function L(e){return Object(a["a"])({url:o+"/courseSchedule/classGroupTeacherAdjust",method:"post",data:s.a.stringify(e)})}function N(e){return Object(a["a"])({url:o+"/teacher/queryStudent",method:"get",params:e})}function $(e){return Object(a["a"])({url:o+"/studentManage/batchUpdateAdviser",method:"post",data:s.a.stringify(e)})}function R(e){return Object(a["a"])({url:o+"/courseScheduleTeacherSalary/getCourseTeachers",method:"get",params:e})}},a326:function(e,t,r){},b717:function(e,t,r){"use strict";r("a326")},c414:function(e,t,r){"use strict";r("7d86")},ec1b:function(e,t,r){!function(t,r){e.exports=r()}(0,(function(){return function(e){function t(a){if(r[a])return r[a].exports;var n=r[a]={i:a,l:!1,exports:{}};return e[a].call(n.exports,n,n.exports,t),n.l=!0,n.exports}var r={};return t.m=e,t.c=r,t.i=function(e){return e},t.d=function(e,r,a){t.o(e,r)||Object.defineProperty(e,r,{configurable:!1,enumerable:!0,get:a})},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,"a",r),r},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/dist/",t(t.s=2)}([function(e,t,r){var a=r(4)(r(1),r(5),null,null);e.exports=a.exports},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=r(3);t.default={props:{startVal:{type:Number,required:!1,default:0},endVal:{type:Number,required:!1,default:2017},duration:{type:Number,required:!1,default:3e3},autoplay:{type:Boolean,required:!1,default:!0},decimals:{type:Number,required:!1,default:0,validator:function(e){return e>=0}},decimal:{type:String,required:!1,default:"."},separator:{type:String,required:!1,default:","},prefix:{type:String,required:!1,default:""},suffix:{type:String,required:!1,default:""},useEasing:{type:Boolean,required:!1,default:!0},easingFn:{type:Function,default:function(e,t,r,a){return r*(1-Math.pow(2,-10*e/a))*1024/1023+t}}},data:function(){return{localStartVal:this.startVal,displayValue:this.formatNumber(this.startVal),printVal:null,paused:!1,localDuration:this.duration,startTime:null,timestamp:null,remaining:null,rAF:null}},computed:{countDown:function(){return this.startVal>this.endVal}},watch:{startVal:function(){this.autoplay&&this.start()},endVal:function(){this.autoplay&&this.start()}},mounted:function(){this.autoplay&&this.start(),this.$emit("mountedCallback")},methods:{start:function(){this.localStartVal=this.startVal,this.startTime=null,this.localDuration=this.duration,this.paused=!1,this.rAF=(0,a.requestAnimationFrame)(this.count)},pauseResume:function(){this.paused?(this.resume(),this.paused=!1):(this.pause(),this.paused=!0)},pause:function(){(0,a.cancelAnimationFrame)(this.rAF)},resume:function(){this.startTime=null,this.localDuration=+this.remaining,this.localStartVal=+this.printVal,(0,a.requestAnimationFrame)(this.count)},reset:function(){this.startTime=null,(0,a.cancelAnimationFrame)(this.rAF),this.displayValue=this.formatNumber(this.startVal)},count:function(e){this.startTime||(this.startTime=e),this.timestamp=e;var t=e-this.startTime;this.remaining=this.localDuration-t,this.useEasing?this.countDown?this.printVal=this.localStartVal-this.easingFn(t,0,this.localStartVal-this.endVal,this.localDuration):this.printVal=this.easingFn(t,this.localStartVal,this.endVal-this.localStartVal,this.localDuration):this.countDown?this.printVal=this.localStartVal-(this.localStartVal-this.endVal)*(t/this.localDuration):this.printVal=this.localStartVal+(this.localStartVal-this.startVal)*(t/this.localDuration),this.countDown?this.printVal=this.printVal<this.endVal?this.endVal:this.printVal:this.printVal=this.printVal>this.endVal?this.endVal:this.printVal,this.displayValue=this.formatNumber(this.printVal),t<this.localDuration?this.rAF=(0,a.requestAnimationFrame)(this.count):this.$emit("callback")},isNumber:function(e){return!isNaN(parseFloat(e))},formatNumber:function(e){e=e.toFixed(this.decimals),e+="";var t=e.split("."),r=t[0],a=t.length>1?this.decimal+t[1]:"",n=/(\d+)(\d{3})/;if(this.separator&&!this.isNumber(this.separator))for(;n.test(r);)r=r.replace(n,"$1"+this.separator+"$2");return this.prefix+r+a+this.suffix}},destroyed:function(){(0,a.cancelAnimationFrame)(this.rAF)}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=r(0),n=function(e){return e&&e.__esModule?e:{default:e}}(a);t.default=n.default,"undefined"!=typeof window&&window.Vue&&window.Vue.component("count-to",n.default)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=0,n="webkit moz ms o".split(" "),s=void 0,o=void 0;if("undefined"==typeof window)t.requestAnimationFrame=s=function(){},t.cancelAnimationFrame=o=function(){};else{t.requestAnimationFrame=s=window.requestAnimationFrame,t.cancelAnimationFrame=o=window.cancelAnimationFrame;for(var i=void 0,l=0;l<n.length&&(!s||!o);l++)i=n[l],t.requestAnimationFrame=s=s||window[i+"RequestAnimationFrame"],t.cancelAnimationFrame=o=o||window[i+"CancelAnimationFrame"]||window[i+"CancelRequestAnimationFrame"];s&&o||(t.requestAnimationFrame=s=function(e){var t=(new Date).getTime(),r=Math.max(0,16-(t-a)),n=window.setTimeout((function(){e(t+r)}),r);return a=t+r,n},t.cancelAnimationFrame=o=function(e){window.clearTimeout(e)})}t.requestAnimationFrame=s,t.cancelAnimationFrame=o},function(e,t){e.exports=function(e,t,r,a){var n,s=e=e||{},o=typeof e.default;"object"!==o&&"function"!==o||(n=e,s=e.default);var i="function"==typeof s?s.options:s;if(t&&(i.render=t.render,i.staticRenderFns=t.staticRenderFns),r&&(i._scopeId=r),a){var l=Object.create(i.computed||null);Object.keys(a).forEach((function(e){var t=a[e];l[e]=function(){return t}})),i.computed=l}return{esModule:n,exports:s,options:i}}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement;return(e._self._c||t)("span",[e._v("\n "+e._s(e.displayValue)+"\n")])},staticRenderFns:[]}}])}))}}]);