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

2 lines
4.0 KiB
JavaScript

import{I as D,J as V,K as j,B as _,C as k,D as x}from"./element-plus.2acb577d.js";import{_ as y}from"./index.37024cd6.js";import{Z as n,r as w,o as h,K as q,L as l,U as e,u as U}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 E={__name:"cg",props:{formData:Object},setup(a,{expose:p}){n(["\u4F1A\u8BAE\u5BA4\u4E00","\u4F1A\u8BAE\u5BA4\u4E8C","\u4F1A\u8BAE\u5BA4\u4E09"]);const d=w(null),i=n({wpmc:[{required:!0,message:"\u4E0D\u53EF\u4E3A\u7A7A",trigger:["blur"]}],chsl:[{required:!0,message:"\u4E0D\u53EF\u4E3A\u7A7A",trigger:["blur"]}],jlsy:[{required:!0,message:"\u4E0D\u53EF\u4E3A\u7A7A",trigger:["blur"]}],chje:[{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 p({check:async()=>{var s;await((s=d.value)==null?void 0:s.validate())}}),(s,t)=>{const u=_,o=k,m=D,f=V,c=y,b=j,g=x;return h(),q(g,{ref_key:"formRef",ref:d,model:a.formData,"label-width":"110px",rules:U(i)},{default:l(()=>[e(b,null,{default:l(()=>[e(m,{span:8},{default:l(()=>[e(o,{label:"\u7269\u54C1\u540D\u79F0",prop:"wpmc"},{default:l(()=>[e(u,{modelValue:a.formData.wpmc,"onUpdate:modelValue":t[0]||(t[0]=r=>a.formData.wpmc=r),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u7269\u54C1\u540D\u79F0"},null,8,["modelValue"])]),_:1})]),_:1}),e(m,{span:8},{default:l(()=>[e(o,{label:"\u671F\u671B\u4EA4\u4E92\u65E5\u671F",prop:"kssj"},{default:l(()=>[e(f,{class:"flex-1 !flex",modelValue:a.formData.kssj,"onUpdate:modelValue":t[1]||(t[1]=r=>a.formData.kssj=r),clearable:"",type:"datetime","value-format":"YYYY-MM-DD HH:mm:ss",placeholder:"\u8BF7\u9009\u62E9\u671F\u671B\u4EA4\u4E92\u65E5\u671F"},null,8,["modelValue"])]),_:1})]),_:1}),e(m,{span:8},{default:l(()=>[e(o,{label:"\u91C7\u8D2D\u6570\u91CF",prop:"chsl"},{default:l(()=>[e(u,{modelValue:a.formData.chsl,"onUpdate:modelValue":t[2]||(t[2]=r=>a.formData.chsl=r),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u91C7\u8D2D\u6570\u91CF"},null,8,["modelValue"])]),_:1})]),_:1}),e(m,{span:8},{default:l(()=>[e(o,{label:"\u91C7\u8D2D\u91D1\u989D",prop:"chje"},{default:l(()=>[e(u,{modelValue:a.formData.chje,"onUpdate:modelValue":t[3]||(t[3]=r=>a.formData.chje=r),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u91C7\u8D2D\u91D1\u989D"},null,8,["modelValue"])]),_:1})]),_:1}),e(m,{span:8},{default:l(()=>[e(o,{label:"\u91C7\u8D2D\u4E8B\u7531",prop:"jlsy"},{default:l(()=>[e(u,{modelValue:a.formData.jlsy,"onUpdate:modelValue":t[4]||(t[4]=r=>a.formData.jlsy=r),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u91C7\u8D2D\u4E8B\u7531",type:"textarea"},null,8,["modelValue"])]),_:1})]),_:1}),e(m,{span:8},{default:l(()=>[e(o,{label:"\u5907\u6CE8"},{default:l(()=>[e(u,{modelValue:a.formData.bz,"onUpdate:modelValue":t[5]||(t[5]=r=>a.formData.bz=r),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u5907\u6CE8",type:"textarea"},null,8,["modelValue"])]),_:1})]),_:1}),e(m,{span:24},{default:l(()=>[e(o,{label:"\u9644\u4EF6"},{default:l(()=>[e(c,{"form-data":a.formData},null,8,["form-data"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model","rules"])}}},se=E;export{se as default};