import{d as v,h as B,Y as C,r as u,o as p,f as r,w as l,b as e,H as E,l as _}from"./index.e3896b23.js";const U=_("\u5931\u8D25"),k=_("\u6210\u529F"),w=_("\u5173\u95ED"),T=v({__name:"detail",setup(D,{expose:b}){const m=B(!1),o=C({id:"",platformId:"",platform:"",mobile:"",status:0,params:"",error:"",createTime:""});return b({init:f=>{m.value=!0,Object.assign(o,f)}}),(f,t)=>{const n=u("el-input"),d=u("el-form-item"),s=u("el-col"),i=u("el-row"),c=u("fast-select"),V=u("el-tag"),F=u("el-form"),y=u("el-button"),g=u("el-dialog");return p(),r(g,{modelValue:m.value,"onUpdate:modelValue":t[8]||(t[8]=a=>m.value=a),title:"\u65E5\u5FD7\u8BE6\u60C5","close-on-click-modal":!1,draggable:""},{footer:l(()=>[e(y,{type:"primary",onClick:t[7]||(t[7]=a=>m.value=!1)},{default:l(()=>[w]),_:1})]),default:l(()=>[e(F,{"label-width":"100px"},{default:l(()=>[e(i,null,{default:l(()=>[e(s,{span:12},{default:l(()=>[e(d,{label:"\u65E5\u5FD7ID",prop:"id"},{default:l(()=>[e(n,{modelValue:o.id,"onUpdate:modelValue":t[0]||(t[0]=a=>o.id=a),disabled:""},null,8,["modelValue"])]),_:1})]),_:1}),e(s,{span:12},{default:l(()=>[e(d,{label:"\u5E73\u53F0ID",prop:"platformId"},{default:l(()=>[e(n,{modelValue:o.platformId,"onUpdate:modelValue":t[1]||(t[1]=a=>o.platformId=a),disabled:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(i,null,{default:l(()=>[e(s,{span:12},{default:l(()=>[e(d,{label:"\u5E73\u53F0\u7C7B\u578B",prop:"platform"},{default:l(()=>[e(c,{modelValue:o.platform,"onUpdate:modelValue":t[2]||(t[2]=a=>o.platform=a),"dict-type":"sms_platform",disabled:"",style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),e(s,{span:12},{default:l(()=>[e(d,{label:"\u624B\u673A\u53F7",prop:"mobile"},{default:l(()=>[e(n,{modelValue:o.mobile,"onUpdate:modelValue":t[3]||(t[3]=a=>o.mobile=a),disabled:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(i,null,{default:l(()=>[e(s,{span:12},{default:l(()=>[e(d,{label:"\u72B6\u6001",prop:"status"},{default:l(()=>[o.status===0?(p(),r(V,{key:0,type:"danger"},{default:l(()=>[U]),_:1})):(p(),r(V,{key:1,type:"success"},{default:l(()=>[k]),_:1}))]),_:1})]),_:1}),e(s,{span:12},{default:l(()=>[e(d,{label:"\u53D1\u9001\u65F6\u95F4",prop:"createTime"},{default:l(()=>[e(n,{modelValue:o.createTime,"onUpdate:modelValue":t[4]||(t[4]=a=>o.createTime=a),disabled:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(d,{label:"\u53C2\u6570",prop:"params"},{default:l(()=>[e(n,{modelValue:o.params,"onUpdate:modelValue":t[5]||(t[5]=a=>o.params=a),disabled:""},null,8,["modelValue"])]),_:1}),o.status===0?(p(),r(d,{key:0,label:"\u9519\u8BEF\u4FE1\u606F",prop:"error"},{default:l(()=>[e(n,{modelValue:o.error,"onUpdate:modelValue":t[6]||(t[6]=a=>o.error=a),rows:12,type:"textarea",disabled:""},null,8,["modelValue"])]),_:1})):E("",!0)]),_:1})]),_:1},8,["modelValue"])}}});export{T as _};
