|
@@ -99,7 +99,7 @@
|
|
|
<template slot-scope="scope">
|
|
|
<div class="table-button-box">
|
|
|
<p class="table-button-null"></p>
|
|
|
- <p class="table-button-p" @click="handleDelete(scope.row)">移除</p>
|
|
|
+ <p class="table-button-p" v-if="scope.row.adminId == meUserId" @click="handleDelete(scope.row)">移除</p>
|
|
|
<p class="table-button-null"></p>
|
|
|
</div>
|
|
|
</template>
|
|
@@ -295,7 +295,9 @@
|
|
|
//设备
|
|
|
hardwareList: [],
|
|
|
/***************关联危险源结束****************/
|
|
|
- allNum: 0
|
|
|
+ allNum: 0,
|
|
|
+ /***** 当前用户userId *****/
|
|
|
+ meUserId:localStorage.getItem('userId'),
|
|
|
}
|
|
|
},
|
|
|
created() {
|