|
@@ -64,7 +64,7 @@
|
|
|
</div>
|
|
|
<div class="camp-actions">
|
|
|
<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="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>
|
|
@@ -153,7 +153,7 @@
|
|
|
icon="el-icon-edit"
|
|
|
size="mini"
|
|
|
@click="handleBatchSetRedPacket"
|
|
|
- v-hasPermi="['']"
|
|
|
+ v-hasPermi="['course:period:setRedPacket']"
|
|
|
:disabled="batchSetRedPacketDisabled"
|
|
|
>批量设置红包</el-button>
|
|
|
</el-col>
|
|
@@ -201,6 +201,7 @@
|
|
|
type="text"
|
|
|
icon="el-icon-circle-close"
|
|
|
@click="handleClosePeriod(scope.row)"
|
|
|
+ v-hasPermi="['course:period:close']"
|
|
|
>结束营期</el-button>
|
|
|
<el-button
|
|
|
size="mini"
|
|
@@ -487,7 +488,7 @@
|
|
|
icon="el-icon-plus"
|
|
|
size="mini"
|
|
|
@click="handleAddCourse"
|
|
|
- v-hasPermi="['course:period:add']"
|
|
|
+ v-hasPermi="['course:period:addCourse']"
|
|
|
>添加课程</el-button>
|
|
|
</el-col>
|
|
|
<el-col :span="1.5">
|
|
@@ -496,7 +497,7 @@
|
|
|
size="mini"
|
|
|
:disabled="updateCourse.ids.length <= 0"
|
|
|
@click="handleUpdateCourse"
|
|
|
- v-hasPermi="['course:period:add']"
|
|
|
+ v-hasPermi="['course:period:updateCourseTime']"
|
|
|
>修改看课时间</el-button>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
@@ -528,12 +529,14 @@
|
|
|
type="text"
|
|
|
icon="el-icon-top"
|
|
|
@click="handleTop(scope.row)"
|
|
|
+ v-hasPermi="['course:period:courseMove']"
|
|
|
>上移</el-button>
|
|
|
<el-button
|
|
|
size="mini"
|
|
|
type="text"
|
|
|
icon="el-icon-bottom"
|
|
|
@click="handleBottom(scope.row)"
|
|
|
+ v-hasPermi="['course:period:courseMove']"
|
|
|
>下移</el-button>
|
|
|
<!-- <el-button-->
|
|
|
<!-- size="mini"-->
|