2 lines
3.8 KiB
JavaScript
2 lines
3.8 KiB
JavaScript
import{G as E,H as v,I as y,J as z,K as U,C as w,B as C,D as B}from"./element-plus.2acb577d.js";import{a as L}from"./oa_car_cate.bcd4ddc3.js";import{Z as d,r as f,o as n,K as c,L as l,U as e,c as R,T as Y,a9 as h,u as b}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 F={__name:"ycgh",props:{formData:Object},setup(a,{expose:g}){d(["\u4E8B\u5047","\u5E74\u5047","\u8C03\u4F11\u5047","\u75C5\u5047","\u5A5A\u5047","\u4EA7\u5047","\u966A\u4EA7\u5047","\u5176\u4ED6"]);const i=f(null);let p=f([]);L().then(o=>{p.value=o.lists});const j=d({qjlx:[{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"]}],clxz:[{required:!0,message:"\u4E0D\u53EF\u4E3A\u7A7A",trigger:["blur"]}],qjts:[{required:!0,message:"\u4E0D\u53EF\u4E3A\u7A7A",trigger:["blur"]}],qjts1:[{required:!0,message:"\u4E0D\u53EF\u4E3A\u7A7A",trigger:["blur"]}]});return g({check:async()=>{var o;await((o=i.value)==null?void 0:o.validate())}}),(o,r)=>{const D=E,V=v,m=w,s=y,_=z,u=C,q=U,x=B;return n(),c(x,{ref_key:"formRef",ref:i,model:a.formData,"label-width":"110px",rules:b(j)},{default:l(()=>[e(q,null,{default:l(()=>[e(s,{span:8},{default:l(()=>[e(m,{label:"\u8F66\u8F86\u9009\u62E9",prop:"clxz"},{default:l(()=>[e(V,{modelValue:a.formData.clxz,"onUpdate:modelValue":r[0]||(r[0]=t=>a.formData.clxz=t),placeholder:"\u8BF7\u9009\u62E9\u8F66\u8F86",class:"flex-1"},{default:l(()=>[(n(!0),R(Y,null,h(b(p),(t,k)=>(n(),c(D,{label:t.name,value:t.name,key:k},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1}),e(s,{span:8},{default:l(()=>[e(m,{label:"\u5F52\u8FD8\u65F6\u95F4",prop:"kssj"},{default:l(()=>[e(_,{class:"flex-1 !flex",modelValue:a.formData.kssj,"onUpdate:modelValue":r[1]||(r[1]=t=>a.formData.kssj=t),clearable:"",type:"datetime","value-format":"YYYY-MM-DD HH:mm:ss",placeholder:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65F6\u95F4"},null,8,["modelValue"])]),_:1})]),_:1}),e(s,{span:8},{default:l(()=>[e(m,{label:"\u7528\u8F66\u516C\u91CC\u6570",prop:"qjts"},{default:l(()=>[e(u,{modelValue:a.formData.qjts,"onUpdate:modelValue":r[2]||(r[2]=t=>a.formData.qjts=t),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u7528\u8F66\u516C\u91CC\u6570"},null,8,["modelValue"])]),_:1})]),_:1}),e(s,{span:8},{default:l(()=>[e(m,{label:"\u7528\u8F66\u540E\u516C\u91CC\u6570",prop:"qjts1"},{default:l(()=>[e(u,{modelValue:a.formData.qjts1,"onUpdate:modelValue":r[3]||(r[3]=t=>a.formData.qjts1=t),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u7528\u8F66\u540E\u516C\u91CC\u6570"},null,8,["modelValue"])]),_:1})]),_:1}),e(s,{span:8},{default:l(()=>[e(m,{label:"\u5907\u6CE8"},{default:l(()=>[e(u,{modelValue:a.formData.bz,"onUpdate:modelValue":r[4]||(r[4]=t=>a.formData.bz=t),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u5907\u6CE8",type:"textarea"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model","rules"])}}},ge=F;export{ge as default};
|