mirror of
https://gitee.com/log4j/pig-ui.git
synced 2025-01-03 23:42:23 +08:00
🔥 删除无用代码注释
This commit is contained in:
parent
67838e0d72
commit
ebe7b7b1f8
@ -1,10 +1,9 @@
|
||||
<template>
|
||||
<!-- <el-drawer v-model="visible" title="编辑" :size="1200" :with-header="false" :close-on-click-modal="false">-->
|
||||
<el-tabs v-model="activeName" @tab-click="handleClick">
|
||||
<el-tab-pane label="属性设置" name="field">
|
||||
<vxe-table ref="fieldTable" align="center" border row-key class="sortable-row-gen" :data="fieldList"
|
||||
:loading="loading"
|
||||
:checkbox-config="{ checkStrictly: true }" :edit-config="{ trigger: 'click', mode: 'cell' }">
|
||||
:loading="loading" :checkbox-config="{ checkStrictly: true }"
|
||||
:edit-config="{ trigger: 'click', mode: 'cell' }">
|
||||
<vxe-column type="seq" width="60"></vxe-column>
|
||||
<vxe-column width="60" title="拖动">
|
||||
<template #default>
|
||||
@ -54,8 +53,9 @@
|
||||
</vxe-table>
|
||||
</el-tab-pane>
|
||||
<el-tab-pane label="列表查询" name="third">
|
||||
<vxe-grid ref="gridTable" align="center" border row-key :data="fieldList" :loading="loading" :columns="fieldListColumns"
|
||||
:checkbox-config="{ checkStrictly: true }" :edit-config="{ trigger: 'click', mode: 'cell' }">
|
||||
<vxe-grid ref="gridTable" align="center" border row-key :data="fieldList" :loading="loading"
|
||||
:columns="fieldListColumns" :checkbox-config="{ checkStrictly: true }"
|
||||
:edit-config="{ trigger: 'click', mode: 'cell' }">
|
||||
<template #gridItem="{ row }">
|
||||
<vxe-checkbox v-model="row.gridItem"></vxe-checkbox>
|
||||
</template>
|
||||
@ -223,24 +223,24 @@ const formValidatorList = reactive([
|
||||
|
||||
|
||||
const propToType = reactive({
|
||||
"tinyint":'number',
|
||||
"smallint":'number',
|
||||
"mediumint":'number',
|
||||
"int":'number',
|
||||
"integer":'number',
|
||||
"bigint":'number',
|
||||
"float":'number',
|
||||
"datetime":'datetime',
|
||||
"date":'date',
|
||||
"Long":'number',
|
||||
"Float":'number',
|
||||
"Double":'number',
|
||||
"BigDecimal":'number',
|
||||
"text":'textarea',
|
||||
"longtext":'editor',
|
||||
"bit":'radio',
|
||||
"char":'radio',
|
||||
"varchar":'text',
|
||||
"tinyint": 'number',
|
||||
"smallint": 'number',
|
||||
"mediumint": 'number',
|
||||
"int": 'number',
|
||||
"integer": 'number',
|
||||
"bigint": 'number',
|
||||
"float": 'number',
|
||||
"datetime": 'datetime',
|
||||
"date": 'date',
|
||||
"Long": 'number',
|
||||
"Float": 'number',
|
||||
"Double": 'number',
|
||||
"BigDecimal": 'number',
|
||||
"text": 'textarea',
|
||||
"longtext": 'editor',
|
||||
"bit": 'radio',
|
||||
"char": 'radio',
|
||||
"varchar": 'text',
|
||||
})
|
||||
|
||||
const handleChangeRow = (row: any) => {
|
||||
@ -336,11 +336,11 @@ const submitHandle = () => {
|
||||
const fieldListColumns = reactive([
|
||||
{ field: 'attrName', title: '属性名' },
|
||||
{ field: 'fieldComment', title: '说明' },
|
||||
{ field: 'gridItem', title: '列表显示', slots: { default: 'gridItem' }},
|
||||
{ field: 'gridSort', title: '是否排序' , slots: { default: 'gridSort' }},
|
||||
{ field: 'queryFormType', title: '查询表单类型' , slots: { default: 'queryFormType' }},
|
||||
{ field: 'gridItem', title: '列表显示', slots: { default: 'gridItem' } },
|
||||
{ field: 'gridSort', title: '是否排序', slots: { default: 'gridSort' } },
|
||||
{ field: 'queryFormType', title: '查询表单类型', slots: { default: 'queryFormType' } },
|
||||
{ field: 'queryItem', title: '查询显示', slots: { default: 'queryItem' } },
|
||||
{ field: 'queryType', title: '查询方式' , slots: { default: 'queryType' }},
|
||||
{ field: 'queryType', title: '查询方式', slots: { default: 'queryType' } },
|
||||
])
|
||||
|
||||
defineExpose({
|
||||
@ -359,6 +359,7 @@ defineExpose({
|
||||
.sortable-row-gen .vxe-body--row.sortable-chosen {
|
||||
background-color: #dfecfb;
|
||||
}
|
||||
|
||||
.vxe-select–panel {
|
||||
z-index: 9997 !important;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user