1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-7940e738"],{"09f4":function(e,t,a){"use strict";a.d(t,"a",(function(){return o})),Math.easeInOutQuad=function(e,t,a,r){return e/=r/2,e<1?a/2*e*e+t:(e--,-a/2*(e*(e-2)-1)+t)};var r=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)}}();function n(e){document.documentElement.scrollTop=e,document.body.parentNode.scrollTop=e,document.body.scrollTop=e}function l(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function o(e,t,a){var o=l(),s=e-o,i=20,c=0;t="undefined"===typeof t?500:t;var u=function e(){c+=i;var l=Math.easeInOutQuad(c,o,s,t);n(l),c<t?r(e):a&&"function"===typeof a&&a()};u()}},"15fd":function(e,t,a){"use strict";function r(e,t){if(null==e)return{};var a,r,n={},l=Object.keys(e);for(r=0;r<l.length;r++)a=l[r],t.indexOf(a)>=0||(n[a]=e[a]);return n}function n(e,t){if(null==e)return{};var a,n,l=r(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)a=o[n],t.indexOf(a)>=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(l[a]=e[a])}return l}a.d(t,"a",(function(){return n}))},"160b":function(e,t,a){"use strict";a.d(t,"b",(function(){return o})),a.d(t,"a",(function(){return s}));var r=a("b775"),n=a("829b"),l="/api-web";function o(e){return Object(n["a"])({url:l+"/musicGroup/queryPage",method:"post",data:e,requestType:"form"})}function s(e){return Object(r["a"])({url:l+"/chargeType/queryPage",method:"get",params:e})}},"1d0a":function(e,t,a){},"22d7":function(e,t,a){"use strict";a("9d8f")},"359f":function(e,t,a){"use strict";a.r(t);var r,n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"m-container"},[e._m(0),e._v(" "),a("div",{staticClass:"m-core"},[a("tab-router",{on:{change:e.changeKey}},[e.permission("/indexErrDataRecord/historyError")?a("el-tab-pane",{attrs:{lazy:"",label:"异常数据查询汇总",name:"historyError"}},["historyError"===e.activeKey?a("historyError"):e._e()],1):e._e(),e._v(" "),e.permission("/indexErrDataRecord/patrol")?a("el-tab-pane",{attrs:{lazy:"",label:"乐团巡查事项异常",name:"patrol"}},["patrol"===e.activeKey?a("patrol",{attrs:{searchType:"MUSIC_PATROL_ITEM"}}):e._e()],1):e._e(),e._v(" "),e.permission("/indexErrDataRecord/inspection")?a("el-tab-pane",{attrs:{lazy:"",label:"乐团巡查任务未提交",name:"inspection"}},["inspection"===e.activeKey?a("patrol",{attrs:{searchType:"INSPECTION_ITEM_PLAN"}}):e._e()],1):e._e(),e._v(" "),e.permission("/indexErrDataRecord/errattendance")?a("el-tab-pane",{attrs:{lazy:"",label:"课程考勤异常",name:"errattendance"}},["errattendance"===e.activeKey?a("errorCourse",{attrs:{searchType:"ERR_ATTENDANCE"}}):e._e()],1):e._e(),e._v(" "),e.permission("/indexErrDataRecord/noattendance")?a("el-tab-pane",{attrs:{lazy:"",label:"课程异常",name:"noattendance"}},["noattendance"===e.activeKey?a("errorCourse",{attrs:{searchType:"NO_ATTENDANCE"}}):e._e()],1):e._e()],1)],1)])},l=[function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("h2",[a("div",{staticClass:"squrt"}),e._v("\n 异常数据查询\n ")])}],o=a("ec8a"),s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("div",{staticClass:"m-core"},[a("save-form",{ref:"searchForm",attrs:{inline:!0,model:e.searchForm,saveKey:"indexErrDataRecord-"+e.searchType},on:{submit:e.search,reset:e.onReSet}},[a("el-form-item",{attrs:{prop:"search"}},[a("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(" "),a("el-form-item",{attrs:{prop:"organId"}},[a("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 a("el-option",{key:t,attrs:{label:e.name,value:e.id}})})),1)],1),e._v(" "),a("el-form-item",{attrs:{prop:"cooperationOrganId"}},[a("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 a("el-option",{key:t,attrs:{label:e.name,value:e.id}})})),1)],1),e._v(" "),a("el-form-item",{attrs:{prop:"userId"}},[a("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.educationList,(function(t,r){return a("el-option",{key:r,attrs:{label:t.userName,value:t.userId}},[a("span",{staticStyle:{float:"left"}},[e._v(e._s(t.userName))]),e._v(" "),a("span",{staticStyle:{float:"right",color:"#8492a6","font-size":"13px"}},[e._v(e._s(t.userId))])])})),1)],1),e._v(" "),a("el-form-item",{attrs:{prop:"hasDealTime"}},[a("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"}},[a("el-option",{attrs:{label:"是",value:"1"}}),e._v(" "),a("el-option",{attrs:{label:"否",value:"0"}})],1)],1),e._v(" "),a("el-form-item",{attrs:{prop:"createTimer"}},[a("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(" "),a("el-form-item",[a("el-button",{attrs:{type:"danger","native-type":"submit"}},[e._v("搜索")]),e._v(" "),a("el-button",{attrs:{"native-type":"reset",type:"primary"}},[e._v("重置")])],1)],1),e._v(" "),a("div",{staticClass:"tableWrap"},[a("el-table",{staticStyle:{width:"100%"},attrs:{"header-cell-style":{background:"#EDEEF0",color:"#444"},data:e.tableList}},[a("el-table-column",{attrs:{align:"center",prop:"id",width:"120px",label:"巡查编号"}}),e._v(" "),a("el-table-column",{attrs:{align:"center",label:"所属分部"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.organName)+"("),a("copy-text",[e._v(e._s(t.row.organId))]),e._v(")\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"cooperationName",label:"合作单位"}}),e._v(" "),a("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)+"("),a("copy-text",[e._v(e._s(t.row.musicGroupId))]),e._v(")\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",label:"乐团主管"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.realName)+"("),a("copy-text",[e._v(e._s(t.row.userId))]),e._v(")\n ")]}}])}),e._v(" "),a("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(" "),a("el-table-column",{attrs:{align:"center",prop:"subject",label:"巡查时间"},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"))+"~\n "+e._s(e.dayjs(t.row.planEnd).format("HH:mm"))+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"submitedTime",label:"提交时间"}}),e._v(" "),a("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(" "),a("el-table-column",{attrs:{align:"center",label:"处理方式"},scopedSlots:e._u([{key:"default",fn:function(e){return[a("overflow-text",{attrs:{width:"100%",text:e.row.memo}})]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",label:"异常产生时间"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v("\n "+e._s(e._f("dayjsFormat")(t.row.generateTime))+"\n ")])]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",label:"异常处理时间"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v("\n "+e._s(t.row.dealTime)+"\n ")])]}}])}),e._v(" "),"MUSIC_PATROL_ITEM"==e.searchType?a("el-table-column",{attrs:{align:"center",width:"250px",label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){return[0!=t.row.status?a("auth",{attrs:{auths:"inspectionItemPlanConclusion/getPlanConclusion/4403"}},[a("el-button",{attrs:{type:"text"},on:{click:function(a){return e.onLook(t.row)}}},[e._v("查看")])],1):e._e(),e._v(" "),0!=t.row.status?a("auth",{attrs:{auths:"inspectionItemPlanConclusion/GPS-INFO/4404"}},[a("el-button",{attrs:{type:"text"},on:{click:function(a){return e.onGPS(t.row)}}},[e._v("GPS定位")])],1):e._e(),e._v(" "),0!=t.row.status?a("auth",{attrs:{auths:"inspectionItemPlanConclusion/exportPlanConclusion/4405"}},[a("el-button",{attrs:{type:"text"},on:{click:function(a){return e.onExport(t.row)}}},[e._v("下载")])],1):e._e()]}}],null,!1,95967362)}):e._e()],1),e._v(" "),a("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(" "),a("el-dialog",{attrs:{title:"乐团巡查表",visible:e.tableStatus,width:"1200px"},on:{"update:visible":function(t){e.tableStatus=t}}},[e.tableStatus?a("look-detail",{attrs:{detail:e.planDetail}}):e._e()],1),e._v(" "),a("el-dialog",{attrs:{title:"GPS定位",visible:e.gpsVisible,width:"1000px","append-to-body":""},on:{"update:visible":function(t){e.gpsVisible=t}}},[e.gpsVisible?a("gpsLoction",{attrs:{activeRow:e.activeRow}}):e._e()],1),e._v(" "),a("el-dialog",{attrs:{title:"处理方式",visible:e.handleStatus,width:"500px"},on:{"update:visible":function(t){e.handleStatus=t},close:function(t){return e.handleClose("ruleForm")}}},[a("el-form",{ref:"ruleForm",attrs:{model:e.handleForm,"label-position":"top"}},[a("el-form-item",{attrs:{label:"处理方式",prop:"memo",rules:[{required:!0,message:"请输入处理方式",trigger:"blur"}]}},[a("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(" "),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(t){e.handleStatus=!1}}},[e._v("取 消")]),e._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:function(t){return e.onHandleSubmit("ruleForm")}}},[e._v("确 定")])],1)],1)],1)},i=[],c=a("ade3"),u=a("5530"),p=a("15fd"),d=(a("c5f6"),a("96cf"),a("1da1")),m=a("333d"),h=a("f903"),f=a("5a0c"),b=a.n(f),v=a("44ac"),g=a("1cc7"),_=a("99b4"),y=(a("160b"),a("ed08")),w=a("adb21"),I=a("9be9"),S=a("829b"),T=function(e){return Object(S["a"])({url:"/api-web/indexErrDataRecord/queryErrInspectionData",params:e,method:"get"})},F=function(e){return Object(S["a"])({url:"/api-web/indexErrDataRecord/queryErrStudentVisit",params:e,method:"get"})},x=function(e){return Object(S["a"])({url:"/api-web/indexErrDataRecord/queryHistoryErrCourseData",params:e,method:"get"})},O=function(e){return Object(S["a"])({url:"/api-web/indexErrDataRecord/queryRecord",params:e,method:"get"})},k=function(e){return Object(S["a"])({url:"/api-web/indexErrDataRecord/errDataSummarizing",params:e,method:"get"})},E=function(e){return Object(S["a"])({url:"/api-web/indexErrDataRecord/getAllEducationUsers",params:e,method:"get"})},L={props:["searchType"],components:{pagination:m["a"],LookDetail:h["a"],gpsLoction:I["a"]},data:function(){return{educationList:[],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(d["a"])(regeneratorRuntime.mark((function e(){var t,a=this;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,Object(g["F"])().then((function(e){200==e.code&&(a.educationList=e.data)}));case 9:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),methods:(r={dayjs:b.a,reloadSearch:function(){this.rules.page=1,this.getList()},getList:function(){var e=Object(d["a"])(regeneratorRuntime.mark((function e(){var t,a,r,n,l;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,t=this.searchForm,a=t.createTimer,r=Object(p["a"])(t,["createTimer"]),n=Object(u["a"])(Object(u["a"])({},r),{},{page:this.pageInfo.page,rows:this.pageInfo.limit,searchType:this.searchType},Object(y["a"])(a,["startTime","endTime"])),e.next=5,T(n);case 5:l=e.sent,this.tableList=l.data.rows,this.pageInfo.total=l.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"])(r,"reloadSearch",(function(){this.rules.page=1,this.getList()})),Object(c["a"])(r,"onLook",(function(e){this.planDetail=e,this.tableStatus=!0})),Object(c["a"])(r,"onGPS",(function(e){this.activeRow={schoolLongitudeLatitude:e.schoolGps,signOutLongitudeLatitude:e.submitedGps},this.gpsVisible=!0})),Object(c["a"])(r,"onExport",function(){var e=Object(d["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(w["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"])(r,"onBranchChange",function(){var e=Object(d["a"])(regeneratorRuntime.mark((function e(t){var a=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(_["A"])({organId:t}).then((function(e){200==e.code&&(a.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"])(r,"search",(function(){this.pageInfo.page=1,this.getList()})),Object(c["a"])(r,"onReSet",(function(){this.$refs["searchForm"].resetFields(),this.pageInfo.page=1,this.getList()})),Object(c["a"])(r,"handleClick",(function(e){this.handleForm.id=e.id,this.handleForm.memo=e.memo,this.handleStatus=!0})),Object(c["a"])(r,"onHandleSubmit",(function(e){var t=this;this.$refs[e].validate(function(){var e=Object(d["a"])(regeneratorRuntime.mark((function e(a){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!a){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"])(r,"handleClose",(function(e){this.$refs[e].resetFields()})),r),filters:{statusFormat:function(e){var t=["未提交","正常","异常"];return t[e]}}},C=L,j=(a("f6b5"),a("2877")),R=Object(j["a"])(C,s,i,!1,null,"406b46ba",null),A=R.exports,N=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("save-form",{ref:"searchForm",attrs:{inline:!0,model:e.searchForm,saveKey:"indexErrDataRecord-"+e.searchType},on:{submit:e.search,reset:e.onReSet}},[a("el-form-item",{attrs:{prop:"organId"}},[a("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 a("el-option",{key:t,attrs:{label:e.name,value:e.id}})})),1)],1),e._v(" "),a("el-form-item",{attrs:{prop:"userId"}},[a("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(" "),a("el-form-item",{attrs:{prop:"month"}},[a("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(" "),a("el-form-item",[a("el-button",{attrs:{"native-type":"submit",type:"primary"}},[e._v("搜索")]),e._v(" "),a("el-button",{attrs:{"native-type":"reset",type:"danger"}},[e._v("重置")])],1)],1),e._v(" "),a("el-table",{staticStyle:{width:"100%"},attrs:{"header-cell-style":{background:"#EDEEF0",color:"#444"},data:e.tableList}},[a("el-table-column",{attrs:{align:"center",prop:"organName",label:"分部"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[a("copy-text",[e._v(e._s(t.row.organName))])],1)]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"month",label:"工作周期"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v("\n "+e._s(e._f("dayjsFormatWeek")(t.row.month))+"\n ")])]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"userName",label:"乐团主管"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[a("copy-text",[e._v(e._s(t.row.userName))])],1)]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"item",label:"任务事项"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v("\n "+e._s(e._f("inspectionItemFormat")(t.row.item))+"\n ")])]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"times",label:"任务次数"}}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"plannedTimes",label:"已安排日程次数"}}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"submittedTimes",label:"已提交任务数"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{style:t.row.times>t.row.submittedTimes?"color:red":""},[e._v("\n "+e._s(t.row.submittedTimes)+"\n ")])]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"memo",label:"处理意见",width:"220"},scopedSlots:e._u([{key:"default",fn:function(e){return[a("overflow-text",{attrs:{text:e.row.memo}})]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",label:"异常产生时间"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v("\n "+e._s(e._f("dayjsFormat")(t.row.generateTime))+"\n ")])]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",label:"异常处理时间"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v("\n "+e._s(t.row.dealTime)+"\n ")])]}}])})],1),e._v(" "),a("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)},D=[],M=(a("386d"),{props:["searchType"],components:{pagination:m["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(d["a"])(regeneratorRuntime.mark((function e(){var t,a,r,n,l;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=this.searchForm,a=t.month,r=Object(p["a"])(t,["month"]),n=Object(u["a"])(Object(u["a"])(Object(u["a"])({},r),{},{page:this.rules.page,rows:this.rules.limit},Object(y["a"])(a,["startTime","endTime"],"YYYY-MM")),{},{searchType:this.searchType}),e.prev=2,e.next=5,F(n);case 5:l=e.sent,this.tableList=l.data.rows,this.rules.total=l.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,a=e.memo;this.handleForm={id:t,memo:a},this.handleVisible=!0},gotoHander:function(e){var t=b()(e.month).startOf("month").format("YYYY-MM-DD"),a=b()(e.month).endOf("month").format("YYYY-MM-DD");"VISIT"==e.item?this.$router.push({path:"/studentManager/returnVisitList",query:{teacher:e.userName,timer:[t,a]}}):this.$router.push({path:"/main/scheduleDetail",query:{teacher:e.userId,startTime:t,endTime:a,name:e.userName,organId:e.organId,itemId:e.id,times:e.times}})}}}),P=M,V=Object(j["a"])(P,N,D,!1,null,"5c0273f7",null),$=V.exports,q=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("div",{staticClass:"m-core"},[a("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}}},[a("el-form-item",[a("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(" "),a("el-form-item",[a("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(" "),a("el-form-item",[a("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 a("el-option",{key:t,attrs:{value:e.value,label:e.label}})})),1)],1),e._v(" "),a("el-form-item",[a("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"}},[a("el-option",{attrs:{label:"未开始",value:"NOT_START"}}),e._v(" "),a("el-option",{attrs:{label:"进行中",value:"UNDERWAY"}}),e._v(" "),a("el-option",{attrs:{label:"已结束",value:"OVER"}})],1)],1),e._v(" "),a("el-form-item",[a("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"}},[a("el-option",{attrs:{label:"是",value:"1"}}),e._v(" "),a("el-option",{attrs:{label:"否",value:"0"}})],1)],1),e._v(" "),a("el-form-item",[a("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(" "),a("el-form-item",[a("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(" "),a("el-form-item",[a("el-button",{attrs:{"native-type":"submit",type:"primary"}},[e._v("搜索")]),e._v(" "),a("el-button",{attrs:{"native-type":"reset",type:"danger"}},[e._v("重置")])],1)],1),e._v(" "),a("div",{staticClass:"tableWrap"},[a("el-table",{ref:"tableList",attrs:{data:e.tableList,"header-cell-style":{background:"#EDEEF0",color:"#444"},"row-key":"id"}},[e._v("\n >\n\n "),a("el-table-column",{attrs:{align:"center",prop:"organName",label:"分部名称"}}),e._v(" "),a("el-table-column",{attrs:{align:"center",width:"170px",prop:"musicGroupId",label:"乐团/课程组编号"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{attrs:{type:"text"},on:{click:function(a){return e.gotoCourse(t.row)}}},[a("copy-text",[e._v(e._s(t.row.musicGroupId))])],1)]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"id",width:"100px",label:"课程编号"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("copy-text",[e._v(e._s(t.row.id))])]}}])}),e._v(" "),a("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(" "),a("el-table-column",{attrs:{align:"center",prop:"subjectName",label:"声部"}}),e._v(" "),a("el-table-column",{attrs:{prop:"name",width:"150px",label:"课程名称"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("copy-text",[e._v(e._s(t.row.name))])]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",width:"150px",label:"课程类型"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v(e._s(e._f("coursesType")(t.row.type)))])]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",label:"教学模式"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v(e._s(e._f("teachMode")(t.row.teachMode)))])]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"teacherName",width:"110",label:"主教老师"}}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"educationTeacherName",width:"110",label:"乐团主管"}}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"schoolName",label:"教学点"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v("\n "+e._s(t.row.schoolName?t.row.schoolName:"网络教室")+"\n ")])]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"courseScheduleStatus",label:"课程状态"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v(e._s(e._f("coursesStatus")(t.row.status)))])]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",label:"考勤申诉"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v(e._s(1==t.row.isComplaints?"是":"否"))])]}}])}),e._v(" "),a("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(" "),a("el-table-column",{attrs:{align:"center",label:"异常产生时间"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v("\n "+e._s(e._f("dayjsFormat")(t.row.generateTime))+"\n ")])]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",label:"异常处理时间"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v("\n "+e._s(t.row.dealTime)+"\n ")])]}}])}),e._v(" "),a("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(" "),a("el-table-column",{attrs:{align:"center",label:"详情",fixed:"right"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[a("auth",{attrs:{auths:"/teamCourseList"}},[a("el-button",{attrs:{type:"text"},on:{click:function(a){return e.lookDetail(t.row)}}},[e._v("查看")])],1)],1)]}}])})],1),e._v(" "),a("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?a("el-dialog",{attrs:{title:"更多选项",visible:e.showMove,width:"700px"},on:{"update:visible":function(t){e.showMove=t}}},[a("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}}},[a("el-form-item",{attrs:{label:"课程组编号/名称",prop:"search"}},[a("el-input",{staticStyle:{width:"180px"},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(" "),a("el-form-item",{attrs:{label:"教学点",prop:"schoolId"}},[a("el-select",{staticStyle:{width:"180px"},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 a("el-option",{key:t,attrs:{value:e.id,label:e.name}})})),1)],1),e._v(" "),a("el-form-item",{attrs:{label:"分部",prop:"organIdList"}},[a("el-select",{staticClass:"multiple",staticStyle:{width:"180px"},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 a("el-option",{key:t,attrs:{label:e.name,value:e.id}})})),1)],1),e._v(" "),a("el-form-item",{attrs:{label:"课程组类型",prop:"groupType"}},[a("el-select",{staticStyle:{width:"180px"},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 a("el-option",{key:e.value,attrs:{value:e.value,label:e.label}})})),1)],1),e._v(" "),a("el-form-item",{attrs:{label:"教学模式",prop:"teachMode"}},[a("el-select",{staticStyle:{width:"180px"},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"}},[a("el-option",{attrs:{label:"线上课",value:"ONLINE"}}),e._v(" "),a("el-option",{attrs:{label:"线下课",value:"OFFLINE"}})],1)],1),e._v(" "),a("el-form-item",{attrs:{label:"合并课类型",prop:"mergeCourseType"}},[a("el-select",{staticStyle:{width:"180px"},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 a("el-option",{key:t,attrs:{value:e.value,label:e.label}})})),1)],1),e._v(" "),a("el-form-item",{attrs:{label:"老师类型",prop:"teachType"}},[a("el-select",{staticStyle:{width:"180px"},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 a("el-option",{key:e.label,attrs:{label:e.label,value:e.value}})})),1)],1),e._v(" "),a("el-form-item",{attrs:{label:"是否点名",prop:"isCallNames"}},[a("el-select",{staticStyle:{width:"180px"},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"}},[a("el-option",{attrs:{label:"是",value:"1"}}),e._v(" "),a("el-option",{attrs:{label:"否",value:"0"}})],1)],1),e._v(" "),a("el-form-item",{attrs:{label:"创建日期",prop:"creatTimer"}},[a("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(" "),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:e.cancleMore}},[e._v("取 消")]),e._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:e.okMore}},[e._v("确 定")])],1)],1):e._e()],1)},G=[],U=a("53ca"),Y=(a("7e78"),a("267e")),H=(a("8018"),a("92e3")),z=new Date;z=z.getFullYear()+"-"+(z.getMonth()+1)+"-"+z.getDate();var B={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},K={props:["searchType"],data:function(){return{classVisible:!1,timerVisible:!1,courseVisible:!1,locationVisible:!1,courseType:H["k"],mergeCourseType:Y["mergeCourseType"],courseListType:H["j"],searchForm:Object(u["a"])({},B),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}},components:{pagination:m["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=this.$route.query;if(e.start||e.end)this.searchForm.timer=[e.start,e.end];else{var t=!1;for(var a in this.searchForm){var r;if("object"==Object(U["a"])(this.searchForm[a]))(null===(r=this.searchForm[a])||void 0===r?void 0:r.length)>0&&(t=!0);else this.searchForm[a]&&(t=!0)}t||(this.searchForm.timer=[])}"COURSE_TIME_ERROR"==e.searchType&&(this.searchForm.timer=[]),e.organId&&(this.searchForm.organIdList=Number(e.organId)),this.$store.dispatch("setBranchs"),this.$store.dispatch("setTeachers"),this.$store.dispatch("setSchools"),this.init()},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=[z,z]),this.rules.page=1,this.getList()},reset:function(){this.searchForm=Object(u["a"])({},B),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"])({},B),{},{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 a=e.creatTimer,r=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"])(a,["createStartDate","createEndDate"])),Object(y["a"])(r,["startTime","endTime"]))},getList:function(){var e=Object(d["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,x(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({path:"/teamCourseList",query:{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)}}},W=K,X=(a("22d7"),Object(j["a"])(W,q,G,!1,null,"e8e96ee0",null)),J=X.exports,Q=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("save-form",{ref:"searchForm",attrs:{inline:!0,model:e.searchForm,saveKey:"indexErrDataRecord-historyError"},on:{submit:e.search,reset:e.onReSet}},[a("el-form-item",{attrs:{prop:"organIds"}},[a("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 a("el-option",{key:t,attrs:{label:e.name,value:e.id}})})),1)],1),e._v(" "),a("el-form-item",{attrs:{prop:"educationUserId"}},[a("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,r){return a("el-option",{key:r,attrs:{label:t.userName,value:t.userId}},[a("span",{staticStyle:{float:"left"}},[e._v(e._s(t.userName))]),e._v(" "),a("span",{staticStyle:{float:"right",color:"#8492a6","font-size":"13px"}},[e._v(e._s(t.userId))])])})),1)],1),e._v(" "),a("el-form-item",{attrs:{prop:"timer"}},[a("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(" "),a("el-form-item",[a("el-button",{attrs:{"native-type":"submit",type:"primary"}},[e._v("搜索")]),e._v(" "),a("el-button",{attrs:{"native-type":"reset",type:"danger"}},[e._v("重置")]),e._v(" "),e.permission("export/exportIndexHistoryErrData")?a("el-button",{attrs:{type:"primary"},on:{click:e.exportIndexErr}},[e._v("导出")]):e._e()],1)],1),e._v(" "),a("statistic",{staticClass:"statistic",attrs:{col:5,cols:0}},[a("statistic-item",[a("span",[e._v("乐团巡查事项异常剩余/总数")]),e._v(" "),a("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(" "),a("statistic-item",[a("span",[e._v("乐团巡查任务未提交剩余/总数")]),e._v(" "),a("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(" "),a("statistic-item",[a("span",[e._v("课程考情异常剩余/总数")]),e._v(" "),a("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(" "),a("statistic-item",[a("span",[e._v("课程异常剩余/总数")]),e._v(" "),a("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(" "),a("el-table",{staticStyle:{width:"100%"},attrs:{"header-cell-style":{background:"#EDEEF0",color:"#444"},data:e.tableList}},[a("el-table-column",{attrs:{align:"center",prop:"month",label:"日期"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v("\n "+e._s(t.row.generateTime)+"\n ")])]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"organName",label:"分部"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[a("copy-text",[e._v(e._s(t.row.organName))])],1)]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"organName",label:"乐团主管"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v("\n "+e._s(t.row.dealUserName)+"\n ")])]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"userName",label:"乐团巡查事项异常剩余/总数"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("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(" "),a("el-table-column",{attrs:{align:"center",prop:"item",label:"乐团巡查任务未提交剩余/总数"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("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(" "),a("el-table-column",{attrs:{align:"center",prop:"plannedTimes",label:"课程考勤异常剩余/总数"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("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(" "),a("el-table-column",{attrs:{align:"center",prop:"submittedTimes",label:"课程异常剩余/总数"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("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(" "),a("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)},Z=[],ee=a("ec1b"),te=a.n(ee),ae=a("4328"),re=a.n(ae),ne={props:["searchType"],components:{pagination:m["a"],"count-to":te.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(d["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,E();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(d["a"])(regeneratorRuntime.mark((function e(t){var a;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,E({organIds:t});case 4:a=e.sent,this.educationList=a.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(d["a"])(regeneratorRuntime.mark((function e(){var t,a,r,n,l,o;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=this.searchForm,a=t.timer,r=Object(p["a"])(t,["timer"]),n=Object(u["a"])(Object(u["a"])(Object(u["a"])({},r),{},{page:this.rules.page,rows:this.rules.limit},Object(y["a"])(a,["startDate","endDate"])),{},{searchType:this.searchType}),e.prev=2,e.next=5,O(n);case 5:l=e.sent,this.tableList=l.data.rows,this.rules.total=l.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,a=e.memo;this.handleForm={id:t,memo:a},this.handleVisible=!0},gotoHander:function(e){var t=b()(e.month).startOf("month").format("YYYY-MM-DD"),a=b()(e.month).endOf("month").format("YYYY-MM-DD");"VISIT"==e.item?this.$router.push({path:"/studentManager/returnVisitList",query:{teacher:e.userName,timer:[t,a]}}):this.$router.push({path:"/main/scheduleDetail",query:{teacher:e.userId,startTime:t,endTime:a,name:e.userName,organId:e.organId,itemId:e.id,times:e.times}})},exportIndexErr:function(){Object(w["a"])(this,{url:"/api-web/export/exportIndexHistoryErrData",fileName:"首页历史异常统计.xls",method:"post",params:re.a.stringify(Object(u["a"])({},this.searchForm))},"您确定导出首页历史异常统计?")}}},le=ne,oe=Object(j["a"])(le,Q,Z,!1,null,"54b7dd2a",null),se=oe.exports,ie={name:"indexErrDataRecord",components:{patrol:A,visitError:$,errorCourse:J,historyError:se},data:function(){return{activeKey:""}},methods:{permission:o["a"],changeKey:function(e){this.activeKey=e},reloadItem:function(){this.$refs.teamSchedule&&this.$refs.teamSchedule.getList()}}},ce=ie,ue=Object(j["a"])(ce,n,l,!1,null,null,null);t["default"]=ue.exports},"37cb":function(e,t,a){"use strict";a("1d0a")},"44ac":function(e,t,a){"use strict";a.d(t,"b",(function(){return n})),a.d(t,"a",(function(){return l})),a.d(t,"c",(function(){return o}));var r=a("829b"),n=function(e){return Object(r["a"])({url:"/api-web/inspectionItemPlan/queryPage",params:e,method:"get"})},l=function(e){return Object(r["a"])({url:"/api-web/inspectionItemPlanConclusion/getPlanConclusion",params:e,method:"get"})},o=function(e){return Object(r["a"])({url:"/api-web/inspectionItemPlan/updateMemo",method:"post",requestType:"form",data:e})}},"5c83":function(e,t,a){},8018:function(e,t,a){"use strict";a.d(t,"w",(function(){return s})),a.d(t,"t",(function(){return i})),a.d(t,"h",(function(){return c})),a.d(t,"e",(function(){return u})),a.d(t,"v",(function(){return p})),a.d(t,"u",(function(){return d})),a.d(t,"n",(function(){return m})),a.d(t,"C",(function(){return h})),a.d(t,"D",(function(){return f})),a.d(t,"y",(function(){return b})),a.d(t,"x",(function(){return v})),a.d(t,"B",(function(){return g})),a.d(t,"g",(function(){return _})),a.d(t,"q",(function(){return y})),a.d(t,"z",(function(){return w})),a.d(t,"A",(function(){return I})),a.d(t,"s",(function(){return S})),a.d(t,"i",(function(){return T})),a.d(t,"m",(function(){return F})),a.d(t,"r",(function(){return x})),a.d(t,"a",(function(){return O})),a.d(t,"l",(function(){return k})),a.d(t,"o",(function(){return E})),a.d(t,"p",(function(){return L})),a.d(t,"k",(function(){return C})),a.d(t,"d",(function(){return j})),a.d(t,"c",(function(){return R})),a.d(t,"j",(function(){return A})),a.d(t,"b",(function(){return N})),a.d(t,"f",(function(){return D}));var r=a("b775"),n=a("4328"),l=a.n(n),o="/api-web";function s(e){return Object(r["a"])({url:o+"/teacher/queryPage",method:"get",params:e})}function i(e){return Object(r["a"])({url:o+"/teacher/get",method:"get",params:e})}function c(e){return Object(r["a"])({url:o+"/teacher/getTeacherMusicClass",method:"get",params:e})}function u(e){return Object(r["a"])({url:o+"/demoGroup/findTeacherDemoGroups",method:"get",params:e})}function p(e){return Object(r["a"])({url:o+"/teacher/queryCloses",method:"get",params:e})}function d(e){return Object(r["a"])({url:o+"/teacherLeaveRecord/queryPage",method:"get",params:e})}function m(e){return Object(r["a"])({url:o+"/teacher/sumTeacherNoPay",method:"get",params:e})}function h(e){return Object(r["a"])({url:o+"/teacherDefaultVipGroupSalary/queryPageByTeacherId",method:"get",params:e})}function f(e){return Object(r["a"])({url:o+"/teacherDefaultVipGroupSalary/upSet",method:"post",data:e})}function b(e){return Object(r["a"])({url:o+"/teacherDefaultMusicGroupSalary/queryPage",method:"get",params:e})}function v(e){return Object(r["a"])({url:o+"/teacherDefaultMusicGroupSalary/batchUpset",method:"post",data:e})}function g(e){return Object(r["a"])({url:o+"/courseSchedule/updateTeacherCoursesSalary",method:"post",data:l.a.stringify(e)})}function _(e){return Object(r["a"])({url:o+"/school/findVipSchoolByTeacher",method:"get",params:e})}function y(e){return Object(r["a"])({url:o+"/teacher/add",method:"post",data:l.a.stringify(e)})}function w(e){return Object(r["a"])({url:o+"/teacher/update",method:"post",data:l.a.stringify(e)})}function I(e){return Object(r["a"])({url:o+"/teacher/update1",method:"post",data:l.a.stringify(e)})}function S(e){return Object(r["a"])({url:o+"/teacherFreeTime/query",method:"get",params:e})}function T(e){return Object(r["a"])({url:o+"/teacherAttendance/getTeacherPersonalAttendanceDetail",method:"get",params:e})}function F(e){return Object(r["a"])({url:o+"/teacherFreeTime/updateSet",method:"post",data:l.a.stringify(e)})}function x(e){return Object(r["a"])({url:o+"/teacherDefaultPracticeGroupSalary/queryPageByTeacherId",method:"get",params:e})}function O(e){return Object(r["a"])({url:o+"/teacherDefaultPracticeGroupSalary/update",method:"post",data:e})}function k(e){return Object(r["a"])({url:o+"/sysTenantAccount/queryTenantAccountDetail",method:"get",params:e})}function E(e){return Object(r["a"])({url:o+"/sysTenantAccount/addMinutes",method:"post",data:l.a.stringify(e)})}function L(e){return Object(r["a"])({url:o+"/sysTenantAccount/subtractMinutes",method:"post",data:l.a.stringify(e)})}function C(e){return Object(r["a"])({url:o+"/sysTenantAccount/get",method:"get",params:e})}function j(e){return Object(r["a"])({url:o+"/coursesGroupController/findTeacherCourseGroupsWithWeb",method:"get",params:e})}function R(e){return Object(r["a"])({url:o+"/courseSchedule/classGroupTeacherAdjust",method:"post",data:l.a.stringify(e)})}function A(e){return Object(r["a"])({url:o+"/teacher/queryStudent",method:"get",params:e})}function N(e){return Object(r["a"])({url:o+"/studentManage/batchUpdateAdviser",method:"post",data:l.a.stringify(e)})}function D(e){return Object(r["a"])({url:o+"/courseScheduleTeacherSalary/getCourseTeachers",method:"get",params:e})}},8373:function(e,t,a){},"92e3":function(e,t,a){"use strict";a.d(t,"k",(function(){return o})),a.d(t,"q",(function(){return s})),a.d(t,"j",(function(){return i})),a.d(t,"c",(function(){return c})),a.d(t,"o",(function(){return u})),a.d(t,"C",(function(){return p})),a.d(t,"B",(function(){return d})),a.d(t,"d",(function(){return m})),a.d(t,"u",(function(){return h})),a.d(t,"l",(function(){return f})),a.d(t,"E",(function(){return b})),a.d(t,"i",(function(){return v})),a.d(t,"D",(function(){return g})),a.d(t,"x",(function(){return _})),a.d(t,"F",(function(){return y})),a.d(t,"G",(function(){return w})),a.d(t,"w",(function(){return I})),a.d(t,"z",(function(){return S})),a.d(t,"n",(function(){return T})),a.d(t,"g",(function(){return F})),a.d(t,"A",(function(){return x})),a.d(t,"r",(function(){return O})),a.d(t,"h",(function(){return k})),a.d(t,"v",(function(){return E})),a.d(t,"f",(function(){return L})),a.d(t,"e",(function(){return C})),a.d(t,"t",(function(){return j})),a.d(t,"s",(function(){return R})),a.d(t,"y",(function(){return A})),a.d(t,"p",(function(){return N})),a.d(t,"a",(function(){return D})),a.d(t,"m",(function(){return M})),a.d(t,"b",(function(){return V}));var r=a("b85c"),n=a("3835"),l=a("267e"),o=[{label:"声部课",value:"SINGLE"},{label:"合奏课",value:"MIX"},{label:"基础技能课",value:"HIGH"},{label:"线上基础技能课",value:"HIGH_ONLINE"},{label:"vip课",value:"VIP"},{label:"试听课",value:"DEMO"},{label:"综合课",value:"COMPREHENSIVE"},{label:"网管课",value:"PRACTICE"},{label:"乐团网管课",value:"MUSIC_NETWORK"},{label:"启蒙课",value:"ENLIGHTENMENT"},{label:"集训声部课",value:"TRAINING_SINGLE"},{label:"集训合奏课",value:"TRAINING_MIX"},{label:"课堂课",value:"CLASSROOM"},{label:"对外课",value:"COMM"}],s=[{label:"声部课",value:"SINGLE"},{label:"合奏课",value:"MIX"},{label:"基础技能课",value:"HIGH"},{label:"线上基础技能课",value:"HIGH_ONLINE"},{label:"乐团网管课",value:"MUSIC_NETWORK"},{label:"集训声部课",value:"TRAINING_SINGLE"},{label:"集训合奏课",value:"TRAINING_MIX"},{label:"课堂课",value:"CLASSROOM"},{label:"综合课",value:"COMPREHENSIVE"}],i=[{label:"乐团课",value:"MUSIC"},{label:"VIP课",value:"VIP"},{label:"网管课",value:"PRACTICE"}],c=[{label:"正常签到",value:1},{label:"异常签到",value:0}],u=[{label:"兼职",value:"PART_TIME"},{label:"全职",value:"FULL_TIME"}],p=[{label:"正常",value:"0"},{label:"冻结",value:"1"},{label:"锁定",value:"9"}],d=[{value:"NORMAL",label:"正常"},{value:"TRUANT",label:"旷课"},{value:"LEAVE",label:"请假"}],m=[].concat(d,[{value:"QUIT_SCHOOL",label:"退学"}]),h=[{value:"APPLY",label:"报名"},{value:"RENEW",label:"续费"},{value:"OTHER",label:"其他"},{value:"SMALL_CLASS_TO_BUY",label:"VIP购买"},{value:"SPORADIC",label:"零星收费"},{value:"LUCK",label:"福袋活动"},{value:"DEGREE_REGISTRATION",label:"考级报名"},{value:"DOUBLE_ELEVEN2020",label:"双十一活动"},{value:"DEGREE",label:"儿童节活动"},{value:"PRACTICE_GROUP_BUY",label:"网管课"},{value:"PRACTICE_GROUP_RENEW",label:"网管课续费"},{value:"REPAIR",label:"乐器维修"},{value:"OUTORDER",label:"外部收入"},{value:"GOODS_SELL",label:"商品销售"},{value:"SUBJECT_CHANGE",label:"声部更换"},{value:"MAINTENANCE",label:"乐器保养"},{value:"REPLACEMENT",label:"乐器置换"}],f=[{value:"ING",label:"交易中"},{value:"SUCCESS",label:"成功交易"},{value:"FAILED",label:"交易失败"},{value:"CLOSE",label:"交易关闭"}],b=[{value:"0",text:"未开始"},{value:"1",text:"报名中"},{value:"5",text:"报名结束"},{value:"2",text:"进行中"},{value:"4",text:"已结束"},{value:"3",text:"取消"},{value:"6",text:"暂停"}],v=[{value:"NORMAL",label:"进行中"},{value:"FINISH",label:"结束"},{value:"CANCEL",label:"关闭"},{value:"LOCK",label:"锁定"}],g=[{value:"RECHARGE",label:"充值"},{value:"CONSUME",label:"建课"},{value:"RETURN",label:"退课"},{value:"MANUAL_ADD",label:"系统充值"},{value:"MANUAL_SUB",label:"系统扣除"}],_=[{value:"FREE",label:"免费"},{value:"CHARGE",label:"收费"},{value:"TRIAL",label:"试听课"},{value:"CARE_PACKAGE",label:"关心包"},{value:"COME_ON_PACKAGE",label:"加油包"}],y=[{value:"课程推荐",label:"课程推荐",children:[{value:"新课推荐",label:"新课推荐"},{value:"续费提醒",label:"续费提醒"}]},{value:"常规回访",label:"常规回访",children:[{value:"课后及作业回访",label:"课后及作业回访"},{value:"练习及乐团表现",label:"练习及乐团表现"}]},{value:"其它",label:"其它",children:[{value:"其它",label:"其它"}]}],w=[{value:"课程推荐",label:"课程推荐",children:[{value:"新课推荐",label:"新课推荐"},{value:"续费提醒",label:"续费提醒"}]},{value:"常规回访",label:"常规回访",children:[{value:"课后及作业回访",label:"课后及作业回访"},{value:"练习及乐团表现",label:"练习及乐团表现"},{label:"考勤申诉",value:"考勤申诉"},{value:"异常请假回访",label:"异常请假回访"}]},{value:"其它",label:"其它",children:[{value:"其它",label:"其它"}]}],I=[{value:"YQPAY",label:"双乾"},{value:"BALANCE",label:"余额"},{value:"ADAPAY",label:"汇付"}],S=[{value:"INSTRUMENT",label:"乐器销售"},{value:"ACCESSORIES",label:"配件销售"},{value:"SCHOOL_BUY",label:"学校采购"},{value:"OTHER",label:"其它"}],T=[{value:"INSTRUMENT",label:"乐器"},{value:"ACCESSORIES",label:"辅件"},{value:"TEACHING",label:"教材"},{value:"STAFF",label:"教谱"},{value:"OTHER",label:"其它"}],F=[{value:"1",label:"一年级"},{value:"2",label:"二年级"},{value:"3",label:"三年级"},{value:"4",label:"四年级"},{value:"5",label:"五年级"},{value:"6",label:"六年级"},{value:"7",label:"初一"},{value:"8",label:"初二"},{value:"9",label:"初三"},{value:"10",label:"高一"},{value:"11",label:"高二"},{value:"12",label:"高三"}],x=[{value:"INTERNAL",label:"内部"},{value:"EXTERNAL",label:"外部"},{value:"ALL",label:"全部"}],O=P(l["musicGroupType"]),k=P(l["classTime"]),E=P(l["payOrderType"]),L=P(l["auditType"]),C=P(l["auditPaymentType"]),j=P(l["orderServerType"]),R=P(l["orderAuditType"]),A=P(l["rewardModeType"]),N=P(l["musicClassType"]),D=P(l["ProbationPeriodStatus"]),M=P(l["downListType"]);function P(e){var t=[];for(var a in e)t.push({label:e[a],value:a});return t}var V=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:["value","label"],a=Object(n["a"])(t,2),l=a[0],o=a[1],s={};if(e&&e.length){var i,c=Object(r["a"])(e);try{for(c.s();!(i=c.n()).done;){var u=i.value;s[u[l]]=u[o]}}catch(p){c.e(p)}finally{c.f()}}return s}},"9be9":function(e,t,a){"use strict";var r=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("el-amap",{ref:"map",staticClass:"amap-demo",attrs:{zoom:e.zoom,vid:"amapDemo","amap-manager":e.amapManager,center:e.center,events:e.markerEvents}},[e._l(e.markers,(function(e,t){return a("el-amap-marker",{key:t,attrs:{position:e.location,title:e.title}})})),e._v(" "),e._l(e.markers,(function(e,t){return a("el-amap-text",{key:t+"xxx",attrs:{text:e.title,position:e.location,offset:[40,-10]}})})),e._v(" "),a("el-amap-polyline",{attrs:{path:e.path,strokeColor:"#4196fc"}}),e._v(" "),e._l(e.texts,(function(e,t){return a("el-amap-text",{key:t+"ooo",attrs:{text:e.text,position:e.position,offset:[-50,0]}})}))],2)],1)},n=[],l=(a("28a5"),a("8f9b")),o=a.n(l);(function(){var e=EventTarget.prototype.addEventListener,t=!1;try{var a=Object.defineProperty({},"passive",{get:function(){t=!0}});document.addEventListener("testPassive",null,a),document.removeEventListener("testPassive",null,a)}catch(r){}EventTarget.prototype.addEventListener=function(a,r,n){this.func=e,n=n instanceof Object?n:{},n.passive=t,this.func(a,r,n)}})(),o.a.initAMapApiLoader({key:"b1e6ac2eb28902ce91a490edf194e000",plugin:["Autocomplete","PlaceSearch","Scale","OverView","ToolBar","MapType","PolyEditor","AMap.CircleEditor"],v:"1.4.4"});var s=new o.a.AMapManager,i={props:["activeRow"],data:function(){var e=this;return{zoom:20,amapManager:s,center:[114.34371,30.55939],markers:[],distance:"-",schoolLongitudeLatitude:null,signInLongitudeLatitude:null,markerEvents:{complete:function(t){e.$refs.map.$amap.setFitView()}},path:[],texts:[]}},watch:{activeRow:function(e){e&&(console.log(e),this.init())}},mounted:function(){this.init()},activated:function(){},methods:{init:function(){if(this.activeRow.schoolLongitudeLatitude){var e={title:"教学点",location:this.activeRow.schoolLongitudeLatitude.split(",")};this.center=this.activeRow.schoolLongitudeLatitude.split(","),this.schoolLongitudeLatitude=this.activeRow.schoolLongitudeLatitude.split(","),this.markers.push(e)}if(this.activeRow.signInLongitudeLatitude){var t={title:"签到点",location:this.activeRow.signInLongitudeLatitude.split(",")};this.center=this.activeRow.signInLongitudeLatitude.split(","),this.signInLongitudeLatitude=this.activeRow.signInLongitudeLatitude.split(","),this.markers.push(t)}if(this.activeRow.signOutLongitudeLatitude){var a={title:"签退点",location:this.activeRow.signOutLongitudeLatitude.split(",")};this.center=this.activeRow.signOutLongitudeLatitude.split(","),this.signOutLongitudeLatitude=this.activeRow.signOutLongitudeLatitude.split(","),this.markers.push(a)}this.getDistance(this.signInLongitudeLatitude,this.schoolLongitudeLatitude),this.getDistance(this.signOutLongitudeLatitude,this.schoolLongitudeLatitude)},onSearchResult:function(){},getDistance:function(e,t){if(e&&e.length>0&&t&&t.length>0){s.getMap();var a=new AMap.Marker({position:e}),r=new AMap.Marker({position:t}),n=a.getPosition(),l=r.getPosition(),o=n.divideBy(2).add(l.divideBy(2));console.log(o);var i=[o.lng,o.lat],c=Math.round(n.distance(l));this.path.push(e,t),this.texts.push({text:"两点相距".concat(c,"米"),position:i}),this.distance=c}}}},c=i,u=(a("deac"),a("2877")),p=Object(u["a"])(c,r,n,!1,null,"7576dd06",null);t["a"]=p.exports},"9d8f":function(e,t,a){},adb21:function(e,t,a){"use strict";a.d(t,"a",(function(){return c}));var r=a("bc3a"),n=a.n(r),l=(a("4328"),a("5f87")),o=a("3908"),s=a("e3eb"),i=a.n(s),c=function(e,t,a){var r=t.url,s={method:t.method?t.method:"get",headers:{Authorization:Object(l["a"])()},url:r,responseType:"blob"};"post"==s.method?s.data=t.params:s.params=t.params,e.$confirm(a||"您确定下载模板","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){o["a"].startLoading(),n()(i()(s)).then((function(a){var r=new Blob([a.data],{type:"application/vnd.ms-excel;charset=utf-8"}),n=new Response(r).text();n.then((function(a){if(-1!=a.indexOf("code")){var n=JSON.parse(a);e.$message.error(n.msg)}else{var l=URL.createObjectURL(r),o=document.createElement("a"),s=t.fileName||"导出文件.xls";o.href=l,o.setAttribute("download",s),document.body.appendChild(o),o.click()}})),o["a"].endLoading()})).catch((function(t){e.$message.error("下载失败,请联系管理员"),o["a"].endLoading()}))})).catch((function(){}))}},deac:function(e,t,a){"use strict";a("5c83")},ec1b:function(e,t,a){!function(t,a){e.exports=a()}(0,(function(){return function(e){function t(r){if(a[r])return a[r].exports;var n=a[r]={i:r,l:!1,exports:{}};return e[r].call(n.exports,n,n.exports,t),n.l=!0,n.exports}var a={};return t.m=e,t.c=a,t.i=function(e){return e},t.d=function(e,a,r){t.o(e,a)||Object.defineProperty(e,a,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var a=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(a,"a",a),a},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/dist/",t(t.s=2)}([function(e,t,a){var r=a(4)(a(1),a(5),null,null);e.exports=r.exports},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a(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,a,r){return a*(1-Math.pow(2,-10*e/r))*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,r.requestAnimationFrame)(this.count)},pauseResume:function(){this.paused?(this.resume(),this.paused=!1):(this.pause(),this.paused=!0)},pause:function(){(0,r.cancelAnimationFrame)(this.rAF)},resume:function(){this.startTime=null,this.localDuration=+this.remaining,this.localStartVal=+this.printVal,(0,r.requestAnimationFrame)(this.count)},reset:function(){this.startTime=null,(0,r.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,r.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("."),a=t[0],r=t.length>1?this.decimal+t[1]:"",n=/(\d+)(\d{3})/;if(this.separator&&!this.isNumber(this.separator))for(;n.test(a);)a=a.replace(n,"$1"+this.separator+"$2");return this.prefix+a+r+this.suffix}},destroyed:function(){(0,r.cancelAnimationFrame)(this.rAF)}}},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a(0),n=function(e){return e&&e.__esModule?e:{default:e}}(r);t.default=n.default,"undefined"!=typeof window&&window.Vue&&window.Vue.component("count-to",n.default)},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=0,n="webkit moz ms o".split(" "),l=void 0,o=void 0;if("undefined"==typeof window)t.requestAnimationFrame=l=function(){},t.cancelAnimationFrame=o=function(){};else{t.requestAnimationFrame=l=window.requestAnimationFrame,t.cancelAnimationFrame=o=window.cancelAnimationFrame;for(var s=void 0,i=0;i<n.length&&(!l||!o);i++)s=n[i],t.requestAnimationFrame=l=l||window[s+"RequestAnimationFrame"],t.cancelAnimationFrame=o=o||window[s+"CancelAnimationFrame"]||window[s+"CancelRequestAnimationFrame"];l&&o||(t.requestAnimationFrame=l=function(e){var t=(new Date).getTime(),a=Math.max(0,16-(t-r)),n=window.setTimeout((function(){e(t+a)}),a);return r=t+a,n},t.cancelAnimationFrame=o=function(e){window.clearTimeout(e)})}t.requestAnimationFrame=l,t.cancelAnimationFrame=o},function(e,t){e.exports=function(e,t,a,r){var n,l=e=e||{},o=typeof e.default;"object"!==o&&"function"!==o||(n=e,l=e.default);var s="function"==typeof l?l.options:l;if(t&&(s.render=t.render,s.staticRenderFns=t.staticRenderFns),a&&(s._scopeId=a),r){var i=Object.create(s.computed||null);Object.keys(r).forEach((function(e){var t=r[e];i[e]=function(){return t}})),s.computed=i}return{esModule:n,exports:l,options:s}}},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:[]}}])}))},ed08:function(e,t,a){"use strict";a.d(t,"b",(function(){return o})),a.d(t,"a",(function(){return s}));var r=a("ade3"),n=(a("c5f6"),a("28a5"),a("a481"),a("6b54"),a("53ca"),a("5a0c")),l=a.n(n);var o=function(e){var t=[];for(var a in e)if(e.hasOwnProperty(a)){var r=e[a],n=a.toLocaleUpperCase();t.push({label:r,value:"TRUE"===n||"FALSE"===n?"TRUE"===n:a})}return t},s=function(e){var t,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"YYYY-MM-DD";return e&&e.length?(t={},Object(r["a"])(t,a[0]||"start",l()(e[0]).isValid()?l()(e[0]).format(n):""),Object(r["a"])(t,a[1]||"end",l()(e[1]).isValid()?l()(e[1]).format(n):""),t):{}}},f6b5:function(e,t,a){"use strict";a("8373")},f903:function(e,t,a){"use strict";var r=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("descriptions",{attrs:{column:3}},[a("descriptions-item",{attrs:{label:"所属分部:"}},[e._v("\n "+e._s(e.detail.organName)+"\n ")]),e._v(" "),a("descriptions-item",{attrs:{label:"合作单位:"}},[e._v("\n "+e._s(e.detail.cooperationName)+"\n ")]),e._v(" "),a("descriptions-item",{attrs:{label:"巡查乐团:"}},[e._v("\n "+e._s(e.detail.musicGroupName)+"\n ")]),e._v(" "),a("descriptions-item",{attrs:{label:"乐团主管:"}},[e._v("\n "+e._s(e.detail.realName)+"\n ")]),e._v(" "),a("descriptions-item",{attrs:{label:"巡查时间:"}},[e._v("\n "+e._s(e.dayjs(e.detail.planStart).format("YYYY-MM-DD HH:mm"))+"~\n "+e._s(e.dayjs(e.detail.planEnd).format("HH:mm"))+"\n ")]),e._v(" "),a("descriptions-item",{attrs:{label:"提交时间:"}},[e._v("\n "+e._s(e.detail.submitedTime)+"\n ")]),e._v(" "),a("descriptions-item",{attrs:{label:"处理方式:"}},[e._v("\n "+e._s(e.detail.memo)+"\n ")])],1),e._v(" "),a("el-table",{staticStyle:{"margin-top":"15px"},attrs:{data:e.tableData},scopedSlots:e._u([{key:"empty",fn:function(){return[a("empty")]},proxy:!0}])},[a("el-table-column",{attrs:{prop:"name",fixed:"left",label:"巡查项目",align:"center",width:"150"}}),e._v(" "),a("el-table-column",{attrs:{label:"课前管理",align:"center"}},[a("el-table-column",{attrs:{width:"200px",align:"center",label:"老师是否提前准备板书(本课内容、作业)"},scopedSlots:e._u([{key:"default",fn:function(e){return[a("i",{class:1==e.row[1]?"el-icon-check":"el-icon-close"})]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"2",width:"160px",label:"老师是否佩戴工牌",align:"center"},scopedSlots:e._u([{key:"default",fn:function(e){return[a("i",{class:1==e.row[2]?"el-icon-check":"el-icon-close"})]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"3",width:"180px",label:"老师是否仪容仪表整洁",align:"center"},scopedSlots:e._u([{key:"default",fn:function(e){return[a("i",{class:1==e.row[3]?"el-icon-check":"el-icon-close"})]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"4",width:"160px",label:"老师是否携带乐器",align:"center"},scopedSlots:e._u([{key:"default",fn:function(e){return[a("i",{class:1==e.row[4]?"el-icon-check":"el-icon-close"})]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"5",width:"160px",align:"center",label:"老师是否携带教学资料、设备"},scopedSlots:e._u([{key:"default",fn:function(e){return[a("i",{class:1==e.row[5]?"el-icon-check":"el-icon-close"})]}}])})],1),e._v(" "),a("el-table-column",{attrs:{label:"课中管理",align:"center"}},[a("el-table-column",{attrs:{prop:"6",width:"160px",align:"center",label:"老师是否合理安排学员座位"},scopedSlots:e._u([{key:"default",fn:function(e){return[a("i",{class:1==e.row[6]?"el-icon-check":"el-icon-close"})]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"7",width:"160px",align:"center",label:"乐器箱包、书包是否摆放整齐"},scopedSlots:e._u([{key:"default",fn:function(e){return[a("i",{class:1==e.row[7]?"el-icon-check":"el-icon-close"})]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"8",width:"180px",align:"center",label:"课堂纪律是否保持良好"},scopedSlots:e._u([{key:"default",fn:function(e){return[a("i",{class:1==e.row[8]?"el-icon-check":"el-icon-close"})]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"9",width:"180px",align:"center",label:"老师是否全程站立教学"},scopedSlots:e._u([{key:"default",fn:function(e){return[a("i",{class:1==e.row[9]?"el-icon-check":"el-icon-close"})]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"10",width:"160px",align:"center",label:"老师是否全程使用节拍器或教学音频"},scopedSlots:e._u([{key:"default",fn:function(e){return[a("i",{class:1==e.row[10]?"el-icon-check":"el-icon-close"})]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"11",width:"160px",align:"center",label:"未发现私换乐器"},scopedSlots:e._u([{key:"default",fn:function(e){return[a("i",{class:1==e.row[11]?"el-icon-check":"el-icon-close"})]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"12",width:"160px",align:"center",label:"老师是否将上课照片/视频发送到声部群"},scopedSlots:e._u([{key:"default",fn:function(e){return[a("i",{class:1==e.row[12]?"el-icon-check":"el-icon-close"})]}}])})],1),e._v(" "),a("el-table-column",{attrs:{label:"课后管理",align:"center"}},[a("el-table-column",{attrs:{prop:"13",width:"160px",align:"center",label:"老师是否保持教室环境卫生"},scopedSlots:e._u([{key:"default",fn:function(e){return[a("i",{class:1==e.row[13]?"el-icon-check":"el-icon-close"})]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"14",width:"160px",align:"center",label:"老师是否关好所有电源、门窗"},scopedSlots:e._u([{key:"default",fn:function(e){return[a("i",{class:1==e.row[14]?"el-icon-check":"el-icon-close"})]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"15",width:"160px",align:"center",label:"老师是否有序组织学员放学"},scopedSlots:e._u([{key:"default",fn:function(e){return[a("i",{class:1==e.row[15]?"el-icon-check":"el-icon-close"})]}}])})],1)],1)],1)},n=[],l=(a("96cf"),a("1da1")),o=a("6612"),s=a.n(o),i=a("5a0c"),c=a.n(i),u=a("ddec"),p=a("44ac"),d={props:["detail"],components:{descriptions:u["a"]},data:function(){return{tableData:[]}},mounted:function(){this.init()},methods:{dayjs:c.a,numeral:s.a,init:function(){var e=Object(l["a"])(regeneratorRuntime.mark((function e(){var t,a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,t=this.detail,e.next=4,Object(p["a"])({planId:t.id});case 4:a=e.sent,this.tableData=a.data,e.next=10;break;case 8:e.prev=8,e.t0=e["catch"](0);case 10:case"end":return e.stop()}}),e,this,[[0,8]])})));function t(){return e.apply(this,arguments)}return t}()}},m=d,h=(a("37cb"),a("2877")),f=Object(h["a"])(m,r,n,!1,null,"142acd92",null);t["a"]=f.exports}}]);
|