update: 大屏接口

This commit is contained in:
xf
2025-07-09 18:31:19 +08:00
parent cf129e6d23
commit 4b8f3ae1ef
3 changed files with 12 additions and 4 deletions
@@ -16,7 +16,7 @@
import { onMounted, ref, watch } from 'vue';
import { cloneDeep } from 'lodash-es';
import ItemD from '/@/components/item-d/item-d.vue';
import { getWatchDataByOrgCode } from '/@/components/secondaryScreen/commonApi.ts';
import { getWatchDataByOrgCode, getWatchDataByOrgCodeNew } from '/@/components/secondaryScreen/commonApi.ts';
import { useSpin } from '/@/components/body-d-left/bodyLeftHooks.ts';
import { useSession, caching } from '/@/hooks/autoRefresh/caching.ts';
@@ -94,7 +94,8 @@
async function init() {
setSpin(true);
try {
const { code, result } = await getWatchDataByOrgCode(props);
// const { code, result } = await getWatchDataByOrgCode(props);
const { code, result } = await getWatchDataByOrgCodeNew(props);
if (code == 200) {
setValue(result);
// setSession(PAGE2_LEFT, JSON.stringify(result));