|
@@ -194,17 +194,15 @@
|
|
|
</span>
|
|
</span>
|
|
|
</template>
|
|
</template>
|
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
- <el-table-column
|
|
|
|
|
- v-if="$permission.isAdminOrProvince()"
|
|
|
|
|
- label="操作"
|
|
|
|
|
- width="360"
|
|
|
|
|
- fixed="right"
|
|
|
|
|
- align="center"
|
|
|
|
|
- >
|
|
|
|
|
|
|
+ <el-table-column label="操作" width="360" fixed="right" align="center">
|
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
|
<div>
|
|
<div>
|
|
|
<el-button
|
|
<el-button
|
|
|
- v-if="scope.row.status != 0 && scope.row.nodeType !== 'nr'"
|
|
|
|
|
|
|
+ v-if="
|
|
|
|
|
+ $permission.getUserInfo().dataScope === 0 &&
|
|
|
|
|
+ scope.row.status != 0 &&
|
|
|
|
|
+ scope.row.nodeType !== 'nr'
|
|
|
|
|
+ "
|
|
|
v-region-permission="{
|
|
v-region-permission="{
|
|
|
category: 'catalogManage',
|
|
category: 'catalogManage',
|
|
|
action: 'edit',
|
|
action: 'edit',
|
|
@@ -216,7 +214,11 @@
|
|
|
修改类别
|
|
修改类别
|
|
|
</el-button>
|
|
</el-button>
|
|
|
<el-button
|
|
<el-button
|
|
|
- v-if="scope.row.status != 0 && scope.row.nodeType !== 'nr'"
|
|
|
|
|
|
|
+ v-if="
|
|
|
|
|
+ $permission.getUserInfo().dataScope === 0 &&
|
|
|
|
|
+ scope.row.status != 0 &&
|
|
|
|
|
+ scope.row.nodeType !== 'nr'
|
|
|
|
|
+ "
|
|
|
v-region-permission="{
|
|
v-region-permission="{
|
|
|
category: 'catalogManage',
|
|
category: 'catalogManage',
|
|
|
action: 'add',
|
|
action: 'add',
|
|
@@ -229,6 +231,7 @@
|
|
|
</el-button>
|
|
</el-button>
|
|
|
<el-button
|
|
<el-button
|
|
|
v-if="
|
|
v-if="
|
|
|
|
|
+ $permission.getUserInfo().dataScope === 0 &&
|
|
|
!scope.row.auditType &&
|
|
!scope.row.auditType &&
|
|
|
scope.row.status != 0 &&
|
|
scope.row.status != 0 &&
|
|
|
scope.row.nodeType !== 'nr'
|
|
scope.row.nodeType !== 'nr'
|
|
@@ -244,7 +247,11 @@
|
|
|
添加内容
|
|
添加内容
|
|
|
</el-button>
|
|
</el-button>
|
|
|
<el-button
|
|
<el-button
|
|
|
- v-if="scope.row.nodeType == 'nr' && scope.row.status != 0"
|
|
|
|
|
|
|
+ v-if="
|
|
|
|
|
+ $permission.getUserInfo().dataScope === 0 &&
|
|
|
|
|
+ scope.row.nodeType == 'nr' &&
|
|
|
|
|
+ scope.row.status != 0
|
|
|
|
|
+ "
|
|
|
v-region-permission="{
|
|
v-region-permission="{
|
|
|
category: 'catalogManage',
|
|
category: 'catalogManage',
|
|
|
action: 'edit',
|
|
action: 'edit',
|
|
@@ -268,7 +275,11 @@
|
|
|
信息维护
|
|
信息维护
|
|
|
</el-button>
|
|
</el-button>
|
|
|
<el-button
|
|
<el-button
|
|
|
- v-if="scope.row.nodeType == 'nr' && scope.row.status == 0"
|
|
|
|
|
|
|
+ v-if="
|
|
|
|
|
+ $permission.getUserInfo().dataScope === 0 &&
|
|
|
|
|
+ scope.row.nodeType == 'nr' &&
|
|
|
|
|
+ scope.row.status == 0
|
|
|
|
|
+ "
|
|
|
v-region-permission="{
|
|
v-region-permission="{
|
|
|
category: 'catalogManage',
|
|
category: 'catalogManage',
|
|
|
action: 'edit',
|
|
action: 'edit',
|
|
@@ -279,7 +290,11 @@
|
|
|
{{ scope.row.status === 1 ? '停用' : '启用' }}
|
|
{{ scope.row.status === 1 ? '停用' : '启用' }}
|
|
|
</el-button>
|
|
</el-button>
|
|
|
<el-button
|
|
<el-button
|
|
|
- v-if="scope.row.nodeType == 'lx' && scope.row.status == 0"
|
|
|
|
|
|
|
+ v-if="
|
|
|
|
|
+ $permission.getUserInfo().dataScope === 0 &&
|
|
|
|
|
+ scope.row.nodeType == 'lx' &&
|
|
|
|
|
+ scope.row.status == 0
|
|
|
|
|
+ "
|
|
|
v-region-permission="{
|
|
v-region-permission="{
|
|
|
category: 'catalogManage',
|
|
category: 'catalogManage',
|
|
|
action: 'edit',
|
|
action: 'edit',
|
|
@@ -290,7 +305,10 @@
|
|
|
{{ scope.row.status === 1 ? '停用' : '启用' }}
|
|
{{ scope.row.status === 1 ? '停用' : '启用' }}
|
|
|
</el-button>
|
|
</el-button>
|
|
|
<el-button
|
|
<el-button
|
|
|
- v-if="scope.row.nodeType == 'nr'"
|
|
|
|
|
|
|
+ v-if="
|
|
|
|
|
+ $permission.getUserInfo().dataScope === 0 &&
|
|
|
|
|
+ scope.row.nodeType == 'nr'
|
|
|
|
|
+ "
|
|
|
v-region-permission="{
|
|
v-region-permission="{
|
|
|
category: 'catalogManage',
|
|
category: 'catalogManage',
|
|
|
action: 'delete',
|
|
action: 'delete',
|
|
@@ -303,7 +321,11 @@
|
|
|
</el-button>
|
|
</el-button>
|
|
|
<!-- 第四个以后的按钮放入更多下拉菜单 -->
|
|
<!-- 第四个以后的按钮放入更多下拉菜单 -->
|
|
|
<el-dropdown
|
|
<el-dropdown
|
|
|
- v-if="scope.row.status != 0 && scope.row.nodeType !== 'nr'"
|
|
|
|
|
|
|
+ v-if="
|
|
|
|
|
+ $permission.getUserInfo().dataScope === 0 &&
|
|
|
|
|
+ scope.row.status != 0 &&
|
|
|
|
|
+ scope.row.nodeType !== 'nr'
|
|
|
|
|
+ "
|
|
|
v-region-permission="{
|
|
v-region-permission="{
|
|
|
category: 'catalogManage',
|
|
category: 'catalogManage',
|
|
|
action: 'edit',
|
|
action: 'edit',
|