import{_ as S,r as _,o as T,y as b,q as l,P as c,v as e,p,x as k,O as v,l as x,bv as M,a0 as g,a1 as V}from"./index.8d733f79.js";const d=s=>(g("data-v-b3626783"),s=s(),V(),s),w=d(()=>e("div",{style:{"font-size":"16px"}},"SMS_464230181",-1)),D=d(()=>e("div",null," \u62A5\u8B66\u7B49\u7EA7\uFF1A${alarmLevel}\uFF0C \u62A5\u8B66\u503C\uFF1A${alarmValue}\uFF0C \u62A5\u8B66\u8BBE\u5907\uFF1A${alarmDevice}\uFF0C \u62A5\u8B66\u6D4B\u70B9\uFF1A${alarmPoint}\uFF0C \u62A5\u8B66\u7C7B\u578B\uFF1A${alarmType} \uFF0C \u62A5\u8B66\u65F6\u95F4\uFF1A${alarmTime}\uFF0C\u8BF7\u53CA\u65F6\u5904\u7406\uFF01 ",-1)),B=[w,D],E=d(()=>e("div",{style:{"font-size":"16px"}},"SMS_465980042",-1)),I=d(()=>e("div",null," \u62A5\u8B66\u7B49\u7EA7:${alarmLevel};\u62A5\u8B66\u6B21\u6570:${alarmCount};\u62A5\u8B66\u8BBE\u5907:${alarmName};\u62A5\u8B66\u5468\u671F:${alarmTime};\u901F\u5EA6:${speedCount};\u6E29\u5EA6:${temperatureCount};\u52A0\u901F\u5EA6:${accelerationCount};\u5176\u5B83:${otherCount};\u8BF7\u53CA\u65F6\u5904\u7406\uFF01 ",-1)),N=[E,I],z={class:"dialog-footer"},F={__name:"smsTemplateModal",emits:["backSmsTemplate"],setup(s,{expose:f,emit:$}){const n=_(!1),a=_(0);function C(o){a.value=o,n.value=!0}function r(){n.value=!1,a.value=0}function m(o){a.value=o}function h(){$("backSmsTemplate",a.value),r()}return f({showModal:C}),(o,t)=>{const u=x,y=M;return T(),b(y,{modelValue:n.value,"onUpdate:modelValue":t[2]||(t[2]=i=>n.value=i),width:"720","align-center":"","before-closeModal":r},{header:l(()=>[c("\u9009\u62E9\u77ED\u4FE1\u6A21\u677F")]),footer:l(()=>[e("span",z,[p(u,{onClick:r},{default:l(()=>[c(k(o.$t("cancel")),1)]),_:1}),p(u,{type:"primary",onClick:h},{default:l(()=>[c(" \u786E\u5B9A ")]),_:1})])]),default:l(()=>[e("div",null,[e("div",{class:"templateCard",style:v({borderColor:a.value===0?"#2E80FD":""}),onClick:t[0]||(t[0]=i=>m(0))},B,4),e("div",{class:"templateCard",style:v([{"margin-left":"16px"},{borderColor:a.value===1?"#2E80FD":""}]),onClick:t[1]||(t[1]=i=>m(1))},N,4)])]),_:1},8,["modelValue"])}}},P=S(F,[["__scopeId","data-v-b3626783"]]);export{P as default};
