|
@@ -6,8 +6,8 @@
|
|
|
<!-- 顶部区域 -->
|
|
|
<div class="left-header">
|
|
|
<div class="left-header-top">
|
|
|
- <el-button type="primary" class="search-btn" @click="handleLeftQuery">搜索</el-button>
|
|
|
- <el-button type="primary" style="width: 50%" icon="el-icon-plus" @click="handleAddTrainingCamp">新建训练营</el-button>
|
|
|
+ <el-button type="primary" class="search-btn" @click="handleLeftQuery" v-hasPermi="['course:trainingCamp:list']">搜索</el-button>
|
|
|
+ <el-button type="primary" style="width: 50%" icon="el-icon-plus" @click="handleAddTrainingCamp" v-hasPermi="['course:trainingCamp:add']">新建训练营</el-button>
|
|
|
</div>
|
|
|
<div class="search-input-wrapper">
|
|
|
<el-input
|
|
@@ -63,9 +63,9 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="camp-actions">
|
|
|
- <el-button type="text" class="action-btn delete-btn" @click.stop="handleDeleteCamp(item)">删除</el-button>
|
|
|
- <el-button type="text" class="action-btn copy-btn" @click.stop="handleCopyCamp(item)">复制</el-button>
|
|
|
- <el-button type="text" class="action-btn copy-btn" @click.stop="handleEditCamp(item)">编辑</el-button>
|
|
|
+ <el-button type="text" class="action-btn delete-btn" @click.stop="handleDeleteCamp(item)" v-hasPermi="['course:trainingCamp:remove']">删除</el-button>
|
|
|
+ <el-button type="text" class="action-btn copy-btn" @click.stop="handleCopyCamp(item)" v-hasPermi="['course:trainingCamp:copy']">复制</el-button>
|
|
|
+ <el-button type="text" class="action-btn copy-btn" @click.stop="handleEditCamp(item)" v-hasPermi="['course:trainingCamp:edit']">编辑</el-button>
|
|
|
</div>
|
|
|
</div>
|
|
|
<!-- 底部加载更多提示 -->
|
|
@@ -120,7 +120,7 @@
|
|
|
</el-date-picker>
|
|
|
</el-form-item>
|
|
|
<el-form-item>
|
|
|
- <el-button type="cyan" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
|
|
|
+ <el-button type="cyan" icon="el-icon-search" size="mini" @click="handleQuery" v-hasPermi="['course:period:list']">搜索</el-button>
|
|
|
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
|
|
|
</el-form-item>
|
|
|
</el-form>
|
|
@@ -153,7 +153,7 @@
|
|
|
icon="el-icon-edit"
|
|
|
size="mini"
|
|
|
@click="handleBatchSetRedPacket"
|
|
|
- v-hasPermi="['course:period:export']"
|
|
|
+ v-hasPermi="['']"
|
|
|
:disabled="batchSetRedPacketDisabled"
|
|
|
>批量设置红包</el-button>
|
|
|
</el-col>
|