Browse Source

居民按钮权限

kersd
mk 1 year ago
parent
commit
6c49097d3f
  1. 13
      src/views/modules/base/community/buildTable.vue
  2. 10
      src/views/modules/base/resi.vue

13
src/views/modules/base/community/buildTable.vue

@ -8,7 +8,8 @@
size="small" size="small"
@click="handleAdd">新增楼栋</el-button> @click="handleAdd">新增楼栋</el-button>
<div class="btn_upload" <div class="btn_upload"
v-if="showImportBtn"> >
<!-- v-if="showImportBtn" -->
<el-button style=";margin-left:10px" <el-button style=";margin-left:10px"
class="diy-button--export" class="diy-button--export"
size="small" size="small"
@ -59,8 +60,9 @@
size="small" size="small"
:disabled="yihuyidangDisabled" :disabled="yihuyidangDisabled"
@click="handleExportYihuyidang()">导出一户一档</el-button> @click="handleExportYihuyidang()">导出一户一档</el-button>
<!-- v-if="displayedBaobiaoBtn" -->
<el-button size="small" <el-button size="small"
v-if="displayedBaobiaoBtn"
class="diy-button--add" class="diy-button--add"
@click="reportForm">智能填报</el-button> @click="reportForm">智能填报</el-button>
</div> </div>
@ -159,13 +161,14 @@
class="div-table-button--detail" class="div-table-button--detail"
size="small" size="small"
@click="handleDetail(scope.row)">查看</el-button> @click="handleDetail(scope.row)">查看</el-button>
<el-button v-if="scope.row.showBtn" <!-- v-if="scope.row.showBtn" -->
<el-button
type="text" type="text"
class="div-table-button--edit" class="div-table-button--edit"
size="small" size="small"
@click="handleEdit(scope.row)">修改</el-button> @click="handleEdit(scope.row)">修改</el-button>
<!-- v-if="scope.row.showBtn" -->
<el-button v-if="scope.row.showBtn" <el-button
type="text" type="text"
class="div-table-button--delete" class="div-table-button--delete"
size="small" size="small"

10
src/views/modules/base/resi.vue

@ -151,12 +151,18 @@
type="text" type="text"
size="small" size="small"
class="div-table-button--detail">变更记录</el-button> class="div-table-button--detail">变更记录</el-button>
<template v-if="filterEdit(scope.row.ORG_ID)"> <!-- v-if="btnAuths.ic_resi_update" -->
<el-button v-if="btnAuths.ic_resi_update" <el-button
@click="handleEdit(scope.row)" @click="handleEdit(scope.row)"
type="text" type="text"
size="small" size="small"
class="div-table-button--edit">修改</el-button> class="div-table-button--edit">修改</el-button>
<template v-if="filterEdit(scope.row.ORG_ID)">
<!-- <el-button v-if="btnAuths.ic_resi_update"
@click="handleEdit(scope.row)"
type="text"
size="small"
class="div-table-button--edit">修改</el-button> -->
<el-popconfirm v-if="btnAuths.ic_resi_del" <el-popconfirm v-if="btnAuths.ic_resi_del"
title="删除之后无法回复,确认删除?" title="删除之后无法回复,确认删除?"
@onConfirm="handleDel(scope.row)"> @onConfirm="handleDel(scope.row)">

Loading…
Cancel
Save