diff --git a/package.json b/package.json index ed12ece7..0c7dc32e 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ "@xterm/xterm": "^5.5.0", "ant-design-vue": "^3.2.20", "antdv-pro-layout": "~3.3.5", - "antdv-pro-modal": "^3.0.8", + "antdv-pro-modal": "^3.0.9", "codemirror": "^6.0.1", "dayjs": "^1.11.11", "echarts": "~5.5.0", @@ -38,7 +38,7 @@ "pinia": "^2.1.7", "vue": "~3.3.13", "vue-i18n": "^9.13.1", - "vue-router": "^4.3.3", + "vue-router": "^4.4.0", "vue3-smooth-dnd": "^0.0.6", "xlsx": "~0.18.5" }, @@ -53,6 +53,6 @@ "unplugin-vue-components": "~0.26.0", "vite": "~5.3.1", "vite-plugin-compression": "~0.5.1", - "vue-tsc": "~2.0.21" + "vue-tsc": "~2.0.22" } } diff --git a/src/views/faultManage/active-alarm/index.vue b/src/views/faultManage/active-alarm/index.vue index 0d4b3672..6d14c9b3 100644 --- a/src/views/faultManage/active-alarm/index.vue +++ b/src/views/faultManage/active-alarm/index.vue @@ -1066,7 +1066,7 @@ onMounted(() => { :data-source="alarmTableState.data" :size="alarmTableState.size" :pagination="false" - :scroll="{ x: 1700, y: '82vh' }" + :scroll="{ x: 1700, y: '88vh' }" > diff --git a/src/views/neUser/sub/index.vue b/src/views/neUser/sub/index.vue index d901dda1..358aa2aa 100644 --- a/src/views/neUser/sub/index.vue +++ b/src/views/neUser/sub/index.vue @@ -8,6 +8,7 @@ import { ColumnsType } from 'ant-design-vue/lib/table'; import UploadModal from '@/components/UploadModal/index.vue'; import TableColumnsDnd from '@/components/TableColumnsDnd/index.vue'; import useNeInfoStore from '@/store/modules/neinfo'; +import useDictStore from '@/store/modules/dict'; import useI18n from '@/hooks/useI18n'; import { RESULT_CODE_SUCCESS } from '@/constants/result-constants'; import saveAs from 'file-saver'; @@ -25,6 +26,15 @@ import { } from '@/api/neData/udm_sub'; import { uploadFile } from '@/api/tool/file'; const { t } = useI18n(); +const { getDict } = useDictStore(); + +/**字典数据 */ +let dict: { + /**CN Type可选类型 */ + udmSubCNType: DictType[]; +} = reactive({ + udmSubCNType: [], +}); /**网元参数 */ let neOtions = ref[]>([]); @@ -139,6 +149,7 @@ let tableColumns = ref([ { title: 'CN Type', dataIndex: 'cn', + key: 'cn', align: 'center', width: 100, }, @@ -1189,6 +1200,13 @@ function delBigRow(bigIndex: any) { } onMounted(() => { + // 初始字典数据 + Promise.allSettled([getDict('udm_sub_cn_type')]).then(resArr => { + if (resArr[0].status === 'fulfilled') { + dict.udmSubCNType = resArr[0].value; + } + }); + // 获取网元网元列表 useNeInfoStore() .fnNelist() @@ -1234,7 +1252,7 @@ onMounted(() => { @@ -1456,6 +1474,9 @@ onMounted(() => { }" >