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

2 lines
4.2 KiB
JavaScript

import{I as y,G as k,H as z,J as E,K as v,B as U,C as B,D as R}from"./element-plus.2acb577d.js";import{_ as Y}from"./index.37024cd6.js";import{Z as d,r as C,o as n,K as p,L as l,U as e,c as F,T as H,a9 as I,u as f}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 L={__name:"wpwx",props:{formData:Object},setup(r,{expose:c}){const g=d(["\u666E\u901A","\u7D27\u6025","\u7279\u6025"]),i=C(null),b=d({gzsbmc:[{required:!0,message:"\u4E0D\u53EF\u4E3A\u7A7A",trigger:["blur"]}],yjwxfy:[{required:!0,message:"\u4E0D\u53EF\u4E3A\u7A7A",trigger:["blur"]}],bxrq:[{required:!0,message:"\u4E0D\u53EF\u4E3A\u7A7A",trigger:["blur"]}],gzms:[{required:!0,message:"\u4E0D\u53EF\u4E3A\u7A7A",trigger:["blur"]}],jjcd:[{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"]}],jbsy:[{required:!0,message:"\u4E0D\u53EF\u4E3A\u7A7A",trigger:["blur"]}]});return c({check:async()=>{var u;await((u=i.value)==null?void 0:u.validate())}}),(u,a)=>{const s=U,o=B,m=y,_=k,x=z,j=E,D=Y,q=v,V=R;return n(),p(V,{ref_key:"formRef",ref:i,model:r.formData,"label-width":"110px",rules:f(b)},{default:l(()=>[e(q,null,{default:l(()=>[e(m,{span:8},{default:l(()=>[e(o,{label:"\u6545\u969C\u8BBE\u5907\u540D\u79F0",prop:"gzsbmc"},{default:l(()=>[e(s,{modelValue:r.formData.gzsbmc,"onUpdate:modelValue":a[0]||(a[0]=t=>r.formData.gzsbmc=t),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u6545\u969C\u8BBE\u5907\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(x,{modelValue:r.formData.jjcd,"onUpdate:modelValue":a[1]||(a[1]=t=>r.formData.jjcd=t),placeholder:"\u8BF7\u9009\u62E9\u7D27\u6025\u7A0B\u5EA6",class:"flex-1"},{default:l(()=>[(n(!0),F(H,null,I(f(g),(t,w)=>(n(),p(_,{label:t,value:t,key:w},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1}),e(m,{span:8},{default:l(()=>[e(o,{label:"\u9884\u8BA1\u7EF4\u4FEE\u8D39\u7528",prop:"yjwxfy"},{default:l(()=>[e(s,{modelValue:r.formData.yjwxfy,"onUpdate:modelValue":a[2]||(a[2]=t=>r.formData.yjwxfy=t),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u9884\u8BA1\u7EF4\u4FEE\u8D39\u7528"},null,8,["modelValue"])]),_:1})]),_:1}),e(m,{span:8},{default:l(()=>[e(o,{label:"\u62A5\u4FEE\u65E5\u671F",prop:"bxrq"},{default:l(()=>[e(j,{class:"flex-1 !flex",modelValue:r.formData.bxrq,"onUpdate:modelValue":a[3]||(a[3]=t=>r.formData.bxrq=t),clearable:"",type:"datetime","value-format":"YYYY-MM-DD HH:mm:ss",placeholder:"\u8BF7\u9009\u62E9\u62A5\u4FEE\u65E5\u671F"},null,8,["modelValue"])]),_:1})]),_:1}),e(m,{span:8},{default:l(()=>[e(o,{label:"\u6545\u969C\u63CF\u8FF0",prop:"gzms"},{default:l(()=>[e(s,{modelValue:r.formData.gzms,"onUpdate:modelValue":a[4]||(a[4]=t=>r.formData.gzms=t),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u6545\u969C\u63CF\u8FF0",type:"textarea"},null,8,["modelValue"])]),_:1})]),_:1}),e(m,{span:24},{default:l(()=>[e(o,{label:"\u9644\u4EF6"},{default:l(()=>[e(D,{"form-data":r.formData},null,8,["form-data"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model","rules"])}}},_e=L;export{_e as default};