施工管控

This commit is contained in:
cwchen 2024-09-29 20:18:36 +08:00
parent 6402de1c03
commit b0b7ae6baf
2 changed files with 7 additions and 3 deletions

View File

@ -46,8 +46,8 @@ export default {
},
methods: {
startRefresh() {
// 3
this.intervalId = setInterval(this.refreshData, 1000 * 60 * 3);
// 2
this.intervalId = setInterval(this.refreshData, 1000 * 60 * 2);
},
stopRefresh() {
if (this.intervalId) {

View File

@ -59,7 +59,11 @@
</div>
<div id="sh-info" class="layout">
<div class="layout">
<div class="layout"><img src="../../../../assets/person_img/sh.png">{{ person.sh.name }}</div>
<div class="layout"><img src="../../../../assets/person_img/sh.png">
<el-tooltip class="item" effect="dark" :content="person.sh.name" placement="top-start">
<span>{{ person.sh.name.substr(0,16) }}...</span>
</el-tooltip>
</div>
<div class="layout info" v-if="person.sh.elec == 100">
<img width="30px" height="16px" src="../../../../assets/person_img/elec.png">
{{ person.sh.elec }}%