import{d as D,r as _,p as F,c as o,e as i,k as C,i as e,h as t,f as k,j as y,m as r,t as E,F as h,u as x,a2 as w}from"./index.0308b213.js";const L=r("\u63D0\u4EA4"),N=r("\u53D6\u6D88"),A=D({props:{modelValue:{type:Boolean,default:!1},ids:null,classifyList:null},emits:["update:modelValue","onClose"],setup(m,{emit:c}){const V=m,u=_(""),n=_(!1);F(()=>V.modelValue,d=>{n.value=d});const v=()=>{s()},s=()=>{c("update:modelValue",!1),c("onClose",u.value)};return(d,a)=>{const B=o("el-option"),b=o("el-select"),f=o("el-form-item"),p=o("el-button"),g=o("el-dialog");return i(),C(g,{modelValue:n.value,"onUpdate:modelValue":a[1]||(a[1]=l=>n.value=l),title:"\u6279\u91CF\u64CD\u4F5C(\u8BBE\u7F6E\u5206\u7C7B)",width:"50%",onClose:s},{default:e(()=>[t(x(w),{ref:"formRef",model:d.formData,"inline-message":!0,"label-width":"160px"},{default:e(()=>[t(f,null,{default:e(()=>[t(b,{class:"agent-select",modelValue:u.value,"onUpdate:modelValue":a[0]||(a[0]=l=>u.value=l),placeholder:"\u8BF7\u9009\u62E9\u5206\u7C7B",filterable:"",clearable:""},{default:e(()=>[(i(!0),k(h,null,y(m.classifyList.list,(l,U)=>(i(),C(B,{value:l.id,label:l.title},{default:e(()=>[r(E(l.title),1)]),_:2},1032,["value","label"]))),256))]),_:1},8,["modelValue"])]),_:1}),t(f,null,{default:e(()=>[t(p,{type:"primary",onClick:v},{default:e(()=>[L]),_:1}),t(p,{onClick:s},{default:e(()=>[N]),_:1})]),_:1})]),_:1},8,["model"])]),_:1},8,["modelValue"])}}});export{A as _};
