File tree Expand file tree Collapse file tree 2 files changed +10
-11
lines changed
web/src/view/systemTools/autoCode Expand file tree Collapse file tree 2 files changed +10
-11
lines changed Original file line number Diff line number Diff line change 92
92
import { toLowerCase , toSQLLine } from ' @/utils/stringFun'
93
93
import { getSysDictionaryList } from ' @/api/sysDictionary'
94
94
import WarningBar from ' @/components/warningBar/warningBar.vue'
95
- import { reactive , ref } from ' vue'
95
+ import { ref } from ' vue'
96
96
97
97
const props = defineProps ({
98
98
dialogMiddle: {
@@ -105,7 +105,6 @@ const props = defineProps({
105
105
106
106
const middleDate = ref ({})
107
107
const dictOptions = ref ([])
108
- const ruleDialog = ref ()
109
108
const typeSearchOptions = ref ([
110
109
{
111
110
label: ' =' ,
Original file line number Diff line number Diff line change 48
48
</div >
49
49
<div class =" gva-search-box" >
50
50
<!-- 初始版本自动化代码工具 -->
51
- <el-form ref =" autoCodeForm" :rules =" rules" :model =" form" size =" small" label-width =" 120px" :inline =" true" >
51
+ <el-form ref =" autoCodeForm" :rules =" rules" :model =" form" size =" small" label-width =" 120px" :inline =" true" >
52
52
<el-form-item label =" Struct名称" prop =" structName" >
53
53
<el-input v-model =" form.structName" placeholder =" 首字母自动转换大写" />
54
54
</el-form-item >
98
98
<el-table-column align =" left" type =" index" label =" 序列" width =" 60" />
99
99
<el-table-column align =" left" prop =" fieldName" label =" Field名" />
100
100
<el-table-column align =" left" prop =" fieldDesc" label =" 中文名" />
101
- <el-table-column align =" left" prop =" fieldDesc " label =" 是否必填" >
102
- <template #default =" {row } " >{{row.require?"是":"否"}}</template >
101
+ <el-table-column align =" left" prop =" require " label =" 是否必填" >
102
+ <template #default =" {row } " >{{ row.require?"是":"否" }}</template >
103
103
</el-table-column >
104
104
<el-table-column align =" left" prop =" fieldJson" min-width =" 120px" label =" FieldJson" />
105
105
<el-table-column align =" left" prop =" fieldType" label =" Field数据类型" width =" 130" />
@@ -190,9 +190,9 @@ const fieldTemplate = {
190
190
columnName: ' ' ,
191
191
dataTypeLong: ' ' ,
192
192
comment: ' ' ,
193
- require: false ,
194
- errorText: " " ,
195
- clearable: true ,
193
+ require: false ,
194
+ errorText: ' ' ,
195
+ clearable: true ,
196
196
fieldSearchType: ' ' ,
197
197
dictType: ' '
198
198
}
@@ -441,9 +441,9 @@ const getColumnFunc = async() => {
441
441
dataTypeLong: item .dataTypeLong && item .dataTypeLong .split (' ,' )[0 ],
442
442
columnName: item .columnName ,
443
443
comment: item .columnComment ,
444
- require: false ,
445
- errorText: " " ,
446
- clearable: true ,
444
+ require: false ,
445
+ errorText: ' ' ,
446
+ clearable: true ,
447
447
fieldSearchType: ' ' ,
448
448
dictType: ' '
449
449
})
You can’t perform that action at this time.
0 commit comments