update: 大屏接口

This commit is contained in:
xf
2025-07-09 15:10:30 +08:00
parent f6e5bb78da
commit 91abcfd78d
22 changed files with 418 additions and 78 deletions
@@ -31,6 +31,7 @@
type: Function,
},
apiParams: {
type: Object,
default: () => {},
},
afterFetch: {
@@ -12,12 +12,21 @@
<div v-show="isShow" :class="className" class="footer-data" style="--moveUp: 20px; --moveDown: -80px">
<div
v-for="item in footerList"
:style="{ cursor: item.key == 'allotDeviceNum' ? 'pointer' : 'default' }"
:style="{
cursor: item.key == 'allotDeviceNum' ? 'pointer' : 'default',
}"
class="col-item nowrap"
@click="openWatchList(item)"
>
<div class="col-text">{{ item?.name }}</div>
<div :title="item.value" class="col-value nowrap">{{ item?.value }}</div>
<div
:title="item.value"
class="col-value nowrap"
:style="{
color: item.key == 'allotDeviceNum' ? '#0098fa' : '#fff',
}"
>{{ item?.value }}</div
>
</div>
</div>
<div
@@ -103,7 +112,7 @@
async (val) => {
let params = {
orgCodeLeaf: val.orgCode,
orgCode: null,
orgCode: props.orgCode,
};
const { code, result } = await footerApi(params);
if (code == 200) {