engineering/public/admin/assets/ContractGovernance.a0e7ad50.js
2023-12-13 19:41:40 +08:00

2 lines
12 KiB
JavaScript

import{G as k,B as z,H as B,y as F,A as q,I as C,J as R,K as L,w as M,L as O,M as A,N as S,C as G}from"./element-plus.b8743002.js";import{_ as I}from"./index.c58396e2.js";import{o as u,c as b,U as e,L as l,V,a7 as c,S as n,K as D,T as N}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 j={components:{},props:[],data(){return{formData:{field101:void 0,field102:void 0,field103:void 0,field104:void 0,field107:void 0,field105:void 0,field106:void 0,field108:void 0,field109:void 0,field110:void 0,field111:void 0,field135:1,field136:void 0,field137:void 0,field138:void 0,field139:void 0,field140:void 0,field141:void 0,field142:void 0,field143:void 0,field144:null,field145:null},rules:{field101:[{required:!0,message:"\u70B9\u51FB\u9009\u62E9\u5408\u540C",trigger:"blur"}],field102:[{required:!0,message:"\u70B9\u51FB\u9009\u62E9\u5408\u540C\u7F16\u53F7",trigger:"blur"}],field103:[{required:!0,message:"\u70B9\u51FB\u9009\u62E9\u9879\u76EE\u540D\u79F0",trigger:"blur"}],field104:[{required:!0,message:"\u7CFB\u7EDF\u81EA\u52A8\u586B\u5199",trigger:"blur"}],field107:[{required:!0,message:"\u7CFB\u7EDF\u81EA\u52A8\u586B\u5199",trigger:"change"}],field105:[{required:!0,message:"\u7CFB\u7EDF\u81EA\u52A8\u83B7\u53D6",trigger:"blur"}],field106:[{required:!0,message:"\u8BF7\u8F93\u5165\u7B7E\u7EA6\u65E5\u671F",trigger:"change"}],field108:[{required:!0,message:"\u70B9\u51FB\u9009\u62E9",trigger:"blur"}],field109:[{required:!0,message:"\u8BF7\u8F93\u5165\u6CBB\u5546\u5355\u4F4D\u540D\u79F0",trigger:"blur"}],field110:[],field111:[{required:!0,message:"\u8BF7\u8F93\u5165\u6CBB\u5546\u91D1\u989D",trigger:"blur"}],field135:[],field136:[],field137:[],field138:[],field139:[],field140:[],field141:[],field142:[],field143:[]},field144Action:"https://jsonplaceholder.typicode.com/posts/",field144fileList:[],field145Action:"https://jsonplaceholder.typicode.com/posts/",field145fileList:[],field107Options:[{label:"\u9009\u9879\u4E00",value:1},{label:"\u9009\u9879\u4E8C",value:2}],field108Options:[{label:"\u603B\u4EF7\u5408\u540C",value:1},{label:"\u6E05\u5355\u8BA1\u4EF7",value:2}],field135Options:[{label:"\u8BBE\u8BA1\u53D8\u66F4",value:1},{label:"\u73B0\u573A\u53D8\u66F4",value:2},{label:"\u8865\u5145\u534F\u8BAE",value:3}]}},computed:{},watch:{},created(){},mounted(){},methods:{submitForm(){this.$refs.elForm.validate(f=>{})},resetForm(){this.$refs.elForm.resetFields()},field144BeforeUpload(f){let a=f.size/1024/1024<2;return a||this.$message.error("\u6587\u4EF6\u5927\u5C0F\u8D85\u8FC7 2MB"),a},field145BeforeUpload(f){let a=f.size/1024/1024<2;return a||this.$message.error("\u6587\u4EF6\u5927\u5C0F\u8D85\u8FC7 2MB"),a}}},K=n("\u70B9\u51FB\u4E0A\u4F20"),T=n("\u70B9\u51FB\u4E0A\u4F20"),H=n("\u63D0\u4EA4"),J=n("\u91CD\u7F6E");function P(f,a,Q,W,d,p){const r=k,i=z,t=B,g=F,y=q,w=C,U=R,h=L,s=M,_=O,v=A,x=S,E=G;return u(),b("div",null,[e(E,null,{default:l(()=>[e(x,{ref:"elForm",model:d.formData,rules:d.rules,size:"medium","label-width":"120px","label-position":"left"},{default:l(()=>[e(v,{gutter:10},{default:l(()=>[e(t,{span:12},{default:l(()=>[e(i,{label:"\u5408\u540C\u540D\u79F0",prop:"field101"},{default:l(()=>[e(r,{modelValue:d.formData.field101,"onUpdate:modelValue":a[0]||(a[0]=o=>d.formData.field101=o),placeholder:"\u70B9\u51FB\u9009\u62E9\u5408\u540C",disabled:!0,clearable:"","suffix-icon":"el-icon-search",style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),e(t,{span:12},{default:l(()=>[e(i,{label:"\u5408\u540C\u7F16\u53F7",prop:"field102"},{default:l(()=>[e(r,{modelValue:d.formData.field102,"onUpdate:modelValue":a[1]||(a[1]=o=>d.formData.field102=o),placeholder:"\u70B9\u51FB\u9009\u62E9\u5408\u540C\u7F16\u53F7",disabled:!0,clearable:"","suffix-icon":"el-icon-search",style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),e(t,{span:12},{default:l(()=>[e(i,{label:"\u9879\u76EE\u540D\u79F0",prop:"field103"},{default:l(()=>[e(r,{modelValue:d.formData.field103,"onUpdate:modelValue":a[2]||(a[2]=o=>d.formData.field103=o),placeholder:"\u70B9\u51FB\u9009\u62E9\u9879\u76EE\u540D\u79F0",disabled:!0,clearable:"","suffix-icon":"el-icon-search",style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),e(t,{span:12},{default:l(()=>[e(i,{label:"\u5BA2\u6237\u540D\u79F0",prop:"field104"},{default:l(()=>[e(r,{modelValue:d.formData.field104,"onUpdate:modelValue":a[3]||(a[3]=o=>d.formData.field104=o),placeholder:"\u7CFB\u7EDF\u81EA\u52A8\u586B\u5199",disabled:!0,clearable:"","suffix-icon":"el-icon-search",style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),e(t,{span:12},{default:l(()=>[e(i,{label:"\u5408\u540C\u7C7B\u578B",prop:"field107"},{default:l(()=>[e(y,{modelValue:d.formData.field107,"onUpdate:modelValue":a[4]||(a[4]=o=>d.formData.field107=o),placeholder:"\u7CFB\u7EDF\u81EA\u52A8\u586B\u5199",disabled:!0,clearable:"",style:{width:"100%"}},{default:l(()=>[(u(!0),b(V,null,c(d.field107Options,(o,m)=>(u(),D(g,{key:m,label:o.label,value:o.value,disabled:o.disabled},null,8,["label","value","disabled"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1}),e(t,{span:12},{default:l(()=>[e(i,{label:"\u5408\u540C\u8BA1\u4EF7\u65B9\u5F0F",prop:"field105"},{default:l(()=>[e(r,{modelValue:d.formData.field105,"onUpdate:modelValue":a[5]||(a[5]=o=>d.formData.field105=o),placeholder:"\u7CFB\u7EDF\u81EA\u52A8\u83B7\u53D6",disabled:!0,clearable:"","suffix-icon":"el-icon-search",style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),e(t,{span:12},{default:l(()=>[e(i,{label:"\u7B7E\u7EA6\u65E5\u671F",prop:"field106"},{default:l(()=>[e(w,{modelValue:d.formData.field106,"onUpdate:modelValue":a[6]||(a[6]=o=>d.formData.field106=o),format:"yyyy-MM-dd","value-format":"yyyy-MM-dd",style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u7B7E\u7EA6\u65E5\u671F",clearable:"",disabled:!0},null,8,["modelValue"])]),_:1})]),_:1}),e(t,{span:12},{default:l(()=>[e(i,{label:"\u4E1A\u52A1\u8D1F\u8D23\u4EBA",prop:"field108"},{default:l(()=>[e(r,{modelValue:d.formData.field108,"onUpdate:modelValue":a[7]||(a[7]=o=>d.formData.field108=o),placeholder:"\u70B9\u51FB\u9009\u62E9",disabled:!0,clearable:""},null,8,["modelValue"])]),_:1})]),_:1}),e(t,{span:12},{default:l(()=>[e(i,{label:"\u6CBB\u5546\u5355\u4F4D\u540D\u79F0",prop:"field109"},{default:l(()=>[e(r,{modelValue:d.formData.field109,"onUpdate:modelValue":a[8]||(a[8]=o=>d.formData.field109=o),placeholder:"\u8BF7\u8F93\u5165\u6CBB\u5546\u5355\u4F4D\u540D\u79F0",clearable:"",style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),e(t,{span:12},{default:l(()=>[e(i,{label:"\u6CBB\u5546\u7F16\u53F7",prop:"field110"},{default:l(()=>[e(r,{modelValue:d.formData.field110,"onUpdate:modelValue":a[9]||(a[9]=o=>d.formData.field110=o),placeholder:"\u7CFB\u7EDF\u81EA\u52A8\u83B7\u53D6",disabled:!0,clearable:"",style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),e(t,{span:12},{default:l(()=>[e(i,{label:"\u6CBB\u5546\u91D1\u989D",prop:"field111"},{default:l(()=>[e(r,{modelValue:d.formData.field111,"onUpdate:modelValue":a[10]||(a[10]=o=>d.formData.field111=o),placeholder:"\u8BF7\u8F93\u5165\u6CBB\u5546\u91D1\u989D",clearable:"",style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),e(t,{span:12},{default:l(()=>[e(i,{label:"\u6CBB\u5546\u7C7B\u522B",prop:"field135"},{default:l(()=>[e(h,{modelValue:d.formData.field135,"onUpdate:modelValue":a[11]||(a[11]=o=>d.formData.field135=o),size:"medium"},{default:l(()=>[(u(!0),b(V,null,c(d.field135Options,(o,m)=>(u(),D(U,{key:m,label:o.value,disabled:o.disabled},{default:l(()=>[n(N(o.label),1)]),_:2},1032,["label","disabled"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1}),e(t,{span:12},{default:l(()=>[e(i,{label:"\u6210\u672C\u91D1\u989D(\u4EBA\u5DE5)",prop:"field136"},{default:l(()=>[e(r,{modelValue:d.formData.field136,"onUpdate:modelValue":a[12]||(a[12]=o=>d.formData.field136=o),placeholder:"\u8BF7\u8F93\u5165\u6210\u672C\u91D1\u989D(\u4EBA\u5DE5)",clearable:"",style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),e(t,{span:12},{default:l(()=>[e(i,{label:"\u6210\u672C\u91D1\u989D(\u6750\u6599)",prop:"field137"},{default:l(()=>[e(r,{modelValue:d.formData.field137,"onUpdate:modelValue":a[13]||(a[13]=o=>d.formData.field137=o),placeholder:"\u8BF7\u8F93\u5165\u6210\u672C\u91D1\u989D(\u6750\u6599)",clearable:"",style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),e(t,{span:12},{default:l(()=>[e(i,{label:"\u6CBB\u5546\u8D28\u4FDD\u91D1\u989D",prop:"field138"},{default:l(()=>[e(r,{modelValue:d.formData.field138,"onUpdate:modelValue":a[14]||(a[14]=o=>d.formData.field138=o),placeholder:"\u8BF7\u8F93\u5165\u6CBB\u5546\u8D28\u4FDD\u91D1\u989D",clearable:"",style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),e(t,{span:12},{default:l(()=>[e(i,{label:"\u6CBB\u5546\u8D28\u4FDD\u5230\u671F\u65F6\u95F4",prop:"field139","label-width":"130px"},{default:l(()=>[e(r,{modelValue:d.formData.field139,"onUpdate:modelValue":a[15]||(a[15]=o=>d.formData.field139=o),placeholder:"\u8BF7\u8F93\u5165\u6CBB\u5546\u8D28\u4FDD\u5230\u671F\u65F6\u95F4",clearable:"",style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),e(t,{span:12},{default:l(()=>[e(i,{label:"\u5229\u6DA6",prop:"field140"},{default:l(()=>[e(r,{modelValue:d.formData.field140,"onUpdate:modelValue":a[16]||(a[16]=o=>d.formData.field140=o),placeholder:"\u8BF7\u8F93\u5165\u5229\u6DA6",disabled:!0,clearable:"",style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),e(t,{span:12},{default:l(()=>[e(i,{label:"\u5229\u6DA6\u7387",prop:"field141"},{default:l(()=>[e(r,{modelValue:d.formData.field141,"onUpdate:modelValue":a[17]||(a[17]=o=>d.formData.field141=o),placeholder:"\u8BF7\u8F93\u5165\u5229\u6DA6\u7387",disabled:!0,clearable:"",style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),e(t,{span:24},{default:l(()=>[e(i,{label:"\u6CBB\u5546\u5185\u5BB9",prop:"field142"},{default:l(()=>[e(r,{modelValue:d.formData.field142,"onUpdate:modelValue":a[18]||(a[18]=o=>d.formData.field142=o),type:"textarea",placeholder:"\u8BF7\u8F93\u5165\u6CBB\u5546\u5185\u5BB9",autosize:{minRows:4,maxRows:4},style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),e(t,{span:24},{default:l(()=>[e(i,{label:"\u5177\u4F53\u8BF4\u660E",prop:"field143"},{default:l(()=>[e(r,{modelValue:d.formData.field143,"onUpdate:modelValue":a[19]||(a[19]=o=>d.formData.field143=o),type:"textarea",placeholder:"\u8BF7\u8F93\u5165\u5177\u4F53\u8BF4\u660E",autosize:{minRows:4,maxRows:4},style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),e(t,{span:24},{default:l(()=>[e(i,{label:"\u7B7E\u8BC1\u62A5\u4EF7\u8868",prop:"field144"},{default:l(()=>[e(_,{ref:"field144","file-list":d.field144fileList,action:d.field144Action,"before-upload":p.field144BeforeUpload},{default:l(()=>[e(s,{size:"small",type:"primary",icon:"el-icon-upload"},{default:l(()=>[K]),_:1})]),_:1},8,["file-list","action","before-upload"])]),_:1})]),_:1}),e(t,{span:24},{default:l(()=>[e(i,{label:"\u6CBB\u5546\u4F9D\u636E",prop:"field145"},{default:l(()=>[e(_,{ref:"field145","file-list":d.field145fileList,action:d.field145Action,"before-upload":p.field145BeforeUpload},{default:l(()=>[e(s,{size:"small",type:"primary",icon:"el-icon-upload"},{default:l(()=>[T]),_:1})]),_:1},8,["file-list","action","before-upload"])]),_:1})]),_:1}),e(t,{span:24},{default:l(()=>[e(i,{size:"large"},{default:l(()=>[e(s,{type:"primary",onClick:p.submitForm},{default:l(()=>[H]),_:1},8,["onClick"]),e(s,{onClick:p.resetForm},{default:l(()=>[J]),_:1},8,["onClick"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model","rules"])]),_:1})])}const Fe=I(j,[["render",P]]);export{Fe as default};