diff --git a/src/views/coupon/couponCategory/index.vue b/src/views/coupon/couponCategory/index.vue index a336983..cfe8342 100644 --- a/src/views/coupon/couponCategory/index.vue +++ b/src/views/coupon/couponCategory/index.vue @@ -44,13 +44,13 @@ <el-table-column label="操作" align="center" class-name="small-padding fixed-width"> <template slot-scope="scope"> <el-button v-show="scope.row.state == 1" size="mini" type="text" icon="el-icon-edit" @click="handleStatus(scope.row,'1')" - v-hasPermi="['coupon:category:off']">下线</el-button> + v-hasPermi="['coupon:category:offline']">下线</el-button> <el-button v-show="scope.row.state == 2" size="mini" type="text" icon="el-icon-edit" @click="handleStatus(scope.row,'2')" v-hasPermi="['coupon:category:online']">上线</el-button> <el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)" - v-hasPermi="['coupon:category:edit']">编辑</el-button> + v-hasPermi="['coupon:category:update']">编辑</el-button> <el-button size="mini" type="text" icon="el-icon-delete" @click="handleDelete(scope.row)" - v-hasPermi="['coupon:category:remove']">删除</el-button> + v-hasPermi="['coupon:category:delete']">删除</el-button> </template> </el-table-column> </el-table> @@ -74,7 +74,7 @@ </el-form-item> </el-form> <div slot="footer" class="dialog-footer"> - <el-button type="primary" @click="submitForm" v-hasPermi="['coupon:category:edit']">确 定</el-button> + <el-button type="primary" @click="submitForm" v-hasPermi="['coupon:category:update']">确 定</el-button> <el-button @click="cancel">取 消</el-button> </div> </el-dialog>