签约用户切割为两份
This commit is contained in:
@@ -1211,14 +1211,6 @@ onMounted(() => {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
.finally(() => {
|
.finally(() => {
|
||||||
if (useUserStore().roles.includes('tenant')) {
|
|
||||||
const operateColumnIndex = tableColumns.findIndex(
|
|
||||||
column => column.key === 'tenantName'
|
|
||||||
);
|
|
||||||
if (operateColumnIndex !== -1) {
|
|
||||||
tableColumns.splice(operateColumnIndex, 1);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
// 获取列表数据
|
// 获取列表数据
|
||||||
fnGetList();
|
fnGetList();
|
||||||
});
|
});
|
||||||
@@ -1235,7 +1227,7 @@ onMounted(() => {
|
|||||||
<!-- 表格搜索栏 -->
|
<!-- 表格搜索栏 -->
|
||||||
<a-form :model="queryParams" name="queryParams" layout="horizontal">
|
<a-form :model="queryParams" name="queryParams" layout="horizontal">
|
||||||
<a-row :gutter="16">
|
<a-row :gutter="16">
|
||||||
<a-col :lg="6" :md="12" :xs="24" v-roles:has="['administrator']">
|
<a-col :lg="6" :md="12" :xs="24">
|
||||||
<a-form-item :label="t('views.neUser.sub.neType')" name="neId ">
|
<a-form-item :label="t('views.neUser.sub.neType')" name="neId ">
|
||||||
<a-select
|
<a-select
|
||||||
v-model:value="queryParams.neId"
|
v-model:value="queryParams.neId"
|
||||||
@@ -1274,7 +1266,7 @@ onMounted(() => {
|
|||||||
</a-col>
|
</a-col>
|
||||||
</a-row>
|
</a-row>
|
||||||
|
|
||||||
<a-row :gutter="16" v-roles:has="['administrator']">
|
<a-row :gutter="16">
|
||||||
<a-col :lg="6" :md="12" :xs="24">
|
<a-col :lg="6" :md="12" :xs="24">
|
||||||
<a-form-item
|
<a-form-item
|
||||||
:label="t('views.neUser.sub.tenantName')"
|
:label="t('views.neUser.sub.tenantName')"
|
||||||
@@ -1294,22 +1286,14 @@ onMounted(() => {
|
|||||||
<!-- 插槽-卡片左侧侧 -->
|
<!-- 插槽-卡片左侧侧 -->
|
||||||
<template #title>
|
<template #title>
|
||||||
<div class="button-container">
|
<div class="button-container">
|
||||||
<a-button
|
<a-button type="primary" @click.prevent="fnModalVisibleByEdit()">
|
||||||
type="primary"
|
|
||||||
@click.prevent="fnModalVisibleByEdit()"
|
|
||||||
v-perms:has="['neUser:subs:add']"
|
|
||||||
>
|
|
||||||
<template #icon>
|
<template #icon>
|
||||||
<PlusOutlined />
|
<PlusOutlined />
|
||||||
</template>
|
</template>
|
||||||
{{ t('common.addText') }}
|
{{ t('common.addText') }}
|
||||||
</a-button>
|
</a-button>
|
||||||
|
|
||||||
<a-button
|
<a-button type="primary" @click.prevent="fnModalVisibleByBatch(1)">
|
||||||
type="primary"
|
|
||||||
@click.prevent="fnModalVisibleByBatch(1)"
|
|
||||||
v-perms:has="['neUser:subs:batchAdd']"
|
|
||||||
>
|
|
||||||
<template #icon>
|
<template #icon>
|
||||||
<PlusOutlined />
|
<PlusOutlined />
|
||||||
</template>
|
</template>
|
||||||
@@ -1322,7 +1306,6 @@ 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']"
|
|
||||||
>
|
>
|
||||||
<template #icon><DeleteOutlined /></template>
|
<template #icon><DeleteOutlined /></template>
|
||||||
{{ t('views.neUser.sub.checkDel') }}
|
{{ t('views.neUser.sub.checkDel') }}
|
||||||
@@ -1333,7 +1316,6 @@ onMounted(() => {
|
|||||||
danger
|
danger
|
||||||
ghost
|
ghost
|
||||||
@click.prevent="fnModalVisibleByBatch(0)"
|
@click.prevent="fnModalVisibleByBatch(0)"
|
||||||
v-perms:has="['neUser:subs:batchDel']"
|
|
||||||
>
|
>
|
||||||
<template #icon>
|
<template #icon>
|
||||||
<DeleteOutlined />
|
<DeleteOutlined />
|
||||||
@@ -1353,7 +1335,6 @@ onMounted(() => {
|
|||||||
danger
|
danger
|
||||||
:disabled="modalState.loadDataLoading"
|
:disabled="modalState.loadDataLoading"
|
||||||
:loading="modalState.loadDataLoading"
|
:loading="modalState.loadDataLoading"
|
||||||
v-perms:has="['neUser:subs:load']"
|
|
||||||
>
|
>
|
||||||
<template #icon>
|
<template #icon>
|
||||||
<SyncOutlined />
|
<SyncOutlined />
|
||||||
@@ -1362,11 +1343,7 @@ onMounted(() => {
|
|||||||
</a-button>
|
</a-button>
|
||||||
</a-popconfirm>
|
</a-popconfirm>
|
||||||
|
|
||||||
<a-button
|
<a-button type="dashed" @click.prevent="fnModalUploadImportOpen">
|
||||||
type="dashed"
|
|
||||||
@click.prevent="fnModalUploadImportOpen"
|
|
||||||
v-perms:has="['neUser:subs:import']"
|
|
||||||
>
|
|
||||||
<template #icon>
|
<template #icon>
|
||||||
<ImportOutlined />
|
<ImportOutlined />
|
||||||
</template>
|
</template>
|
||||||
@@ -1383,7 +1360,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">
|
||||||
<template #icon>
|
<template #icon>
|
||||||
<ExportOutlined />
|
<ExportOutlined />
|
||||||
</template>
|
</template>
|
||||||
@@ -1405,7 +1382,6 @@ 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']"
|
|
||||||
>
|
>
|
||||||
<template #icon><ExportOutlined /></template>
|
<template #icon><ExportOutlined /></template>
|
||||||
{{ t('views.neUser.sub.checkExport') }}
|
{{ t('views.neUser.sub.checkExport') }}
|
||||||
@@ -1484,7 +1460,7 @@ onMounted(() => {
|
|||||||
>
|
>
|
||||||
<template #bodyCell="{ column, record }">
|
<template #bodyCell="{ column, record }">
|
||||||
<template v-if="column.key === 'imsi'">
|
<template v-if="column.key === 'imsi'">
|
||||||
<a-space :size="8" align="center" v-roles:has="['administrator']">
|
<a-space :size="8" align="center">
|
||||||
<a-tooltip>
|
<a-tooltip>
|
||||||
<template #title>{{ t('common.editText') }}</template>
|
<template #title>{{ t('common.editText') }}</template>
|
||||||
<a-button
|
<a-button
|
||||||
|
|||||||
2558
src/views/tenant/sub/index.vue
Normal file
2558
src/views/tenant/sub/index.vue
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user