Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
csbr-daop
/
fe-data-trusted-space
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
be8c3d81
authored
2025-06-26 14:26:46 +0800
by
fanguang
Committed by
lihua
2025-06-30 14:28:37 +0800
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix
1 parent
c03e57b7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
8 deletions
src/views/data_meta/components/standardDialog.vue
src/views/data_meta/standard-codetable.vue
src/views/data_meta/components/standardDialog.vue
View file @
be8c3d8
<
template
>
<el-dialog
v-model=
"visible"
:title=
"title"
width=
"900"
modal-class=
"standard-modal"
>
<el-form
:rules=
"formRules"
:model=
"form"
ref=
"formEl"
>
<el-form
:rules=
"formRules"
:model=
"form"
ref=
"formEl"
require-asterisk-position=
"right"
>
<el-row>
<el-col
:span=
"12"
style=
"padding-right:10px"
>
<el-form-item
label=
"元数据标准名称"
prop=
"standardName"
>
...
...
@@ -51,7 +51,7 @@
</el-form-item>
</el-col>
<el-col
:span=
"24"
>
<el-form-item
label=
"自定义字段选择"
v-if=
"form.fieldRQVOS && form.fieldRQVOS.length"
>
<el-form-item
label=
"自定义字段选择"
v-if=
"form.fieldRQVOS && form.fieldRQVOS.length"
required
>
<div
class=
"table-form"
>
<div
class=
"table-form-wrapper"
v-for=
"item,index in form.fieldRQVOS"
:key=
"index"
>
<div
class=
"table-form-item"
>
...
...
@@ -248,9 +248,15 @@ watch(
()
=>
visible
.
value
,
(
v
)
=>
{
if
(
!
v
)
return
if
(
props
.
type
===
'edit'
)
{
getDetail
()
}
else
{
form
.
value
=
{
...
formTpl
}
}
setTimeout
(()
=>
{
formEl
.
value
.
clearValidate
()
},
100
)
}
)
onBeforeMount
(()
=>
{
...
...
@@ -286,13 +292,16 @@ onBeforeMount(() => {
.el-form-item
{
flex-direction
:
column
;
.el-form-item__label
{
justify-content
:
flex-start
;
justify-content
:
flex-start
;
}
}
.el-dialog__footer
{
padding
:
10px
;
}
.el-dialog__body
{
height
:
500px
;
overflow
:
auto
;
}
.table-form-wrapper
{
display
:
flex
;
margin-bottom
:
5px
;
...
...
src/views/data_meta/standard-codetable.vue
View file @
be8c3d8
...
...
@@ -358,7 +358,8 @@ const formTable = ref({
title
:
"定义表结构"
,
col
:
'no-margin'
,
style
:
{
height
:
'calc(100% - 234px)'
// height: 'calc(100% - 234px)'
height
:
'auto'
},
tableInfo
:
{
id
:
"role-authority-table"
,
...
...
@@ -380,9 +381,9 @@ const formTable = ref({
},
editInfo
:
{},
readonly
:
false
,
col
:
'auto-height'
,
//
col: 'auto-height',
style
:
{
height
:
'calc(100% - 40px)'
//
height: 'calc(100% - 40px)'
},
loading
:
false
},
...
...
@@ -1535,8 +1536,8 @@ onMounted(() => {
<div
class=
"table_tool_wrap"
>
<div
class=
"tools_btns"
>
<el-button
type=
"primary"
@
click=
"loadDrawer"
v-preReClick
>
新建
</el-button>
<el-button
@
click=
"batching('delete')"
v-preReClick
>
批量删除
</el-button>
<el-button
@
click=
"batching('export')"
v-preReClick
>
批量导入
</el-button>
<el-button
@
click=
"batching('delete')"
v-preReClick
>
批量删除
</el-button>
</div>
<el-input
class=
"table_search_input"
v-model
.
trim=
"tableSearchInput"
placeholder=
"请输入关键字搜索"
:suffix-icon=
"Search"
clearable
@
change=
"val => getFirstPageData()"
/>
...
...
@@ -1570,5 +1571,11 @@ onMounted(() => {
height
:
calc
(
100%
-
68px
);
overflow
:
hidden
auto
;
}
}
</
style
>
<
style
>
.el-scrollbar__bar.is-vertical
{
display
:
none
!important
;
}
</
style
>
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment