1 line
25 KiB
JavaScript
1 line
25 KiB
JavaScript
|
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d22c2b1"],{f1a1:function(e,t,l){"use strict";l.r(t);var a=l("7a23"),o=l("b775");const c="/mosty-base";function n(e){return Object(o["a"])({url:c+"/gen/"+e,method:"GET"})}function d(e){return Object(o["a"])({url:c+"/gen",method:"put",data:e})}function r(){return Object(o["a"])({url:"/system/dict/type/optionselect",method:"get"})}var b={__name:"basicInfoForm",props:{info:{type:Object,default:null}},setup(e){const t=Object(a["ref"])({tableName:[{required:!0,message:"请输入表名称",trigger:"blur"}],tableComment:[{required:!0,message:"请输入表描述",trigger:"blur"}],className:[{required:!0,message:"请输入实体类名称",trigger:"blur"}],functionAuthor:[{required:!0,message:"请输入作者",trigger:"blur"}]});return(l,o)=>{const c=Object(a["resolveComponent"])("el-input"),n=Object(a["resolveComponent"])("el-form-item"),d=Object(a["resolveComponent"])("el-col"),r=Object(a["resolveComponent"])("el-row"),b=Object(a["resolveComponent"])("el-form");return Object(a["openBlock"])(),Object(a["createBlock"])(b,{ref:"basicInfoForm",model:e.info,rules:t.value,"label-width":"150px"},{default:Object(a["withCtx"])(()=>[Object(a["createVNode"])(r,null,{default:Object(a["withCtx"])(()=>[Object(a["createVNode"])(d,{span:12},{default:Object(a["withCtx"])(()=>[Object(a["createVNode"])(n,{label:"表名称",prop:"tableName"},{default:Object(a["withCtx"])(()=>[Object(a["createVNode"])(c,{placeholder:"请输入仓库名称",modelValue:e.info.tableName,"onUpdate:modelValue":o[0]||(o[0]=t=>e.info.tableName=t)},null,8,["modelValue"])]),_:1})]),_:1}),Object(a["createVNode"])(d,{span:12},{default:Object(a["withCtx"])(()=>[Object(a["createVNode"])(n,{label:"表描述",prop:"tableComment"},{default:Object(a["withCtx"])(()=>[Object(a["createVNode"])(c,{placeholder:"请输入",modelValue:e.info.tableComment,"onUpdate:modelValue":o[1]||(o[1]=t=>e.info.tableComment=t)},null,8,["modelValue"])]),_:1})]),_:1}),Object(a["createVNode"])(d,{span:12},{default:Object(a["withCtx"])(()=>[Object(a["createVNode"])(n,{label:"实体类名称",prop:"className"},{default:Object(a["withCtx"])(()=>[Object(a["createVNode"])(c,{placeholder:"请输入",modelValue:e.info.className,"onUpdate:modelValue":o[2]||(o[2]=t=>e.info.className=t)},null,8,["modelValue"])]),_:1})]),_:1}),Object(a["createVNode"])(d,{span:12},{default:Object(a["withCtx"])(()=>[Object(a["createVNode"])(n,{label:"作者",prop:"functionAuthor"},{default:Object(a["withCtx"])(()=>[Object(a["createVNode"])(c,{placeholder:"请输入",modelValue:e.info.functionAuthor,"onUpdate:modelValue":o[3]||(o[3]=t=>e.info.functionAuthor=t)},null,8,["modelValue"])]),_:1})]),_:1}),Object(a["createVNode"])(d,{span:24},{default:Object(a["withCtx"])(()=>[Object(a["createVNode"])(n,{label:"备注",prop:"remark"},{default:Object(a["withCtx"])(()=>[Object(a["createVNode"])(c,{type:"textarea",rows:3,modelValue:e.info.remark,"onUpdate:modelValue":o[4]||(o[4]=t=>e.info.remark=t)},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model","rules"])}}};const u=b;var i=u,j=l("92c2");const O=Object(a["createTextVNode"])("生成模板"),m=Object(a["createTextVNode"])(" 生成包路径 "),p=Object(a["createElementVNode"])("i",{class:"el-icon-question"},null,-1),V=Object(a["createTextVNode"])(" 生成模块名 "),s=Object(a["createElementVNode"])("i",{class:"el-icon-question"},null,-1),f=Object(a["createTextVNode"])(" 生成业务名 "),N=Object(a["createElementVNode"])("i",{class:"el-icon-question"},null,-1),h=Object(a["createTextVNode"])(" 生成功能名 "),C=Object(a["createElementVNode"])("i",{class:"el-icon-question"},null,-1),w=Object(a["createTextVNode"])(" 上级菜单 "),x=Object(a["createElementVNode"])("i",{class:"el-icon-question"},null,-1),v=Object(a["createTextVNode"])(" 生成代码方式 "),_=Object(a["createElementVNode"])("i",{class:"el-icon-question"},null,-1),g=Object(a["createTextVNode"])("zip压缩包"),k=Object(a["createTextVNode"])("自定义路径"),y=Object(a["createTextVNode"])(" 自定义路径 "),T=Object(a["createElementVNode"])("i
|