chunk-15fee91d.b973ece5.js 13 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-15fee91d"],{"09f4":function(e,t,r){"use strict";r.d(t,"a",(function(){return n})),Math.easeInOutQuad=function(e,t,r,a){return e/=a/2,e<1?r/2*e*e+t:(e--,-r/2*(e*(e-2)-1)+t)};var a=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)}}();function o(e){document.documentElement.scrollTop=e,document.body.parentNode.scrollTop=e,document.body.scrollTop=e}function l(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function n(e,t,r){var n=l(),s=e-n,i=20,m=0;t="undefined"===typeof t?500:t;var c=function e(){m+=i;var l=Math.easeInOutQuad(m,n,s,t);o(l),m<t?a(e):r&&"function"===typeof r&&r()};c()}},2429:function(e,t,r){},"48d0":function(e,t,r){"use strict";r.r(t);var a=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{},[r("div",[r("el-form",{ref:"form",attrs:{inline:!0,model:e.form}},[r("el-alert",{staticStyle:{margin:"10px 0"},attrs:{title:"平台参数设置",closable:!1,type:"info"}}),e._v(" "),r("el-row",[r("el-form-item",{attrs:{prop:"10",rules:[{required:!1,pattern:/^[1-9][0-9]*$/,message:"请输入正确的天数"}]}},[e._v("\n 缴费状态提前:\n "),r("el-input",{attrs:{placeholder:"请输入天数"},model:{value:e.form["10"],callback:function(t){e.$set(e.form,"10",t)},expression:"form['10']"}},[r("template",{slot:"append"},[e._v("天")])],2),e._v("\n 刷新\n ")],1)],1),e._v(" "),r("el-row",[r("el-form-item",{attrs:{prop:"18"}},[e._v("\n 用户默认头像地址:\n "),r("el-input",{staticClass:"marginLR5",staticStyle:{width:"180px"},attrs:{placeholder:"请输入链接地址"},model:{value:e.form["18"],callback:function(t){e.$set(e.form,"18",t)},expression:"form['18']"}})],1)],1),e._v(" "),r("el-row",[r("el-form-item",{attrs:{prop:"19"}},[e._v("\n 学员报名链接地址:\n "),r("el-input",{staticClass:"marginLR5",staticStyle:{width:"180px"},attrs:{placeholder:"请输入链接地址"},model:{value:e.form["19"],callback:function(t){e.$set(e.form,"19",t)},expression:"form['19']"}})],1)],1),e._v(" "),r("el-row",[r("el-form-item",{attrs:{prop:"19"}},[e._v("\n 平台客服电话:\n "),r("el-input",{staticClass:"marginLR5",staticStyle:{width:"180px"},attrs:{placeholder:"请输入电话"},model:{value:e.form["19"],callback:function(t){e.$set(e.form,"19",t)},expression:"form['19']"}})],1)],1),e._v(" "),r("el-row",[r("el-form-item",{attrs:{prop:"23",rules:[{required:!1,pattern:/^[1-9][0-9]*$/,message:"请输入正确的分钟数"}]}},[e._v("\n 乐团课结算参考总时长:\n "),r("el-input",{attrs:{placeholder:"请输入分钟数"},model:{value:e.form["23"],callback:function(t){e.$set(e.form,"23",t)},expression:"form['23']"}},[r("template",{slot:"append"},[e._v("分钟")])],2)],1)],1),e._v(" "),r("el-row",[r("el-form-item",{attrs:{prop:"24",rules:[{required:!1,pattern:/^[1-9][0-9]*$/,message:"请输入正确的分钟数"}]}},[e._v("\n 乐团课结算单课时参考时长:\n "),r("el-input",{attrs:{placeholder:"请输入分钟数"},model:{value:e.form["24"],callback:function(t){e.$set(e.form,"24",t)},expression:"form['24']"}},[r("template",{slot:"append"},[e._v("分钟")])],2)],1)],1),e._v(" "),r("el-row",[r("el-form-item",{attrs:{prop:"25",rules:[{required:!1,pattern:/^[1-9][0-9]*$/,message:"请输入正确的天数"}]}},[e._v("\n 退款周期:\n "),r("el-input",{attrs:{placeholder:"请输入天数"},model:{value:e.form["25"],callback:function(t){e.$set(e.form,"25",t)},expression:"form['25']"}},[r("template",{slot:"append"},[e._v("天")])],2)],1)],1),e._v(" "),r("el-row",[r("el-form-item",{attrs:{prop:"32"}},[e._v("\n 接口URL地址:\n "),r("el-input",{staticClass:"marginLR5",staticStyle:{width:"180px"},attrs:{placeholder:"请输入地址"},model:{value:e.form["32"],callback:function(t){e.$set(e.form,"32",t)},expression:"form['32']"}})],1)],1),e._v(" "),r("el-row",[r("el-form-item",{attrs:{prop:"52"}},[e._v("\n 教师请假数据:\n "),r("el-input",{staticClass:"marginLR5",staticStyle:{width:"180px"},attrs:{placeholder:"请输入数据"},model:{value:e.form["52"],callback:function(t){e.$set(e.form,"52",t)},expression:"form['52']"}})],1)],1),e._v(" "),r("el-row",[r("el-form-item",{attrs:{prop:"53"}},[e._v("\n 老师陪练报告提交URL:\n "),r("el-input",{staticClass:"marginLR5",staticStyle:{width:"180px"},attrs:{placeholder:"请输入URL"},model:{value:e.form["53"],callback:function(t){e.$set(e.form,"53",t)},expression:"form['53']"}})],1)],1),e._v(" "),r("el-row",[r("el-form-item",{attrs:{prop:"54"}},[e._v("\n 报告提交URL:\n "),r("el-input",{staticClass:"marginLR5",staticStyle:{width:"180px"},attrs:{placeholder:"请输入URL"},model:{value:e.form["54"],callback:function(t){e.$set(e.form,"54",t)},expression:"form['54']"}})],1)],1),e._v(" "),r("el-row",[r("el-form-item",{attrs:{prop:"58"}},[e._v("\n 付费陪练课活动截止时间:\n "),r("el-date-picker",{staticClass:"marginLR5",attrs:{type:"datetime",format:"yyyy-MM-dd HH:mm:ss","value-format":"yyyy-MM-dd HH:mm:ss",placeholder:"选择截止时间"},model:{value:e.form["58"],callback:function(t){e.$set(e.form,"58",t)},expression:"form['58']"}})],1)],1),e._v(" "),r("el-row",[r("el-form-item",{attrs:{prop:"63"}},[e._v("\n 付费网管课促销活动开始时间:\n "),r("el-date-picker",{staticClass:"marginLR5",attrs:{type:"datetime",format:"yyyy-MM-dd HH:mm:ss","value-format":"yyyy-MM-dd HH:mm:ss",placeholder:"选择截止时间"},model:{value:e.form["63"],callback:function(t){e.$set(e.form,"63",t)},expression:"form['63']"}})],1)],1),e._v(" "),r("el-row",[r("el-form-item",{attrs:{prop:"62"}},[e._v("\n 教师端baseURL:\n "),r("el-input",{staticClass:"marginLR5",staticStyle:{width:"180px"},attrs:{placeholder:"请输入URL"},model:{value:e.form["62"],callback:function(t){e.$set(e.form,"62",t)},expression:"form['62']"}})],1)],1),e._v(" "),r("el-row",[r("el-form-item",{attrs:{prop:"64"}},[e._v("\n 教务端baseURL:\n "),r("el-input",{staticClass:"marginLR5",staticStyle:{width:"180px"},attrs:{placeholder:"请输入URL"},model:{value:e.form["64"],callback:function(t){e.$set(e.form,"64",t)},expression:"form['64']"}})],1)],1),e._v(" "),r("el-row",[r("el-form-item",{attrs:{prop:"66"}},[e._v("\n 免费网管课可预约截止时间:\n "),r("el-date-picker",{staticClass:"marginLR5",attrs:{type:"datetime",format:"yyyy-MM-dd HH:mm:ss","value-format":"yyyy-MM-dd HH:mm:ss",placeholder:"选择截止时间"},model:{value:e.form["66"],callback:function(t){e.$set(e.form,"66",t)},expression:"form['66']"}})],1)],1),e._v(" "),r("el-row",[r("el-form-item",{attrs:{prop:"89"}},[e._v("\n 学员端\n "),r("el-time-picker",{staticClass:"marginLR5",attrs:{format:"HH:mm","value-format":"HH:mm","picker-options":{selectableRange:"00:00:00 - 23:59:59"},placeholder:"请选择时间"},model:{value:e.form["89"],callback:function(t){e.$set(e.form,"89",t)},expression:"form['89']"}})],1),e._v(" "),r("el-form-item",[e._v("\n 之后的推送延迟到第二天\n "),r("el-time-picker",{staticClass:"marginLR5",attrs:{format:"HH:mm","value-format":"HH:mm","picker-options":{selectableRange:"00:00:00 - 23:59:59"},placeholder:"请选择时间"},model:{value:e.form["205"],callback:function(t){e.$set(e.form,"205",t)},expression:"form['205']"}}),e._v("\n 发送\n ")],1)],1),e._v(" "),r("el-row",[r("el-form-item",{attrs:{prop:"103"}},[e._v("\n 乐团满意度调查问卷编号\n "),r("el-input",{staticClass:"marginLR5",staticStyle:{width:"180px"},attrs:{placeholder:"请输入问卷编号"},model:{value:e.form["103"],callback:function(t){e.$set(e.form,"103",t)},expression:"form['103']"}})],1)],1),e._v(" "),r("el-row",[r("el-form-item",{attrs:{prop:"74",rules:[{required:!1,pattern:/^[1-9][0-9]*$/,message:"请输入正确的天数"}]}},[e._v("\n 乐团缴费开启后\n "),r("el-input",{attrs:{placeholder:"请输入天数"},model:{value:e.form["74"],callback:function(t){e.$set(e.form,"74",t)},expression:"form['74']"}},[r("template",{slot:"append"},[e._v("天")])],2),e._v("\n 向乐团主管发送缴费明细短信\n ")],1)],1),e._v(" "),r("el-row",[r("el-form-item",{attrs:{prop:"240",rules:[{required:!0,message:"请输入正确的金额",trigger:"blur",pattern:/^(\+)?\d+(\.\d+)?$/}]}},[e._v("\n 机构云教室账户余额小于\n "),r("el-input",{attrs:{placeholder:"请输入金额"},model:{value:e.form["240"],callback:function(t){e.$set(e.form,"240",t)},expression:"form['240']"}},[r("template",{slot:"append"},[e._v("元")])],2),e._v("\n 时发送短信和邮件提醒\n ")],1)],1),e._v(" "),r("el-row",[r("el-form-item",{attrs:{prop:"273",rules:[{required:!0,message:"请选择禁止录屏"}]}},[e._v("\n 禁止录屏:\n "),r("el-select",{attrs:{placeholder:"请选择禁止录屏"},model:{value:e.form["273"],callback:function(t){e.$set(e.form,"273",t)},expression:"form['273']"}},[r("el-option",{attrs:{label:"开启",value:"1"}}),e._v(" "),r("el-option",{attrs:{label:"关闭",value:"0"}})],1)],1)],1),e._v(" "),r("el-row",[r("el-form-item",{attrs:{prop:"279",rules:[{required:!1,pattern:/^[1-9][0-9]*$/,message:"请输入正确条数"}]}},[e._v("\n 练习练习组内最多添加:\n "),r("el-input",{staticStyle:{width:"180px",margin:"0 5px"},attrs:{placeholder:"请输入条数"},model:{value:e.form["279"],callback:function(t){e.$set(e.form,"279",t)},expression:"form['279']"}}),e._v("\n 条练习\n ")],1)],1),e._v(" "),r("el-row",[r("el-form-item",{attrs:{prop:"280",rules:[{required:!1,pattern:/^[1-9][0-9]*$/,message:"请输入正确天数"}]}},[e._v("\n 作业文件从截止之日起:\n "),r("el-input",{attrs:{placeholder:"请输入天数"},model:{value:e.form["280"],callback:function(t){e.$set(e.form,"280",t)},expression:"form['280']"}},[r("template",{slot:"append"},[e._v("天")])],2),e._v("\n 后过期\n ")],1)],1),e._v(" "),r("el-row",[r("el-form-item",{attrs:{prop:"281",rules:[{required:!0,pattern:/^[1-9][0-9]*$/,message:"请输入正确秒数"}]}},[r("span",{staticStyle:{color:"red"}},[e._v("*")]),e._v("作业视频最长:\n "),r("el-input",{attrs:{placeholder:"请输入秒数"},model:{value:e.form["281"],callback:function(t){e.$set(e.form,"281",t)},expression:"form['281']"}},[r("template",{slot:"append"},[e._v("秒")])],2)],1)],1),e._v(" "),r("el-row",[r("el-form-item",{attrs:{prop:"282",rules:[{required:!0,pattern:/^[1-9][0-9]*$/,message:"请输入分钟数"}]}},[r("span",{staticStyle:{color:"red"}},[e._v("*")]),e._v("作业音频最长:\n "),r("el-input",{attrs:{placeholder:"请输入分钟数"},model:{value:e.form["282"],callback:function(t){e.$set(e.form,"282",t)},expression:"form['282']"}},[r("template",{slot:"append"},[e._v("分钟")])],2)],1)],1)],1)],1),e._v(" "),r("el-button",{directives:[{name:"permission",rawName:"v-permission",value:"sysConfig/batchUpdate/overallManager",expression:"'sysConfig/batchUpdate/overallManager'"}],staticClass:"saveBtn",attrs:{type:"primary"},on:{click:e.save}},[e._v("保存")])],1)},o=[],l=r("c7eb"),n=(r("96cf"),r("1da1")),s=(r("ac6a"),r("333d")),i=r("a6e9"),m={components:{pagination:s["a"]},name:"overallManagerTwo",data:function(){return{configList:[],input:[],form:{}}},mounted:function(){this.__init()},methods:{__init:function(){var e=this;Object(i["a"])({group:"DEFAULT"}).then((function(t){200==t.code&&t.data.length>0&&(t.data.forEach((function(t){e.$set(e.form,t.id,t.paranValue)})),console.log(e.form,"-------"))}))},save:function(){var e=Object(n["a"])(Object(l["a"])().mark((function e(){var t=this;return Object(l["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:this.$refs.form.validate(function(){var e=Object(n["a"])(Object(l["a"])().mark((function e(r){var a,o;return Object(l["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!r){e.next=14;break}for(o in a=[],t.form)a.push({id:o,paranValue:t.form[o]});return e.prev=3,e.next=6,Object(i["b"])(a);case 6:e.sent,t.$message.success("保存成功"),t.__init(),e.next=14;break;case 11:e.prev=11,e.t0=e["catch"](3),console.log(e.t0);case 14:case"end":return e.stop()}}),e,null,[[3,11]])})));return function(t){return e.apply(this,arguments)}}());case 1:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()}},c=m,p=(r("ab0f"),r("2877")),f=Object(p["a"])(c,a,o,!1,null,"510fd90e",null);t["default"]=f.exports},a6e9:function(e,t,r){"use strict";r.d(t,"a",(function(){return l})),r.d(t,"b",(function(){return n}));var a=r("b775"),o=(r("4328"),"/api-web");function l(e){return Object(a["a"])({url:o+"/sysConfig/list",method:"get",params:e})}function n(e){return Object(a["a"])({url:o+"/sysConfig/batchUpdate",method:"post",data:e,headers:{"Content-Type":"application/json"}})}},ab0f:function(e,t,r){"use strict";r("2429")}}]);