1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0c7b40"],{"526c":function(t,e,a){"use strict";a.r(e);var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"m-container"},[a("h2",[t._v("\n 乐团修改\n ")]),t._v(" "),a("div",{staticClass:"m-core"},[a("el-tabs",{attrs:{type:"card"},on:{"tab-click":t.handleClick},model:{value:t.activeIndex,callback:function(e){t.activeIndex=e},expression:"activeIndex"}},[a("el-tab-pane",{attrs:{label:"基本信息",name:"1"}},[t.acitveStatus[0]?a("teamBaseInfo"):t._e()],1),t._v(" "),a("el-tab-pane",{attrs:{label:"声部修改",name:"2"}},[t.acitveStatus[1]?a("resetSound"):t._e()],1),t._v(" "),a("el-tab-pane",{attrs:{label:"班级调整",name:"3"}},[t.acitveStatus[2]?a("resetClass"):t._e()],1),t._v(" "),a("el-tab-pane",{attrs:{label:"新增排课",name:"4"}},[t.acitveStatus[3]?a("coursePlan",{attrs:{teamid:t.teamid}}):t._e()],1)],1)],1)])},s=[],l=(a("7f7f"),a("80b0")),i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("el-table",{attrs:{data:t.tableList,"header-cell-style":{background:"#EDEEF0",color:"#444"}}},[a("el-table-column",{attrs:{align:"center",width:"180px;",prop:"subName",label:"声部名称"}}),t._v(" "),a("el-table-column",{attrs:{align:"left",prop:"fee",label:"预计收费"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",[a("el-input",{staticStyle:{width:"100px"},model:{value:e.row.fee,callback:function(a){t.$set(e.row,"fee",a)},expression:"scope.row.fee"}})],1)]}}])})],1),t._v(" "),a("div",{staticClass:"btnWrap",staticStyle:{"margin-top":"30px"}},[a("div",{staticClass:"closeBtn",on:{click:t.getSound}},[t._v("取消")]),t._v(" "),a("div",{staticClass:"okBtn",on:{click:t.saveInfo}},[t._v("保存")])])],1)},c=[],o=a("1cc7"),u={data:function(){return{tableList:[],teamid:""}},mounted:function(){this.teamid=this.$route.query.id,this.getSound()},methods:{getSound:function(){var t=this;Object(o["n"])({musicGroupId:this.teamid}).then((function(e){200==e.code&&(t.tableList=e.data.musicGroupSubjectPlans)}))},saveInfo:function(){Object(o["db"])(this.tableList).then((function(t){t.code}))}}},r=u,d=a("2877"),v=Object(d["a"])(r,i,c,!1,null,null,null),b=v.exports,f=a("8f2a"),m=a("bd11"),p={components:{teamBaseInfo:l["a"],resetSound:b,resetClass:f["default"],coursePlan:m["a"]},data:function(){return{activeIndex:"1",acitveStatus:[!0,!1,!1,!1,!1,!1,!1],teamid:""}},mounted:function(){this.teamid=this.$route.query.id},methods:{handleClick:function(t){this.activeIndex=t.name,this.acitveStatus[t.name-1]=!0}}},h=p,_=Object(d["a"])(h,n,s,!1,null,null,null);e["default"]=_.exports}}]);
|