|
|
|
@ -44,7 +44,7 @@ |
|
|
|
<div class="tbbd-content"> |
|
|
|
<el-row class="add-box"> |
|
|
|
<el-col> |
|
|
|
<el-button type="primary" icon="el-icon-plus" @click="add()">{{ |
|
|
|
<el-button type="primary" icon="el-icon-plus" @click="add()" v-hasPermi="['business:studyRoom:add']">{{ |
|
|
|
$t('page.business.study.studyRoom.xzqy') }}</el-button> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
|
@ -69,13 +69,13 @@ |
|
|
|
<el-table-column :label="$t('form.operate')" align="left" fixed="right" width="200"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<!-- 笼具记录 --> |
|
|
|
<el-button type="text" @click="detail(scope.row)">{{ |
|
|
|
<el-button type="text" @click="detail(scope.row)" v-hasPermi="['business:studyRoom:ljjl']">{{ |
|
|
|
$t('page.business.study.studyRoom.ljjl') }}</el-button> |
|
|
|
<!-- 更换笼具 --> |
|
|
|
<el-button type="text" v-if="scope.row.zt === 1" @click="edit(scope.row)">{{ |
|
|
|
<el-button type="text" v-if="scope.row.zt === 1" @click="edit(scope.row)" v-hasPermi="['business:studyRoom:update']">{{ |
|
|
|
$t('page.business.study.studyRoom.ghlj') }}</el-button> |
|
|
|
<!-- 结束 --> |
|
|
|
<el-button type="text" v-if="scope.row.zt === 1" @click="end(scope.row)">{{ |
|
|
|
<el-button type="text" v-if="scope.row.zt === 1" @click="end(scope.row)" v-hasPermi="['business:studyRoom:js']">{{ |
|
|
|
$t('page.business.study.studyRoom.js') }}</el-button> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
|