Commit cf9a6991 by 匡雅琴

样式

1 parent c3690184
<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 {
......
......@@ -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) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!