Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
pptist
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
viitto
pptist
Commits
433ef224
Commit
433ef224
authored
Feb 19, 2024
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
行程列表
parent
8d2b568a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
journeyAds.vue
src/views/SellTemplate/components/journeyAds.vue
+9
-3
No files found.
src/views/SellTemplate/components/journeyAds.vue
View file @
433ef224
...
...
@@ -5,7 +5,8 @@
<table
class=
"text-small"
style=
"width: 100%"
>
<tr>
<th
class=
"text-left"
style=
"width: 20px;"
><el-checkbox
size=
"sm"
v-model=
"datas.selectAll"
@
click=
"clickSelectAll"
/></th>
@
click=
"clickSelectAll"
:indeterminate=
"isIndeterminate"
/></th>
<th
colspan=
"2"
class=
"text-light"
><div
class=
"text-left q-pl-md"
>
文档名称
</div></th>
<th
class=
"text-light"
>
最近修改
</th>
<th
class=
"text-light"
>
创建者
</th>
...
...
@@ -61,6 +62,7 @@
const
marketStore
=
useScreenStore
()
const
PopoverVisibleControls
=
ref
(
false
)
const
isIndeterminate
=
ref
(
true
)
const
dataList
=
ref
([]
as
Array
<
any
>
)
const
searchData
=
ref
({}
as
any
)
searchData
.
value
=
inject
(
injectKeyTemplate
)
...
...
@@ -112,14 +114,18 @@
}
datas
.
selectedDatas
.
splice
(
index
,
1
)
}
isIndeterminate
.
value
=
false
if
(
dataList
.
value
.
length
>
0
&&
datas
.
selectedDatas
.
length
>
0
&&
dataList
.
value
.
length
==
datas
.
selectedDatas
.
length
)
datas
.
selectAll
=
true
if
(
dataList
.
value
.
length
>
0
&&
datas
.
selectedDatas
.
length
>
0
&&
dataList
.
value
.
length
>
datas
.
selectedDatas
.
length
)
datas
.
selectAll
=
[
''
]
&&
dataList
.
value
.
length
>
datas
.
selectedDatas
.
length
)
{
datas
.
selectAll
=
''
isIndeterminate
.
value
=
true
}
if
(
dataList
.
value
.
length
==
0
&&
datas
.
selectedDatas
.
length
==
0
)
datas
.
selectAll
=
[
''
]
&&
datas
.
selectedDatas
.
length
==
0
)
datas
.
selectAll
=
''
console
.
log
(
datas
.
selectedDatas
,
'----'
)
}
...
...
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