2 lines
15 KiB
JavaScript
2 lines
15 KiB
JavaScript
import{I as h,y as C,A as M,G as B,H as q,W as A,a3 as L,J as R,P as G,Q as I,w as S,K as N,B as P,D as T,C as W}from"./element-plus.517d4382.js";import{_ as j}from"./index.8b1962e9.js";import{o as u,c as p,V as l,M as d,W as m,a8 as s,T as n,L as b,U as _}from"./@vue.ab566ce7.js";import"./@vueuse.8fcae4c2.js";import"./@element-plus.b89f1627.js";import"./lodash-es.49f4af13.js";import"./dayjs.4afe12d3.js";import"./axios.37fc980d.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./lodash.1d82ee7c.js";import"./vue-router.87ebc608.js";import"./pinia.b6700c26.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.d0bec2c9.js";import"./color.ea90db3f.js";import"./clone.cbd692e6.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.ad6bc3c0.js";import"./ms.a9ae1d6d.js";import"./nprogress.bcdf1f46.js";import"./vue-clipboard3.c45111bf.js";import"./clipboard.1cb79a0d.js";import"./echarts.b30ab882.js";import"./tslib.60310f1a.js";import"./zrender.3760070d.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.62ff6725.js";const H={components:{},props:[],data(){return{formData:{field101:void 0,field103:void 0,field104:void 0,field105:void 0,field106:[],field107:void 0,field108:void 0,field109:void 0,field110:void 0,field111:null,field112:void 0,field113:void 0,field114:void 0,field115:void 0,field116:void 0,field117:void 0,field118:void 0,field119:null,field120:void 0,field121:void 0,field122:void 0,field123:void 0,field124:void 0,field125:void 0,field126:void 0,field127:5,field128:null},rules:{field101:[{required:!0,message:"\u8BF7\u8F93\u5165\u5BA2\u6237\u540D\u79F0",trigger:"blur"}],field103:[{required:!0,message:"\u8BF7\u9009\u62E9\u9879\u76EE\u7C7B\u578B",trigger:"change"}],field104:[{required:!0,message:"\u8BF7\u8F93\u5165\u9879\u76EE\u540D\u79F0",trigger:"blur"}],field105:[],field106:[{required:!0,type:"array",message:"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u9879\u76EE\u5185\u5BB9",trigger:"change"}],field107:[],field108:[],field109:[],field110:[],field111:[],field112:[],field113:[],field114:[],field115:[],field116:[],field117:[],field118:[],field119:[{required:!0,message:"\u8BF7\u9009\u62E9\u53D1\u73B0\u65F6\u95F4",trigger:"change"}],field120:[{required:!0,message:"\u8BF7\u8F93\u5165\u4FE1\u606F\u6765\u6E90",trigger:"blur"}],field121:[],field122:[],field123:[],field124:[],field125:[],field126:[],field127:[]},field128Action:"https://jsonplaceholder.typicode.com/posts/",field128fileList:[],field103Options:[{label:"\u9009\u9879\u4E00",value:1},{label:"\u9009\u9879\u4E8C",value:2}],field106Options:[{label:"\u5907\u54C1\u5907\u4EF6",value:1},{label:"\u786C\u4EF6\u6210\u5957",value:2},{label:"\u7F16\u7A0B\u6D4B\u8BD5",value:3},{label:"\u7CFB\u7EDF\u5347\u7EA7",value:4},{label:"\u5B89\u88C5\u65BD\u5DE5",value:5},{label:"\u7CFB\u7EDF\u5F00\u53D1",value:6},{label:"\u73B0\u573A\u670D\u52A1",value:7},{label:"\u57FA\u5EFA\u6280\u6539",value:8},{label:"\u5176\u4ED6",value:9}],field112Options:[{label:"\u516C\u5F00\u62DB\u6807",value:1},{label:"\u9080\u6807",value:2},{label:"\u8BAE\u6807",value:3}],field118Options:[{label:"\u4E0D\u8BA4\u8BC6",value:1},{label:"\u521D\u59CB",value:2},{label:"\u666E\u901A",value:3},{label:"\u8981\u597D",value:4},{label:"\u5BC6\u5207",value:5}],field122Options:[{label:"\u81EA\u7B79",value:1},{label:"\u8D22\u653F\u62E8\u6B3E",value:2},{label:"\u653F\u5E9C\u8865\u8D34",value:3},{label:"\u5176\u4ED6",value:4}],field124Options:[{label:"\u4F18",value:1},{label:"\u826F\u597D",value:2},{label:"\u4E0D\u8FD8",value:3},{label:"\u672A\u77E5",value:4}],field125Options:[{label:"\u6301\u7EED\u5408\u4F5C",value:1},{label:"\u6F5C\u529B",value:2},{label:"\u6837\u677F\u793A\u8303",value:3}],field126Options:[{label:"\u56FD\u6709\u4F01\u4E1A",value:1},{label:"\u653F\u5E9C",value:2},{label:"\u90E8\u961F",value:3},{label:"\u5176\u4ED6",value:4},{label:"\u96C6\u4F53\u4F01\u4E1A",value:""}],field127Options:[{label:"\u94A2\u94C1",value:1},{label:"\u5149\u4F0F",value:2},{label:"\u77F3\u5316",value:3},{label:"\u7535\u529B",value:4},{label:"\u6709\u8272",value:5},{label:"\u98DF\u54C1\u533B\u7597",value:6},{label:"\u5176\u4ED6",value:7}]}},computed:{},watch:{},created(){},mounted(){},methods:{submitForm(){this.$refs.elForm.validate(D=>{})},resetForm(){this.$refs.elForm.resetFields()},field128BeforeUpload(D){let o=D.size/1024/1024<2;return o||this.$message.error("\u6587\u4EF6\u5927\u5C0F\u8D85\u8FC7 2MB"),o}}},J=n("\u70B9\u51FB\u4E0A\u4F20"),K=n("\u63D0\u4EA4"),Q=n("\u91CD\u7F6E");function X(D,o,Y,Z,a,y){const r=h,i=C,f=M,w=B,k=q,O=A,x=L,U=R,V=G,v=I,g=S,E=N,c=P,z=T,F=W;return u(),p("div",null,[l(F,null,{default:d(()=>[l(z,{ref:"elForm",model:a.formData,rules:a.rules,size:"medium","label-width":"100px","label-position":"left"},{default:d(()=>[l(c,{gutter:10},{default:d(()=>[l(f,{span:12},{default:d(()=>[l(i,{label:"\u5BA2\u6237\u540D\u79F0",prop:"field101"},{default:d(()=>[l(r,{modelValue:a.formData.field101,"onUpdate:modelValue":o[0]||(o[0]=e=>a.formData.field101=e),placeholder:"\u8BF7\u8F93\u5165\u5BA2\u6237\u540D\u79F0",clearable:"",style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),l(f,{span:12},{default:d(()=>[l(i,{label:"\u9879\u76EE\u7C7B\u578B",prop:"field103"},{default:d(()=>[l(k,{modelValue:a.formData.field103,"onUpdate:modelValue":o[1]||(o[1]=e=>a.formData.field103=e),placeholder:"\u8BF7\u9009\u62E9\u9879\u76EE\u7C7B\u578B",clearable:"",style:{width:"100%"}},{default:d(()=>[(u(!0),p(m,null,s(a.field103Options,(e,t)=>(u(),b(w,{key:t,label:e.label,value:e.value,disabled:e.disabled},null,8,["label","value","disabled"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1}),l(f,{span:12},{default:d(()=>[l(i,{label:"\u9879\u76EE\u540D\u79F0",prop:"field104"},{default:d(()=>[l(r,{modelValue:a.formData.field104,"onUpdate:modelValue":o[2]||(o[2]=e=>a.formData.field104=e),placeholder:"\u8BF7\u8F93\u5165\u9879\u76EE\u540D\u79F0",clearable:"",style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),l(f,{span:12},{default:d(()=>[l(i,{label:"\u5355\u884C\u6587\u672C",prop:"field105"},{default:d(()=>[l(r,{modelValue:a.formData.field105,"onUpdate:modelValue":o[3]||(o[3]=e=>a.formData.field105=e),placeholder:"\u7CFB\u7EDF\u81EA\u52A8\u751F\u6210",readonly:"",clearable:"",style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),l(f,{span:24},{default:d(()=>[l(i,{label:"\u9879\u76EE\u5185\u5BB9",prop:"field106"},{default:d(()=>[l(x,{modelValue:a.formData.field106,"onUpdate:modelValue":o[4]||(o[4]=e=>a.formData.field106=e),size:"medium"},{default:d(()=>[(u(!0),p(m,null,s(a.field106Options,(e,t)=>(u(),b(O,{key:t,label:e.value,disabled:e.disabled},{default:d(()=>[n(_(e.label),1)]),_:2},1032,["label","disabled"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1}),l(f,{span:12},{default:d(()=>[l(i,{label:"\u9879\u76EE\u4F30\u7B97(\u4E07\u5143)",prop:"field107","label-width":"120px"},{default:d(()=>[l(r,{modelValue:a.formData.field107,"onUpdate:modelValue":o[5]||(o[5]=e=>a.formData.field107=e),placeholder:"\u8BF7\u8F93\u5165\u9879\u76EE\u4F30\u7B97\u9879\u76EE\u4F30\u7B97(\u4E07\u5143)",clearable:"",style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),l(f,{span:12},{default:d(()=>[l(i,{label:"\u9879\u76EE\u4F30\u7B97(\u5916\u5E01)",prop:"field108","label-width":"120px"},{default:d(()=>[l(r,{modelValue:a.formData.field108,"onUpdate:modelValue":o[6]||(o[6]=e=>a.formData.field108=e),placeholder:"\u8BF7\u8F93\u5165\u9879\u76EE\u4F30\u7B97(\u5916\u5E01)",clearable:"",style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),l(f,{span:12},{default:d(()=>[l(i,{label:"\u9879\u76EE\u6240\u5728\u5730",prop:"field109"},{default:d(()=>[l(r,{modelValue:a.formData.field109,"onUpdate:modelValue":o[7]||(o[7]=e=>a.formData.field109=e),placeholder:"\u8BF7\u8F93\u5165\u9879\u76EE\u6240\u5728\u5730",clearable:"",style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),l(f,{span:12},{default:d(()=>[l(i,{label:"\u9884\u8BA1\u5DE5\u671F",prop:"field110"},{default:d(()=>[l(r,{modelValue:a.formData.field110,"onUpdate:modelValue":o[8]||(o[8]=e=>a.formData.field110=e),placeholder:"\u8BF7\u8F93\u5165\u9884\u8BA1\u5DE5\u671F",clearable:"",style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),l(f,{span:12},{default:d(()=>[l(i,{label:"\u6295\u6807\u65F6\u95F4",prop:"field111"},{default:d(()=>[l(U,{modelValue:a.formData.field111,"onUpdate:modelValue":o[9]||(o[9]=e=>a.formData.field111=e),format:"yyyy-MM-dd","value-format":"yyyy-MM-dd",style:{width:"100%"},placeholder:"\u8BF7\u9009\u62E9\u6295\u6807\u65F6\u95F4",clearable:""},null,8,["modelValue"])]),_:1})]),_:1}),l(f,{span:12},{default:d(()=>[l(i,{label:"\u62DB\u8058\u65B9\u5F0F",prop:"field112"},{default:d(()=>[l(v,{modelValue:a.formData.field112,"onUpdate:modelValue":o[10]||(o[10]=e=>a.formData.field112=e),size:"medium"},{default:d(()=>[(u(!0),p(m,null,s(a.field112Options,(e,t)=>(u(),b(V,{key:t,label:e.value,disabled:e.disabled},{default:d(()=>[n(_(e.label),1)]),_:2},1032,["label","disabled"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1}),l(f,{span:12},{default:d(()=>[l(i,{label:"\u8054\u7CFB\u4EBA",prop:"field113"},{default:d(()=>[l(r,{modelValue:a.formData.field113,"onUpdate:modelValue":o[11]||(o[11]=e=>a.formData.field113=e),placeholder:"\u8BF7\u8F93\u5165\u8054\u7CFB\u4EBA",clearable:"",style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),l(f,{span:12},{default:d(()=>[l(i,{label:"\u8054\u7CFB\u4EBA\u804C\u4F4D",prop:"field114"},{default:d(()=>[l(r,{modelValue:a.formData.field114,"onUpdate:modelValue":o[12]||(o[12]=e=>a.formData.field114=e),placeholder:"\u8BF7\u8F93\u5165\u8054\u7CFB\u4EBA\u804C\u4F4D",clearable:"",style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),l(f,{span:12},{default:d(()=>[l(i,{label:"\u8054\u7CFB\u7535\u8BDD",prop:"field115"},{default:d(()=>[l(r,{modelValue:a.formData.field115,"onUpdate:modelValue":o[13]||(o[13]=e=>a.formData.field115=e),placeholder:"\u8BF7\u8F93\u5165\u8054\u7CFB\u7535\u8BDD",clearable:"",style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),l(f,{span:12},{default:d(()=>[l(i,{label:"\u8054\u7CFB\u4EBA\u90E8\u95E8",prop:"field116"},{default:d(()=>[l(r,{modelValue:a.formData.field116,"onUpdate:modelValue":o[14]||(o[14]=e=>a.formData.field116=e),placeholder:"\u8BF7\u8F93\u5165\u8054\u7CFB\u4EBA\u90E8\u95E8",clearable:"",style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),l(f,{span:12},{default:d(()=>[l(i,{label:"\u8D1F\u8D23\u4EBA",prop:"field117"},{default:d(()=>[l(r,{modelValue:a.formData.field117,"onUpdate:modelValue":o[15]||(o[15]=e=>a.formData.field117=e),placeholder:"\u8BF7\u8F93\u5165\u8D1F\u8D23\u4EBA",clearable:"",style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),l(f,{span:12},{default:d(()=>[l(i,{label:"\u5173\u7CFB\u5EA6",prop:"field118"},{default:d(()=>[l(v,{modelValue:a.formData.field118,"onUpdate:modelValue":o[16]||(o[16]=e=>a.formData.field118=e),size:"medium"},{default:d(()=>[(u(!0),p(m,null,s(a.field118Options,(e,t)=>(u(),b(V,{key:t,label:e.value,disabled:e.disabled},{default:d(()=>[n(_(e.label),1)]),_:2},1032,["label","disabled"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1}),l(f,{span:12},{default:d(()=>[l(i,{label:"\u53D1\u73B0\u65F6\u95F4",prop:"field119"},{default:d(()=>[l(U,{modelValue:a.formData.field119,"onUpdate:modelValue":o[17]||(o[17]=e=>a.formData.field119=e),format:"yyyy-MM-dd","value-format":"yyyy-MM-dd",style:{width:"100%"},placeholder:"\u8BF7\u9009\u62E9\u53D1\u73B0\u65F6\u95F4",clearable:""},null,8,["modelValue"])]),_:1})]),_:1}),l(f,{span:12},{default:d(()=>[l(i,{label:"\u4FE1\u606F\u6765\u6E90",prop:"field120"},{default:d(()=>[l(r,{modelValue:a.formData.field120,"onUpdate:modelValue":o[18]||(o[18]=e=>a.formData.field120=e),placeholder:"\u8BF7\u8F93\u5165\u4FE1\u606F\u6765\u6E90",clearable:"",style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),l(f,{span:12},{default:d(()=>[l(i,{label:"\u7ADE\u4E89\u5BF9\u624B",prop:"field121"},{default:d(()=>[l(r,{modelValue:a.formData.field121,"onUpdate:modelValue":o[19]||(o[19]=e=>a.formData.field121=e),placeholder:"\u8BF7\u8F93\u5165\u7ADE\u4E89\u5BF9\u624B",clearable:"",style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),l(f,{span:12},{default:d(()=>[l(i,{label:"\u9879\u76EE\u5EFA\u8BBE\u8D44\u91D1\u6765\u6E90",prop:"field122","label-width":"136px"},{default:d(()=>[l(v,{modelValue:a.formData.field122,"onUpdate:modelValue":o[20]||(o[20]=e=>a.formData.field122=e),size:"medium"},{default:d(()=>[(u(!0),p(m,null,s(a.field122Options,(e,t)=>(u(),b(V,{key:t,label:e.value,disabled:e.disabled},{default:d(()=>[n(_(e.label),1)]),_:2},1032,["label","disabled"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1}),l(f,{span:12},{default:d(()=>[l(i,{label:"\u5EFA\u8BBE\u65B9\u4ED8\u6B3E\u65B9\u5F0F",prop:"field123","label-width":"120px"},{default:d(()=>[l(r,{modelValue:a.formData.field123,"onUpdate:modelValue":o[21]||(o[21]=e=>a.formData.field123=e),placeholder:"\u8BF7\u8F93\u5165\u5EFA\u8BBE\u65B9\u4ED8\u6B3E\u65B9\u5F0F",clearable:"",style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),l(f,{span:12},{default:d(()=>[l(i,{label:"\u5EFA\u8BBE\u65B9\u8D22\u52A1\u72B6\u51B5",prop:"field124","label-width":"136px"},{default:d(()=>[l(v,{modelValue:a.formData.field124,"onUpdate:modelValue":o[22]||(o[22]=e=>a.formData.field124=e),size:"medium"},{default:d(()=>[(u(!0),p(m,null,s(a.field124Options,(e,t)=>(u(),b(V,{key:t,label:e.value,disabled:e.disabled},{default:d(()=>[n(_(e.label),1)]),_:2},1032,["label","disabled"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1}),l(f,{span:12},{default:d(()=>[l(i,{label:"\u6218\u7565\u610F\u4E49",prop:"field125"},{default:d(()=>[l(v,{modelValue:a.formData.field125,"onUpdate:modelValue":o[23]||(o[23]=e=>a.formData.field125=e),size:"medium"},{default:d(()=>[(u(!0),p(m,null,s(a.field125Options,(e,t)=>(u(),b(V,{key:t,label:e.value,disabled:e.disabled},{default:d(()=>[n(_(e.label),1)]),_:2},1032,["label","disabled"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1}),l(f,{span:12},{default:d(()=>[l(i,{label:"\u5355\u4F4D\u6027\u8D28",prop:"field126"},{default:d(()=>[l(v,{modelValue:a.formData.field126,"onUpdate:modelValue":o[24]||(o[24]=e=>a.formData.field126=e),size:"medium"},{default:d(()=>[(u(!0),p(m,null,s(a.field126Options,(e,t)=>(u(),b(V,{key:t,label:e.value,disabled:e.disabled},{default:d(()=>[n(_(e.label),1)]),_:2},1032,["label","disabled"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1}),l(f,{span:24},{default:d(()=>[l(i,{label:"\u6240\u5C5E\u884C\u4E1A",prop:"field127"},{default:d(()=>[l(v,{modelValue:a.formData.field127,"onUpdate:modelValue":o[25]||(o[25]=e=>a.formData.field127=e),size:"medium"},{default:d(()=>[(u(!0),p(m,null,s(a.field127Options,(e,t)=>(u(),b(V,{key:t,label:e.value,disabled:e.disabled},{default:d(()=>[n(_(e.label),1)]),_:2},1032,["label","disabled"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1}),l(f,{span:24},{default:d(()=>[l(i,{label:"\u9644\u4EF6",prop:"field128"},{default:d(()=>[l(E,{ref:"field128","file-list":a.field128fileList,action:a.field128Action,"before-upload":y.field128BeforeUpload},{default:d(()=>[l(g,{size:"small",type:"primary",icon:"el-icon-upload"},{default:d(()=>[J]),_:1})]),_:1},8,["file-list","action","before-upload"])]),_:1})]),_:1}),l(f,{span:24},{default:d(()=>[l(i,{size:"large"},{default:d(()=>[l(g,{type:"primary",onClick:y.submitForm},{default:d(()=>[K]),_:1},8,["onClick"]),l(g,{onClick:y.resetForm},{default:d(()=>[Q]),_:1},8,["onClick"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model","rules"])]),_:1})])}const Ml=j(H,[["render",X]]);export{Ml as default};
|