Browse Source

查看,修改

feature
是小王呀\24601 1 year ago
parent
commit
8b7e0cdd01
  1. 8
      src/views/modules/volunteer/activityArchive/index.vue

8
src/views/modules/volunteer/activityArchive/index.vue

@ -64,10 +64,10 @@
</el-table-column> -->
<el-table-column label="操作" fixed="right" width="250" header-align="center" align="center" class="operate">
<template slot-scope="scope">
<el-button type="text" style="color:#1C6AFD;" size="small" @click="handleDetail(scope.row)">修改</el-button>
<el-button type="text" v-if="scope.row.statusType=='未发布'" style="color:#1C6AFD;" size="small" @click="handleDetail(scope.row)">修改</el-button>
<el-button type="text" style="color:#1C6AFD;" size="small" @click="handleselect(scope.row)">查看</el-button>
<el-button v-if="scope.row.online === 1" type="text" style="color:#1C6AFD;" size="small" @click="handleupOnline(scope.row)">下线</el-button>
<el-button v-if="scope.row.online === 0" type="text" style="color:#1C6AFD;" size="small" @click="handleupOnline(scope.row)">上线</el-button>
<el-button v-if="scope.row.online === 1 &&scope.row.statusType!='进行中'&&scope.row.statusType!='进行中'" type="text" style="color:#1C6AFD;" size="small" @click="handleupOnline(scope.row)">下线</el-button>
<el-button v-if="scope.row.online === 0 &&scope.row.statusType!='进行中'" type="text" style="color:#1C6AFD;" size="small" @click="handleupOnline(scope.row)">上线</el-button>
<!-- <el-button type="text" style="color:#1C6AFD;" size="small" @click="handleintegral(scope.row)">更多</el-button> -->
<el-dropdown trigger="click" style="margin-left: 10px"
@command="(command) => handelRegister(command, scope.row)">
@ -77,7 +77,7 @@
<el-dropdown-menu split-button="true" slot="dropdown">
<el-dropdown-item command="signup">报名管理</el-dropdown-item>
<el-dropdown-item command="clockin">打卡积分</el-dropdown-item>
<el-dropdown-item command="delete">删除活动</el-dropdown-item>
<el-dropdown-item v-if="scope.row.statusType!='进行中'" command="delete">删除活动</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
</template>

Loading…
Cancel
Save