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
c03e57b7
authored
2025-06-26 13:44:21 +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
77830361
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
9 deletions
src/views/data_meta/components/dictFileds.vue
src/views/data_meta/standard-codetable.vue
src/views/data_meta/standard.vue
src/views/data_meta/components/dictFileds.vue
View file @
c03e57b
...
...
@@ -155,9 +155,9 @@ const tableSelectionChange = (val, tId) => {
};
const
tablePageChange
=
(
info
)
=>
{
console
.
log
(
'pageChange'
)
const
toChange
=
checkSave
()
const
changeCont
=
()
=>
{
console
.
log
(
'info'
,
info
)
page
.
value
.
curr
=
Number
(
info
.
curr
)
page
.
value
.
limit
=
Number
(
info
.
limit
)
toSearch
({})
...
...
@@ -233,26 +233,23 @@ const tableBtnClick = (scope, btn) => {
}
else
if
(
type
==
'save'
)
{
saveData
(
scope
)
}
else
if
(
type
==
'cancel'
)
{
console
.
log
(
'cancel'
)
if
(
row
.
guid
!=
undefined
)
{
// row = orginData.value[(page.value.curr - 1) * page.value.limit + scope.$index]
row
=
JSON
.
parse
(
JSON
.
stringify
(
orginData
.
value
[
scope
.
$index
]))
row
.
STATE
=
''
row
.
STATUS
=
''
tableData
.
value
[
scope
.
$index
]
=
row
console
.
log
(
'1111'
)
}
else
{
tableData
.
value
.
splice
(
scope
.
$index
,
1
)
orginData
.
value
.
splice
(
scope
.
$index
,
1
)
// orginData.value.splice((page.value.curr - 1) * page.value.limit + scope.$index, 1)
// if (scope.$index == 0) {
// page.value.curr = (page.value.curr - 1 > 1) ? page.value.curr - 1 : 1
// }
// chunkData()
console
.
log
(
'2222'
)
}
tableInfo
.
value
.
page
.
rows
=
tableData
.
value
.
length
// saveDisabled.value = true
console
.
log
(
tableData
.
value
)
let
haveState
=
tableData
.
value
.
some
(
item
=>
item
.
STATE
)
saveDisabled
.
value
=
!
haveState
console
.
log
(
'3333'
)
}
else
if
(
type
==
'remove'
)
{
open
(
"是否确定删除所选数据?"
,
"warning"
);
}
...
...
src/views/data_meta/standard-codetable.vue
View file @
c03e57b
...
...
@@ -984,7 +984,8 @@ const open = (msg, type, isBatch = false) => {
tableInfo
.
value
.
loading
=
true
deleteStandardCode
(
guids
).
then
((
res
:
any
)
=>
{
if
(
res
.
code
==
proxy
.
$passCode
)
{
getFirstPageData
()
initTree
().
then
(()
=>
getFirstPageData
())
// getFirstPageData()
ElMessage
({
type
:
"success"
,
message
:
"删除成功"
,
...
...
src/views/data_meta/standard.vue
View file @
c03e57b
...
...
@@ -514,3 +514,17 @@ const viewGraph = () => {
}
}
</
style
>
<
style
lang=
"scss"
>
.tree_panel
.el-tree
.el-tree-node__content
{
position
:
relative
;
.list-item-text
{
width
:
calc
(
100%
-
58px
)
!important
;
}
.tags-list-right
{
position
:
absolute
;
right
:
0
;
}
}
</
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