Agriculture-front-end/dist/assets/basicInfoForm.d83e1258.js
2023-05-25 08:33:42 +08:00

2 lines
2.2 KiB
JavaScript

import{_ as i,r as c,d as m,o as b,k as p,w as l,e,f as V}from"./index.b3a66a9e.js";const g={__name:"basicInfoForm",props:{info:{type:Object,default:null}},setup(o){const d=c({tableName:[{required:!0,message:"\u8BF7\u8F93\u5165\u8868\u540D\u79F0",trigger:"blur"}],tableComment:[{required:!0,message:"\u8BF7\u8F93\u5165\u8868\u63CF\u8FF0",trigger:"blur"}],className:[{required:!0,message:"\u8BF7\u8F93\u5165\u5B9E\u4F53\u7C7B\u540D\u79F0",trigger:"blur"}],functionAuthor:[{required:!0,message:"\u8BF7\u8F93\u5165\u4F5C\u8005",trigger:"blur"}]});return(N,a)=>{const n=m("el-input"),r=m("el-form-item"),u=m("el-col"),f=m("el-row"),s=m("el-form");return b(),p(s,{ref:"basicInfoForm",model:o.info,rules:V(d),"label-width":"150px"},{default:l(()=>[e(f,null,{default:l(()=>[e(u,{span:12},{default:l(()=>[e(r,{label:"\u8868\u540D\u79F0",prop:"tableName"},{default:l(()=>[e(n,{placeholder:"\u8BF7\u8F93\u5165\u4ED3\u5E93\u540D\u79F0",modelValue:o.info.tableName,"onUpdate:modelValue":a[0]||(a[0]=t=>o.info.tableName=t)},null,8,["modelValue"])]),_:1})]),_:1}),e(u,{span:12},{default:l(()=>[e(r,{label:"\u8868\u63CF\u8FF0",prop:"tableComment"},{default:l(()=>[e(n,{placeholder:"\u8BF7\u8F93\u5165",modelValue:o.info.tableComment,"onUpdate:modelValue":a[1]||(a[1]=t=>o.info.tableComment=t)},null,8,["modelValue"])]),_:1})]),_:1}),e(u,{span:12},{default:l(()=>[e(r,{label:"\u5B9E\u4F53\u7C7B\u540D\u79F0",prop:"className"},{default:l(()=>[e(n,{placeholder:"\u8BF7\u8F93\u5165",modelValue:o.info.className,"onUpdate:modelValue":a[2]||(a[2]=t=>o.info.className=t)},null,8,["modelValue"])]),_:1})]),_:1}),e(u,{span:12},{default:l(()=>[e(r,{label:"\u4F5C\u8005",prop:"functionAuthor"},{default:l(()=>[e(n,{placeholder:"\u8BF7\u8F93\u5165",modelValue:o.info.functionAuthor,"onUpdate:modelValue":a[3]||(a[3]=t=>o.info.functionAuthor=t)},null,8,["modelValue"])]),_:1})]),_:1}),e(u,{span:24},{default:l(()=>[e(r,{label:"\u5907\u6CE8",prop:"remark"},{default:l(()=>[e(n,{type:"textarea",rows:3,modelValue:o.info.remark,"onUpdate:modelValue":a[4]||(a[4]=t=>o.info.remark=t)},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model","rules"])}}},k=i(g,[["__file","/Users/luce/Desktop/\u6570\u5B57\u4E09\u519C/Agriculture-front-end/src/views/tool/gen/basicInfoForm.vue"]]);export{k as default};