import{A as e,M as t,X as n,dt as r,mn as i,t as a,w as o}from"./_plugin-vue_export-helper-C0lsYS1a.js";import{c as s,o as c}from"./GxPagination-DaT0MOF0.js";import{n as l,t as u}from"./form-B9CYF2OU.js";var d=t({name:`EnvVariableSelector`,props:{modelValue:{type:String,default:``},labelWidth:{type:String,default:``}},emits:[`update:modelValue`],computed:{selectedValue:{get(){return this.$props.modelValue},set(e){this.$emit(`update:modelValue`,e)}},formRules(){return{valueSource:[{required:!0,message:`请选择值来源对象`,trigger:`change`}]}}}});function f(t,i,a,d,f,p){let m=c,h=s,g=l,_=u;return n(),o(_,{model:{valueSource:t.selectedValue},rules:t.formRules,"label-width":t.labelWidth},{default:r(()=>[e(g,{label:`值来源对象`,prop:`valueSource`,error:t.selectedValue?``:`请选择值来源对象`},{default:r(()=>[e(h,{modelValue:t.selectedValue,"onUpdate:modelValue":i[0]||=e=>t.selectedValue=e,placeholder:`请选择环境变量的值来源对象`},{default:r(()=>[e(m,{label:`当前时间`,value:`Now`}),e(m,{label:`当前用户ID`,value:`UserID`}),e(m,{label:`当前用户唯一ID`,value:`UserGXID`}),e(m,{label:`当前用户名称`,value:`UserName`}),e(m,{label:`当前用户企业ID`,value:`OrgID`}),e(m,{label:`当前用户企业唯一ID`,value:`OrgGXID`}),e(m,{label:`当前用户企业名称`,value:`OrgName`}),e(m,{label:`当前用户部门ID`,value:`DeptID`}),e(m,{label:`当前用户部门名称`,value:`DeptName`}),e(m,{label:`分页查询起始ID`,value:`QueryBeginRowID`}),e(m,{label:`分页查询结束ID`,value:`QueryEndRowID`})]),_:1},8,[`modelValue`])]),_:1},8,[`error`])]),_:1},8,[`model`,`rules`,`label-width`])}var p=a(d,[[`render`,f]]);export{p as t};