"use strict";const e=require("../../common/vendor.js"),o=require("../../common/libraries/apiLoading.js"),l=require("../../gen/Apis.js");if(require("../../common/libraries/request.js"),require("../../common/store/useWeAppAuthStore.js"),require("../../common/store/useWatermarkStore.js"),require("../../common/store/useWorkStore.js"),!Array){(e.resolveComponent("hs-cell")+e.resolveComponent("uni-icons")+e.resolveComponent("hs-popup"))()}Math||((()=>"../hs-cell/hs-cell.js")+(()=>"../../uni_modules/uni-icons/components/uni-icons/uni-icons.js")+(()=>"../hs-popup/hs-popup.js"))();const u=e.defineComponent({__name:"hs-popup-employees",props:["Apis","title"],emits:["close","change","update:valueModel"],setup(u,{emit:r}){const s=e.ref({label:"",value:0}),a=e.ref([]),n=e.ref(!1),i=()=>{n.value=!n.value,n.value&&t()},t=()=>{o.getApiLoading(l.Apis.Company.CompanyEmployees.Select,{}).then(e=>{a.value=null==e?void 0:e.data,console.log(e)})};return(o,l)=>{var t;return{a:e.o(i),b:e.p({title:u.title,value:(null==(t=s.value)?void 0:t.label)||"",isLink:!0,isPlaceholder:!0,borderTop:!0,required:!0}),c:e.f(a.value,(o,l,u)=>{var a,n;return e.e({a:e.t(null==o?void 0:o.label),b:(null==(a=s.value)?void 0:a.value)===(null==o?void 0:o.value)},(null==(n=s.value)?void 0:n.value)===(null==o?void 0:o.value)?{c:"d0c0aca0-2-"+u+",d0c0aca0-1",d:e.p({type:"checkmarkempty",size:"20",color:"#345CA1"})}:{},{e:`key_${l}`,f:e.o(e=>(e=>{s.value=e,r("change",e),r("update:valueModel",null==e?void 0:e.value),i()})(o),`key_${l}`)})}),d:e.o(i),e:e.p({show:n.value,mode:"bottom",closeable:!0,round:20})}}}}),r=e._export_sfc(u,[["__scopeId","data-v-d0c0aca0"]]);wx.createComponent(r);
