engineering/public/admin/assets/index.6bc6e8b0.js
2024-03-04 15:04:21 +08:00

2 lines
13 KiB
JavaScript

import{I as F,y as k,A as B,G as C,H as z,P as O,Q as R,B as q,C as L,w as A,K as I,D as N}from"./element-plus.258bf9e7.js";import{_ as S}from"./index.ec401e3b.js";import{o as u,c as s,V as l,M as e,W as y,a8 as w,a as _,T as b,L as U,U as G}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.50cbfcc9.js";import"./tslib.60310f1a.js";import"./zrender.a255a587.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.62ff6725.js";const M={components:{},props:[],data(){return{formData:{field101:void 0,field103:void 0,field104:void 0,field105:void 0,field106:void 0,field107:void 0,field108:void 0,field109:void 0,field110:void 0,field111:void 0,field112:void 0,field113:void 0,field114:void 0,field116:void 0,field117:void 0,field118:void 0,field119:void 0,field120:void 0,field121:void 0,field122:null,field123:void 0,field124:void 0,field125:void 0,field126:void 0,field127:void 0,field128:void 0},rules:{field101:[{required:!0,message:"\u8BF7\u8F93\u5165\u672C\u6587\u884C\u5355\u5BA2\u6237\u59D3\u540D",trigger:"blur"}],field103:[],field104:[],field105:[{required:!0,message:"\u8BF7\u8F93\u5165\u7535\u8BDD",trigger:"blur"}],field106:[],field107:[],field108:[],field109:[{required:!0,message:"\u8BF7\u8F93\u5165\u59D3\u540D",trigger:"blur"}],field110:[],field111:[],field112:[],field113:[],field114:[],field116:[],field117:[],field118:[],field119:[],field120:[],field121:[],field123:[],field124:[],field125:[],field126:[],field127:[{required:!0,message:"\u8BF7\u8F93\u5165\u5F00\u6237\u5730\u5740",trigger:"blur"}],field128:[]},field122Action:"https://jsonplaceholder.typicode.com/posts/",field122fileList:[],field103Options:[{label:"\u9009\u9879\u4E00",value:1},{label:"\u9009\u9879\u4E8C",value:2}],field106Options:[{label:"\u826F\u597D",value:1},{label:"\u4E00\u822C",value:2},{label:"\u8F83\u5DEE",value:""}],field107Options:[{label:"\u9009\u9879\u4E00",value:1},{label:"\u9009\u9879\u4E8C",value:2}]}},computed:{},watch:{},created(){},mounted(){},methods:{submitForm(){this.$refs.elForm.validate(p=>{})},resetForm(){this.$refs.elForm.resetFields()},field122BeforeUpload(p){let a=p.size/1024/1024<2;return a||this.$message.error("\u6587\u4EF6\u5927\u5C0F\u8D85\u8FC7 2MB"),a}}},T=_("div",{class:"tit"},"\u5BA2\u6237\u57FA\u672C\u8D44\u6599",-1),j=_("div",{class:"tit"},"\u4E3B\u8981\u8D1F\u8D23\u4EBA",-1),H=_("div",{class:"tit"},"\u5176\u4ED6\u8054\u7CFB\u4EBA",-1),K=b("\u70B9\u51FB\u4E0A\u4F20"),P=_("div",{class:"tit"},"\u5F00\u7968\u4FE1\u606F",-1),Q=b("\u63D0\u4EA4"),W=b("\u91CD\u7F6E");function J(p,a,X,Y,o,V){const t=F,f=k,i=B,c=C,v=z,g=O,h=R,r=q,m=L,D=A,E=I,x=N;return u(),s("div",null,[l(r,{gutter:10},{default:e(()=>[l(x,{ref:"elForm",model:o.formData,rules:o.rules,size:"medium","label-width":"100px"},{default:e(()=>[l(m,null,{default:e(()=>[T,l(r,null,{default:e(()=>[l(i,{span:8},{default:e(()=>[l(f,{label:"\u5BA2\u6237\u59D3\u540D",prop:"field101"},{default:e(()=>[l(t,{modelValue:o.formData.field101,"onUpdate:modelValue":a[0]||(a[0]=d=>o.formData.field101=d),placeholder:"\u8BF7\u8F93\u5165\u672C\u6587\u884C\u5355\u5BA2\u6237\u59D3\u540D",clearable:"",style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),l(i,{span:8},{default:e(()=>[l(f,{label:"\u5BA2\u6237\u5C5E\u6027",prop:"field103"},{default:e(()=>[l(v,{modelValue:o.formData.field103,"onUpdate:modelValue":a[1]||(a[1]=d=>o.formData.field103=d),placeholder:"\u8BF7\u9009\u62E9\u5BA2\u6237\u5C5E\u6027",clearable:"",style:{width:"100%"}},{default:e(()=>[(u(!0),s(y,null,w(o.field103Options,(d,n)=>(u(),U(c,{key:n,label:d.label,value:d.value,disabled:d.disabled},null,8,["label","value","disabled"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1}),l(i,{span:8},{default:e(()=>[l(f,{label:"\u4E0A\u7EA7\u516C\u53F8",prop:"field104"},{default:e(()=>[l(t,{modelValue:o.formData.field104,"onUpdate:modelValue":a[2]||(a[2]=d=>o.formData.field104=d),placeholder:"\u8BF7\u8F93\u5165\u4E0A\u7EA7\u516C\u53F8",clearable:"",style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),l(i,{span:8},{default:e(()=>[l(f,{label:"\u7535\u8BDD",prop:"field105"},{default:e(()=>[l(t,{modelValue:o.formData.field105,"onUpdate:modelValue":a[3]||(a[3]=d=>o.formData.field105=d),placeholder:"\u8BF7\u8F93\u5165\u7535\u8BDD",clearable:"",style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),l(i,{span:8},{default:e(()=>[l(f,{label:"\u4FE1\u7528\u5EA6",prop:"field106"},{default:e(()=>[l(h,{modelValue:o.formData.field106,"onUpdate:modelValue":a[4]||(a[4]=d=>o.formData.field106=d),size:"medium"},{default:e(()=>[(u(!0),s(y,null,w(o.field106Options,(d,n)=>(u(),U(g,{key:n,label:d.value,disabled:d.disabled},{default:e(()=>[b(G(d.label),1)]),_:2},1032,["label","disabled"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1}),l(i,{span:16},{default:e(()=>[l(f,{label:"\u5BA2\u6237\u5730\u5740",prop:"field107"},{default:e(()=>[l(v,{modelValue:o.formData.field107,"onUpdate:modelValue":a[5]||(a[5]=d=>o.formData.field107=d),placeholder:"\u8BF7\u9009\u62E9\u5BA2\u6237\u5730\u5740",clearable:"",style:{width:"100%"}},{default:e(()=>[(u(!0),s(y,null,w(o.field107Options,(d,n)=>(u(),U(c,{key:n,label:d.label,value:d.value,disabled:d.disabled},null,8,["label","value","disabled"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1}),l(i,{span:24},{default:e(()=>[l(f,{label:"\u5907\u6CE8",prop:"field108"},{default:e(()=>[l(t,{modelValue:o.formData.field108,"onUpdate:modelValue":a[6]||(a[6]=d=>o.formData.field108=d),type:"textarea",placeholder:"\u8BF7\u8F93\u5165\u5907\u6CE8",autosize:{minRows:4,maxRows:4},style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1}),l(m,null,{default:e(()=>[j,l(r,null,{default:e(()=>[l(i,{span:8},{default:e(()=>[l(f,{label:"\u59D3\u540D",prop:"field109"},{default:e(()=>[l(t,{modelValue:o.formData.field109,"onUpdate:modelValue":a[7]||(a[7]=d=>o.formData.field109=d),placeholder:"\u8BF7\u8F93\u5165\u59D3\u540D",clearable:"",style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),l(i,{span:8},{default:e(()=>[l(f,{label:"\u804C\u4F4D",prop:"field110"},{default:e(()=>[l(t,{modelValue:o.formData.field110,"onUpdate:modelValue":a[8]||(a[8]=d=>o.formData.field110=d),placeholder:"\u8BF7\u8F93\u5165\u804C\u4F4D",clearable:"",style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),l(i,{span:8},{default:e(()=>[l(f,{label:"\u624B\u673A",prop:"field111"},{default:e(()=>[l(t,{modelValue:o.formData.field111,"onUpdate:modelValue":a[9]||(a[9]=d=>o.formData.field111=d),placeholder:"\u8BF7\u8F93\u5165\u624B\u673A",clearable:"",style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),l(i,{span:8},{default:e(()=>[l(f,{label:"\u90AE\u7BB1",prop:"field112"},{default:e(()=>[l(t,{modelValue:o.formData.field112,"onUpdate:modelValue":a[10]||(a[10]=d=>o.formData.field112=d),placeholder:"\u8BF7\u8F93\u5165\u90AE\u7BB1",clearable:"",style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),l(i,{span:8},{default:e(()=>[l(f,{label:"\u7535\u8BDD",prop:"field113"},{default:e(()=>[l(t,{modelValue:o.formData.field113,"onUpdate:modelValue":a[11]||(a[11]=d=>o.formData.field113=d),placeholder:"\u8BF7\u8F93\u5165\u7535\u8BDD",clearable:"",style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),l(i,{span:8},{default:e(()=>[l(f,{label:"\u5907\u6CE8",prop:"field114"},{default:e(()=>[l(t,{modelValue:o.formData.field114,"onUpdate:modelValue":a[12]||(a[12]=d=>o.formData.field114=d),placeholder:"\u8BF7\u8F93\u5165\u5907\u6CE8",clearable:"",style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1}),l(m,null,{default:e(()=>[H,l(r,null,{default:e(()=>[l(i,{span:6},{default:e(()=>[l(f,{label:"\u59D3\u540D",prop:"field116"},{default:e(()=>[l(t,{modelValue:o.formData.field116,"onUpdate:modelValue":a[13]||(a[13]=d=>o.formData.field116=d),placeholder:"\u8BF7\u8F93\u5165\u59D3\u540D",clearable:"",style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),l(i,{span:6},{default:e(()=>[l(f,{label:"\u804C\u4F4D",prop:"field117"},{default:e(()=>[l(t,{modelValue:o.formData.field117,"onUpdate:modelValue":a[14]||(a[14]=d=>o.formData.field117=d),placeholder:"\u8BF7\u8F93\u5165\u804C\u4F4D",clearable:"",style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),l(i,{span:6},{default:e(()=>[l(f,{label:"\u624B\u673A",prop:"field118"},{default:e(()=>[l(t,{modelValue:o.formData.field118,"onUpdate:modelValue":a[15]||(a[15]=d=>o.formData.field118=d),placeholder:"\u8BF7\u8F93\u5165\u624B\u673A",clearable:"",style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),l(i,{span:6},{default:e(()=>[l(f,{label:"\u7535\u8BDD",prop:"field119"},{default:e(()=>[l(t,{modelValue:o.formData.field119,"onUpdate:modelValue":a[16]||(a[16]=d=>o.formData.field119=d),placeholder:"\u8BF7\u8F93\u5165\u7535\u8BDD",clearable:"",style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),l(i,{span:9},{default:e(()=>[l(f,{label:"\u90AE\u7BB1",prop:"field120"},{default:e(()=>[l(t,{modelValue:o.formData.field120,"onUpdate:modelValue":a[17]||(a[17]=d=>o.formData.field120=d),placeholder:"\u8BF7\u8F93\u5165\u90AE\u7BB1",clearable:"",style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),l(i,{span:9},{default:e(()=>[l(f,{label:"\u5907\u6CE8",prop:"field121"},{default:e(()=>[l(t,{modelValue:o.formData.field121,"onUpdate:modelValue":a[18]||(a[18]=d=>o.formData.field121=d),placeholder:"\u8BF7\u8F93\u5165\u5907\u6CE8",clearable:"",style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),l(i,{span:6},{default:e(()=>[l(f,{label:"\u9644\u4EF6",prop:"field122"},{default:e(()=>[l(E,{ref:"field122","file-list":o.field122fileList,action:o.field122Action,"before-upload":V.field122BeforeUpload},{default:e(()=>[l(D,{size:"small",type:"primary",icon:"el-icon-upload"},{default:e(()=>[K]),_:1})]),_:1},8,["file-list","action","before-upload"])]),_:1})]),_:1})]),_:1})]),_:1}),l(m,null,{default:e(()=>[P,l(r,null,{default:e(()=>[l(i,{span:8},{default:e(()=>[l(f,{label:"\u5F00\u7968\u516C\u53F8",prop:"field123"},{default:e(()=>[l(t,{modelValue:o.formData.field123,"onUpdate:modelValue":a[19]||(a[19]=d=>o.formData.field123=d),placeholder:"\u8BF7\u8F93\u5165\u5F00\u7968\u516C\u53F8",clearable:"",style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),l(i,{span:8},{default:e(()=>[l(f,{label:"\u7EB3\u7A0E\u4EBA\u8BC6\u522B",prop:"field124"},{default:e(()=>[l(t,{modelValue:o.formData.field124,"onUpdate:modelValue":a[20]||(a[20]=d=>o.formData.field124=d),placeholder:"\u8BF7\u8F93\u5165\u7EB3\u7A0E\u4EBA\u8BC6\u522B",clearable:"",style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),l(i,{span:8},{default:e(()=>[l(f,{label:"\u5F00\u6237\u5730\u5740",prop:"field125"},{default:e(()=>[l(t,{modelValue:o.formData.field125,"onUpdate:modelValue":a[21]||(a[21]=d=>o.formData.field125=d),placeholder:"\u8BF7\u8F93\u5165\u5F00\u6237\u5730\u5740",clearable:"",style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),l(i,{span:8},{default:e(()=>[l(f,{label:"\u7535\u8BDD",prop:"field126"},{default:e(()=>[l(t,{modelValue:o.formData.field126,"onUpdate:modelValue":a[22]||(a[22]=d=>o.formData.field126=d),placeholder:"\u8BF7\u8F93\u5165\u7535\u8BDD",clearable:"",style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),l(i,{span:8},{default:e(()=>[l(f,{label:"\u5F00\u6237\u5730\u5740",prop:"field127"},{default:e(()=>[l(t,{modelValue:o.formData.field127,"onUpdate:modelValue":a[23]||(a[23]=d=>o.formData.field127=d),placeholder:"\u8BF7\u8F93\u5165\u5F00\u6237\u5730\u5740",clearable:"",style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),l(i,{span:8},{default:e(()=>[l(f,{label:"\u94F6\u884C\u8D26\u53F7",prop:"field128"},{default:e(()=>[l(t,{modelValue:o.formData.field128,"onUpdate:modelValue":a[24]||(a[24]=d=>o.formData.field128=d),placeholder:"\u8BF7\u8F93\u5165\u94F6\u884C\u8D26\u53F7",clearable:"",style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),l(i,{span:24},{default:e(()=>[l(f,{size:"large"},{default:e(()=>[l(D,{type:"primary",onClick:V.submitForm},{default:e(()=>[Q]),_:1},8,["onClick"]),l(D,{onClick:V.resetForm},{default:e(()=>[W]),_:1},8,["onClick"])]),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["model","rules"])]),_:1})])}const zl=S(M,[["render",J]]);export{zl as default};