import{c as y}from"./application.d3e99cbb.js";import{u as h,P as x}from"./index.9e8820cd.js";import{d as A,r as w,c as t,e as B,f as C,h as e,i as a,u as l,m as p,t as v,g as D,q as V,F as k}from"./index.0308b213.js";const N=p("\u8BBE\u7F6E"),q={class:"flex row-right"},z=A({setup(P){let r=w({recipient:1});const{pager:o,requestApi:_}=h({callback:y,params:r.value}),d=()=>{_()};return _(),(R,n)=>{const m=t("el-alert"),c=t("el-card"),i=t("el-tab-pane"),f=t("el-tabs"),s=t("el-table-column"),b=t("el-tag"),E=t("el-button"),g=t("router-link"),F=t("el-table");return B(),C(k,null,[e(c,{shadow:"never"},{default:a(()=>[e(m,{title:"\u6E29\u99A8\u63D0\u793A\uFF1A 1.\u5E73\u53F0\u914D\u7F6E\u5728\u5404\u4E2A\u573A\u666F\u4E0B\u7684\u901A\u77E5\u53D1\u9001\u65B9\u5F0F\u548C\u5185\u5BB9\u6A21\u677F\u3002",type:"primary",closable:!1})]),_:1}),e(c,{shadow:"never",class:"m-t-15"},{default:a(()=>[e(f,{modelValue:l(r).recipient,"onUpdate:modelValue":n[0]||(n[0]=u=>l(r).recipient=u),onClick:d},{default:a(()=>[e(i,{label:"\u901A\u77E5\u7528\u6237",name:1}),e(i,{label:"\u901A\u77E5\u5E73\u53F0",name:2})]),_:1},8,["modelValue"]),e(F,{ref:"tableDataRef",class:"m-t-15",data:l(o).lists,style:{width:"100%"},size:"mini"},{default:a(()=>[e(s,{property:"scene_name",label:"\u901A\u77E5\u540D\u79F0","max-width":"200"}),e(s,{property:"type_desc",label:"\u901A\u77E5\u7C7B\u578B","max-width":"355"}),e(s,{label:"\u77ED\u4FE1\u901A\u77E5","max-width":"300"},{default:a(u=>[e(b,{type:u.row.sms_status_desc=="\u505C\u7528"?"danger":"success",effect:"plain"},{default:a(()=>[p(v(u.row.sms_status_desc),1)]),_:2},1032,["type"])]),_:1}),e(s,{label:"\u64CD\u4F5C","max-width":"300"},{default:a(u=>[e(g,{class:"m-r-10",to:{path:"/application/notification/detail",query:{id:u.row.id}}},{default:a(()=>[e(E,{type:"text"},{default:a(()=>[N]),_:1})]),_:2},1032,["to"])]),_:1})]),_:1},8,["data"]),D("div",q,[e(x,{modelValue:l(o),"onUpdate:modelValue":n[1]||(n[1]=u=>V(o)?o.value=u:null),onChange:l(_),layout:"total, prev, pager, next, jumper"},null,8,["modelValue","onChange"])])]),_:1})],64)}}});export{z as default};
