webpackJsonp([34],{T1HN:function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=s("Dd8w"),o=s.n(a),n={name:"text_set",data:function(){return{textSetInfo:{appaccess_key_id:"",access_key_secret:"",sign_name:"",change_password_code:"",wage_code:"",honor_code:"",privilege_code:"",number:"",status:1,service_mobile:""},textSet:{honor_msg:1,wage_msg:1,privilege_msg:1,achievements_msg:1,notice_msg:1,change_password_msg:1,status:1}}},watch:{},methods:{saveTextSetInfo:function(){var t=this;this.$api.setSMSInfo(o()({},this.textSetInfo)).then(function(e){200==e.code?(t.getSMSInfo(),t.$Message.info(e.msg)):t.$Message.info(e.msg)})},getSMSInfo:function(){var t=this;this.$api.getSMSInfo().then(function(e){200==e.code?t.textSetInfo=o()({},e.data):t.$Message.info(e.msg)})}},created:function(){this.getSMSInfo()}},c={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"right_con"},[s("Tabs",{staticClass:"mar_T_15",attrs:{type:"card"}},[s("TabPane",{attrs:{label:"阿里云短信"}},[s("div",{staticClass:"page_summary",staticStyle:{"margin-bottom":"20px"}},[s("p",[t._v("阿里云短信为第三方短信平台，如需使用可至阿里云官网进行购买。")]),t._v(" "),s("p",[t._v("阿里云地址："),s("a",{staticClass:"a_text",attrs:{href:"https://www.aliyun.com",id:"textset-intotext",target:"_blank"}},[t._v("https://www.aliyun.com")])])]),t._v(" "),s("Form",{ref:"textSetInfo",attrs:{model:t.textSetInfo,"label-width":165}},[s("FormItem",{attrs:{label:"accessKeyId："}},[s("Input",{staticClass:"wid_275",model:{value:t.textSetInfo.access_key_id,callback:function(e){t.$set(t.textSetInfo,"access_key_id",e)},expression:"textSetInfo.access_key_id"}})],1),t._v(" "),s("FormItem",{attrs:{label:"accessKeySecret："}},[s("Input",{staticClass:"wid_275",model:{value:t.textSetInfo.access_key_secret,callback:function(e){t.$set(t.textSetInfo,"access_key_secret",e)},expression:"textSetInfo.access_key_secret"}})],1),t._v(" "),s("FormItem",{attrs:{label:"签名名称："}},[s("Input",{staticClass:"wid_275 fl zd1",model:{value:t.textSetInfo.sign_name,callback:function(e){t.$set(t.textSetInfo,"sign_name",e)},expression:"textSetInfo.sign_name"}})],1),t._v(" "),s("FormItem",{attrs:{label:"修改密码模板code："}},[s("Input",{staticClass:"wid_275 fl zd1",model:{value:t.textSetInfo.change_password_code,callback:function(e){t.$set(t.textSetInfo,"change_password_code",e)},expression:"textSetInfo.change_password_code"}})],1),t._v(" "),s("FormItem",{attrs:{label:"发送工资通知模板code："}},[s("Input",{staticClass:"wid_275 fl zd1",model:{value:t.textSetInfo.wage_code,callback:function(e){t.$set(t.textSetInfo,"wage_code",e)},expression:"textSetInfo.wage_code"}})],1),t._v(" "),s("FormItem",{attrs:{label:"荣誉等级短信通知模板code："}},[s("Input",{staticClass:"wid_275 fl zd1",model:{value:t.textSetInfo.honor_code,callback:function(e){t.$set(t.textSetInfo,"honor_code",e)},expression:"textSetInfo.honor_code"}})],1),t._v(" "),s("FormItem",{attrs:{label:"特权奖励短信通知模板code："}},[s("Input",{staticClass:"wid_275 fl zd1",model:{value:t.textSetInfo.privilege_code,callback:function(e){t.$set(t.textSetInfo,"privilege_code",e)},expression:"textSetInfo.privilege_code"}})],1),t._v(" "),s("FormItem",{attrs:{label:"每日发送数量："}},[s("Input",{staticClass:"wid_275 fl zd1",model:{value:t.textSetInfo.number,callback:function(e){t.$set(t.textSetInfo,"number",e)},expression:"textSetInfo.number"}}),t._v(" "),s("p",{staticClass:"text_set_text"},[t._v("0或不填表示不做限制")])],1),t._v(" "),s("FormItem",{attrs:{label:"客服手机号："}},[s("Input",{staticClass:"wid_275 fl zd1",model:{value:t.textSetInfo.service_mobile,callback:function(e){t.$set(t.textSetInfo,"service_mobile",e)},expression:"textSetInfo.service_mobile"}})],1),t._v(" "),s("FormItem",{attrs:{label:"状态："}},[s("RadioGroup",{model:{value:t.textSetInfo.status,callback:function(e){t.$set(t.textSetInfo,"status",e)},expression:"textSetInfo.status"}},[s("Radio",{attrs:{label:1}},[t._v("开启")]),t._v(" "),s("Radio",{attrs:{label:0}},[t._v("关闭")])],1)],1),t._v(" "),s("FormItem",{staticClass:"form_btn"},[s("Button",{attrs:{type:"primary"},on:{click:t.saveTextSetInfo}},[t._v("确认")])],1)],1)],1)],1)],1)},staticRenderFns:[]};var l=s("VU/8")(n,c,!1,function(t){s("bOm9")},null,null);e.default=l.exports},bOm9:function(t,e){}});