Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
bigDataSystem
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张伯涛
bigDataSystem
Commits
7d0e34cf
Commit
7d0e34cf
authored
Nov 18, 2024
by
chenjiahao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
數據服務-API數據安全-分類分級-可拖拽
parent
f96cc903
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
index.vue
...ervice/APIDataSecurity/classificationAndGrading/index.vue
+7
-2
No files found.
src/views/dataService/APIDataSecurity/classificationAndGrading/index.vue
View file @
7d0e34cf
...
...
@@ -43,7 +43,7 @@
const
{
createMessage
}
=
useMessage
();
const
route
=
useRoute
();
let
tableData
=
re
active
(
tableList
);
let
tableData
=
re
f
(
tableList
);
const
[
registerModal
,
{
openModal
}]
=
useModal
();
const
[
registerImport
,
{
openModal
:
openImportModal
}]
=
useModal
();
const
searchInfo
=
reactive
<
Recordable
>
({});
...
...
@@ -176,7 +176,12 @@
// 得到目标数据序号
target
=
index
;
// 这里就是让数据位置互换,让视图更新 你们可以看record,index的输出,看是什么
[
dataSource
[
source
],
dataSource
[
target
]]
=
[
dataSource
[
target
],
dataSource
[
source
]];
console
.
log
(
tableData
);
// [tableData.value[source], tableData.value[target]] = [tableData.value[target], tableData.value[source]];
const
temp
=
ref
();
temp
.
value
=
tableData
.
value
[
source
];
tableData
.
value
[
source
]
=
tableData
.
value
[
target
];
tableData
.
value
[
target
]
=
temp
.
value
;
console
.
log
(
record
,
index
,
'target'
,
source
,
target
);
},
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment