"use strict";(self["webpackChunkscui"]=self["webpackChunkscui"]||[]).push([[6062],{25225:function(e,l,a){a.r(l),a.d(l,{default:function(){return m}});var t=a(66252),u=a(3577);const d={style:{float:"left"}},o={style:{float:"right",color:"#999","font-size":"13px"}};function r(e,l,a,r,s,n){const i=(0,t.up)("el-alert"),m=(0,t.up)("sc-select"),c=(0,t.up)("el-card"),p=(0,t.up)("el-col"),f=(0,t.up)("el-row"),w=(0,t.up)("el-main");return(0,t.wg)(),(0,t.j4)(w,null,{default:(0,t.w5)((()=>[(0,t.Wm)(i,{title:"封装el-select支持异步获取数据,以及根据字典名获取数据,继承el-select全部的属性和事件",type:"success",style:{"margin-bottom":"20px"}}),(0,t.Wm)(f,{gutter:15},{default:(0,t.w5)((()=>[(0,t.Wm)(p,{lg:12},{default:(0,t.w5)((()=>[(0,t.Wm)(c,{shadow:"never",header:"异步单选"},{default:(0,t.w5)((()=>[(0,t.Wm)(m,{modelValue:s.value,"onUpdate:modelValue":l[0]||(l[0]=e=>s.value=e),apiObj:e.$API.system.dic.get,clearable:"",filterable:"",style:{width:"100%"}},null,8,["modelValue","apiObj"])])),_:1})])),_:1}),(0,t.Wm)(p,{lg:12},{default:(0,t.w5)((()=>[(0,t.Wm)(c,{shadow:"never",header:"异步多选"},{default:(0,t.w5)((()=>[(0,t.Wm)(m,{modelValue:s.value2,"onUpdate:modelValue":l[1]||(l[1]=e=>s.value2=e),apiObj:e.$API.system.dic.get,clearable:"",filterable:"",multiple:"",style:{width:"100%"}},null,8,["modelValue","apiObj"])])),_:1})])),_:1}),(0,t.Wm)(p,{lg:12},{default:(0,t.w5)((()=>[(0,t.Wm)(c,{shadow:"never",header:"字典选择器"},{default:(0,t.w5)((()=>[(0,t.Wm)(m,{modelValue:s.value3,"onUpdate:modelValue":l[2]||(l[2]=e=>s.value3=e),dic:"notice",clearable:"",filterable:"",style:{width:"100%"}},null,8,["modelValue"])])),_:1})])),_:1}),(0,t.Wm)(p,{lg:12},{default:(0,t.w5)((()=>[(0,t.Wm)(c,{shadow:"never",header:"自定义模板"},{default:(0,t.w5)((()=>[(0,t.Wm)(m,{modelValue:s.value4,"onUpdate:modelValue":l[3]||(l[3]=e=>s.value4=e),dic:"notice",clearable:"",filterable:"",placeholder:"自定义placeholder",style:{width:"100%"}},{option:(0,t.w5)((({data:e})=>[(0,t._)("span",d,(0,u.toDisplayString)(e.label),1),(0,t._)("span",o,(0,u.toDisplayString)(e.value),1)])),_:1},8,["modelValue"])])),_:1})])),_:1})])),_:1})])),_:1})}var s={name:"scselect",data(){return{value:"3",value2:["1","3"],value3:"",value4:""}},mounted(){},methods:{}},n=a(83744);const i=(0,n.Z)(s,[["render",r]]);var m=i}}]);