|
|
@@ -27,26 +27,26 @@
|
|
|
@click="handleDelete">删 除
|
|
|
</el-button>
|
|
|
</template>
|
|
|
-<!-- <template slot="menu" slot-scope="scope">
|
|
|
- <el-button type="text" size="small" icon="el-icon-setting">
|
|
|
- <el-dropdown @command="tip">
|
|
|
- <span class="el-dropdown-link">
|
|
|
- 操作<i class="el-icon-arrow-down el-icon--right"> </i>
|
|
|
- </span>
|
|
|
- <el-dropdown-menu slot="dropdown">
|
|
|
- <el-dropdown-item divided @click.native="detail(scope.row)" icon="el-icon-office-building">详情
|
|
|
- </el-dropdown-item>
|
|
|
- <el-dropdown-item divided @click.native="edit(scope.row)" icon="el-icon-school">编辑</el-dropdown-item>
|
|
|
- <el-dropdown-item divided @click.native="manage(scope.row)" icon="el-icon-s-order">管理</el-dropdown-item>
|
|
|
- </el-dropdown-menu>
|
|
|
- </el-dropdown>
|
|
|
- </el-button>
|
|
|
- </template>-->
|
|
|
+<!-- <template slot="menu" slot-scope="scope">-->
|
|
|
+<!-- <el-button type="text" size="small" icon="el-icon-setting">-->
|
|
|
+<!-- <el-dropdown @command="tip">-->
|
|
|
+<!-- <span class="el-dropdown-link">-->
|
|
|
+<!-- 操作<i class="el-icon-arrow-down el-icon--right"> </i>-->
|
|
|
+<!-- </span>-->
|
|
|
+<!-- <el-dropdown-menu slot="dropdown">-->
|
|
|
+<!-- <el-dropdown-item divided @click.native="detail(scope.row)" icon="el-icon-office-building">详情-->
|
|
|
+<!-- </el-dropdown-item>-->
|
|
|
+<!-- <el-dropdown-item divided @click.native="edit(scope.row)" icon="el-icon-school">编辑</el-dropdown-item>-->
|
|
|
+<!-- <el-dropdown-item divided @click.native="manage(scope.row)" icon="el-icon-s-order">管理</el-dropdown-item>-->
|
|
|
+<!-- </el-dropdown-menu>-->
|
|
|
+<!-- </el-dropdown>-->
|
|
|
+<!-- </el-button>-->
|
|
|
+<!-- </template>-->
|
|
|
<template slot="activities" slot-scope="{row}">
|
|
|
<el-button size="mini" @click="show(row,1)">查看党内活动</el-button>
|
|
|
</template>
|
|
|
<template slot="news" slot-scope="{row}">
|
|
|
- <el-button size="mini" @click="show(row,2)">查看党内咨询</el-button>
|
|
|
+ <el-button size="mini" @click="show(row,2)">查看党内资讯</el-button>
|
|
|
</template>
|
|
|
<template slot="meetings" slot-scope="{row}">
|
|
|
<el-button size="mini" @click="show(row,3)">查看三会一课</el-button>
|
|
|
@@ -54,10 +54,10 @@
|
|
|
</avue-crud>
|
|
|
|
|
|
<el-drawer :visible.sync="showActivities" size="85%" direction="rtl" :modal-append-to-body="false" destroy-on-close append-to-body center >
|
|
|
- <activity ref="activity" :branch-id="branchId"></activity>
|
|
|
+ <activity ref="activity" :branch-id="branchId" :branch-name="branchName"></activity>
|
|
|
</el-drawer>
|
|
|
<el-drawer :visible.sync="showNews" size="85%" direction="rtl" :modal-append-to-body="false" destroy-on-close append-to-body center >
|
|
|
- <newslist ref="newslist" :branch-id="branchId"></newslist>
|
|
|
+ <newslist ref="newslist" :branch-id="branchId" ></newslist>
|
|
|
</el-drawer>
|
|
|
<el-drawer :visible.sync="showMeetings" size="85%" direction="rtl" :modal-append-to-body="false" destroy-on-close append-to-body center >
|
|
|
<meetinglist ref="meetinglist" :branch-id="branchId"></meetinglist>
|
|
|
@@ -81,6 +81,7 @@
|
|
|
data() {
|
|
|
return {
|
|
|
branchId: '',
|
|
|
+ branchName: '',
|
|
|
showActivities: false,
|
|
|
showNews: false,
|
|
|
showMeetings: false,
|
|
|
@@ -292,7 +293,9 @@
|
|
|
},
|
|
|
methods: {
|
|
|
show(row, type) {
|
|
|
+ debugger
|
|
|
this.branchId = row.id;
|
|
|
+ this.branchName = row.branchName;
|
|
|
this.showParty = true;
|
|
|
switch (type) {
|
|
|
case 1:
|