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