import{d as n}from"./index-mobile-Cdp4yXnt.js";import{d,Z as p,Q as c,_ as o,m as e}from"./vue-C-_v7KcX.js";import{m as i,D as b,F as f,l as D}from"./element-plus-iuNPLb4-.js";const _=d({name:"EnvVariableSelector",props:{modelValue:{type:String,default:""},labelWidth:{type:String,default:""}},emits:["update:modelValue"],computed:{selectedValue:{get(){return this.$props.modelValue},set(a){this.$emit("update:modelValue",a)}},formRules(){return{valueSource:[{required:!0,message:"请选择值来源对象",trigger:"change"}]}}}});function v(a,t,I,V,g,h){const l=f,r=b,u=i,s=D;return c(),p(s,{model:{valueSource:a.selectedValue},rules:a.formRules,"label-width":a.labelWidth},{default:o(()=>[e(u,{label:"值来源对象",prop:"valueSource",error:a.selectedValue?"":"请选择值来源对象"},{default:o(()=>[e(r,{modelValue:a.selectedValue,"onUpdate:modelValue":t[0]||(t[0]=m=>a.selectedValue=m),placeholder:"请选择环境变量的值来源对象"},{default:o(()=>[e(l,{label:"当前时间",value:"Now"}),e(l,{label:"当前用户ID",value:"UserID"}),e(l,{label:"当前用户唯一ID",value:"UserGXID"}),e(l,{label:"当前用户名称",value:"UserName"}),e(l,{label:"当前用户企业ID",value:"OrgID"}),e(l,{label:"当前用户企业唯一ID",value:"OrgGXID"}),e(l,{label:"当前用户企业名称",value:"OrgName"}),e(l,{label:"当前用户部门ID",value:"DeptID"}),e(l,{label:"当前用户部门名称",value:"DeptName"}),e(l,{label:"分页查询起始ID",value:"QueryBeginRowID"}),e(l,{label:"分页查询结束ID",value:"QueryEndRowID"})]),_:1},8,["modelValue"])]),_:1},8,["error"])]),_:1},8,["model","rules","label-width"])}const $=n(_,[["render",v]]);export{$ as E};
