|
@@ -54,15 +54,15 @@
|
|
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
|
|
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<router-link :to="'supplierdetail?hid=' + scope.row.hid + '&zr_id=0'">
|
|
<router-link :to="'supplierdetail?hid=' + scope.row.hid + '&zr_id=0'">
|
|
- <el-button size="small" type="primary" v-hasRole="['operator', 'commander']">查看
|
|
|
|
|
|
+ <el-button size="small" type="primary" v-hasRole="['operator', 'commander', 'centerAdjunct']">查看
|
|
</el-button>
|
|
</el-button>
|
|
</router-link>
|
|
</router-link>
|
|
<router-link :to="'edit?hid=' + scope.row.hid + '&zr_id=0'">
|
|
<router-link :to="'edit?hid=' + scope.row.hid + '&zr_id=0'">
|
|
<el-button style="margin-left: 10px" size="small" type="primary"
|
|
<el-button style="margin-left: 10px" size="small" type="primary"
|
|
- v-hasRole="['operator', 'commander']">修改
|
|
|
|
|
|
+ v-hasRole="['operator', 'commander', 'centerAdjunct']">修改
|
|
</el-button>
|
|
</el-button>
|
|
</router-link>
|
|
</router-link>
|
|
- <el-button style="margin-left: 10px" size="small" type="primary" v-hasRole="['operator', 'commander']"
|
|
|
|
|
|
+ <el-button style="margin-left: 10px" size="small" type="primary" v-hasRole="['operator', 'commander', 'centerAdjunct']"
|
|
@click="handleResetPassword(scope.row)">重置密码
|
|
@click="handleResetPassword(scope.row)">重置密码
|
|
</el-button>
|
|
</el-button>
|
|
</template>
|
|
</template>
|