update: 大屏接口

This commit is contained in:
xf
2025-07-09 17:30:39 +08:00
parent 055e28b457
commit cd1b085499
5 changed files with 22 additions and 20 deletions
+3 -5
View File
@@ -43,16 +43,14 @@
import * as echarts from 'echarts';
import { getClassCharts } from '/@/views/indexSun/indexSun.ts';
import { allSecondaryDepartsApi, twoLApi } from '/@/views/indexSun/indexSun.api.ts';
import { useUserStore } from '/@/store/modules/user.ts';
const { getCenterInfo } = useUserStore();
const props = defineProps({
bKey: {
type: Number,
default: () => 0,
},
centerId: {
type: String,
default: () => '',
},
});
const chooseType = ref('0');
const selectValue = ref('');
@@ -100,7 +98,7 @@
twoLApi({
sex: chooseType.value,
depart: selectValue.value,
centerId: props.centerId,
centerId: getCenterInfo?.id,
})
.then((res: any) => {
if (res.code == 200) {