1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-35d01abf"],{"0966":function(t,e,a){},1561:function(t,e,a){"use strict";a("9046")},"26a4":function(t,e,a){"use strict";a("930a")},"42bc":function(t,e,a){},"6fca":function(t,e,a){"use strict";a("e301")},"7a47":function(t,e,a){"use strict";a.r(e);var s=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"m-container"},[t._m(0),t._v(" "),a("div",{staticClass:"m-core"},[a("div",{staticClass:"descriptions-container"},[a("div",{staticClass:"descriptions"},[a("div",{staticClass:"title"},[t._v("服务信息")]),t._v(" "),a("el-row",{staticStyle:{padding:"0 20px"}},[a("el-col",{staticClass:"border",attrs:{span:12}},[a("el-row",[a("el-col",{attrs:{span:24}},[t._v("当前版本:"),a("span",{staticClass:"color"},[t._v(t._s(t.dataInfo.serverName))])]),t._v(" "),a("el-col",{attrs:{span:24}},[t._v("服务有效期:"),t.dataInfo.expiryDate&&t.dataInfo.expiryDateEnd?a("span",{staticClass:"color"},[t._v(t._s(t.dataInfo.expiryDate)+" ~ "+t._s(t.dataInfo.expiryDateEnd))]):t._e()])],1)],1),t._v(" "),a("el-col",{attrs:{span:10,offset:2}},[a("el-row",[a("el-col",{attrs:{span:24}},[t._v("学员上限:"),a("span",[a("span",{staticClass:"color"},[t._v(t._s(t.dataInfo.studentNum))]),t._v(" / "+t._s(t.dataInfo.studentUpLimit)+"人")])]),t._v(" "),a("el-col",{attrs:{span:24}},[t._v("有效期剩余:"),a("span",{staticClass:"color"},[t._v(t._s(t.dataInfo.validRemaining)+"天")])])],1)],1)],1)],1),t._v(" "),a("div",{staticClass:"descriptions"},[a("div",{staticClass:"title"},[t._v("云教室余额 "),a("el-button",{attrs:{type:"text"},on:{click:t.onDetail}},[t._v("扣费记录 >>")])],1),t._v(" "),a("el-row",{staticStyle:{padding:"0 20px"}},[a("el-col",{attrs:{span:24}},[t._v("云教室总余额:"),a("span",{staticClass:"color"},[t._v(t._s(t._f("hasMoneyFormat")(t.dataInfo.balance)))])])],1)],1)]),t._v(" "),a("tab-router",{ref:"tab",model:{value:t.activeIndex,callback:function(e){t.activeIndex=e},expression:"activeIndex"}},[t.permission("/serviceRenew")?a("el-tab-pane",{attrs:{label:"服务续费",lazy:"",name:"1"}},[1==t.activeIndex?a("service-renew"):t._e()],1):t._e(),t._v(" "),t.permission("/cloudRecharge")?a("el-tab-pane",{attrs:{label:"云教室充值",lazy:"",name:"2"}},[2==t.activeIndex?a("cloud-recharge"):t._e()],1):t._e()],1)],1)])},n=[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("h2",[a("div",{staticClass:"squrt"}),t._v("产品服务\n ")])}],r=(a("96cf"),a("1da1")),i=a("ade3"),l=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"cloudRecharge"},[a("div",{staticClass:"descriptions-container"},[t._m(0),t._v(" "),a("div",{staticClass:"descriptions"},[a("div",{staticClass:"title"},[t._v("云教室扣费标准")]),t._v(" "),a("div",{staticClass:"tips"},[a("p",{staticStyle:{"padding-bottom":"10px"}},[t._v("以1v1课程,既老师学员1对1教学,45分钟课程为例,每分钟收费标准0.2元,则该课程结束后将扣除云教室费用45分钟*0.2元/分钟=9元")]),t._v(" "),a("el-table",{staticStyle:{width:"100%"},attrs:{data:t.tableData,border:"","header-cell-style":{background:"#EDEEF0",color:"#444"}}},[a("el-table-column",{attrs:{align:"center",label:"云教室扣费标准",width:"180"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.num)+"人\n ")]}}])}),t._v(" "),a("el-table-column",{attrs:{align:"center",label:"云教室扣费标准"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.minute)+"元/分钟\n ")]}}])})],1)],1)])]),t._v(" "),a("el-form",{ref:"form",attrs:{inline:"",model:t.form,"label-width":"80px"}},[a("el-form-item",{attrs:{label:"充值金额",prop:"amount",rules:[{required:!0,message:"请输入充值金额",trigger:"blur"},{required:!0,validator:t.validPrice,trigger:"blur"}]}},[a("el-input",{attrs:{placeholder:"请输入充值金额",oninput:"value=value.indexOf('.') > -1?value.slice(0, value.indexOf('.') + 3):value",type:"number"},model:{value:t.form.amount,callback:function(e){t.$set(t.form,"amount",e)},expression:"form.amount"}},[a("div",{attrs:{slot:"append"},slot:"append"},[t._v("元")])])],1),t._v(" "),a("el-form-item",[t.$helpers.permission("tenantInfo/recharge")?a("el-button",{attrs:{type:"primary"},on:{click:t.onRecharge}},[t._v("确认充值")]):t._e()],1)],1),t._v(" "),t.cloudVisible?a("el-dialog",{attrs:{title:"服务订单",visible:t.cloudVisible,width:"1000px","append-to-body":""},on:{"update:visible":function(e){t.cloudVisible=e}}},[a("rechargeModel",{attrs:{amount:t.form.amount},on:{close:function(e){t.cloudVisible=!1}}})],1):t._e()],1)},o=[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"descriptions"},[a("div",{staticClass:"title"},[t._v("云教室扣费规则")]),t._v(" "),a("div",{staticClass:"tips",staticStyle:{"line-height":"30px"}},[t._v("\n 1.系统根据线上课课程人数(含老师)进行扣费;"),a("br"),t._v("\n 2.用户人数2人(含老师)每分钟0.2元;用户人数3人(含老师)每分钟0.5元;"),a("br"),t._v("\n 3.每节线上课平台赠送10分钟免费时,长分别为课前5分钟及课后5分钟,总送时长不计算费用;"),a("br"),t._v("\n 4.扣费金额按排课人数计算,无论实际到课人数是否为排课人数,都会按照排课人数扣费"),a("br"),t._v("\n 5.课程结束后费用立即结算。\n ")])])}],c=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"chioseWrap"},[a("el-form",{ref:"payForm",attrs:{inline:!0,model:t.payForm}},[a("el-form-item",{attrs:{prop:"payType",rules:[{required:!0,message:"请选择支付方式",trigger:"change"}]}},[a("el-select",{staticStyle:{width:"180px"},attrs:{clearable:"",filterable:"",placeholder:"请选择支付方式"},model:{value:t.payForm.payType,callback:function(e){t.$set(t.payForm,"payType","string"===typeof e?e.trim():e)},expression:"payForm.payType"}},[a("el-option",{attrs:{label:"支付宝支付",value:"alipay_qr"}}),t._v(" "),a("el-option",{attrs:{label:"微信支付",value:"wx_pub"}})],1)],1)],1),t._v(" "),a("el-table",{staticStyle:{width:"100%"},attrs:{"header-cell-style":{background:"#EDEEF0",color:"#444"},data:t.tableList}},[a("el-table-column",{attrs:{align:"center",prop:"name",label:"产品名称"}}),t._v(" "),a("el-table-column",{attrs:{align:"center",label:"充值金额(元)"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(t._f("hasMoneyFormat")(e.row.rechargeAmount))+"\n ")]}}])}),t._v(" "),a("el-table-column",{attrs:{align:"center",label:"支付价格(元)"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",{staticStyle:{color:"red"}},[t._v(t._s(t._f("hasMoneyFormat")(e.row.amount)))])]}}])})],1),t._v(" "),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(e){return t.$listeners.close()}}},[t._v("取 消")]),t._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:t.onMemberPay}},[t._v("确 定")])],1),t._v(" "),t.payMentVisible?a("el-dialog",{attrs:{title:"支付二维码",visible:t.payMentVisible,"before-close":t.onClose,width:"500px","append-to-body":""},on:{"update:visible":function(e){t.payMentVisible=e}}},[a("payment",{attrs:{tableList:t.tableList,orderNo:t.orderNo,codeUrl:t.codeUrl},on:{close:t.onPaymentClose}})],1):t._e()],1)},u=[],p=a("1976"),d=a("61f7"),v=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"chioseWrap"},[a("p",[t._v("请在30分钟完成扫码支付")]),t._v(" "),a("vue-qr",{staticStyle:{width:"250px"},attrs:{text:t.codeUrl,margin:0}})],1)},m=[],_=a("b85c"),f=a("658f"),b=a.n(f),h={props:{tableList:{type:Array,default:[]},orderNo:{type:String},codeUrl:{type:String}},components:{VueQr:b.a},data:function(){return{payForm:{payType:null},selectStudentMoney:0,orderTimer:null,initTimer:null}},mounted:function(){var t=Object(r["a"])(regeneratorRuntime.mark((function t(){var e,a,s,n,r=this;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:e=this.tableList||[],a=Object(_["a"])(e);try{for(a.s();!(s=a.n()).done;)n=s.value,this.selectStudentMoney+=parseFloat(n.amount)}catch(i){a.e(i)}finally{a.f()}this.initTimer=setTimeout((function(){r.getPaymentStatus()}),3e3);case 4:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}(),methods:{getPaymentStatus:function(){var t=Object(r["a"])(regeneratorRuntime.mark((function t(){var e,a=this;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:e=setInterval(Object(r["a"])(regeneratorRuntime.mark((function t(){var s;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a.orderTimer=e,t.prev=1,t.next=4,Object(p["c"])({orderNo:a.orderNo});case 4:s=t.sent,s.data&&(clearInterval(e),a.$message.success("您已成功缴费"),a.$emit("close",!0)),t.next=11;break;case 8:t.prev=8,t.t0=t["catch"](1),clearInterval(e);case 11:case"end":return t.stop()}}),t,null,[[1,8]])}))),5e3);case 1:case"end":return t.stop()}}),t)})));function e(){return t.apply(this,arguments)}return e}()},beforeDestroy:function(){clearTimeout(this.initTimer),clearInterval(this.orderTimer)}},y=h,w=(a("be87"),a("2877")),g=Object(w["a"])(y,v,m,!1,null,"06a379ee",null),C=g.exports,x={props:["amount"],components:{payment:C},data:function(){return{payForm:{payType:null},pay_channel:null,selectStudentMoney:0,payMentVisible:!1,codeUrl:null,orderNo:null,tableList:[]}},mounted:function(){var t=Object(r["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:this.amount&&(this.tableList=[{name:"云教室充值",rechargeAmount:this.amount,amount:this.amount}]);case 1:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}(),methods:{onMemberPay:function(){var t=this;this.$refs.payForm.validate(function(){var e=Object(r["a"])(regeneratorRuntime.mark((function e(a){var s,n,r,i,l,o,c,u;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!a){e.next=16;break}return e.prev=1,e.next=4,Object(p["b"])({amount:t.amount});case 4:s=e.sent,console.log(s),n=t.payForm,r=s.data.payMap,i=r.orderNo,l=r.sign,o=r.amount,c=r.orderBody,u=r.orderSubject,t.orderNo=i,t.codeUrl=Object(d["d"])()+"/#/payCenter?orderNo="+i+"&sign="+l+"&amount="+o+"&payType="+n.payType+"&orderBody="+c+"&orderSubject="+u+"&platform=tenantRecharge",console.log(t.codeUrl,"codeUrl"),t.payMentVisible=!0,e.next=16;break;case 14:e.prev=14,e.t0=e["catch"](1);case 16:case"end":return e.stop()}}),e,null,[[1,14]])})));return function(t){return e.apply(this,arguments)}}())},onClose:function(t){this.onPaymentClose(!1,t)},onPaymentClose:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],a=arguments.length>1?arguments[1]:void 0;if(e)return this.payMentVisible=!1,void this.$emit("close");this.$confirm("是否支付完成?","提示",{confirmButtonText:"已完成支付",cancelButtonText:"未完成支付",type:"warning"}).then(function(){var e=Object(r["a"])(regeneratorRuntime.mark((function e(s){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:"function"==typeof a&&a(),t.payMentVisible=!1;case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(e){"function"==typeof a&&a(),t.payMentVisible=!1}))}}},S=x,k=(a("86ae"),Object(w["a"])(S,c,u,!1,null,"b477fcc4",null)),M=k.exports,E={name:"cloudRecharge",components:{rechargeModel:M},data:function(){return{cloudVisible:!1,form:{amount:null},tableData:[{num:2,minute:.5},{num:3,minute:.5}]}},methods:{onRecharge:function(){var t=this;this.$refs.form.validate(function(){var e=Object(r["a"])(regeneratorRuntime.mark((function e(a){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:a&&(t.cloudVisible=!0);case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())},validPrice:function(t,e,a){""==e&&"string"==typeof e||null==e?a(new Error("请输入金额")):e<=0?a(new Error("输入金额必须大于0")):e>=1e5?a(new Error("输入金额必须小于100000")):a()}}},F=E,R=(a("f5c5"),Object(w["a"])(F,l,o,!1,null,"6dcf294b",null)),I=R.exports,j=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"serviceRenew"},[a("div",{staticClass:"descriptions-container"},[a("div",{staticClass:"descriptions"},[a("div",{staticClass:"title"},[t._v("\n "+t._s(t.tenantInfo.platformServeName)+"\n "),a("span",{staticClass:"version",on:{click:function(e){t.versionVisible=!0}}},[a("i",{staticClass:"icon_version"}),t._v("版本对比")])]),t._v(" "),a("el-row",{staticStyle:{padding:"0 20px"}},[a("el-col",{staticClass:"border",attrs:{span:6}},[a("el-row",[a("el-col",{attrs:{span:24}},[t._v("学员上限:"),a("span",[t._v(t._s(t._f("numberFormat")(t.tenantInfo.studentUpLimit))+"人")])]),t._v(" "),a("el-col",{attrs:{span:24}},[t._v("原价:"),a("span",{staticClass:"color"},[t._v(t._s(t._f("hasMoneyFormat")(t.tenantInfo.originalPrice)))])])],1)],1),t._v(" "),a("el-col",{attrs:{span:16,offset:2}},[a("el-row",[a("el-col",{attrs:{span:24}},[t._v(" ")]),t._v(" "),a("el-col",{attrs:{span:24}},[t._v("合同价:"),a("span",{staticClass:"color"},[t._v(t._s(t._f("moneyFormat")(t.tenantInfo.contractPrice))+"元/"+t._s(t.unitSuffix))])])],1)],1)],1)],1)]),t._v(" "),a("el-form",{ref:"form",attrs:{inline:"",model:t.form,"label-width":"80px"}},[a("el-form-item",{attrs:{label:"续费期限",prop:"val",rules:[{required:!0,message:"请输入续费期限",trigger:"blur"},{required:!0,validator:t.validPrice,trigger:"blur"}]}},[a("el-input",{attrs:{placeholder:"请输入续费期限",oninput:"value=value.indexOf('.') > -1?value.slice(0, value.indexOf('.') + 3):value",type:"number"},model:{value:t.form.val,callback:function(e){t.$set(t.form,"val",e)},expression:"form.val"}},[a("div",{attrs:{slot:"append"},slot:"append"},[t._v(t._s(t.unitSuffix))])])],1),t._v(" "),a("el-form-item",[t.$helpers.permission("tenantInfo/renew")?a("el-button",{attrs:{type:"primary"},on:{click:t.onRecharge}},[t._v("确认续费")]):t._e()],1)],1),t._v(" "),t.serviceVisible?a("el-dialog",{attrs:{title:"服务订单",visible:t.serviceVisible,width:"1000px"},on:{"update:visible":function(e){t.serviceVisible=e}}},[a("serviceModel",{attrs:{value:t.form.val,tenantInfo:t.tenantInfo},on:{close:function(e){t.serviceVisible=!1}}})],1):t._e(),t._v(" "),t.versionVisible?a("el-dialog",{attrs:{title:"版本对比",visible:t.versionVisible,width:"1000px","append-to-body":""},on:{"update:visible":function(e){t.versionVisible=e}}},[a("version",{on:{close:function(e){t.versionVisible=!1}}})],1):t._e()],1)},O=[],V=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"chioseWrap"},[a("el-form",{ref:"payForm",attrs:{inline:!0,model:t.payForm}},[a("el-form-item",{attrs:{prop:"payType",rules:[{required:!0,message:"请选择支付方式",trigger:"change"}]}},[a("el-select",{staticStyle:{width:"180px"},attrs:{clearable:"",filterable:"",placeholder:"请选择支付方式"},model:{value:t.payForm.payType,callback:function(e){t.$set(t.payForm,"payType","string"===typeof e?e.trim():e)},expression:"payForm.payType"}},[a("el-option",{attrs:{label:"支付宝支付",value:"alipay_qr"}}),t._v(" "),a("el-option",{attrs:{label:"微信支付",value:"wx_pub"}})],1)],1)],1),t._v(" "),a("el-table",{staticStyle:{width:"100%"},attrs:{"header-cell-style":{background:"#EDEEF0",color:"#444"},data:t.tableList}},[a("el-table-column",{attrs:{align:"center",prop:"platformServeName",label:"产品名称"}}),t._v(" "),a("el-table-column",{attrs:{align:"center",label:"学员上限"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(t._f("numberFormat")(e.row.studentUpLimit))+"人\n ")]}}])}),t._v(" "),a("el-table-column",{attrs:{align:"center",label:"付费模式"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(t._f("memberEnumType")(e.row.expiryUnit))+"\n ")]}}])}),t._v(" "),a("el-table-column",{attrs:{align:"center",prop:"num",label:"数量"}}),t._v(" "),a("el-table-column",{attrs:{align:"center",label:"原价(元)"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(t._f("hasMoneyFormat")(e.row.rechargeAmount))+"\n ")]}}])}),t._v(" "),a("el-table-column",{attrs:{align:"center",label:"支付价格(元)"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",{staticStyle:{color:"red"}},[t._v(t._s(t._f("hasMoneyFormat")(e.row.value)))])]}}])})],1),t._v(" "),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(e){return t.$listeners.close()}}},[t._v("取 消")]),t._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:t.onMemberPay}},[t._v("确 定")])],1),t._v(" "),t.payMentVisible?a("el-dialog",{attrs:{title:"支付二维码",visible:t.payMentVisible,"before-close":t.onClose,width:"500px","append-to-body":""},on:{"update:visible":function(e){t.payMentVisible=e}}},[a("payment",{attrs:{tableList:t.tableList,orderNo:t.orderNo,codeUrl:t.codeUrl},on:{close:t.onPaymentClose}})],1):t._e()],1)},D=[],P=a("5530"),T=a("15fd"),$=a("5f87"),U={props:["value","tenantInfo"],components:{payment:C},data:function(){return{payForm:{payType:null},pay_channel:null,selectStudentMoney:0,payMentVisible:!1,codeUrl:null,orderNo:null,tableList:[]}},mounted:function(){var t=Object(r["a"])(regeneratorRuntime.mark((function t(){var e,a,s,n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:this.value&&(e=this.tenantInfo,a=e.contractPrice,s=e.originalPrice,n=Object(T["a"])(e,["contractPrice","originalPrice"]),this.tableList=[Object(P["a"])(Object(P["a"])({},n),{},{num:this.value,rechargeAmount:this.value*s,value:this.value*a})]);case 1:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}(),methods:{onMemberPay:function(){var t=this;this.$refs.payForm.validate(function(){var e=Object(r["a"])(regeneratorRuntime.mark((function e(a){var s,n,r,i,l,o,c,u;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!a){e.next=16;break}return e.prev=1,console.log(t.value,"this.value"),e.next=5,Object(p["d"])({id:Object($["a"])(),val:t.value});case 5:s=e.sent,n=t.payForm,r=s.data.payMap,i=r.orderNo,l=r.sign,o=r.amount,c=r.orderBody,u=r.orderSubject,t.orderNo=i,t.codeUrl=Object(d["d"])()+"/#/payCenter?orderNo="+i+"&sign="+l+"&amount="+o+"&payType="+n.payType+"&orderBody="+c+"&orderSubject="+u+"&platform=tenant",console.log(t.codeUrl,"codeUrl"),t.payMentVisible=!0,e.next=16;break;case 14:e.prev=14,e.t0=e["catch"](1);case 16:case"end":return e.stop()}}),e,null,[[1,14]])})));return function(t){return e.apply(this,arguments)}}())},onClose:function(t){this.onPaymentClose(!1,t)},onPaymentClose:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],a=arguments.length>1?arguments[1]:void 0;if(e)return this.payMentVisible=!1,void this.$emit("close");this.$confirm("是否支付完成?","提示",{confirmButtonText:"已完成支付",cancelButtonText:"未完成支付",type:"warning"}).then(function(){var e=Object(r["a"])(regeneratorRuntime.mark((function e(s){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:"function"==typeof a&&a(),t.payMentVisible=!1;case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(e){"function"==typeof a&&a(),t.payMentVisible=!1}))}}},N=U,L=(a("6fca"),Object(w["a"])(N,V,D,!1,null,"7177bd02",null)),q=L.exports,Y=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("el-table",{staticStyle:{width:"100%"},attrs:{data:t.tableData,border:"","header-cell-style":{background:"#EDEEF0",color:"#444"}},scopedSlots:t._u([{key:"append",fn:function(){return[a("table",{staticStyle:{width:"100%"},attrs:{cellspacing:"0",cellpadding:"0",border:"0"}},[a("colgroup",[a("col",{attrs:{name:"el-table_5_column_1",width:"180"}}),t._v(" "),a("col",{attrs:{name:"el-table_5_column_2",width:"151"}}),t._v(" "),a("col",{attrs:{name:"el-table_5_column_3",width:"105"}}),t._v(" "),a("col",{attrs:{name:"el-table_5_column_4",width:"105"}}),t._v(" "),a("col",{attrs:{name:"el-table_5_column_5",width:"105"}}),t._v(" "),a("col",{attrs:{name:"el-table_5_column_6",width:"105"}}),t._v(" "),a("col",{attrs:{name:"el-table_5_column_7",width:"105"}}),t._v(" "),a("col",{attrs:{name:"el-table_5_column_8",width:"105"}}),t._v(" "),a("col",{attrs:{name:"gutter",width:"8"}})]),t._v(" "),a("thead",{staticClass:"has-gutter"},[a("tr",[a("th",{staticClass:"is-center",staticStyle:{background:"#EDEEF0",color:"#444"}},[t._v("\n 服务\n ")]),t._v(" "),a("th",{staticClass:"is-center",staticStyle:{background:"#EDEEF0",color:"#444"}},[t._v("\n 功能\n ")]),t._v(" "),a("th",{staticClass:"is-center",staticStyle:{background:"#EDEEF0",color:"#444"},attrs:{colspan:"3"}},[t._v("\n 基础版\n ")]),t._v(" "),a("th",{staticClass:"is-center",staticStyle:{background:"#EDEEF0",color:"#444"},attrs:{colspan:"3"}},[t._v("\n 专业版\n ")])])])]),t._v(" "),a("div",{staticStyle:{height:"500px","overflow-y":"auto"}},[a("table",{staticStyle:{width:"100%"},attrs:{cellspacing:"0",cellpadding:"0",border:"0"}},[a("colgroup",[a("col",{attrs:{name:"el-table_5_column_1",width:"180"}}),t._v(" "),a("col",{attrs:{name:"el-table_5_column_2",width:"151"}}),t._v(" "),a("col",{attrs:{name:"el-table_5_column_3",width:"105"}}),t._v(" "),a("col",{attrs:{name:"el-table_5_column_4",width:"105"}}),t._v(" "),a("col",{attrs:{name:"el-table_5_column_5",width:"105"}}),t._v(" "),a("col",{attrs:{name:"el-table_5_column_6",width:"105"}}),t._v(" "),a("col",{attrs:{name:"el-table_5_column_7",width:"105"}}),t._v(" "),a("col",{attrs:{name:"el-table_5_column_8",width:"105"}})]),t._v(" "),a("tbody",[t._l(t.tableData,(function(e,s){return a("tr",{key:e.name,staticClass:"el-table__row"},[0==s?a("td",{staticClass:"is-center",attrs:{rowspan:"8",colspan:"1"}},[a("div",{staticClass:"cell"},[t._v(t._s(e.id))])]):t._e(),t._v(" "),a("td",{staticClass:"is-center",attrs:{rowspan:"1",colspan:"1"}},[a("div",{staticClass:"cell"},[t._v(t._s(e.name))])]),t._v(" "),a("td",{staticClass:"is-center",attrs:{rowspan:"1",colspan:"3"}},[a("div",{staticClass:"cell"},[a("i",{class:e.baseStatus?"el-icon-check":"el-icon-close"})])]),t._v(" "),a("td",{staticClass:"is-center",attrs:{rowspan:"1",colspan:"3"}},[a("div",{staticClass:"cell"},[a("i",{class:e.status?"el-icon-check":"el-icon-close"})])])])})),t._v(" "),t._l(t.table2,(function(e,s){return a("tr",{key:e.name,staticClass:"el-table__row"},[0==s?a("td",{staticClass:"is-center",attrs:{rowspan:"7",colspan:"1"}},[a("div",{staticClass:"cell"},[t._v(t._s(e.id))])]):t._e(),t._v(" "),a("td",{staticClass:"is-center",attrs:{rowspan:"1",colspan:"1"}},[a("div",{staticClass:"cell"},[t._v(t._s(e.name))])]),t._v(" "),a("td",{staticClass:"is-center",attrs:{rowspan:"1",colspan:"3"}},[a("div",{staticClass:"cell"},[a("i",{class:e.baseStatus?"el-icon-check":"el-icon-close"})])]),t._v(" "),a("td",{staticClass:"is-center",attrs:{rowspan:"1",colspan:"3"}},[a("div",{staticClass:"cell"},[a("i",{class:e.status?"el-icon-check":"el-icon-close"})])])])})),t._v(" "),t._l(t.table3,(function(e,s){return a("tr",{key:e.name,staticClass:"el-table__row"},[0==s?a("td",{staticClass:"is-center",attrs:{rowspan:"11",colspan:"1"}},[a("div",{staticClass:"cell"},[t._v(t._s(e.id))])]):t._e(),t._v(" "),a("td",{staticClass:"is-center",attrs:{rowspan:"1",colspan:"1"}},[a("div",{staticClass:"cell"},[t._v(t._s(e.name))])]),t._v(" "),a("td",{staticClass:"is-center",attrs:{rowspan:"1",colspan:"3"}},[a("div",{staticClass:"cell"},[a("i",{class:e.baseStatus?"el-icon-check":"el-icon-close"})])]),t._v(" "),a("td",{staticClass:"is-center",attrs:{rowspan:"1",colspan:"3"}},[a("div",{staticClass:"cell"},[a("i",{class:e.status?"el-icon-check":"el-icon-close"})])])])})),t._v(" "),a("tr",{staticClass:"el-table__row"},[a("td",{staticClass:"is-center",attrs:{rowspan:"1",colspan:"1"}},[a("div",{staticClass:"cell"},[t._v("招生人数")])]),t._v(" "),a("td",{staticClass:"is-center",attrs:{rowspan:"1",colspan:"1"}},[a("div",{staticClass:"cell"})]),t._v(" "),a("td",{staticClass:"is-center",attrs:{rowspan:"1",colspan:"1"}},[a("div",{staticClass:"cell"},[t._v("0~1000人版")])]),t._v(" "),a("td",{staticClass:"is-center",attrs:{rowspan:"1",colspan:"1"}},[a("div",{staticClass:"cell"},[t._v("0~2000人版")])]),t._v(" "),a("td",{staticClass:"is-center",attrs:{rowspan:"1",colspan:"1"}},[a("div",{staticClass:"cell"},[t._v("0~3000人版")])]),t._v(" "),a("td",{staticClass:"is-center",attrs:{rowspan:"1",colspan:"1"}},[a("div",{staticClass:"cell"},[t._v("0~1000人版")])]),t._v(" "),a("td",{staticClass:"is-center",attrs:{rowspan:"1",colspan:"1"}},[a("div",{staticClass:"cell"},[t._v("0~2000人版")])]),t._v(" "),a("td",{staticClass:"is-center",attrs:{rowspan:"1",colspan:"1"}},[a("div",{staticClass:"cell"},[t._v("0~3000人版")])])]),t._v(" "),a("tr",{staticClass:"el-table__row"},[a("td",{staticClass:"is-center",attrs:{rowspan:"2",colspan:"1"}},[a("div",{staticClass:"cell"},[t._v("零售价")])]),t._v(" "),a("td",{staticClass:"is-center",attrs:{rowspan:"1",colspan:"1"}},[a("div",{staticClass:"cell"},[t._v("月度")])]),t._v(" "),a("td",{staticClass:"is-center",attrs:{rowspan:"1",colspan:"1"}},[a("div",{staticClass:"cell amount"},[t._v(t._s(t._f("hasMoneyFormat")(1860)))])]),t._v(" "),a("td",{staticClass:"is-center",attrs:{rowspan:"1",colspan:"1"}},[a("div",{staticClass:"cell amount"},[t._v(t._s(t._f("hasMoneyFormat")(2160)))])]),t._v(" "),a("td",{staticClass:"is-center",attrs:{rowspan:"1",colspan:"1"}},[a("div",{staticClass:"cell amount"},[t._v(t._s(t._f("hasMoneyFormat")(2460)))])]),t._v(" "),a("td",{staticClass:"is-center",attrs:{rowspan:"1",colspan:"1"}},[a("div",{staticClass:"cell amount"},[t._v(t._s(t._f("hasMoneyFormat")(2340)))])]),t._v(" "),a("td",{staticClass:"is-center",attrs:{rowspan:"1",colspan:"1"}},[a("div",{staticClass:"cell amount"},[t._v(t._s(t._f("hasMoneyFormat")(2640)))])]),t._v(" "),a("td",{staticClass:"is-center",attrs:{rowspan:"1",colspan:"1"}},[a("div",{staticClass:"cell amount"},[t._v(t._s(t._f("hasMoneyFormat")(2940)))])])]),t._v(" "),a("tr",{staticClass:"el-table__row"},[a("td",{staticClass:"is-center",attrs:{rowspan:"1",colspan:"1"}},[a("div",{staticClass:"cell"},[t._v("年度")])]),t._v(" "),a("td",{staticClass:"is-center",attrs:{rowspan:"1",colspan:"1"}},[a("div",{staticClass:"cell amount"},[t._v(t._s(t._f("hasMoneyFormat")(18600)))])]),t._v(" "),a("td",{staticClass:"is-center",attrs:{rowspan:"1",colspan:"1"}},[a("div",{staticClass:"cell amount"},[t._v(t._s(t._f("hasMoneyFormat")(21600)))])]),t._v(" "),a("td",{staticClass:"is-center",attrs:{rowspan:"1",colspan:"1"}},[a("div",{staticClass:"cell amount"},[t._v(t._s(t._f("hasMoneyFormat")(24600)))])]),t._v(" "),a("td",{staticClass:"is-center",attrs:{rowspan:"1",colspan:"1"}},[a("div",{staticClass:"cell amount"},[t._v(t._s(t._f("hasMoneyFormat")(23400)))])]),t._v(" "),a("td",{staticClass:"is-center",attrs:{rowspan:"1",colspan:"1"}},[a("div",{staticClass:"cell amount"},[t._v(t._s(t._f("hasMoneyFormat")(26400)))])]),t._v(" "),a("td",{staticClass:"is-center",attrs:{rowspan:"1",colspan:"1"}},[a("div",{staticClass:"cell amount"},[t._v(t._s(t._f("hasMoneyFormat")(29400)))])])])],2)])])]},proxy:!0}])})],1)},B=[],A=a("2909"),z=[{id:"团控宝",span:8,name:"乐团管理",baseStatus:!0,status:!0},{id:"团控宝",span:8,name:"VIP课管理",baseStatus:!0,status:!0},{id:"团控宝",span:8,name:"网管课管理",baseStatus:!0,status:!0},{id:"团控宝",span:8,name:"审批管理",baseStatus:!0,status:!0},{id:"团控宝",span:8,name:"商品管理",baseStatus:!0,status:!0},{id:"团控宝",span:8,name:"内容管理",baseStatus:!0,status:!0},{id:"团控宝",span:8,name:"多分部管理",baseStatus:!0,status:!0},{id:"团控宝",span:8,name:"多合作单位管理",baseStatus:!0,status:!0}],W=[{id:"团易宝",span:7,name:"乐团学员报名缴费",baseStatus:!0,status:!0},{id:"团易宝",span:7,name:"乐团新增学员续费",baseStatus:!0,status:!0},{id:"团易宝",span:7,name:"乐团临时加课缴费",baseStatus:!0,status:!0},{id:"团易宝",span:7,name:"零星收费",baseStatus:!0,status:!0},{id:"团易宝",span:7,name:"优惠券",baseStatus:!0,status:!0},{id:"团易宝",span:7,name:"分部分润管理",baseStatus:!0,status:!0},{id:"团易宝",span:7,name:"收款账户管理",baseStatus:!0,status:!0}],J=[{id:"团运宝",span:11,name:"异常业务监控",baseStatus:!1,status:!0},{id:"团运宝",span:11,name:"运营预警",baseStatus:!1,status:!0},{id:"团运宝",span:11,name:"乐团巡查",baseStatus:!1,status:!0},{id:"团运宝",span:11,name:"经营报表",baseStatus:!1,status:!0},{id:"团运宝",span:11,name:"课酬报表",baseStatus:!1,status:!0},{id:"团运宝",span:11,name:"回款统计",baseStatus:!1,status:!0},{id:"团运宝",span:11,name:"学员考勤报表",baseStatus:!1,status:!0},{id:"团运宝",span:11,name:"账户余额明细",baseStatus:!1,status:!0},{id:"团运宝",span:11,name:"课程余额明细",baseStatus:!1,status:!0},{id:"团运宝",span:11,name:"VIP/网管课耗报表",baseStatus:!1,status:!0},{id:"团运宝",span:11,name:"自定义报表",baseStatus:!1,status:!0}],Q={data:function(){return{tableData:Object(A["a"])(z),table2:Object(A["a"])(W),table3:Object(A["a"])(J)}},methods:{}},G=Q,H=(a("26a4"),Object(w["a"])(G,Y,B,!1,null,"7f52a3ae",null)),K=H.exports,X=a("a21b"),Z=a("267e"),tt={name:"serviceRenew",components:{serviceModel:q,version:K},data:function(){return{paymentMode:Z["paymentMode"],serviceVisible:!1,versionVisible:!1,form:{val:null},tenantInfo:{platformServeName:null,studentUpLimit:0,contractPrice:0,originalPrice:0,expiryUnit:"YEAR"}}},computed:{unitSuffix:function(){return this.paymentMode[this.tenantInfo.expiryUnit]||"年"}},mounted:function(){this.__init()},methods:{__init:function(){var t=Object(r["a"])(regeneratorRuntime.mark((function t(){var e,a,s,n,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,Object(X["b"])({id:Object($["a"])()});case 3:n=t.sent,r=n.data,this.tenantInfo={platformServeName:r.platformServeName,studentUpLimit:r.studentUpLimit,contractPrice:(null===(e=r.productInfo)||void 0===e?void 0:e.contractPrice)||0,originalPrice:(null===(a=r.productInfo)||void 0===a?void 0:a.originalPrice)||0,expiryUnit:null===(s=r.productInfo)||void 0===s?void 0:s.expiryUnit},t.next=10;break;case 8:t.prev=8,t.t0=t["catch"](0);case 10:case"end":return t.stop()}}),t,this,[[0,8]])})));function e(){return t.apply(this,arguments)}return e}(),onRecharge:function(){var t=this;this.$refs.form.validate(function(){var e=Object(r["a"])(regeneratorRuntime.mark((function e(a){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:a&&(t.serviceVisible=!0);case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())},validPrice:function(t,e,a){""==e&&"string"==typeof e||null==e?a(new Error("请输入金额")):e<=0?a(new Error("输入金额必须大于0")):e>=1e5?a(new Error("输入金额必须小于100000")):a()}}},et=tt,at=(a("b3b1"),Object(w["a"])(et,j,O,!1,null,"1a56513a",null)),st=at.exports,nt=a("ec8a"),rt=a("5a0c"),it=a.n(rt),lt={components:{cloudRecharge:I,serviceRenew:st},name:"productService",data:function(){return{activeIndex:"2",dataInfo:Object(i["a"])({serverName:null,expiryDate:null,expiryDateEnd:null,studentNum:0,studentUpLimit:0,validRemaining:0,balance:0,frozenAmount:0},"balance",0)}},mounted:function(){this.__init()},methods:{permission:nt["a"],__init:function(){var t=Object(r["a"])(regeneratorRuntime.mark((function t(){var e;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,Object(p["a"])();case 3:e=t.sent,this.dataInfo=e.data||{},this.dataInfo.expiryDate=e.data.expiryDate?it()(e.data.expiryDate).format("YYYY-MM-DD"):null,this.dataInfo.expiryDateEnd=e.data.expiryDateEnd?it()(e.data.expiryDateEnd).format("YYYY-MM-DD"):null,this.dataInfo.validRemaining=e.data.validRemaining||0,t.next=12;break;case 10:t.prev=10,t.t0=t["catch"](0);case 12:case"end":return t.stop()}}),t,this,[[0,10]])})));function e(){return t.apply(this,arguments)}return e}(),onDetail:function(){this.$router.push("/systemManager/chargingRecord")}}},ot=lt,ct=(a("1561"),Object(w["a"])(ot,s,n,!1,null,"673af95d",null));e["default"]=ct.exports},"86ae":function(t,e,a){"use strict";a("42bc")},"8d60":function(t,e,a){},9046:function(t,e,a){},"930a":function(t,e,a){},"9b9e":function(t,e,a){},b3b1:function(t,e,a){"use strict";a("8d60")},be87:function(t,e,a){"use strict";a("0966")},e301:function(t,e,a){},f5c5:function(t,e,a){"use strict";a("9b9e")}}]);
|