1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-1945cf18","chunk-3c4bcfaf"],{"232e":function(e,t,r){},"24bb":function(e,t,r){},"321d":function(e,t,r){"use strict";var a=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"m-container"},[r("div",[r("el-form",{ref:"form",attrs:{inline:!0,model:e.form}},[r("el-alert",{staticStyle:{margin:"20px 0 40px"},attrs:{title:"线下课考勤定位范围",closable:!1,type:"info"}}),e._v(" "),r("p",{staticClass:"subtitle"},[e._v("线下课考勤定位范围:")]),e._v(" "),r("el-row",[r("el-form-item",{attrs:{prop:"6",rules:[{required:!1,pattern:/^[1-9][0-9]*$/,message:"请输入正确的距离"}]}},[e._v("\n GPS定位距离教学点"),r("el-input",{attrs:{placeholder:"请输入距离"},model:{value:e.form["6"],callback:function(t){e.$set(e.form,"6",t)},expression:"form['6']"}},[r("template",{slot:"append"},[e._v("米")])],2),e._v("\n 以内。\n ")],1)],1),e._v(" "),r("el-divider"),e._v(" "),r("p",{staticClass:"subtitle"},[e._v("签到签退定位异常:")]),e._v(" "),r("el-row",[r("el-form-item",{attrs:{prop:"138",rules:[{required:!1,pattern:/(^[1-9]([0-9]+)?(\.[0-9]{1,2})?$)|(^(0){1}$)|(^[0-9]\.[0-9]([0-9])?$)/,message:"请输入正确的金额"}]}},[e._v("\n 线下课签到地点未在教学点范围内,扣减课酬\n "),r("el-input",{staticClass:"chiose",attrs:{placeholder:"请输入金额"},model:{value:e.form["138"],callback:function(t){e.$set(e.form,"138",t)},expression:"form['138']"}},[r("template",{slot:"append"},[r("el-select",{staticClass:"append",model:{value:e.form["139"],callback:function(t){e.$set(e.form,"139","string"===typeof t?t.trim():t)},expression:"form['139']"}},[r("el-option",{attrs:{label:"元",value:"1"}}),e._v(" "),r("el-option",{attrs:{label:"%",value:"2"}})],1)],1)],2),e._v("。\n ")],1)],1),e._v(" "),r("el-row",[r("el-form-item",{attrs:{prop:"206",rules:[{required:!1,pattern:/(^[1-9]([0-9]+)?(\.[0-9]{1,2})?$)|(^(0){1}$)|(^[0-9]\.[0-9]([0-9])?$)/,message:"请输入正确的金额"}]}},[e._v("\n 线下课签退地点未在教学点范围内,扣减课酬\n "),r("el-input",{staticClass:"chiose",attrs:{placeholder:"请输入金额"},model:{value:e.form["206"],callback:function(t){e.$set(e.form,"206",t)},expression:"form['206']"}},[r("template",{slot:"append"},[r("el-select",{staticClass:"append",model:{value:e.form["207"],callback:function(t){e.$set(e.form,"207","string"===typeof t?t.trim():t)},expression:"form['207']"}},[r("el-option",{attrs:{label:"元",value:"1"}}),e._v(" "),r("el-option",{attrs:{label:"%",value:"2"}})],1)],1)],2),e._v("。\n ")],1)],1),e._v(" "),r("el-alert",{staticStyle:{margin:"40px 0"},attrs:{title:"乐团签到规则",closable:!1,type:"info"}}),e._v(" "),r("p",{staticClass:"subtitle"},[e._v("正常签到:")]),e._v(" "),r("el-row",[r("el-form-item",{attrs:{prop:"80",rules:[{required:!0,message:"请输入时间",trigger:"blur"},{pattern:/^[1-9][0-9]*$/,message:"请输入正确的时间"}]}},[r("span",{staticStyle:{color:"#f56c6c","margin-right":"4px"}},[e._v("*")]),e._v("\n 课程开始前\n "),r("el-input",{attrs:{placeholder:"请输入时间"},model:{value:e.form["80"],callback:function(t){e.$set(e.form,"80",t)},expression:"form['80']"}},[r("template",{slot:"append"},[e._v("分钟")])],2)],1),e._v(" "),r("el-form-item",{attrs:{prop:"140",rules:[{required:!1,message:"请输入时间",trigger:"blur"},{pattern:/^0|[1-9][0-9]*$/,message:"请输入正确的时间"},{validator:this.validateMin,trigger:"blur"}]}},[e._v("\n 到课程开始前\n "),r("el-input",{attrs:{placeholder:"请输入时间"},model:{value:e.form["140"],callback:function(t){e.$set(e.form,"140",t)},expression:"form['140']"}},[r("template",{slot:"append"},[e._v("分钟")])],2),e._v("\n 。\n ")],1)],1),e._v(" "),e.form["80"]?r("p",{staticClass:"example"},[e._v("\n 例:\n "),r("span",{staticStyle:{color:"#f56c6c","margin-right":"4px"}},[e._v("12:00:00")]),e._v("\n 开始的课程,正常签到时间为\n "),r("span",{staticStyle:{color:"#f56c6c","margin-right":"4px"}},[e._v(e._s(e.reduceFormMinute("12:00:00",e.form["80"])))]),e._v("到"),r("span",{staticStyle:{color:"#f56c6c","margin-right":"4px"}},[e._v(e._s(e.reduceFormMinute("12:00:00",e.form["140"])))]),e._v("\n 且最早\n "),r("span",{staticStyle:{color:"#f56c6c","margin-right":"4px"}},[e._v(e._s(e.reduceFormMinute("12:00:00",e.form["80"])))]),e._v("可以进行签到。\n ")]):e._e(),e._v(" "),r("el-divider"),e._v(" "),e.form["140"]?r("p",{staticClass:"subtitle"},[e._v("异常签到:")]):e._e(),e._v(" "),e.form["140"]?r("el-row",[r("el-form-item",{attrs:{prop:"141",rules:[{required:!1,pattern:/(^[1-9]([0-9]+)?(\.[0-9]{1,2})?$)|(^(0){1}$)|(^[0-9]\.[0-9]([0-9])?$)/,message:"请输入正确的金额"}]}},[e._v("\n 未在课程开始\n "),r("el-input",{attrs:{disabled:"",placeholder:"请输入时间"},model:{value:e.form["140"],callback:function(t){e.$set(e.form,"140",t)},expression:"form['140']"}},[r("template",{slot:"append"},[e._v("分钟")])],2),e._v("前签到,扣减课酬\n "),r("el-input",{staticClass:"chiose",attrs:{placeholder:"请输入金额"},model:{value:e.form["141"],callback:function(t){e.$set(e.form,"141",t)},expression:"form['141']"}},[r("template",{slot:"append"},[r("el-select",{staticClass:"append",model:{value:e.form["142"],callback:function(t){e.$set(e.form,"142","string"===typeof t?t.trim():t)},expression:"form['142']"}},[r("el-option",{attrs:{label:"元",value:"1"}}),e._v(" "),r("el-option",{attrs:{label:"%",value:"2"}})],1)],1)],2),e._v("。\n ")],1)],1):e._e(),e._v(" "),e.form["140"]?r("p",{staticClass:"example"},[e._v("\n 例:\n "),r("span",{staticStyle:{color:"#f56c6c","margin-right":"4px"}},[e._v("12:00:00")]),e._v("\n 开始的课程,异常签到时间为\n "),r("span",{staticStyle:{color:"#f56c6c","margin-right":"4px"}},[e._v(e._s(e.reduceFormMinuteAddS("12:00:00",e.form["140"])))]),e._v("到"),r("span",{staticStyle:{color:"#f56c6c","margin-right":"4px"}},[e._v(e._s("12:00:00"))]),e._v("。\n ")]):e._e(),e._v(" "),r("el-divider"),e._v(" "),r("p",{staticClass:"subtitle"},[e._v("迟到:")]),e._v(" "),r("el-row",[r("el-form-item",{attrs:{prop:"143",rules:[{required:!1,message:"请输入时间",trigger:"blur"},{required:!1,pattern:/^[1-9][0-9]*$/,message:"请输入正确的时间"}]}},[e._v("\n 课程开始后到课程开始后\n "),r("el-input",{attrs:{placeholder:"请输入时间"},model:{value:e.form["143"],callback:function(t){e.$set(e.form,"143",t)},expression:"form['143']"}},[r("template",{slot:"append"},[e._v("分钟")])],2)],1),e._v(" "),r("el-form-item",{attrs:{prop:"144",rules:[{required:!1,pattern:/(^[1-9]([0-9]+)?(\.[0-9]{1,2})?$)|(^(0){1}$)|(^[0-9]\.[0-9]([0-9])?$)/,message:"请输入正确的金额"}]}},[e._v("\n 以内签到,扣减课酬\n "),r("el-input",{staticClass:"chiose",attrs:{placeholder:"请选择金额"},model:{value:e.form["144"],callback:function(t){e.$set(e.form,"144",t)},expression:"form['144']"}},[r("template",{slot:"append"},[r("el-select",{staticClass:"append",model:{value:e.form["145"],callback:function(t){e.$set(e.form,"145","string"===typeof t?t.trim():t)},expression:"form['145']"}},[r("el-option",{attrs:{label:"元",value:"1"}}),e._v(" "),r("el-option",{attrs:{label:"%",value:"2"}})],1)],1)],2),e._v("。\n ")],1)],1),e._v(" "),e.form["143"]?r("p",{staticClass:"example"},[e._v("\n 例:\n "),r("span",{staticStyle:{color:"#f56c6c","margin-right":"4px"}},[e._v("12:00:00")]),e._v("\n 开始的课程,迟到签到时间为\n "),r("span",{staticStyle:{color:"#f56c6c","margin-right":"4px"}},[e._v(e._s("12:00:01"))]),e._v("到"),r("span",{staticStyle:{color:"#f56c6c","margin-right":"4px"}},[e._v(e._s(e.addFormMinute("12:00:00",e.form["143"])))]),e._v("。\n ")]):e._e(),e._v(" "),r("el-divider"),e._v(" "),r("p",{staticClass:"subtitle"},[e._v("旷课:")]),e._v(" "),r("el-row",[r("el-form-item",{attrs:{prop:"143"}},[e._v("\n 课程开始\n "),r("el-input",{attrs:{disabled:!0,placeholder:"请输入时间"},model:{value:e.form["143"],callback:function(t){e.$set(e.form,"143",t)},expression:"form['143']"}},[r("template",{slot:"append"},[e._v("分钟")])],2)],1),e._v(" "),r("el-form-item",{attrs:{prop:"147",rules:[{required:!1,pattern:/(^[1-9]([0-9]+)?(\.[0-9]{1,2})?$)|(^(0){1}$)|(^[0-9]\.[0-9]([0-9])?$)/,message:"请输入正确的金额"}]}},[e._v("\n 后签到,扣减课酬\n "),r("el-input",{staticClass:"chiose",attrs:{placeholder:"请输入金额"},model:{value:e.form["147"],callback:function(t){e.$set(e.form,"147",t)},expression:"form['147']"}},[r("template",{slot:"append"},[r("el-select",{staticClass:"append",model:{value:e.form["148"],callback:function(t){e.$set(e.form,"148","string"===typeof t?t.trim():t)},expression:"form['148']"}},[r("el-option",{attrs:{label:"元",value:"1"}}),e._v(" "),r("el-option",{attrs:{label:"%",value:"2"}})],1)],1)],2),e._v("。\n ")],1)],1),e._v(" "),e.form["143"]?r("p",{staticClass:"example"},[e._v("\n 例:\n "),r("span",{staticStyle:{color:"#f56c6c","margin-right":"4px"}},[e._v("12:00:00")]),e._v("\n 开始的课程,旷课签到时间为\n "),r("span",{staticStyle:{color:"#f56c6c","margin-right":"4px"}},[e._v(e._s(e.addFormMinuteAddS("12:00:00",e.form["143"])))]),e._v("以后。\n ")]):e._e(),e._v(" "),r("el-divider"),e._v(" "),r("p",{staticClass:"subtitle"},[e._v("未签到:")]),e._v(" "),r("el-row",[r("el-form-item",{attrs:{prop:"149",rules:[{required:!1,pattern:/(^[1-9]([0-9]+)?(\.[0-9]{1,2})?$)|(^(0){1}$)|(^[0-9]\.[0-9]([0-9])?$)/,message:"请输入正确的金额"}]}},[e._v("\n 扣减课酬\n "),r("el-input",{staticClass:"chiose",attrs:{placeholder:"请输入金额"},model:{value:e.form["149"],callback:function(t){e.$set(e.form,"149",t)},expression:"form['149']"}},[r("template",{slot:"append"},[r("el-select",{staticClass:"append",model:{value:e.form["150"],callback:function(t){e.$set(e.form,"150","string"===typeof t?t.trim():t)},expression:"form['150']"}},[r("el-option",{attrs:{label:"元",value:"1"}}),e._v(" "),r("el-option",{attrs:{label:"%",value:"2"}})],1)],1)],2),e._v("。\n ")],1)],1),e._v(" "),r("el-alert",{staticStyle:{margin:"40px 0"},attrs:{title:"乐团签退规则",closable:!1,type:"info"}}),e._v(" "),r("p",{staticClass:"subtitle"},[e._v("正常签退:")]),e._v(" "),r("el-row",[r("el-form-item",{attrs:{prop:"81",rules:[{required:!0,message:"请输入时间",trigger:"blur"},{required:!1,pattern:/^[1-9][0-9]*$/,message:"请输入正确的时间"}]}},[r("span",{staticStyle:{color:"#f56c6c","margin-right":"4px"}},[e._v("*")]),e._v("\n 课程结束时间以后到课程结束后\n "),r("el-input",{attrs:{placeholder:"请输入时间"},model:{value:e.form["81"],callback:function(t){e.$set(e.form,"81",t)},expression:"form['81']"}},[r("template",{slot:"append"},[e._v("分钟")])],2),e._v("内签退。\n ")],1)],1),e._v(" "),e.form["81"]?r("p",{staticClass:"example"},[e._v("\n 例:\n "),r("span",{staticStyle:{color:"#f56c6c","margin-right":"4px"}},[e._v("13:00:00")]),e._v("\n 结束的课程,正常签退时间为\n "),r("span",{staticStyle:{color:"#f56c6c","margin-right":"4px"}},[e._v(e._s("13:00:00"))]),e._v("到\n "),r("span",{staticStyle:{color:"#f56c6c","margin-right":"4px"}},[e._v(e._s(e.addFormMinute("13:00:00",e.form["81"])))]),e._v("。\n ")]):e._e(),e._v(" "),r("el-divider"),e._v(" "),r("p",{staticClass:"subtitle"},[e._v("异常签退:")]),e._v(" "),r("el-row",[e._v("\n 课程结束前\n "),r("el-input",{attrs:{placeholder:"请输入时间"},model:{value:e.form["151"],callback:function(t){e.$set(e.form,"151",t)},expression:"form['151']"}},[r("template",{slot:"append"},[e._v("分钟")])],2),e._v("以后,到课程结束前签退为异常签退,扣减\n "),r("el-form-item",{attrs:{prop:"152",rules:[{required:!1,pattern:/(^[1-9]([0-9]+)?(\.[0-9]{1,2})?$)|(^(0){1}$)|(^[0-9]\.[0-9]([0-9])?$)/,message:"请输入正确的金额"}]}},[r("el-input",{staticClass:"chiose",attrs:{placeholder:"请输入金额"},model:{value:e.form["152"],callback:function(t){e.$set(e.form,"152",t)},expression:"form['152']"}},[r("template",{slot:"append"},[r("el-select",{staticClass:"append",model:{value:e.form["153"],callback:function(t){e.$set(e.form,"153","string"===typeof t?t.trim():t)},expression:"form['153']"}},[r("el-option",{attrs:{label:"元",value:"1"}}),e._v(" "),r("el-option",{attrs:{label:"%",value:"2"}})],1)],1)],2),e._v("。\n ")],1)],1),e._v(" "),e.form["151"]?r("p",{staticClass:"example"},[e._v("\n 例:\n "),r("span",{staticStyle:{color:"#f56c6c","margin-right":"4px"}},[e._v("13:00:00")]),e._v("\n 结束的课程,异常签退时间为\n "),r("span",{staticStyle:{color:"#f56c6c","margin-right":"4px"}},[e._v(e._s(e.reduceFormMinute("13:00:00",e.form["151"])))]),e._v("到\n "),r("span",{staticStyle:{color:"#f56c6c","margin-right":"4px"}},[e._v(e._s("12:59:59"))]),e._v("。\n ")]):e._e(),e._v(" "),r("el-divider"),e._v(" "),r("p",{staticClass:"subtitle"},[e._v("早退:")]),e._v(" "),r("el-row",[r("el-form-item",{attrs:{prop:"151"}},[e._v("\n 课程结束前\n "),r("el-input",{attrs:{disabled:"",placeholder:"请输入时间"},model:{value:e.form["151"],callback:function(t){e.$set(e.form,"151",t)},expression:"form['151']"}},[r("template",{slot:"append"},[e._v("分钟")])],2)],1),e._v(" "),r("el-form-item",{attrs:{prop:"155",rules:[{required:!1,pattern:/(^[1-9]([0-9]+)?(\.[0-9]{1,2})?$)|(^(0){1}$)|(^[0-9]\.[0-9]([0-9])?$)/,message:"请输入正确的金额"}]}},[e._v("\n 签退为异常签退,扣减\n "),r("el-input",{staticClass:"chiose",attrs:{placeholder:"请输入金额"},model:{value:e.form["155"],callback:function(t){e.$set(e.form,"155",t)},expression:"form['155']"}},[r("template",{slot:"append"},[r("el-select",{staticClass:"append",model:{value:e.form["156"],callback:function(t){e.$set(e.form,"156","string"===typeof t?t.trim():t)},expression:"form['156']"}},[r("el-option",{attrs:{label:"元",value:"1"}}),e._v(" "),r("el-option",{attrs:{label:"%",value:"2"}})],1)],1)],2),e._v("。\n ")],1)],1),e._v(" "),e.form["151"]?r("p",{staticClass:"example"},[e._v("\n 例:\n "),r("span",{staticStyle:{color:"#f56c6c","margin-right":"4px"}},[e._v("13:00:00")]),e._v("\n 结束的课程,异常签退时间为\n "),r("span",{staticStyle:{color:"#f56c6c","margin-right":"4px"}},[e._v(e._s(e.reduceFormMinuteMS("13:00:00",e.form["151"])))]),e._v("之前。\n ")]):e._e(),e._v(" "),r("el-divider"),e._v(" "),r("p",{staticClass:"subtitle"},[e._v("未签退:")]),e._v(" "),r("el-row",[r("el-form-item",{attrs:{prop:"157",rules:[{required:!1,pattern:/(^[1-9]([0-9]+)?(\.[0-9]{1,2})?$)|(^(0){1}$)|(^[0-9]\.[0-9]([0-9])?$)/,message:"请输入正确的金额"}]}},[e._v("\n 课程未签退扣减课酬\n "),r("el-input",{staticClass:"chiose",attrs:{placeholder:"请输入金额"},model:{value:e.form["157"],callback:function(t){e.$set(e.form,"157",t)},expression:"form['157']"}},[r("template",{slot:"append"},[r("el-select",{staticClass:"append",model:{value:e.form["158"],callback:function(t){e.$set(e.form,"158","string"===typeof t?t.trim():t)},expression:"form['158']"}},[r("el-option",{attrs:{label:"元",value:"1"}}),e._v(" "),r("el-option",{attrs:{label:"%",value:"2"}})],1)],1)],2),e._v("。\n ")],1)],1),e._v(" "),r("el-divider"),e._v(" "),r("p",{staticClass:"subtitle"},[e._v("签退提醒:")]),e._v(" "),r("el-row",[r("el-form-item",{attrs:{prop:"14",rules:[{required:!1,pattern:/^[1-9][0-9]*$/,message:"请输入正确的时间"}]}},[e._v("\n 课程结束\n "),r("el-input",{attrs:{placeholder:"请输入时间"},model:{value:e.form["14"],callback:function(t){e.$set(e.form,"14",t)},expression:"form['14']"}},[r("template",{slot:"append"},[e._v("分钟")])],2),e._v("\n 后,对未签退老师发送短信提醒。\n ")],1)],1),e._v(" "),r("el-alert",{staticStyle:{margin:"40px 0"},attrs:{title:"乐团线下连堂课",closable:!1,type:"info"}}),e._v(" "),r("p",{staticClass:"subtitle"},[e._v("\n 乐团线下连堂课:\n "),r("el-tooltip",{attrs:{placement:"top","popper-class":"mTooltip"}},[r("div",{attrs:{slot:"content"},slot:"content"},[r("p",{staticStyle:{color:"#fff"}},[e._v("\n 1.同一天同一个老师,同一个教学点,上一节课的结束时间与下一节课的开始时间在N分钟内视为连堂课,老师第一节有签到记录,第二节课只要在考勤范围内,课程结束之前签到就是正常签到,签退按照正常考勤规则签退。\n ")]),e._v(" "),r("p",{staticStyle:{color:"#fff"}},[e._v("\n 2.同一天同一个老师不同教学点,有两节以上的课程,第一节课有签到记录,后面的课程只要在考勤范围内,课程结束之前签到都是正常签到,退按照正常考勤规则签退。\n ")])]),e._v(" "),r("i",{staticClass:"el-icon-question micon el-tooltip",staticStyle:{"font-size":"18px",color:"#f56c6c"}})])],1),e._v(" "),r("el-row",[r("el-form-item",{attrs:{prop:"178",rules:[{required:!1,pattern:/^[1-9][0-9]*$/,message:"请输入正确的时间"}]}},[e._v("\n 乐团线下课程间隔\n "),r("el-input",{attrs:{placeholder:"请输入时间"},model:{value:e.form["178"],callback:function(t){e.$set(e.form,"178",t)},expression:"form['178']"}},[r("template",{slot:"append"},[e._v("分钟")])],2),e._v("\n 以内视为连堂课。\n ")],1)],1),e._v(" "),r("el-alert",{staticStyle:{margin:"40px 0"},attrs:{title:"VIP课点名规则",closable:!1,type:"info"}}),e._v(" "),r("p",{staticClass:"subtitle"},[e._v("点名时间范围:")]),e._v(" "),r("el-row",[r("el-form-item",{attrs:{prop:"39",rules:[{required:!0,message:"请输入时间",trigger:"blur"},{pattern:/^[1-9][0-9]*$/,message:"请输入正确的时间"}]}},[r("span",{staticStyle:{color:"#f56c6c","margin-right":"4px"}},[e._v("*")]),e._v("\n VIP线下课可点名时间范围为课程时间前后\n "),r("el-input",{attrs:{placeholder:"请输入时间"},model:{value:e.form["39"],callback:function(t){e.$set(e.form,"39",t)},expression:"form['39']"}},[r("template",{slot:"append"},[e._v("分钟")])],2),e._v("。\n ")],1)],1),e._v(" "),r("el-divider"),e._v(" "),r("p",{staticClass:"subtitle"},[e._v("点名GPS定位:")]),e._v(" "),r("el-row",[r("el-form-item",{attrs:{prop:"212",rules:[{required:!0,message:"请输入时间",trigger:"blur"},{pattern:/^[1-9][0-9]*$/,message:"请输入金额"}]}},[r("span",{staticStyle:{color:"#f56c6c","margin-right":"4px"}},[e._v("*")]),e._v("\n VIP线下课点名地点未在教学点范围内,扣减课酬\n "),r("el-input",{staticClass:"chiose",attrs:{placeholder:"请输入金额"},model:{value:e.form["212"],callback:function(t){e.$set(e.form,"212",t)},expression:"form['212']"}},[r("template",{slot:"append"},[r("el-select",{staticClass:"append",model:{value:e.form["213"],callback:function(t){e.$set(e.form,"213","string"===typeof t?t.trim():t)},expression:"form['213']"}},[r("el-option",{attrs:{label:"元",value:"1"}}),e._v(" "),r("el-option",{attrs:{label:"%",value:"2"}})],1)],1)],2),e._v("。\n ")],1)],1),e._v(" "),r("el-row",[r("el-form-item",{attrs:{prop:"214",rules:[{required:!0,message:"请输入金额",trigger:"blur"},{pattern:/^[1-9][0-9]*$/,message:"请输入正确的金额"}]}},[r("span",{staticStyle:{color:"#f56c6c","margin-right":"4px"}},[e._v("*")]),e._v("\n VIP线下课未点名,扣减课酬\n "),r("el-input",{staticClass:"chiose",attrs:{placeholder:"请输入金额"},model:{value:e.form["214"],callback:function(t){e.$set(e.form,"214",t)},expression:"form['214']"}},[r("template",{slot:"append"},[r("el-select",{staticClass:"append",model:{value:e.form["215"],callback:function(t){e.$set(e.form,"215","string"===typeof t?t.trim():t)},expression:"form['215']"}},[r("el-option",{attrs:{label:"元",value:"1"}}),e._v(" "),r("el-option",{attrs:{label:"%",value:"2"}})],1)],1)],2),e._v("。\n ")],1)],1),e._v(" "),r("el-alert",{staticStyle:{margin:"40px 0"},attrs:{title:"试用期课酬",closable:!1,type:"info"}}),e._v(" "),r("p",{staticClass:"subtitle"},[e._v("试用期课酬规则:")]),e._v(" "),r("el-row",[r("el-form-item",{attrs:{prop:"180",rules:[{pattern:/^([1-9]\d?|100)$/,message:"请输入正确的百分比"}]}},[e._v("\n 试用期内的课程按预计课酬\n "),r("el-input",{attrs:{placeholder:"请输入百分比"},model:{value:e.form["180"],callback:function(t){e.$set(e.form,"180",t)},expression:"form['180']"}},[r("template",{slot:"append"},[e._v("%")])],2),e._v("结算。\n ")],1)],1),e._v(" "),r("el-alert",{staticStyle:{margin:"40px 0"},attrs:{title:"考勤申诉规则",closable:!1,type:"info"}}),e._v(" "),r("p",{staticClass:"subtitle"},[e._v("考勤申诉")]),e._v(" "),r("p",[e._v("考勤申诉:课程结束后,如果考勤异常,老师可以在APP端进行考勤申诉,但已结算的课程无法再进行申诉,系统常规会在次月6号进行结算。")]),e._v(" "),r("el-row",[r("el-form-item",{attrs:{prop:"184",rules:[{required:!0,message:"请输入时间",trigger:"blur"},{required:!1,pattern:/^[1-9][0-9]*$/,message:"请输入正确的时间"}]}},[r("span",{staticStyle:{color:"#f56c6c","margin-right":"4px"}},[e._v("*")]),e._v("\n 老师在课程结束后\n "),r("el-input",{attrs:{placeholder:"请输入时间"},model:{value:e.form["184"],callback:function(t){e.$set(e.form,"184",t)},expression:"form['184']"}},[r("template",{slot:"append"},[e._v("天")])],2),e._v("内通过APP提交考勤申诉。")],1)],1),e._v(" "),r("el-row",[r("el-form-item",{attrs:{prop:"185",rules:[{required:!0,message:"请输入时间",trigger:"blur"},{required:!1,pattern:/^[1-9][0-9]*$/,message:"请输入正确的时间"}]}},[r("span",{staticStyle:{color:"#f56c6c","margin-right":"4px"}},[e._v("*")]),e._v("\n 管理员可以在次月\n "),r("el-input",{attrs:{placeholder:"请输入时间"},model:{value:e.form["185"],callback:function(t){e.$set(e.form,"185",t)},expression:"form['185']"}},[r("template",{slot:"append"},[e._v("号")])],2),e._v("以前通过WEB管理后台提交考勤申诉。")],1)],1)],1),e._v(" "),e.isPlatform?r("el-button",{directives:[{name:"permission",rawName:"v-permission",value:"sysConfig/batchUpdate_offlineTeamRules",expression:"'sysConfig/batchUpdate_offlineTeamRules'"}],staticClass:"saveBtn",attrs:{type:"primary"},on:{click:e.save}},[e._v("保存")]):r("el-button",{directives:[{name:"permission",rawName:"v-permission",value:"sysTenantConfig/batchUpSet_offlineTeamRules",expression:"'sysTenantConfig/batchUpSet_offlineTeamRules'"}],staticClass:"saveBtn",attrs:{type:"primary"},on:{click:e.save}},[e._v("保存")])],1)])},n=[],s=(r("c5f6"),r("ac6a"),r("96cf"),r("1da1")),o=r("a7ba"),i=r("a6e9"),l=r("c466"),c={props:["isPlatform"],data:function(){return{form:{},questionList:[],rulesVisiable:!1}},mounted:function(){var e=Object(s["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:this.getRules();case 1:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),methods:{getRules:function(){this.isPlatform?this.getPlatformRules():this.getInstitutionRules()},getPlatformRules:function(){var e=Object(s["a"])(regeneratorRuntime.mark((function e(){var t,r=this;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,Object(i["a"])({group:"OFFLINE"});case 3:t=e.sent,t.data.forEach((function(e){r.$set(r.form,e.id,e.paranValue)})),e.next=10;break;case 7:e.prev=7,e.t0=e["catch"](0),console.log(e.t0);case 10:case"end":return e.stop()}}),e,null,[[0,7]])})));function t(){return e.apply(this,arguments)}return t}(),getInstitutionRules:function(){var e=Object(s["a"])(regeneratorRuntime.mark((function e(){var t,r=this;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,Object(o["a"])({group:"OFFLINE"});case 3:t=e.sent,t.data.forEach((function(e){r.$set(r.form,e.id,e.paranValue)})),e.next=10;break;case 7:e.prev=7,e.t0=e["catch"](0),console.log(e.t0);case 10:case"end":return e.stop()}}),e,null,[[0,7]])})));function t(){return e.apply(this,arguments)}return t}(),savePlatform:function(){var e=this;this.$refs.form.validate(function(){var t=Object(s["a"])(regeneratorRuntime.mark((function t(r){var a,n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(!r){t.next=14;break}for(n in a=[],e.form)a.push({id:n,paranValue:e.form[n]});return t.prev=3,t.next=6,Object(i["b"])(a);case 6:t.sent,e.$message.success("保存成功"),e.getRules(),t.next=14;break;case 11:t.prev=11,t.t0=t["catch"](3),console.log(t.t0);case 14:case"end":return t.stop()}}),t,null,[[3,11]])})));return function(e){return t.apply(this,arguments)}}())},saveInstitution:function(){var e=this;this.$refs.form.validate(function(){var t=Object(s["a"])(regeneratorRuntime.mark((function t(r){var a,n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(!r){t.next=14;break}for(n in a=[],e.form)a.push({id:n,paranValue:e.form[n]});return t.prev=3,t.next=6,Object(o["c"])(a);case 6:t.sent,e.$message.success("保存成功"),e.getRules(),t.next=14;break;case 11:t.prev=11,t.t0=t["catch"](3),console.log(t.t0);case 14:case"end":return t.stop()}}),t,null,[[3,11]])})));return function(e){return t.apply(this,arguments)}}())},save:function(){this.isPlatform?this.savePlatform():this.saveInstitution()},addFormMinute:function(e,t){return Object(l["a"])(e,t)},addFormMinuteAddS:function(e,t){return Object(l["b"])(e,t)},reduceFormMinute:function(e,t){return Object(l["k"])(e,t)},reduceFormMinuteAddS:function(e,t){return Object(l["l"])(e,t)},addFormMinuteMS:function(e,t){return Object(l["c"])(e,t)},reduceFormMinuteMS:function(e,t){return Object(l["m"])(e,t)},validateMin:function(e,t,r){var a=Number(t),n=Number(this.form[80]);return!n||a<n?r():r(new Error("最早可提前".concat(this.form[80]-1,"分钟进入教室")))}}},u=c,p=(r("a30e"),r("2877")),m=Object(p["a"])(u,a,n,!1,null,"644e583e",null);t["a"]=m.exports},"3cf6":function(e,t,r){"use strict";var a=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"m-container"},[r("div",[r("el-form",{ref:"form",attrs:{inline:!0,model:e.form}},[r("el-alert",{staticStyle:{margin:"20px 0 40px"},attrs:{title:"课后服务异常提醒设置",closable:!1,type:"info"}}),e._v(" "),r("el-row",[e._v("\n 课程开始时间早于\n "),r("el-time-picker",{attrs:{"picker-options":{selectableRange:"00:00:00 - 23:59:59"},format:"HH:mm","value-format":"HH:mm",placeholder:"请选择时间"},model:{value:e.form["195"],callback:function(t){e.$set(e.form,"195",t)},expression:"form['195']"}}),e._v("\n 结束时间晚于\n "),r("el-time-picker",{attrs:{"picker-options":{selectableRange:"00:00:00 - 23:59:59"},format:"HH:mm","value-format":"HH:mm",placeholder:"请选择时间"},model:{value:e.form["196"],callback:function(t){e.$set(e.form,"196",t)},expression:"form['196']"}}),e._v("\n 点时,提醒异常。\n ")],1),e._v(" "),r("el-alert",{staticStyle:{margin:"40px 0"},attrs:{title:"学员异常提醒",closable:!1,type:"info"}}),e._v(" "),r("el-row",[r("el-form-item",{attrs:{prop:"194",rules:[{required:!1,pattern:/^[1-9][0-9]*$/,message:"请输入正确的次数"}]}},[e._v("\n 学员单月请假次数达到\n "),r("el-input",{attrs:{placeholder:"请输入次数"},model:{value:e.form["194"],callback:function(t){e.$set(e.form,"194",t)},expression:"form['194']"}},[r("template",{slot:"append"},[e._v(" 次 ")])],2),e._v("时提醒异常。\n ")],1)],1)],1)],1),e._v(" "),e.isPlatform?r("el-button",{directives:[{name:"permission",rawName:"v-permission",value:"sysConfig/batchUpdate_serverMinitor",expression:"'sysConfig/batchUpdate_serverMinitor'"}],staticClass:"saveBtn",attrs:{type:"primary"},on:{click:e.save}},[e._v("保存")]):r("el-button",{directives:[{name:"permission",rawName:"v-permission",value:"sysTenantConfig/batchUpSet_serverMinitor",expression:"'sysTenantConfig/batchUpSet_serverMinitor'"}],staticClass:"saveBtn",attrs:{type:"primary"},on:{click:e.save}},[e._v("保存")])],1)},n=[],s=(r("ac6a"),r("96cf"),r("1da1")),o=r("a7ba"),i=r("a6e9"),l={props:["isPlatform"],data:function(){return{form:{195:new Date(2016,9,10,0,0),196:new Date(2016,9,10,0,0)},questionList:[],rulesVisiable:!1}},mounted:function(){var e=Object(s["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:this.getRules();case 1:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),methods:{getRules:function(){this.isPlatform?this.getPlatformRules():this.getInstitutionRules()},getPlatformRules:function(){var e=Object(s["a"])(regeneratorRuntime.mark((function e(){var t,r=this;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,Object(i["a"])({group:"SERVER_ERROR"});case 3:t=e.sent,t.data.forEach((function(e){r.$set(r.form,e.id,e.paranValue)})),e.next=10;break;case 7:e.prev=7,e.t0=e["catch"](0),console.log(e.t0);case 10:case"end":return e.stop()}}),e,null,[[0,7]])})));function t(){return e.apply(this,arguments)}return t}(),getInstitutionRules:function(){var e=Object(s["a"])(regeneratorRuntime.mark((function e(){var t,r=this;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,Object(o["a"])({group:"SERVER_ERROR"});case 3:t=e.sent,t.data.forEach((function(e){r.$set(r.form,e.id,e.paranValue)})),e.next=10;break;case 7:e.prev=7,e.t0=e["catch"](0),console.log(e.t0);case 10:case"end":return e.stop()}}),e,null,[[0,7]])})));function t(){return e.apply(this,arguments)}return t}(),savePlatform:function(){var e=this;this.$refs.form.validate(function(){var t=Object(s["a"])(regeneratorRuntime.mark((function t(r){var a,n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(!r){t.next=14;break}for(n in a=[],e.form)a.push({id:n,paranValue:e.form[n]});return t.prev=3,t.next=6,Object(i["b"])(a);case 6:t.sent,e.$message.success("保存成功"),e.getRules(),t.next=14;break;case 11:t.prev=11,t.t0=t["catch"](3),console.log(t.t0);case 14:case"end":return t.stop()}}),t,null,[[3,11]])})));return function(e){return t.apply(this,arguments)}}())},saveInstitution:function(){var e=this;this.$refs.form.validate(function(){var t=Object(s["a"])(regeneratorRuntime.mark((function t(r){var a,n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(!r){t.next=14;break}for(n in a=[],e.form)a.push({id:n,paranValue:e.form[n]});return t.prev=3,t.next=6,Object(o["c"])(a);case 6:t.sent,e.$message.success("保存成功"),e.getRules(),t.next=14;break;case 11:t.prev=11,t.t0=t["catch"](3),console.log(t.t0);case 14:case"end":return t.stop()}}),t,null,[[3,11]])})));return function(e){return t.apply(this,arguments)}}())},save:function(){this.isPlatform?this.savePlatform():this.saveInstitution()}}},c=l,u=(r("d678"),r("2877")),p=Object(u["a"])(c,a,n,!1,null,"2c98f23a",null);t["a"]=p.exports},"508f":function(e,t,r){"use strict";r("ff6a")},6336:function(e,t,r){"use strict";var a=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"m-container"},[r("div",[r("el-form",{ref:"form",attrs:{inline:!0,model:e.form}},[r("el-alert",{staticStyle:{margin:"20px 0 40px"},attrs:{title:"预报名规则",closable:!1,type:"info"}}),e._v(" "),r("el-row",[r("el-form-item",{attrs:{prop:"132",rules:[{required:!1,pattern:/^\d+$/,message:"请输入正确的人数"}]}},[e._v("\n 乐团预报名人数达到\n "),r("el-input",{attrs:{placeholder:"请输入人数"},model:{value:e.form["132"],callback:function(t){e.$set(e.form,"132",t)},expression:"form['132']"}},[r("template",{slot:"append"},[e._v("人")])],2),e._v("\n 时,可将乐团状态变更为创建缴费中。\n ")],1)],1),e._v(" "),r("el-alert",{staticStyle:{margin:"40px 0"},attrs:{title:"报名缴费规则",closable:!1,type:"info"}}),e._v(" "),r("el-row",[r("el-form-item",{attrs:{prop:"134",rules:[{required:!1,pattern:/^\d+$/,message:"请输入正确的人数"}]}},[e._v("\n 报名缴费阶段乐团若未合并学员,缴费人数达到\n "),r("el-input",{attrs:{placeholder:"请输入人数"},model:{value:e.form["134"],callback:function(t){e.$set(e.form,"134",t)},expression:"form['134']"}},[r("template",{slot:"append"},[e._v("人")])],2),e._v("\n 时,可确认开团。\n ")],1)],1),e._v(" "),r("el-row",[r("el-form-item",{attrs:{prop:"135",rules:[{required:!1,pattern:/^\d+$/,message:"请输入正确的人数"}]}},[e._v("\n 报名缴费阶段乐团若合并学员,缴费人数达到\n "),r("el-input",{attrs:{placeholder:"请输入人数"},model:{value:e.form["135"],callback:function(t){e.$set(e.form,"135",t)},expression:"form['135']"}},[r("template",{slot:"append"},[e._v("人")])],2),e._v("\n 时,可确认开团。\n ")],1)],1),e._v(" "),e.isPlatform?r("el-alert",{staticStyle:{margin:"40px 0"},attrs:{title:"乐团筹备规则",closable:!1,type:"info"}}):e._e(),e._v(" "),e.isPlatform?r("el-row",[r("el-form-item",{attrs:{prop:"76",rules:[{required:!1,pattern:/^[1-9][0-9]*$/,message:"请输入正确的天数"}]}},[e._v("\n 订单支付\n "),r("el-input",{attrs:{placeholder:"请输入天数"},model:{value:e.form["76"],callback:function(t){e.$set(e.form,"76",t)},expression:"form['76']"}},[r("template",{slot:"append"},[e._v("天")])],2),e._v("\n 后自动更新为已收货,不设置时立即更新。\n ")],1)],1):e._e(),e._v(" "),r("el-alert",{staticStyle:{margin:"40px 0"},attrs:{title:"会员乐团规则",closable:!1,type:"info"}}),e._v(" "),r("el-row",[r("el-form-item",{attrs:{prop:"136",rules:[{required:!0,message:"请输入人数"},{required:!1,pattern:/^[1-9][0-9]*$/,message:"请输入正确的人数"}]}},[r("span",{staticStyle:{color:"#f56c6c","margin-right":"4px"}},[e._v("*")]),e._v("\n 乐团各声部不购买团练宝或乐器就可以直接入团的人数\n "),r("el-input",{attrs:{placeholder:"请输入人数"},model:{value:e.form[136],callback:function(t){e.$set(e.form,136,t)},expression:"form[136]"}},[r("template",{slot:"append"},[e._v("人")])],2),e._v("。\n ")],1)],1),e._v(" "),r("el-row",[r("el-form-item",{attrs:{prop:"133",rules:[{required:!0,message:"请输入分钟数",trigger:"change"},{pattern:/^[1-9][0-9]*$/,message:"请输入正确的分钟数"}]}},[r("span",{staticStyle:{color:"#f56c6c","margin-right":"4px"}},[e._v("*")]),e._v("\n 会员团每学期赠送\n "),r("el-input",{attrs:{placeholder:"请输入分钟数"},model:{value:e.form[133],callback:function(t){e.$set(e.form,133,t)},expression:"form[133]"}},[r("template",{slot:"append"},[e._v("分钟")])],2),e._v("\n 课程。\n ")],1)],1),e._v(" "),r("el-row",[r("el-form-item",{attrs:{prop:"99",rules:[{required:!1,pattern:/^[1-9][0-9]*$/,message:"请输入正确的天数"}]}},[e._v("\n 每学期结束前\n "),r("el-input",{model:{value:e.form[99],callback:function(t){e.$set(e.form,99,t)},expression:"form[99]"}},[r("template",{slot:"append"},[e._v("天")])],2),e._v("\n 提醒教务老师安排下学期课程。\n ")],1)],1)],1),e._v(" "),e.isPlatform?r("el-button",{directives:[{name:"permission",rawName:"v-permission",value:"sysConfig/batchUpdate_teamRules",expression:"'sysConfig/batchUpdate_teamRules'"}],staticClass:"saveBtn",attrs:{type:"primary"},on:{click:e.save}},[e._v("保存")]):r("el-button",{directives:[{name:"permission",rawName:"v-permission",value:"sysTenantConfig/batchUpSet_teamRules",expression:"'sysTenantConfig/batchUpSet_teamRules'"}],staticClass:"saveBtn",attrs:{type:"primary"},on:{click:e.save}},[e._v("保存")])],1)])},n=[],s=(r("ac6a"),r("96cf"),r("1da1")),o=r("a7ba"),i=r("a6e9"),l={props:["isPlatform"],data:function(){return{form:{},questionList:[],rulesVisiable:!1}},mounted:function(){var e=Object(s["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:this.getRules();case 1:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),methods:{getRules:function(){this.isPlatform?this.getPlatformRules():this.getInstitutionRules()},getPlatformRules:function(){var e=Object(s["a"])(regeneratorRuntime.mark((function e(){var t,r=this;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,Object(i["a"])({group:"MUSIC"});case 3:t=e.sent,t.data.forEach((function(e){r.$set(r.form,e.id,e.paranValue)})),e.next=10;break;case 7:e.prev=7,e.t0=e["catch"](0),console.log(e.t0);case 10:case"end":return e.stop()}}),e,null,[[0,7]])})));function t(){return e.apply(this,arguments)}return t}(),getInstitutionRules:function(){var e=Object(s["a"])(regeneratorRuntime.mark((function e(){var t,r=this;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,Object(o["a"])({group:"MUSIC"});case 3:t=e.sent,t.data.forEach((function(e){r.$set(r.form,e.id,e.paranValue)})),e.next=10;break;case 7:e.prev=7,e.t0=e["catch"](0),console.log(e.t0);case 10:case"end":return e.stop()}}),e,null,[[0,7]])})));function t(){return e.apply(this,arguments)}return t}(),savePlatform:function(){var e=this;this.$refs.form.validate(function(){var t=Object(s["a"])(regeneratorRuntime.mark((function t(r){var a,n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(!r){t.next=14;break}for(n in a=[],e.form)a.push({id:n,paranValue:e.form[n]});return t.prev=3,t.next=6,Object(i["b"])(a);case 6:t.sent,e.$message.success("保存成功"),e.getRules(),t.next=14;break;case 11:t.prev=11,t.t0=t["catch"](3),console.log(t.t0);case 14:case"end":return t.stop()}}),t,null,[[3,11]])})));return function(e){return t.apply(this,arguments)}}())},saveInstitution:function(){var e=this;this.$refs.form.validate(function(){var t=Object(s["a"])(regeneratorRuntime.mark((function t(r){var a,n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(!r){t.next=14;break}for(n in a=[],e.form)a.push({id:n,paranValue:e.form[n]});return t.prev=3,t.next=6,Object(o["c"])(a);case 6:t.sent,e.$message.success("保存成功"),e.getRules(),t.next=14;break;case 11:t.prev=11,t.t0=t["catch"](3),console.log(t.t0);case 14:case"end":return t.stop()}}),t,null,[[3,11]])})));return function(e){return t.apply(this,arguments)}}())},save:function(){this.isPlatform?this.savePlatform():this.saveInstitution()}}},c=l,u=(r("508f"),r("2877")),p=Object(u["a"])(c,a,n,!1,null,"82d9b38e",null);t["a"]=p.exports},9268:function(e,t,r){},a001:function(e,t,r){"use strict";r("24bb")},a30e:function(e,t,r){"use strict";r("eded")},a6e9:function(e,t,r){"use strict";r.d(t,"a",(function(){return s})),r.d(t,"b",(function(){return o}));var a=r("b775"),n=(r("4328"),"/api-web");function s(e){return Object(a["a"])({url:n+"/sysConfig/list",method:"get",params:e})}function o(e){return Object(a["a"])({url:n+"/sysConfig/batchUpdate",method:"post",data:e,headers:{"Content-Type":"application/json"}})}},a7ba:function(e,t,r){"use strict";r.d(t,"a",(function(){return n})),r.d(t,"b",(function(){return s})),r.d(t,"c",(function(){return o}));var a=r("829b"),n=function(e){return Object(a["a"])({url:"/api-web/sysTenantConfig/queryAll",params:e,method:"get"})},s=function(e){return Object(a["a"])({url:"/api-web/questionnaireTopic/queryPage",params:e,method:"get"})},o=function(e){return Object(a["a"])({url:"/api-web/sysTenantConfig/batchUpSet",data:e,method:"post",requestType:"json"})}},b032:function(e,t,r){"use strict";var a=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"m-container"},[r("div",[r("el-form",{ref:"form",attrs:{inline:!0,model:e.form}},[r("el-alert",{staticStyle:{margin:"20px 0 40px"},attrs:{title:"学员请假规则设置",closable:!1,type:"info"}}),e._v(" "),r("el-row",[r("el-form-item",{attrs:{prop:"7",rules:[{required:!1,pattern:/^[1-9][0-9]*$/,message:"请输入正确的时间"}]}},[e._v("\n 课程开始前\n "),r("el-input",{attrs:{placeholder:"请输入时间"},model:{value:e.form["7"],callback:function(t){e.$set(e.form,"7",t)},expression:"form['7']"}},[r("template",{slot:"append"},[e._v("\n 小时\n ")])],2),e._v("\n 前可提交请假申请。\n ")],1)],1),e._v(" "),r("el-alert",{staticStyle:{margin:"40px 0"},attrs:{title:"课程调整规则",closable:!1,type:"info"}}),e._v(" "),r("el-row",[r("el-form-item",{attrs:{prop:"41",rules:[{required:!1,pattern:/^[1-9][0-9]*$/,message:"请输入正确的时间"}]}},[e._v("\n 老师可在开课\n "),r("el-input",{attrs:{placeholder:"请输入时间"},model:{value:e.form["41"],callback:function(t){e.$set(e.form,"41",t)},expression:"form['41']"}},[r("template",{slot:"append"},[e._v("小时")])],2),e._v("\n 前调整VIP、网管课程。\n ")],1)],1),e._v(" "),r("el-alert",{staticStyle:{margin:"40px 0"},attrs:{title:"学员练习参数",closable:!1,type:"info"}}),e._v(" "),r("el-row",[r("el-form-item",{attrs:{prop:"106",rules:[{required:!1,pattern:/^[1-9][0-9]*$/,message:"请输入正确的分钟数"}]}},[e._v("\n 学员每周使用云教练时长小于\n "),r("el-input",{attrs:{placeholder:"请输入分钟数"},model:{value:e.form["106"],callback:function(t){e.$set(e.form,"106",t)},expression:"form['106']"}},[r("template",{slot:"append"},[e._v("分钟")])],2),e._v("时需要回访。\n ")],1)],1),e._v(" "),r("el-row",[r("el-form-item",{attrs:{prop:"107",rules:[{required:!1,pattern:/^[1-9][0-9]*$/,message:"请输入正确的次数"}]}},[e._v("\n 学员每周使用云教练练习次数小于\n "),r("el-input",{attrs:{placeholder:"请输入次数"},model:{value:e.form["107"],callback:function(t){e.$set(e.form,"107",t)},expression:"form['107']"}},[r("template",{slot:"append"},[e._v("次")])],2),e._v("时需要回访。\n ")],1)],1)],1)],1),e._v(" "),e.isPlatform?r("el-button",{directives:[{name:"permission",rawName:"v-permission",value:"sysConfig/batchUpdate_studentAttRules",expression:"'sysConfig/batchUpdate_studentAttRules'"}],staticClass:"saveBtn",attrs:{type:"primary"},on:{click:e.save}},[e._v("保存")]):r("el-button",{directives:[{name:"permission",rawName:"v-permission",value:"sysTenantConfig/batchUpSet_studentAttRules",expression:"'sysTenantConfig/batchUpSet_studentAttRules'"}],staticClass:"saveBtn",attrs:{type:"primary"},on:{click:e.save}},[e._v("保存")])],1)},n=[],s=(r("ac6a"),r("96cf"),r("1da1")),o=r("a7ba"),i=r("a6e9"),l={props:["isPlatform"],data:function(){return{form:{},questionList:[],rulesVisiable:!1}},mounted:function(){var e=Object(s["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:this.getRules();case 1:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),methods:{getRules:function(){this.isPlatform?this.getPlatformRules():this.getInstitutionRules()},getPlatformRules:function(){var e=Object(s["a"])(regeneratorRuntime.mark((function e(){var t,r=this;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,Object(i["a"])({group:"COURSE"});case 3:t=e.sent,t.data.forEach((function(e){r.$set(r.form,e.id,e.paranValue)})),e.next=10;break;case 7:e.prev=7,e.t0=e["catch"](0),console.log(e.t0);case 10:case"end":return e.stop()}}),e,null,[[0,7]])})));function t(){return e.apply(this,arguments)}return t}(),getInstitutionRules:function(){var e=Object(s["a"])(regeneratorRuntime.mark((function e(){var t,r=this;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,Object(o["a"])({group:"COURSE"});case 3:t=e.sent,t.data.forEach((function(e){r.$set(r.form,e.id,e.paranValue)})),e.next=10;break;case 7:e.prev=7,e.t0=e["catch"](0),console.log(e.t0);case 10:case"end":return e.stop()}}),e,null,[[0,7]])})));function t(){return e.apply(this,arguments)}return t}(),savePlatform:function(){var e=this;this.$refs.form.validate(function(){var t=Object(s["a"])(regeneratorRuntime.mark((function t(r){var a,n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(!r){t.next=14;break}for(n in a=[],e.form)a.push({id:n,paranValue:e.form[n]});return t.prev=3,t.next=6,Object(i["b"])(a);case 6:t.sent,e.$message.success("保存成功"),e.getRules(),t.next=14;break;case 11:t.prev=11,t.t0=t["catch"](3),console.log(t.t0);case 14:case"end":return t.stop()}}),t,null,[[3,11]])})));return function(e){return t.apply(this,arguments)}}())},saveInstitution:function(){var e=this;this.$refs.form.validate(function(){var t=Object(s["a"])(regeneratorRuntime.mark((function t(r){var a,n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(!r){t.next=14;break}for(n in a=[],e.form)a.push({id:n,paranValue:e.form[n]});return t.prev=3,t.next=6,Object(o["c"])(a);case 6:t.sent,e.$message.success("保存成功"),e.getRules(),t.next=14;break;case 11:t.prev=11,t.t0=t["catch"](3),console.log(t.t0);case 14:case"end":return t.stop()}}),t,null,[[3,11]])})));return function(e){return t.apply(this,arguments)}}())},save:function(){this.isPlatform?this.savePlatform():this.saveInstitution()}}},c=l,u=(r("e807"),r("2877")),p=Object(u["a"])(c,a,n,!1,null,"48d67ace",null);t["a"]=p.exports},b1fa:function(e,t,r){"use strict";r("9268")},b4fa:function(e,t,r){"use strict";var a=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"m-container"},[r("div",[r("el-form",{ref:"form",attrs:{inline:!0,model:e.form}},[r("el-alert",{staticStyle:{margin:"20px 0 40px"},attrs:{title:"线上课考勤规则",closable:!1,type:"info"}}),e._v(" "),r("p",{staticClass:"subtitle"},[e._v("迟到:")]),e._v(" "),r("el-row",[r("el-form-item",{attrs:{prop:"159",rules:[{required:!0,message:"请输入时间",trigger:"blur"},{required:!1,pattern:/^[1-9][0-9]*$/,message:"请输入正确的时间"},{validator:this.validateMin,trigger:"blur"}]}},[r("span",{staticStyle:{color:"#f56c6c","margin-right":"4px"}},[e._v("*")]),e._v("\n 课程开始前\n "),r("el-input",{attrs:{placeholder:"请输入时间"},model:{value:e.form["159"],callback:function(t){e.$set(e.form,"159",t)},expression:"form['159']"}},[r("template",{slot:"append"},[e._v("分钟")])],2)],1),e._v(" "),r("el-form-item",{attrs:{prop:"162",rules:[{required:!1,message:"请输入时间",trigger:"blur"},{required:!1,pattern:/^[1-9][0-9]*$/,message:"请输入正确的时间"}]}},[e._v("\n 至课程开始后\n "),r("el-input",{attrs:{placeholder:"请输入时间"},model:{value:e.form["162"],callback:function(t){e.$set(e.form,"162",t)},expression:"form['162']"}},[r("template",{slot:"append"},[e._v("分钟")])],2)],1),e._v(" "),r("el-form-item",{attrs:{prop:"163",rules:[{required:!1,pattern:/(^[1-9]([0-9]+)?(\.[0-9]{1,2})?$)|(^(0){1}$)|(^[0-9]\.[0-9]([0-9])?$)/,message:"请输入正确的金额"}]}},[e._v("\n 以前进入云教室,扣减课酬\n "),r("el-input",{staticClass:"chiose",attrs:{placeholder:"请输入金额"},model:{value:e.form["163"],callback:function(t){e.$set(e.form,"163",t)},expression:"form['163']"}},[r("template",{slot:"append"},[r("el-select",{staticClass:"append",model:{value:e.form["164"],callback:function(t){e.$set(e.form,"164","string"===typeof t?t.trim():t)},expression:"form['164']"}},[r("el-option",{attrs:{label:"元",value:"1"}}),e._v(" "),r("el-option",{attrs:{label:"%",value:"2"}})],1)],1)],2),e._v("。\n ")],1)],1),e._v(" "),e.form["159"]?r("p",{staticClass:"example"},[e._v("\n 例:\n "),r("span",{staticStyle:{color:"#f56c6c","margin-right":"4px"}},[e._v("12:00:00")]),e._v("\n 开始的课程,最早\n "),r("span",{staticStyle:{color:"#f56c6c","margin-right":"4px"}},[e._v(e._s(e.reduceFormMinute("12:00:00",e.forwardTime)))]),e._v("能进入云教室,\n "),r("span",{staticStyle:{color:"#f56c6c","margin-right":"4px"}},[e._v(e._s(e.reduceFormMinuteAddS("12:00:00",e.form["159"])))]),e._v("到\n "),r("span",{staticStyle:{color:"#f56c6c","margin-right":"4px"}},[e._v(e._s(e.addFormMinute("12:00:00",e.form["162"])))]),e._v("为迟到时间范围。\n ")]):e._e(),e._v(" "),r("el-divider"),e._v(" "),r("p",{staticClass:"subtitle"},[e._v("旷课:")]),e._v(" "),r("el-row",[r("el-form-item",{attrs:{prop:"162"}},[e._v("\n 课程开始\n "),r("el-input",{attrs:{placeholder:"请输入时间",disabled:""},model:{value:e.form["162"],callback:function(t){e.$set(e.form,"162",t)},expression:"form['162']"}},[r("template",{slot:"append"},[e._v("分钟")])],2)],1),e._v(" "),r("el-form-item",{attrs:{prop:"166",rules:[{required:!1,pattern:/^[1-9][0-9]*$/,message:"请输入正确的距离"}]}},[e._v("\n 后进入云教室,扣减课酬\n "),r("el-input",{staticClass:"chiose",attrs:{placeholder:"请输入距离"},model:{value:e.form["166"],callback:function(t){e.$set(e.form,"166",t)},expression:"form['166']"}},[r("template",{slot:"append"},[r("el-select",{staticClass:"append",model:{value:e.form["167"],callback:function(t){e.$set(e.form,"167","string"===typeof t?t.trim():t)},expression:"form['167']"}},[r("el-option",{attrs:{label:"元",value:"1"}}),e._v(" "),r("el-option",{attrs:{label:"%",value:"2"}})],1)],1)],2),e._v("。\n ")],1)],1),e._v(" "),e.form["162"]?r("p",{staticClass:"example"},[e._v("\n 例:\n "),r("span",{staticStyle:{color:"#f56c6c","margin-right":"4px"}},[e._v("12:00:00")]),e._v("\n 开始的课程\n "),r("span",{staticStyle:{color:"#f56c6c","margin-right":"4px"}},[e._v(e._s(e.addFormMinuteAddS("12:00:00",e.form["162"])))]),e._v("\n 以后进入云教室为旷课。\n ")]):e._e(),e._v(" "),r("el-divider"),e._v(" "),r("p",{staticClass:"subtitle"},[e._v("未签到:")]),e._v(" "),r("el-row",[r("el-form-item",{attrs:{prop:"168",rules:[{required:!1,pattern:/(^[1-9]([0-9]+)?(\.[0-9]{1,2})?$)|(^(0){1}$)|(^[0-9]\.[0-9]([0-9])?$)/,message:"请输入正确的金额"}]}},[e._v("\n 老师未签到扣减课酬\n "),r("el-input",{staticClass:"chiose",attrs:{placeholder:"请输入金额"},model:{value:e.form["168"],callback:function(t){e.$set(e.form,"168",t)},expression:"form['168']"}},[r("template",{slot:"append"},[r("el-select",{staticClass:"append",model:{value:e.form["169"],callback:function(t){e.$set(e.form,"169","string"===typeof t?t.trim():t)},expression:"form['169']"}},[r("el-option",{attrs:{label:"元",value:"1"}}),e._v(" "),r("el-option",{attrs:{label:"%",value:"2"}})],1)],1)],2),e._v("。\n ")],1)],1),e._v(" "),r("el-divider"),e._v(" "),r("p",{staticClass:"subtitle"},[e._v("异常签退:")]),e._v(" "),r("el-row",[r("el-form-item",{attrs:{prop:"173",rules:[{required:!1,message:"请输入时间",trigger:"blur"},{required:!1,pattern:/^[1-9][0-9]*$/,message:"请输入正确的时间"}]}},[e._v("\n 课程结束前\n "),r("el-input",{attrs:{placeholder:"请输入时间"},model:{value:e.form["173"],callback:function(t){e.$set(e.form,"173",t)},expression:"form['173']"}},[r("template",{slot:"append"},[e._v("分钟")])],2)],1),e._v(" "),r("el-form-item",{attrs:{prop:"171",rules:[{required:!1,pattern:/(^[1-9]([0-9]+)?(\.[0-9]{1,2})?$)|(^(0){1}$)|(^[0-9]\.[0-9]([0-9])?$)/,message:"请输入正确的金额"}]}},[e._v("\n 以后到课程结束前退出云教室,扣减课酬\n "),r("el-input",{staticClass:"chiose",attrs:{placeholder:"请输入金额"},model:{value:e.form["171"],callback:function(t){e.$set(e.form,"171",t)},expression:"form['171']"}},[r("template",{slot:"append"},[r("el-select",{staticClass:"append",model:{value:e.form["172"],callback:function(t){e.$set(e.form,"172","string"===typeof t?t.trim():t)},expression:"form['172']"}},[r("el-option",{attrs:{label:"元",value:"1"}}),e._v(" "),r("el-option",{attrs:{label:"%",value:"2"}})],1)],1)],2),e._v("。\n ")],1)],1),e._v(" "),e.form["173"]?r("p",{staticClass:"example"},[e._v("\n 例:\n "),r("span",{staticStyle:{color:"#f56c6c","margin-right":"4px"}},[e._v("13:00:00")]),e._v("\n 结束的课程\n "),r("span",{staticStyle:{color:"#f56c6c","margin-right":"4px"}},[e._v(e._s(e.reduceFormMinute("13:00:00",e.form["173"])))]),e._v("到\n "),r("span",{staticStyle:{color:"#f56c6c","margin-right":"4px"}},[e._v(e._s("12:59:59"))]),e._v("\n 为异常签退时间范围。\n ")]):e._e(),e._v(" "),r("el-divider"),e._v(" "),r("p",{staticClass:"subtitle"},[e._v("早退:")]),e._v(" "),r("el-row",[r("el-form-item",{attrs:{prop:"173"}},[e._v("\n 早于课程结束前\n "),r("el-input",{attrs:{disabled:"",placeholder:"请输入时间"},model:{value:e.form["173"],callback:function(t){e.$set(e.form,"173",t)},expression:"form['173']"}},[r("template",{slot:"append"},[e._v("分钟")])],2)],1),e._v(" "),r("el-form-item",{attrs:{prop:"174",rules:[{required:!1,pattern:/(^[1-9]([0-9]+)?(\.[0-9]{1,2})?$)|(^(0){1}$)|(^[0-9]\.[0-9]([0-9])?$)/,message:"请输入正确的金额"}]}},[e._v("\n 前退出云教室,扣减课酬\n "),r("el-input",{staticClass:"chiose",attrs:{placeholder:"请输入金额"},model:{value:e.form["174"],callback:function(t){e.$set(e.form,"174",t)},expression:"form['174']"}},[r("template",{slot:"append"},[r("el-select",{staticClass:"append",model:{value:e.form["175"],callback:function(t){e.$set(e.form,"175","string"===typeof t?t.trim():t)},expression:"form['175']"}},[r("el-option",{attrs:{label:"元",value:"1"}}),e._v(" "),r("el-option",{attrs:{label:"%",value:"2"}})],1)],1)],2),e._v("。\n ")],1)],1),e._v(" "),e.form["173"]?r("p",{staticClass:"example"},[e._v("\n 例:\n "),r("span",{staticStyle:{color:"#f56c6c","margin-right":"4px"}},[e._v("13:00:00")]),e._v("\n 结束的课程\n "),r("span",{staticStyle:{color:"#f56c6c","margin-right":"4px"}},[e._v(e._s(e.reduceFormMinuteMS("13:00:00",e.form["173"])))]),e._v("之前退出云教室为早退。\n ")]):e._e(),e._v(" "),r("el-divider"),e._v(" "),r("p",{staticClass:"subtitle"},[e._v("未签退:")]),e._v(" "),r("el-row",[r("el-form-item",{attrs:{prop:"176",rules:[{required:!1,pattern:/(^[1-9]([0-9]+)?(\.[0-9]{1,2})?$)|(^(0){1}$)|(^[0-9]\.[0-9]([0-9])?$)/,message:"请输入正确的金额"}]}},[e._v("\n 老师未签退扣减课酬\n "),r("el-input",{staticClass:"chiose",attrs:{placeholder:"请输入金额"},model:{value:e.form["176"],callback:function(t){e.$set(e.form,"176",t)},expression:"form['176']"}},[r("template",{slot:"append"},[r("el-select",{staticClass:"append",model:{value:e.form["177"],callback:function(t){e.$set(e.form,"177","string"===typeof t?t.trim():t)},expression:"form['177']"}},[r("el-option",{attrs:{label:"元",value:"1"}}),e._v(" "),r("el-option",{attrs:{label:"%",value:"2"}})],1)],1)],2),e._v("。\n ")],1)],1),e._v(" "),r("el-alert",{staticStyle:{margin:"40px 0"},attrs:{title:"线上课连堂课",closable:!1,type:"info"}}),e._v(" "),r("p",{staticClass:"subtitle"},[e._v("\n 线上课连堂课:\n "),r("el-tooltip",{attrs:{placement:"top","popper-class":"mTooltip"}},[r("div",{attrs:{slot:"content"},slot:"content"},[r("div",{staticStyle:{color:"#fff"}},[e._v("\n 1.同一班级中,两节课的时间间隔在"+e._s(e.form["50"]?e.form["50"]:"--")+"分钟之内视为连堂课。\n ")]),e._v(" "),r("div",{staticStyle:{color:"#fff"}},[e._v("\n 2.连堂课仅需在第一节课正常签到、最后一节课正常签退,课程中间无需签到签退。\n ")])]),e._v(" "),r("i",{staticClass:"el-icon-question micon el-tooltip",staticStyle:{"font-size":"18px",color:"#f56c6c"}})])],1),e._v(" "),r("el-row",[r("el-form-item",{attrs:{prop:"50",rules:[{required:!1,pattern:/^[1-9][0-9]*$/,message:"请输入正确的时间"}]}},[e._v("\n 线上课课程间隔"),r("el-input",{attrs:{placeholder:"请输入时间",disabled:!e.isPlatform},model:{value:e.form["50"],callback:function(t){e.$set(e.form,"50",t)},expression:"form['50']"}},[r("template",{slot:"append"},[e._v("分钟")])],2),e._v("\n 以内视为连堂课。\n ")],1)],1)],1)],1),e._v(" "),e.isPlatform?r("el-button",{directives:[{name:"permission",rawName:"v-permission",value:"sysConfig/batchUpdate_onlineCloudRules",expression:"'sysConfig/batchUpdate_onlineCloudRules'"}],staticClass:"saveBtn",attrs:{type:"primary"},on:{click:e.save}},[e._v("保存")]):r("el-button",{directives:[{name:"permission",rawName:"v-permission",value:"sysTenantConfig/batchUpSet_onlineCloudRules",expression:"'sysTenantConfig/batchUpSet_onlineCloudRules'"}],staticClass:"saveBtn",attrs:{type:"primary"},on:{click:e.save}},[e._v("保存")])],1)},n=[],s=(r("c5f6"),r("ac6a"),r("96cf"),r("1da1")),o=r("a7ba"),i=r("a6e9"),l=r("c466"),c={props:["isPlatform"],data:function(){return{form:{},questionList:[],rulesVisiable:!1,forwardTime:5}},mounted:function(){var e=Object(s["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:this.getRules();case 1:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),methods:{getRules:function(){this.isPlatform?this.getPlatformRules():this.getInstitutionRules()},getPlatformRules:function(){var e=Object(s["a"])(regeneratorRuntime.mark((function e(){var t,r,a=this;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,Object(i["a"])({group:"ONLINE"});case 3:return t=e.sent,e.next=6,Object(i["a"])({group:"DAYA_BASIC"});case 6:r=e.sent,r.data.forEach((function(e){"203"==e.id&&(a.forwardTime=e.paranValue)})),t.data.forEach((function(e){a.$set(a.form,e.id,e.paranValue)})),e.next=14;break;case 11:e.prev=11,e.t0=e["catch"](0),console.log(e.t0);case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));function t(){return e.apply(this,arguments)}return t}(),getInstitutionRules:function(){var e=Object(s["a"])(regeneratorRuntime.mark((function e(){var t,r,a=this;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,Object(o["a"])({group:"ONLINE"});case 3:return t=e.sent,e.next=6,Object(o["a"])({group:"DAYA_BASIC"});case 6:r=e.sent,r.data.forEach((function(e){"203"==e.id&&(a.forwardTime=e.paranValue)})),console.log(this.forwardTime),t.data.forEach((function(e){a.$set(a.form,e.id,e.paranValue)})),e.next=15;break;case 12:e.prev=12,e.t0=e["catch"](0),console.log(e.t0);case 15:case"end":return e.stop()}}),e,this,[[0,12]])})));function t(){return e.apply(this,arguments)}return t}(),savePlatform:function(){var e=this;this.$refs.form.validate(function(){var t=Object(s["a"])(regeneratorRuntime.mark((function t(r){var a,n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(!r){t.next=14;break}for(n in a=[],e.form)a.push({id:n,paranValue:e.form[n]});return t.prev=3,t.next=6,Object(i["b"])(a);case 6:t.sent,e.$message.success("保存成功"),e.getRules(),t.next=14;break;case 11:t.prev=11,t.t0=t["catch"](3),console.log(t.t0);case 14:case"end":return t.stop()}}),t,null,[[3,11]])})));return function(e){return t.apply(this,arguments)}}())},saveInstitution:function(){var e=this;this.$refs.form.validate(function(){var t=Object(s["a"])(regeneratorRuntime.mark((function t(r){var a,n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(!r){t.next=14;break}for(n in a=[],e.form)a.push({id:n,paranValue:e.form[n]});return t.prev=3,t.next=6,Object(o["c"])(a);case 6:t.sent,e.$message.success("保存成功"),e.getRules(),t.next=14;break;case 11:t.prev=11,t.t0=t["catch"](3),console.log(t.t0);case 14:case"end":return t.stop()}}),t,null,[[3,11]])})));return function(e){return t.apply(this,arguments)}}())},save:function(){this.isPlatform?this.savePlatform():this.saveInstitution()},validateMin:function(e,t,r){var a=Number(t),n=Number(this.forwardTime);return!n||a<n?r():r(new Error("最早可提前".concat(this.forwardTime-1,"分钟进入教室")))},addFormMinute:function(e,t){return Object(l["a"])(e,t)},addFormMinuteAddS:function(e,t){return Object(l["b"])(e,t)},reduceFormMinute:function(e,t){return Object(l["k"])(e,t)},reduceFormMinuteAddS:function(e,t){return Object(l["l"])(e,t)},addFormMinuteMS:function(e,t){return Object(l["c"])(e,t)},reduceFormMinuteMS:function(e,t){return Object(l["m"])(e,t)}}},u=c,p=(r("b1fa"),r("2877")),m=Object(p["a"])(u,a,n,!1,null,"3148fadb",null);t["a"]=m.exports},b6ab:function(e,t,r){},c466:function(e,t,r){"use strict";r.d(t,"n",(function(){return o})),r.d(t,"f",(function(){return i})),r.d(t,"g",(function(){return l})),r.d(t,"h",(function(){return c})),r.d(t,"i",(function(){return u})),r.d(t,"j",(function(){return p})),r.d(t,"e",(function(){return m})),r.d(t,"d",(function(){return f})),r.d(t,"a",(function(){return v})),r.d(t,"b",(function(){return d})),r.d(t,"c",(function(){return _})),r.d(t,"k",(function(){return g})),r.d(t,"l",(function(){return h})),r.d(t,"m",(function(){return b}));r("a481");var a=r("5a0c"),n=r.n(a),s=r("56d7");function o(e){var t=e.getFullYear(),r=e.getMonth()+1,a=e.getDate();return r=r<10?"0"+r:r,a=a<10?"0"+a:a,t+"-"+r+"-"+a}function i(e){return e.setDate(1),e}function l(e){var t=e.getMonth(),r=++t,a=new Date(e.getFullYear(),r,1),n=864e5;return new Date(a-n)}function c(e){var t=new Date(e.replace(/-/g,"/")).getTime(),r=new Date(e);0==r.getDay()&&(t-=6048e5);var a=t-24*(r.getDay()-1)*60*60*1e3,n=new Date(a),s=n.getFullYear(),o=n.getMonth()+1<10?"0"+(n.getMonth()+1):n.getMonth()+1,i=n.getDate()<10?"0"+n.getDate():n.getDate(),l=s+"-"+o+"-"+i;return l}function u(e){var t=new Date(e.replace(/-/g,"/")).getTime(),r=new Date(e),a=7-r.getDay();7==a&&(a=0);var n=t+24*a*60*60*1e3,s=new Date(n),o=s.getFullYear(),i=s.getMonth()+1<10?"0"+(s.getMonth()+1):s.getMonth()+1,l=s.getDate()<10?"0"+s.getDate():s.getDate(),c=o+"-"+i+"-"+l;return c}function p(e){var t=new Date(e.replace(/-/g,"/")).getDay();return 0===t&&(t=7),t}function m(e,t,r){return Math.abs(n()(e+" "+t).diff(e+" "+r,"Minute"))}function f(e,t,r){var a=n()(e+" "+t).add(r,"minute");return n()(e+" 21:00").isBefore(a)?(s["$message"].error("课程结束时间不可超过21:00点,请重新设置开始时间"),""):a.format("HH:mm")}function v(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=n()("2021-12-17 "+e).add(t,"minute");return r.format("HH:mm:ss")}function d(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=n()("2021-12-17 "+e).add(t,"minute").add(1,"second");return r.format("HH:mm:ss")}function _(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=n()("2021-12-17 "+e).add(t,"minute").subtract(1,"second");return r.format("HH:mm:ss")}function g(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=n()("2021-12-17 "+e).subtract(t,"minute");return r.format("HH:mm:ss")}function h(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=n()("2021-12-17 "+e).subtract(t,"minute").add(1,"second");return r.format("HH:mm:ss")}function b(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=n()("2021-12-17 "+e).subtract(t,"minute").subtract(1,"second");return r.format("HH:mm:ss")}},c815:function(e,t,r){"use strict";r("b6ab")},d678:function(e,t,r){"use strict";r("232e")},dc9c:function(e,t,r){},e807:function(e,t,r){"use strict";r("dc9c")},eb6b:function(e,t,r){"use strict";var a=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"m-container"},[r("div",[r("el-form",{ref:"form",attrs:{inline:!0,model:e.form}},[r("el-alert",{staticStyle:{margin:"20px 0 40px"},attrs:{title:"乐保设置",closable:!1,type:"info"}}),e._v(" "),r("el-row",[r("el-form-item",{attrs:{prop:"188",rules:[{required:!0,message:"请选择是否开启乐保"}]}},[e._v("\n 是否开启乐保:\n "),r("el-select",{staticClass:"multiple",staticStyle:{"margin-left":"5px"},attrs:{filterable:"",clearable:"",placeholder:"是否开启乐保"},model:{value:e.form["188"],callback:function(t){e.$set(e.form,"188","string"===typeof t?t.trim():t)},expression:"form['188']"}},[r("el-option",{attrs:{label:"是",value:"1"}}),e._v(" "),r("el-option",{attrs:{label:"否",value:"2"}})],1)],1)],1),e._v(" "),r("el-row",[r("el-form-item",{attrs:{prop:"189",rules:[{required:!1,pattern:/(^[1-9]([0-9]+)?(\.[0-9]{1,2})?$)|(^(0){1}$)|(^[0-9]\.[0-9]([0-9])?$)/,message:"请输入正确的金额"}]}},[e._v("\n 一年期乐保零售价:\n "),r("el-input",{attrs:{placeholder:"请输入金额"},model:{value:e.form["189"],callback:function(t){e.$set(e.form,"189",t)},expression:"form['189']"}},[r("template",{slot:"append"},[e._v("元")])],2)],1)],1),e._v(" "),r("el-row",[r("el-form-item",{attrs:{prop:"202",rules:[{required:!1,pattern:/(^[1-9]([0-9]+)?(\.[0-9]{1,2})?$)|(^(0){1}$)|(^[0-9]\.[0-9]([0-9])?$)/,message:"请输入正确的金额"}]}},[e._v("\n 一年期乐保原价:\n "),r("el-input",{attrs:{placeholder:"请输入金额"},model:{value:e.form["202"],callback:function(t){e.$set(e.form,"202",t)},expression:"form['202']"}},[r("template",{slot:"append"},[e._v("元")])],2)],1)],1)],1)],1),e._v(" "),e.isPlatform?r("el-button",{directives:[{name:"permission",rawName:"v-permission",value:"sysConfig/batchUpdate_leBaoRules",expression:"'sysConfig/batchUpdate_leBaoRules'"}],staticClass:"saveBtn",attrs:{type:"primary"},on:{click:e.save}},[e._v("保存")]):r("el-button",{directives:[{name:"permission",rawName:"v-permission",value:"sysTenantConfig/batchUpSet_leBaoRules",expression:"'sysTenantConfig/batchUpSet_leBaoRules'"}],staticClass:"saveBtn",attrs:{type:"primary"},on:{click:e.save}},[e._v("保存")])],1)},n=[],s=(r("ac6a"),r("96cf"),r("1da1")),o=r("a7ba"),i=r("a6e9"),l={props:["isPlatform"],data:function(){return{form:{},questionList:[],rulesVisiable:!1}},mounted:function(){var e=Object(s["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:this.getRules();case 1:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),methods:{getRules:function(){this.isPlatform?this.getPlatformRules():this.getInstitutionRules()},getPlatformRules:function(){var e=Object(s["a"])(regeneratorRuntime.mark((function e(){var t,r=this;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,Object(i["a"])({group:"MUSIC_REPAIR"});case 3:t=e.sent,t.data.forEach((function(e){r.$set(r.form,e.id,e.paranValue)})),e.next=10;break;case 7:e.prev=7,e.t0=e["catch"](0),console.log(e.t0);case 10:case"end":return e.stop()}}),e,null,[[0,7]])})));function t(){return e.apply(this,arguments)}return t}(),getInstitutionRules:function(){var e=Object(s["a"])(regeneratorRuntime.mark((function e(){var t,r=this;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,Object(o["a"])({group:"MUSIC_REPAIR"});case 3:t=e.sent,t.data.forEach((function(e){r.$set(r.form,e.id,e.paranValue)})),e.next=10;break;case 7:e.prev=7,e.t0=e["catch"](0),console.log(e.t0);case 10:case"end":return e.stop()}}),e,null,[[0,7]])})));function t(){return e.apply(this,arguments)}return t}(),savePlatform:function(){var e=this;this.$refs.form.validate(function(){var t=Object(s["a"])(regeneratorRuntime.mark((function t(r){var a,n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(!r){t.next=14;break}for(n in a=[],e.form)a.push({id:n,paranValue:e.form[n]});return t.prev=3,t.next=6,Object(i["b"])(a);case 6:t.sent,e.$message.success("保存成功"),e.getRules(),t.next=14;break;case 11:t.prev=11,t.t0=t["catch"](3),console.log(t.t0);case 14:case"end":return t.stop()}}),t,null,[[3,11]])})));return function(e){return t.apply(this,arguments)}}())},saveInstitution:function(){var e=this;this.$refs.form.validate(function(){var t=Object(s["a"])(regeneratorRuntime.mark((function t(r){var a,n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(!r){t.next=14;break}for(n in a=[],e.form)a.push({id:n,paranValue:e.form[n]});return t.prev=3,t.next=6,Object(o["c"])(a);case 6:t.sent,e.$message.success("保存成功"),e.getRules(),t.next=14;break;case 11:t.prev=11,t.t0=t["catch"](3),console.log(t.t0);case 14:case"end":return t.stop()}}),t,null,[[3,11]])})));return function(e){return t.apply(this,arguments)}}())},save:function(){this.isPlatform?this.savePlatform():this.saveInstitution()}}},c=l,u=(r("a001"),r("2877")),p=Object(u["a"])(c,a,n,!1,null,"13544512",null);t["a"]=p.exports},eded:function(e,t,r){},fbb0:function(e,t,r){"use strict";r.r(t);var a=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",[r("div",{staticClass:"m-core"},[r("el-form",{ref:"form",attrs:{inline:!0,model:e.form}},[r("el-alert",{staticClass:"alert",staticStyle:{margin:"20px 0"},attrs:{title:"网管课分部设置",closable:!1,type:"info"}}),e._v(" "),r("el-row",{staticClass:"row"},[e._v("\n 网管课可选分部\n "),r("select-all",{staticClass:"chioseOragn",attrs:{multiple:"","collapse-tags":"",clearable:"",filterable:"",placeholder:"请选择分部"},model:{value:e.organIdList,callback:function(t){e.organIdList=t},expression:"organIdList"}},e._l(e.selects.branchs,(function(e,t){return r("el-option",{key:t,attrs:{label:e.name,value:e.id}})})),1),e._v("\n 老师。\n ")],1),e._v(" "),r("el-row",{staticClass:"row"},[e._v("\n 网管课可预约声部\n "),r("select-all",{staticClass:"chioseOragn",attrs:{multiple:"","collapse-tags":"",clearable:"",filterable:"",placeholder:"请选择声部"},model:{value:e.subjectIdList,callback:function(t){e.subjectIdList=t},expression:"subjectIdList"}},e._l(e.selects.subjects,(function(e,t){return r("el-option",{key:t,attrs:{label:e.name,value:e.id}})})),1),e._v("。\n ")],1)],1)],1),e._v(" "),e.isPlatform?r("el-button",{directives:[{name:"permission",rawName:"v-permission",value:"sysConfig/batchUpdate_accompanyBaseConfig",expression:"'sysConfig/batchUpdate_accompanyBaseConfig'"}],staticClass:"saveBtn",attrs:{type:"primary"},on:{click:e.save}},[e._v("保存")]):r("el-button",{directives:[{name:"permission",rawName:"v-permission",value:"sysTenantConfig/batchUpSet_accompanyBaseConfig",expression:"'sysTenantConfig/batchUpSet_accompanyBaseConfig'"}],staticClass:"saveBtn",attrs:{type:"primary"},on:{click:e.save}},[e._v("保存")])],1)},n=[],s=(r("c5f6"),r("28a5"),r("2909")),o=(r("ac6a"),r("96cf"),r("1da1")),i=r("a7ba"),l=r("a6e9"),c={props:["isPlatform"],data:function(){return{form:{46:new Date(2016,9,10,18,40),47:new Date(2016,9,10,18,40)},questionList:[],rulesVisiable:!1,organIdList:[],subjectIdList:[]}},mounted:function(){var e=Object(o["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,this.$store.dispatch("setSubjects");case 2:return e.next=4,this.$store.dispatch("setBranchs");case 4:this.getRules();case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),methods:{getRules:function(){this.isPlatform?this.getPlatformRules():this.getInstitutionRules()},getPlatformRules:function(){var e=Object(o["a"])(regeneratorRuntime.mark((function e(){var t,r=this;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,Object(l["a"])({group:"DAYA_PRACTICE"});case 3:t=e.sent,t.data.forEach((function(e){"187"==e.id&&e.paranValue&&(r.organIdList=Object(s["a"])(e.paranValue.split(",").map((function(e){return Number(e)})))),"49"==e.id&&e.paranValue&&(r.subjectIdList=Object(s["a"])(e.paranValue.split(",").map((function(e){return Number(e)})))),r.$set(r.form,e.id,e.paranValue)})),e.next=10;break;case 7:e.prev=7,e.t0=e["catch"](0),console.log(e.t0);case 10:case"end":return e.stop()}}),e,null,[[0,7]])})));function t(){return e.apply(this,arguments)}return t}(),getInstitutionRules:function(){var e=Object(o["a"])(regeneratorRuntime.mark((function e(){var t,r=this;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,Object(i["a"])({group:"DAYA_PRACTICE"});case 3:t=e.sent,t.data.forEach((function(e){"187"==e.id&&e.paranValue&&(r.organIdList=Object(s["a"])(e.paranValue.split(",").map((function(e){return Number(e)})))),"49"==e.id&&e.paranValue&&(r.subjectIdList=Object(s["a"])(e.paranValue.split(",").map((function(e){return Number(e)})))),r.$set(r.form,e.id,e.paranValue)})),e.next=10;break;case 7:e.prev=7,e.t0=e["catch"](0),console.log(e.t0);case 10:case"end":return e.stop()}}),e,null,[[0,7]])})));function t(){return e.apply(this,arguments)}return t}(),savePlatform:function(){var e=this;this.$refs.form.validate(function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(r){var a,n,s;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(!r){t.next=14;break}for(n in a=[],e.form)s={id:n,paranValue:e.form[n]},"187"==n?(s.paranValue=e.organIdList.join(","),a.push(s)):"49"==n?(s.paranValue=e.subjectIdList.join(","),a.push(s)):a.push(s);return t.prev=3,t.next=6,Object(l["b"])(a);case 6:t.sent,e.$message.success("保存成功"),e.getRules(),t.next=14;break;case 11:t.prev=11,t.t0=t["catch"](3),console.log(t.t0);case 14:case"end":return t.stop()}}),t,null,[[3,11]])})));return function(e){return t.apply(this,arguments)}}())},saveInstitution:function(){var e=this;this.$refs.form.validate(function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(r){var a,n,s;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(!r){t.next=14;break}for(n in a=[],e.form)s={id:n,paranValue:e.form[n]},"187"==n?(s.paranValue=e.organIdList.join(","),a.push(s)):"49"==n?(s.paranValue=e.subjectIdList.join(","),a.push(s)):a.push(s);return t.prev=3,t.next=6,Object(i["c"])(a);case 6:t.sent,e.$message.success("保存成功"),e.getRules(),t.next=14;break;case 11:t.prev=11,t.t0=t["catch"](3),console.log(t.t0);case 14:case"end":return t.stop()}}),t,null,[[3,11]])})));return function(e){return t.apply(this,arguments)}}())},save:function(){this.isPlatform?this.savePlatform():this.saveInstitution()}}},u=c,p=(r("c815"),r("2877")),m=Object(p["a"])(u,a,n,!1,null,"377c7925",null);t["default"]=m.exports},ff6a:function(e,t,r){}}]);
|