Browse Source

init

master
han\hanst 8 months ago
parent
commit
dc27699093
  1. 17
      src/views/modules/sys/role.vue

17
src/views/modules/sys/role.vue

@ -43,7 +43,6 @@
<template slot-scope="scope">
<a type="text" size="small" @click="addOrUpdateHandle(scope.row.roleId)">{{buttons.edit||'修改'}}</a>
<a type="text" size="small" @click="deleteHandle(scope.row.roleId)">{{buttons.delete|| '删除'}}</a>
<!-- <a type="text" size="small" @click="showAuthCustomerReportModal(scope.row)">{{buttons.reportRole || '报表赋权'}}</a>-->
</template>
</el-table-column>
</el-table>
@ -58,11 +57,7 @@
</el-pagination>
<!-- 弹窗, 新增 / 修改 -->
<add-or-update v-if="addOrUpdateVisible" ref="addOrUpdate" @refreshDataList="getDataList"></add-or-update>
<!--报表赋权限-->
<authCustomerReport ref="authCustomerReport" :close-on-click-modal="false"
:visible.sync="showAuthCustomerReportFlag" @refreshDataList="getDataList">
</authCustomerReport>
</div>
</template>
@ -74,11 +69,10 @@ import {
saveButtonList,
} from "@/api/sysLanguage.js"
import AddOrUpdate from './role-add-or-update'
import authCustomerReport from '../report/com_auth_customer_report' /**/
export default {
data () {
return {
showAuthCustomerReportFlag: false,
dataForm: {
roleName: ''
},
@ -104,7 +98,6 @@ import {
},
components: {
AddOrUpdate,
authCustomerReport,/*报表赋权限*/
},
activated () {
this.getDataList()
@ -192,14 +185,6 @@ import {
})
}).catch(() => {})
},
/*给角色报表赋权限*/
showAuthCustomerReportModal(currentRow){
this.$nextTick(() => {
this.showAuthCustomerReportFlag = true;
this.$refs.authCustomerReport.init(currentRow);
});
},
},
created() {
this.getFunctionButtonList()

Loading…
Cancel
Save