2025-03-20 10:25:32 +08:00

2 lines
3.4 KiB
JavaScript

import{I as x,G as k,H as y,J as E,K as z,B as U,C as v,D as B}from"./element-plus.2acb577d.js";import{Z as f,r as R,o as n,K as c,L as l,U as e,c as Y,T as C,a9 as F,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";const H={__name:"gwlz",props:{formData:Object},setup(t,{expose:p}){const w=f(["\u666E\u901A","\u7D27\u6025","\u7279\u6025"]),s=R(null),g=f({wjmc:[{required:!0,message:"\u4E0D\u53EF\u4E3A\u7A7A",trigger:["blur"]}],lwdw:[{required:!0,message:"\u4E0D\u53EF\u4E3A\u7A7A",trigger:["blur"]}],lwrq:[{required:!0,message:"\u4E0D\u53EF\u4E3A\u7A7A",trigger:["blur"]}],wjzy:[{required:!0,message:"\u4E0D\u53EF\u4E3A\u7A7A",trigger:["blur"]}],kssj:[{required:!0,message:"\u4E0D\u53EF\u4E3A\u7A7A",trigger:["blur"]}],jssj:[{required:!0,message:"\u4E0D\u53EF\u4E3A\u7A7A",trigger:["blur"]}],jjcd:[{required:!0,message:"\u4E0D\u53EF\u4E3A\u7A7A",trigger:["blur"]}],lwdw:[{required:!0,message:"\u4E0D\u53EF\u4E3A\u7A7A",trigger:["blur"]}]});return p({check:async()=>{var d;await((d=s.value)==null?void 0:d.validate())}}),(d,r)=>{const u=U,o=v,m=x,b=k,j=y,V=E,D=z,q=B;return n(),c(q,{ref_key:"formRef",ref:s,model:t.formData,"label-width":"110px",rules:i(g)},{default:l(()=>[e(D,null,{default:l(()=>[e(m,{span:8},{default:l(()=>[e(o,{label:"\u6587\u4EF6\u540D\u79F0",prop:"wjmc"},{default:l(()=>[e(u,{modelValue:t.formData.wjmc,"onUpdate:modelValue":r[0]||(r[0]=a=>t.formData.wjmc=a),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u6587\u4EF6\u540D\u79F0"},null,8,["modelValue"])]),_:1})]),_:1}),e(m,{span:8},{default:l(()=>[e(o,{label:"\u7D27\u6025\u7A0B\u5EA6",prop:"jjcd"},{default:l(()=>[e(j,{modelValue:t.formData.jjcd,"onUpdate:modelValue":r[1]||(r[1]=a=>t.formData.jjcd=a),placeholder:"\u8BF7\u9009\u62E9\u7D27\u6025\u7A0B\u5EA6",class:"flex-1"},{default:l(()=>[(n(!0),Y(C,null,F(i(w),(a,_)=>(n(),c(b,{label:a,value:a,key:_},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1}),e(m,{span:8},{default:l(()=>[e(o,{label:"\u6765\u6587\u5355\u4F4D",prop:"lwdw"},{default:l(()=>[e(u,{modelValue:t.formData.lwdw,"onUpdate:modelValue":r[2]||(r[2]=a=>t.formData.lwdw=a),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u6765\u6587\u5355\u4F4D"},null,8,["modelValue"])]),_:1})]),_:1}),e(m,{span:8},{default:l(()=>[e(o,{label:"\u6765\u6587\u65E5\u671F",prop:"lwrq"},{default:l(()=>[e(V,{class:"flex-1 !flex",modelValue:t.formData.lwrq,"onUpdate:modelValue":r[3]||(r[3]=a=>t.formData.lwrq=a),clearable:"",type:"datetime","value-format":"YYYY-MM-DD HH:mm:ss",placeholder:"\u8BF7\u9009\u62E9\u6765\u6587\u65E5\u671F"},null,8,["modelValue"])]),_:1})]),_:1}),e(m,{span:8},{default:l(()=>[e(o,{label:"\u6587\u4EF6\u6458\u8981",prop:"wjzy"},{default:l(()=>[e(u,{modelValue:t.formData.wjzy,"onUpdate:modelValue":r[4]||(r[4]=a=>t.formData.wjzy=a),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u6587\u4EF6\u6458\u8981",type:"textarea"},null,8,["modelValue"])]),_:1})]),_:1}),e(m,{span:8},{default:l(()=>[e(o,{label:"\u5907\u6CE8"},{default:l(()=>[e(u,{modelValue:t.formData.bz,"onUpdate:modelValue":r[5]||(r[5]=a=>t.formData.bz=a),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u5907\u6CE8",type:"textarea"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model","rules"])}}},A=H;export{A as default};