diff --git a/practical_training/views/configManage/configParamApply/index.vue b/practical_training/views/configManage/configParamApply/index.vue index 75cfa32b..891bdcb6 100644 --- a/practical_training/views/configManage/configParamApply/index.vue +++ b/practical_training/views/configManage/configParamApply/index.vue @@ -5,7 +5,7 @@ import { ProModal } from 'antdv-pro-modal'; import { Form, message, Modal } from 'ant-design-vue/es'; import { SizeType } from 'ant-design-vue/es/config-provider'; import { MenuInfo } from 'ant-design-vue/es/menu/src/interface'; -import { ColumnsType } from 'ant-design-vue/es/table'; +import { ColumnsType } from 'ant-design-vue/es/table'; import { parseDateToStr } from '@/utils/date-utils'; import useDictStore from '@/store/modules/dict'; import useNeInfoStore from '@/store/modules/neinfo'; @@ -347,9 +347,9 @@ function fnRecordBack(row?: Record) { result = stuPtNeConfigApply({ neType: row.neType, status: '1' }); } else { result = updatePtNeConfigApply({ - status: "3", - backId: tableState.selectedRowKeys.join(","), - backInfo: "请重新检查配置", + status: '3', + backId: tableState.selectedRowKeys.join(','), + backInfo: '请重新检查配置', }); } result.then((res: any) => { @@ -576,7 +576,7 @@ onMounted(() => { @cancel="fnModalCancel" > - + {{ modalState.from.neType }} @@ -592,7 +592,7 @@ onMounted(() => { - + {{ modalState.from.createBy }} @@ -604,7 +604,7 @@ onMounted(() => { - + {{ modalState.from.updateBy }} diff --git a/practical_training/views/monitor/topologyArchitecture/index.vue b/practical_training/views/monitor/topologyArchitecture/index.vue index c436ed20..c09143a6 100644 --- a/practical_training/views/monitor/topologyArchitecture/index.vue +++ b/practical_training/views/monitor/topologyArchitecture/index.vue @@ -1,551 +1,714 @@ diff --git a/src/views/configManage/configParamApply/index.vue b/src/views/configManage/configParamApply/index.vue index 75cfa32b..c09143a6 100644 --- a/src/views/configManage/configParamApply/index.vue +++ b/src/views/configManage/configParamApply/index.vue @@ -5,7 +5,7 @@ import { ProModal } from 'antdv-pro-modal'; import { Form, message, Modal } from 'ant-design-vue/es'; import { SizeType } from 'ant-design-vue/es/config-provider'; import { MenuInfo } from 'ant-design-vue/es/menu/src/interface'; -import { ColumnsType } from 'ant-design-vue/es/table'; +import { ColumnsType } from 'ant-design-vue/es/table'; import { parseDateToStr } from '@/utils/date-utils'; import useDictStore from '@/store/modules/dict'; import useNeInfoStore from '@/store/modules/neinfo'; @@ -347,12 +347,13 @@ function fnRecordBack(row?: Record) { result = stuPtNeConfigApply({ neType: row.neType, status: '1' }); } else { result = updatePtNeConfigApply({ - status: "3", - backId: tableState.selectedRowKeys.join(","), - backInfo: "请重新检查配置", + status: '3', + backId: tableState.selectedRowKeys.join(','), + backInfo: '请重新检查配置', }); } result.then((res: any) => { + fnGetList(); if (res.code === RESULT_CODE_SUCCESS) { message.success({ content: t('common.operateOk'), @@ -576,7 +577,7 @@ onMounted(() => { @cancel="fnModalCancel" > - + {{ modalState.from.neType }} @@ -592,7 +593,7 @@ onMounted(() => { - + {{ modalState.from.createBy }} @@ -604,7 +605,7 @@ onMounted(() => { - + {{ modalState.from.updateBy }} diff --git a/src/views/monitor/topologyArchitecture/index.vue b/src/views/monitor/topologyArchitecture/index.vue index c436ed20..00b6fc43 100644 --- a/src/views/monitor/topologyArchitecture/index.vue +++ b/src/views/monitor/topologyArchitecture/index.vue @@ -80,6 +80,9 @@ const graphNodeMenu = new Menu({ if (!neState) { return `
${label || id}
`; } + if (hasRoles(['student'])) { + return 'Student'; + } return `