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
7131a74a
Commit
7131a74a
authored
Dec 09, 2024
by
罗林杰
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
43da736e
f45b1ba7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
index.vue
src/views/realTimeSync/strategicIndicators/index.vue
+9
-9
No files found.
src/views/realTimeSync/strategicIndicators/index.vue
View file @
7131a74a
...
...
@@ -20,13 +20,13 @@
</div>
</
template
>
<
template
#
strategicName=
"{ text, record }"
>
<div
@
click=
"handleRow(record)"
class=
"hover1"
>
<div
class=
"hover1"
>
{{
text
}}
</div>
</
template
>
<
template
#
strategicType=
"{ text, record }"
>
<div
class=
"flex justify-between gap-10px"
>
<div
class=
"hover1 flex-1"
@
click=
"handleRow(record)"
>
<div
class=
"hover1 flex-1"
>
{{
text
}}
</div>
<DeleteOutlined
...
...
@@ -54,7 +54,7 @@
style=
"margin-right: 10px"
>
删除
</a-button
>
<a-button
type=
"primary"
@
click=
"handleSubmit"
>
保存
</a-button>
<a-button
style=
"margin-bottom: 10px"
type=
"primary"
@
click=
"handleSubmit"
>
保存
</a-button>
</div>
</div>
<div
v-if=
"isAdd"
>
...
...
@@ -365,14 +365,14 @@
const
titleType
=
ref
(
null
);
const
titleId
=
ref
(
null
);
function
handleSelect
(
record
)
{
console
.
log
(
'record'
,
record
);
// nextTick(() => {
// setSelectedRows({ strategicId: record.strategicId });
// });
handleRow
({
strategicId
:
record
[
0
]
});
console
.
log
(
'getRowSelection'
,
getRowSelection
());
}
onMounted
(()
=>
{});
onMounted
(()
=>
{
getRowSelection
().
selectedRowKeys
=
[
101
];
console
.
log
(
"getRowSelectionasdasd"
,
getRowSelection
())
handleRow
(
TreeSystem
[
0
]);
setSelectedRows
([
TreeSystem
[
0
]]);
});
function
handleAdd
()
{
titleName
.
value
=
null
;
...
...
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