engineering/public/admin/assets/Subcontractors.b16d2860.js
2023-11-12 15:56:46 +08:00

2 lines
10 KiB
JavaScript

import{G as w,B as U,H as x,I as v,J as E,K as z,w as B,L as F,M as k,N as q,C as R}from"./element-plus.b8743002.js";import{_ as C}from"./index.f6cf97bc.js";import{o as m,c as _,U as e,L as l,V as L,a7 as M,S as u,K as S,T as A}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 O={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 o=f.size/1024/1024<2;return o||this.$message.error("\u6587\u4EF6\u5927\u5C0F\u8D85\u8FC7 2MB"),o},field145BeforeUpload(f){let o=f.size/1024/1024<2;return o||this.$message.error("\u6587\u4EF6\u5927\u5C0F\u8D85\u8FC7 2MB"),o}}},I=u("\u70B9\u51FB\u4E0A\u4F20"),N=u("\u70B9\u51FB\u4E0A\u4F20"),j=u("\u63D0\u4EA4"),G=u("\u91CD\u7F6E");function K(f,o,T,H,d,n){const a=w,t=U,r=x,b=v,c=E,V=z,s=B,p=F,g=k,y=q,D=R;return m(),_("div",null,[e(D,null,{default:l(()=>[e(y,{ref:"elForm",model:d.formData,rules:d.rules,size:"medium","label-width":"120px","label-position":"left"},{default:l(()=>[e(g,{gutter:10},{default:l(()=>[e(r,{span:12},{default:l(()=>[e(t,{label:"\u5408\u540C\u7F16\u53F7",prop:"field102"},{default:l(()=>[e(a,{modelValue:d.formData.field102,"onUpdate:modelValue":o[0]||(o[0]=i=>d.formData.field102=i),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(r,{span:12},{default:l(()=>[e(t,{label:"\u7B7E\u8BA2\u65E5\u671F",prop:"field106"},{default:l(()=>[e(b,{modelValue:d.formData.field106,"onUpdate:modelValue":o[1]||(o[1]=i=>d.formData.field106=i),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(r,{span:12},{default:l(()=>[e(t,{label:"\u4F9B\u5E94\u5546",prop:"field102"},{default:l(()=>[e(a,{modelValue:d.formData.field102,"onUpdate:modelValue":o[2]||(o[2]=i=>d.formData.field102=i),placeholder:"\u7CFB\u7EDF\u81EA\u52A8\u586B\u5199",disabled:!0,clearable:"","suffix-icon":"el-icon-search",style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),e(r,{span:12},{default:l(()=>[e(t,{label:"\u4F9B\u5E94\u5546\u7F16\u7801",prop:"field102"},{default:l(()=>[e(a,{modelValue:d.formData.field102,"onUpdate:modelValue":o[3]||(o[3]=i=>d.formData.field102=i),placeholder:"\u7CFB\u7EDF\u81EA\u52A8\u586B\u5199",disabled:!0,clearable:"","suffix-icon":"el-icon-search",style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),e(r,{span:12},{default:l(()=>[e(t,{label:"\u9879\u76EE\u540D\u79F0",prop:"field103"},{default:l(()=>[e(a,{modelValue:d.formData.field103,"onUpdate:modelValue":o[4]||(o[4]=i=>d.formData.field103=i),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(r,{span:12},{default:l(()=>[e(t,{label:"\u9879\u76EE\u7F16\u7801",prop:"field102"},{default:l(()=>[e(a,{modelValue:d.formData.field102,"onUpdate:modelValue":o[5]||(o[5]=i=>d.formData.field102=i),placeholder:"\u7CFB\u7EDF\u81EA\u52A8\u586B\u5199",disabled:!0,clearable:"","suffix-icon":"el-icon-search",style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),e(r,{span:12},{default:l(()=>[e(t,{label:"\u6CBB\u5546\u7F16\u53F7",prop:"field110"},{default:l(()=>[e(a,{modelValue:d.formData.field110,"onUpdate:modelValue":o[6]||(o[6]=i=>d.formData.field110=i),placeholder:"\u7CFB\u7EDF\u81EA\u52A8\u83B7\u53D6",disabled:!0,clearable:"",style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),e(r,{span:12},{default:l(()=>[e(t,{label:"\u6CBB\u5546\u5355\u4F4D\u540D\u79F0",prop:"field109"},{default:l(()=>[e(a,{modelValue:d.formData.field109,"onUpdate:modelValue":o[7]||(o[7]=i=>d.formData.field109=i),placeholder:"\u8BF7\u8F93\u5165\u6CBB\u5546\u5355\u4F4D\u540D\u79F0",clearable:"",style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),e(r,{span:12},{default:l(()=>[e(t,{label:"\u6CBB\u5546\u91D1\u989D",prop:"field111"},{default:l(()=>[e(a,{modelValue:d.formData.field111,"onUpdate:modelValue":o[8]||(o[8]=i=>d.formData.field111=i),placeholder:"\u8BF7\u8F93\u5165\u6CBB\u5546\u91D1\u989D",clearable:"",style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),e(r,{span:12},{default:l(()=>[e(t,{label:"\u6CBB\u5546\u7C7B\u522B",prop:"field135"},{default:l(()=>[e(V,{modelValue:d.formData.field135,"onUpdate:modelValue":o[9]||(o[9]=i=>d.formData.field135=i),size:"medium"},{default:l(()=>[(m(!0),_(L,null,M(d.field135Options,(i,h)=>(m(),S(c,{key:h,label:i.value,disabled:i.disabled},{default:l(()=>[u(A(i.label),1)]),_:2},1032,["label","disabled"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1}),e(r,{span:12},{default:l(()=>[e(t,{label:"\u6CBB\u5546\u8D28\u4FDD\u91D1\u989D",prop:"field138"},{default:l(()=>[e(a,{modelValue:d.formData.field138,"onUpdate:modelValue":o[10]||(o[10]=i=>d.formData.field138=i),placeholder:"\u8BF7\u8F93\u5165\u6CBB\u5546\u8D28\u4FDD\u91D1\u989D",clearable:"",style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),e(r,{span:12},{default:l(()=>[e(t,{label:"\u6CBB\u5546\u8D28\u4FDD\u5230\u671F\u65F6\u95F4",prop:"field139","label-width":"130px"},{default:l(()=>[e(a,{modelValue:d.formData.field139,"onUpdate:modelValue":o[11]||(o[11]=i=>d.formData.field139=i),placeholder:"\u8BF7\u8F93\u5165\u6CBB\u5546\u8D28\u4FDD\u5230\u671F\u65F6\u95F4",clearable:"",style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),e(r,{span:24},{default:l(()=>[e(t,{label:"\u6CBB\u5546\u5185\u5BB9",prop:"field142"},{default:l(()=>[e(a,{modelValue:d.formData.field142,"onUpdate:modelValue":o[12]||(o[12]=i=>d.formData.field142=i),type:"textarea",placeholder:"\u8BF7\u8F93\u5165\u6CBB\u5546\u5185\u5BB9",autosize:{minRows:4,maxRows:4},style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),e(r,{span:24},{default:l(()=>[e(t,{label:"\u5177\u4F53\u8BF4\u660E",prop:"field143"},{default:l(()=>[e(a,{modelValue:d.formData.field143,"onUpdate:modelValue":o[13]||(o[13]=i=>d.formData.field143=i),type:"textarea",placeholder:"\u8BF7\u8F93\u5165\u5177\u4F53\u8BF4\u660E",autosize:{minRows:4,maxRows:4},style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),e(r,{span:24},{default:l(()=>[e(t,{label:"\u7B7E\u8BC1\u62A5\u4EF7\u8868",prop:"field144"},{default:l(()=>[e(p,{ref:"field144","file-list":d.field144fileList,action:d.field144Action,"before-upload":n.field144BeforeUpload},{default:l(()=>[e(s,{size:"small",type:"primary",icon:"el-icon-upload"},{default:l(()=>[I]),_:1})]),_:1},8,["file-list","action","before-upload"])]),_:1})]),_:1}),e(r,{span:24},{default:l(()=>[e(t,{label:"\u6CBB\u5546\u4F9D\u636E",prop:"field145"},{default:l(()=>[e(p,{ref:"field145","file-list":d.field145fileList,action:d.field145Action,"before-upload":n.field145BeforeUpload},{default:l(()=>[e(s,{size:"small",type:"primary",icon:"el-icon-upload"},{default:l(()=>[N]),_:1})]),_:1},8,["file-list","action","before-upload"])]),_:1})]),_:1}),e(r,{span:24},{default:l(()=>[e(t,{size:"large"},{default:l(()=>[e(s,{type:"primary",onClick:n.submitForm},{default:l(()=>[j]),_:1},8,["onClick"]),e(s,{onClick:n.resetForm},{default:l(()=>[G]),_:1},8,["onClick"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model","rules"])]),_:1})])}const Ee=C(O,[["render",K]]);export{Ee as default};