chunk-179254be.56f87ade.js 18 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-179254be"],{"603b":function(e,l,a){"use strict";a("d509")},"7e919":function(e,l,a){"use strict";a("a92e")},"806b":function(e,l,a){},"84ee":function(e,l,a){"use strict";a.d(l,"c",(function(){return n})),a.d(l,"a",(function(){return r})),a.d(l,"d",(function(){return i})),a.d(l,"b",(function(){return s}));var t=a("829b"),u=(a("4328"),"/api-web");function n(e){return Object(t["a"])({url:u+"/musicGroupPlanMaking/queryAll",method:"get",requestType:"form"})}function r(e){return Object(t["a"])({url:u+"/musicGroupPlanMaking/add",method:"post",data:e})}function i(e){return Object(t["a"])({url:u+"/musicGroupPlanMaking/update",method:"post",data:e})}function s(e){return Object(t["a"])({url:u+"/musicGroupPlanMaking/query",method:"get",requestType:"form",params:e})}},"92e3":function(e,l,a){"use strict";a.d(l,"v",(function(){return s})),a.d(l,"I",(function(){return o})),a.d(l,"t",(function(){return c})),a.d(l,"c",(function(){return b})),a.d(l,"E",(function(){return v})),a.d(l,"bb",(function(){return d})),a.d(l,"Z",(function(){return f})),a.d(l,"d",(function(){return p})),a.d(l,"M",(function(){return m})),a.d(l,"x",(function(){return E})),a.d(l,"db",(function(){return I})),a.d(l,"u",(function(){return h})),a.d(l,"o",(function(){return N})),a.d(l,"cb",(function(){return T})),a.d(l,"Q",(function(){return O})),a.d(l,"fb",(function(){return _})),a.d(l,"gb",(function(){return R})),a.d(l,"P",(function(){return L})),a.d(l,"U",(function(){return A})),a.d(l,"C",(function(){return g})),a.d(l,"l",(function(){return C})),a.d(l,"Y",(function(){return S})),a.d(l,"eb",(function(){return y})),a.d(l,"J",(function(){return M})),a.d(l,"m",(function(){return j})),a.d(l,"w",(function(){return G})),a.d(l,"N",(function(){return P})),a.d(l,"f",(function(){return U})),a.d(l,"e",(function(){return x})),a.d(l,"L",(function(){return k})),a.d(l,"K",(function(){return H})),a.d(l,"T",(function(){return D})),a.d(l,"H",(function(){return V})),a.d(l,"a",(function(){return w})),a.d(l,"y",(function(){return B})),a.d(l,"p",(function(){return $})),a.d(l,"n",(function(){return Y})),a.d(l,"q",(function(){return F})),a.d(l,"g",(function(){return q})),a.d(l,"G",(function(){return X})),a.d(l,"r",(function(){return W})),a.d(l,"D",(function(){return K})),a.d(l,"B",(function(){return z})),a.d(l,"A",(function(){return J})),a.d(l,"h",(function(){return Q})),a.d(l,"k",(function(){return Z})),a.d(l,"i",(function(){return ee})),a.d(l,"j",(function(){return le})),a.d(l,"S",(function(){return ae})),a.d(l,"O",(function(){return te})),a.d(l,"F",(function(){return ue})),a.d(l,"z",(function(){return ne})),a.d(l,"R",(function(){return re})),a.d(l,"V",(function(){return ie})),a.d(l,"X",(function(){return se})),a.d(l,"s",(function(){return oe})),a.d(l,"ab",(function(){return ce})),a.d(l,"W",(function(){return be})),a.d(l,"b",(function(){return de}));var t=a("b85c"),u=a("3835"),n=a("267e"),r=sessionStorage.getItem("tenantConfig");r=r?JSON.parse(r):{};var i=r.tenantId,s=null,o=null;1==i?(o=[{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"}],s=[{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"},{label:"直播课",value:"LIVE"}]):(o=[{label:"声部课",value:"SINGLE"},{label:"合奏课",value:"MIX"},{label:"基础技能课",value:"HIGH"},{label:"集训声部课",value:"TRAINING_SINGLE"},{label:"集训合奏课",value:"TRAINING_MIX"},{label:"课堂课",value:"CLASSROOM"},{label:"综合课",value:"COMPREHENSIVE"}],s=[{label:"声部课",value:"SINGLE"},{label:"合奏课",value:"MIX"},{label:"vip课",value:"VIP"},{label:"试听课",value:"DEMO"},{label:"综合课",value:"COMPREHENSIVE"},{label:"网管课",value:"PRACTICE"},{label:"启蒙课",value:"ENLIGHTENMENT"},{label:"集训声部课",value:"TRAINING_SINGLE"},{label:"集训合奏课",value:"TRAINING_MIX"},{label:"课堂课",value:"CLASSROOM"},{label:"对外课",value:"COMM"},{label:"直播课",value:"LIVE"}]);var c=[{label:"乐团课",value:"MUSIC"},{label:"VIP课",value:"VIP"},{label:"网管课",value:"PRACTICE"},{label:"直播课",value:"LIVE"}],b=[{label:"正常签到",value:1},{label:"异常签到",value:0}],v=[{label:"兼职",value:"PART_TIME"},{label:"全职",value:"FULL_TIME"},{label:"劳务",value:"LABOUR"}],d=[{label:"正常",value:"0"},{label:"冻结",value:"1"},{label:"锁定",value:"9"}],f=[{value:"NORMAL",label:"正常"},{value:"TRUANT",label:"旷课"},{value:"LEAVE",label:"请假"}],p=[].concat(f,[{value:"QUIT_SCHOOL",label:"休学"},{value:"DROP_OUT",label:"退学"},{value:"LATE",label:"迟到"}]),m=[{value:"APPLY",label:"报名"},{value:"RENEW",label:"续费"},{value:"MEMBER",label:"学练宝购买"},{value:"SMALL_CLASS_TO_BUY",label:"VIP购买"},{value:"SPORADIC",label:"零星收费"},{value:"LUCK",label:"福袋活动"},{value:"DEGREE_REGISTRATION",label:"考级报名"},{value:"DOUBLE_ELEVEN2020",label:"2020双十一活动"},{value:"DOUBLE_ELEVEN2021",label:"2021双十一活动"},{value:"DEGREE",label:"儿童节活动"},{value:"PRACTICE_GROUP_BUY",label:"网管课"},{value:"PRACTICE_GROUP_RENEW",label:"网管课续费"},{value:"REPAIR",label:"乐器维修"},{value:"OUTORDER",label:"外部收入"},{value:"GOODS_SELL",label:"商品销售"},{value:"MALL_BUY",label:"商城销售"},{value:"SUBJECT_CHANGE",label:"声部更换"},{value:"MAINTENANCE",label:"乐器保养"},{value:"ADD_STUDENT",label:"乐团报名"},{value:"REPLACEMENT",label:"乐器置换"},{value:"SCHOOL",label:"学校订单"},{value:"PERSONAL",label:"个人订单"},{value:"OTHER",label:"其他"},{value:"ACTIVITY",label:"活动购买"},{value:"LIVE_BUY",label:"直播购物"},{value:"LIVE_GROUP_BUY",label:"直播课购买"},{value:"SCHOOL_GOODS_PURCHASE",label:"商品采购"},{value:"DIRECTOR_TRAINING_CAMP",label:"乐队指导培训"}],E=[{value:"ING",label:"交易中"},{value:"SUCCESS",label:"成功交易"},{value:"FAILED",label:"交易失败"},{value:"CLOSE",label:"交易关闭"}],I=[{value:"0",text:"未开始"},{value:"1",text:"报名中"},{value:"2",text:"进行中"},{value:"4",text:"已结束"},{value:"3",text:"取消"}],h=[{value:"NOT_START",label:"未开始"},{value:"UNDERWAY",label:"进行中"},{value:"OVER",label:"已结束"}],N=[{value:"NORMAL",label:"进行中"},{value:"FINISH",label:"结束"},{value:"CANCEL",label:"关闭"},{value:"LOCK",label:"锁定"}],T=[{value:"RECHARGE",label:"充值"},{value:"CONSUME",label:"建课"},{value:"RETURN",label:"退课"},{value:"MANUAL_ADD",label:"系统充值"},{value:"MANUAL_SUB",label:"系统扣除"}],O=[{value:"FREE",label:"免费"},{value:"CHARGE",label:"收费"},{value:"TRIAL",label:"试听课"},{value:"CARE_PACKAGE",label:"关心包"},{value:"COME_ON_PACKAGE",label:"加油包"}],_=[{value:"课程推荐",label:"课程推荐",children:[{value:"新课推荐",label:"新课推荐"},{value:"续费提醒",label:"续费提醒"}]},{value:"常规回访",label:"常规回访",children:[{value:"课后及练习回访",label:"课后及练习回访"},{value:"练习及乐团表现",label:"练习及乐团表现"}]},{value:"其它",label:"其它",children:[{value:"其它",label:"其它"}]}],R=[{value:"课程推荐",label:"课程推荐",children:[{value:"新课推荐",label:"新课推荐"},{value:"续费提醒",label:"续费提醒"}]},{value:"常规回访",label:"常规回访",children:[{value:"课后及练习回访",label:"课后及练习回访"},{value:"练习及乐团表现",label:"练习及乐团表现"},{label:"考勤申诉",value:"考勤申诉"},{value:"异常请假回访",label:"异常请假回访"}]},{value:"小课回访",label:"小课回访",children:[{value:"续费类回访",label:"续费类回访"},{value:"服务回访",label:"服务回访"},{value:"其他",label:"其他"}]},{value:"学练宝",label:"学练宝",children:[{value:"体验回访",label:"体验回访"}]},{value:"其它",label:"其它",children:[{value:"其它",label:"其它"},{value:"会员续费",label:"会员续费"}]}],L=[{value:"YQPAY",label:"双乾"},{value:"BALANCE",label:"余额"},{value:"ADAPAY",label:"汇付"},{value:"YEEPAY",label:"易宝"}],A=[{value:"INSTRUMENT",label:"乐器销售"},{value:"ACCESSORIES",label:"配件销售"},{value:"SCHOOL_BUY",label:"学校采购"},{value:"OTHER",label:"其它"}],g=[{value:"INSTRUMENT",label:"乐器"},{value:"ACCESSORIES",label:"辅件"},{value:"TEACHING",label:"教材"},{value:"STAFF",label:"教谱"},{value:"OTHER",label:"其它"}],C=[{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:"高三"}],S=[{value:"INTERNAL",label:"内部"},{value:"EXTERNAL",label:"外部"},{value:"ALL",label:"全部"}],y=[{label:"不限制",value:"1"},{label:"线上不可调为线下",value:"0"},{label:"线下不可调为线上",value:"2"},{label:"线上线下不可互调",value:"3"}],M=ve(n["musicGroupType"]),j=ve(n["classTime"]),G=[{label:"课程收费",value:0},{label:"会员收费",value:2},{label:"免费",value:3}],P=ve(n["payOrderType"]),U=ve(n["auditType"]),x=ve(n["auditPaymentType"]),k=ve(n["orderServerType"]),H=ve(n["orderAuditType"]),D=ve(n["rewardModeType"]),V=ve(n["musicClassType"]),w=ve(n["ProbationPeriodStatus"]),B=ve(n["downListType"]),$=ve(n["conclusion"]),Y=ve(n["clientType"]),F=ve(n["couponType"]),q=ve(n["backType"]),X=ve(n["memberEnum"]),W=ve(n["coupontypeDetail"]),K=ve(n["issue"]),z=ve(n["feedbackType"]),J=ve(n["feedbackTypeDesc"]),Q=ve(n["campState"]),Z=ve(n["catgGoupType"]),ee=ve(n["catRole"]),le=ve(n["catType"]),ae=ve(n["quiteReason"]),te=ve(n["payUserType"]),ue=ve(n["levelStatus"]),ne=ve(n["evaluateStatus"]),re=ve(n["problemType"]),ie=ve(n["schoolUserType"]),se=ve(n["shareLiveType"]),oe=ve(n["courseEmnu"]),ce=ve(n["suggestionType"]),be=ve(n["scoreType"]);function ve(e){var l=[];for(var a in e)l.push({label:e[a],value:a});return l}var de=function(e){var l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:["value","label"],a=Object(u["a"])(l,2),n=a[0],r=a[1],i={};if(e&&e.length){var s,o=Object(t["a"])(e);try{for(o.s();!(s=o.n()).done;){var c=s.value;i[c[n]]=c[r]}}catch(b){o.e(b)}finally{o.f()}}return i}},a92e:function(e,l,a){},ac4e:function(e,l,a){"use strict";a.r(l);var t=function(){var e=this,l=e.$createElement,a=e._self._c||l;return a("div",{staticClass:"m-container"},[e._m(0),e._v(" "),a("div",{staticClass:"m-core"},[a("tab-router",{on:{"tab-click":e.handleClick},model:{value:e.activeIndex,callback:function(l){e.activeIndex="string"===typeof l?l.trim():l},expression:"activeIndex"}},[e.permission("/institutionGoodsRules")?a("el-tab-pane",{attrs:{label:"商品库存规则",lazy:"",name:"3"}},[3==e.activeIndex?a("goodsRules"):e._e()],1):e._e(),e._v(" "),e.permission("/institutionOtherRules")?a("el-tab-pane",{attrs:{label:"其他参数设置",lazy:"",name:"4"}},[4==e.activeIndex?a("otherRules"):e._e()],1):e._e(),e._v(" "),e.permission("/institutionLeBaoRules")?a("el-tab-pane",{attrs:{label:"乐保设置",lazy:"",name:"1"}},[1==e.activeIndex?a("leBaoRules"):e._e()],1):e._e(),e._v(" "),e.permission("musicGroupPlanMaking/queryAll")?a("el-tab-pane",{attrs:{label:"建团编制",lazy:"",name:"5"}},[5==e.activeIndex?a("teamNo"):e._e()],1):e._e()],1)],1)])},u=[function(){var e=this,l=e.$createElement,a=e._self._c||l;return a("h2",[a("div",{staticClass:"squrt"}),e._v("\n 大雅规则设置\n ")])}],n=(a("7f7f"),a("48d0")),r=a("eb6b"),i=a("4cb5"),s=a("dff8"),o=a("4e3e"),c=function(){var e=this,l=e.$createElement,a=e._self._c||l;return a("div",[a("div",[a("div",{staticClass:"btnWraps"},[e.$helpers.permission("musicGroupPlanMaking/add")?a("el-button",{attrs:{type:"primary"},on:{click:e.addNo}},[e._v("新建编制")]):e._e()],1),e._v(" "),a("div",{staticClass:"tableWrap"},[a("el-table",{attrs:{data:e.tableList,"header-cell-style":{background:"#EDEEF0",color:"#444"}}},[a("el-table-column",{attrs:{align:"center",prop:"id",label:"编号",width:"200px"}}),e._v(" "),a("el-table-column",{attrs:{align:"center",width:"200px",prop:"name",label:"编制名称"}}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"subjectName",label:"默认声部"}}),e._v(" "),a("el-table-column",{attrs:{align:"center",label:"操作",fixed:"right",width:"200px"},scopedSlots:e._u([{key:"default",fn:function(l){return[e.$helpers.permission("musicGroupPlanMaking/update")?a("el-button",{attrs:{type:"text"},on:{click:function(a){return e.resetTeamNo(l.row)}}},[e._v("\n 修改\n ")]):e._e()]}}])})],1)],1)]),e._v(" "),a("eidtTeamNo",{ref:"eidtTeamNo",on:{getList:e.getList}})],1)},b=[],v=(a("386d"),a("5530")),d=a("333d"),f=(a("1cc7"),a("a5b0"),a("92e3")),p=function(){var e=this,l=e.$createElement,a=e._self._c||l;return a("div",[a("el-dialog",{attrs:{title:e.form.id?"修改编制":"新增编制",visible:e.teamNoVisible,width:"600px"},on:{"update:visible":function(l){e.teamNoVisible=l}}},[a("el-form",{attrs:{model:e.form}},[a("el-form-item",{attrs:{label:"编制名称",prop:"name",rules:[{required:!0,message:"编制名称不能为空"}]}},[a("el-input",{attrs:{placeholder:"请输入编制名称"},model:{value:e.form.name,callback:function(l){e.$set(e.form,"name","string"===typeof l?l.trim():l)},expression:"form.name"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"默认声部",prop:"subjectIds",rules:[{required:!0,message:"默认声部不能为空"}]}},[a("el-select",{attrs:{clearable:"",filterable:"",multiple:"",placeholder:"请选择声部","collapse-tags":""},model:{value:e.form.subjectIds,callback:function(l){e.$set(e.form,"subjectIds","string"===typeof l?l.trim():l)},expression:"form.subjectIds"}},e._l(e.selects.subjects,(function(e,l){return a("el-option",{key:l,attrs:{value:e.id,label:e.name}})})),1),e._v(" "),a("div",{staticClass:"tagList"},e._l(e.chioseSoundList,(function(l){return a("el-tag",{key:l.name,staticStyle:{"margin-right":"5px"},attrs:{closable:""},on:{close:function(a){return e.handleClose(l)}}},[e._v("\n "+e._s(l.name)+"\n ")])})),1)],1)],1),e._v(" "),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(l){e.teamNoVisible=!1}}},[e._v("取 消")]),e._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:e.submit}},[e._v("确 定")])],1)],1)],1)},m=[],E=a("c7eb"),I=(a("96cf"),a("1da1")),h=(a("ac6a"),a("28a5"),a("84ee")),N={data:function(){return{form:{id:"",name:"",subjectIds:[]},teamNoVisible:!1}},mounted:function(){this.$store.dispatch("setSubjects")},methods:{openDialog:function(e){e&&e.id?this.form=Object(v["a"])(Object(v["a"])({},e),{},{subjectIds:e.subjectIdList.split(",").map((function(e){return 1*e}))}):this.form={id:"",name:"",subjectIds:[]},this.teamNoVisible=!0},handleClose:function(e){var l=this;console.log(e,"tag"),this.form.subjectIds.forEach((function(a,t){a==e.id&&l.form.subjectIds.splice(t,1)}))},submit:function(){var e=Object(I["a"])(Object(E["a"])().mark((function e(){return Object(E["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(e.prev=0,this.form.id){e.next=8;break}return e.next=4,Object(h["a"])(Object(v["a"])(Object(v["a"])({},this.form),{},{subjectIdList:this.form.subjectIds.join(",")}));case 4:e.sent,this.$message.success("新增成功"),e.next=12;break;case 8:return e.next=10,Object(h["d"])(Object(v["a"])(Object(v["a"])({},this.form),{},{subjectIdList:this.form.subjectIds.join(",")}));case 10:e.sent,this.$message.success("修改成功");case 12:this.$emit("getList"),this.teamNoVisible=!1,e.next=19;break;case 16:e.prev=16,e.t0=e["catch"](0),console.log(e.t0);case 19:case"end":return e.stop()}}),e,this,[[0,16]])})));function l(){return e.apply(this,arguments)}return l}()},computed:{chioseSoundList:function(){var e=this,l=[];return this.selects.subjects.forEach((function(a){-1!=e.form.subjectIds.indexOf(a.id)&&l.push(a)})),l}}},T=N,O=(a("b3e1"),a("2877")),_=Object(O["a"])(T,p,m,!1,null,"3570de36",null),R=_.exports,L={search:null,paymentType:null,status:"AUDITING",organId:null},A={components:{pagination:d["a"],eidtTeamNo:R},name:"helpCategory",data:function(){return{typesStatus:!1,selList:[],organList:[],statusList:f["f"],searchForm:Object(v["a"])({},L),tableList:[{}],pageInfo:{limit:10,page:1,total:0,page_size:[10,20,40,50]},detail:null,typeStatus:!1}},mounted:function(){this.$store.dispatch("setSubjects"),this.getList()},methods:{selectable:function(e,l){return"AUDITING"==e.status},search:function(){this.pageInfo.page=1,this.$refs.searchForm.save(this.searchForm),this.$refs.searchForm.save(this.pageInfo,"page"),this.getList()},reset:function(){this.searchForm=Object(v["a"])({},L),this.search()},getList:function(){var e=this;Object(v["a"])({page:this.pageInfo.page,rows:this.pageInfo.limit},this.searchForm);Object(h["c"])().then((function(l){if(console.log(l),200==l.code){var a=l.data.map((function(e){var l=[];if(e.subjectMap)for(var a in e.subjectMap)l.push(e.subjectMap[a]);return e.subjectName=l.join(","),e}));e.tableList=a,console.log(e.tableList," this.tableList")}}))},addNo:function(){this.$refs.eidtTeamNo.openDialog()},resetTeamNo:function(e){this.$refs.eidtTeamNo.openDialog(e)}}},g=A,C=(a("7e919"),Object(O["a"])(g,c,b,!1,null,"12018835",null)),S=C.exports,y=a("0056"),M=a("ec8a"),j={components:{goodsRules:s["a"],institutionRules:o["a"],overallManager:n["default"],dayaTeamRules:i["a"],otherRules:y["a"],leBaoRules:r["a"],teamNo:S},name:"baseRulersManager",data:function(){return{activeIndex:"1"}},methods:{permission:function(e){return Object(M["a"])(e)},handleClick:function(e){this.activeIndex=e.name}}},G=j,P=(a("603b"),Object(O["a"])(G,t,u,!1,null,"4a2dbe02",null));l["default"]=P.exports},b3e1:function(e,l,a){"use strict";a("806b")},d509:function(e,l,a){}}]);