1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2c188afe"],{"09f4":function(t,e,a){"use strict";a.d(e,"a",(function(){return i})),Math.easeInOutQuad=function(t,e,a,o){return t/=o/2,t<1?a/2*t*t+e:(t--,-a/2*(t*(t-2)-1)+e)};var o=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(t){window.setTimeout(t,1e3/60)}}();function s(t){document.documentElement.scrollTop=t,document.body.parentNode.scrollTop=t,document.body.scrollTop=t}function r(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function i(t,e,a){var i=r(),n=t-i,l=20,c=0;e="undefined"===typeof e?500:e;var m=function t(){c+=l;var r=Math.easeInOutQuad(c,i,n,e);s(r),c<e?o(t):a&&"function"===typeof a&&a()};m()}},6193:function(t,e,a){"use strict";a("aa6f")},"73b3":function(t,e,a){"use strict";var o=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"basea-container"},[a("div",{staticClass:"baseTop"},[a("div",{staticClass:"left"},[a("teambaseinfo"),t._v(" "),a("div",{staticClass:"wrap"},["look"!==t.lookType?a("el-button",{directives:[{name:"permission",rawName:"v-permission",value:"order/musicalListExport",expression:"'order/musicalListExport'"}],attrs:{type:"text"},on:{click:t.musicalListExport}},[t._v("订货清单导出")]):t._e(),t._v(" "),"look"!==t.lookType?a("el-button",{directives:[{name:"permission",rawName:"v-permission",value:"order/musicalListDetailExport",expression:"'order/musicalListDetailExport'"}],attrs:{type:"text"},on:{click:t.musicalListDetailExport}},[t._v("分发清单导出")]):t._e()],1)],1)])])},s=[],r=(a("1cc7"),a("80b0")),i=a("bc3a"),n=a.n(i),l=a("4328"),c=a.n(l),m=a("5f87"),p=a("3908"),d={components:{teambaseinfo:r["a"]},name:"tbaseInfo",data:function(){return{id:"",topForm:{num:"",teacher:"",section:"",paymentPattern:"",paymentValidStartDate:"",paymentValidEndDate:"",boss:"",cooperate:"",add:"",type:"",salary:"",teamTeacherName:"",ownershipType:"",repairUserName:""},name:"",processList:[],lookType:""}},created:function(){},activated:function(){},methods:{musicalListExport:function(){var t=this,e="/api-web/order/musicalListExport",a={musicGroupId:this.$route.query.id},o={method:"POST",headers:{Authorization:Object(m["a"])()},data:c.a.stringify(a),url:e,responseType:"blob"};this.$confirm("您确定导出订货清单","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){p["a"].startLoading(),n()(o).then((function(e){var a=new Blob([e.data],{type:"application/vnd.ms-excel;charset=utf-8"}),o=new Response(a).text();o.then((function(e){if(-1!=e.indexOf("code")){var o=JSON.parse(e);t.$message.error(o.msg)}else{var s=URL.createObjectURL(a),r=document.createElement("a"),i=new Date,n=i.getFullYear()+""+(i.getMonth()+1)+i.getDate()+i.getHours()+i.getMinutes(),l=t.$route.query.id+"-"+n+"订货清单.xls";r.href=s,r.setAttribute("download",l),document.body.appendChild(r),r.click()}})),p["a"].endLoading()})).catch((function(e){t.$message.error("导出数据失败,请联系管理员"),p["a"].endLoading()}))})).catch((function(){}))},musicalListDetailExport:function(){var t=this,e="/api-web/order/musicalListDetailExport",a={musicGroupId:this.$route.query.id},o={method:"POST",headers:{Authorization:Object(m["a"])()},data:c.a.stringify(a),url:e,responseType:"blob"};this.$confirm("您确定导出分发清单","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){p["a"].startLoading(),n()(o).then((function(e){var a=new Blob([e.data],{type:"application/vnd.ms-excel;charset=utf-8"}),o=new Response(a).text();o.then((function(e){if(-1!=e.indexOf("code")){var o=JSON.parse(e);t.$message.error(o.msg)}else{var s=URL.createObjectURL(a),r=document.createElement("a"),i=new Date,n=i.getFullYear()+""+(i.getMonth()+1)+i.getDate()+i.getHours()+i.getMinutes(),l=t.$route.query.id+"-"+n+"分发清单.xls";r.href=s,r.setAttribute("download",l),document.body.appendChild(r),r.click()}})),p["a"].endLoading()})).catch((function(e){t.$message.error("导出数据失败,请联系管理员"),p["a"].endLoading()}))})).catch((function(){}))}}},u=d,f=(a("fc1a"),a("2877")),b=Object(f["a"])(u,o,s,!1,null,"546db682",null);e["a"]=b.exports},"80b0":function(t,e,a){"use strict";var o=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"base-container"},[a("div",{staticClass:"banseLeft"},[a("div",{staticClass:"head"},[t._v("乐团基本信息:")]),t._v(" "),a("el-form",{ref:"topinfo",staticStyle:{"margin-left":"11px"},attrs:{model:t.topFrom,inline:!0,"label-width":"120px"}},[a("el-form-item",{attrs:{label:"所属分部",prop:"section",rules:[{required:!0,message:"所属分部不能为空"}]}},[a("el-select",{attrs:{filterable:"",disabled:t.basdisabled,clearable:""},on:{change:t.changeSection},model:{value:t.topFrom.section,callback:function(e){t.$set(t.topFrom,"section","string"===typeof e?e.trim():e)},expression:"topFrom.section"}},t._l(t.sectionList,(function(t,e){return a("el-option",{key:e,attrs:{label:t.name,value:t.id}})})),1)],1),t._v(" "),a("el-form-item",{attrs:{label:"收费类型",prop:"type",rules:[{required:!0,message:"收费类型不能为空"}]}},[a("el-select",{attrs:{filterable:"",disabled:t.basdisabled,clearable:""},model:{value:t.topFrom.type,callback:function(e){t.$set(t.topFrom,"type","string"===typeof e?e.trim():e)},expression:"topFrom.type"}},t._l(t.typeList,(function(t,e){return a("el-option",{key:e,attrs:{label:t.name,value:t.id}})})),1)],1),t._v(" "),a("el-form-item",{attrs:{label:"收费模式",prop:"courseViewType",rules:[{required:!0,message:"收费模式不能为空"}]}},[a("el-select",{attrs:{filterable:"",disabled:t.basdisabled,clearable:""},model:{value:t.topFrom.courseViewType,callback:function(e){t.$set(t.topFrom,"courseViewType","string"===typeof e?e.trim():e)},expression:"topFrom.courseViewType"}},[a("el-option",{attrs:{label:"课程收费",value:0}}),t._v(" "),a("el-option",{attrs:{label:"系统收费",value:1}})],1)],1),t._v(" "),a("el-form-item",{attrs:{label:"合作单位",prop:"school",rules:[{required:!0,message:"合作单位不能为空"}]}},[a("el-select",{attrs:{disabled:!t.topFrom.section||t.basdisabled,filterable:"",clearable:""},on:{change:t.chioseSchool},model:{value:t.topFrom.school,callback:function(e){t.$set(t.topFrom,"school","string"===typeof e?e.trim():e)},expression:"topFrom.school"}},t._l(t.cooperationList,(function(t,e){return a("el-option",{key:e,attrs:{label:t.name,value:t.id}})})),1)],1),t._v(" "),a("el-form-item",{attrs:{label:"教学地点",prop:"address",rules:[{required:!0,message:"教学地点不能为空"}]},scopedSlots:t._u([{key:"label",fn:function(){return[a("p",{staticStyle:{position:"relative",display:"inline-block"}},[t._v("\n 教学地点\n "),a("el-tooltip",{attrs:{placement:"top","popper-class":"mTooltip"}},[a("div",{attrs:{slot:"content"},slot:"content"},[t._v("\n 如果已生成课表,则会修改未上课时的教学点\n ")]),t._v(" "),a("i",{staticClass:"el-icon-question",staticStyle:{"font-size":"18px",color:"#f56c6c"}})])],1)]},proxy:!0}])},[t._v(" "),a("el-select",{attrs:{filterable:"",clearable:"",disabled:!t.topFrom.section||t.basdisabled},model:{value:t.topFrom.address,callback:function(e){t.$set(t.topFrom,"address","string"===typeof e?e.trim():e)},expression:"topFrom.address"}},t._l(t.addList,(function(t,e){return a("el-option",{key:e,attrs:{label:t.name,value:t.id}})})),1)],1),t._v(" "),a("el-form-item",{attrs:{label:"乐团名称",prop:"name",rules:[{required:!0,message:"乐团名称不能为空"}]}},[a("el-input",{attrs:{placeholder:"请输入乐团名称",disabled:t.basdisabled},model:{value:t.topFrom.name,callback:function(e){t.$set(t.topFrom,"name","string"===typeof e?e.trim():e)},expression:"topFrom.name"}})],1),t._v(" "),a("el-form-item",{attrs:{label:"运营主管",prop:"boss",rules:[{required:!0,message:"运营主管不能为空"}]}},[a("el-select",{attrs:{disabled:!t.topFrom.section||t.basdisabled,filterable:"",clearable:""},model:{value:t.topFrom.boss,callback:function(e){t.$set(t.topFrom,"boss","string"===typeof e?e.trim():e)},expression:"topFrom.boss"}},t._l(t.orgianList,(function(t,e){return a("el-option",{key:e,attrs:{label:t.realName,value:t.id}})})),1)],1),t._v(" "),a("el-form-item",{attrs:{label:"乐团主管",prop:"teacher",rules:[{required:!0,message:"乐团主管不能为空"}]}},[a("el-select",{attrs:{disabled:!t.topFrom.section||t.basdisabled,filterable:"",clearable:""},model:{value:t.topFrom.teacher,callback:function(e){t.$set(t.topFrom,"teacher","string"===typeof e?e.trim():e)},expression:"topFrom.teacher"}},t._l(t.orgianList,(function(t,e){return a("el-option",{key:e,attrs:{label:t.realName,value:t.id}})})),1)],1),t._v(" "),a("el-form-item",{attrs:{label:"维修技师",prop:"repairUserId"}},[a("el-select",{attrs:{disabled:!t.topFrom.section||t.basdisabled,filterable:"",clearable:""},model:{value:t.topFrom.repairUserId,callback:function(e){t.$set(t.topFrom,"repairUserId","string"===typeof e?e.trim():e)},expression:"topFrom.repairUserId"}},t._l(t.technician,(function(t,e){return a("el-option",{key:e,attrs:{label:t.userName,value:t.userId}})})),1)],1),t._v(" "),a("el-form-item",{attrs:{label:"报名截止时间",prop:"time",rules:[{required:!0,message:"请输入报名截止时间"}]}},[a("el-date-picker",{attrs:{disabled:t.basdisabled,type:"date","value-format":"yyyy-MM-dd","picker-options":t.beginDate(),placeholder:"选择日期"},model:{value:t.topFrom.time,callback:function(e){t.$set(t.topFrom,"time","string"===typeof e?e.trim():e)},expression:"topFrom.time"}})],1),t._v(" "),a("el-form-item",{attrs:{label:"预计开团时间",prop:"startTime",rules:[{required:!0,message:"请输入预计开团时间"}]}},[a("el-date-picker",{attrs:{disabled:t.basdisabled,type:"date","value-format":"yyyy-MM-dd","picker-options":t.beginDate(),placeholder:"选择日期"},model:{value:t.topFrom.startTime,callback:function(e){t.$set(t.topFrom,"startTime","string"===typeof e?e.trim():e)},expression:"topFrom.startTime"}})],1),t._v(" "),t.basdisabled?a("el-form-item",{attrs:{label:"招生年级"}},[a("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:t.startClassString,placement:"top-start"}},[a("div",{staticStyle:{width:"180px",overflow:"hidden"}},[t._v("\n "+t._s(t.startClassString)+"\n ")])])],1):a("el-form-item",{attrs:{label:"招生年级",prop:"startClass",rules:[{required:!0,message:"请选择招生年纪"}]}},[a("el-select",{attrs:{placeholder:"起始年级",clearable:"",multiple:"","collapse-tags":"",filterable:""},model:{value:t.topFrom.startClass,callback:function(e){t.$set(t.topFrom,"startClass","string"===typeof e?e.trim():e)},expression:"topFrom.startClass"}},t._l(t.classStatus,(function(t){return a("el-option",{key:t.value,attrs:{value:t.value,label:t.label}})})),1)],1),t._v(" "),a("el-form-item",{attrs:{label:"课酬结算标准",rules:[{required:!0,message:"请选择课酬结算标准"}],prop:"salary"}},[a("el-select",{attrs:{clearable:"",disabled:t.basdisabled,filterable:""},model:{value:t.topFrom.salary,callback:function(e){t.$set(t.topFrom,"salary","string"===typeof e?e.trim():e)},expression:"topFrom.salary"}},[a("el-option",{attrs:{label:"默认课酬",value:"TEACHER_DEFAULT"}}),t._v(" "),a("el-option",{attrs:{label:"3.0课酬",value:"GRADIENT_SALARY"}})],1)],1),t._v(" "),a("el-form-item",{attrs:{label:"机构类型",prop:"ownershipType"}},[a("el-select",{attrs:{disabled:t.basdisabled},model:{value:t.topFrom.ownershipType,callback:function(e){t.$set(t.topFrom,"ownershipType","string"===typeof e?e.trim():e)},expression:"topFrom.ownershipType"}},[a("el-option",{attrs:{label:"自有",value:"OWN"}}),t._v(" "),a("el-option",{attrs:{label:"三方",value:"COOPERATION"}})],1)],1),t._v(" "),a("el-form-item",{attrs:{label:"乐队指导",prop:"head"}},[a("el-select",{attrs:{filterable:"",disabled:t.basdisabled,clearable:""},model:{value:t.topFrom.head,callback:function(e){t.$set(t.topFrom,"head","string"===typeof e?e.trim():e)},expression:"topFrom.head"}},t._l(t.orgianList,(function(t,e){return a("el-option",{key:e,attrs:{label:t.realName,value:t.id}})})),1)],1),t._v(" "),a("el-form-item",{attrs:{label:"",prop:"isClass"}},[a("el-checkbox",{attrs:{disabled:t.basdisabled},model:{value:t.topFrom.isClass,callback:function(e){t.$set(t.topFrom,"isClass","string"===typeof e?e.trim():e)},expression:"topFrom.isClass"}},[t._v("课堂课乐团")])],1),t._v(" "),a("br"),t._v(" "),"teamDraft"==t.teamStatus?a("el-form-item",{attrs:{label:""}},[a("p",{staticStyle:{color:"red","padding-left":"50px"}},[t._v("\n 修改【收费类型】会重置乐团声部与缴费信息\n ")])]):t._e()],1),t._v(" "),a("div",{staticClass:"btnWrap"},["resetTeam"==t.teamStatus?a("div",{directives:[{name:"permission",rawName:"v-permission",value:{child:"musicGroup/update",parent:"/resetTeaming/teamBaseInfo"},expression:"{\n child: 'musicGroup/update',\n parent: '/resetTeaming/teamBaseInfo',\n }"}],staticClass:"nextBtn",on:{click:t.resetSubmit}},[t._v("\n 修改\n ")]):t._e(),t._v(" "),t.showNext?a("div",{staticClass:"nextBtn",on:{click:function(e){return t.gotoNext(1)}}},[t._v("下一步")]):t._e()])],1)])},s=[],r=(a("28a5"),a("7f7f"),a("1cc7")),i=a("a488"),n=a("5a0c"),l=a.n(n),c=a("99b4"),m=a("92e3"),p=(a("4360"),a("6612"),a("fa7d"),a("4328"),a("704d"),{name:"teamBaseInfo",props:["getTeamList"],data:function(){return{classStatus:m["f"],organId:null,topFrom:{type:"",section:"",courseViewType:"",school:"",teacher:"",name:"",boss:"",time:"",startClass:[],address:"",salary:"",head:"",isClass:!1,startTime:"",feeType:null,paymentPattern:"",paymentValid:[],paymentValidStartDate:null,paymentValidEndDate:null,ownershipType:"OWN",repairUserId:null},baseInfo:{},money:580,orderInfo:{marketPrice:0,referencePrice:0},sectionList:[],typeList:[],cooperationList:[],teacherList:[],addList:[],activeTeam:[],teamid:"",teamStatus:"",orgianList:[],isInit:!1,technician:[],basdisabled:!1}},created:function(){},mounted:function(){this.$route.query.id&&(this.teamid=this.$route.query.id),this.teamStatus=this.$route.query.type,"newTeam"==this.$route.query.type&&this.onReset(),this.init()},activated:function(){(this.teamid&&this.teamid!=this.$route.query.id||this.teamStatus!=this.$route.query.type)&&this.init(),"true"==this.$route.query.clear&&this.onReset(),"newTeam"==this.teamStatus&&this.$store.dispatch("buildIndex",0),"newTeam"!=this.teamStatus&&this.$store.dispatch("draftIndex",0),this.teamStatus=this.$route.query.type,"look"==this.teamStatus||"teamAudit"==this.teamStatus||"feeAudit"==this.teamStatus?this.basdisabled=!0:this.basdisabled=!1},deactivated:function(){},beforeDestroy:function(){sessionStorage.setItem("".concat(this.teamid,"base"),JSON.stringify(this.topFrom))},methods:{isNotEditing:function(){return!("teamDraft"===this.teamStatus||"newTeam"===this.teamStatus||"teamList"===this.teamStatus)},changeFeeType:function(t){},changePaymentValidStartDate:function(t){t&&this.$set(this.topFrom,"paymentValidEndDate","")},changePaymentPattern:function(t){},beginDate:function(t){return{firstDayOfWeek:1,disabledDate:function(e){return t?new Date(t).getTime()-864e5>=e.getTime():e.getTime()+864e5<Date.now()}}},init:function(){var t=this;if(this.isInit=!0,this.teamStatus=this.$route.query.type,"newTeam"==this.teamStatus&&this.$store.dispatch("buildIndex",0),"newTeam"!=this.teamStatus&&this.$store.dispatch("draftIndex",0),this.activeTeam=this.getTeamList,"look"==this.teamStatus||"teamAudit"==this.teamStatus||"feeAudit"==this.teamStatus?this.basdisabled=!0:this.basdisabled=!1,this.$route.query.id){this.teamid=this.$route.query.id;var e=JSON.parse(sessionStorage.getItem("".concat(this.$route.query.id,"base")));console.log(e),null!==e&&void 0!==e&&e.section?(this.topFrom=e,this.topFrom.section&&(Object(c["A"])({organId:this.topFrom.section,rows:1e3}).then((function(e){200==e.code&&(t.orgianList=e.data.rows)})),Object(c["z"])({organId:this.topFrom.section}).then((function(e){200==e.code&&(t.cooperationList=e.data)})),Object(c["o"])({organId:this.topFrom.section}).then((function(e){200==e.code&&(t.addList=e.data,t.isInit=!1)})),Object(i["b"])().then((function(e){200==e.code&&(t.technician=e.data)})))):Object(r["Fb"])({musicGroupId:this.teamid}).then((function(e){200==e.code&&(t.topFrom.name=e.data.musicGroup.name,t.$emit("getName",t.topFrom.name),t.topFrom.time=e.data.musicGroup.applyExpireDate,t.topFrom.type=e.data.musicGroup.chargeTypeId,t.topFrom.startClass=e.data.musicGroup.enrollClasses.split(","),t.topFrom.paymentPattern=e.data.musicGroup.paymentPattern,t.topFrom.paymentValidStartDate=e.data.musicGroup.paymentValidStartDate,t.topFrom.paymentValidEndDate=e.data.musicGroup.paymentValidEndDate,t.topFrom.section=e.data.musicGroup.organId,t.topFrom.courseViewType=e.data.musicGroup.courseViewType,t.topFrom.school=e.data.musicGroup.cooperationOrganId,t.topFrom.teacher=e.data.musicGroup.educationalTeacherId,t.topFrom.boss=e.data.musicGroup.teamTeacherId,t.topFrom.address=e.data.musicGroup.schoolId,t.topFrom.salary=e.data.musicGroup.settlementType,t.topFrom.head=e.data.musicGroup.directorUserId?e.data.musicGroup.directorUserId:null,t.topFrom.isClass=e.data.musicGroup.isClassroomLessons,t.topFrom.startTime=e.data.musicGroup.expectStartGroupDate,t.topFrom.ownershipType=e.data.musicGroup.ownershipType,t.topFrom.repairUserId=e.data.musicGroup.repairUserId?e.data.musicGroup.repairUserId:null,t.topFrom.feeType=e.data.musicGroup.feeType?e.data.musicGroup.feeType:null,e.data.musicGroup.organId&&(Object(c["A"])({organId:e.data.musicGroup.organId,rows:1e3}).then((function(e){200==e.code&&(t.orgianList=e.data.rows)})),Object(c["z"])({organId:e.data.musicGroup.organId}).then((function(e){200==e.code&&(t.orgianList=e.data.rows)})),Object(c["z"])({organId:e.data.musicGroup.organId}).then((function(e){200==e.code&&(t.cooperationList=e.data)})),Object(c["o"])({organId:e.data.musicGroup.organId}).then((function(e){200==e.code&&(t.addList=e.data,t.isInit=!1)})),Object(i["b"])().then((function(e){200==e.code&&(t.technician=e.data)}))),t.$emit("getBaseInfo",e.data))}))}this.$emit("getName",this.topFrom.name),Object(r["ab"])().then((function(e){200==e.code&&(t.sectionList=e.data)})),Object(r["Lb"])({rows:1e3}).then((function(e){200==e.code&&(t.typeList=e.data.rows)}))},changeSection:function(t){var e=this;this.topFrom.teacher="",this.topFrom.boss="",this.topFrom.head="",this.topFrom.school="",this.topFrom.address="",Object(c["A"])({organId:t,rows:1e3}).then((function(t){200==t.code&&(e.orgianList=t.data.rows)})),Object(c["z"])({organId:t}).then((function(t){200==t.code&&(e.cooperationList=t.data)})),Object(c["o"])({organId:t}).then((function(t){200==t.code&&(e.addList=t.data)})),Object(i["b"])().then((function(t){200==t.code&&(e.technician=t.data)}))},chioseSchool:function(t){},gotoNext:function(t){var e=this;this.$refs["topinfo"].validate((function(a,o){a?(e.$store.dispatch("topinfo",e.topFrom),"teamDraft"==e.teamStatus?e.resetSubmit():e.$emit("chiosetab",t)):e.$message.error("请填写建团必要参数")}))},resetSubmit:function(){var t=this;this.$refs["topinfo"].validate((function(e,a){if(e){var o=null;switch(t.teamStatus){case"resetTeam":o="PROGRESS";break;case"newTeam":o=null;break;case"teamList":o=null;break;case"teamDraft":o="DRAFT";break}var s={};s.musicGroup={settlementType:t.topFrom.salary,applyExpireDate:l()(t.topFrom.time).format("YYYY-MM-DD HH:mm:ss"),chargeTypeId:t.topFrom.type,cooperationOrganId:t.topFrom.school,courseViewType:t.topFrom.courseViewType,teamTeacherId:t.topFrom.boss,educationalTeacherId:t.topFrom.teacher,enrollClasses:t.topFrom.startClass.join(","),name:t.topFrom.name,paymentPattern:t.topFrom.paymentPattern,paymentValidStartDate:t.topFrom.paymentValidStartDate?l()(t.topFrom.paymentValidStartDate).format("YYYY-MM-DD"):t.topFrom.paymentValidStartDate,paymentValidEndDate:t.topFrom.paymentValidEndDate?l()(t.topFrom.paymentValidEndDate).format("YYYY-MM-DD"):t.topFrom.paymentValidEndDate,organId:t.topFrom.section,schoolId:t.topFrom.address,id:t.teamid,directorUserId:t.topFrom.head,isClassroomLessons:t.topFrom.isClass,status:o,expectStartGroupDate:t.topFrom.startTime,ownershipType:t.topFrom.ownershipType,repairUserId:t.topFrom.repairUserId||null,feeType:t.topFrom.feeType},s.musicGroupPaymentEntities=[],Object(r["nc"])(s).then((function(e){200==e.code&&("teamDraft"==t.teamStatus?(t.$message.success("保存成功"),t.$emit("chiosetab",1)):t.$message.success("修改乐团成功"),t.init())}))}else t.$message.error("请填写必要参数")}))},changeApplyTime:function(t){this.$set(this.topFrom,"paymentValidStartDate",""),this.$set(this.topFrom,"paymentValidEndDate","")},onReset:function(){this.topFrom={type:"",section:"",school:"",courseViewType:"",teacher:"",name:"",boss:"",time:"",startClass:[],paymentValid:[],address:"",salary:"",head:"",paymentPattern:"",isClass:!1,startTime:"",ownershipType:"OWN",feeType:null},this.$refs["topinfo"].resetFields()}},computed:{startClassString:function(){var t=this;return this.topFrom.startClass.map((function(e){for(var a in t.classStatus)if(e==t.classStatus[a].value)return t.classStatus[a].label})).join(",")},showNext:function(){var t=this.teamStatus;return"newTeam"==t||"teamDraft"==t||"teamAudit"==t||"feeAudit"==t}}}),d=p,u=(a("6193"),a("b97d"),a("2877")),f=Object(u["a"])(d,o,s,!1,null,"fa79e620",null);e["a"]=f.exports},"935a":function(t,e,a){},aa6f:function(t,e,a){},b97d:function(t,e,a){"use strict";a("935a")},ba30:function(t,e,a){},fc1a:function(t,e,a){"use strict";a("ba30")}}]);
|