|
@@ -170,6 +170,7 @@
|
|
|
import {filterMultiDictText} from '@/components/dict/JDictSelectUtil'
|
|
|
import { httpAction, getAction } from '@/api/manage'
|
|
|
import { colAuthFilter } from "@/utils/authFilter"
|
|
|
+ import cookie from 'js-cookie'
|
|
|
|
|
|
export default {
|
|
|
name: 'InterlockSummaryList',
|
|
@@ -303,7 +304,7 @@
|
|
|
auth: 'testdemo:action',
|
|
|
// scopedSlots: { customRender: 'action' },
|
|
|
customRender: (text,record,index)=> {
|
|
|
- if(record.limitType === '0'){
|
|
|
+ if(this.isSysManage || record.limitType === '0'){
|
|
|
var onlyViewEdit = (
|
|
|
<span class="edit-view-btn"></span>
|
|
|
)
|
|
@@ -394,6 +395,9 @@
|
|
|
/** 其中:interlockType判断点击的是否为系统(0为装置,1为系统,2为未选中) */
|
|
|
return this.$store.getters.clickSystemNode
|
|
|
},
|
|
|
+ isSysManage(){
|
|
|
+ return cookie.get('SSORole') === 'globalAdmin'
|
|
|
+ },
|
|
|
},
|
|
|
methods: {
|
|
|
// 合并后悬浮行背景色一起显示--后来取消此需求
|