|
@@ -139,8 +139,8 @@
|
|
|
width="140"
|
|
|
label="操作">
|
|
|
<template slot-scope="scope">
|
|
|
- <el-button v-if="isAuth('pro:technology:update') && scope.row.state === '1'" type="text" size="small" @click="revokeHandle(scope.row.techId)">撤销</el-button>
|
|
|
- <el-button v-if="isAuth('pro:technology:update') && scope.row.state === '0'" type="text" size="small" @click="addOrUpdateHandle(scope.row.techId)">编辑</el-button>
|
|
|
+ <el-button v-if="isAuth('pro:technology:revoke') && scope.row.state === '1'" type="text" size="small" @click="revokeHandle(scope.row.techId)">撤销</el-button>
|
|
|
+ <el-button v-if="isAuth('pro:technology:update') && scope.row.state === '0'" type="text" size="small" @click="addOrUpdateHandle(scope.row.techId)">更新</el-button>
|
|
|
<el-button v-if="isAuth('pro:technology:update') && scope.row.techState === '-1' && scope.row.state === '3'" type="text" size="small" @click="changeStateHandle(scope.row.techId, 0)">启用</el-button>
|
|
|
<el-button v-if="isAuth('pro:technology:update') && scope.row.techState === '0'" type="text" size="small" @click="changeStateHandle(scope.row.techId, -1)">停用</el-button>
|
|
|
<el-button v-if="isAuth('pro:technology:info')" type="text" size="small" @click="detailHandle(scope.row.techId, scope.row.productName)">查看</el-button>
|