(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-8fbf6638"],{
/***/c4e7:
/***/function(e,a,t){"use strict";
/* harmony import */t("dfbc");
/* harmony import */},
/***/d62e:
/***/function(e,a,t){"use strict";
// ESM COMPAT FLAG
t.r(a);
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"411544a2-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/pages/Setting/AlarmTips.vue?vue&type=template&id=11b555da&scoped=true
t("14d9"),t("a434"),t("e9c4"),t("b64b"),t("d3b7"),t("25f0");var s=t("c7eb"),r=t("1da1"),l=t("7424"),i=t("b775");
// CONCATENATED MODULE: ./src/services/alarmNotice.js
/**
 * 获取告警通知
 */
function o(e){return n.apply(this,arguments)}
/**
 * 更新告警通知
 */function n(){return(n=Object(r.a)(Object(s.a)().mark((function e(a){return Object(s.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(i.g)(l.GETALARMNOTICEPAMAMS,i.b.POST,a));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function c(e){return m.apply(this,arguments)}
/**
 * 测试Email
 */function m(){return(m=Object(r.a)(Object(s.a)().mark((function e(a){return Object(s.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(i.g)(l.UPDATEALARMNOTICEPAMAMS,i.b.POST,a));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function p(e){return d.apply(this,arguments)}function d(){return(d=Object(r.a)(Object(s.a)().mark((function e(a){return Object(s.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(i.g)(l.TESTESEND,i.b.POST,a));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}
/* harmony default export */var u={name:"AlarmTips",i18n:t("89fe"),data:function(){return{labelCol:{span:2},WEBSpeechEnable:!0,AlarmWindowsEnable:!0,AlarmWindowsAutoClose:!0,WEBSpeechSpeed:1,tabKey:"1",messageShowLoad:!1,EmailParams:null,DingTalkList:[],showWindowsAlarmItems:[],showAlarmItems:[],showAlarmVoiceItems:[],marks:{0:"0.1",26:"1",37:"2.01",100:{style:{color:"#f50"}}},wrapperCol:{span:7},AlarmWindowsFrom:this.$form.createForm(this),SpeechFrom:this.$form.createForm(this),EmailForm:this.$form.createForm(this),weChatForm:this.$form.createForm(this),PhoneForm:this.$form.createForm(this),VoiceForm:this.$form.createForm(this)}},components:{},created:function(){if(1==this.tabKey){var e=localStorage.getItem("Speech");if("null"==e||null==e||""==e)this.WEBSpeechEnable=!0,this.WEBSpeechSpeed=1;else{var a=JSON.parse(e);this.WEBSpeechEnable=a.enable,this.WEBSpeechSpeed=a.speed}}var t=localStorage.getItem("AlarmWindow");"null"==t||null==t||""==t?(this.AlarmWindowsEnable=!0,this.AlarmWindowsAutoClose=!0):(t=JSON.parse(t),this.AlarmWindowsEnable=t.enable,this.showWindowsAlarmItems=t.Level,this.AlarmWindowsAutoClose=t.isClose)},methods:{DelDingTalk:function(e){this.DingTalkList.splice(e,1)},AddDingTalk:function(){this.DingTalkList instanceof Array==0&&(this.DingTalkList=[]),this.DingTalkList.push({IsEnable:!0,Webhook:"",Secret:""})},GetAlarmNotice:function(e){var a=this;a.dataSource=[];var t={type:e};this.messageShowLoad=!0,o(t).then((function(t){if(0==t.data.code){var s={};try{s=JSON.parse(t.data.list.AlarmNoticeParams),"Mail"==e?a.EmailForm.setFieldsValue({MailEnable:s.IsEnable,MailServerIP:s.MailServerIP,MailServerPort:s.MailServerPort.toString(),MailSendUser:s.MailSendUser,MailSendPassword:s.MailSendPassword,MailSendAddress:s.MailSendAddress,MailTo:s.MailTo,TLS:s.TLS,MailSendUserName:s.MailSendUserName,MailSendSubject:s.MailSendSubject}):"weChat"==e?a.weChatForm.setFieldsValue({WeChatEnable:s.IsEnable,EnterpriseID:s.EnterpriseID,AgentId:s.AgentId.toString(),Secret:s.Secret}):"dingTalk"==e?a.DingTalkList=s:"Phone"==e?(a.PhoneForm.setFieldsValue({PhoneNoticeEnable:s.IsEnable,SendPhoneNumbers:s.PhoneNumbers,EveryDayCount:s.EveryDayCount.toString(),AccessKeyId:s.AliYunSms.AccessKeyId,AccessKeySecret:s.AliYunSms.AccessKeySecret,SignName:s.AliYunSms.SignName,TemplateCode:s.AliYunSms.TemplateCode}),a.showAlarmItems=s.SendAlarmLevel):"IhiyiVoice"==e&&(a.VoiceForm.setFieldsValue({PhoneNoticeEnable:s.IsEnable,SendPhoneNumbers:s.PhoneNumbers,EveryDayCount:s.EveryDayCount.toString(),AccessKeyId:s.IhuyiVoice.AccessKeyId,AccessKeySecret:s.IhuyiVoice.AccessKeySecret,TemplateCode:s.IhuyiVoice.TemplateCode}),a.showAlarmVoiceItems=s.SendAlarmLevel)}catch(e){}}a.messageShowLoad=!1})).catch((function(e){a.messageShowLoad=!1,a.$message.error(a.$t("loginPage.serverError"),3)}))},UpdateAlarmNotice:function(e){var a=this,t=this,s={};"Mail"==e?this.EmailForm.validateFields((function(e){e||(s.IsEnable=a.EmailForm.getFieldValue("MailEnable"),s.MailServerIP=a.EmailForm.getFieldValue("MailServerIP"),s.MailServerPort=parseInt(a.EmailForm.getFieldValue("MailServerPort"))?parseInt(a.EmailForm.getFieldValue("MailServerPort")):25,s.MailSendUser=a.EmailForm.getFieldValue("MailSendUser"),s.MailSendPassword=a.EmailForm.getFieldValue("MailSendPassword"),s.MailSendAddress=a.EmailForm.getFieldValue("MailSendAddress"),s.MailTo=a.EmailForm.getFieldValue("MailTo"),s.TLS=a.EmailForm.getFieldValue("TLS"),s.MailSendUserName=a.EmailForm.getFieldValue("MailSendUserName"),s.MailSendSubject=a.EmailForm.getFieldValue("MailSendSubject"))})):"weChat"==e?this.weChatForm.validateFields((function(e){e||(s.IsEnable=a.weChatForm.getFieldValue("WeChatEnable"),s.EnterpriseID=a.weChatForm.getFieldValue("EnterpriseID"),s.AgentId=parseInt(a.weChatForm.getFieldValue("AgentId"))?parseInt(a.weChatForm.getFieldValue("AgentId")):0,s.Secret=a.weChatForm.getFieldValue("Secret"))})):"Phone"==e?this.PhoneForm.validateFields((function(e){e||(s.IsEnable=a.PhoneForm.getFieldValue("PhoneNoticeEnable"),s.SmsType=parseInt(a.PhoneForm.getFieldValue("SmsType"))?parseInt(a.PhoneForm.getFieldValue("SmsType")):1,s.AliYunSms={AccessKeyId:a.PhoneForm.getFieldValue("AccessKeyId"),AccessKeySecret:a.PhoneForm.getFieldValue("AccessKeySecret"),SignName:a.PhoneForm.getFieldValue("SignName"),TemplateCode:a.PhoneForm.getFieldValue("TemplateCode")},s.SendAlarmLevel=a.showAlarmItems,s.PhoneNumbers=a.PhoneForm.getFieldValue("SendPhoneNumbers"),s.EveryDayCount=parseInt(a.PhoneForm.getFieldValue("EveryDayCount"))?parseInt(a.PhoneForm.getFieldValue("EveryDayCount")):10)})):"dingTalk"==e?s=this.DingTalkList:"IhiyiVoice"==e&&this.VoiceForm.validateFields((function(e){e||(s.IsEnable=a.VoiceForm.getFieldValue("PhoneNoticeEnable"),s.VoiceType=parseInt(a.VoiceForm.getFieldValue("SmsType"))?parseInt(a.VoiceForm.getFieldValue("SmsType")):1,s.IhuyiVoice={AccessKeyId:a.VoiceForm.getFieldValue("AccessKeyId"),AccessKeySecret:a.VoiceForm.getFieldValue("AccessKeySecret"),TemplateCode:a.VoiceForm.getFieldValue("TemplateCode")},s.SendAlarmLevel=a.showAlarmVoiceItems,s.PhoneNumbers=a.VoiceForm.getFieldValue("SendPhoneNumbers"),s.EveryDayCount=parseInt(a.VoiceForm.getFieldValue("EveryDayCount"))?parseInt(a.VoiceForm.getFieldValue("EveryDayCount")):10)}));var r={type:e,params:JSON.stringify(s)};this.messageShowLoad=!0,c(r).then((function(e){0==e.data.code?t.$message.success(t.$t("AlarmTips.SaveSuccess")):t.$message.error(t.$t("AlarmTips.SaveFailed")),t.messageShowLoad=!1})).catch((function(e){t.messageShowLoad=!1,t.$message.error(t.$t("loginPage.serverError"),3)}))},TestEmail:function(){var e=this,a=this;this.EmailForm.validateFields((function(t){if(!t){var s={};s.IsEnable=e.EmailForm.getFieldValue("MailEnable"),s.MailServerIP=e.EmailForm.getFieldValue("MailServerIP"),s.MailServerPort=parseInt(e.EmailForm.getFieldValue("MailServerPort")),s.MailSendUser=e.EmailForm.getFieldValue("MailSendUser"),s.MailSendPassword=e.EmailForm.getFieldValue("MailSendPassword"),s.MailSendAddress=e.EmailForm.getFieldValue("MailSendAddress"),s.MailTo=e.EmailForm.getFieldValue("MailTo"),s.TLS=e.EmailForm.getFieldValue("TLS"),s.MailSendUserName=e.EmailForm.getFieldValue("MailSendUserName"),s.MailSendSubject=e.EmailForm.getFieldValue("MailSendSubject");var r={type:"Mail",params:JSON.stringify(s)};e.messageShowLoad=!0,p(r).then((function(e){0==e.data.code?a.$message.success(a.$t("AlarmTips.Email.SendSuccess")):a.$message.error(a.$t("AlarmTips.Email.SendFailed")),a.messageShowLoad=!1})).catch((function(e){a.messageShowLoad=!1,a.$message.error(a.$t("loginPage.serverError"),3)}))}}))},TestWeChat:function(){var e=this,a=this;this.weChatForm.validateFields((function(t){if(!t){var s={};s.IsEnable=e.weChatForm.getFieldValue("WeChatEnable"),s.EnterpriseID=e.weChatForm.getFieldValue("EnterpriseID"),s.AgentId=parseInt(e.weChatForm.getFieldValue("AgentId")),s.Secret=e.weChatForm.getFieldValue("Secret");var r={type:"weChat",params:JSON.stringify(s)};e.messageShowLoad=!0,p(r).then((function(e){0==e.data.code?a.$message.success(a.$t("AlarmTips.Email.SendSuccess")):-6==e.data.code?a.$message.error(e.data.msg):a.$message.error(a.$t("AlarmTips.Email.SendFailed")),a.messageShowLoad=!1})).catch((function(e){a.messageShowLoad=!1,a.$message.error(a.$t("loginPage.serverError"),3)}))}}))},TestSms:function(){var e=this,a=this;this.PhoneForm.validateFields((function(t){if(!t){var s={};s.IsEnable=e.PhoneForm.getFieldValue("PhoneNoticeEnable"),s.SmsType=parseInt(e.PhoneForm.getFieldValue("SmsType")),s.AliYunSms={AccessKeyId:e.PhoneForm.getFieldValue("AccessKeyId"),AccessKeySecret:e.PhoneForm.getFieldValue("AccessKeySecret"),SignName:e.PhoneForm.getFieldValue("SignName"),TemplateCode:e.PhoneForm.getFieldValue("TemplateCode")},s.SendAlarmLevel=e.showAlarmItems,s.PhoneNumbers=e.PhoneForm.getFieldValue("SendPhoneNumbers"),s.EveryDayCount=parseInt(e.PhoneForm.getFieldValue("EveryDayCount"));var r={type:"Phone",params:JSON.stringify(s)};e.messageShowLoad=!0,p(r).then((function(e){0==e.data.code?a.$message.success(a.$t("AlarmTips.Email.SendSuccess")):-3==e.data.code?a.$message.error(e.data.msg):a.$message.error(a.$t("AlarmTips.Email.SendFailed")),a.messageShowLoad=!1})).catch((function(e){a.messageShowLoad=!1,a.$message.error(a.$t("loginPage.serverError"),3)}))}}))},TestDingTalk:function(e){var a=this,t={type:"dingTalk",index:e,params:JSON.stringify(this.DingTalkList)};this.messageShowLoad=!0,p(t).then((function(e){0==e.data.code?a.$message.success(a.$t("AlarmTips.Email.SendSuccess")):-2==e.data.code?a.$message.error(e.data.msg):-3==e.data.code?a.$message.error(a.$t("AlarmTips.dingTalk.ParamError")):a.$message.error(a.$t("AlarmTips.Email.SendFailed")),a.messageShowLoad=!1})).catch((function(e){a.messageShowLoad=!1,a.$message.error(a.$t("loginPage.serverError"),3)}))},saveSpeech:function(){var e={enable:this.WEBSpeechEnable,speed:this.WEBSpeechSpeed};localStorage.setItem("Speech",JSON.stringify(e)),this.$message.success(this.$t("AlarmTips.SaveSuccess"))},saveAlarmWindows:function(){var e={enable:this.AlarmWindowsEnable,Level:this.showWindowsAlarmItems,isClose:this.AlarmWindowsAutoClose};localStorage.setItem("AlarmWindow",JSON.stringify(e)),this.$message.success(this.$t("AlarmTips.SaveSuccess"))},callback:function(e){if(this.tabKey=e,1==e){var a=localStorage.getItem("Speech");if("null"==a||null==a||""==a)this.WEBSpeechEnable=!0,this.WEBSpeechSpeed=1;else{var t=JSON.parse(a);this.WEBSpeechEnable=t.enable,this.WEBSpeechSpeed=t.speed}}else 2==e?this.GetAlarmNotice("Mail"):3==e?this.GetAlarmNotice("Phone"):4==e?this.GetAlarmNotice("dingTalk"):5==e?this.GetAlarmNotice("weChat"):7==e&&this.GetAlarmNotice("IhiyiVoice")},TestVoice:function(){var e=this,a=this;this.VoiceForm.validateFields((function(t){if(!t){var s={};s.IsEnable=e.VoiceForm.getFieldValue("PhoneNoticeEnable"),s.VoiceType=parseInt(e.VoiceForm.getFieldValue("SmsType"))?parseInt(e.VoiceForm.getFieldValue("SmsType")):1,s.IhuyiVoice={AccessKeyId:e.VoiceForm.getFieldValue("AccessKeyId"),AccessKeySecret:e.VoiceForm.getFieldValue("AccessKeySecret"),TemplateCode:e.VoiceForm.getFieldValue("TemplateCode")},s.SendAlarmLevel=e.showAlarmVoiceItems,s.PhoneNumbers=e.VoiceForm.getFieldValue("SendPhoneNumbers"),s.EveryDayCount=parseInt(e.VoiceForm.getFieldValue("EveryDayCount"))?parseInt(e.VoiceForm.getFieldValue("EveryDayCount")):10;var r={type:"IhiyiVoice",params:JSON.stringify(s)};e.messageShowLoad=!0,p(r).then((function(e){0==e.data.code?a.$message.success(a.$t("AlarmTips.Email.SendSuccess")):-3==e.data.code?a.$message.error(e.data.msg):a.$message.error(a.$t("AlarmTips.Email.SendFailed")),a.messageShowLoad=!1})).catch((function(e){a.messageShowLoad=!1,a.$message.error(a.$t("loginPage.serverError"),3)}))}}))}}},h=(t("c4e7"),t("2877")),S=Object(h.a)(u,(function(){var e=this,a=e._self._c;return a("a-card",[a("a-spin",{attrs:{spinning:e.messageShowLoad}},[a("a-tabs",{attrs:{"default-active-key":"1"},on:{change:e.callback}},[a("a-tab-pane",{key:"1"},[a("span",{staticStyle:{"font-size":"20px"},attrs:{slot:"tab"},slot:"tab"},[a("icon-font",{attrs:{type:"icon-speech"}}),e._v(" "+e._s(e.$t("AlarmTips.WEBSpeech.title"))+" ")],1),1==e.tabKey?a("a-form",{staticStyle:{padding:"100px"},attrs:{form:e.SpeechFrom,layout:"vertical"}},[a("a-form-item",{attrs:{"label-col":{span:3},"wrapper-col":e.wrapperCol,label:e.$t("AlarmTips.WEBSpeech.title")}},[a("a-switch",{attrs:{"checked-children":e.$t("AlarmTips.WEBSpeech.Enable"),"un-checked-children":e.$t("AlarmTips.WEBSpeech.Disable")},model:{value:e.WEBSpeechEnable,callback:function(a){e.WEBSpeechEnable=a},expression:"WEBSpeechEnable"}})],1),a("a-form-item",{attrs:{"label-col":{span:3},"wrapper-col":{span:7}}},[a("span",{attrs:{slot:"label"},slot:"label"},[e._v(" "+e._s(e.$t("AlarmTips.WEBSpeech.Speed"))+"  "),a("a-tooltip",{attrs:{title:e.$t("AlarmTips.WEBSpeech.SpeedTips")}},[a("a-icon",{attrs:{type:"question-circle-o"}})],1)],1),a("a-slider",{attrs:{marks:e.marks,"tooltip-visible":!0,min:.1,max:2.01,step:.1},model:{value:e.WEBSpeechSpeed,callback:function(a){e.WEBSpeechSpeed=a},expression:"WEBSpeechSpeed"}})],1),a("a-form-item",{staticStyle:{"margin-left":"100px"},attrs:{"label-col":{span:3},"wrapper-col":{span:7}}},[a("a-button",{attrs:{type:"primary"},on:{click:e.saveSpeech}},[e._v(" "+e._s(e.$t("AlarmTips.Save"))+" ")])],1)],1):e._e()],1),a("a-tab-pane",{key:"2",attrs:{"force-render":""}},[a("span",{staticStyle:{"font-size":"20px"},attrs:{slot:"tab"},slot:"tab"},[a("a-icon",{attrs:{type:"mail"}}),e._v(" "+e._s(e.$t("AlarmTips.Email.title"))+" ")],1),2==e.tabKey?a("div",{staticStyle:{padding:"20px"}},[a("a-form",{staticStyle:{padding:"10px"},attrs:{form:e.EmailForm,layout:"vertical"}},[a("a-form-item",{attrs:{"label-col":{span:3},"wrapper-col":{span:7},label:e.$t("AlarmTips.Email.EmailNotice")}},[a("a-switch",{directives:[{name:"decorator",rawName:"v-decorator",value:["MailEnable",{initialValue:!0,valuePropName:"checked",rules:[{required:!1,message:e.$t("AlarmTips.Email.EmailNotice")}]}],expression:"[\n                'MailEnable',\n                {\n                  initialValue: true,valuePropName: 'checked',rules: [{ required: false, message: $t('AlarmTips.Email.EmailNotice') }],\n                },\n              ]"}],attrs:{"checked-children":e.$t("AlarmTips.WEBSpeech.Enable"),"un-checked-children":e.$t("AlarmTips.WEBSpeech.Disable")}})],1),a("a-form-item",{attrs:{"label-col":{span:3},"wrapper-col":{span:7}}},[a("span",{attrs:{slot:"label"},slot:"label"},[e._v(" "+e._s(e.$t("AlarmTips.Email.MailServer"))+"  ")]),a("a-input",{directives:[{name:"decorator",rawName:"v-decorator",value:["MailServerIP",{rules:[{required:!0,message:e.$t("AlarmTips.Email.MailServer"),whitespace:!0}]}],expression:"['MailServerIP', {rules: [{ required: true, message: $t('AlarmTips.Email.MailServer'), whitespace: true}]}]"}],attrs:{autocomplete:"autocomplete"}})],1),a("a-form-item",{attrs:{"label-col":{span:3},"wrapper-col":{span:7}}},[a("span",{attrs:{slot:"label"},slot:"label"},[e._v(" "+e._s(e.$t("AlarmTips.Email.MailServerPort"))+"  ")]),a("a-input",{directives:[{name:"decorator",rawName:"v-decorator",value:["MailServerPort",{rules:[{required:!0,message:e.$t("AlarmTips.Email.MailServerPort"),whitespace:!0}]}],expression:"['MailServerPort', {rules: [{ required: true, message: $t('AlarmTips.Email.MailServerPort'), whitespace: true}]}]"}],attrs:{autocomplete:"autocomplete"}})],1),a("a-form-item",{attrs:{"label-col":{span:3},"wrapper-col":{span:7}}},[a("span",{attrs:{slot:"label"},slot:"label"},[e._v(" "+e._s(e.$t("AlarmTips.Email.MailUser"))+"  ")]),a("a-input",{directives:[{name:"decorator",rawName:"v-decorator",value:["MailSendUser",{rules:[{required:!0,message:e.$t("AlarmTips.Email.MailUser"),whitespace:!0}]}],expression:"['MailSendUser', {rules: [{ required: true, message: $t('AlarmTips.Email.MailUser'), whitespace: true}]}]"}],attrs:{autocomplete:"autocomplete"}})],1),a("a-form-item",{attrs:{"label-col":{span:3},"wrapper-col":{span:7}}},[a("span",{attrs:{slot:"label"},slot:"label"},[e._v(" "+e._s(e.$t("AlarmTips.Email.MailPassword"))+"  ")]),a("a-input-password",{directives:[{name:"decorator",rawName:"v-decorator",value:["MailSendPassword",{rules:[{required:!0,message:e.$t("AlarmTips.Email.MailPassword"),whitespace:!0}]}],expression:"['MailSendPassword', {rules: [{ required: true, message: $t('AlarmTips.Email.MailPassword'), whitespace: true}]}]"}],attrs:{autocomplete:"autocomplete"}})],1),a("a-form-item",{staticStyle:{display:"none"},attrs:{"label-col":{span:3},"wrapper-col":{span:7},label:e.$t("AlarmTips.Email.TLS")}},[a("a-switch",{directives:[{name:"decorator",rawName:"v-decorator",value:["TLS",{initialValue:!0,valuePropName:"checked",rules:[{required:!1,message:e.$t("AlarmTips.Email.TLS")}]}],expression:"[\n                'TLS',\n                {\n                  initialValue: true,valuePropName: 'checked',rules: [{ required: false, message: $t('AlarmTips.Email.TLS') }],\n                },\n              ]"}],attrs:{"checked-children":e.$t("AlarmTips.Email.TLSEnable"),"un-checked-children":e.$t("AlarmTips.Email.TLSDisable")}})],1),a("a-form-item",{attrs:{"label-col":{span:3},"wrapper-col":{span:7}}},[a("span",{attrs:{slot:"label"},slot:"label"},[e._v(" "+e._s(e.$t("AlarmTips.Email.MailTo"))+"  "),a("a-tooltip",{attrs:{title:e.$t("AlarmTips.Email.MailToTips")}},[a("a-icon",{attrs:{type:"question-circle-o"}})],1)],1),a("a-input",{directives:[{name:"decorator",rawName:"v-decorator",value:["MailTo",{rules:[{required:!1,message:e.$t("AlarmTips.Email.MailTo"),whitespace:!0}]}],expression:"['MailTo', {rules: [{ required: false, message: $t('AlarmTips.Email.MailTo'), whitespace: true}]}]"}],attrs:{autocomplete:"autocomplete"}})],1),a("a-form-item",{attrs:{"label-col":{span:3},"wrapper-col":{span:7}}},[a("span",{attrs:{slot:"label"},slot:"label"},[e._v(" "+e._s(e.$t("AlarmTips.Email.MailSendUserName"))+"  ")]),a("a-input",{directives:[{name:"decorator",rawName:"v-decorator",value:["MailSendUserName",{rules:[{required:!0,message:e.$t("AlarmTips.Email.MailSendUserName"),whitespace:!0}]}],expression:"['MailSendUserName', {rules: [{ required: true, message: $t('AlarmTips.Email.MailSendUserName'), whitespace: true}]}]"}],attrs:{autocomplete:"autocomplete"}})],1),a("a-form-item",{attrs:{"label-col":{span:3},"wrapper-col":{span:7}}},[a("span",{attrs:{slot:"label"},slot:"label"},[e._v(" "+e._s(e.$t("AlarmTips.Email.MailSendSubject"))+"  ")]),a("a-input",{directives:[{name:"decorator",rawName:"v-decorator",value:["MailSendSubject",{rules:[{required:!0,message:e.$t("AlarmTips.Email.MailSendSubject"),whitespace:!0}]}],expression:"['MailSendSubject', {rules: [{ required: true, message: $t('AlarmTips.Email.MailSendSubject'), whitespace: true}]}]"}],attrs:{autocomplete:"autocomplete"}})],1),a("a-form-item",{staticStyle:{"margin-left":"100px"},attrs:{"label-col":{span:3},"wrapper-col":{span:7}}},[a("a-button",{attrs:{type:"primary"},on:{click:function(a){return e.UpdateAlarmNotice("Mail")}}},[e._v(" "+e._s(e.$t("AlarmTips.Save"))+" ")]),a("a-button",{staticStyle:{"margin-left":"10px"},attrs:{type:"primary"},on:{click:e.TestEmail}},[e._v(" "+e._s(e.$t("AlarmTips.Test"))+" ")])],1)],1)],1):e._e()]),a("a-tab-pane",{key:"3"},[a("span",{staticStyle:{"font-size":"20px"},attrs:{slot:"tab"},slot:"tab"},[a("icon-font",{attrs:{type:"icon-duanxin"}}),e._v(" "+e._s(e.$t("AlarmTips.Phone.title"))+" ")],1),a("a-form",{staticStyle:{padding:"10px"},attrs:{form:e.PhoneForm,layout:"vertical"}},[a("a-form-item",{attrs:{"label-col":{span:3},"wrapper-col":{span:7},label:e.$t("AlarmTips.Phone.NoticeEnable")}},[a("a-switch",{directives:[{name:"decorator",rawName:"v-decorator",value:["PhoneNoticeEnable",{initialValue:!0,valuePropName:"checked",rules:[{required:!1,message:e.$t("AlarmTips.Phone.EmailNotice")}]}],expression:"[\n                'PhoneNoticeEnable',\n                {\n                  initialValue: true,valuePropName: 'checked',rules: [{ required: false, message: $t('AlarmTips.Phone.EmailNotice') }],\n                },\n              ]"}],attrs:{"checked-children":e.$t("AlarmTips.WEBSpeech.Enable"),"un-checked-children":e.$t("AlarmTips.WEBSpeech.Disable")}})],1),a("a-form-item",{attrs:{"label-col":{span:3},"wrapper-col":{span:7}}},[a("span",{attrs:{slot:"label"},slot:"label"},[e._v(" "+e._s(e.$t("AlarmTips.Phone.SMSFactory"))+"  ")]),a("a-select",{directives:[{name:"decorator",rawName:"v-decorator",value:["SmsType",{initialValue:"1",rules:[{required:!1,message:e.$t("AlarmTips.Phone.SMSFactory")}]}],expression:"[\n                'SmsType',\n                {\n                  initialValue: '1',rules: [{ required: false, message: $t('AlarmTips.Phone.SMSFactory') }],\n                },\n              ]"}],staticStyle:{width:"100%"}},[a("a-select-option",{attrs:{value:"1"}},[e._v(" "+e._s(e.$t("AlarmTips.Phone.AliYunSms"))+" ")])],1)],1),a("a-form-item",{attrs:{"label-col":{span:3},"wrapper-col":{span:7}}},[a("span",{attrs:{slot:"label"},slot:"label"},[e._v(" "+e._s(e.$t("AlarmTips.Phone.AccessKeyId"))+"  ")]),a("a-input",{directives:[{name:"decorator",rawName:"v-decorator",value:["AccessKeyId",{rules:[{required:!0,message:e.$t("AlarmTips.Phone.AccessKeyId"),whitespace:!0}]}],expression:"['AccessKeyId', {rules: [{ required: true, message: $t('AlarmTips.Phone.AccessKeyId'), whitespace: true}]}]"}],attrs:{autocomplete:"autocomplete"}})],1),a("a-form-item",{attrs:{"label-col":{span:3},"wrapper-col":{span:7}}},[a("span",{attrs:{slot:"label"},slot:"label"},[e._v(" "+e._s(e.$t("AlarmTips.Phone.AccessKeySecret"))+"  ")]),a("a-input",{directives:[{name:"decorator",rawName:"v-decorator",value:["AccessKeySecret",{rules:[{required:!0,message:e.$t("AlarmTips.Phone.AccessKeySecret"),whitespace:!0}]}],expression:"['AccessKeySecret', {rules: [{ required: true, message: $t('AlarmTips.Phone.AccessKeySecret'), whitespace: true}]}]"}],attrs:{autocomplete:"autocomplete"}})],1),a("a-form-item",{attrs:{"label-col":{span:3},"wrapper-col":{span:7}}},[a("span",{attrs:{slot:"label"},slot:"label"},[e._v(" "+e._s(e.$t("AlarmTips.Phone.SignName"))+"  ")]),a("a-input",{directives:[{name:"decorator",rawName:"v-decorator",value:["SignName",{rules:[{required:!0,message:e.$t("AlarmTips.Phone.SignName"),whitespace:!0}]}],expression:"['SignName', {rules: [{ required: true, message: $t('AlarmTips.Phone.SignName'), whitespace: true}]}]"}],attrs:{autocomplete:"autocomplete"}})],1),a("a-form-item",{attrs:{"label-col":{span:3},"wrapper-col":{span:7}}},[a("span",{attrs:{slot:"label"},slot:"label"},[e._v(" "+e._s(e.$t("AlarmTips.Phone.TemplateCode"))+"  ")]),a("a-input",{directives:[{name:"decorator",rawName:"v-decorator",value:["TemplateCode",{rules:[{required:!0,message:e.$t("AlarmTips.Phone.TemplateCode"),whitespace:!0}]}],expression:"['TemplateCode', {rules: [{ required: true, message: $t('AlarmTips.Phone.TemplateCode'), whitespace: true}]}]"}],attrs:{autocomplete:"autocomplete"}})],1),a("a-form-item",{attrs:{"label-col":{span:3},"wrapper-col":{span:7}}},[a("span",{attrs:{slot:"label"},slot:"label"},[e._v(" "+e._s(e.$t("AlarmTips.Phone.EveryDayCount"))+"  ")]),a("a-input",{directives:[{name:"decorator",rawName:"v-decorator",value:["EveryDayCount",{rules:[{required:!0,message:e.$t("AlarmTips.Phone.EveryDayCount"),whitespace:!0}]}],expression:"['EveryDayCount', {rules: [{ required: true, message: $t('AlarmTips.Phone.EveryDayCount'), whitespace: true}]}]"}],staticStyle:{width:"100%"},attrs:{autocomplete:"autocomplete"}})],1),a("a-form-item",{attrs:{"label-col":{span:3},"wrapper-col":{span:7}}},[a("span",{attrs:{slot:"label"},slot:"label"},[e._v(" "+e._s(e.$t("AlarmTips.Phone.SendAlarmLevel"))+"  ")]),a("a-select",{staticStyle:{width:"100%"},attrs:{mode:"multiple",allowClear:!0},model:{value:e.showAlarmItems,callback:function(a){e.showAlarmItems=a},expression:"showAlarmItems"}},[a("a-select-option",{attrs:{value:"0"}},[e._v(e._s(e.$t("dataModel.alarm.Tips")))]),a("a-select-option",{attrs:{value:"1"}},[e._v(e._s(e.$t("dataModel.alarm.Minor")))]),a("a-select-option",{attrs:{value:"2"}},[e._v(e._s(e.$t("dataModel.alarm.Importance")))]),a("a-select-option",{attrs:{value:"3"}},[e._v(e._s(e.$t("dataModel.alarm.Urgency")))]),a("a-select-option",{attrs:{value:"4"}},[e._v(e._s(e.$t("dataModel.alarm.Deadly")))])],1)],1),a("a-form-item",{attrs:{"label-col":{span:3},"wrapper-col":{span:7}}},[a("span",{attrs:{slot:"label"},slot:"label"},[e._v(" "+e._s(e.$t("AlarmTips.Phone.SendPhoneNumbers"))+"  "),a("a-tooltip",{attrs:{title:e.$t("AlarmTips.Phone.SendPhoneNumbersTips")}},[a("a-icon",{attrs:{type:"question-circle-o"}})],1)],1),a("a-input",{directives:[{name:"decorator",rawName:"v-decorator",value:["SendPhoneNumbers",{rules:[{required:!0,message:e.$t("AlarmTips.Phone.SendPhoneNumbers"),whitespace:!0}]}],expression:"['SendPhoneNumbers', {rules: [{ required: true, message: $t('AlarmTips.Phone.SendPhoneNumbers'), whitespace: true}]}]"}],staticStyle:{width:"100%"},attrs:{autocomplete:"autocomplete"}})],1),a("a-form-item",{staticStyle:{"margin-left":"100px"},attrs:{"label-col":{span:3},"wrapper-col":{span:7}}},[a("a-button",{attrs:{type:"primary"},on:{click:function(a){return e.UpdateAlarmNotice("Phone")}}},[e._v(" "+e._s(e.$t("AlarmTips.Save"))+" ")]),a("a-button",{staticStyle:{"margin-left":"10px"},attrs:{type:"primary"},on:{click:e.TestSms}},[e._v(" "+e._s(e.$t("AlarmTips.Test"))+" ")])],1)],1)],1),a("a-tab-pane",{key:"4"},[a("span",{staticStyle:{"font-size":"20px"},attrs:{slot:"tab"},slot:"tab"},[a("icon-font",{attrs:{type:"icon-dingtalk"}}),e._v(" "+e._s(e.$t("AlarmTips.dingTalk.title"))+" ")],1),a("a-button",{attrs:{type:"primary",icon:"save"},on:{click:function(a){return e.UpdateAlarmNotice("dingTalk")}}},[e._v(" "+e._s(e.$t("AlarmTips.Save"))+" ")]),a("a-divider",{attrs:{type:"vertical"}}),a("a-button",{attrs:{icon:"plus"},on:{click:e.AddDingTalk}},[e._v(" "+e._s(e.$t("AlarmTips.dingTalk.New"))+" ")]),4==e.tabKey?a("div",{staticStyle:{padding:"20px"}},e._l(e.DingTalkList,(function(t,s){return a("a-form",{key:s,attrs:{layout:"inline"}},[a("a-form-item",{attrs:{label:e.$t("AlarmTips.dingTalk.DingTalkEnable")}},[a("a-switch",{attrs:{"checked-children":e.$t("AlarmTips.WEBSpeech.Enable"),"un-checked-children":e.$t("AlarmTips.WEBSpeech.Disable")},model:{value:t.IsEnable,callback:function(a){e.$set(t,"IsEnable",a)},expression:"item.IsEnable"}})],1),a("a-form-item",[a("span",{attrs:{slot:"label"},slot:"label"},[e._v(" "+e._s(e.$t("AlarmTips.dingTalk.Webhook"))+"  ")]),a("a-input",{attrs:{autocomplete:"autocomplete"},model:{value:t.Webhook,callback:function(a){e.$set(t,"Webhook",a)},expression:"item.Webhook"}})],1),a("a-form-item",[a("span",{attrs:{slot:"label"},slot:"label"},[e._v(" "+e._s(e.$t("AlarmTips.dingTalk.Secret"))+"  ")]),a("a-input",{attrs:{autocomplete:"autocomplete"},model:{value:t.Secret,callback:function(a){e.$set(t,"Secret",a)},expression:"item.Secret"}})],1),a("a-form-item",{},[a("a-button",{staticStyle:{"margin-left":"10px"},attrs:{type:"primary",icon:"arrow-right"},on:{click:function(a){return e.TestDingTalk(s)}}},[e._v(" "+e._s(e.$t("AlarmTips.Test"))+" ")]),a("a-popconfirm",{attrs:{title:e.$t("AlarmTips.dingTalk.DeleteTips")},on:{confirm:function(a){return e.DelDingTalk(s)}}},[a("a-button",{staticStyle:{"margin-left":"10px"},attrs:{type:"danger",icon:"close"}},[e._v(" "+e._s(e.$t("AlarmTips.dingTalk.Delete"))+" ")])],1)],1)],1)})),1):e._e()],1),a("a-tab-pane",{key:"5"},[a("span",{staticStyle:{"font-size":"20px"},attrs:{slot:"tab"},slot:"tab"},[a("a-icon",{attrs:{type:"wechat"}}),e._v(" "+e._s(e.$t("AlarmTips.Wechat.title"))+" ")],1),a("a-form",{staticStyle:{padding:"10px"},attrs:{form:e.weChatForm,layout:"vertical"}},[a("a-form-item",{attrs:{"label-col":{span:3},"wrapper-col":{span:7},label:e.$t("AlarmTips.Wechat.Enable")}},[a("a-switch",{directives:[{name:"decorator",rawName:"v-decorator",value:["WeChatEnable",{initialValue:!0,valuePropName:"checked",rules:[{required:!1,message:e.$t("AlarmTips.Email.EmailNotice")}]}],expression:"[\n                'WeChatEnable',\n                {\n                  initialValue: true,valuePropName: 'checked',rules: [{ required: false, message: $t('AlarmTips.Email.EmailNotice') }],\n                },\n              ]"}],attrs:{"checked-children":e.$t("AlarmTips.WEBSpeech.Enable"),"un-checked-children":e.$t("AlarmTips.WEBSpeech.Disable")}})],1),a("a-form-item",{attrs:{"label-col":{span:3},"wrapper-col":{span:7}}},[a("span",{attrs:{slot:"label"},slot:"label"},[e._v(" "+e._s(e.$t("AlarmTips.Wechat.EnterpriseID"))+"  ")]),a("a-input",{directives:[{name:"decorator",rawName:"v-decorator",value:["EnterpriseID",{rules:[{required:!0,message:e.$t("AlarmTips.Wechat.EnterpriseID"),whitespace:!0}]}],expression:"['EnterpriseID', {rules: [{ required: true, message: $t('AlarmTips.Wechat.EnterpriseID'), whitespace: true}]}]"}],attrs:{autocomplete:"autocomplete"}})],1),a("a-form-item",{attrs:{"label-col":{span:3},"wrapper-col":{span:7}}},[a("span",{attrs:{slot:"label"},slot:"label"},[e._v(" "+e._s(e.$t("AlarmTips.Wechat.AgentId"))+"  ")]),a("a-input",{directives:[{name:"decorator",rawName:"v-decorator",value:["AgentId",{rules:[{required:!0,message:e.$t("AlarmTips.Wechat.AgentId"),whitespace:!0}]}],expression:"['AgentId', {rules: [{ required: true, message: $t('AlarmTips.Wechat.AgentId'), whitespace: true}]}]"}],attrs:{autocomplete:"autocomplete"}})],1),a("a-form-item",{attrs:{"label-col":{span:3},"wrapper-col":{span:7}}},[a("span",{attrs:{slot:"label"},slot:"label"},[e._v(" "+e._s(e.$t("AlarmTips.Wechat.Secret"))+"  ")]),a("a-input",{directives:[{name:"decorator",rawName:"v-decorator",value:["Secret",{rules:[{required:!0,message:e.$t("AlarmTips.Wechat.Secret"),whitespace:!0}]}],expression:"['Secret', {rules: [{ required: true, message: $t('AlarmTips.Wechat.Secret'), whitespace: true}]}]"}],attrs:{autocomplete:"autocomplete"}})],1),a("a-form-item",{staticStyle:{"margin-left":"100px"},attrs:{"label-col":{span:3},"wrapper-col":{span:7}}},[a("a-button",{attrs:{type:"primary"},on:{click:function(a){return e.UpdateAlarmNotice("weChat")}}},[e._v(" "+e._s(e.$t("AlarmTips.Save"))+" ")]),a("a-button",{staticStyle:{"margin-left":"10px"},attrs:{type:"primary"},on:{click:e.TestWeChat}},[e._v(" "+e._s(e.$t("AlarmTips.Test"))+" ")])],1)],1)],1),a("a-tab-pane",{key:"6"},[a("span",{staticStyle:{"font-size":"20px"},attrs:{slot:"tab"},slot:"tab"},[a("icon-font",{attrs:{type:"icon-guzhangyuce"}}),e._v(" "+e._s(e.$t("AlarmTips.AlarmWindows.title"))+" ")],1),6==e.tabKey?a("a-form",{staticStyle:{padding:"100px"},attrs:{form:e.AlarmWindowsFrom,layout:"vertical"}},[a("a-form-item",{attrs:{"label-col":{span:3},"wrapper-col":e.wrapperCol,label:e.$t("AlarmTips.AlarmWindows.title")}},[a("a-switch",{attrs:{"checked-children":e.$t("AlarmTips.WEBSpeech.Enable"),"un-checked-children":e.$t("AlarmTips.WEBSpeech.Disable")},model:{value:e.AlarmWindowsEnable,callback:function(a){e.AlarmWindowsEnable=a},expression:"AlarmWindowsEnable"}})],1),a("a-form-item",{attrs:{"label-col":{span:3},"wrapper-col":{span:7}}},[a("span",{attrs:{slot:"label"},slot:"label"},[e._v(" "+e._s(e.$t("AlarmTips.AlarmWindows.OpenLevel"))+"  ")]),a("a-select",{staticStyle:{width:"100%"},attrs:{mode:"multiple",allowClear:!0},model:{value:e.showWindowsAlarmItems,callback:function(a){e.showWindowsAlarmItems=a},expression:"showWindowsAlarmItems"}},[a("a-select-option",{attrs:{value:"0"}},[e._v(e._s(e.$t("dataModel.alarm.Tips")))]),a("a-select-option",{attrs:{value:"1"}},[e._v(e._s(e.$t("dataModel.alarm.Minor")))]),a("a-select-option",{attrs:{value:"2"}},[e._v(e._s(e.$t("dataModel.alarm.Importance")))]),a("a-select-option",{attrs:{value:"3"}},[e._v(e._s(e.$t("dataModel.alarm.Urgency")))]),a("a-select-option",{attrs:{value:"4"}},[e._v(e._s(e.$t("dataModel.alarm.Deadly")))])],1)],1),a("a-form-item",{attrs:{"label-col":{span:3},"wrapper-col":e.wrapperCol,label:e.$t("AlarmTips.AlarmWindows.AutoClose")}},[a("a-switch",{attrs:{"checked-children":e.$t("AlarmTips.AlarmWindows.AutoCloseOpen"),"un-checked-children":e.$t("AlarmTips.AlarmWindows.AutoCloseTrue")},model:{value:e.AlarmWindowsAutoClose,callback:function(a){e.AlarmWindowsAutoClose=a},expression:"AlarmWindowsAutoClose"}})],1),a("a-form-item",{staticStyle:{"margin-left":"100px"},attrs:{"label-col":{span:3},"wrapper-col":{span:7}}},[a("a-button",{attrs:{type:"primary"},on:{click:e.saveAlarmWindows}},[e._v(" "+e._s(e.$t("AlarmTips.Save"))+" ")])],1)],1):e._e()],1),a("a-tab-pane",{key:"7"},[a("span",{staticStyle:{"font-size":"20px"},attrs:{slot:"tab"},slot:"tab"},[a("icon-font",{attrs:{type:"icon-shouji"}}),e._v(" "+e._s(e.$t("AlarmTips.Voice.title"))+" ")],1),a("a-form",{staticStyle:{padding:"10px"},attrs:{form:e.VoiceForm,layout:"vertical"}},[a("a-form-item",{attrs:{"label-col":{span:3},"wrapper-col":{span:7},label:e.$t("AlarmTips.Voice.NoticeEnable")}},[a("a-switch",{directives:[{name:"decorator",rawName:"v-decorator",value:["PhoneNoticeEnable",{initialValue:!0,valuePropName:"checked",rules:[{required:!1,message:e.$t("AlarmTips.Voice.EmailNotice")}]}],expression:"[\n                'PhoneNoticeEnable',\n                {\n                  initialValue: true,valuePropName: 'checked',rules: [{ required: false, message: $t('AlarmTips.Voice.EmailNotice') }],\n                },\n              ]"}],attrs:{"checked-children":e.$t("AlarmTips.WEBSpeech.Enable"),"un-checked-children":e.$t("AlarmTips.WEBSpeech.Disable")}})],1),a("a-form-item",{attrs:{"label-col":{span:3},"wrapper-col":{span:7}}},[a("span",{attrs:{slot:"label"},slot:"label"},[e._v(" "+e._s(e.$t("AlarmTips.Voice.SMSFactory"))+"  ")]),a("a-select",{directives:[{name:"decorator",rawName:"v-decorator",value:["SmsType",{initialValue:"1",rules:[{required:!1,message:e.$t("AlarmTips.Voice.SMSFactory")}]}],expression:"[\n                'SmsType',\n                {\n                  initialValue: '1',rules: [{ required: false, message: $t('AlarmTips.Voice.SMSFactory') }],\n                },\n              ]"}],staticStyle:{width:"100%"}},[a("a-select-option",{attrs:{value:"1"}},[e._v(" "+e._s(e.$t("AlarmTips.Voice.AliYunSms"))+" ")])],1)],1),a("a-form-item",{attrs:{"label-col":{span:3},"wrapper-col":{span:7}}},[a("span",{attrs:{slot:"label"},slot:"label"},[e._v(" "+e._s(e.$t("AlarmTips.Voice.AccessKeyId"))+"  ")]),a("a-input",{directives:[{name:"decorator",rawName:"v-decorator",value:["AccessKeyId",{rules:[{required:!0,message:e.$t("AlarmTips.Voice.AccessKeyId"),whitespace:!0}]}],expression:"['AccessKeyId', {rules: [{ required: true, message: $t('AlarmTips.Voice.AccessKeyId'), whitespace: true}]}]"}],attrs:{autocomplete:"autocomplete"}})],1),a("a-form-item",{attrs:{"label-col":{span:3},"wrapper-col":{span:7}}},[a("span",{attrs:{slot:"label"},slot:"label"},[e._v(" "+e._s(e.$t("AlarmTips.Voice.AccessKeySecret"))+"  ")]),a("a-input",{directives:[{name:"decorator",rawName:"v-decorator",value:["AccessKeySecret",{rules:[{required:!0,message:e.$t("AlarmTips.Voice.AccessKeySecret"),whitespace:!0}]}],expression:"['AccessKeySecret', {rules: [{ required: true, message: $t('AlarmTips.Voice.AccessKeySecret'), whitespace: true}]}]"}],attrs:{autocomplete:"autocomplete"}})],1),a("a-form-item",{attrs:{"label-col":{span:3},"wrapper-col":{span:7}}},[a("span",{attrs:{slot:"label"},slot:"label"},[e._v(" "+e._s(e.$t("AlarmTips.Voice.TemplateCode"))+"  ")]),a("a-input",{directives:[{name:"decorator",rawName:"v-decorator",value:["TemplateCode",{rules:[{required:!0,message:e.$t("AlarmTips.Voice.TemplateCode"),whitespace:!0}]}],expression:"['TemplateCode', {rules: [{ required: true, message: $t('AlarmTips.Voice.TemplateCode'), whitespace: true}]}]"}],attrs:{autocomplete:"autocomplete"}})],1),a("a-form-item",{attrs:{"label-col":{span:3},"wrapper-col":{span:7}}},[a("span",{attrs:{slot:"label"},slot:"label"},[e._v(" "+e._s(e.$t("AlarmTips.Voice.EveryDayCount"))+"  ")]),a("a-input",{directives:[{name:"decorator",rawName:"v-decorator",value:["EveryDayCount",{rules:[{required:!0,message:e.$t("AlarmTips.Voice.EveryDayCount"),whitespace:!0}]}],expression:"['EveryDayCount', {rules: [{ required: true, message: $t('AlarmTips.Voice.EveryDayCount'), whitespace: true}]}]"}],staticStyle:{width:"100%"},attrs:{autocomplete:"autocomplete"}})],1),a("a-form-item",{attrs:{"label-col":{span:3},"wrapper-col":{span:7}}},[a("span",{attrs:{slot:"label"},slot:"label"},[e._v(" "+e._s(e.$t("AlarmTips.Voice.SendAlarmLevel"))+"  ")]),a("a-select",{staticStyle:{width:"100%"},attrs:{mode:"multiple",allowClear:!0},model:{value:e.showAlarmVoiceItems,callback:function(a){e.showAlarmVoiceItems=a},expression:"showAlarmVoiceItems"}},[a("a-select-option",{attrs:{value:"0"}},[e._v(e._s(e.$t("dataModel.alarm.Tips")))]),a("a-select-option",{attrs:{value:"1"}},[e._v(e._s(e.$t("dataModel.alarm.Minor")))]),a("a-select-option",{attrs:{value:"2"}},[e._v(e._s(e.$t("dataModel.alarm.Importance")))]),a("a-select-option",{attrs:{value:"3"}},[e._v(e._s(e.$t("dataModel.alarm.Urgency")))]),a("a-select-option",{attrs:{value:"4"}},[e._v(e._s(e.$t("dataModel.alarm.Deadly")))])],1)],1),a("a-form-item",{attrs:{"label-col":{span:3},"wrapper-col":{span:7}}},[a("span",{attrs:{slot:"label"},slot:"label"},[e._v(" "+e._s(e.$t("AlarmTips.Voice.SendPhoneNumbers"))+"  "),a("a-tooltip",{attrs:{title:e.$t("AlarmTips.Voice.SendPhoneNumbersTips")}},[a("a-icon",{attrs:{type:"question-circle-o"}})],1)],1),a("a-input",{directives:[{name:"decorator",rawName:"v-decorator",value:["SendPhoneNumbers",{rules:[{required:!0,message:e.$t("AlarmTips.Voice.SendPhoneNumbers"),whitespace:!0}]}],expression:"['SendPhoneNumbers', {rules: [{ required: true, message: $t('AlarmTips.Voice.SendPhoneNumbers'), whitespace: true}]}]"}],staticStyle:{width:"100%"},attrs:{autocomplete:"autocomplete"}})],1),a("a-form-item",{staticStyle:{"margin-left":"100px"},attrs:{"label-col":{span:3},"wrapper-col":{span:7}}},[a("a-button",{attrs:{type:"primary"},on:{click:function(a){return e.UpdateAlarmNotice("IhiyiVoice")}}},[e._v(" "+e._s(e.$t("AlarmTips.Save"))+" ")]),a("a-button",{staticStyle:{"margin-left":"10px"},attrs:{type:"primary"},on:{click:e.TestVoice}},[e._v(" "+e._s(e.$t("AlarmTips.Test"))+" ")])],1)],1)],1)],1)],1)],1)}),[],!1,null,"11b555da",null)
/* harmony default export */;
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/pages/Setting/AlarmTips.vue?vue&type=script&lang=js
/* harmony default export */a.default=S.exports},
/***/dfbc:
/***/function(e,a,t){
// extracted by mini-css-extract-plugin
/***/}}]);