2 lines
4.3 KiB
JavaScript
2 lines
4.3 KiB
JavaScript
import{G as U,H as R,I as j,J as B,K as Y,C,B as F,D as H}from"./element-plus.2acb577d.js";import{_ as I}from"./index.37024cd6.js";import{d as K}from"./department.23a87470.js";import{j as M}from"./post.6b27df48.js";import{Z as _,r as p,o as s,K as d,L as l,U as e,c as V,T as x,a9 as g,u as i}from"./@vue.821a47ec.js";import"./lodash-es.df44a280.js";import"./async-validator.fb49d0f5.js";import"./@vueuse.81e2759c.js";import"./@element-plus.dabbc398.js";import"./dayjs.d2a77ee0.js";import"./axios.9e996410.js";import"./@ctrl.b082b0c1.js";import"./normalize-wheel-es.8aeb3683.js";import"./@popperjs.36402333.js";import"./index.81df6f20.js";import"./lodash.6bfd3540.js";import"./vue-router.4c04f9b6.js";import"./pinia.fefed778.js";import"./css-color-function.8ff67959.js";import"./color.bfa08e9a.js";import"./clone.660f80c4.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./ms.564e106c.js";import"./nprogress.dcb32030.js";import"./vue-clipboard3.e681583f.js";import"./clipboard.3ad9b20b.js";import"./echarts.42bea269.js";import"./tslib.60310f1a.js";import"./zrender.2cb48b70.js";import"./highlight.js.31cd7941.js";import"./@highlightjs.8864a4be.js";const O={__name:"zpxq",props:{formData:Object},setup(a,{expose:q}){let y=["jyr","lwrq","wjmc","sex","rzbm","drzw","lwrq1","lwrq2","bz1","gwzz","rzyq"];_(["\u5DEE\u65C5\u8D39","\u529E\u516C\u8D39","\u62DB\u5F85\u8D39","\u4EA4\u901A\u8D39","\u901A\u8BAF\u8D39","\u91C7\u8D2D\u4ED8\u6B3E","\u5176\u4ED6"]);const f=p(null),c=p([]);(async()=>{const r=await K();c.value=r})();const z=p([]);(async()=>{const r=await M();z.value=r})();const b=_({});return(()=>{y.forEach(r=>{b[r]=[{required:!0,message:"\u4E0D\u53EF\u4E3A\u7A7A",trigger:["blur"]}]})})(),q({check:async()=>{var r;await((r=f.value)==null?void 0:r.validate())}}),(r,o)=>{const w=U,D=R,m=C,n=j,v=B,u=F,E=I,k=Y,L=H;return s(),d(L,{ref_key:"formRef",ref:f,model:a.formData,"label-width":"110px",rules:i(b)},{default:l(()=>[e(k,null,{default:l(()=>[e(n,{span:8},{default:l(()=>[e(m,{label:"\u62DB\u8058\u90E8\u95E8",prop:"rzbm"},{default:l(()=>[e(D,{modelValue:a.formData.rzbm,"onUpdate:modelValue":o[0]||(o[0]=t=>a.formData.rzbm=t),placeholder:"\u8BF7\u9009\u62E9\u62DB\u8058\u90E8\u95E8",class:"flex-1"},{default:l(()=>[(s(!0),V(x,null,g(i(c),t=>(s(),d(w,{label:t.name,value:t.name},null,8,["label","value"]))),256))]),_:1},8,["modelValue"])]),_:1})]),_:1}),e(n,{span:8},{default:l(()=>[e(m,{label:"\u671F\u671B\u5230\u5C97\u65E5\u671F",prop:"lwrq1"},{default:l(()=>[e(v,{class:"flex-1 !flex",modelValue:a.formData.lwrq1,"onUpdate:modelValue":o[1]||(o[1]=t=>a.formData.lwrq1=t),clearable:"",type:"datetime","value-format":"YYYY-MM-DD HH:mm:ss",placeholder:"\u8BF7\u9009\u62E9\u671F\u671B\u5230\u5C97\u65E5\u671F"},null,8,["modelValue"])]),_:1})]),_:1}),e(n,{span:8},{default:l(()=>[e(m,{label:"\u62DB\u8058\u5C97\u4F4D",prop:"drzw"},{default:l(()=>[e(D,{modelValue:a.formData.drzw,"onUpdate:modelValue":o[2]||(o[2]=t=>a.formData.drzw=t),placeholder:"\u8BF7\u9009\u62E9\u62DB\u8058\u5C97\u4F4D",class:"flex-1"},{default:l(()=>[(s(!0),V(x,null,g(i(z),t=>(s(),d(w,{label:t.name,value:t.name},null,8,["label","value"]))),256))]),_:1},8,["modelValue"])]),_:1})]),_:1}),e(n,{span:8},{default:l(()=>[e(m,{label:"\u62DB\u8058\u4EBA\u6570",prop:"bz1"},{default:l(()=>[e(u,{modelValue:a.formData.bz1,"onUpdate:modelValue":o[3]||(o[3]=t=>a.formData.bz1=t),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u62DB\u8058\u4EBA\u6570"},null,8,["modelValue"])]),_:1})]),_:1}),e(n,{span:8},{default:l(()=>[e(m,{label:"\u5C97\u4F4D\u804C\u8D23",prop:"gwzz"},{default:l(()=>[e(u,{modelValue:a.formData.gwzz,"onUpdate:modelValue":o[4]||(o[4]=t=>a.formData.gwzz=t),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u5C97\u4F4D\u804C\u8D23",type:"textarea"},null,8,["modelValue"])]),_:1})]),_:1}),e(n,{span:8},{default:l(()=>[e(m,{label:"\u4EFB\u804C\u8981\u6C42",prop:"rzyq"},{default:l(()=>[e(u,{modelValue:a.formData.rzyq,"onUpdate:modelValue":o[5]||(o[5]=t=>a.formData.rzyq=t),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u4EFB\u804C\u8981\u6C42",type:"textarea"},null,8,["modelValue"])]),_:1})]),_:1}),e(n,{span:24},{default:l(()=>[e(m,{label:"\u9644\u4EF6"},{default:l(()=>[e(E,{"form-data":a.formData},null,8,["form-data"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model","rules"])}}},ve=O;export{ve as default};
|