Commit d7b7995b by liuchenxi

update: build

parent ecdb9ac8
.w180[data-v-64cb65e4]{width:180px}.w90[data-v-64cb65e4]{width:90px}.content[data-v-64cb65e4]{margin-top:26px}.content .send_sms[data-v-64cb65e4]{height:32px;margin-bottom:28px;padding-top:5px;-webkit-box-sizing:border-box;box-sizing:border-box}.content .channels[data-v-64cb65e4]{font-size:14px;color:#606266;line-height:20px}.tips[data-v-64cb65e4]{margin-left:14px;font-size:12px;color:#909399;line-height:17px}
\ No newline at end of file
.w180[data-v-64cb65e4]{width:180px}.w90[data-v-64cb65e4]{width:90px}.content[data-v-64cb65e4]{margin-top:26px}.content .send_sms[data-v-64cb65e4]{height:32px;margin-bottom:28px;padding-top:5px;-webkit-box-sizing:border-box;box-sizing:border-box}.content .channels[data-v-64cb65e4]{font-size:14px;color:#606266;line-height:20px}.tips[data-v-64cb65e4]{margin-left:14px;font-size:12px;color:#909399;line-height:17px}.bottom.bottom[data-v-d2467e82],.top.bottom[data-v-d2467e82]{margin-top:30px}.bottom .title[data-v-d2467e82],.top .title[data-v-d2467e82]{background:#f7f8fa}.bottom .title h2[data-v-d2467e82],.top .title h2[data-v-d2467e82]{padding-left:22px;font-size:14px;font-weight:600;color:#303133;height:40px;line-height:40px;position:relative}.bottom .title h2[data-v-d2467e82]:before,.top .title h2[data-v-d2467e82]:before{content:"";width:3px;height:14px;background:#1890ff;position:absolute;left:11px;top:13px}
\ No newline at end of file
.w180[data-v-50fabf1e]{width:180px}.w90[data-v-50fabf1e]{width:90px}.content[data-v-50fabf1e]{margin-top:26px}.content .send_sms[data-v-50fabf1e]{height:32px;margin-bottom:28px;padding-top:5px;-webkit-box-sizing:border-box;box-sizing:border-box}.content .channels[data-v-50fabf1e]{font-size:14px;color:#606266;line-height:20px}.tips[data-v-50fabf1e]{margin-left:14px;font-size:12px;color:#909399;line-height:17px}.bottom.bottom[data-v-d2467e82],.top.bottom[data-v-d2467e82]{margin-top:30px}.bottom .title[data-v-d2467e82],.top .title[data-v-d2467e82]{background:#f7f8fa}.bottom .title h2[data-v-d2467e82],.top .title h2[data-v-d2467e82]{padding-left:22px;font-size:14px;font-weight:600;color:#303133;height:40px;line-height:40px;position:relative}.bottom .title h2[data-v-d2467e82]:before,.top .title h2[data-v-d2467e82]:before{content:"";width:3px;height:14px;background:#1890ff;position:absolute;left:11px;top:13px}
\ No newline at end of file
.w180[data-v-50fabf1e]{width:180px}.w90[data-v-50fabf1e]{width:90px}.content[data-v-50fabf1e]{margin-top:26px}.content .send_sms[data-v-50fabf1e]{height:32px;margin-bottom:28px;padding-top:5px;-webkit-box-sizing:border-box;box-sizing:border-box}.content .channels[data-v-50fabf1e]{font-size:14px;color:#606266;line-height:20px}.tips[data-v-50fabf1e]{margin-left:14px;font-size:12px;color:#909399;line-height:17px}
\ No newline at end of file
<!DOCTYPE html><html lang=cn><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1"><link rel=icon href=/gic-marketing-operation/favicon2.ico><link rel=stylesheet type=text/css href=//web-1251519181.file.myqcloud.com/lib/element-ui/2.15.6/index.css><link rel=stylesheet type=text/css href=//web-1251519181.file.myqcloud.com/custom-element/custom-element.1.0.68.css><title>实施运维</title><link href=/gic-marketing-operation/css/chunk-3c8e61f9.91919a21.css rel=prefetch><link href=/gic-marketing-operation/css/chunk-497a5a20.f6dcad02.css rel=prefetch><link href=/gic-marketing-operation/css/chunk-56efb11f.7341c2cb.css rel=prefetch><link href=/gic-marketing-operation/css/chunk-74ea1fe8.62fd728d.css rel=prefetch><link href=/gic-marketing-operation/css/chunk-8916006a.f206fe9a.css rel=prefetch><link href=/gic-marketing-operation/js/chunk-0456e508.77db1453.js rel=prefetch><link href=/gic-marketing-operation/js/chunk-3c8e61f9.5c74978c.js rel=prefetch><link href=/gic-marketing-operation/js/chunk-497a5a20.69785688.js rel=prefetch><link href=/gic-marketing-operation/js/chunk-56efb11f.7d072a6c.js rel=prefetch><link href=/gic-marketing-operation/js/chunk-69e3f14c.25e98613.js rel=prefetch><link href=/gic-marketing-operation/js/chunk-74ea1fe8.d7bb983d.js rel=prefetch><link href=/gic-marketing-operation/js/chunk-8916006a.0a461d03.js rel=prefetch><link href=/gic-marketing-operation/css/app.3ed4aba6.css rel=preload as=style><link href=/gic-marketing-operation/js/app.9fa044e3.js rel=preload as=script><link href=/gic-marketing-operation/js/chunk-vendors.539762da.js rel=preload as=script><link href=/gic-marketing-operation/css/app.3ed4aba6.css rel=stylesheet></head><body class=damolish><noscript><strong>We're sorry but damolish doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=//web-1251519181.file.myqcloud.com/lib-4.0/vue/2.6.10/vue.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/element-ui/2.15.6/index.js></script><script src=//web-1251519181.file.myqcloud.com/components/input.2.0.14.js></script><script src=//web-1251519181.file.myqcloud.com/components/transfer.1.0.15.js></script><script src=//web-1251519181.file.myqcloud.com/components/steps.1.0.8.js></script><script src=//web-1251519181.file.myqcloud.com/components/step.1.0.5.js></script><script src=//web-1251519181.file.myqcloud.com/components/user-info.1.0.3.js></script><script src=/gic-marketing-operation/js/chunk-vendors.539762da.js></script><script src=/gic-marketing-operation/js/app.9fa044e3.js></script></body></html>
\ No newline at end of file
<!DOCTYPE html><html lang=cn><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1"><link rel=icon href=/gic-marketing-operation/favicon2.ico><link rel=stylesheet type=text/css href=//web-1251519181.file.myqcloud.com/lib/element-ui/2.15.6/index.css><link rel=stylesheet type=text/css href=//web-1251519181.file.myqcloud.com/custom-element/custom-element.1.0.68.css><title>实施运维</title><link href=/gic-marketing-operation/css/chunk-3c8e61f9.91919a21.css rel=prefetch><link href=/gic-marketing-operation/css/chunk-74ea1fe8.62fd728d.css rel=prefetch><link href=/gic-marketing-operation/css/chunk-7a813464.4229c6ab.css rel=prefetch><link href=/gic-marketing-operation/css/chunk-8916006a.f206fe9a.css rel=prefetch><link href=/gic-marketing-operation/css/chunk-b4e6be8c.e3b51cb2.css rel=prefetch><link href=/gic-marketing-operation/js/chunk-0456e508.77db1453.js rel=prefetch><link href=/gic-marketing-operation/js/chunk-3c8e61f9.5c74978c.js rel=prefetch><link href=/gic-marketing-operation/js/chunk-69e3f14c.25e98613.js rel=prefetch><link href=/gic-marketing-operation/js/chunk-74ea1fe8.d7bb983d.js rel=prefetch><link href=/gic-marketing-operation/js/chunk-7a813464.2beec30a.js rel=prefetch><link href=/gic-marketing-operation/js/chunk-8916006a.0a461d03.js rel=prefetch><link href=/gic-marketing-operation/js/chunk-b4e6be8c.4f293661.js rel=prefetch><link href=/gic-marketing-operation/css/app.3ed4aba6.css rel=preload as=style><link href=/gic-marketing-operation/js/app.c9588a71.js rel=preload as=script><link href=/gic-marketing-operation/js/chunk-vendors.539762da.js rel=preload as=script><link href=/gic-marketing-operation/css/app.3ed4aba6.css rel=stylesheet></head><body class=damolish><noscript><strong>We're sorry but damolish doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=//web-1251519181.file.myqcloud.com/lib-4.0/vue/2.6.10/vue.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/element-ui/2.15.6/index.js></script><script src=//web-1251519181.file.myqcloud.com/components/input.2.0.14.js></script><script src=//web-1251519181.file.myqcloud.com/components/transfer.1.0.15.js></script><script src=//web-1251519181.file.myqcloud.com/components/steps.1.0.8.js></script><script src=//web-1251519181.file.myqcloud.com/components/step.1.0.5.js></script><script src=//web-1251519181.file.myqcloud.com/components/user-info.1.0.3.js></script><script src=/gic-marketing-operation/js/chunk-vendors.539762da.js></script><script src=/gic-marketing-operation/js/app.c9588a71.js></script></body></html>
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-56efb11f"],{"0cc1":function(e,t,n){},"24ca":function(e,t,n){"use strict";n("0cc1")},"2f21":function(e,t,n){"use strict";var s=n("79e5");e.exports=function(e,t){return!!e&&s((function(){t?e.call(null,(function(){}),1):e.call(null)}))}},"55dd":function(e,t,n){"use strict";var s=n("5ca1"),a=n("d8e8"),r=n("4bf8"),i=n("79e5"),l=[].sort,o=[1,2,3];s(s.P+s.F*(i((function(){o.sort(void 0)}))||!i((function(){o.sort(null)}))||!n("2f21")(l)),"Array",{sort:function(e){return void 0===e?l.call(r(this)):l.call(r(this),a(e))}})},"80f9":function(e,t,n){"use strict";n.r(t);var s=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"content"},[n("el-form",{ref:"form",attrs:{model:e.form,rules:e.rules,"label-width":"140px"}},[n("el-form-item",{attrs:{label:"短信签名ID",prop:"smsSignId"}},[n("el-input",{staticClass:"w180",model:{value:e.form.smsSignId,callback:function(t){e.$set(e.form,"smsSignId",t)},expression:"form.smsSignId"}})],1),n("el-form-item",{attrs:{label:"短信签名",prop:"smsSignText"}},[n("el-input",{staticClass:"w180",model:{value:e.form.smsSignText,callback:function(t){e.$set(e.form,"smsSignText",t)},expression:"form.smsSignText"}})],1),n("el-form-item",{attrs:{label:"签名应用通道",prop:"channelSignList"}},[n("el-checkbox-group",{model:{value:e.form.channelSignList,callback:function(t){e.$set(e.form,"channelSignList",t)},expression:"form.channelSignList"}},e._l(e.channelList,(function(t){return n("el-checkbox",{key:t.channelId,attrs:{label:t.channelId,disabled:e.disabledCheckBox.includes(t.channelId)}},[e._v(e._s(t.channelName))])})),1)],1),n("el-form-item",{attrs:{label:"短信模板数量",prop:"maxTemplateCount"}},[n("el-input-number",{staticClass:"w90",attrs:{"controls-position":"right",min:e.form.limitTemplateCount},model:{value:e.form.maxTemplateCount,callback:function(t){e.$set(e.form,"maxTemplateCount",t)},expression:"form.maxTemplateCount"}}),n("span",{staticClass:"tips"},[e._v("该商户在商户后台看到的短信模板数量")])],1),n("el-form-item",{attrs:{label:"短信发送优先级",prop:"sendSmsType"}},[n("el-radio-group",{model:{value:e.form.sendSmsType,callback:function(t){e.$set(e.form,"sendSmsType",t)},expression:"form.sendSmsType"}},[n("p",{staticClass:"send_sms"},[n("el-radio",{attrs:{label:0}},[e._v("多通道")]),n("span",{staticClass:"channels"},[e._v(e._s(e.channelSort))])],1),n("el-radio",{attrs:{label:1}},[e._v("\n 指定通道\n "),e.form.sendSmsType?n("el-radio-group",{staticClass:"ml20",staticStyle:{"vertical-align":"top"},model:{value:e.form.appointChannel,callback:function(t){e.$set(e.form,"appointChannel",t)},expression:"form.appointChannel"}},e._l(e.channelList,(function(t){return n("el-radio",{key:t.channelId,attrs:{label:t.channelId}},[e._v(e._s(t.channelName))])})),1):e._e()],1)],1)],1),n("el-form-item",{attrs:{label:"短信AppID",prop:"smsAppid"}},[e._v("\n "+e._s(e.form.smsAppid)+"\n ")]),n("el-form-item",{attrs:{label:""}},[n("el-button",{staticStyle:{"margin-top":"30px"},attrs:{type:"primary"},on:{click:e.submit}},[e._v("保存")])],1)],1)],1)},a=[],r=(n("55dd"),n("2909")),i=(n("6b54"),n("ac6a"),n("28a5"),n("96cf"),n("1da1")),l=n("c356"),o=l["a"].getAllChannel,c=l["a"].getSmsSetting,m=l["a"].updateSms,u=l["a"].getAppid,p={data:function(){var e=this,t=function(t,n,s){1!==n||e.form.appointChannel||s(new Error("请选择指定通道")),s()};return{channelList:[],disabledCheckBox:[],form:{enterpriseSmsSettingId:"",enterpriseId:"",smsSignId:"",smsSignText:"",channelSignList:[],maxTemplateCount:0,limitTemplateCount:0,sendSmsType:0,appointChannel:null,smsAppid:""},rules:{smsSignId:{required:!0,message:"请输入签名Id",trigger:"blur"},smsSignText:{required:!0,message:"请输入短信签名",trigger:"blur"},channelSignList:{required:!0,message:"请选择签名应用通道",trigger:"blur"},maxTemplateCount:{required:!0,message:"请输短信模板数量",trigger:"blur"},sendSmsType:{validator:t,trigger:"change"}}}},created:function(){this.getChannelList(),this.getDetail()},methods:{getDetail:function(){var e=Object(i["a"])(regeneratorRuntime.mark((function e(){var t,n,s,a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,c({enterpriseId:this.$route.query.id});case 2:t=e.sent,t=t.result||{},e.t0=regeneratorRuntime.keys(t);case 5:if((e.t1=e.t0()).done){e.next=22;break}if(n=e.t1.value,!this.form.hasOwnProperty(n)){e.next=20;break}if(this.form[n]=t[n]||this.form[n],"channelSignList"==n&&"string"==typeof this.form[n]&&(this.form[n]=this.form[n].split(",").map((function(e){return+e})),this.disabledCheckBox=this.form[n]),"maxTemplateCount"==n&&(this.form["limitTemplateCount"]=this.form[n]||0),"sendSmsType"==n&&0!=this.form[n]?(this.form["appointChannel"]=this.form[n],this.form[n]=1,this.$emit("getTableChannelType",this.form["appointChannel"])):"sendSmsType"==n&&0==this.form[n]&&this.$emit("getTableChannelType",0),"smsAppid"!=n||this.form[n]){e.next=19;break}return e.next=16,u();case 16:s=e.sent,a=s.result,this.form[n]=a;case 19:case 20:e.next=5;break;case 22:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),getChannelList:function(){var e=Object(i["a"])(regeneratorRuntime.mark((function e(){var t,n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,o();case 2:t=e.sent,n=t.result,this.channelList=n||[];case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),submit:function(){var e=this;this.$refs.form.validate(function(){var t=Object(i["a"])(regeneratorRuntime.mark((function t(n){var s;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(!n){t.next=10;break}return s=Object.assign({},e.form),1==s.sendSmsType&&(s.sendSmsType=s.appointChannel),s.channelSignList=s.channelSignList.toString(),delete s.appointChannel,delete s.limitTemplateCount,t.next=8,m(s);case 8:e.$message.success("保存成功"),e.getDetail();case 10:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}())}},computed:{channelSort:function(){var e="",t=Object(r["a"])(this.channelList);return t.sort((function(e,t){return t-e})).forEach((function(t,n,s){e+=(n>0?" > ":"")+t.channelName})),e}}},f=p,h=(n("b9a5"),n("2877")),d=Object(h["a"])(f,s,a,!1,null,"64cb65e4",null);t["default"]=d.exports},b9a5:function(e,t,n){"use strict";n("c121")},b9d0:function(e,t,n){"use strict";n.r(t);var s=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"container right_content"},[n("div",{staticClass:"top"},[e._m(0),n("detail-form",{on:{getTableChannelType:function(t){return e.tableChannelType=t}}})],1),n("div",{staticClass:"bottom"},[e._m(1),n("detail-table",{attrs:{"table-channel-type":e.tableChannelType}})],1)])},a=[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"title"},[n("h2",[e._v("基本信息")])])},function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"title mb20"},[n("h2",[e._v("短信模板列表")])])}],r=n("80f9"),i=n("1f3d"),l={components:{detailForm:r["default"],detailTable:i["default"]},data:function(){return{tableChannelType:null}}},o=l,c=(n("24ca"),n("2877")),m=Object(c["a"])(o,s,a,!1,null,"d2467e82",null);t["default"]=m.exports},c121:function(e,t,n){}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-7a813464"],{"0cc1":function(e,t,n){},"24ca":function(e,t,n){"use strict";n("0cc1")},"51e3":function(e,t,n){"use strict";n("b81c")},"80f9":function(e,t,n){"use strict";n.r(t);var s=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"content"},[n("el-form",{ref:"form",attrs:{model:e.form,rules:e.rules,"label-width":"140px"}},[n("el-form-item",{attrs:{label:"短信签名ID",prop:"smsSignId"}},[n("el-input",{staticClass:"w180",attrs:{disabled:""},model:{value:e.form.smsSignId,callback:function(t){e.$set(e.form,"smsSignId",t)},expression:"form.smsSignId"}})],1),n("el-form-item",{attrs:{label:"短信签名",prop:"smsSignText"}},[n("el-input",{staticClass:"w180",attrs:{disabled:""},model:{value:e.form.smsSignText,callback:function(t){e.$set(e.form,"smsSignText",t)},expression:"form.smsSignText"}})],1),n("el-form-item",{attrs:{label:"签名应用通道",prop:"channelSignList"}},[n("el-checkbox-group",{model:{value:e.form.channelSignList,callback:function(t){e.$set(e.form,"channelSignList",t)},expression:"form.channelSignList"}},e._l(e.channelList,(function(t){return n("el-checkbox",{key:t.channelId,attrs:{label:t.channelId,disabled:e.disabledCheckBox.includes(t.channelId)}},[e._v(e._s(t.channelName))])})),1)],1),n("el-form-item",{attrs:{label:"短信模板数量",prop:"useTemplateCount"}},[n("el-input-number",{staticClass:"w90",attrs:{"controls-position":"right",min:e.form.limitTemplateCount},model:{value:e.form.useTemplateCount,callback:function(t){e.$set(e.form,"useTemplateCount",t)},expression:"form.useTemplateCount"}}),n("span",{staticClass:"tips"},[e._v("该商户在商户后台看到的短信模板数量")])],1),n("el-form-item",{attrs:{label:"短信发送优先级",prop:"sendSmsType"}},[n("el-radio-group",{model:{value:e.form.sendSmsType,callback:function(t){e.$set(e.form,"sendSmsType",t)},expression:"form.sendSmsType"}},[n("p",{staticClass:"send_sms"},[n("el-radio",{attrs:{label:0}},[e._v("多通道")]),n("span",{staticClass:"channels"},[e._v(e._s(e.channelSortRes))])],1),n("el-radio",{attrs:{label:1}},[e._v("\n 指定通道\n "),e.form.sendSmsType?n("el-radio-group",{staticClass:"ml20",staticStyle:{"vertical-align":"top"},model:{value:e.form.appointChannel,callback:function(t){e.$set(e.form,"appointChannel",t)},expression:"form.appointChannel"}},e._l(e.channelList,(function(t){return n("el-radio",{key:t.channelId,attrs:{label:t.channelId}},[e._v(e._s(t.channelName))])})),1):e._e()],1)],1)],1),n("el-form-item",{attrs:{label:"短信AppID",prop:"smsAppid"}},[e._v("\n "+e._s(e.form.smsAppid)+"\n ")]),n("el-form-item",{attrs:{label:""}},[n("el-button",{staticStyle:{"margin-top":"30px"},attrs:{type:"primary"},on:{click:e.submit}},[e._v("保存")])],1)],1)],1)},a=[],r=(n("7514"),n("6b54"),n("ac6a"),n("28a5"),n("96cf"),n("1da1")),i=n("c356"),l=i["a"].getAllChannel,o=i["a"].getSmsSetting,c=i["a"].updateSms,m=i["a"].getAppid,u={data:function(){var e=this,t=function(t,n,s){1!==n||e.form.appointChannel||s(new Error("请选择指定通道")),s()};return{channelList:[],disabledCheckBox:[],form:{enterpriseSmsSettingId:"",enterpriseId:"",smsSignId:"",smsSignText:"",channelSignList:[],useTemplateCount:0,limitTemplateCount:0,sendSmsType:0,appointChannel:null,smsAppid:"",channelSort:"",channelSortRes:""},rules:{smsSignId:{required:!0,message:"请输入签名Id",trigger:"blur"},smsSignText:{required:!0,message:"请输入短信签名",trigger:"blur"},channelSignList:{required:!0,message:"请选择签名应用通道",trigger:"blur"},useTemplateCount:{required:!0,message:"请输短信模板数量",trigger:"blur"},sendSmsType:{validator:t,trigger:"change"}}}},created:function(){this.getChannelList(),this.getDetail()},methods:{getDetail:function(){var e=Object(r["a"])(regeneratorRuntime.mark((function e(){var t,n,s,a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,o({enterpriseId:this.$route.query.id});case 2:t=e.sent,t=t.result||{},e.t0=regeneratorRuntime.keys(t);case 5:if((e.t1=e.t0()).done){e.next=21;break}if(n=e.t1.value,!this.form.hasOwnProperty(n)){e.next=19;break}if(this.form[n]=t[n]||this.form[n],"channelSignList"==n&&"string"==typeof this.form[n]&&(this.form[n]=this.form[n].split(",").map((function(e){return+e})),this.disabledCheckBox=this.form[n]),"useTemplateCount"==n&&(this.form["limitTemplateCount"]=this.form[n]||0),"sendSmsType"==n&&0!=this.form[n]?(this.form["appointChannel"]=this.form[n],this.form[n]=1,this.$emit("getTableChannelType",this.form["appointChannel"])):"sendSmsType"==n&&0==this.form[n]&&this.$emit("getTableChannelType",0),"smsAppid"!=n||this.form[n]){e.next=18;break}return e.next=15,m();case 15:s=e.sent,a=s.result,this.form[n]=a;case 18:"channelSort"==n&&this.form[n]&&(this.channelSortRes=this.channelSort(this.form[n]));case 19:e.next=5;break;case 21:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),getChannelList:function(){var e=Object(r["a"])(regeneratorRuntime.mark((function e(){var t,n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,l();case 2:t=e.sent,n=t.result,this.channelList=n||[];case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),submit:function(){var e=this;this.$refs.form.validate(function(){var t=Object(r["a"])(regeneratorRuntime.mark((function t(n){var s;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(!n){t.next=10;break}return s=Object.assign({},e.form),1==s.sendSmsType&&(s.sendSmsType=s.appointChannel),s.channelSignList=s.channelSignList.toString(),delete s.appointChannel,delete s.limitTemplateCount,t.next=8,c(s);case 8:e.$message.success("保存成功"),e.getDetail();case 10:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}())},channelSort:function(e){var t=this,n=e.split(","),s=n.map((function(e){var n=t.channelList.find((function(t){return t.channelId==e}));return n?n.channelName:null})).filter((function(e){return!!e}));return s.join(" < ")}}},p=u,f=(n("51e3"),n("2877")),h=Object(f["a"])(p,s,a,!1,null,"50fabf1e",null);t["default"]=h.exports},b81c:function(e,t,n){},b9d0:function(e,t,n){"use strict";n.r(t);var s=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"container right_content"},[n("div",{staticClass:"top"},[e._m(0),n("detail-form",{on:{getTableChannelType:function(t){return e.tableChannelType=t}}})],1),n("div",{staticClass:"bottom"},[e._m(1),n("detail-table",{attrs:{"table-channel-type":e.tableChannelType}})],1)])},a=[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"title"},[n("h2",[e._v("基本信息")])])},function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"title mb20"},[n("h2",[e._v("短信模板列表")])])}],r=n("80f9"),i=n("1f3d"),l={components:{detailForm:r["default"],detailTable:i["default"]},data:function(){return{tableChannelType:null}}},o=l,c=(n("24ca"),n("2877")),m=Object(c["a"])(o,s,a,!1,null,"d2467e82",null);t["default"]=m.exports}}]);
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment