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
02abb7b2
authored
2025-02-14 16:08:57 +0800
by
lihua
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
禁用配置业务规则
1 parent
809e3c07
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
src/components/Table/index.vue
src/views/data_inventory/classifyGradeCatalogue.vue
src/components/Table/index.vue
View file @
02abb7b
...
...
@@ -204,7 +204,7 @@ const rowSelectable = (row, index) => {
if
(
props
.
tableInfo
.
selectable
===
false
)
{
return
false
}
return
row
.
selectable
??
true
;
return
props
.
tableInfo
.
selectableHandle
?
props
.
tableInfo
.
selectableHandle
(
row
)
:
(
row
.
selectable
??
true
)
;
};
...
...
src/views/data_inventory/classifyGradeCatalogue.vue
View file @
02abb7b
...
...
@@ -438,6 +438,10 @@ const tableInfo = ref({
id
:
"role-manage-table"
,
multiple
:
true
,
fixedSelection
:
true
,
selectable
:
true
,
selectableHandle
:
(
row
)
=>
{
return
row
?.
isImportCreate
!=
'Y'
;
},
fields
:
[
{
label
:
"序号"
,
type
:
"index"
,
width
:
56
,
align
:
"center"
},
{
label
:
"字段名"
,
field
:
"fieldName"
,
width
:
140
},
...
...
@@ -688,7 +692,7 @@ const dataBaseTableInfo = ref({
}
});
},
disabled
:
scope
.
row
.
state
==
0
?
true
:
false
disabled
:
(
scope
.
row
.
isImportCreate
==
'Y'
||
scope
.
row
.
state
==
0
)
?
true
:
false
},
{
label
:
"编辑表结构"
,
value
:
"edit"
,
click
:
(
scope
)
=>
{
...
...
@@ -1375,7 +1379,7 @@ const getDataBaseTableData = async (params = {}) => {
dataBaseTableInfo
.
value
.
page
.
rows
=
res
.
data
.
totalRows
;
dataBaseTableInfo
.
value
.
page
.
limit
=
res
.
data
.
pageSize
dataBaseTableInfo
.
value
.
page
.
curr
=
res
.
data
.
pageIndex
dataBaseTableInfo
.
value
.
data
=
res
.
data
.
records
;
dataBaseTableInfo
.
value
.
data
=
res
.
data
.
records
||
[]
;
}
else
{
proxy
.
$ElMessage
.
error
(
res
.
msg
);
}
...
...
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