|
@@ -120,7 +120,7 @@
|
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
<el-table-column label="操作" align="center" fixed="right" width="150">
|
|
<el-table-column label="操作" align="center" fixed="right" width="150">
|
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
|
- <el-button @click="editRow(scope.row)" type="primary" size="mini" plain>编辑</el-button>
|
|
|
|
|
|
|
+ <el-button @click="editRow(scope.row)" v-if="userInfo.roleId!='10'&&userInfo.roleId!='7'" type="primary" size="mini" plain>编辑</el-button>
|
|
|
<el-button @click="houseImages(scope.row)" type="primary" size="mini" plain>图片</el-button>
|
|
<el-button @click="houseImages(scope.row)" type="primary" size="mini" plain>图片</el-button>
|
|
|
</template>
|
|
</template>
|
|
|
</el-table-column>
|
|
</el-table-column>
|
|
@@ -369,7 +369,7 @@ export default {
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
computed: {
|
|
computed: {
|
|
|
- ...mapState(['tableHeight']),
|
|
|
|
|
|
|
+ ...mapState(['tableHeight','userInfo']),
|
|
|
selection() {
|
|
selection() {
|
|
|
return this.$refs.table.selection.map(i => i.id);
|
|
return this.$refs.table.selection.map(i => i.id);
|
|
|
}
|
|
}
|