diff --git a/src/views/cbc/cbe/index.vue b/src/views/cbc/cbe/index.vue
index c7b86c33..a0174777 100644
--- a/src/views/cbc/cbe/index.vue
+++ b/src/views/cbc/cbe/index.vue
@@ -88,12 +88,12 @@ let tableState: TabeStateType = reactive({
/**表格字段列 */
let tableColumns: ColumnsType = [
- {
- title: t('common.rowId'),
- dataIndex: 'id',
- align: 'left',
- width: 100,
- },
+ // {
+ // title: t('common.rowId'),
+ // dataIndex: 'id',
+ // align: 'left',
+ // width: 100,
+ // },
{
title: t('views.cbc.cbe.eventName'),
dataIndex: 'messageJson',
diff --git a/src/views/monitor/cache/index.vue b/src/views/monitor/cache/index.vue
index 18a8673f..9da4a510 100644
--- a/src/views/monitor/cache/index.vue
+++ b/src/views/monitor/cache/index.vue
@@ -49,15 +49,15 @@ function fnCacheKeyInfo(cacheKey: string) {
/**键名列表表格字段列 */
let cacheKeyTableColumns: ColumnsType = [
- {
- title: t('common.rowId'),
- dataIndex: 'num',
- width: '50px',
- align: 'center',
- customRender(opt) {
- return opt.index + 1;
- },
- },
+ // {
+ // title: t('common.rowId'),
+ // dataIndex: 'num',
+ // width: '50px',
+ // align: 'center',
+ // customRender(opt) {
+ // return opt.index + 1;
+ // },
+ // },
{
title: t('views.monitor.cache.cacheKey'),
dataIndex: 'cacheKey',
@@ -152,15 +152,15 @@ let cacheNameTable = reactive({
/**缓存列表表格字段列 */
let cacheNameTableColumns: ColumnsType = [
- {
- title: t('common.rowId'),
- dataIndex: 'num',
- width: '50px',
- align: 'center',
- customRender(opt) {
- return opt.index + 1;
- },
- },
+ // {
+ // title: t('common.rowId'),
+ // dataIndex: 'num',
+ // width: '50px',
+ // align: 'center',
+ // customRender(opt) {
+ // return opt.index + 1;
+ // },
+ // },
{
title: t('views.monitor.cache.cacheName'),
dataIndex: 'cacheName',
diff --git a/src/views/monitor/job/index.vue b/src/views/monitor/job/index.vue
index 540615d2..35192929 100644
--- a/src/views/monitor/job/index.vue
+++ b/src/views/monitor/job/index.vue
@@ -98,11 +98,11 @@ let tableState: TabeStateType = reactive({
/**表格字段列 */
let tableColumns: ColumnsType = [
- {
- title: t('common.rowId'),
- dataIndex: 'jobId',
- align: 'center',
- },
+ // {
+ // title: t('common.rowId'),
+ // dataIndex: 'jobId',
+ // align: 'center',
+ // },
{
title: t('views.monitor.job.jobName'),
dataIndex: 'jobName',
@@ -680,14 +680,14 @@ onMounted(() => {
{{ t('common.export') }}
-
{{ t('views.monitor.job.jobLog') }}
-
+ -->
{
:size="tableState.size"
:pagination="tablePagination"
:scroll="{ x: tableColumns.length * 120 }"
- :row-selection="{
- type: 'checkbox',
- selectedRowKeys: tableState.selectedRowKeys,
- onChange: fnTableSelectedRowKeys,
- }"
+ :row-selection="hasPermissions(['monitor:job:remove'])
+ ? {
+ type: 'checkbox',
+ selectedRowKeys: tableState.selectedRowKeys,
+ onChange: fnTableSelectedRowKeys,
+ }
+ : undefined"
>
diff --git a/src/views/monitor/job/log.vue b/src/views/monitor/job/log.vue
index 6d627ae2..6a38098b 100644
--- a/src/views/monitor/job/log.vue
+++ b/src/views/monitor/job/log.vue
@@ -117,12 +117,12 @@ let tableState: TabeStateType = reactive({
/**表格字段列 */
let tableColumns: ColumnsType = [
- {
- title: t('common.rowId'),
- dataIndex: 'logId',
- align: 'left',
- width: 100,
- },
+ // {
+ // title: t('common.rowId'),
+ // dataIndex: 'logId',
+ // align: 'left',
+ // width: 100,
+ // },
{
title: t('views.monitor.jobLog.jobName'),
dataIndex: 'jobName',
@@ -247,6 +247,13 @@ let modalState: ModalStateType = reactive({
*/
function fnModalVisibleByVive(row: Record) {
modalState.from = Object.assign(modalState.from, row);
+ try {
+ modalState.from.jobMsg = JSON.stringify(
+ JSON.parse(modalState.from.jobMsg),
+ null,
+ 4
+ );
+ } catch (_) {}
modalState.title = t('views.monitor.jobLog.viewLog');
modalState.open = true;
}
diff --git a/src/views/monitor/online/index.vue b/src/views/monitor/online/index.vue
index 73df7c3f..2cf3cb82 100644
--- a/src/views/monitor/online/index.vue
+++ b/src/views/monitor/online/index.vue
@@ -41,16 +41,16 @@ let tableState: TabeStateType = reactive({
/**表格字段列 */
let tableColumns: ColumnsType = [
- {
- title: t('common.rowId'),
- dataIndex: 'num',
- width: '50px',
- align: 'left',
- customRender(opt) {
- const idxNum = (tablePagination.current - 1) * tablePagination.pageSize;
- return idxNum + opt.index + 1;
- },
- },
+ // {
+ // title: t('common.rowId'),
+ // dataIndex: 'num',
+ // width: '50px',
+ // align: 'left',
+ // customRender(opt) {
+ // const idxNum = (tablePagination.current - 1) * tablePagination.pageSize;
+ // return idxNum + opt.index + 1;
+ // },
+ // },
{
title: t('views.monitor.online.mettingId'),
dataIndex: 'tokenId',
diff --git a/src/views/ne/neFile/index.vue b/src/views/ne/neFile/index.vue
index 077cf4fc..bff80aa9 100644
--- a/src/views/ne/neFile/index.vue
+++ b/src/views/ne/neFile/index.vue
@@ -10,6 +10,7 @@ import { RESULT_CODE_SUCCESS } from '@/constants/result-constants';
import useNeListStore from '@/store/modules/ne_list';
import useI18n from '@/hooks/useI18n';
import ViewDrawer from './components/ViewDrawer.vue';
+import BackupModal from '@/views/ne/neConfigBackup/components/BackupModal.vue';
import saveAs from 'file-saver';
import { useRoute } from 'vue-router';
import { parseSizeFromFile } from '@/utils/parse-utils';
@@ -282,6 +283,12 @@ function fnDrawerOpen(row: Record) {
viewDrawerState.open = !viewDrawerState.open;
}
+/**打开FTP配置窗口 */
+const openFTPModal = ref(false);
+function fnFTPModalOpen() {
+ openFTPModal.value = !openFTPModal.value;
+}
+
onMounted(() => {
if (routeParams.neType) {
neTypeSelect.value = [routeParams.neType, routeParams.neId];
@@ -327,6 +334,18 @@ onMounted(() => {
+
+
+ {{ t('views.ne.neConfigBackup.backupModal.title') }}
+
+
+
+
+
{{ t('common.reloadText') }}
@@ -387,6 +406,9 @@ onMounted(() => {
:ne-type="viewDrawerState.neType"
:ne-id="viewDrawerState.neId"
>
+
+
+
diff --git a/src/views/ne/neHost/index.vue b/src/views/ne/neHost/index.vue
index 607904cf..ab1d0bde 100644
--- a/src/views/ne/neHost/index.vue
+++ b/src/views/ne/neHost/index.vue
@@ -80,12 +80,12 @@ let tableState: TabeStateType = reactive({
/**表格字段列 */
let tableColumns: ColumnsType = [
- {
- title: t('common.rowId'),
- dataIndex: 'id',
- align: 'center',
- width: 50,
- },
+ // {
+ // title: t('common.rowId'),
+ // dataIndex: 'id',
+ // align: 'center',
+ // width: 50,
+ // },
{
title: t('views.ne.neHost.hostType'),
dataIndex: 'hostType',
diff --git a/src/views/ne/neHostCommand/index.vue b/src/views/ne/neHostCommand/index.vue
index 4b655a09..66193ebe 100644
--- a/src/views/ne/neHostCommand/index.vue
+++ b/src/views/ne/neHostCommand/index.vue
@@ -78,12 +78,12 @@ let tableState: TabeStateType = reactive({
/**表格字段列 */
let tableColumns: ColumnsType = [
- {
- title: t('common.rowId'),
- dataIndex: 'cmdId',
- align: 'center',
- width: 50,
- },
+ // {
+ // title: t('common.rowId'),
+ // dataIndex: 'cmdId',
+ // align: 'center',
+ // width: 50,
+ // },
{
title: t('views.ne.neHostCmd.cmdType'),
dataIndex: 'cmdType',
diff --git a/src/views/ne/neSoftware/index.vue b/src/views/ne/neSoftware/index.vue
index d7e78b10..b039232c 100644
--- a/src/views/ne/neSoftware/index.vue
+++ b/src/views/ne/neSoftware/index.vue
@@ -83,12 +83,12 @@ let tableState: TabeStateType = reactive({
/**表格字段列 */
let tableColumns = ref([
- {
- title: t('common.rowId'),
- dataIndex: 'id',
- align: 'left',
- width: 100,
- },
+ // {
+ // title: t('common.rowId'),
+ // dataIndex: 'id',
+ // align: 'left',
+ // width: 100,
+ // },
{
title: t('views.ne.common.neType'),
dataIndex: 'neType',
diff --git a/src/views/neData/base-station/components/history.vue b/src/views/neData/base-station/components/history.vue
index 14f2b63a..5f0ffeeb 100644
--- a/src/views/neData/base-station/components/history.vue
+++ b/src/views/neData/base-station/components/history.vue
@@ -109,12 +109,12 @@ let tableState: TabeStateType = reactive({
/**表格字段列 */
let tableColumns = ref([
- {
- title: t('common.rowId'),
- dataIndex: 'id',
- align: 'left',
- width: 80,
- },
+ // {
+ // title: t('common.rowId'),
+ // dataIndex: 'id',
+ // align: 'left',
+ // width: 80,
+ // },
{
title: t('views.neData.baseStation.name'),
dataIndex: 'name',
diff --git a/src/views/perfManage/kpi-title/index.vue b/src/views/perfManage/kpi-title/index.vue
index b97424dc..b74446c6 100644
--- a/src/views/perfManage/kpi-title/index.vue
+++ b/src/views/perfManage/kpi-title/index.vue
@@ -80,12 +80,12 @@ let tableState: TabeStateType = reactive({
/**表格字段列 */
let tableColumns = ref([
- {
- title: t('common.rowId'),
- dataIndex: 'id',
- align: 'left',
- width: 100,
- },
+ // {
+ // title: t('common.rowId'),
+ // dataIndex: 'id',
+ // align: 'left',
+ // width: 100,
+ // },
{
title: 'NE Type',
dataIndex: 'neType',
diff --git a/src/views/perfManage/perfThreshold/index.vue b/src/views/perfManage/perfThreshold/index.vue
index 536bf1a3..e88e6d90 100644
--- a/src/views/perfManage/perfThreshold/index.vue
+++ b/src/views/perfManage/perfThreshold/index.vue
@@ -77,11 +77,11 @@ let tableState: TabeStateType = reactive({
/**表格字段列 */
let tableColumns: ColumnsType = [
- {
- title: t('common.rowId'),
- dataIndex: 'id',
- align: 'center',
- },
+ // {
+ // title: t('common.rowId'),
+ // dataIndex: 'id',
+ // align: 'center',
+ // },
{
title: t('views.perfManage.taskManage.neType'),
dataIndex: 'neType',
diff --git a/src/views/system/config/index.vue b/src/views/system/config/index.vue
index 7e99dfb6..332fdc8c 100644
--- a/src/views/system/config/index.vue
+++ b/src/views/system/config/index.vue
@@ -21,6 +21,7 @@ import useDictStore from '@/store/modules/dict';
import { RESULT_CODE_SUCCESS } from '@/constants/result-constants';
import useI18n from '@/hooks/useI18n';
import type { Dayjs } from 'dayjs';
+import { hasPermissions } from '@/plugins/auth-user';
const { t } = useI18n();
const { getDict } = useDictStore();
@@ -95,12 +96,12 @@ let tableState: TabeStateType = reactive({
/**表格字段列 */
let tableColumns = ref([
- {
- title: t('common.rowId'),
- dataIndex: 'configId',
- align: 'left',
- width: 100,
- },
+ // {
+ // title: t('common.rowId'),
+ // dataIndex: 'configId',
+ // align: 'left',
+ // width: 100,
+ // },
{
title: t('views.system.config.configName'),
dataIndex: 'configName',
@@ -665,11 +666,11 @@ onMounted(() => {
:size="tableState.size"
:pagination="tablePagination"
:scroll="{ x: tableColumns.length * 120 }"
- :row-selection="{
+ :row-selection="hasPermissions(['system:config:remove']) ? {
type: 'checkbox',
selectedRowKeys: tableState.selectedRowKeys,
onChange: fnTableSelectedRowKeys,
- }"
+ }: undefined"
>
diff --git a/src/views/system/login-source/index.vue b/src/views/system/login-source/index.vue
index b7400175..cda2603f 100644
--- a/src/views/system/login-source/index.vue
+++ b/src/views/system/login-source/index.vue
@@ -83,12 +83,12 @@ let tableState: TabeStateType = reactive({
/**表格字段列 */
let tableColumns = ref([
- {
- title: t('common.rowId'),
- dataIndex: 'id',
- align: 'left',
- width: 100,
- },
+ // {
+ // title: t('common.rowId'),
+ // dataIndex: 'id',
+ // align: 'left',
+ // width: 100,
+ // },
{
title: t('views.system.loginSource.uid'),
dataIndex: 'uid',
diff --git a/src/views/tool/terminal/components/hostList.vue b/src/views/tool/terminal/components/hostList.vue
index dc02afe6..14956159 100644
--- a/src/views/tool/terminal/components/hostList.vue
+++ b/src/views/tool/terminal/components/hostList.vue
@@ -65,12 +65,12 @@ let tableState: TabeStateType = reactive({
/**表格字段列 */
let tableColumns: ColumnsType = [
- {
- title: t('common.rowId'),
- dataIndex: 'id',
- align: 'center',
- width: 50,
- },
+ // {
+ // title: t('common.rowId'),
+ // dataIndex: 'id',
+ // align: 'center',
+ // width: 50,
+ // },
{
title: t('views.ne.neHost.hostType'),
dataIndex: 'hostType',
diff --git a/src/views/traceManage/task-hlr/index.vue b/src/views/traceManage/task-hlr/index.vue
index ffb51333..3f6e7139 100644
--- a/src/views/traceManage/task-hlr/index.vue
+++ b/src/views/traceManage/task-hlr/index.vue
@@ -83,12 +83,12 @@ let tableState: TabeStateType = reactive({
/**表格字段列 */
let tableColumns: ColumnsType = reactive([
- {
- title: t('common.rowId'),
- dataIndex: 'id',
- align: 'right',
- width: 50,
- },
+ // {
+ // title: t('common.rowId'),
+ // dataIndex: 'id',
+ // align: 'right',
+ // width: 50,
+ // },
{
title: t('views.traceManage.task.imsi'),
dataIndex: 'imsi',
diff --git a/src/views/traceManage/task/data.vue b/src/views/traceManage/task/data.vue
index 00fc8512..1b3c083a 100644
--- a/src/views/traceManage/task/data.vue
+++ b/src/views/traceManage/task/data.vue
@@ -95,12 +95,12 @@ let tableState: TabeStateType = reactive({
/**表格字段列 */
let tableColumns: ColumnsType = [
- {
- title: t('common.rowId'),
- dataIndex: 'id',
- align: 'left',
- width: 100,
- },
+ // {
+ // title: t('common.rowId'),
+ // dataIndex: 'id',
+ // align: 'left',
+ // width: 100,
+ // },
{
title: t('views.traceManage.task.msgNe'),
dataIndex: 'msgNe',