更换权限标识
This commit is contained in:
@@ -1223,7 +1223,7 @@ onMounted(() => {
|
||||
<a-button
|
||||
type="primary"
|
||||
@click.prevent="fnModalVisibleByEdit()"
|
||||
v-perms:has="['neUser:subs:add']"
|
||||
v-perms:has="['tenant:subs:add']"
|
||||
>
|
||||
<template #icon>
|
||||
<PlusOutlined />
|
||||
@@ -1234,7 +1234,7 @@ onMounted(() => {
|
||||
<a-button
|
||||
type="primary"
|
||||
@click.prevent="fnModalVisibleByBatch(1)"
|
||||
v-perms:has="['neUser:subs:batchAdd']"
|
||||
v-perms:has="['tenant:subs:batchAdd']"
|
||||
>
|
||||
<template #icon>
|
||||
<PlusOutlined />
|
||||
@@ -1248,7 +1248,7 @@ onMounted(() => {
|
||||
:disabled="tableState.selectedRowKeys.length <= 0"
|
||||
:loading="modalState.loadDataLoading"
|
||||
@click.prevent="fnRecordDelete('0')"
|
||||
v-perms:has="['neUser:subs:checkDel']"
|
||||
v-perms:has="['tenant:subs:checkDel']"
|
||||
>
|
||||
<template #icon><DeleteOutlined /></template>
|
||||
{{ t('views.neUser.sub.checkDel') }}
|
||||
@@ -1259,7 +1259,7 @@ onMounted(() => {
|
||||
danger
|
||||
ghost
|
||||
@click.prevent="fnModalVisibleByBatch(0)"
|
||||
v-perms:has="['neUser:subs:batchDel']"
|
||||
v-perms:has="['tenant:subs:batchDel']"
|
||||
>
|
||||
<template #icon>
|
||||
<DeleteOutlined />
|
||||
@@ -1279,7 +1279,7 @@ onMounted(() => {
|
||||
danger
|
||||
:disabled="modalState.loadDataLoading"
|
||||
:loading="modalState.loadDataLoading"
|
||||
v-perms:has="['neUser:subs:load']"
|
||||
v-perms:has="['tenant:subs:load']"
|
||||
>
|
||||
<template #icon>
|
||||
<SyncOutlined />
|
||||
@@ -1291,7 +1291,7 @@ onMounted(() => {
|
||||
<a-button
|
||||
type="dashed"
|
||||
@click.prevent="fnModalUploadImportOpen"
|
||||
v-perms:has="['neUser:subs:import']"
|
||||
v-perms:has="['tenant:subs:import']"
|
||||
>
|
||||
<template #icon>
|
||||
<ImportOutlined />
|
||||
@@ -1309,7 +1309,7 @@ onMounted(() => {
|
||||
cancel-text="CSV"
|
||||
@cancel="fnExportList('csv')"
|
||||
>
|
||||
<a-button type="dashed" v-perms:has="['neUser:subs:export']">
|
||||
<a-button type="dashed" v-perms:has="['tenant:subs:export']">
|
||||
<template #icon>
|
||||
<ExportOutlined />
|
||||
</template>
|
||||
@@ -1331,7 +1331,7 @@ onMounted(() => {
|
||||
<a-button
|
||||
type="default"
|
||||
:disabled="tableState.selectedRowKeys.length <= 0"
|
||||
v-perms:has="['neUser:subs:checkExport']"
|
||||
v-perms:has="['tenant:subs:checkExport']"
|
||||
>
|
||||
<template #icon><ExportOutlined /></template>
|
||||
{{ t('views.neUser.sub.checkExport') }}
|
||||
|
||||
Reference in New Issue
Block a user