|
@@ -22,7 +22,11 @@
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-form>
|
|
</el-form>
|
|
<div class="part-filter-form-action">
|
|
<div class="part-filter-form-action">
|
|
- <el-button type="primary" icon="icon icon-add" @click="add"
|
|
|
|
|
|
+ <el-button
|
|
|
|
+ v-if="!IS_SUPER_ADMIN"
|
|
|
|
+ type="primary"
|
|
|
|
+ icon="icon icon-add"
|
|
|
|
+ @click="add"
|
|
>新增</el-button
|
|
>新增</el-button
|
|
>
|
|
>
|
|
<!-- <el-button>导入</el-button> -->
|
|
<!-- <el-button>导入</el-button> -->
|
|
@@ -118,6 +122,7 @@ export default {
|
|
pageSize: 10,
|
|
pageSize: 10,
|
|
total: 10,
|
|
total: 10,
|
|
selectedOrg: {},
|
|
selectedOrg: {},
|
|
|
|
+ IS_SUPER_ADMIN: this.$store.state.user.roleCodes.includes("SUPER_ADMIN"),
|
|
};
|
|
};
|
|
},
|
|
},
|
|
async created() {
|
|
async created() {
|