1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-90bc8dd8"],{"7e78":function(t,e,r){"use strict";r.d(e,"M",function(){return o}),r.d(e,"k",function(){return c}),r.d(e,"p",function(){return s}),r.d(e,"c",function(){return d}),r.d(e,"H",function(){return l}),r.d(e,"D",function(){return p}),r.d(e,"a",function(){return f}),r.d(e,"E",function(){return m}),r.d(e,"B",function(){return g}),r.d(e,"j",function(){return h}),r.d(e,"K",function(){return v}),r.d(e,"L",function(){return b}),r.d(e,"b",function(){return O}),r.d(e,"F",function(){return G}),r.d(e,"C",function(){return y}),r.d(e,"y",function(){return j}),r.d(e,"v",function(){return C}),r.d(e,"w",function(){return S}),r.d(e,"n",function(){return P}),r.d(e,"z",function(){return T}),r.d(e,"o",function(){return M}),r.d(e,"x",function(){return w}),r.d(e,"t",function(){return F}),r.d(e,"G",function(){return _}),r.d(e,"u",function(){return A}),r.d(e,"i",function(){return V}),r.d(e,"h",function(){return k}),r.d(e,"I",function(){return I}),r.d(e,"m",function(){return U}),r.d(e,"g",function(){return D}),r.d(e,"J",function(){return L}),r.d(e,"e",function(){return x}),r.d(e,"s",function(){return E}),r.d(e,"q",function(){return $}),r.d(e,"d",function(){return q}),r.d(e,"f",function(){return B}),r.d(e,"N",function(){return J}),r.d(e,"r",function(){return N}),r.d(e,"A",function(){return H}),r.d(e,"l",function(){return R});var n=r("b775"),a=r("4328"),u=r.n(a),i="/api-web";function o(t){return Object(n["a"])({url:i+"/vipGroupCategory/queryAll",method:"get",params:t})}function c(t){return Object(n["a"])({url:i+"/vipGroupCategory/findTeacherDefaultSalary",method:"post",data:u.a.stringify(t)})}function s(t){return Object(n["a"])({url:i+"/vipGroupDefaultClassesCycle/queryAll",method:"get",params:t})}function d(t){return Object(n["a"])({url:i+"/vipGroupCategory/add",method:"post",data:u.a.stringify(t)})}function l(t){return Object(n["a"])({url:i+"/vipGroupCategory/update",method:"post",data:u.a.stringify(t)})}function p(t){return Object(n["a"])({url:i+"/vipGroupCategory/delete",method:"post",data:u.a.stringify(t)})}function f(t){return Object(n["a"])({url:i+"/vipGroupDefaultClassesCycle/add",method:"post",data:u.a.stringify(t)})}function m(t){return Object(n["a"])({url:i+"/vipGroupDefaultClassesCycle/update",method:"post",data:u.a.stringify(t)})}function g(t){return Object(n["a"])({url:i+"/vipGroupDefaultClassesCycle/delete",method:"post",data:u.a.stringify(t)})}function h(t){return Object(n["a"])({url:i+"/vipGroupDefaultClassesUnitPrice/add",method:"post",data:u.a.stringify(t)})}function v(t){return Object(n["a"])({url:i+"/vipGroupActivity/queryPage",method:"get",params:t})}function b(t){return Object(n["a"])({url:i+"/vipGroupActivity/findByVipGroupCategory",method:"get",params:t})}function O(t){return Object(n["a"])({url:i+"/vipGroupActivity/addVipGroupActivity",method:"POST",data:t})}function G(t){return Object(n["a"])({url:i+"/vipGroupActivity/update",method:"POST",data:t})}function y(t){return Object(n["a"])({url:i+"/vipGroupActivity/delete",method:"POST",data:u.a.stringify(t)})}function j(t){return Object(n["a"])({url:i+"/vipGroupManage/queryAll",method:"GET",params:t})}function C(t){return Object(n["a"])({url:i+"/vipGroupManage/getVipGroupDetail",method:"GET",params:t})}function S(t){return Object(n["a"])({url:i+"/vipGroupManage/getVipGroupDetailForAudit",method:"GET",params:t})}function P(t){return Object(n["a"])({url:i+"/vipGroupManage/findVipGroupStudents",method:"GET",params:t})}function T(t){return Object(n["a"])({url:i+"/vipGroupManage/applyRefundForStudent",method:"POST",data:u.a.stringify(t)})}function M(t){return Object(n["a"])({url:i+"/vipGroupManage/findVipGroupTeachingRecord",method:"get",params:t})}function w(t){return Object(n["a"])({url:i+"/vipGroupManage/findVipGroupSalarys",method:"get",params:t})}function F(t){return Object(n["a"])({url:i+"/vipGroupManage/findVipGroupAttendanceStudents",method:"get",params:t})}function _(t){return Object(n["a"])({url:i+"/vipGroupManage/classStartDateAdjust",method:"POST",data:u.a.stringify(t)})}function A(t){return Object(n["a"])({url:i+"/vipGroupManage/getVipGroupCostCount",method:"POST",params:t})}function V(t){return Object(n["a"])({url:i+"/vipGroupManage/vipGroupApply",method:"POST",data:t})}function k(t){return Object(n["a"])({url:i+"/vipGroupManage/stopVipGroup",method:"POST",data:u.a.stringify(t)})}function I(t){return Object(n["a"])({url:i+"/vipGroupManage/updateVipBaseInfo",method:"POST",data:t})}function U(t){return Object(n["a"])({url:i+"/courseSchedule/findVipGroupCourseSchedules",method:"POST",data:u.a.stringify(t)})}function D(t){return Object(n["a"])({url:i+"/courseSchedule/batchDelete",method:"POST",data:u.a.stringify(t)})}function L(t){return Object(n["a"])({url:i+"/courseSchedule/vipCourseAdjust",method:"POST",data:t})}function x(t){return Object(n["a"])({url:i+"/vipGroupManage/appendVipGroupCourseSchedules",method:"POST",data:t})}function E(t){return Object(n["a"])({url:i+"/vipGroupManage/getStudentSurplusCourseFee",method:"get",params:t})}function $(t){return Object(n["a"])({url:i+"/vipGroupManage/findHaveCourseBalanceStudents",method:"get",params:t})}function q(t){return Object(n["a"])({url:i+"/vipGroupManage/addVipGroupStudents",method:"get",params:t})}function B(t){return Object(n["a"])({url:i+"/courseSchedule/batchAppendVipGroupCourses",method:"POST",data:t})}function J(t){return Object(n["a"])({url:i+"/vipGroupManage/pauseForStudent",method:"POST",data:u.a.stringify(t)})}function N(t){return Object(n["a"])({url:i+"/vipGroupManage/getStudentPauseInfo",method:"POST",data:u.a.stringify(t)})}function H(t){return Object(n["a"])({url:i+"/vipGroupManage/recoverForStudent",method:"POST",data:t})}function R(t){return Object(n["a"])({url:i+"/vipGroupManage/findTeacherWithVipGroupOrganAndSubject",method:"get",params:t})}},c95c:function(t,e,r){"use strict";r.r(e);var n=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"m-container"},[t._m(0),t._v(" "),r("div",{staticClass:"m-core"},[r("el-form",{staticClass:"searchForm",attrs:{inline:!0},model:{value:t.searchForm,callback:function(e){t.searchForm="string"===typeof e?e.trim():e},expression:"searchForm"}},[r("el-form-item",{attrs:{prop:"organId"}},[r("el-select",{staticClass:"multiple",staticStyle:{width:"180px!important"},attrs:{filterable:"",placeholder:"请选择分部"},model:{value:t.searchForm.organId,callback:function(e){t.$set(t.searchForm,"organId","string"===typeof e?e.trim():e)},expression:"searchForm.organId"}},t._l(t.organList,function(t,e){return r("el-option",{key:e,attrs:{label:t.name,value:t.id}})}),1)],1),t._v(" "),r("el-form-item",[r("el-button",{attrs:{type:"danger"},on:{click:t.search}},[t._v("搜索")])],1)],1),t._v(" "),r("div",{staticClass:"tableWrap"},[r("el-table",{staticStyle:{width:"720px"},attrs:{data:t.dataList,"header-cell-style":{background:"#EDEEF0",color:"#444"}}},[r("el-table-column",{attrs:{prop:"name",label:"课程形式",width:"180"}}),t._v(" "),r("el-table-column",{attrs:{prop:"onlineClassesUnitPrice",label:"线上课单价",width:"180"},scopedSlots:t._u([{key:"default",fn:function(e){return[r("div",[r("el-input",{model:{value:e.row.onlineClassesUnitPrice,callback:function(r){t.$set(e.row,"onlineClassesUnitPrice","string"===typeof r?r.trim():r)},expression:"scope.row.onlineClassesUnitPrice"}})],1)]}}])}),t._v(" "),r("el-table-column",{attrs:{prop:"offlineClassesUnitPrice",label:"线下课单价",width:"180"},scopedSlots:t._u([{key:"default",fn:function(e){return[r("div",[r("el-input",{model:{value:e.row.offlineClassesUnitPrice,callback:function(r){t.$set(e.row,"offlineClassesUnitPrice","string"===typeof r?r.trim():r)},expression:"scope.row.offlineClassesUnitPrice"}})],1)]}}])}),t._v(" "),r("el-table-column",{attrs:{label:"操作",width:"180"},scopedSlots:t._u([{key:"default",fn:function(e){return[r("div",[r("el-button",{directives:[{name:"permission",rawName:"v-permission",value:"vipGroupDefaultClassesUnitPrice/add",expression:"'vipGroupDefaultClassesUnitPrice/add'"}],attrs:{type:"text"},on:{click:function(r){return t.saveSeting(e.row)}}},[t._v("保存")])],1)]}}])})],1)],1)],1)])},a=[function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("h2",[r("div",{staticClass:"squrt"}),t._v("VIP课程收费设置\n ")])}],u=r("7e78"),i=r("1cc7"),o={name:"vipChargeSeting",data:function(){return{dataList:[],organList:[],searchForm:{organId:null}}},mounted:function(){var t=this;Object(i["N"])().then(function(e){200==e.code&&(t.organList=e.data,t.searchForm.organId=t.organList[0].id,t.organList[0].id&&t.getList())})},methods:{search:function(){this.getList()},getList:function(){var t=this;Object(u["M"])({organId:this.searchForm.organId}).then(function(e){200==e.code&&(t.dataList=e.data)})},saveSeting:function(t){var e=this;Object(u["j"])({offlineClassesUnitPrice:t.offlineClassesUnitPrice,onlineClassesUnitPrice:t.onlineClassesUnitPrice,organId:this.searchForm.organId,vipGroupCategoryId:t.id}).then(function(t){200==t.code?e.$message.success("保存成功"):e.$message.error("保存失败,请重试")})}}},c=o,s=r("2877"),d=Object(s["a"])(c,n,a,!1,null,null,null);e["default"]=d.exports}}]);
|