import{A as e,M as t,X as n,dt as r,t as i,w as a}from"./_plugin-vue_export-helper-9JxOV_6y.js";import{c as o,o as s}from"./GxPagination-CS4FI5Lo.js";import{n as c,t as l}from"./form-D3h-alBR.js";var u=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 d(t,i,u,d,f,p){let m=s,h=o,g=c,_=l;return n(),a(_,{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 f=i(u,[[`render`,d]]);export{f as t};