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
094644b6
authored
2026-01-07 13:27:35 +0800
by
lihua
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
是否缓存和是否加密禁用编辑
1 parent
7f2fb235
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletions
src/components/Form/index.vue
src/views/data_asset/registerCatalogCreate.vue
src/components/Form/index.vue
View file @
094644b
...
...
@@ -1135,7 +1135,7 @@ const panelChange = (scope, row) => {
<p
class=
"label_tips"
>
{{ setLabelTips(formInline[child.field], child) }}
</p>
</template>
</div>
<el-radio-group
:class=
"[item.col, { is_block: item.block }]"
v-else-if=
"item.type == 'radio-group'"
<el-radio-group
:class=
"[item.col, { is_block: item.block }]"
v-else-if=
"item.type == 'radio-group'"
:disabled=
"item.disabled"
v-model=
"formInline[item.field]"
@
change=
"(val) => radioGroupChange(val, item)"
>
<el-radio
v-for=
"(radio, index) in item.options"
:label=
"radio.value"
>
<
template
#
default
>
...
...
src/views/data_asset/registerCatalogCreate.vue
View file @
094644b
...
...
@@ -397,6 +397,7 @@ const baseInfoFormItems = ref([
placeholder
:
''
,
field
:
'isCache'
,
block
:
false
,
disabled
:
false
,
default
:
'N'
,
options
:
[{
value
:
'Y'
,
...
...
@@ -413,6 +414,7 @@ const baseInfoFormItems = ref([
placeholder
:
''
,
field
:
'isEncrypField'
,
block
:
false
,
disabled
:
false
,
default
:
'N'
,
options
:
[{
value
:
'Y'
,
...
...
@@ -880,6 +882,9 @@ onBeforeMount(() => {
}
else
if
(
item
.
field
==
'medDepartmentCode'
)
{
item
.
visible
=
detailInfo
.
value
[
'domain'
]
==
'003'
}
if
(
item
.
field
==
'isCache'
||
item
.
field
==
'isEncrypField'
)
{
item
.
disabled
=
true
;
}
});
if
(
route
.
query
.
guid
&&
route
.
query
.
foundMode
==
'2'
)
{
baseInfoFormItems
.
value
[
0
].
disabled
=
true
;
...
...
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