From 9df0b772ea901389ffe2e343cf0d9461e7b79bc0 Mon Sep 17 00:00:00 2001
From: xiaokangsix <2539509415@qq.com>
Date: Sat, 27 Apr 2024 18:56:47 +0800
Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9=E5=8A=9F=E8=83=BD?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/assets/js/api/laborPerson.js | 2 +-
src/assets/js/api/visitRecordAPI.js | 9 +
.../projectFront/aiAnalysis/warningList.vue | 2 +-
.../personModule/laborComponent.vue | 34 +-
.../projectFront/laborManage/visitRecord.vue | 398 ++++++++++++------
.../materialManage/materialEntryManage.vue | 12 +-
6 files changed, 315 insertions(+), 142 deletions(-)
create mode 100644 src/assets/js/api/visitRecordAPI.js
diff --git a/src/assets/js/api/laborPerson.js b/src/assets/js/api/laborPerson.js
index 9a3c4a33..a89aa506 100644
--- a/src/assets/js/api/laborPerson.js
+++ b/src/assets/js/api/laborPerson.js
@@ -86,7 +86,7 @@ export const workerAttendanceRuleDelete = data => post('xmgl/workerAttendanceRul
// 安全扣分详情
export const safeReduceDetailList = data => get('xmgl/xzDeductScoreRecord/list', data);//列表查询考勤规则信息
-export const resetScoreApi = data => post('xmgl/xzDeductScoreRecord/edit', data);//重置分数
+export const resetScoreApi = data => post('xmgl/workerInfo/updateById', data);//重置分数
export const selectJobListApi = data => get('xmgl/dictionariesRecord/selectJobList', data);//查询管理人员的职务类型和职务列表
diff --git a/src/assets/js/api/visitRecordAPI.js b/src/assets/js/api/visitRecordAPI.js
new file mode 100644
index 00000000..6c7e66da
--- /dev/null
+++ b/src/assets/js/api/visitRecordAPI.js
@@ -0,0 +1,9 @@
+/**
+ * api接口统一管理 访客预约记录
+ */
+import {post, get} from '../http'
+
+
+export const xmglXzVisitorManageRecordPageApi = data => post('/xmgl/xzVisitorManageRecord/page', data); // 获取访客记录列表
+export const xmglXzVisitorManageRecordDeleteApi = data => post('/xmgl/xzVisitorManageRecord/delete', data); // 获取访客记录列表
+
diff --git a/src/views/projectFront/aiAnalysis/warningList.vue b/src/views/projectFront/aiAnalysis/warningList.vue
index 8aa8cb0a..25aea700 100644
--- a/src/views/projectFront/aiAnalysis/warningList.vue
+++ b/src/views/projectFront/aiAnalysis/warningList.vue
@@ -58,7 +58,7 @@
-
{{ $t('message.sixComplete.carDense.from') + ':' }}{{ item.location }}
+ {{ $t('message.sixComplete.carDense.from') + ':' }}{{ item.alarmDesc }}
去处置
diff --git a/src/views/projectFront/laborManage/personModule/laborComponent.vue b/src/views/projectFront/laborManage/personModule/laborComponent.vue
index 8bb3b389..39db9338 100644
--- a/src/views/projectFront/laborManage/personModule/laborComponent.vue
+++ b/src/views/projectFront/laborManage/personModule/laborComponent.vue
@@ -405,9 +405,26 @@
-
+
+
+
+
+ 下发状态:
+
+ {{ row.sendSuccessStatus===1? '成功': row.sendSuccessStatus===2?'失败':row.sendSuccessStatus===3?'部分成功':'' }}
+
+
+
+
+
查看下发详情
diff --git a/src/views/projectFront/laborManage/visitRecord.vue b/src/views/projectFront/laborManage/visitRecord.vue
index ecc7d28c..7c3bc54e 100644
--- a/src/views/projectFront/laborManage/visitRecord.vue
+++ b/src/views/projectFront/laborManage/visitRecord.vue
@@ -7,27 +7,83 @@
:model="searchForm"
ref="searchForm"
>
-
-
-
-
-
- {{ $t("message.personnelPosition.beaconManage.query") }}
-
-
- {{ $t("message.personnelPosition.beaconManage.refresh") }}
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ $t('message.personnelPosition.beaconManage.query') }}
+
+
+ {{ $t('message.personnelPosition.beaconManage.refresh') }}
+
+
+
+
+
@@ -39,45 +95,69 @@
:label="$t('message.personnelPosition.beaconManage.table.index')"
>
+
+ {{row.isSuccess=== 1 ? "预约成功" : row.isSuccess=== 0 ?'预约失败' : ''}}
+
+
+
+
+ {{row.isEnable === 1 ? "预约有效" : row.isEnable === 0 ? '预约已失效' : ''}}
+
-
-
-
+
+
+
+
{{
- $t("message.personnelPosition.beaconManage.table.delete")
+ $t('message.personnelPosition.beaconManage.table.delete')
}}
@@ -160,14 +240,14 @@
@click="cardDialog = false"
icon="el-icon-circle-close"
size="medium"
- >{{ $t("message.personnelPosition.cancel") }}
+ >{{ $t('message.personnelPosition.cancel') }}
{{ $t("message.personnelPosition.determine") }}
+ >{{ $t('message.personnelPosition.determine') }}
@@ -176,174 +256,218 @@
+
+
diff --git a/src/views/projectFront/materialManage/materialEntryManage.vue b/src/views/projectFront/materialManage/materialEntryManage.vue
index 90eafe0e..b7709253 100644
--- a/src/views/projectFront/materialManage/materialEntryManage.vue
+++ b/src/views/projectFront/materialManage/materialEntryManage.vue
@@ -30,7 +30,7 @@
-
+
+
0){
data.entryTime_begin = this.queryInfo.timeRange[0];