faet: 备注

This commit is contained in:
From-wh 2023-04-13 10:43:03 +08:00
parent 27413c0f00
commit 6280ddc723
3 changed files with 24 additions and 3 deletions

View File

@ -15,18 +15,22 @@
:props="{ checkStrictly: true, multiple: false, emitPath: false }"
clearable
></el-cascader>
<div class="tip">我是一段备注</div>
</FormItem>
<FormItem label="菜单名称">
<Input class="form-width" v-model="foundation.menuName" placeholder="请输入表名"></Input>
<div class="tip">我是一段备注</div>
</FormItem>
<FormItem label="表名">
<Input class="form-width" v-model="foundation.tableName" placeholder="请输入表名"></Input>
<div class="tip">我是一段备注</div>
</FormItem>
<FormItem label="是否存在">
<RadioGroup v-model="foundation.isTable">
<Radio :label="0">否</Radio>
<Radio :label="1">是</Radio>
</RadioGroup>
<div class="tip">我是一段备注</div>
</FormItem>
<FormItem label="表SQL" v-if="!foundation.isTable">
<div>

View File

@ -1,5 +1,14 @@
<template>
<div>
<div class="i-layout-page-header header-title">
<div class="fl_header">
<router-link :to="{ path: $routeProStr + '/system/code_generation_list' }"
><Button icon="ios-arrow-back" size="small" type="text">返回</Button></router-link
>
<Divider type="vertical" />
<span class="ivu-page-header-title mr20" style="padding: 0">代码生成</span>
</div>
</div>
<div class="message">
<Card :bordered="false" dis-hover class="">
<Steps :current="currentTab">
@ -122,7 +131,7 @@ export default {
this.rowList = [];
this.dataList.map((e) => {
this.rowList.push({
label: e.comment,
label: e.field,
value: e.field,
});
});
@ -188,7 +197,13 @@ export default {
justify-content: center;
align-items: center;
}
/deep/ .el-input__inner{
/deep/ .el-input__inner {
padding-left: 7px;
}
/deep/ .ivu-form-item {
margin-bottom: 10px;
}
/deep/ .tip {
color: #bbb;
}
</style>

View File

@ -1,5 +1,6 @@
<template>
<div>
<Card :bordered="false" dis-hover class="ivu-mt">
<Button type="primary" @click="groupAdd()" class="mr20">代码生成</Button>
<Table
@ -74,7 +75,6 @@
:name="value.index.toString()"
:label="value.title"
:icon="value.icon"
v-if="value.tab"
>
<div ref="container" :id="'container_' + value.index" style="height: 100%; min-height: 560px"></div>
</TabPane>
@ -234,6 +234,8 @@ export default {
try {
console.log(id);
let that = this;
this.editorIndex = [];
this.editorList = [];
crudDet(id)
.then(async (res) => {
let data = res.data[0];