diff --git a/yanzhu-ui-vue3/src/views/manage/attendance_ubi_device/index.vue b/yanzhu-ui-vue3/src/views/manage/attendance_ubi_device/index.vue
index 78239b2d..516d2297 100644
--- a/yanzhu-ui-vue3/src/views/manage/attendance_ubi_device/index.vue
+++ b/yanzhu-ui-vue3/src/views/manage/attendance_ubi_device/index.vue
@@ -85,7 +85,7 @@
-
+ 111
同步
-
-
+
在场
离场
@@ -115,8 +115,8 @@
修改
删除
- 删除
+ 离场
进场
@@ -355,13 +355,13 @@ const { queryParams, form, rules } = toRefs(data);
//进场,离场
function handleEnter(row) {
let ids = [row.id];
- if (row.enterState == 0) {
+ if (row.useStatus == 0) {
updateEnterState(ids, 1).then(d => {
- row.enterState = 1;
+ row.useStatus = 1;
});
} else {
updateEnterState(ids, 0).then(d => {
- row.enterState = 0;
+ row.useStatus = 0;
});
}
}
@@ -375,7 +375,7 @@ function handleBatchEnterState(state) {
updateEnterState(ids.value, state).then(d => {
proProjectInfoSubdeptsUsersList.value.forEach(it => {
if (ids.value.indexOf(it.id) >= 0) {
- it.enterState = state;
+ it.useStatus = state;
}
});
});