update: 大屏接口
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user