2 lines
5.3 KiB
JavaScript
2 lines
5.3 KiB
JavaScript
import{G as b,B as V,I as _,w as c,N as g,C as D}from"./element-plus.b8743002.js";import{_ as y}from"./index.c58396e2.js";import{o as w,c as F,U as e,L as t,S as f}from"./@vue.e8706010.js";import"./@vueuse.1e5a6e21.js";import"./@element-plus.196c7323.js";import"./lodash-es.92e7f918.js";import"./dayjs.79cf08f3.js";import"./axios.77c85d3e.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./lodash.3080e53f.js";import"./vue-router.12d45bc3.js";import"./pinia.dfca86b4.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.54284180.js";import"./color.1c59b943.js";import"./clone.0c702ab2.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.66e2071a.js";import"./ms.a9ae1d6d.js";import"./nprogress.81114d43.js";import"./vue-clipboard3.f3fb4eed.js";import"./clipboard.c973b911.js";import"./echarts.8d7a50ae.js";import"./zrender.1084fa23.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.2cdc8407.js";const U={components:{},props:[],data(){return{formData:{field101:void 0,field102:void 0,field103:void 0,field104:void 0,field105:void 0,field106:void 0,field107:null,field108:void 0,field109:void 0},rules:{field101:[{required:!0,message:"\u8BF7\u8F93\u5165\u7EC4\u7EC7\u540D\u79F0",trigger:"blur"}],field102:[{required:!0,message:"\u8BF7\u8F93\u5165\u90E8\u95E8\u540D\u79F0",trigger:"blur"}],field103:[{required:!0,message:"\u7CFB\u7EDF\u81EA\u52A8\u586B\u5199",trigger:"blur"}],field104:[{required:!0,message:"\u8BF7\u8F93\u5165\u5F00\u6237\u94F6\u884C",trigger:"blur"}],field105:[{required:!0,message:"\u8BF7\u8F93\u5165\u5F00\u6237\u540D\u79F0",trigger:"blur"}],field106:[{required:!0,message:"\u8BF7\u8F93\u5165\u8D26\u53F7",trigger:"blur"}],field107:[],field108:[{required:!0,message:"\u8BF7\u8F93\u5165\u671F\u521D\u91D1\u989D",trigger:"blur"}],field109:[]}}},computed:{},watch:{},created(){},mounted(){},methods:{submitForm(){this.$refs.elForm.validate(m=>{})},resetForm(){this.$refs.elForm.resetFields()}}},h=f("\u63D0\u4EA4"),k=f("\u91CD\u7F6E");function x(m,o,q,C,l,a){const i=b,d=V,p=_,u=c,n=g,s=D;return w(),F("div",null,[e(s,null,{default:t(()=>[e(n,{ref:"elForm",model:l.formData,rules:l.rules,size:"medium","label-width":"120px","label-position":"left"},{default:t(()=>[e(d,{label:"\u7EC4\u7EC7\u540D\u79F0",prop:"field101"},{default:t(()=>[e(i,{modelValue:l.formData.field101,"onUpdate:modelValue":o[0]||(o[0]=r=>l.formData.field101=r),placeholder:"\u8BF7\u8F93\u5165\u7EC4\u7EC7\u540D\u79F0",clearable:"",style:{width:"100%"}},null,8,["modelValue"])]),_:1}),e(d,{label:"\u90E8\u95E8\u540D\u79F0",prop:"field102"},{default:t(()=>[e(i,{modelValue:l.formData.field102,"onUpdate:modelValue":o[1]||(o[1]=r=>l.formData.field102=r),placeholder:"\u8BF7\u8F93\u5165\u90E8\u95E8\u540D\u79F0",clearable:"",style:{width:"100%"}},null,8,["modelValue"])]),_:1}),e(d,{label:"\u8D26\u6237\u7F16\u7801",prop:"field103"},{default:t(()=>[e(i,{modelValue:l.formData.field103,"onUpdate:modelValue":o[2]||(o[2]=r=>l.formData.field103=r),placeholder:"\u7CFB\u7EDF\u81EA\u52A8\u586B\u5199",disabled:!0,clearable:"",style:{width:"100%"}},null,8,["modelValue"])]),_:1}),e(d,{label:"\u5F00\u6237\u94F6\u884C",prop:"field104"},{default:t(()=>[e(i,{modelValue:l.formData.field104,"onUpdate:modelValue":o[3]||(o[3]=r=>l.formData.field104=r),placeholder:"\u8BF7\u8F93\u5165\u5F00\u6237\u94F6\u884C",clearable:"",style:{width:"100%"}},null,8,["modelValue"])]),_:1}),e(d,{label:"\u5F00\u6237\u540D\u79F0",prop:"field105"},{default:t(()=>[e(i,{modelValue:l.formData.field105,"onUpdate:modelValue":o[4]||(o[4]=r=>l.formData.field105=r),placeholder:"\u8BF7\u8F93\u5165\u5F00\u6237\u540D\u79F0",clearable:"",style:{width:"100%"}},null,8,["modelValue"])]),_:1}),e(d,{label:"\u8D26\u53F7",prop:"field106"},{default:t(()=>[e(i,{modelValue:l.formData.field106,"onUpdate:modelValue":o[5]||(o[5]=r=>l.formData.field106=r),placeholder:"\u8BF7\u8F93\u5165\u8D26\u53F7",clearable:"",style:{width:"100%"}},null,8,["modelValue"])]),_:1}),e(d,{label:"\u5F00\u6237\u65E5\u671F",prop:"field107"},{default:t(()=>[e(p,{modelValue:l.formData.field107,"onUpdate:modelValue":o[6]||(o[6]=r=>l.formData.field107=r),format:"yyyy-MM-dd","value-format":"yyyy-MM-dd",style:{width:"100%"},placeholder:"\u8BF7\u9009\u62E9\u5F00\u6237\u65E5\u671F",clearable:""},null,8,["modelValue"])]),_:1}),e(d,{label:"\u671F\u521D\u91D1\u989D",prop:"field108"},{default:t(()=>[e(i,{modelValue:l.formData.field108,"onUpdate:modelValue":o[7]||(o[7]=r=>l.formData.field108=r),placeholder:"\u8BF7\u8F93\u5165\u671F\u521D\u91D1\u989D",clearable:"",style:{width:"100%"}},null,8,["modelValue"])]),_:1}),e(d,{label:"\u5907\u6CE8",prop:"field109"},{default:t(()=>[e(i,{modelValue:l.formData.field109,"onUpdate:modelValue":o[8]||(o[8]=r=>l.formData.field109=r),type:"textarea",placeholder:"\u8BF7\u8F93\u5165\u5907\u6CE8",autosize:{minRows:4,maxRows:4},style:{width:"100%"}},null,8,["modelValue"])]),_:1}),e(d,{size:"large"},{default:t(()=>[e(u,{type:"primary",onClick:a.submitForm},{default:t(()=>[h]),_:1},8,["onClick"]),e(u,{onClick:a.resetForm},{default:t(()=>[k]),_:1},8,["onClick"])]),_:1})]),_:1},8,["model","rules"])]),_:1})])}const ue=y(U,[["render",x]]);export{ue as default};
|