Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-marketing
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit cf9a6991
authored
Apr 01, 2022
by
匡雅琴
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
样式
1 parent
c3690184
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
2 deletions
src/views/material/components/materialGroup.vue
src/views/material/index.vue
src/views/material/components/materialGroup.vue
View file @
cf9a699
<
template
>
<div
class=
"material-group"
>
<div
class=
"all-group"
>
<div>
全部素材组 (
{{
groupCounter
.
length
}}
)
</div>
<div
class=
"all-group-word"
@
click=
"getList"
>
全部素材组 (
{{
groupCounter
.
length
}}
)
</div>
<div>
<el-button
class=
"add_btn"
icon=
"el-icon-plus"
:size=
"size"
@
click=
"handleAddGroup(1)"
>
素材组
</el-button>
</div>
...
...
@@ -131,6 +131,11 @@ export default {
})
})
},
// 点击全部素材组获取全部素材
getList
()
{
this
.
$emit
(
'getListApi'
)
this
.
currentIndex
=
''
},
// 二次确认
secondConfirm
(
title
,
txt
,
apiModule
,
apiName
,
apiParams
,
fn
)
{
this
.
$confirm
(
txt
,
title
,
{
...
...
@@ -174,6 +179,9 @@ export default {
.el-button
{
margin-top
:
-13px
;
}
&
-word
{
cursor
:
pointer
;
}
}
ul
{
li
{
...
...
src/views/material/index.vue
View file @
cf9a699
...
...
@@ -26,7 +26,7 @@
<el-row
:style=
"
{ height: boxHeight }">
<el-col
:span=
"5"
>
<div
class=
"left"
:style=
"
{ height: boxHeight }">
<MaterialGroup
@
openAddDialog=
"addDialogShow"
:eventBus=
"eventBus"
@
getList=
"getList"
@
getListApi=
"getListApi"
></MaterialGroup>
<MaterialGroup
ref=
"materialGroup"
@
openAddDialog=
"addDialogShow"
:eventBus=
"eventBus"
@
getList=
"getList"
@
getListApi=
"getListApi"
></MaterialGroup>
</div>
</el-col>
<el-col
:span=
"19"
>
...
...
@@ -374,6 +374,7 @@ export default {
materialName
:
''
}
this
.
getListApi
()
this
.
$refs
.
materialGroup
.
currentIndex
=
null
},
// 获取所有业务类型
findAllDictData
(
dictType
)
{
...
...
Write
Preview
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