diff --git a/hx-ai-intelligent/public/asset/file/groupList.xlsx b/hx-ai-intelligent/public/asset/file/groupList.xlsx new file mode 100644 index 0000000..d366896 Binary files /dev/null and b/hx-ai-intelligent/public/asset/file/groupList.xlsx differ diff --git a/hx-ai-intelligent/src/api/carbonEmissionFactorLibrary.ts b/hx-ai-intelligent/src/api/carbonEmissionFactorLibrary.ts index 291f0b3..c0f5ff8 100644 --- a/hx-ai-intelligent/src/api/carbonEmissionFactorLibrary.ts +++ b/hx-ai-intelligent/src/api/carbonEmissionFactorLibrary.ts @@ -12,6 +12,7 @@ export enum carbonEmissionFactorLibrary { import = '/carbon-smart/api/carbon/emission/factor/import', export = '/carbon-smart/api/carbon/emission/factor/export', gasAndDatabase = '/carbon-smart/api/carbon/emission/factor/gasAndDatabase', + checkDel = '/carbon-smart/api/carbon/emission/factor/checkDel', // 单位管理 dictionaryUnitManagement = '/carbon-smart/client/dict/dictionaryUnitManagement', findOutermost = '/carbon-smart/client/dict/findOutermost', diff --git a/hx-ai-intelligent/src/view/carbonEmissionManage/carbonAssets/carbonAssetsDetail/index.vue b/hx-ai-intelligent/src/view/carbonEmissionManage/carbonAssets/carbonAssetsDetail/index.vue index 95ef056..10801b2 100644 --- a/hx-ai-intelligent/src/view/carbonEmissionManage/carbonAssets/carbonAssetsDetail/index.vue +++ b/hx-ai-intelligent/src/view/carbonEmissionManage/carbonAssets/carbonAssetsDetail/index.vue @@ -1,6 +1,6 @@ @@ -424,7 +433,7 @@ const onExpand = (keys: string[]) => { expandedKeys.value = keys; - autoExpandParent.value = false; + // autoExpandParent.value = false; }; // watch(selectTreeDataValue, (value) => { // const expanded = dataList @@ -458,7 +467,7 @@ mainRef.value?.nsTableRef.reload(); }; // 点击新增树节点 - const addTreeNodeData = () => { + const addTreeNodeData = (data) => { operationTree.value = '新增'; treeNodeAdd.value = true; editTreeNode.value.type = 'create'; @@ -557,6 +566,7 @@ const editTreeNode = ref({}); const onSelectKeys = ref([]); const onSelect = (selectedKey: string[], info: any) => { + expandedKeys.value = selectedKey; if (selectedKey.length === 1) { if (info.selectedNodes[0].emissionName === '全部') { onSelectKeys.value = []; @@ -771,6 +781,7 @@ { title: 'id', width: 50, + align: 'center', customRender: (text: any) => { return text.index + 1; }, @@ -778,57 +789,68 @@ { title: '排放源', width: 100, + align: 'center', dataIndex: 'emissionSources', }, { title: '排放类型', width: 100, + align: 'center', dataIndex: 'emissionTypeColumn', }, { title: '排放气体', width: 100, + align: 'center', dataIndex: 'emissionGas', }, { title: '排放环节', width: 100, + align: 'center', dataIndex: 'emissionProcess', }, { title: '排放因子', width: 100, + align: 'center', dataIndex: 'emissionFactors', }, { title: '排放因子单位', width: 100, + align: 'center', dataIndex: 'emissionFactorUnits', }, { title: '数据来源', width: 100, + align: 'center', dataIndex: 'dataSources', }, { title: '数据库', width: 100, + align: 'center', dataIndex: 'carbonDatabase', }, { title: '参考文献', width: 100, + align: 'center', dataIndex: 'bibliography', ellipsis: true, }, { title: '引用数量', width: 100, + align: 'center', dataIndex: 'numberOfReferences', }, ], columnActions: { title: '操作', + align: 'center', actions: [ { label: '编辑', @@ -875,10 +897,42 @@ { label: '删除', name: 'userDelete', - dynamicParams: { ids: 'id[]' }, - confirm: true, - isReload: true, - api: carbonEmissionFactorLibrary.del, + // dynamicParams: { ids: 'id[]' }, + // confirm: true, + // isReload: true, + // api: carbonEmissionFactorLibrary.del, + handle: (record: any) => { + fetch(carbonEmissionFactorLibrary.checkDel, { ids: [record.id] }).then((res) => { + if (res.data === '确定要删除吗?') { + Modal.confirm({ + title: res.data, + icon: createVNode(ExclamationCircleOutlined), + onOk() { + fetch(carbonEmissionFactorLibrary.del, { ids: [record.id] }).then((res) => { + mainRef.value?.nsTableRef.reload(); + NsMessage.success('操作成功'); + }); + }, + onCancel() { + console.log('Cancel'); + }, + class: 'test', + }); + } else { + Modal.confirm({ + title: res.data, + icon: createVNode(ExclamationCircleOutlined), + onOk() { + console.log('OK'); + }, + onCancel() { + console.log('Cancel'); + }, + class: 'test', + }); + } + }); + }, }, ], }, @@ -1147,7 +1201,7 @@ display: flex; } .left { - width: 300px; + width: 255px; // max-height: calc(100vh - 96px); margin-right: @ns-gap; min-width: fit-content; @@ -1198,7 +1252,8 @@ margin-bottom: unset; padding-bottom: unset; border-bottom: unset; - width: 70%; + margin-bottom: 16px; + width: 255px; height: 5vh; display: flex; align-items: center; @@ -1238,18 +1293,19 @@ justify-content: space-evenly; } .treePart { - width: 70%; - height: calc(100% - 5vh); + width: 255px; + height: 700px; display: flex; border: 1px solid #bfbfbf; margin-left: 10%; flex-direction: column; border-radius: 12px; overflow: auto; + padding: 16px; align-items: center; :deep(.ant-tree) { height: 90%; - width: 90%; + width: 100%; overflow: auto; } } diff --git a/hx-ai-intelligent/src/view/carbonEmissionManage/carbonEmissionStatistics/carbonEmissions/index.vue b/hx-ai-intelligent/src/view/carbonEmissionManage/carbonEmissionStatistics/carbonEmissions/index.vue index e07a9ec..d27738c 100644 --- a/hx-ai-intelligent/src/view/carbonEmissionManage/carbonEmissionStatistics/carbonEmissions/index.vue +++ b/hx-ai-intelligent/src/view/carbonEmissionManage/carbonEmissionStatistics/carbonEmissions/index.vue @@ -1,11 +1,12 @@ + @@ -382,11 +384,21 @@ ballChartInstance = echarts.init(ballChartRef.value); let ballData = (Number(ballValue.value) / 100).toFixed(2); const option = { + title: { + text: selectedTime.value + ? '历年' + props.energyTypeName + '分析' + : '每月' + props.energyTypeName + '分析', + x: '0', + textStyle: { + color: 'rgba(51, 51, 51, 1)', + fontSize: '16', + }, + }, series: [ { type: 'liquidFill', - radius: '78.1%', - center: ['50%', '50%'], + radius: '70%', + center: ['55%', '55%'], color: !selectedTime.value ? ['#ecf3fe', '#c8dcfe', '#5594fa'] : ['rgba(12, 168, 126, 0.5)', 'rgba(12, 168, 126, 0.1)', 'rgba(12, 168, 126, 1)'], @@ -402,7 +414,7 @@ textStyle: { color: !selectedTime.value ? 'rgba(68, 197, 253,1)' : 'rgba(12, 168, 126, 1)', insideColor: '#12786f', - fontSize: Number(ballData) > 1000 ? 20 : 40, + fontSize: Number(ballData) > 100 ? 20 : 40, }, formatter: (params) => { // return `${(params.value * 100).toFixed(2)}%`; @@ -549,6 +561,7 @@ const columns = ref([ { title: '序号', + align: 'center', customRender: (text: any) => { return text.index + 1; }, @@ -556,37 +569,45 @@ { title: '分项名称', dataIndex: 'itemizeName', + align: 'center', }, { title: '年份', + align: 'center', dataIndex: 'year', }, { title: '实际用量', dataIndex: 'actualUsage', + align: 'center', customRender: ({ text }: { text: number }) => `${text ? text + unit.value : 0 + unit.value}`, // 在这里添加单位 }, { title: '预算量', dataIndex: 'budget', + align: 'center', customRender: ({ text }: { text: number }) => `${text ? text + unit.value : 0 + unit.value}`, // 在这里添加单位 }, { title: '基准值', dataIndex: 'referenceValue', + align: 'center', customRender: ({ text }: { text: number }) => `${text ? text + unit.value : 0 + unit.value}`, // 在这里添加单位 }, { title: '节能量', dataIndex: 'energyConservation', + align: 'center', customRender: ({ text }: { text: number }) => `${text ? text + unit.value : 0 + unit.value}`, // 在这里添加单位 }, { title: '预算达成率', + align: 'center', dataIndex: 'budgetAchievement', }, { title: '操作', + align: 'center', key: 'action', }, ]); @@ -693,13 +714,14 @@ background: #ffffff; box-shadow: 0px 2px 20px rgb(69 123 234 / 20%); border-radius: 8px; + padding: 16px; } .pillarChart { width: calc(80% - 12px); background: #ffffff; box-shadow: 0px 2px 20px rgb(69 123 234 / 20%); border-radius: 8px; - padding: 5px; + padding: 16px; } } .tablePart { diff --git a/hx-ai-intelligent/src/view/carbonEmissionManage/carbonPlanning/index.vue b/hx-ai-intelligent/src/view/carbonEmissionManage/carbonPlanning/index.vue index f107a76..60cd659 100644 --- a/hx-ai-intelligent/src/view/carbonEmissionManage/carbonPlanning/index.vue +++ b/hx-ai-intelligent/src/view/carbonEmissionManage/carbonPlanning/index.vue @@ -103,7 +103,7 @@ }); } else if (key === '5') { tabId.value = 7; - energyType.value = 'CARBON_EMISSIONS'; + energyType.value = 'HEAT_SUPPLY'; energyTypeName.value = '供热量'; nextTick(() => { if (carbonEmissionsRef.value) { @@ -113,7 +113,7 @@ }); } else if (key === '6') { tabId.value = 8; - energyType.value = 'HEAT_SUPPLY'; + energyType.value = 'CARBON_EMISSIONS'; energyTypeName.value = '碳排量'; nextTick(() => { if (provideHotRef.value) { @@ -124,3 +124,27 @@ } }; + + diff --git a/hx-ai-intelligent/src/view/equipmentControl/airConditionControlSystem/index.vue b/hx-ai-intelligent/src/view/equipmentControl/airConditionControlSystem/index.vue index 8415b71..e84315f 100644 --- a/hx-ai-intelligent/src/view/equipmentControl/airConditionControlSystem/index.vue +++ b/hx-ai-intelligent/src/view/equipmentControl/airConditionControlSystem/index.vue @@ -38,7 +38,8 @@ width="496" :forceRender="preload" placement="right" - :body-style="{ background: 'rgba(0, 0, 0)', opacity: 0.8 }" + style="opacity: 0.8" + :body-style="{ background: 'black' }" :closable="false" id="drawer" :maskStyle="{ 'background-color': 'rgba(0, 0, 0, 0)' }"> diff --git a/hx-ai-intelligent/src/view/equipmentControl/airConditionControlSystem/tabs1.less b/hx-ai-intelligent/src/view/equipmentControl/airConditionControlSystem/tabs1.less index 4bab724..ce0a42b 100644 --- a/hx-ai-intelligent/src/view/equipmentControl/airConditionControlSystem/tabs1.less +++ b/hx-ai-intelligent/src/view/equipmentControl/airConditionControlSystem/tabs1.less @@ -160,7 +160,8 @@ font-size: 14px; font-weight: 400; opacity: 1; - border: 1px solid rgba(207, 212, 219, 1); + // border: 1px solid rgba(207, 212, 219, 1); + border: none; line-height: 20.27px; color: white; text-align: center; @@ -171,7 +172,7 @@ .selected { background: linear-gradient(180deg, rgba(201, 245, 255, 1) 0%, rgba(138, 215, 255, 1) 100%); color: rgba(0, 61, 90, 1); - border: 1px solid white; + border: none; } .btn:hover { diff --git a/hx-ai-intelligent/src/view/equipmentControl/lightingManage/indexs.vue b/hx-ai-intelligent/src/view/equipmentControl/lightingManage/indexs.vue index 74af70e..3f55e9b 100644 --- a/hx-ai-intelligent/src/view/equipmentControl/lightingManage/indexs.vue +++ b/hx-ai-intelligent/src/view/equipmentControl/lightingManage/indexs.vue @@ -37,8 +37,9 @@ class="drawer-item" width="496" :forceRender="preload" + style="opacity: 0.8" placement="right" - :body-style="{ background: 'rgba(0, 0, 0)', opacity: 0.8 }" + :body-style="{ background: 'black' }" :closable="false" id="drawer" :maskStyle="{ 'background-color': 'rgba(0, 0, 0, 0)' }"> diff --git a/hx-ai-intelligent/src/view/equipmentControl/lightingManage/tabs1.less b/hx-ai-intelligent/src/view/equipmentControl/lightingManage/tabs1.less index d71139d..8e8680f 100644 --- a/hx-ai-intelligent/src/view/equipmentControl/lightingManage/tabs1.less +++ b/hx-ai-intelligent/src/view/equipmentControl/lightingManage/tabs1.less @@ -181,7 +181,8 @@ font-size: 14px; font-weight: 400; opacity: 1; - border: 1px solid rgba(207, 212, 219, 1); + border: none; + // border: 1px solid rgba(207, 212, 219, 1); line-height: 20.27px; color: white; text-align: center; @@ -192,7 +193,7 @@ .selected { background: linear-gradient(180deg, rgba(201, 245, 255, 1) 0%, rgba(138, 215, 255, 1) 100%); color: rgba(0, 61, 90, 1); - border: 1px solid white; + border: none; } .btn:hover { diff --git a/hx-ai-intelligent/src/view/equipmentControl/lightingManage/tabs1.vue b/hx-ai-intelligent/src/view/equipmentControl/lightingManage/tabs1.vue index cdbf70f..54dd72b 100644 --- a/hx-ai-intelligent/src/view/equipmentControl/lightingManage/tabs1.vue +++ b/hx-ai-intelligent/src/view/equipmentControl/lightingManage/tabs1.vue @@ -249,7 +249,7 @@ -
+
-
+
diff --git a/hx-ai-intelligent/src/view/equipmentControl/style/dialogStyle.less b/hx-ai-intelligent/src/view/equipmentControl/style/dialogStyle.less index 831c65e..964587d 100644 --- a/hx-ai-intelligent/src/view/equipmentControl/style/dialogStyle.less +++ b/hx-ai-intelligent/src/view/equipmentControl/style/dialogStyle.less @@ -1,7 +1,7 @@ // 设备群控 > 抽屉 > 控制面板 & 日志 的附加弹窗 .out-dialog { position: fixed; - right: 496px; + right: 497px; width: 500px; height: 100%; z-index: 0; diff --git a/hx-ai-intelligent/src/view/equipmentControl/ventilationSystem/components/tabs1.less b/hx-ai-intelligent/src/view/equipmentControl/ventilationSystem/components/tabs1.less index a10a223..7d68ba0 100644 --- a/hx-ai-intelligent/src/view/equipmentControl/ventilationSystem/components/tabs1.less +++ b/hx-ai-intelligent/src/view/equipmentControl/ventilationSystem/components/tabs1.less @@ -180,7 +180,8 @@ font-size: 14px; font-weight: 400; opacity: 1; - border: 1px solid rgba(207, 212, 219, 1); + // border: 1px solid rgba(207, 212, 219, 1); + border: none; line-height: 20.27px; color: white; text-align: center; @@ -191,7 +192,7 @@ .selected { background: linear-gradient(180deg, rgba(201, 245, 255, 1) 0%, rgba(138, 215, 255, 1) 100%); color: rgba(0, 61, 90, 1); - border: 1px solid white; + border: none; } .btn:hover { diff --git a/hx-ai-intelligent/src/view/equipmentControl/ventilationSystem/index.vue b/hx-ai-intelligent/src/view/equipmentControl/ventilationSystem/index.vue index 60fe4dc..00ed608 100644 --- a/hx-ai-intelligent/src/view/equipmentControl/ventilationSystem/index.vue +++ b/hx-ai-intelligent/src/view/equipmentControl/ventilationSystem/index.vue @@ -127,7 +127,8 @@ :width="496" :forceRender="preload" placement="right" - :body-style="{ background: 'rgba(0, 0, 0)', opacity: 0.8, color: 'white' }" + style="opacity: 0.8" + :body-style="{ background: 'black' }" :closable="false" id="drawer" :maskStyle="{ 'background-color': 'rgba(0, 0, 0, 0)' }" @@ -189,7 +190,8 @@ :width="496" :forceRender="preload" placement="right" - :body-style="{ background: 'rgba(0, 0, 0)', opacity: 0.8, color: 'white' }" + style="opacity: 0.8" + :body-style="{ background: 'black' }" :closable="false" id="drawer" :maskStyle="{ 'background-color': 'rgba(0, 0, 0, 0)' }" @@ -250,7 +252,8 @@ :width="496" :forceRender="preload" placement="right" - :body-style="{ background: 'rgba(0, 0, 0)', opacity: 0.8, color: 'white' }" + style="opacity: 0.8" + :body-style="{ background: 'black' }" :closable="false" id="drawer" :maskStyle="{ 'background-color': 'rgba(0, 0, 0, 0)' }" diff --git a/hx-ai-intelligent/src/view/equipmentControl/waterSystem/component/logTab.vue b/hx-ai-intelligent/src/view/equipmentControl/waterSystem/component/logTab.vue index 243828a..275b4f9 100644 --- a/hx-ai-intelligent/src/view/equipmentControl/waterSystem/component/logTab.vue +++ b/hx-ai-intelligent/src/view/equipmentControl/waterSystem/component/logTab.vue @@ -321,7 +321,8 @@ font-size: 14px; font-weight: 400; opacity: 1; - border: 1px solid rgba(207, 212, 219, 1); + // border: 1px solid rgba(207, 212, 219, 1); + border: none; line-height: 20.27px; color: white; text-align: center; @@ -332,7 +333,7 @@ .selected { background: linear-gradient(180deg, rgba(201, 245, 255, 1) 0%, rgba(138, 215, 255, 1) 100%); color: rgba(0, 61, 90, 1); - border: 1px solid white; + border: none; } .btn:hover { diff --git a/hx-ai-intelligent/src/view/equipmentControl/waterSystem/index.vue b/hx-ai-intelligent/src/view/equipmentControl/waterSystem/index.vue index 7d7a596..f5eb723 100644 --- a/hx-ai-intelligent/src/view/equipmentControl/waterSystem/index.vue +++ b/hx-ai-intelligent/src/view/equipmentControl/waterSystem/index.vue @@ -55,7 +55,8 @@ class="drawer-item" width="496" placement="right" - :body-style="{ background: 'rgba(0, 0, 0)', opacity: 0.8 }" + style="opacity: 0.8" + :body-style="{ background: 'black' }" :closable="false" id="drawer" :maskStyle="{ 'background-color': 'rgba(0, 0, 0, 0)' }"> @@ -523,7 +524,8 @@ font-size: 14px; font-weight: 400; opacity: 1; - border: 1px solid rgba(207, 212, 219, 1); + // border: 1px solid rgba(207, 212, 219, 1); + border: none; line-height: 20.27px; color: white; text-align: center; @@ -534,7 +536,7 @@ .selected { background: linear-gradient(180deg, rgba(201, 245, 255, 1) 0%, rgba(138, 215, 255, 1) 100%); color: rgba(0, 61, 90, 1); - border: 1px solid white; + border: none; } .btn:hover { diff --git a/hx-ai-intelligent/src/view/equipmentManage/group/config.ts b/hx-ai-intelligent/src/view/equipmentManage/group/config.ts index 523aa0b..77a8be2 100644 --- a/hx-ai-intelligent/src/view/equipmentManage/group/config.ts +++ b/hx-ai-intelligent/src/view/equipmentManage/group/config.ts @@ -346,8 +346,8 @@ export const tableConfig = (el, elGroup, elFormula, defaultParams) => { api: group.importGroup, // 导入接口名 // dynamicParams: { defaultParams: defaultParams }, params: defaultParams.value, - title: '设备信息', // 弹窗title - templateName: 'whiteListUser', // 所使用的文件名称 + title: '计算节点', // 弹窗title + templateName: 'groupList', // 所使用的文件名称 indexName: '设备id', // 匹配类型字段 message: [ { label: '1、若必填项未填写,则不能进行导入操作' }, @@ -364,7 +364,7 @@ export const tableConfig = (el, elGroup, elFormula, defaultParams) => { type: 'primary', handle: () => { // http.get('/asset/file/whiteListUser.xlsx'); - doWnload('/hx-ai-intelligent/asset/file/whiteListUser.xlsx'); + doWnload('/hx-ai-intelligent/asset/file/groupList.xlsx'); }, }, ], diff --git a/hx-ai-intelligent/src/view/equipmentManage/group/editCarbonEquipment.vue b/hx-ai-intelligent/src/view/equipmentManage/group/editCarbonEquipment.vue index 2ccf6db..79ac962 100644 --- a/hx-ai-intelligent/src/view/equipmentManage/group/editCarbonEquipment.vue +++ b/hx-ai-intelligent/src/view/equipmentManage/group/editCarbonEquipment.vue @@ -158,4 +158,7 @@ ::v-deep .ant-table-pagination.ant-pagination { margin: 26px 0 !important; /* 根据需要调整 padding 大小 */ } + :deep(.ns-list-table[data-v-64b9682f]:not(.ant-drawer-body > *):not(.ant-form > *)) { + background-color: #ffffff !important; + } diff --git a/hx-ai-intelligent/src/view/monitor/energyMonitor/graphGraph/index.vue b/hx-ai-intelligent/src/view/monitor/energyMonitor/graphGraph/index.vue index 3284fc0..f995434 100644 --- a/hx-ai-intelligent/src/view/monitor/energyMonitor/graphGraph/index.vue +++ b/hx-ai-intelligent/src/view/monitor/energyMonitor/graphGraph/index.vue @@ -116,7 +116,7 @@ const date = params[0].name; const values = params .map((param: any) => { - const unit = data.value.find((d) => d.date === date)?.unit || ''; + const unit = data.value[0]?.unit || ''; return ` ${param.marker}${param.seriesName} ${param.value} ${unit} diff --git a/hx-ai-intelligent/src/view/monitor/energyMonitor/page.vue b/hx-ai-intelligent/src/view/monitor/energyMonitor/page.vue index 99e1ba4..ae09799 100644 --- a/hx-ai-intelligent/src/view/monitor/energyMonitor/page.vue +++ b/hx-ai-intelligent/src/view/monitor/energyMonitor/page.vue @@ -104,6 +104,8 @@ } else { treeRef.value.getSelectAnalyse(activeKey.value); } + isGraph.value = true; + iconName.value = 'biaoge1'; }; function change() { diff --git a/hx-ai-intelligent/src/view/monitor/energyMonitor/tree/index.vue b/hx-ai-intelligent/src/view/monitor/energyMonitor/tree/index.vue index 08ed6c5..9c3dd37 100644 --- a/hx-ai-intelligent/src/view/monitor/energyMonitor/tree/index.vue +++ b/hx-ai-intelligent/src/view/monitor/energyMonitor/tree/index.vue @@ -131,6 +131,8 @@ import { device, group } from '/@/api/deviceManage'; import { energyMonitor } from '/@/api/monitor'; import { dict, getEnum } from '/@/api'; + // 全局变量 + import { items } from '/@/store/item'; export default defineComponent({ // eslint-disable-next-line vue/multi-word-component-names @@ -139,6 +141,9 @@ const select = ref(null); const divWidth = ref(0); // 用于存储 div 的宽度 + // 全局变量 + const state = items(); + // 获取 div 的宽度 // const getDivWidth = () => { // if (select.value) { @@ -311,6 +316,8 @@ }; const getSelectGraph = (key: any) => { + // 开 + state.setLoading(true); if (key) { activeKey.value = key; // if ( @@ -407,9 +414,15 @@ pageData.graphTableColumns = []; pageData.graphGraphList = []; } + }) + .finally(() => { + // 关 + state.setLoading(false); }); }; const getSelectAnalyse = (key: any) => { + // 开 + state.setLoading(true); if (key) { activeKey.value = key; // if (pageData.analysisGraphList.length > 0 && pageData.analysisTableList.length > 0) { @@ -480,6 +493,12 @@ pageData.analysisTableList = []; pageData.analysisGraphList = []; } + }) + .finally(() => { + // 关 + setTimeout(function () { + state.setLoading(false); + }, 2000); }); }; diff --git a/hx-ai-intelligent/src/view/monitor/environmentMonitor/index.vue b/hx-ai-intelligent/src/view/monitor/environmentMonitor/index.vue index 8410c21..2839fd0 100644 --- a/hx-ai-intelligent/src/view/monitor/environmentMonitor/index.vue +++ b/hx-ai-intelligent/src/view/monitor/environmentMonitor/index.vue @@ -29,7 +29,7 @@ - + { tableState.selectedRowKeys = selectedRowKeys; tableState.selectedRows = selectedRows; + if ('radio' === rowSelection.type) { + rowSelection.selectedRowKeys = selectedRowKeys; + } }, }, isFunction(rowSelection) ? rowSelection(tableState) : rowSelection,