engineering/public/admin/assets/InitiateProcess.90a1f5ca.js
2024-03-04 15:04:21 +08:00

2 lines
15 KiB
JavaScript

import{I as B,y as E,A as R,J as k,P as F,Q as C,w as L,K as A,B as I,C as O,G as S,H as q,D as P}from"./element-plus.258bf9e7.js";import{_ as j}from"./index.ec401e3b.js";import{o as s,c as D,V as e,M as l,W as w,a8 as U,a as c,T as p,L as M,U as N}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 G={components:{},props:[],data(){return{formData:{field101:void 0,field102:void 0,field103:void 0,field104:void 0,field105:void 0,field106:void 0,field107:void 0,field108:void 0,field110:null,field111:null,field112:null,field113:null,field114:void 0,field115:null,field117:null,field118:null,field119:void 0,field121:void 0,field122:null,field124:void 0,field126:void 0,field128:null,field129:void 0,field130:void 0,field131:void 0,field132:void 0,field133:void 0,field134:void 0,field135:null},rules:{field101:[{required:!0,message:"\u8BF7\u8F93\u5165\u6807\u4E66\u4FE1\u606F",trigger:"blur"}],field102:[{required:!0,message:"\u8BF7\u8F93\u5165\u8D2D\u4E70\u4EBA\u5458",trigger:"blur"}],field103:[{required:!0,message:"\u8BF7\u8F93\u5165\u5BA2\u6237\u540D\u79F0",trigger:"blur"}],field104:[{required:!0,message:"\u8BF7\u8F93\u5165\u9879\u76EE\u540D\u79F0",trigger:"blur"}],field105:[],field106:[],field107:[],field108:[],field110:[],field111:[],field112:[],field113:[],field114:[],field115:[],field117:[],field118:[],field119:[],field121:[],field124:[],field126:[],field129:[],field130:[],field131:[],field132:[],field133:[],field134:[]},field122Action:"https://jsonplaceholder.typicode.com/posts/",field122fileList:[],field128Action:"https://jsonplaceholder.typicode.com/posts/",field128fileList:[],field135Action:"https://jsonplaceholder.typicode.com/posts/",field135fileList:[],field114Options:[{label:"\u662F",value:1},{label:"\u5426",value:2}],field131Options:[{label:"\u9009\u9879\u4E00",value:1},{label:"\u9009\u9879\u4E8C",value:2}]}},computed:{},watch:{},created(){},mounted(){},methods:{submitForm(){this.$refs.elForm.validate(r=>{})},resetForm(){this.$refs.elForm.resetFields()},field122BeforeUpload(r){let o=r.size/1024/1024<2;return o||this.$message.error("\u6587\u4EF6\u5927\u5C0F\u8D85\u8FC7 2MB"),o},field128BeforeUpload(r){let o=r.size/1024/1024<2;return o||this.$message.error("\u6587\u4EF6\u5927\u5C0F\u8D85\u8FC7 2MB"),o},field135BeforeUpload(r){let o=r.size/1024/1024<2;return o||this.$message.error("\u6587\u4EF6\u5927\u5C0F\u8D85\u8FC7 2MB"),o}}},T=c("div",{class:"tit"},"\u57FA\u672C\u4FE1\u606F",-1),H=p("\u70B9\u51FB\u4E0A\u4F20"),J=c("div",{class:"tit"},"\u6280\u672F\u5BA1\u67E5",-1),K=p("\u70B9\u51FB\u4E0A\u4F20"),Q=c("div",{class:"tit"},"\u5546\u52A1\u5BA1\u67E5",-1),W=p("\u70B9\u51FB\u4E0A\u4F20"),X=p("\u63D0\u4EA4"),Y=p("\u91CD\u7F6E");function Z(r,o,$,ee,d,n){const f=B,t=E,i=R,u=k,g=F,h=C,m=L,_=A,y=I,V=O,v=S,z=q,x=P;return s(),D("div",null,[e(x,{ref:"elForm",model:d.formData,rules:d.rules,size:"medium","label-width":"124px","label-position":"left"},{default:l(()=>[e(V,null,{default:l(()=>[T,e(y,{gutter:10},{default:l(()=>[e(i,{span:12},{default:l(()=>[e(t,{label:"\u6807\u4E66\u4FE1\u606F",prop:"field101"},{default:l(()=>[e(f,{modelValue:d.formData.field101,"onUpdate:modelValue":o[0]||(o[0]=a=>d.formData.field101=a),placeholder:"\u8BF7\u8F93\u5165\u6807\u4E66\u4FE1\u606F",clearable:"",style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),e(i,{span:12},{default:l(()=>[e(t,{label:"\u8D2D\u4E70\u4EBA\u5458",prop:"field102"},{default:l(()=>[e(f,{modelValue:d.formData.field102,"onUpdate:modelValue":o[1]||(o[1]=a=>d.formData.field102=a),placeholder:"\u8BF7\u8F93\u5165\u8D2D\u4E70\u4EBA\u5458",clearable:"",style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),e(i,{span:12},{default:l(()=>[e(t,{label:"\u5BA2\u6237\u540D\u79F0",prop:"field103"},{default:l(()=>[e(f,{modelValue:d.formData.field103,"onUpdate:modelValue":o[2]||(o[2]=a=>d.formData.field103=a),placeholder:"\u8BF7\u8F93\u5165\u5BA2\u6237\u540D\u79F0",clearable:"",style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),e(i,{span:12},{default:l(()=>[e(t,{label:"\u9879\u76EE\u540D\u79F0",prop:"field104"},{default:l(()=>[e(f,{modelValue:d.formData.field104,"onUpdate:modelValue":o[3]||(o[3]=a=>d.formData.field104=a),placeholder:"\u8BF7\u8F93\u5165\u9879\u76EE\u540D\u79F0",clearable:"",style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),e(i,{span:12},{default:l(()=>[e(t,{label:"\u62DB\u6807\u516C\u53F8\u540D\u79F0",prop:"field105"},{default:l(()=>[e(f,{modelValue:d.formData.field105,"onUpdate:modelValue":o[4]||(o[4]=a=>d.formData.field105=a),placeholder:"\u8BF7\u8F93\u5165\u62DB\u6807\u516C\u53F8\u540D\u79F0",clearable:"",style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),e(i,{span:12},{default:l(()=>[e(t,{label:"\u6295\u6807\u516C\u53F8\u540D\u79F0",prop:"field106"},{default:l(()=>[e(f,{modelValue:d.formData.field106,"onUpdate:modelValue":o[5]||(o[5]=a=>d.formData.field106=a),placeholder:"\u8BF7\u8F93\u5165\u6295\u6807\u516C\u53F8\u540D\u79F0",clearable:"",style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),e(i,{span:12},{default:l(()=>[e(t,{label:"\u8D2D\u4E70\u6807\u4E66\u91D1\u989D",prop:"field107"},{default:l(()=>[e(f,{modelValue:d.formData.field107,"onUpdate:modelValue":o[6]||(o[6]=a=>d.formData.field107=a),placeholder:"\u8BF7\u8F93\u5165\u8D2D\u4E70\u6807\u4E66\u91D1\u989D",clearable:"",style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),e(i,{span:12},{default:l(()=>[e(t,{label:"\u62DB\u6807\u9879\u76EE\u8D44\u91D1\u6765\u6E90",prop:"field108"},{default:l(()=>[e(f,{modelValue:d.formData.field108,"onUpdate:modelValue":o[7]||(o[7]=a=>d.formData.field108=a),placeholder:"\u8BF7\u8F93\u5165\u62DB\u6807\u9879\u76EE\u8D44\u91D1\u6765\u6E90",clearable:"",style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),e(i,{span:12},{default:l(()=>[e(t,{label:"\u6295\u6807\u65F6\u95F4",prop:"field110"},{default:l(()=>[e(u,{modelValue:d.formData.field110,"onUpdate:modelValue":o[8]||(o[8]=a=>d.formData.field110=a),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}),e(i,{span:12},{default:l(()=>[e(t,{label:"\u8D2D\u4E70\u6807\u4E66\u65F6\u95F4",prop:"field111"},{default:l(()=>[e(u,{modelValue:d.formData.field111,"onUpdate:modelValue":o[9]||(o[9]=a=>d.formData.field111=a),format:"yyyy-MM-dd","value-format":"yyyy-MM-dd",style:{width:"100%"},placeholder:"\u8BF7\u9009\u62E9\u8D2D\u4E70\u6807\u4E66\u65F6\u95F4",clearable:""},null,8,["modelValue"])]),_:1})]),_:1}),e(i,{span:12},{default:l(()=>[e(t,{label:"\u62DB\u6807\u65B9\u5F0F",prop:"field112"},{default:l(()=>[e(u,{modelValue:d.formData.field112,"onUpdate:modelValue":o[10]||(o[10]=a=>d.formData.field112=a),format:"yyyy-MM-dd","value-format":"yyyy-MM-dd",style:{width:"100%"},placeholder:"\u8BF7\u9009\u62E9\u62DB\u6807\u65B9\u5F0F",clearable:""},null,8,["modelValue"])]),_:1})]),_:1}),e(i,{span:12},{default:l(()=>[e(t,{label:"\u6295\u6807\u5730\u5740",prop:"field113"},{default:l(()=>[e(u,{modelValue:d.formData.field113,"onUpdate:modelValue":o[11]||(o[11]=a=>d.formData.field113=a),format:"yyyy-MM-dd","value-format":"yyyy-MM-dd",style:{width:"100%"},placeholder:"\u8BF7\u9009\u62E9\u6295\u6807\u5730\u5740",clearable:""},null,8,["modelValue"])]),_:1})]),_:1}),e(i,{span:12},{default:l(()=>[e(t,{label:"\u662F\u5426\u9700\u8981\u4FDD\u8BC1\u91D1",prop:"field114"},{default:l(()=>[e(h,{modelValue:d.formData.field114,"onUpdate:modelValue":o[12]||(o[12]=a=>d.formData.field114=a),size:"medium"},{default:l(()=>[(s(!0),D(w,null,U(d.field114Options,(a,b)=>(s(),M(g,{key:b,label:a.value,disabled:a.disabled},{default:l(()=>[p(N(a.label),1)]),_:2},1032,["label","disabled"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1}),e(i,{span:12},{default:l(()=>[e(t,{label:"\u4FDD\u8BC1\u91D1\u91D1\u989D",prop:"field115"},{default:l(()=>[e(f,{modelValue:d.formData.field115,"onUpdate:modelValue":o[13]||(o[13]=a=>d.formData.field115=a),placeholder:"\u8BF7\u9009\u62E9\u4FDD\u8BC1\u91D1\u91D1\u989D",clearable:"",style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),e(i,{span:12},{default:l(()=>[e(t,{label:"\u5F00\u6807\u65E5\u671F",prop:"field117"},{default:l(()=>[e(u,{modelValue:d.formData.field117,"onUpdate:modelValue":o[14]||(o[14]=a=>d.formData.field117=a),format:"yyyy-MM-dd","value-format":"yyyy-MM-dd",style:{width:"100%"},placeholder:"\u8BF7\u9009\u62E9\u5F00\u6807\u65E5\u671F",clearable:""},null,8,["modelValue"])]),_:1})]),_:1}),e(i,{span:12},{default:l(()=>[e(t,{label:"\u4FDD\u8BC1\u91D1\u9000\u8FD8\u65F6\u95F4",prop:"field118"},{default:l(()=>[e(u,{modelValue:d.formData.field118,"onUpdate:modelValue":o[15]||(o[15]=a=>d.formData.field118=a),format:"yyyy-MM-dd","value-format":"yyyy-MM-dd",style:{width:"100%"},placeholder:"\u8BF7\u9009\u62E9\u4FDD\u8BC1\u91D1\u9000\u8FD8\u65F6\u95F4",clearable:""},null,8,["modelValue"])]),_:1})]),_:1}),e(i,{span:24},{default:l(()=>[e(t,{label:"\u62DB\u6807\u9879\u76EE\u60C5\u51B5",prop:"field119"},{default:l(()=>[e(f,{modelValue:d.formData.field119,"onUpdate:modelValue":o[16]||(o[16]=a=>d.formData.field119=a),type:"textarea",placeholder:"\u8BF7\u8F93\u5165\u62DB\u6807\u9879\u76EE\u60C5\u51B5",autosize:{minRows:4,maxRows:4},style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),e(i,{span:24},{default:l(()=>[e(t,{label:"\u9879\u76EE\u7B80\u4ECB",prop:"field121"},{default:l(()=>[e(f,{modelValue:d.formData.field121,"onUpdate:modelValue":o[17]||(o[17]=a=>d.formData.field121=a),type:"textarea",placeholder:"\u8BF7\u8F93\u5165\u9879\u76EE\u7B80\u4ECB",autosize:{minRows:4,maxRows:4},style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),e(i,{span:24},{default:l(()=>[e(t,{label:"\u9644\u4EF6",prop:"field122"},{default:l(()=>[e(_,{ref:"field122","file-list":d.field122fileList,action:d.field122Action,"before-upload":n.field122BeforeUpload},{default:l(()=>[e(m,{size:"small",type:"primary",icon:"el-icon-upload"},{default:l(()=>[H]),_:1})]),_:1},8,["file-list","action","before-upload"])]),_:1})]),_:1})]),_:1})]),_:1}),e(V,null,{default:l(()=>[J,e(y,{gutter:10},{default:l(()=>[e(i,{span:24},{default:l(()=>[e(t,{label:"\u6280\u672F\u534F\u8BAE\u504F\u5DEE",prop:"field124"},{default:l(()=>[e(f,{modelValue:d.formData.field124,"onUpdate:modelValue":o[18]||(o[18]=a=>d.formData.field124=a),placeholder:"\u8BF7\u8F93\u5165\u6280\u672F\u534F\u8BAE\u504F\u5DEE",clearable:"",style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),e(i,{span:24},{default:l(()=>[e(t,{label:"\u534F\u8BAE\u504F\u5DEE\u5904\u7406\u65B9\u6848",prop:"field126"},{default:l(()=>[e(f,{modelValue:d.formData.field126,"onUpdate:modelValue":o[19]||(o[19]=a=>d.formData.field126=a),type:"textarea",placeholder:"\u8BF7\u8F93\u5165\u534F\u8BAE\u504F\u5DEE\u5904\u7406\u65B9\u6848",autosize:{minRows:4,maxRows:4},style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),e(i,{span:24},{default:l(()=>[e(t,{label:"\u9644\u4EF6",prop:"field128"},{default:l(()=>[e(_,{ref:"field128","file-list":d.field128fileList,action:d.field128Action,"before-upload":n.field128BeforeUpload},{default:l(()=>[e(m,{size:"small",type:"primary",icon:"el-icon-upload"},{default:l(()=>[K]),_:1})]),_:1},8,["file-list","action","before-upload"])]),_:1})]),_:1})]),_:1})]),_:1}),e(V,null,{default:l(()=>[Q,e(y,{gutter:10},{default:l(()=>[e(i,{span:12},{default:l(()=>[e(t,{label:"\u603B\u91D1\u989D",prop:"field129"},{default:l(()=>[e(f,{modelValue:d.formData.field129,"onUpdate:modelValue":o[20]||(o[20]=a=>d.formData.field129=a),placeholder:"\u8BF7\u8F93\u5165\u603B\u91D1\u989D",clearable:"",style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),e(i,{span:12},{default:l(()=>[e(t,{label:"\u7A0E\u7387",prop:"field130"},{default:l(()=>[e(f,{modelValue:d.formData.field130,"onUpdate:modelValue":o[21]||(o[21]=a=>d.formData.field130=a),placeholder:"\u8BF7\u8F93\u5165\u7A0E\u7387",clearable:"",style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),e(i,{span:12},{default:l(()=>[e(t,{label:"\u4ED8\u6B3E\u65B9\u5F0F",prop:"field131"},{default:l(()=>[e(z,{modelValue:d.formData.field131,"onUpdate:modelValue":o[22]||(o[22]=a=>d.formData.field131=a),placeholder:"\u8BF7\u9009\u62E9\u4ED8\u6B3E\u65B9\u5F0F",clearable:"",style:{width:"100%"}},{default:l(()=>[(s(!0),D(w,null,U(d.field131Options,(a,b)=>(s(),M(v,{key:b,label:a.label,value:a.value,disabled:a.disabled},null,8,["label","value","disabled"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1}),e(i,{span:12},{default:l(()=>[e(t,{label:"\u4ED8\u6B3E\u6BD4\u4F8B",prop:"field132"},{default:l(()=>[e(f,{modelValue:d.formData.field132,"onUpdate:modelValue":o[23]||(o[23]=a=>d.formData.field132=a),placeholder:"\u8BF7\u8F93\u5165\u4ED8\u6B3E\u6BD4\u4F8B",clearable:"",style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),e(i,{span:24},{default:l(()=>[e(t,{label:"\u5546\u52A1\u5408\u540C\u504F\u5DEE",prop:"field133"},{default:l(()=>[e(f,{modelValue:d.formData.field133,"onUpdate:modelValue":o[24]||(o[24]=a=>d.formData.field133=a),placeholder:"\u8BF7\u8F93\u5165\u5546\u52A1\u5408\u540C\u504F\u5DEE",clearable:"",style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),e(i,{span:24},{default:l(()=>[e(t,{label:"\u504F\u5DEE\u5904\u7406\u65B9\u6848",prop:"field134"},{default:l(()=>[e(f,{modelValue:d.formData.field134,"onUpdate:modelValue":o[25]||(o[25]=a=>d.formData.field134=a),type:"textarea",placeholder:"\u8BF7\u8F93\u5165\u504F\u5DEE\u5904\u7406\u65B9\u6848",autosize:{minRows:4,maxRows:4},style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),e(i,{span:24},{default:l(()=>[e(t,{label:"\u9644\u4EF6",prop:"field135"},{default:l(()=>[e(_,{ref:"field135","file-list":d.field135fileList,action:d.field135Action,"before-upload":n.field135BeforeUpload},{default:l(()=>[e(m,{size:"small",type:"primary",icon:"el-icon-upload"},{default:l(()=>[W]),_:1})]),_:1},8,["file-list","action","before-upload"])]),_:1})]),_:1}),e(i,{span:24},{default:l(()=>[e(t,{size:"large"},{default:l(()=>[e(m,{type:"primary",onClick:n.submitForm},{default:l(()=>[X]),_:1},8,["onClick"]),e(m,{onClick:n.resetForm},{default:l(()=>[Y]),_:1},8,["onClick"])]),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["model","rules"])])}const Le=j(G,[["render",Z]]);export{Le as default};