|
|
|
@ -147,12 +147,16 @@
|
|
|
|
isShowSelect: false,
|
|
|
|
isShowSelect: false,
|
|
|
|
action: `${ROOTPATH}/index.php?s=/Home/Worker/upload.html`,
|
|
|
|
action: `${ROOTPATH}/index.php?s=/Home/Worker/upload.html`,
|
|
|
|
statusList: [{
|
|
|
|
statusList: [{
|
|
|
|
value: 1,
|
|
|
|
value: "待处置",
|
|
|
|
label: "正常"
|
|
|
|
label: "待处置"
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
value: 2,
|
|
|
|
value: "闲置",
|
|
|
|
label: "维修"
|
|
|
|
label: "闲置"
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
value: "在用",
|
|
|
|
|
|
|
|
label: "在用"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
],
|
|
|
|
|
|
|
|
|
|
|
|
@ -368,7 +372,7 @@
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
activeWorkerFormat() {
|
|
|
|
activeWorkerFormat() {
|
|
|
|
return function(worker_id) {
|
|
|
|
return function(worker_id) {
|
|
|
|
return this.workers.find(i => i.id == worker_id)?.name || ""
|
|
|
|
return this.workers.find(i => i.id == worker_id)?.name || ""
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@ -389,9 +393,9 @@
|
|
|
|
androidModule.close()
|
|
|
|
androidModule.close()
|
|
|
|
main.unregisterReceiver(receiver)
|
|
|
|
main.unregisterReceiver(receiver)
|
|
|
|
// #endif
|
|
|
|
// #endif
|
|
|
|
},
|
|
|
|
},
|
|
|
|
onShow() {
|
|
|
|
onShow() {
|
|
|
|
this.getWorkers();
|
|
|
|
this.getWorkers();
|
|
|
|
},
|
|
|
|
},
|
|
|
|
mounted() {
|
|
|
|
mounted() {
|
|
|
|
// #ifdef APP-PLUS
|
|
|
|
// #ifdef APP-PLUS
|
|
|
|
@ -450,7 +454,7 @@
|
|
|
|
padding-left: 10rpx;
|
|
|
|
padding-left: 10rpx;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
&:nth-last-child() {
|
|
|
|
&:nth-last-child(1) {
|
|
|
|
padding-bottom: 0;
|
|
|
|
padding-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@ -466,4 +470,4 @@
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
</style>
|
|
|
|
|