2 lines
3.1 KiB
JavaScript
2 lines
3.1 KiB
JavaScript
import{I as R,G as h,H as q,K as B,B as U,C as F,D as I}from"./element-plus.2acb577d.js";import{_ as L}from"./index.vue_vue_type_style_index_0_lang.9e5f7fb0.js";import{_ as K}from"./index.37024cd6.js";import{Z as d,r as p,o as s,K as _,L as o,U as e,c as b,T as N,a9 as O,u,Q as A}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 G={key:0},H={__name:"tysp",props:{formData:Object},setup(t,{expose:j}){let x=["jyr","lwrq","wjmc","sex","rzbm","drzw","lwrq1","jjlx","bz1"];const y=d(["\u666E\u901A","\u7D27\u6025","\u7279\u6025"]),i=p(null),c=d({});(()=>{x.forEach(r=>{c[r]=[{required:!0,message:"\u4E0D\u53EF\u4E3A\u7A7A",trigger:["blur"]}]})})();const D=p(!1),V=p(null);return j({check:async()=>{var r;await((r=i.value)==null?void 0:r.validate())}}),(r,a)=>{const f=U,m=F,n=R,w=h,k=q,E=K,g=B,v=L,z=I;return s(),_(z,{ref_key:"formRef",ref:i,model:t.formData,"label-width":"110px",rules:u(c)},{default:o(()=>[e(g,null,{default:o(()=>[e(n,{span:8},{default:o(()=>[e(m,{label:"\u5BA1\u6279\u5185\u5BB9",prop:"jyr"},{default:o(()=>[e(f,{modelValue:t.formData.jyr,"onUpdate:modelValue":a[0]||(a[0]=l=>t.formData.jyr=l),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u5BA1\u6279\u5185\u5BB9"},null,8,["modelValue"])]),_:1})]),_:1}),e(n,{span:8},{default:o(()=>[e(m,{label:"\u7D27\u6025\u7A0B\u5EA6",prop:"jjlx"},{default:o(()=>[e(k,{modelValue:t.formData.jjlx,"onUpdate:modelValue":a[1]||(a[1]=l=>t.formData.jjlx=l),placeholder:"\u8BF7\u9009\u62E9\u7D27\u6025\u7A0B\u5EA6",class:"flex-1"},{default:o(()=>[(s(!0),b(N,null,O(u(y),(l,C)=>(s(),_(w,{label:l,value:l,key:C},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1}),e(n,{span:8},{default:o(()=>[e(m,{label:"\u8BE6\u7EC6\u63CF\u8FF0",prop:"bz1"},{default:o(()=>[e(f,{modelValue:t.formData.bz1,"onUpdate:modelValue":a[2]||(a[2]=l=>t.formData.bz1=l),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u8BE6\u7EC6\u63CF\u8FF0",type:"textarea"},null,8,["modelValue"])]),_:1})]),_:1}),e(n,{span:24},{default:o(()=>[e(m,{label:"\u9644\u4EF6"},{default:o(()=>[e(E,{"form-data":t.formData},null,8,["form-data"])]),_:1})]),_:1})]),_:1}),u(D)?(s(),b("div",G,[e(v,{ref_key:"personnel",ref:V,onConfirm:r.submituser,type:"1"},null,8,["onConfirm"])])):A("",!0)]),_:1},8,["model","rules"])}}},Ee=H;export{Ee as default};
|