engineering/public/admin/assets/PaymentRequests.2cc4e3a7.js
2024-02-27 10:28:16 +08:00

2 lines
13 KiB
JavaScript

import{I as F,y as O,A as R,J as B,G as q,H as z,P as C,Q as M,w as L,K as P,B as A,C as I,D as N}from"./element-plus.517d4382.js";import{_ as S}from"./index.8b1962e9.js";import{o as r,c as n,V as e,M as d,W as p,a8 as m,a as g,T as D,L as s,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.b30ab882.js";import"./tslib.60310f1a.js";import"./zrender.3760070d.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.62ff6725.js";const T={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,field109:null,field110:void 0,field111:void 0,field112:void 0,field113:void 0,field114:void 0,field115:void 0,field116:void 0,field117:void 0,field118:void 0,field119:void 0,field120:void 0,field121:null,field122:void 0,field123:void 0,field124:void 0},rules:{field101:[{required:!0,message:"\u70B9\u51FB\u9009\u62E9\u4F9B\u5E94\u5546",trigger:"blur"}],field102:[],field103:[{required:!0,message:"\u70B9\u51FB\u9009\u62E9\u91C7\u8D2D/\u5206\u5305\u5408\u540C",trigger:"blur"}],field104:[],field105:[],field106:[],field107:[{required:!0,message:"\u7CFB\u7EDF\u81EA\u52A8\u586B\u5199",trigger:"blur"}],field108:[{required:!0,message:"\u7CFB\u7EDF\u81EA\u52A8\u586B\u5199",trigger:"blur"}],field109:[],field110:[{required:!0,message:"\u7CFB\u7EDF\u81EA\u52A8\u586B\u5199",trigger:"blur"}],field111:[],field112:[],field113:[],field114:[],field115:[],field116:[],field117:[{required:!0,message:"\u8BF7\u8F93\u5165\u672C\u6B21\u7533\u8BF7\u91D1\u989D",trigger:"blur"}],field118:[],field119:[],field120:[],field122:[],field123:[],field124:[]},field121Action:"https://jsonplaceholder.typicode.com/posts/",field121fileList:[],field111Options:[{label:"\u9009\u9879\u4E00",value:1},{label:"\u9009\u9879\u4E8C",value:2}],field112Options:[{label:"\u9009\u9879\u4E00",value:1},{label:"\u9009\u9879\u4E8C",value:2}],field113Options:[{label:"\u9009\u9879\u4E00",value:1},{label:"\u9009\u9879\u4E8C",value:2}],field114Options:[{label:"\u9009\u9879\u4E00",value:1},{label:"\u9009\u9879\u4E8C",value:2}],field116Options:[{label:"\u5DF2\u5F00",value:1},{label:"\u672A\u5F00",value:2},{label:"\u65E0\u9700\u5F00\u7968",value:3}]}},computed:{},watch:{},created(){},mounted(){},methods:{submitForm(){this.$refs.elForm.validate(b=>{})},resetForm(){this.$refs.elForm.resetFields()},field121BeforeUpload(b){let o=b.size/1024/1024<2;return o||this.$message.error("\u6587\u4EF6\u5927\u5C0F\u8D85\u8FC7 2MB"),o}}},j=g("div",{class:"tit"},"\u4ED8\u6B3E\u7533\u8BF7",-1),H=D("\u70B9\u51FB\u4E0A\u4F20"),J=g("div",{class:"tit"},"\u6536\u6B3E\u4EBA\u4FE1\u606F",-1),K=D("\u63D0\u4EA4"),Q=D("\u91CD\u7F6E");function W(b,o,X,Y,a,y){const f=F,t=O,i=R,c=B,_=q,V=z,h=C,k=M,w=L,E=P,v=A,U=I,x=N;return r(),n("div",null,[e(x,{ref:"elForm",model:a.formData,rules:a.rules,size:"medium","label-width":"120px","label-position":"left"},{default:d(()=>[e(U,null,{default:d(()=>[j,e(v,{gutter:10},{default:d(()=>[e(i,{span:12},{default:d(()=>[e(t,{label:"\u4F9B\u5E94\u5546\u540D\u79F0",prop:"field101"},{default:d(()=>[e(f,{modelValue:a.formData.field101,"onUpdate:modelValue":o[0]||(o[0]=l=>a.formData.field101=l),placeholder:"\u70B9\u51FB\u9009\u62E9\u4F9B\u5E94\u5546",disabled:!0,clearable:"",style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),e(i,{span:12},{default:d(()=>[e(t,{label:"\u4F9B\u5E94\u5546\u7F16\u7801",prop:"field102"},{default:d(()=>[e(f,{modelValue:a.formData.field102,"onUpdate:modelValue":o[1]||(o[1]=l=>a.formData.field102=l),placeholder:"\u7CFB\u7EDF\u81EA\u52A8\u586B\u5199",disabled:!0,clearable:"",style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),e(i,{span:12},{default:d(()=>[e(t,{label:"\u5408\u540C\u7F16\u53F7",prop:"field103"},{default:d(()=>[e(f,{modelValue:a.formData.field103,"onUpdate:modelValue":o[2]||(o[2]=l=>a.formData.field103=l),placeholder:"\u70B9\u51FB\u9009\u62E9\u91C7\u8D2D/\u5206\u5305\u5408\u540C",disabled:!0,clearable:"",style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),e(i,{span:12},{default:d(()=>[e(t,{label:"\u5408\u540C\u540D\u79F0",prop:"field104"},{default:d(()=>[e(f,{modelValue:a.formData.field104,"onUpdate:modelValue":o[3]||(o[3]=l=>a.formData.field104=l),placeholder:"\u7CFB\u7EDF\u81EA\u52A8\u586B\u5199",disabled:!0,clearable:"",style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),e(i,{span:12},{default:d(()=>[e(t,{label:"\u9879\u76EE\u540D\u79F0",prop:"field105"},{default:d(()=>[e(f,{modelValue:a.formData.field105,"onUpdate:modelValue":o[4]||(o[4]=l=>a.formData.field105=l),placeholder:"\u7CFB\u7EDF\u81EA\u52A8\u586B\u5199",disabled:!0,clearable:"",style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),e(i,{span:12},{default:d(()=>[e(t,{label:"\u9879\u76EE\u7F16\u7801",prop:"field106"},{default:d(()=>[e(f,{modelValue:a.formData.field106,"onUpdate:modelValue":o[5]||(o[5]=l=>a.formData.field106=l),placeholder:"\u7CFB\u7EDF\u81EA\u52A8\u586B\u5199",disabled:!0,clearable:"",style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),e(i,{span:12},{default:d(()=>[e(t,{label:"\u5408\u540C\u91D1\u989D",prop:"field107"},{default:d(()=>[e(f,{modelValue:a.formData.field107,"onUpdate:modelValue":o[6]||(o[6]=l=>a.formData.field107=l),placeholder:"\u7CFB\u7EDF\u81EA\u52A8\u586B\u5199",disabled:!0,clearable:"",style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),e(i,{span:12},{default:d(()=>[e(t,{label:"\u7D2F\u8BA1\u5DF2\u652F\u4ED8",prop:"field108"},{default:d(()=>[e(f,{modelValue:a.formData.field108,"onUpdate:modelValue":o[7]||(o[7]=l=>a.formData.field108=l),placeholder:"\u7CFB\u7EDF\u81EA\u52A8\u586B\u5199",disabled:!0,clearable:"",style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),e(i,{span:12},{default:d(()=>[e(t,{label:"\u4ED8\u6B3E\u65E5\u671F",prop:"field109"},{default:d(()=>[e(c,{modelValue:a.formData.field109,"onUpdate:modelValue":o[8]||(o[8]=l=>a.formData.field109=l),format:"yyyy-MM-dd","value-format":"yyyy-MM-dd",style:{width:"100%"},placeholder:"\u8BF7\u9009\u62E9\u4ED8\u6B3E\u65E5\u671F",clearable:""},null,8,["modelValue"])]),_:1})]),_:1}),e(i,{span:12},{default:d(()=>[e(t,{label:"\u7D2F\u8BA1\u5DF2\u5F00\u7968",prop:"field110"},{default:d(()=>[e(f,{modelValue:a.formData.field110,"onUpdate:modelValue":o[9]||(o[9]=l=>a.formData.field110=l),placeholder:"\u7CFB\u7EDF\u81EA\u52A8\u586B\u5199",disabled:!0,clearable:"",style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),e(i,{span:12},{default:d(()=>[e(t,{label:"\u671F\u6B21",prop:"field111"},{default:d(()=>[e(V,{modelValue:a.formData.field111,"onUpdate:modelValue":o[10]||(o[10]=l=>a.formData.field111=l),placeholder:"\u8BF7\u9009\u62E9\u671F\u6B21",clearable:"",style:{width:"100%"}},{default:d(()=>[(r(!0),n(p,null,m(a.field111Options,(l,u)=>(r(),s(_,{key:u,label:l.label,value:l.value,disabled:l.disabled},null,8,["label","value","disabled"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1}),e(i,{span:12},{default:d(()=>[e(t,{label:"\u4ED8\u6B3E\u8BA1\u5212",prop:"field112"},{default:d(()=>[e(V,{modelValue:a.formData.field112,"onUpdate:modelValue":o[11]||(o[11]=l=>a.formData.field112=l),placeholder:"\u8BF7\u9009\u62E9\u4ED8\u6B3E\u8BA1\u5212",clearable:"",style:{width:"100%"}},{default:d(()=>[(r(!0),n(p,null,m(a.field112Options,(l,u)=>(r(),s(_,{key:u,label:l.label,value:l.value,disabled:l.disabled},null,8,["label","value","disabled"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1}),e(i,{span:12},{default:d(()=>[e(t,{label:"\u4ED8\u6B3E\u6027\u8D28",prop:"field113"},{default:d(()=>[e(V,{modelValue:a.formData.field113,"onUpdate:modelValue":o[12]||(o[12]=l=>a.formData.field113=l),placeholder:"\u8BF7\u9009\u62E9\u4ED8\u6B3E\u6027\u8D28",clearable:"",style:{width:"100%"}},{default:d(()=>[(r(!0),n(p,null,m(a.field113Options,(l,u)=>(r(),s(_,{key:u,label:l.label,value:l.value,disabled:l.disabled},null,8,["label","value","disabled"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1}),e(i,{span:12},{default:d(()=>[e(t,{label:"\u4ED8\u6B3E\u65B9\u5F0F",prop:"field114"},{default:d(()=>[e(V,{modelValue:a.formData.field114,"onUpdate:modelValue":o[13]||(o[13]=l=>a.formData.field114=l),placeholder:"\u8BF7\u9009\u62E9\u4ED8\u6B3E\u65B9\u5F0F",clearable:"",style:{width:"100%"}},{default:d(()=>[(r(!0),n(p,null,m(a.field114Options,(l,u)=>(r(),s(_,{key:u,label:l.label,value:l.value,disabled:l.disabled},null,8,["label","value","disabled"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1}),e(i,{span:12},{default:d(()=>[e(t,{label:"\u7533\u8BF7\u4EBA",prop:"field115"},{default:d(()=>[e(f,{modelValue:a.formData.field115,"onUpdate:modelValue":o[14]||(o[14]=l=>a.formData.field115=l),placeholder:"\u8BF7\u8F93\u5165\u7533\u8BF7\u4EBA",clearable:"",style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),e(i,{span:12},{default:d(()=>[e(t,{label:"\u5F00\u7968\u72B6\u6001",prop:"field116"},{default:d(()=>[e(k,{modelValue:a.formData.field116,"onUpdate:modelValue":o[15]||(o[15]=l=>a.formData.field116=l),size:"medium"},{default:d(()=>[(r(!0),n(p,null,m(a.field116Options,(l,u)=>(r(),s(h,{key:u,label:l.value,disabled:l.disabled},{default:d(()=>[D(G(l.label),1)]),_:2},1032,["label","disabled"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1}),e(i,{span:12},{default:d(()=>[e(t,{label:"\u672C\u6B21\u7533\u8BF7\u91D1\u989D",prop:"field117"},{default:d(()=>[e(f,{modelValue:a.formData.field117,"onUpdate:modelValue":o[16]||(o[16]=l=>a.formData.field117=l),placeholder:"\u8BF7\u8F93\u5165\u672C\u6B21\u7533\u8BF7\u91D1\u989D",clearable:"",style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),e(i,{span:12},{default:d(()=>[e(t,{label:"\u91D1\u989D\u5927\u5199",prop:"field118"},{default:d(()=>[e(f,{modelValue:a.formData.field118,"onUpdate:modelValue":o[17]||(o[17]=l=>a.formData.field118=l),placeholder:"\u7CFB\u7EDF\u81EA\u52A8\u8F6C\u6362",disabled:!0,clearable:"",style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),e(i,{span:24},{default:d(()=>[e(t,{label:"\u6B3E\u9879\u8BF4\u660E",prop:"field119"},{default:d(()=>[e(f,{modelValue:a.formData.field119,"onUpdate:modelValue":o[18]||(o[18]=l=>a.formData.field119=l),type:"textarea",placeholder:"\u8BF7\u8F93\u5165\u6B3E\u9879\u8BF4\u660E",autosize:{minRows:4,maxRows:4},style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),e(i,{span:24},{default:d(()=>[e(t,{label:"\u5907\u6CE8",prop:"field120"},{default:d(()=>[e(f,{modelValue:a.formData.field120,"onUpdate:modelValue":o[19]||(o[19]=l=>a.formData.field120=l),type:"textarea",placeholder:"\u8BF7\u8F93\u5165\u5907\u6CE8",autosize:{minRows:4,maxRows:4},style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),e(i,{span:24},{default:d(()=>[e(t,{label:"\u9644\u4EF6",prop:"field121"},{default:d(()=>[e(E,{ref:"field121","file-list":a.field121fileList,action:a.field121Action,"before-upload":y.field121BeforeUpload},{default:d(()=>[e(w,{size:"small",type:"primary",icon:"el-icon-upload"},{default:d(()=>[H]),_:1})]),_:1},8,["file-list","action","before-upload"])]),_:1})]),_:1})]),_:1})]),_:1}),e(U,null,{default:d(()=>[J,e(v,null,{default:d(()=>[e(i,{span:24},{default:d(()=>[e(t,{label:"\u5F00\u6237\u94F6\u884C",prop:"field122"},{default:d(()=>[e(f,{modelValue:a.formData.field122,"onUpdate:modelValue":o[20]||(o[20]=l=>a.formData.field122=l),placeholder:"\u8BF7\u8F93\u5165\u5F00\u6237\u94F6\u884C",clearable:"",style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),e(i,{span:24},{default:d(()=>[e(t,{label:"\u5F00\u6237\u540D\u79F0",prop:"field123"},{default:d(()=>[e(f,{modelValue:a.formData.field123,"onUpdate:modelValue":o[21]||(o[21]=l=>a.formData.field123=l),placeholder:"\u8BF7\u8F93\u5165\u5F00\u6237\u540D\u79F0",clearable:"",style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),e(i,{span:24},{default:d(()=>[e(t,{label:"\u8D26\u53F7",prop:"field124"},{default:d(()=>[e(f,{modelValue:a.formData.field124,"onUpdate:modelValue":o[22]||(o[22]=l=>a.formData.field124=l),placeholder:"\u8BF7\u8F93\u5165\u8D26\u53F7",clearable:"",style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),e(i,{span:24},{default:d(()=>[e(t,{size:"large"},{default:d(()=>[e(w,{type:"primary",onClick:y.submitForm},{default:d(()=>[K]),_:1},8,["onClick"]),e(w,{onClick:y.resetForm},{default:d(()=>[Q]),_:1},8,["onClick"])]),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["model","rules"])])}const Be=S(T,[["render",W]]);export{Be as default};