1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-32d296d1"],{"09f4":function(t,e,n){"use strict";n.d(e,"a",(function(){return u})),Math.easeInOutQuad=function(t,e,n,a){return t/=a/2,t<1?n/2*t*t+e:(t--,-n/2*(t*(t-2)-1)+e)};var a=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(t){window.setTimeout(t,1e3/60)}}();function r(t){document.documentElement.scrollTop=t,document.body.parentNode.scrollTop=t,document.body.scrollTop=t}function i(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function u(t,e,n){var u=i(),o=t-u,s=20,c=0;e="undefined"===typeof e?500:e;var l=function t(){c+=s;var i=Math.easeInOutQuad(c,u,o,e);r(i),c<e?a(t):n&&"function"===typeof n&&n()};l()}},"15fd":function(t,e,n){"use strict";function a(t,e){if(null==t)return{};var n,a,r={},i=Object.keys(t);for(a=0;a<i.length;a++)n=i[a],e.indexOf(n)>=0||(r[n]=t[n]);return r}function r(t,e){if(null==t)return{};var n,r,i=a(t,e);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(t);for(r=0;r<u.length;r++)n=u[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}n.d(e,"a",(function(){return r}))},"26ed":function(t,e,n){"use strict";n("8930")},7695:function(t,e,n){"use strict";n("7f5b")},"7f5b":function(t,e,n){},8930:function(t,e,n){},"9c17":function(t,e,n){"use strict";n("dfec")},aa6d:function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"m-container"},[t._m(0),t._v(" "),n("div",{staticClass:"m-core"},[n("tab-router",{attrs:{type:"card"},on:{"tab-click":t.handleClick},model:{value:t.activeIndex,callback:function(e){t.activeIndex="string"===typeof e?e.trim():e},expression:"activeIndex"}},[t.permissionList.musicalManager?n("el-tab-pane",{attrs:{label:"声部设置(对内)",lazy:"",name:"0"}},[0==t.activeIndex?n("musicalManager"):t._e()],1):t._e(),t._v(" "),t.permissionList.musicalManagerOut?n("el-tab-pane",{attrs:{label:"声部设置(对外)",lazy:"",name:"1"}},[1==t.activeIndex?n("musicalManagerOut"):t._e()],1):t._e()],1)],1)])},r=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("h2",[n("div",{staticClass:"squrt"}),t._v("\n 声部设置\n ")])}],i=(n("7f7f"),function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"m-container"},[n("div",{staticClass:"m-core"},[n("el-row",{staticClass:"music-title"},[n("el-col",{attrs:{span:6}},[t._v("\n 一级分类\n "),n("el-popover",{directives:[{name:"permission",rawName:"v-permission",value:"subject/upset/insert",expression:"'subject/upset/insert'"}],attrs:{placement:"right",width:"300",trigger:"click"}},[n("el-input",{staticStyle:{width:"70%"},attrs:{size:"medium",autocomplete:"off"},model:{value:t.oneTypeName,callback:function(e){t.oneTypeName="string"===typeof e?e.trim():e},expression:"oneTypeName"}}),t._v(" "),n("el-button",{staticStyle:{margin:"0"},attrs:{type:"primary",size:"medium"},on:{click:t.onAddMusic}},[t._v("提交")]),t._v(" "),n("el-button",{attrs:{slot:"reference",type:"primary",size:"mini",round:"",icon:"el-icon-plus"},slot:"reference"},[t._v("添加")])],1)],1),t._v(" "),n("el-col",{attrs:{span:18}},[t._v("\n 二级分类\n ")])],1),t._v(" "),t._l(t.subjectList,(function(e,a){return n("el-row",{key:e.id},[n("el-col",{attrs:{span:6}},[n("el-button",{directives:[{name:"permission",rawName:"v-permission",value:"subject/upset/del",expression:"'subject/upset/del'"}],attrs:{icon:"el-icon-delete",circle:""},on:{click:function(n){return t.subjectDelete(e)}}}),t._v(" "),n("span",{staticClass:"one_name"},[t._v(t._s(e.name))])],1),t._v(" "),n("el-col",{staticClass:"tow_col",attrs:{span:18}},[t._l(e.subjects,(function(e){return n("el-tag",{key:e.id,attrs:{type:"info",effect:"dark",closable:t.$helpers.permission("subject/upset/del"),"disable-transitions":!1},on:{close:function(n){return t.subjectDelete(e)}}},[t._v(" "+t._s(e.name))])})),t._v(" "),n("span",{staticStyle:{display:"inline-block"}},[e.inputStatus?n("el-input",{key:"tag",ref:"saveTagInput",refInFor:!0,staticClass:"input-new-tag",attrs:{size:"small"},model:{value:t.inputValue[a],callback:function(e){t.$set(t.inputValue,a,"string"===typeof e?e.trim():e)},expression:"inputValue[index]"}}):n("el-button",{directives:[{name:"permission",rawName:"v-permission",value:"subject/upset/insert",expression:"'subject/upset/insert'"}],key:"tag",attrs:{type:"primary",size:"mini",round:"",icon:"el-icon-plus"},on:{click:function(t){e.inputStatus=!0}}},[t._v("添加")]),t._v(" "),e.inputStatus?n("el-button",{attrs:{type:"info",size:"mini",round:"",icon:"el-icon-check"},on:{click:function(n){return t.onSave(e,a)}}},[t._v("保存")]):t._e()],1)],2)],1)}))],2)])}),u=[],o=(n("ac6a"),n("333d")),s=n("d349"),c={components:{pagination:o["a"]},name:"musicalManager",data:function(){return{oneTypeName:null,subjectList:[],inputValue:[]}},mounted:function(){this.getList()},methods:{onAddMusic:function(){var t=this;this.oneTypeName&&Object(s["H"])({parentSubjectId:0,tenantId:1,name:this.oneTypeName}).then((function(e){t.messageTips("添加",e),200==e.code&&(t.oneTypeName=null)}))},onSave:function(t,e){var n=this;this.inputValue[e]&&Object(s["H"])({parentSubjectId:t.id,tenantId:1,name:this.inputValue[e]}).then((function(t){n.messageTips("添加",t),200==t.code&&(n.inputValue[e]=null)}))},subjectDelete:function(t){var e=this;this.$confirm("是否确认删除分类","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){Object(s["H"])({delFlag:"YES",id:t.id}).then((function(t){e.messageTips("删除",t)}))}))},messageTips:function(t,e){200==e.code?(this.$message.success(t+"成功"),this.getList()):this.$message.error(e.msg)},getList:function(){var t=this;Object(s["G"])({delFlag:"NO",tenantId:1,rows:9999}).then((function(e){var n=e.data;if(200==e.code){var a=[];n.rows.forEach((function(t){t.inputStatus=!1,a.push(t)})),t.subjectList=a}}))}}},l=c,d=(n("7695"),n("2877")),p=Object(d["a"])(l,i,u,!1,null,"971fc5b8",null),m=p.exports,f=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"m-container"},[n("div",{staticClass:"m-core"},[n("el-row",{staticClass:"music-title"},[n("el-col",{attrs:{span:6}},[t._v("\n 一级分类\n "),n("el-popover",{directives:[{name:"permission",rawName:"v-permission",value:"subject/upset/insert2",expression:"'subject/upset/insert2'"}],attrs:{placement:"right",width:"300",trigger:"click"}},[n("el-input",{staticStyle:{width:"70%"},attrs:{size:"medium",autocomplete:"off"},model:{value:t.oneTypeName,callback:function(e){t.oneTypeName="string"===typeof e?e.trim():e},expression:"oneTypeName"}}),t._v(" "),n("el-button",{staticStyle:{margin:"0"},attrs:{type:"primary",size:"medium"},on:{click:t.onAddMusic}},[t._v("提交")]),t._v(" "),n("el-button",{attrs:{slot:"reference",type:"primary",size:"mini",round:"",icon:"el-icon-plus"},slot:"reference"},[t._v("添加")])],1)],1),t._v(" "),n("el-col",{attrs:{span:18}},[t._v("\n 二级分类\n ")])],1),t._v(" "),t._l(t.subjectList,(function(e,a){return n("el-row",{key:e.id},[n("el-col",{attrs:{span:6}},[n("el-button",{attrs:{icon:"el-icon-delete",circle:""},on:{click:function(n){return t.subjectDelete(e)}}}),t._v(" "),n("span",{staticClass:"one_name"},[t._v(t._s(e.name))])],1),t._v(" "),n("el-col",{staticClass:"tow_col",attrs:{span:18}},[t._l(e.subjects,(function(e){return n("el-tag",{key:e.id,attrs:{type:"info",effect:"dark",closable:t.$helpers.permission("subject/upset/del2"),"disable-transitions":!1},on:{close:function(n){return t.subjectDelete(e)}}},[t._v(" "+t._s(e.name))])})),t._v(" "),n("span",{staticStyle:{display:"inline-block"}},[e.inputStatus?n("el-input",{key:"tag",ref:"saveTagInput",refInFor:!0,staticClass:"input-new-tag",attrs:{size:"small"},model:{value:t.inputValue[a],callback:function(e){t.$set(t.inputValue,a,"string"===typeof e?e.trim():e)},expression:"inputValue[index]"}}):n("el-button",{directives:[{name:"permission",rawName:"v-permission",value:"subject/upset/insert2",expression:"'subject/upset/insert2'"}],key:"tag",attrs:{type:"primary",size:"mini",round:"",icon:"el-icon-plus"},on:{click:function(t){e.inputStatus=!0}}},[t._v("添加")]),t._v(" "),e.inputStatus?n("el-button",{attrs:{type:"info",size:"mini",round:"",icon:"el-icon-check"},on:{click:function(n){return t.onSave(e,a)}}},[t._v("保存")]):t._e()],1)],2)],1)}))],2)])},g=[],b={components:{pagination:o["a"]},name:"musicalManager",data:function(){return{oneTypeName:null,subjectList:[],inputValue:[]}},mounted:function(){this.getList()},methods:{onAddMusic:function(){var t=this;this.oneTypeName&&Object(s["H"])({parentSubjectId:0,tenantId:2,name:this.oneTypeName}).then((function(e){t.messageTips("添加",e),200==e.code&&(t.oneTypeName=null)}))},onSave:function(t,e){var n=this;this.inputValue[e]&&Object(s["H"])({parentSubjectId:t.id,tenantId:2,name:this.inputValue[e]}).then((function(t){n.messageTips("添加",t),200==t.code&&(n.inputValue[e]=null)}))},subjectDelete:function(t){var e=this;this.$confirm("是否确认删除该分类","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){Object(s["H"])({delFlag:"YES",id:t.id}).then((function(t){e.messageTips("删除",t)}))}))},messageTips:function(t,e){200==e.code?(this.$message.success(t+"成功"),this.getList()):this.$message.error(e.msg)},getList:function(){var t=this;Object(s["G"])({delFlag:"NO",tenantId:2,rows:9999}).then((function(e){var n=e.data;if(200==e.code){var a=[];n.rows.forEach((function(t){t.inputStatus=!1,a.push(t)})),t.subjectList=a}}))}}},h=b,v=(n("9c17"),Object(d["a"])(h,f,g,!1,null,"94e122ce",null)),y=v.exports,j=n("ec8a"),O={components:{musicalManager:m,musicalManagerOut:y},name:"globalConfig",data:function(){return{activeIndex:"0",permissionList:{musicalManager:Object(j["a"])("/globalConfig/musicalManager"),musicalManagerOut:Object(j["a"])("/globalConfig/musicalManagerOut")}}},methods:{handleClick:function(t){this.activeIndex=t.name}}},_=O,T=(n("26ed"),Object(d["a"])(_,a,r,!1,null,"a0896b6e",null));e["default"]=T.exports},d349:function(t,e,n){"use strict";n.d(e,"e",(function(){return c})),n.d(e,"d",(function(){return l})),n.d(e,"f",(function(){return d})),n.d(e,"c",(function(){return p})),n.d(e,"s",(function(){return m})),n.d(e,"G",(function(){return f})),n.d(e,"H",(function(){return g})),n.d(e,"h",(function(){return b})),n.d(e,"l",(function(){return h})),n.d(e,"g",(function(){return v})),n.d(e,"m",(function(){return y})),n.d(e,"v",(function(){return j})),n.d(e,"t",(function(){return O})),n.d(e,"u",(function(){return _})),n.d(e,"i",(function(){return T})),n.d(e,"j",(function(){return w})),n.d(e,"p",(function(){return S})),n.d(e,"k",(function(){return k})),n.d(e,"w",(function(){return C})),n.d(e,"I",(function(){return z})),n.d(e,"n",(function(){return x})),n.d(e,"x",(function(){return I})),n.d(e,"A",(function(){return N})),n.d(e,"y",(function(){return M})),n.d(e,"z",(function(){return q})),n.d(e,"r",(function(){return F})),n.d(e,"b",(function(){return L})),n.d(e,"F",(function(){return P})),n.d(e,"q",(function(){return V})),n.d(e,"E",(function(){return $})),n.d(e,"a",(function(){return E})),n.d(e,"o",(function(){return D})),n.d(e,"C",(function(){return H})),n.d(e,"B",(function(){return A})),n.d(e,"D",(function(){return G}));var a=n("15fd"),r=n("b775"),i=n("829b"),u=n("4328"),o=n.n(u),s="/api-web";function c(t){return Object(r["a"])({url:s+"/organization/queryPage",method:"get",params:t})}function l(t){return Object(r["a"])({url:s+"/organization/add",method:"post",data:o.a.stringify(t)})}function d(t){return Object(r["a"])({url:s+"/organization/update",method:"post",data:o.a.stringify(t)})}function p(t){return Object(r["a"])({url:s+"/area/queryChild",method:"get",params:t})}function m(t){return Object(r["a"])({url:s+"/area/getParentArea/".concat(t.id),method:"get"})}function f(t){return Object(r["a"])({url:s+"/subject/queryPageTree",method:"get",params:t})}function g(t){return Object(r["a"])({url:s+"/subject/upset",method:"post",data:t})}function b(t){return Object(r["a"])({url:s+"/chargeType/queryPage",method:"get",params:t})}function h(t){return Object(r["a"])({url:s+"/chargeType/upSet",method:"post",data:t})}function v(t){return Object(r["a"])({url:s+"/chargeType/del/".concat(t),method:"post"})}function y(t){return Object(r["a"])({url:s+"/courseHomeworkTemplate/queryPage",method:"post",data:t})}function j(t){return Object(r["a"])({url:s+"/courseHomeworkTemplate/update",method:"post",data:o.a.stringify(t)})}function O(t){return Object(r["a"])({url:s+"/courseHomeworkTemplate/add",method:"post",data:o.a.stringify(t)})}function _(t){return Object(r["a"])({url:s+"/courseHomeworkTemplate/del/".concat(t),method:"post"})}function T(t){return Object(r["a"])({url:s+"/chargeTypeOrganizationFee/add",method:"post",data:o.a.stringify(t)})}function w(t){return Object(r["a"])({url:s+"/chargeTypeOrganizationFee/update",method:"post",data:o.a.stringify(t)})}function S(t){return Object(r["a"])({url:s+"/employee/findEducationTeacher",method:"get",params:t})}function k(t){return Object(i["a"])({url:s+"/chargeTypeSubjectMapper/queryPage",method:"get",data:{},params:t,requestType:"form"})}function C(t){return Object(i["a"])({url:s+"/chargeTypeSubjectMapper/insert",method:"post",data:t})}function z(t){return Object(i["a"])({url:s+"/chargeTypeSubjectMapper/update",method:"post",data:t})}function x(t){var e=t.id,n=Object(a["a"])(t,["id"]);return Object(i["a"])({url:s+"/chargeTypeSubjectMapper/del/"+e,method:"post",params:n})}function I(t){return Object(i["a"])({url:s+"/musicGroupOrganizationCourseSettings/add",method:"post",data:t})}function N(t){return Object(i["a"])({url:s+"/musicGroupOrganizationCourseSettings/update",method:"post",data:t})}function M(t){return Object(i["a"])({url:s+"/musicGroupOrganizationCourseSettings/delSetting",method:"post",data:{},params:t,requestType:"form"})}function q(t){return Object(i["a"])({url:s+"/musicGroupOrganizationCourseSettings/queryPage",method:"get",data:{},params:t,requestType:"form"})}function F(t){return Object(i["a"])({url:s+"/organizationCourseUnitPriceSettings/queryPage",method:"get",params:t,data:{},requestType:"form"})}function L(t){return Object(i["a"])({url:s+"/organizationCourseUnitPriceSettings/insert",method:"post",data:t})}function P(t){return Object(i["a"])({url:s+"/organizationCourseUnitPriceSettings/update",method:"post",data:t})}function V(t){return Object(i["a"])({url:s+"/organizationCourseDurationSettings/queryPage",method:"get",data:{},params:t})}function $(t){return Object(i["a"])({url:s+"/organizationCourseDurationSettings/update",method:"post",params:t})}function E(t){return Object(i["a"])({url:s+"/organizationCourseDurationSettings/insert",method:"post",params:t})}function D(t){return Object(i["a"])({url:s+"/organizationCourseDurationSettings/del",method:"post",data:t})}function H(t){return Object(i["a"])({url:s+"/organizationCloudTeacherFee/queryPage",method:"get",params:t})}function A(t){return Object(i["a"])({url:s+"/organizationCloudTeacherFee/add",method:"post",requestType:"form",data:t})}function G(t){return Object(i["a"])({url:s+"/organizationCloudTeacherFee/update",method:"post",requestType:"form",data:t})}},dfec:function(t,e,n){}}]);
|