diff --git a/src/views/accessPermission/addStaffPerm.vue b/src/views/accessPermission/addStaffPerm.vue index 563610f..7ce5362 100644 --- a/src/views/accessPermission/addStaffPerm.vue +++ b/src/views/accessPermission/addStaffPerm.vue @@ -21,9 +21,10 @@ - + @@ -158,6 +159,14 @@ cancel: function() { this.dialogFormVisible = false this.$emit('watchChild') + }, + // 身份证号加密 + encrypIdCardNo(idCardNo) { + if (idCardNo) { + return idCardNo.substr(0, 6) + '********' + idCardNo.substr(14, 18) + } else { + return '' + } } } } diff --git a/src/views/accessPermission/addStaffPerm.vue b/src/views/accessPermission/addStaffPerm.vue index 563610f..7ce5362 100644 --- a/src/views/accessPermission/addStaffPerm.vue +++ b/src/views/accessPermission/addStaffPerm.vue @@ -21,9 +21,10 @@ - + @@ -158,6 +159,14 @@ cancel: function() { this.dialogFormVisible = false this.$emit('watchChild') + }, + // 身份证号加密 + encrypIdCardNo(idCardNo) { + if (idCardNo) { + return idCardNo.substr(0, 6) + '********' + idCardNo.substr(14, 18) + } else { + return '' + } } } } diff --git a/src/views/accessPermission/addVisitorPerm.vue b/src/views/accessPermission/addVisitorPerm.vue index e2a4d11..6b71b5a 100644 --- a/src/views/accessPermission/addVisitorPerm.vue +++ b/src/views/accessPermission/addVisitorPerm.vue @@ -18,8 +18,9 @@ - + @@ -147,6 +148,14 @@ cancel: function() { this.dialogFormVisible = false this.$emit('watchChild') + }, + // 身份证号加密 + encrypIdCardNo(idCardNo) { + if (idCardNo) { + return idCardNo.substr(0, 6) + '********' + idCardNo.substr(14, 18) + } else { + return '' + } } } } diff --git a/src/views/accessPermission/addStaffPerm.vue b/src/views/accessPermission/addStaffPerm.vue index 563610f..7ce5362 100644 --- a/src/views/accessPermission/addStaffPerm.vue +++ b/src/views/accessPermission/addStaffPerm.vue @@ -21,9 +21,10 @@ - + @@ -158,6 +159,14 @@ cancel: function() { this.dialogFormVisible = false this.$emit('watchChild') + }, + // 身份证号加密 + encrypIdCardNo(idCardNo) { + if (idCardNo) { + return idCardNo.substr(0, 6) + '********' + idCardNo.substr(14, 18) + } else { + return '' + } } } } diff --git a/src/views/accessPermission/addVisitorPerm.vue b/src/views/accessPermission/addVisitorPerm.vue index e2a4d11..6b71b5a 100644 --- a/src/views/accessPermission/addVisitorPerm.vue +++ b/src/views/accessPermission/addVisitorPerm.vue @@ -18,8 +18,9 @@ - + @@ -147,6 +148,14 @@ cancel: function() { this.dialogFormVisible = false this.$emit('watchChild') + }, + // 身份证号加密 + encrypIdCardNo(idCardNo) { + if (idCardNo) { + return idCardNo.substr(0, 6) + '********' + idCardNo.substr(14, 18) + } else { + return '' + } } } } diff --git a/src/views/accessPermission/listStaffPermission.vue b/src/views/accessPermission/listStaffPermission.vue index 25b9526..a168bb9 100644 --- a/src/views/accessPermission/listStaffPermission.vue +++ b/src/views/accessPermission/listStaffPermission.vue @@ -26,9 +26,10 @@ - + @@ -216,6 +217,14 @@ handleCurrentChange(val) { this.listQuery.offset = val this.fetchData() + }, + // 身份证号加密 + encrypIdCardNo(idCardNo) { + if (idCardNo) { + return idCardNo.substr(0, 6) + '********' + idCardNo.substr(14, 18) + } else { + return '' + } } } } diff --git a/src/views/accessPermission/addStaffPerm.vue b/src/views/accessPermission/addStaffPerm.vue index 563610f..7ce5362 100644 --- a/src/views/accessPermission/addStaffPerm.vue +++ b/src/views/accessPermission/addStaffPerm.vue @@ -21,9 +21,10 @@ - + @@ -158,6 +159,14 @@ cancel: function() { this.dialogFormVisible = false this.$emit('watchChild') + }, + // 身份证号加密 + encrypIdCardNo(idCardNo) { + if (idCardNo) { + return idCardNo.substr(0, 6) + '********' + idCardNo.substr(14, 18) + } else { + return '' + } } } } diff --git a/src/views/accessPermission/addVisitorPerm.vue b/src/views/accessPermission/addVisitorPerm.vue index e2a4d11..6b71b5a 100644 --- a/src/views/accessPermission/addVisitorPerm.vue +++ b/src/views/accessPermission/addVisitorPerm.vue @@ -18,8 +18,9 @@ - + @@ -147,6 +148,14 @@ cancel: function() { this.dialogFormVisible = false this.$emit('watchChild') + }, + // 身份证号加密 + encrypIdCardNo(idCardNo) { + if (idCardNo) { + return idCardNo.substr(0, 6) + '********' + idCardNo.substr(14, 18) + } else { + return '' + } } } } diff --git a/src/views/accessPermission/listStaffPermission.vue b/src/views/accessPermission/listStaffPermission.vue index 25b9526..a168bb9 100644 --- a/src/views/accessPermission/listStaffPermission.vue +++ b/src/views/accessPermission/listStaffPermission.vue @@ -26,9 +26,10 @@ - + @@ -216,6 +217,14 @@ handleCurrentChange(val) { this.listQuery.offset = val this.fetchData() + }, + // 身份证号加密 + encrypIdCardNo(idCardNo) { + if (idCardNo) { + return idCardNo.substr(0, 6) + '********' + idCardNo.substr(14, 18) + } else { + return '' + } } } } diff --git a/src/views/accessPermission/listVisitorPermission.vue b/src/views/accessPermission/listVisitorPermission.vue index ddda124..1ce508c 100644 --- a/src/views/accessPermission/listVisitorPermission.vue +++ b/src/views/accessPermission/listVisitorPermission.vue @@ -23,9 +23,10 @@ - + @@ -206,6 +207,14 @@ handleCurrentChange(val) { this.listQuery.offset = val this.fetchData() + }, + // 身份证号加密 + encrypIdCardNo(idCardNo) { + if (idCardNo) { + return idCardNo.substr(0, 6) + '********' + idCardNo.substr(14, 18) + } else { + return '' + } } } } diff --git a/src/views/accessPermission/addStaffPerm.vue b/src/views/accessPermission/addStaffPerm.vue index 563610f..7ce5362 100644 --- a/src/views/accessPermission/addStaffPerm.vue +++ b/src/views/accessPermission/addStaffPerm.vue @@ -21,9 +21,10 @@ - + @@ -158,6 +159,14 @@ cancel: function() { this.dialogFormVisible = false this.$emit('watchChild') + }, + // 身份证号加密 + encrypIdCardNo(idCardNo) { + if (idCardNo) { + return idCardNo.substr(0, 6) + '********' + idCardNo.substr(14, 18) + } else { + return '' + } } } } diff --git a/src/views/accessPermission/addVisitorPerm.vue b/src/views/accessPermission/addVisitorPerm.vue index e2a4d11..6b71b5a 100644 --- a/src/views/accessPermission/addVisitorPerm.vue +++ b/src/views/accessPermission/addVisitorPerm.vue @@ -18,8 +18,9 @@ - + @@ -147,6 +148,14 @@ cancel: function() { this.dialogFormVisible = false this.$emit('watchChild') + }, + // 身份证号加密 + encrypIdCardNo(idCardNo) { + if (idCardNo) { + return idCardNo.substr(0, 6) + '********' + idCardNo.substr(14, 18) + } else { + return '' + } } } } diff --git a/src/views/accessPermission/listStaffPermission.vue b/src/views/accessPermission/listStaffPermission.vue index 25b9526..a168bb9 100644 --- a/src/views/accessPermission/listStaffPermission.vue +++ b/src/views/accessPermission/listStaffPermission.vue @@ -26,9 +26,10 @@ - + @@ -216,6 +217,14 @@ handleCurrentChange(val) { this.listQuery.offset = val this.fetchData() + }, + // 身份证号加密 + encrypIdCardNo(idCardNo) { + if (idCardNo) { + return idCardNo.substr(0, 6) + '********' + idCardNo.substr(14, 18) + } else { + return '' + } } } } diff --git a/src/views/accessPermission/listVisitorPermission.vue b/src/views/accessPermission/listVisitorPermission.vue index ddda124..1ce508c 100644 --- a/src/views/accessPermission/listVisitorPermission.vue +++ b/src/views/accessPermission/listVisitorPermission.vue @@ -23,9 +23,10 @@ - + @@ -206,6 +207,14 @@ handleCurrentChange(val) { this.listQuery.offset = val this.fetchData() + }, + // 身份证号加密 + encrypIdCardNo(idCardNo) { + if (idCardNo) { + return idCardNo.substr(0, 6) + '********' + idCardNo.substr(14, 18) + } else { + return '' + } } } } diff --git a/src/views/dashboard/components/mapPicture.vue b/src/views/dashboard/components/mapPicture.vue index 1ad0949..fd95101 100644 --- a/src/views/dashboard/components/mapPicture.vue +++ b/src/views/dashboard/components/mapPicture.vue @@ -25,9 +25,9 @@
-
+
- 当日测温人数:{{ tab2.left.temp }} + 当日通行人数:{{ tab2.left.count }} 体温正常人数:{{ tab2.left.normal }} 体温异常人数:{{ tab2.left.abnormal }}
@@ -129,7 +129,7 @@ }, tab2: { left: { - temp: '0', + count: '0', normal: '0', abnormal: '0' }, @@ -203,7 +203,7 @@ startTime: startTime1, endTime: endTime1 } - // 获取当日数据 + // 获取七日数据 countbyLocation(listQuery1).then(response => { var data = response.data // 四层 @@ -238,40 +238,33 @@ } .tip-div { border: 1pt solid lime; - z-index: 9999; position: relative; background-color: #304156; padding: 10px; - /*float:left;*/ - /*clear:both;*/ - display: inline-block; width: 135px; } - .tip1-l-loc { margin-top: 155%; margin-left: 60%; } - .tip1-r-loc { margin-top: -5%; margin-left: 185%; } - .tip2-l-loc { margin-top: 155%; margin-left: 255%; } - .tip2-r-loc { margin-top: -3%; margin-left: 315%; } - .tip3-l-loc { margin-top: -3%; margin-left: 67%; } - .tip3-r-loc { margin-top: -3%; margin-left: 310%; } - .tip4-loc { margin-top: 150%; margin-left: 402%; } + .tip1-l-loc { margin-top: 235px; margin-left: 90px; } + .tip1-r-loc { margin-left: 205px; } + .tip2-l-loc { margin-top: 238px; margin-left: 385px; } + .tip2-r-loc { margin-left: 315px; } + .tip3-l-loc { margin-left: 98px; } + .tip3-r-loc { margin-left: 387px; } + .tip4-loc { margin-top: 230px; margin-left: 607px; } .point { width: 12px; height: 12px; background-color: lime; border-radius: 50%; - z-index:9999; position: relative; - display: inline-block; - /*float:left;*/ - /*clear:both;*/ + /*display: inline-block;*/ } - .point-tab1-l-loc { margin-left: 16%;} - .point-tab1-r-loc { margin-top: 120%; margin-left: 176%; } - .point-tab2-l-loc { margin-left: 340%; } - .point-tab2-r-loc { margin-top: 70%; margin-left: 309%; } - .point-tab3-l-loc { margin-top: 182%; margin-left: 33%; } - .point-tab3-r-loc { margin-top: 180%; margin-left: 303%; } - .point-tab4-loc { margin-left: 488%; } + .point-tab1-l-loc { margin-left: 82px;} + .point-tab1-r-loc { margin-top: 182px; margin-left: 196px; } + .point-tab2-l-loc { margin-left: 516px; } + .point-tab2-r-loc { margin-top: 70%; margin-left: 300%; } + .point-tab3-l-loc { margin-top: 276px; margin-left: 90px; } + .point-tab3-r-loc { margin-top: 270px; margin-left: 378px; } + .point-tab4-loc { margin-left: 738px; } /* 设置动画前颜色 */ .point-flicker:after { background-color: chartreuse; diff --git a/src/views/accessPermission/addStaffPerm.vue b/src/views/accessPermission/addStaffPerm.vue index 563610f..7ce5362 100644 --- a/src/views/accessPermission/addStaffPerm.vue +++ b/src/views/accessPermission/addStaffPerm.vue @@ -21,9 +21,10 @@ - + @@ -158,6 +159,14 @@ cancel: function() { this.dialogFormVisible = false this.$emit('watchChild') + }, + // 身份证号加密 + encrypIdCardNo(idCardNo) { + if (idCardNo) { + return idCardNo.substr(0, 6) + '********' + idCardNo.substr(14, 18) + } else { + return '' + } } } } diff --git a/src/views/accessPermission/addVisitorPerm.vue b/src/views/accessPermission/addVisitorPerm.vue index e2a4d11..6b71b5a 100644 --- a/src/views/accessPermission/addVisitorPerm.vue +++ b/src/views/accessPermission/addVisitorPerm.vue @@ -18,8 +18,9 @@ - + @@ -147,6 +148,14 @@ cancel: function() { this.dialogFormVisible = false this.$emit('watchChild') + }, + // 身份证号加密 + encrypIdCardNo(idCardNo) { + if (idCardNo) { + return idCardNo.substr(0, 6) + '********' + idCardNo.substr(14, 18) + } else { + return '' + } } } } diff --git a/src/views/accessPermission/listStaffPermission.vue b/src/views/accessPermission/listStaffPermission.vue index 25b9526..a168bb9 100644 --- a/src/views/accessPermission/listStaffPermission.vue +++ b/src/views/accessPermission/listStaffPermission.vue @@ -26,9 +26,10 @@ - + @@ -216,6 +217,14 @@ handleCurrentChange(val) { this.listQuery.offset = val this.fetchData() + }, + // 身份证号加密 + encrypIdCardNo(idCardNo) { + if (idCardNo) { + return idCardNo.substr(0, 6) + '********' + idCardNo.substr(14, 18) + } else { + return '' + } } } } diff --git a/src/views/accessPermission/listVisitorPermission.vue b/src/views/accessPermission/listVisitorPermission.vue index ddda124..1ce508c 100644 --- a/src/views/accessPermission/listVisitorPermission.vue +++ b/src/views/accessPermission/listVisitorPermission.vue @@ -23,9 +23,10 @@ - + @@ -206,6 +207,14 @@ handleCurrentChange(val) { this.listQuery.offset = val this.fetchData() + }, + // 身份证号加密 + encrypIdCardNo(idCardNo) { + if (idCardNo) { + return idCardNo.substr(0, 6) + '********' + idCardNo.substr(14, 18) + } else { + return '' + } } } } diff --git a/src/views/dashboard/components/mapPicture.vue b/src/views/dashboard/components/mapPicture.vue index 1ad0949..fd95101 100644 --- a/src/views/dashboard/components/mapPicture.vue +++ b/src/views/dashboard/components/mapPicture.vue @@ -25,9 +25,9 @@
-
+
- 当日测温人数:{{ tab2.left.temp }} + 当日通行人数:{{ tab2.left.count }} 体温正常人数:{{ tab2.left.normal }} 体温异常人数:{{ tab2.left.abnormal }}
@@ -129,7 +129,7 @@ }, tab2: { left: { - temp: '0', + count: '0', normal: '0', abnormal: '0' }, @@ -203,7 +203,7 @@ startTime: startTime1, endTime: endTime1 } - // 获取当日数据 + // 获取七日数据 countbyLocation(listQuery1).then(response => { var data = response.data // 四层 @@ -238,40 +238,33 @@ } .tip-div { border: 1pt solid lime; - z-index: 9999; position: relative; background-color: #304156; padding: 10px; - /*float:left;*/ - /*clear:both;*/ - display: inline-block; width: 135px; } - .tip1-l-loc { margin-top: 155%; margin-left: 60%; } - .tip1-r-loc { margin-top: -5%; margin-left: 185%; } - .tip2-l-loc { margin-top: 155%; margin-left: 255%; } - .tip2-r-loc { margin-top: -3%; margin-left: 315%; } - .tip3-l-loc { margin-top: -3%; margin-left: 67%; } - .tip3-r-loc { margin-top: -3%; margin-left: 310%; } - .tip4-loc { margin-top: 150%; margin-left: 402%; } + .tip1-l-loc { margin-top: 235px; margin-left: 90px; } + .tip1-r-loc { margin-left: 205px; } + .tip2-l-loc { margin-top: 238px; margin-left: 385px; } + .tip2-r-loc { margin-left: 315px; } + .tip3-l-loc { margin-left: 98px; } + .tip3-r-loc { margin-left: 387px; } + .tip4-loc { margin-top: 230px; margin-left: 607px; } .point { width: 12px; height: 12px; background-color: lime; border-radius: 50%; - z-index:9999; position: relative; - display: inline-block; - /*float:left;*/ - /*clear:both;*/ + /*display: inline-block;*/ } - .point-tab1-l-loc { margin-left: 16%;} - .point-tab1-r-loc { margin-top: 120%; margin-left: 176%; } - .point-tab2-l-loc { margin-left: 340%; } - .point-tab2-r-loc { margin-top: 70%; margin-left: 309%; } - .point-tab3-l-loc { margin-top: 182%; margin-left: 33%; } - .point-tab3-r-loc { margin-top: 180%; margin-left: 303%; } - .point-tab4-loc { margin-left: 488%; } + .point-tab1-l-loc { margin-left: 82px;} + .point-tab1-r-loc { margin-top: 182px; margin-left: 196px; } + .point-tab2-l-loc { margin-left: 516px; } + .point-tab2-r-loc { margin-top: 70%; margin-left: 300%; } + .point-tab3-l-loc { margin-top: 276px; margin-left: 90px; } + .point-tab3-r-loc { margin-top: 270px; margin-left: 378px; } + .point-tab4-loc { margin-left: 738px; } /* 设置动画前颜色 */ .point-flicker:after { background-color: chartreuse; diff --git a/src/views/dashboard/components/passAnalysis.vue b/src/views/dashboard/components/passAnalysis.vue index 74923e5..ad0d1d2 100644 --- a/src/views/dashboard/components/passAnalysis.vue +++ b/src/views/dashboard/components/passAnalysis.vue @@ -80,11 +80,17 @@ endTime: endTime } peopleCountByDept(listQuery).then(response => { - const data = response.data - // const data = [ + var data = response.data + // data = [ // { 'deptId': 'ww9', 'deptName': 'ww', 'count': '27' }, // { 'deptId': 'ww9', 'deptName': 'ww2', 'count': '27' }, // { 'deptId': 'ww9', 'deptName': 'ww3', 'count': '27' }, + // { 'deptId': 'ww9', 'deptName': 'ww11', 'count': '27' }, + // { 'deptId': 'ww9', 'deptName': 'ww12', 'count': '27' }, + // { 'deptId': 'ww9', 'deptName': 'ww13', 'count': '27' }, + // { 'deptId': 'ww9', 'deptName': 'ww21', 'count': '27' }, + // { 'deptId': 'ww9', 'deptName': 'ww33', 'count': '27' }, + // { 'deptId': 'ww9', 'deptName': 'ww33', 'count': '27' }, // { 'deptId': 'ww9', 'deptName': 'ww4', 'count': '28' } // ] if (data.length !== 0) { diff --git a/src/views/accessPermission/addStaffPerm.vue b/src/views/accessPermission/addStaffPerm.vue index 563610f..7ce5362 100644 --- a/src/views/accessPermission/addStaffPerm.vue +++ b/src/views/accessPermission/addStaffPerm.vue @@ -21,9 +21,10 @@ - + @@ -158,6 +159,14 @@ cancel: function() { this.dialogFormVisible = false this.$emit('watchChild') + }, + // 身份证号加密 + encrypIdCardNo(idCardNo) { + if (idCardNo) { + return idCardNo.substr(0, 6) + '********' + idCardNo.substr(14, 18) + } else { + return '' + } } } } diff --git a/src/views/accessPermission/addVisitorPerm.vue b/src/views/accessPermission/addVisitorPerm.vue index e2a4d11..6b71b5a 100644 --- a/src/views/accessPermission/addVisitorPerm.vue +++ b/src/views/accessPermission/addVisitorPerm.vue @@ -18,8 +18,9 @@ - + @@ -147,6 +148,14 @@ cancel: function() { this.dialogFormVisible = false this.$emit('watchChild') + }, + // 身份证号加密 + encrypIdCardNo(idCardNo) { + if (idCardNo) { + return idCardNo.substr(0, 6) + '********' + idCardNo.substr(14, 18) + } else { + return '' + } } } } diff --git a/src/views/accessPermission/listStaffPermission.vue b/src/views/accessPermission/listStaffPermission.vue index 25b9526..a168bb9 100644 --- a/src/views/accessPermission/listStaffPermission.vue +++ b/src/views/accessPermission/listStaffPermission.vue @@ -26,9 +26,10 @@ - + @@ -216,6 +217,14 @@ handleCurrentChange(val) { this.listQuery.offset = val this.fetchData() + }, + // 身份证号加密 + encrypIdCardNo(idCardNo) { + if (idCardNo) { + return idCardNo.substr(0, 6) + '********' + idCardNo.substr(14, 18) + } else { + return '' + } } } } diff --git a/src/views/accessPermission/listVisitorPermission.vue b/src/views/accessPermission/listVisitorPermission.vue index ddda124..1ce508c 100644 --- a/src/views/accessPermission/listVisitorPermission.vue +++ b/src/views/accessPermission/listVisitorPermission.vue @@ -23,9 +23,10 @@ - + @@ -206,6 +207,14 @@ handleCurrentChange(val) { this.listQuery.offset = val this.fetchData() + }, + // 身份证号加密 + encrypIdCardNo(idCardNo) { + if (idCardNo) { + return idCardNo.substr(0, 6) + '********' + idCardNo.substr(14, 18) + } else { + return '' + } } } } diff --git a/src/views/dashboard/components/mapPicture.vue b/src/views/dashboard/components/mapPicture.vue index 1ad0949..fd95101 100644 --- a/src/views/dashboard/components/mapPicture.vue +++ b/src/views/dashboard/components/mapPicture.vue @@ -25,9 +25,9 @@
-
+
- 当日测温人数:{{ tab2.left.temp }} + 当日通行人数:{{ tab2.left.count }} 体温正常人数:{{ tab2.left.normal }} 体温异常人数:{{ tab2.left.abnormal }}
@@ -129,7 +129,7 @@ }, tab2: { left: { - temp: '0', + count: '0', normal: '0', abnormal: '0' }, @@ -203,7 +203,7 @@ startTime: startTime1, endTime: endTime1 } - // 获取当日数据 + // 获取七日数据 countbyLocation(listQuery1).then(response => { var data = response.data // 四层 @@ -238,40 +238,33 @@ } .tip-div { border: 1pt solid lime; - z-index: 9999; position: relative; background-color: #304156; padding: 10px; - /*float:left;*/ - /*clear:both;*/ - display: inline-block; width: 135px; } - .tip1-l-loc { margin-top: 155%; margin-left: 60%; } - .tip1-r-loc { margin-top: -5%; margin-left: 185%; } - .tip2-l-loc { margin-top: 155%; margin-left: 255%; } - .tip2-r-loc { margin-top: -3%; margin-left: 315%; } - .tip3-l-loc { margin-top: -3%; margin-left: 67%; } - .tip3-r-loc { margin-top: -3%; margin-left: 310%; } - .tip4-loc { margin-top: 150%; margin-left: 402%; } + .tip1-l-loc { margin-top: 235px; margin-left: 90px; } + .tip1-r-loc { margin-left: 205px; } + .tip2-l-loc { margin-top: 238px; margin-left: 385px; } + .tip2-r-loc { margin-left: 315px; } + .tip3-l-loc { margin-left: 98px; } + .tip3-r-loc { margin-left: 387px; } + .tip4-loc { margin-top: 230px; margin-left: 607px; } .point { width: 12px; height: 12px; background-color: lime; border-radius: 50%; - z-index:9999; position: relative; - display: inline-block; - /*float:left;*/ - /*clear:both;*/ + /*display: inline-block;*/ } - .point-tab1-l-loc { margin-left: 16%;} - .point-tab1-r-loc { margin-top: 120%; margin-left: 176%; } - .point-tab2-l-loc { margin-left: 340%; } - .point-tab2-r-loc { margin-top: 70%; margin-left: 309%; } - .point-tab3-l-loc { margin-top: 182%; margin-left: 33%; } - .point-tab3-r-loc { margin-top: 180%; margin-left: 303%; } - .point-tab4-loc { margin-left: 488%; } + .point-tab1-l-loc { margin-left: 82px;} + .point-tab1-r-loc { margin-top: 182px; margin-left: 196px; } + .point-tab2-l-loc { margin-left: 516px; } + .point-tab2-r-loc { margin-top: 70%; margin-left: 300%; } + .point-tab3-l-loc { margin-top: 276px; margin-left: 90px; } + .point-tab3-r-loc { margin-top: 270px; margin-left: 378px; } + .point-tab4-loc { margin-left: 738px; } /* 设置动画前颜色 */ .point-flicker:after { background-color: chartreuse; diff --git a/src/views/dashboard/components/passAnalysis.vue b/src/views/dashboard/components/passAnalysis.vue index 74923e5..ad0d1d2 100644 --- a/src/views/dashboard/components/passAnalysis.vue +++ b/src/views/dashboard/components/passAnalysis.vue @@ -80,11 +80,17 @@ endTime: endTime } peopleCountByDept(listQuery).then(response => { - const data = response.data - // const data = [ + var data = response.data + // data = [ // { 'deptId': 'ww9', 'deptName': 'ww', 'count': '27' }, // { 'deptId': 'ww9', 'deptName': 'ww2', 'count': '27' }, // { 'deptId': 'ww9', 'deptName': 'ww3', 'count': '27' }, + // { 'deptId': 'ww9', 'deptName': 'ww11', 'count': '27' }, + // { 'deptId': 'ww9', 'deptName': 'ww12', 'count': '27' }, + // { 'deptId': 'ww9', 'deptName': 'ww13', 'count': '27' }, + // { 'deptId': 'ww9', 'deptName': 'ww21', 'count': '27' }, + // { 'deptId': 'ww9', 'deptName': 'ww33', 'count': '27' }, + // { 'deptId': 'ww9', 'deptName': 'ww33', 'count': '27' }, // { 'deptId': 'ww9', 'deptName': 'ww4', 'count': '28' } // ] if (data.length !== 0) { diff --git a/src/views/dashboard/components/passOneDay.vue b/src/views/dashboard/components/passOneDay.vue index 8d02422..5152ca1 100644 --- a/src/views/dashboard/components/passOneDay.vue +++ b/src/views/dashboard/components/passOneDay.vue @@ -76,7 +76,7 @@ } } if (!hasData) { - this.chartExtend.yAxis.max = 10 + // this.chartExtend.yAxis.max = 10 } this.chartData.rows = data }) diff --git a/src/views/accessPermission/addStaffPerm.vue b/src/views/accessPermission/addStaffPerm.vue index 563610f..7ce5362 100644 --- a/src/views/accessPermission/addStaffPerm.vue +++ b/src/views/accessPermission/addStaffPerm.vue @@ -21,9 +21,10 @@ - + @@ -158,6 +159,14 @@ cancel: function() { this.dialogFormVisible = false this.$emit('watchChild') + }, + // 身份证号加密 + encrypIdCardNo(idCardNo) { + if (idCardNo) { + return idCardNo.substr(0, 6) + '********' + idCardNo.substr(14, 18) + } else { + return '' + } } } } diff --git a/src/views/accessPermission/addVisitorPerm.vue b/src/views/accessPermission/addVisitorPerm.vue index e2a4d11..6b71b5a 100644 --- a/src/views/accessPermission/addVisitorPerm.vue +++ b/src/views/accessPermission/addVisitorPerm.vue @@ -18,8 +18,9 @@ - + @@ -147,6 +148,14 @@ cancel: function() { this.dialogFormVisible = false this.$emit('watchChild') + }, + // 身份证号加密 + encrypIdCardNo(idCardNo) { + if (idCardNo) { + return idCardNo.substr(0, 6) + '********' + idCardNo.substr(14, 18) + } else { + return '' + } } } } diff --git a/src/views/accessPermission/listStaffPermission.vue b/src/views/accessPermission/listStaffPermission.vue index 25b9526..a168bb9 100644 --- a/src/views/accessPermission/listStaffPermission.vue +++ b/src/views/accessPermission/listStaffPermission.vue @@ -26,9 +26,10 @@ - + @@ -216,6 +217,14 @@ handleCurrentChange(val) { this.listQuery.offset = val this.fetchData() + }, + // 身份证号加密 + encrypIdCardNo(idCardNo) { + if (idCardNo) { + return idCardNo.substr(0, 6) + '********' + idCardNo.substr(14, 18) + } else { + return '' + } } } } diff --git a/src/views/accessPermission/listVisitorPermission.vue b/src/views/accessPermission/listVisitorPermission.vue index ddda124..1ce508c 100644 --- a/src/views/accessPermission/listVisitorPermission.vue +++ b/src/views/accessPermission/listVisitorPermission.vue @@ -23,9 +23,10 @@ - + @@ -206,6 +207,14 @@ handleCurrentChange(val) { this.listQuery.offset = val this.fetchData() + }, + // 身份证号加密 + encrypIdCardNo(idCardNo) { + if (idCardNo) { + return idCardNo.substr(0, 6) + '********' + idCardNo.substr(14, 18) + } else { + return '' + } } } } diff --git a/src/views/dashboard/components/mapPicture.vue b/src/views/dashboard/components/mapPicture.vue index 1ad0949..fd95101 100644 --- a/src/views/dashboard/components/mapPicture.vue +++ b/src/views/dashboard/components/mapPicture.vue @@ -25,9 +25,9 @@
-
+
- 当日测温人数:{{ tab2.left.temp }} + 当日通行人数:{{ tab2.left.count }} 体温正常人数:{{ tab2.left.normal }} 体温异常人数:{{ tab2.left.abnormal }}
@@ -129,7 +129,7 @@ }, tab2: { left: { - temp: '0', + count: '0', normal: '0', abnormal: '0' }, @@ -203,7 +203,7 @@ startTime: startTime1, endTime: endTime1 } - // 获取当日数据 + // 获取七日数据 countbyLocation(listQuery1).then(response => { var data = response.data // 四层 @@ -238,40 +238,33 @@ } .tip-div { border: 1pt solid lime; - z-index: 9999; position: relative; background-color: #304156; padding: 10px; - /*float:left;*/ - /*clear:both;*/ - display: inline-block; width: 135px; } - .tip1-l-loc { margin-top: 155%; margin-left: 60%; } - .tip1-r-loc { margin-top: -5%; margin-left: 185%; } - .tip2-l-loc { margin-top: 155%; margin-left: 255%; } - .tip2-r-loc { margin-top: -3%; margin-left: 315%; } - .tip3-l-loc { margin-top: -3%; margin-left: 67%; } - .tip3-r-loc { margin-top: -3%; margin-left: 310%; } - .tip4-loc { margin-top: 150%; margin-left: 402%; } + .tip1-l-loc { margin-top: 235px; margin-left: 90px; } + .tip1-r-loc { margin-left: 205px; } + .tip2-l-loc { margin-top: 238px; margin-left: 385px; } + .tip2-r-loc { margin-left: 315px; } + .tip3-l-loc { margin-left: 98px; } + .tip3-r-loc { margin-left: 387px; } + .tip4-loc { margin-top: 230px; margin-left: 607px; } .point { width: 12px; height: 12px; background-color: lime; border-radius: 50%; - z-index:9999; position: relative; - display: inline-block; - /*float:left;*/ - /*clear:both;*/ + /*display: inline-block;*/ } - .point-tab1-l-loc { margin-left: 16%;} - .point-tab1-r-loc { margin-top: 120%; margin-left: 176%; } - .point-tab2-l-loc { margin-left: 340%; } - .point-tab2-r-loc { margin-top: 70%; margin-left: 309%; } - .point-tab3-l-loc { margin-top: 182%; margin-left: 33%; } - .point-tab3-r-loc { margin-top: 180%; margin-left: 303%; } - .point-tab4-loc { margin-left: 488%; } + .point-tab1-l-loc { margin-left: 82px;} + .point-tab1-r-loc { margin-top: 182px; margin-left: 196px; } + .point-tab2-l-loc { margin-left: 516px; } + .point-tab2-r-loc { margin-top: 70%; margin-left: 300%; } + .point-tab3-l-loc { margin-top: 276px; margin-left: 90px; } + .point-tab3-r-loc { margin-top: 270px; margin-left: 378px; } + .point-tab4-loc { margin-left: 738px; } /* 设置动画前颜色 */ .point-flicker:after { background-color: chartreuse; diff --git a/src/views/dashboard/components/passAnalysis.vue b/src/views/dashboard/components/passAnalysis.vue index 74923e5..ad0d1d2 100644 --- a/src/views/dashboard/components/passAnalysis.vue +++ b/src/views/dashboard/components/passAnalysis.vue @@ -80,11 +80,17 @@ endTime: endTime } peopleCountByDept(listQuery).then(response => { - const data = response.data - // const data = [ + var data = response.data + // data = [ // { 'deptId': 'ww9', 'deptName': 'ww', 'count': '27' }, // { 'deptId': 'ww9', 'deptName': 'ww2', 'count': '27' }, // { 'deptId': 'ww9', 'deptName': 'ww3', 'count': '27' }, + // { 'deptId': 'ww9', 'deptName': 'ww11', 'count': '27' }, + // { 'deptId': 'ww9', 'deptName': 'ww12', 'count': '27' }, + // { 'deptId': 'ww9', 'deptName': 'ww13', 'count': '27' }, + // { 'deptId': 'ww9', 'deptName': 'ww21', 'count': '27' }, + // { 'deptId': 'ww9', 'deptName': 'ww33', 'count': '27' }, + // { 'deptId': 'ww9', 'deptName': 'ww33', 'count': '27' }, // { 'deptId': 'ww9', 'deptName': 'ww4', 'count': '28' } // ] if (data.length !== 0) { diff --git a/src/views/dashboard/components/passOneDay.vue b/src/views/dashboard/components/passOneDay.vue index 8d02422..5152ca1 100644 --- a/src/views/dashboard/components/passOneDay.vue +++ b/src/views/dashboard/components/passOneDay.vue @@ -76,7 +76,7 @@ } } if (!hasData) { - this.chartExtend.yAxis.max = 10 + // this.chartExtend.yAxis.max = 10 } this.chartData.rows = data }) diff --git a/src/views/dashboard/components/tempAnalysis.vue b/src/views/dashboard/components/tempAnalysis.vue index 8875f5a..019d103 100644 --- a/src/views/dashboard/components/tempAnalysis.vue +++ b/src/views/dashboard/components/tempAnalysis.vue @@ -49,7 +49,7 @@ xAxis: { axisLabel: { interval: 0, - rotate: 45 // 代表逆时针旋转45度 + rotate: 25 // 代表逆时针旋转45度 } }, yAxis: { @@ -140,7 +140,7 @@ data0['temp3'] = 0 data0['temp4'] = 0 data.push(data0) - this.chartExtends.yAxis.max = 10 + // this.chartExtends.yAxis.max = 10 } this.chartData.rows = data }) diff --git a/src/views/accessPermission/addStaffPerm.vue b/src/views/accessPermission/addStaffPerm.vue index 563610f..7ce5362 100644 --- a/src/views/accessPermission/addStaffPerm.vue +++ b/src/views/accessPermission/addStaffPerm.vue @@ -21,9 +21,10 @@ - + @@ -158,6 +159,14 @@ cancel: function() { this.dialogFormVisible = false this.$emit('watchChild') + }, + // 身份证号加密 + encrypIdCardNo(idCardNo) { + if (idCardNo) { + return idCardNo.substr(0, 6) + '********' + idCardNo.substr(14, 18) + } else { + return '' + } } } } diff --git a/src/views/accessPermission/addVisitorPerm.vue b/src/views/accessPermission/addVisitorPerm.vue index e2a4d11..6b71b5a 100644 --- a/src/views/accessPermission/addVisitorPerm.vue +++ b/src/views/accessPermission/addVisitorPerm.vue @@ -18,8 +18,9 @@ - + @@ -147,6 +148,14 @@ cancel: function() { this.dialogFormVisible = false this.$emit('watchChild') + }, + // 身份证号加密 + encrypIdCardNo(idCardNo) { + if (idCardNo) { + return idCardNo.substr(0, 6) + '********' + idCardNo.substr(14, 18) + } else { + return '' + } } } } diff --git a/src/views/accessPermission/listStaffPermission.vue b/src/views/accessPermission/listStaffPermission.vue index 25b9526..a168bb9 100644 --- a/src/views/accessPermission/listStaffPermission.vue +++ b/src/views/accessPermission/listStaffPermission.vue @@ -26,9 +26,10 @@ - + @@ -216,6 +217,14 @@ handleCurrentChange(val) { this.listQuery.offset = val this.fetchData() + }, + // 身份证号加密 + encrypIdCardNo(idCardNo) { + if (idCardNo) { + return idCardNo.substr(0, 6) + '********' + idCardNo.substr(14, 18) + } else { + return '' + } } } } diff --git a/src/views/accessPermission/listVisitorPermission.vue b/src/views/accessPermission/listVisitorPermission.vue index ddda124..1ce508c 100644 --- a/src/views/accessPermission/listVisitorPermission.vue +++ b/src/views/accessPermission/listVisitorPermission.vue @@ -23,9 +23,10 @@ - + @@ -206,6 +207,14 @@ handleCurrentChange(val) { this.listQuery.offset = val this.fetchData() + }, + // 身份证号加密 + encrypIdCardNo(idCardNo) { + if (idCardNo) { + return idCardNo.substr(0, 6) + '********' + idCardNo.substr(14, 18) + } else { + return '' + } } } } diff --git a/src/views/dashboard/components/mapPicture.vue b/src/views/dashboard/components/mapPicture.vue index 1ad0949..fd95101 100644 --- a/src/views/dashboard/components/mapPicture.vue +++ b/src/views/dashboard/components/mapPicture.vue @@ -25,9 +25,9 @@
-
+
- 当日测温人数:{{ tab2.left.temp }} + 当日通行人数:{{ tab2.left.count }} 体温正常人数:{{ tab2.left.normal }} 体温异常人数:{{ tab2.left.abnormal }}
@@ -129,7 +129,7 @@ }, tab2: { left: { - temp: '0', + count: '0', normal: '0', abnormal: '0' }, @@ -203,7 +203,7 @@ startTime: startTime1, endTime: endTime1 } - // 获取当日数据 + // 获取七日数据 countbyLocation(listQuery1).then(response => { var data = response.data // 四层 @@ -238,40 +238,33 @@ } .tip-div { border: 1pt solid lime; - z-index: 9999; position: relative; background-color: #304156; padding: 10px; - /*float:left;*/ - /*clear:both;*/ - display: inline-block; width: 135px; } - .tip1-l-loc { margin-top: 155%; margin-left: 60%; } - .tip1-r-loc { margin-top: -5%; margin-left: 185%; } - .tip2-l-loc { margin-top: 155%; margin-left: 255%; } - .tip2-r-loc { margin-top: -3%; margin-left: 315%; } - .tip3-l-loc { margin-top: -3%; margin-left: 67%; } - .tip3-r-loc { margin-top: -3%; margin-left: 310%; } - .tip4-loc { margin-top: 150%; margin-left: 402%; } + .tip1-l-loc { margin-top: 235px; margin-left: 90px; } + .tip1-r-loc { margin-left: 205px; } + .tip2-l-loc { margin-top: 238px; margin-left: 385px; } + .tip2-r-loc { margin-left: 315px; } + .tip3-l-loc { margin-left: 98px; } + .tip3-r-loc { margin-left: 387px; } + .tip4-loc { margin-top: 230px; margin-left: 607px; } .point { width: 12px; height: 12px; background-color: lime; border-radius: 50%; - z-index:9999; position: relative; - display: inline-block; - /*float:left;*/ - /*clear:both;*/ + /*display: inline-block;*/ } - .point-tab1-l-loc { margin-left: 16%;} - .point-tab1-r-loc { margin-top: 120%; margin-left: 176%; } - .point-tab2-l-loc { margin-left: 340%; } - .point-tab2-r-loc { margin-top: 70%; margin-left: 309%; } - .point-tab3-l-loc { margin-top: 182%; margin-left: 33%; } - .point-tab3-r-loc { margin-top: 180%; margin-left: 303%; } - .point-tab4-loc { margin-left: 488%; } + .point-tab1-l-loc { margin-left: 82px;} + .point-tab1-r-loc { margin-top: 182px; margin-left: 196px; } + .point-tab2-l-loc { margin-left: 516px; } + .point-tab2-r-loc { margin-top: 70%; margin-left: 300%; } + .point-tab3-l-loc { margin-top: 276px; margin-left: 90px; } + .point-tab3-r-loc { margin-top: 270px; margin-left: 378px; } + .point-tab4-loc { margin-left: 738px; } /* 设置动画前颜色 */ .point-flicker:after { background-color: chartreuse; diff --git a/src/views/dashboard/components/passAnalysis.vue b/src/views/dashboard/components/passAnalysis.vue index 74923e5..ad0d1d2 100644 --- a/src/views/dashboard/components/passAnalysis.vue +++ b/src/views/dashboard/components/passAnalysis.vue @@ -80,11 +80,17 @@ endTime: endTime } peopleCountByDept(listQuery).then(response => { - const data = response.data - // const data = [ + var data = response.data + // data = [ // { 'deptId': 'ww9', 'deptName': 'ww', 'count': '27' }, // { 'deptId': 'ww9', 'deptName': 'ww2', 'count': '27' }, // { 'deptId': 'ww9', 'deptName': 'ww3', 'count': '27' }, + // { 'deptId': 'ww9', 'deptName': 'ww11', 'count': '27' }, + // { 'deptId': 'ww9', 'deptName': 'ww12', 'count': '27' }, + // { 'deptId': 'ww9', 'deptName': 'ww13', 'count': '27' }, + // { 'deptId': 'ww9', 'deptName': 'ww21', 'count': '27' }, + // { 'deptId': 'ww9', 'deptName': 'ww33', 'count': '27' }, + // { 'deptId': 'ww9', 'deptName': 'ww33', 'count': '27' }, // { 'deptId': 'ww9', 'deptName': 'ww4', 'count': '28' } // ] if (data.length !== 0) { diff --git a/src/views/dashboard/components/passOneDay.vue b/src/views/dashboard/components/passOneDay.vue index 8d02422..5152ca1 100644 --- a/src/views/dashboard/components/passOneDay.vue +++ b/src/views/dashboard/components/passOneDay.vue @@ -76,7 +76,7 @@ } } if (!hasData) { - this.chartExtend.yAxis.max = 10 + // this.chartExtend.yAxis.max = 10 } this.chartData.rows = data }) diff --git a/src/views/dashboard/components/tempAnalysis.vue b/src/views/dashboard/components/tempAnalysis.vue index 8875f5a..019d103 100644 --- a/src/views/dashboard/components/tempAnalysis.vue +++ b/src/views/dashboard/components/tempAnalysis.vue @@ -49,7 +49,7 @@ xAxis: { axisLabel: { interval: 0, - rotate: 45 // 代表逆时针旋转45度 + rotate: 25 // 代表逆时针旋转45度 } }, yAxis: { @@ -140,7 +140,7 @@ data0['temp3'] = 0 data0['temp4'] = 0 data.push(data0) - this.chartExtends.yAxis.max = 10 + // this.chartExtends.yAxis.max = 10 } this.chartData.rows = data }) diff --git a/src/views/dashboard/components/tempOneDay.vue b/src/views/dashboard/components/tempOneDay.vue index a53b5a5..35e9ed7 100644 --- a/src/views/dashboard/components/tempOneDay.vue +++ b/src/views/dashboard/components/tempOneDay.vue @@ -79,7 +79,7 @@ } } if (!hasData) { - this.chartExtend.yAxis.max = 10 + // this.chartExtend.yAxis.max = 10 } this.chartData.rows = data }) diff --git a/src/views/accessPermission/addStaffPerm.vue b/src/views/accessPermission/addStaffPerm.vue index 563610f..7ce5362 100644 --- a/src/views/accessPermission/addStaffPerm.vue +++ b/src/views/accessPermission/addStaffPerm.vue @@ -21,9 +21,10 @@ - + @@ -158,6 +159,14 @@ cancel: function() { this.dialogFormVisible = false this.$emit('watchChild') + }, + // 身份证号加密 + encrypIdCardNo(idCardNo) { + if (idCardNo) { + return idCardNo.substr(0, 6) + '********' + idCardNo.substr(14, 18) + } else { + return '' + } } } } diff --git a/src/views/accessPermission/addVisitorPerm.vue b/src/views/accessPermission/addVisitorPerm.vue index e2a4d11..6b71b5a 100644 --- a/src/views/accessPermission/addVisitorPerm.vue +++ b/src/views/accessPermission/addVisitorPerm.vue @@ -18,8 +18,9 @@ - + @@ -147,6 +148,14 @@ cancel: function() { this.dialogFormVisible = false this.$emit('watchChild') + }, + // 身份证号加密 + encrypIdCardNo(idCardNo) { + if (idCardNo) { + return idCardNo.substr(0, 6) + '********' + idCardNo.substr(14, 18) + } else { + return '' + } } } } diff --git a/src/views/accessPermission/listStaffPermission.vue b/src/views/accessPermission/listStaffPermission.vue index 25b9526..a168bb9 100644 --- a/src/views/accessPermission/listStaffPermission.vue +++ b/src/views/accessPermission/listStaffPermission.vue @@ -26,9 +26,10 @@ - + @@ -216,6 +217,14 @@ handleCurrentChange(val) { this.listQuery.offset = val this.fetchData() + }, + // 身份证号加密 + encrypIdCardNo(idCardNo) { + if (idCardNo) { + return idCardNo.substr(0, 6) + '********' + idCardNo.substr(14, 18) + } else { + return '' + } } } } diff --git a/src/views/accessPermission/listVisitorPermission.vue b/src/views/accessPermission/listVisitorPermission.vue index ddda124..1ce508c 100644 --- a/src/views/accessPermission/listVisitorPermission.vue +++ b/src/views/accessPermission/listVisitorPermission.vue @@ -23,9 +23,10 @@ - + @@ -206,6 +207,14 @@ handleCurrentChange(val) { this.listQuery.offset = val this.fetchData() + }, + // 身份证号加密 + encrypIdCardNo(idCardNo) { + if (idCardNo) { + return idCardNo.substr(0, 6) + '********' + idCardNo.substr(14, 18) + } else { + return '' + } } } } diff --git a/src/views/dashboard/components/mapPicture.vue b/src/views/dashboard/components/mapPicture.vue index 1ad0949..fd95101 100644 --- a/src/views/dashboard/components/mapPicture.vue +++ b/src/views/dashboard/components/mapPicture.vue @@ -25,9 +25,9 @@
-
+
- 当日测温人数:{{ tab2.left.temp }} + 当日通行人数:{{ tab2.left.count }} 体温正常人数:{{ tab2.left.normal }} 体温异常人数:{{ tab2.left.abnormal }}
@@ -129,7 +129,7 @@ }, tab2: { left: { - temp: '0', + count: '0', normal: '0', abnormal: '0' }, @@ -203,7 +203,7 @@ startTime: startTime1, endTime: endTime1 } - // 获取当日数据 + // 获取七日数据 countbyLocation(listQuery1).then(response => { var data = response.data // 四层 @@ -238,40 +238,33 @@ } .tip-div { border: 1pt solid lime; - z-index: 9999; position: relative; background-color: #304156; padding: 10px; - /*float:left;*/ - /*clear:both;*/ - display: inline-block; width: 135px; } - .tip1-l-loc { margin-top: 155%; margin-left: 60%; } - .tip1-r-loc { margin-top: -5%; margin-left: 185%; } - .tip2-l-loc { margin-top: 155%; margin-left: 255%; } - .tip2-r-loc { margin-top: -3%; margin-left: 315%; } - .tip3-l-loc { margin-top: -3%; margin-left: 67%; } - .tip3-r-loc { margin-top: -3%; margin-left: 310%; } - .tip4-loc { margin-top: 150%; margin-left: 402%; } + .tip1-l-loc { margin-top: 235px; margin-left: 90px; } + .tip1-r-loc { margin-left: 205px; } + .tip2-l-loc { margin-top: 238px; margin-left: 385px; } + .tip2-r-loc { margin-left: 315px; } + .tip3-l-loc { margin-left: 98px; } + .tip3-r-loc { margin-left: 387px; } + .tip4-loc { margin-top: 230px; margin-left: 607px; } .point { width: 12px; height: 12px; background-color: lime; border-radius: 50%; - z-index:9999; position: relative; - display: inline-block; - /*float:left;*/ - /*clear:both;*/ + /*display: inline-block;*/ } - .point-tab1-l-loc { margin-left: 16%;} - .point-tab1-r-loc { margin-top: 120%; margin-left: 176%; } - .point-tab2-l-loc { margin-left: 340%; } - .point-tab2-r-loc { margin-top: 70%; margin-left: 309%; } - .point-tab3-l-loc { margin-top: 182%; margin-left: 33%; } - .point-tab3-r-loc { margin-top: 180%; margin-left: 303%; } - .point-tab4-loc { margin-left: 488%; } + .point-tab1-l-loc { margin-left: 82px;} + .point-tab1-r-loc { margin-top: 182px; margin-left: 196px; } + .point-tab2-l-loc { margin-left: 516px; } + .point-tab2-r-loc { margin-top: 70%; margin-left: 300%; } + .point-tab3-l-loc { margin-top: 276px; margin-left: 90px; } + .point-tab3-r-loc { margin-top: 270px; margin-left: 378px; } + .point-tab4-loc { margin-left: 738px; } /* 设置动画前颜色 */ .point-flicker:after { background-color: chartreuse; diff --git a/src/views/dashboard/components/passAnalysis.vue b/src/views/dashboard/components/passAnalysis.vue index 74923e5..ad0d1d2 100644 --- a/src/views/dashboard/components/passAnalysis.vue +++ b/src/views/dashboard/components/passAnalysis.vue @@ -80,11 +80,17 @@ endTime: endTime } peopleCountByDept(listQuery).then(response => { - const data = response.data - // const data = [ + var data = response.data + // data = [ // { 'deptId': 'ww9', 'deptName': 'ww', 'count': '27' }, // { 'deptId': 'ww9', 'deptName': 'ww2', 'count': '27' }, // { 'deptId': 'ww9', 'deptName': 'ww3', 'count': '27' }, + // { 'deptId': 'ww9', 'deptName': 'ww11', 'count': '27' }, + // { 'deptId': 'ww9', 'deptName': 'ww12', 'count': '27' }, + // { 'deptId': 'ww9', 'deptName': 'ww13', 'count': '27' }, + // { 'deptId': 'ww9', 'deptName': 'ww21', 'count': '27' }, + // { 'deptId': 'ww9', 'deptName': 'ww33', 'count': '27' }, + // { 'deptId': 'ww9', 'deptName': 'ww33', 'count': '27' }, // { 'deptId': 'ww9', 'deptName': 'ww4', 'count': '28' } // ] if (data.length !== 0) { diff --git a/src/views/dashboard/components/passOneDay.vue b/src/views/dashboard/components/passOneDay.vue index 8d02422..5152ca1 100644 --- a/src/views/dashboard/components/passOneDay.vue +++ b/src/views/dashboard/components/passOneDay.vue @@ -76,7 +76,7 @@ } } if (!hasData) { - this.chartExtend.yAxis.max = 10 + // this.chartExtend.yAxis.max = 10 } this.chartData.rows = data }) diff --git a/src/views/dashboard/components/tempAnalysis.vue b/src/views/dashboard/components/tempAnalysis.vue index 8875f5a..019d103 100644 --- a/src/views/dashboard/components/tempAnalysis.vue +++ b/src/views/dashboard/components/tempAnalysis.vue @@ -49,7 +49,7 @@ xAxis: { axisLabel: { interval: 0, - rotate: 45 // 代表逆时针旋转45度 + rotate: 25 // 代表逆时针旋转45度 } }, yAxis: { @@ -140,7 +140,7 @@ data0['temp3'] = 0 data0['temp4'] = 0 data.push(data0) - this.chartExtends.yAxis.max = 10 + // this.chartExtends.yAxis.max = 10 } this.chartData.rows = data }) diff --git a/src/views/dashboard/components/tempOneDay.vue b/src/views/dashboard/components/tempOneDay.vue index a53b5a5..35e9ed7 100644 --- a/src/views/dashboard/components/tempOneDay.vue +++ b/src/views/dashboard/components/tempOneDay.vue @@ -79,7 +79,7 @@ } } if (!hasData) { - this.chartExtend.yAxis.max = 10 + // this.chartExtend.yAxis.max = 10 } this.chartData.rows = data }) diff --git a/src/views/doorManage/controlDoor.vue b/src/views/doorManage/controlDoor.vue index a931668..63b45bf 100644 --- a/src/views/doorManage/controlDoor.vue +++ b/src/views/doorManage/controlDoor.vue @@ -107,8 +107,8 @@ }, // 保存数据 saveData: function() { - if(this.doorForm.beginDateTime >= this.doorForm.endDateTime){ - this.$message.warning("生效时间必须小于失效时间") + if (this.doorForm.openStatus !== '2' && this.doorForm.beginDateTime >= this.doorForm.endDateTime) { + this.$message.warning('生效时间必须小于失效时间') return } this.updateData() diff --git a/src/views/accessPermission/addStaffPerm.vue b/src/views/accessPermission/addStaffPerm.vue index 563610f..7ce5362 100644 --- a/src/views/accessPermission/addStaffPerm.vue +++ b/src/views/accessPermission/addStaffPerm.vue @@ -21,9 +21,10 @@ - + @@ -158,6 +159,14 @@ cancel: function() { this.dialogFormVisible = false this.$emit('watchChild') + }, + // 身份证号加密 + encrypIdCardNo(idCardNo) { + if (idCardNo) { + return idCardNo.substr(0, 6) + '********' + idCardNo.substr(14, 18) + } else { + return '' + } } } } diff --git a/src/views/accessPermission/addVisitorPerm.vue b/src/views/accessPermission/addVisitorPerm.vue index e2a4d11..6b71b5a 100644 --- a/src/views/accessPermission/addVisitorPerm.vue +++ b/src/views/accessPermission/addVisitorPerm.vue @@ -18,8 +18,9 @@ - + @@ -147,6 +148,14 @@ cancel: function() { this.dialogFormVisible = false this.$emit('watchChild') + }, + // 身份证号加密 + encrypIdCardNo(idCardNo) { + if (idCardNo) { + return idCardNo.substr(0, 6) + '********' + idCardNo.substr(14, 18) + } else { + return '' + } } } } diff --git a/src/views/accessPermission/listStaffPermission.vue b/src/views/accessPermission/listStaffPermission.vue index 25b9526..a168bb9 100644 --- a/src/views/accessPermission/listStaffPermission.vue +++ b/src/views/accessPermission/listStaffPermission.vue @@ -26,9 +26,10 @@ - + @@ -216,6 +217,14 @@ handleCurrentChange(val) { this.listQuery.offset = val this.fetchData() + }, + // 身份证号加密 + encrypIdCardNo(idCardNo) { + if (idCardNo) { + return idCardNo.substr(0, 6) + '********' + idCardNo.substr(14, 18) + } else { + return '' + } } } } diff --git a/src/views/accessPermission/listVisitorPermission.vue b/src/views/accessPermission/listVisitorPermission.vue index ddda124..1ce508c 100644 --- a/src/views/accessPermission/listVisitorPermission.vue +++ b/src/views/accessPermission/listVisitorPermission.vue @@ -23,9 +23,10 @@ - + @@ -206,6 +207,14 @@ handleCurrentChange(val) { this.listQuery.offset = val this.fetchData() + }, + // 身份证号加密 + encrypIdCardNo(idCardNo) { + if (idCardNo) { + return idCardNo.substr(0, 6) + '********' + idCardNo.substr(14, 18) + } else { + return '' + } } } } diff --git a/src/views/dashboard/components/mapPicture.vue b/src/views/dashboard/components/mapPicture.vue index 1ad0949..fd95101 100644 --- a/src/views/dashboard/components/mapPicture.vue +++ b/src/views/dashboard/components/mapPicture.vue @@ -25,9 +25,9 @@
-
+
- 当日测温人数:{{ tab2.left.temp }} + 当日通行人数:{{ tab2.left.count }} 体温正常人数:{{ tab2.left.normal }} 体温异常人数:{{ tab2.left.abnormal }}
@@ -129,7 +129,7 @@ }, tab2: { left: { - temp: '0', + count: '0', normal: '0', abnormal: '0' }, @@ -203,7 +203,7 @@ startTime: startTime1, endTime: endTime1 } - // 获取当日数据 + // 获取七日数据 countbyLocation(listQuery1).then(response => { var data = response.data // 四层 @@ -238,40 +238,33 @@ } .tip-div { border: 1pt solid lime; - z-index: 9999; position: relative; background-color: #304156; padding: 10px; - /*float:left;*/ - /*clear:both;*/ - display: inline-block; width: 135px; } - .tip1-l-loc { margin-top: 155%; margin-left: 60%; } - .tip1-r-loc { margin-top: -5%; margin-left: 185%; } - .tip2-l-loc { margin-top: 155%; margin-left: 255%; } - .tip2-r-loc { margin-top: -3%; margin-left: 315%; } - .tip3-l-loc { margin-top: -3%; margin-left: 67%; } - .tip3-r-loc { margin-top: -3%; margin-left: 310%; } - .tip4-loc { margin-top: 150%; margin-left: 402%; } + .tip1-l-loc { margin-top: 235px; margin-left: 90px; } + .tip1-r-loc { margin-left: 205px; } + .tip2-l-loc { margin-top: 238px; margin-left: 385px; } + .tip2-r-loc { margin-left: 315px; } + .tip3-l-loc { margin-left: 98px; } + .tip3-r-loc { margin-left: 387px; } + .tip4-loc { margin-top: 230px; margin-left: 607px; } .point { width: 12px; height: 12px; background-color: lime; border-radius: 50%; - z-index:9999; position: relative; - display: inline-block; - /*float:left;*/ - /*clear:both;*/ + /*display: inline-block;*/ } - .point-tab1-l-loc { margin-left: 16%;} - .point-tab1-r-loc { margin-top: 120%; margin-left: 176%; } - .point-tab2-l-loc { margin-left: 340%; } - .point-tab2-r-loc { margin-top: 70%; margin-left: 309%; } - .point-tab3-l-loc { margin-top: 182%; margin-left: 33%; } - .point-tab3-r-loc { margin-top: 180%; margin-left: 303%; } - .point-tab4-loc { margin-left: 488%; } + .point-tab1-l-loc { margin-left: 82px;} + .point-tab1-r-loc { margin-top: 182px; margin-left: 196px; } + .point-tab2-l-loc { margin-left: 516px; } + .point-tab2-r-loc { margin-top: 70%; margin-left: 300%; } + .point-tab3-l-loc { margin-top: 276px; margin-left: 90px; } + .point-tab3-r-loc { margin-top: 270px; margin-left: 378px; } + .point-tab4-loc { margin-left: 738px; } /* 设置动画前颜色 */ .point-flicker:after { background-color: chartreuse; diff --git a/src/views/dashboard/components/passAnalysis.vue b/src/views/dashboard/components/passAnalysis.vue index 74923e5..ad0d1d2 100644 --- a/src/views/dashboard/components/passAnalysis.vue +++ b/src/views/dashboard/components/passAnalysis.vue @@ -80,11 +80,17 @@ endTime: endTime } peopleCountByDept(listQuery).then(response => { - const data = response.data - // const data = [ + var data = response.data + // data = [ // { 'deptId': 'ww9', 'deptName': 'ww', 'count': '27' }, // { 'deptId': 'ww9', 'deptName': 'ww2', 'count': '27' }, // { 'deptId': 'ww9', 'deptName': 'ww3', 'count': '27' }, + // { 'deptId': 'ww9', 'deptName': 'ww11', 'count': '27' }, + // { 'deptId': 'ww9', 'deptName': 'ww12', 'count': '27' }, + // { 'deptId': 'ww9', 'deptName': 'ww13', 'count': '27' }, + // { 'deptId': 'ww9', 'deptName': 'ww21', 'count': '27' }, + // { 'deptId': 'ww9', 'deptName': 'ww33', 'count': '27' }, + // { 'deptId': 'ww9', 'deptName': 'ww33', 'count': '27' }, // { 'deptId': 'ww9', 'deptName': 'ww4', 'count': '28' } // ] if (data.length !== 0) { diff --git a/src/views/dashboard/components/passOneDay.vue b/src/views/dashboard/components/passOneDay.vue index 8d02422..5152ca1 100644 --- a/src/views/dashboard/components/passOneDay.vue +++ b/src/views/dashboard/components/passOneDay.vue @@ -76,7 +76,7 @@ } } if (!hasData) { - this.chartExtend.yAxis.max = 10 + // this.chartExtend.yAxis.max = 10 } this.chartData.rows = data }) diff --git a/src/views/dashboard/components/tempAnalysis.vue b/src/views/dashboard/components/tempAnalysis.vue index 8875f5a..019d103 100644 --- a/src/views/dashboard/components/tempAnalysis.vue +++ b/src/views/dashboard/components/tempAnalysis.vue @@ -49,7 +49,7 @@ xAxis: { axisLabel: { interval: 0, - rotate: 45 // 代表逆时针旋转45度 + rotate: 25 // 代表逆时针旋转45度 } }, yAxis: { @@ -140,7 +140,7 @@ data0['temp3'] = 0 data0['temp4'] = 0 data.push(data0) - this.chartExtends.yAxis.max = 10 + // this.chartExtends.yAxis.max = 10 } this.chartData.rows = data }) diff --git a/src/views/dashboard/components/tempOneDay.vue b/src/views/dashboard/components/tempOneDay.vue index a53b5a5..35e9ed7 100644 --- a/src/views/dashboard/components/tempOneDay.vue +++ b/src/views/dashboard/components/tempOneDay.vue @@ -79,7 +79,7 @@ } } if (!hasData) { - this.chartExtend.yAxis.max = 10 + // this.chartExtend.yAxis.max = 10 } this.chartData.rows = data }) diff --git a/src/views/doorManage/controlDoor.vue b/src/views/doorManage/controlDoor.vue index a931668..63b45bf 100644 --- a/src/views/doorManage/controlDoor.vue +++ b/src/views/doorManage/controlDoor.vue @@ -107,8 +107,8 @@ }, // 保存数据 saveData: function() { - if(this.doorForm.beginDateTime >= this.doorForm.endDateTime){ - this.$message.warning("生效时间必须小于失效时间") + if (this.doorForm.openStatus !== '2' && this.doorForm.beginDateTime >= this.doorForm.endDateTime) { + this.$message.warning('生效时间必须小于失效时间') return } this.updateData() diff --git a/src/views/memberManage/addPerson.vue b/src/views/memberManage/addPerson.vue index 07cd00e..dd7ab9b 100644 --- a/src/views/memberManage/addPerson.vue +++ b/src/views/memberManage/addPerson.vue @@ -462,9 +462,9 @@ _this.personForm.idCardNo = data.IdCardNo _this.personForm.name = data.Name // if (window.frames['iframeIDCard'].Sex === '2') { this.personForm.sex = '女' } else { this.personForm.sex = '男' } - _this.personForm.sex = parseInt(data.Sex) + _this.personForm.sex = data.Sex var birth = data.Birthday - _this.personForm.birthday = birth.substring(0, 3) + '-' + birth.substring(4, 5) + '-' + birth.substring(6, 7) + _this.personForm.birthday = birth.substring(0, 4) + '-' + birth.substring(4, 6) + '-' + birth.substring(6, 8) _this.photo = data.Photo _this.personForm.nation = data.Nation var nationName = data.Nation diff --git a/src/views/accessPermission/addStaffPerm.vue b/src/views/accessPermission/addStaffPerm.vue index 563610f..7ce5362 100644 --- a/src/views/accessPermission/addStaffPerm.vue +++ b/src/views/accessPermission/addStaffPerm.vue @@ -21,9 +21,10 @@ - + @@ -158,6 +159,14 @@ cancel: function() { this.dialogFormVisible = false this.$emit('watchChild') + }, + // 身份证号加密 + encrypIdCardNo(idCardNo) { + if (idCardNo) { + return idCardNo.substr(0, 6) + '********' + idCardNo.substr(14, 18) + } else { + return '' + } } } } diff --git a/src/views/accessPermission/addVisitorPerm.vue b/src/views/accessPermission/addVisitorPerm.vue index e2a4d11..6b71b5a 100644 --- a/src/views/accessPermission/addVisitorPerm.vue +++ b/src/views/accessPermission/addVisitorPerm.vue @@ -18,8 +18,9 @@ - + @@ -147,6 +148,14 @@ cancel: function() { this.dialogFormVisible = false this.$emit('watchChild') + }, + // 身份证号加密 + encrypIdCardNo(idCardNo) { + if (idCardNo) { + return idCardNo.substr(0, 6) + '********' + idCardNo.substr(14, 18) + } else { + return '' + } } } } diff --git a/src/views/accessPermission/listStaffPermission.vue b/src/views/accessPermission/listStaffPermission.vue index 25b9526..a168bb9 100644 --- a/src/views/accessPermission/listStaffPermission.vue +++ b/src/views/accessPermission/listStaffPermission.vue @@ -26,9 +26,10 @@ - + @@ -216,6 +217,14 @@ handleCurrentChange(val) { this.listQuery.offset = val this.fetchData() + }, + // 身份证号加密 + encrypIdCardNo(idCardNo) { + if (idCardNo) { + return idCardNo.substr(0, 6) + '********' + idCardNo.substr(14, 18) + } else { + return '' + } } } } diff --git a/src/views/accessPermission/listVisitorPermission.vue b/src/views/accessPermission/listVisitorPermission.vue index ddda124..1ce508c 100644 --- a/src/views/accessPermission/listVisitorPermission.vue +++ b/src/views/accessPermission/listVisitorPermission.vue @@ -23,9 +23,10 @@ - + @@ -206,6 +207,14 @@ handleCurrentChange(val) { this.listQuery.offset = val this.fetchData() + }, + // 身份证号加密 + encrypIdCardNo(idCardNo) { + if (idCardNo) { + return idCardNo.substr(0, 6) + '********' + idCardNo.substr(14, 18) + } else { + return '' + } } } } diff --git a/src/views/dashboard/components/mapPicture.vue b/src/views/dashboard/components/mapPicture.vue index 1ad0949..fd95101 100644 --- a/src/views/dashboard/components/mapPicture.vue +++ b/src/views/dashboard/components/mapPicture.vue @@ -25,9 +25,9 @@
-
+
- 当日测温人数:{{ tab2.left.temp }} + 当日通行人数:{{ tab2.left.count }} 体温正常人数:{{ tab2.left.normal }} 体温异常人数:{{ tab2.left.abnormal }}
@@ -129,7 +129,7 @@ }, tab2: { left: { - temp: '0', + count: '0', normal: '0', abnormal: '0' }, @@ -203,7 +203,7 @@ startTime: startTime1, endTime: endTime1 } - // 获取当日数据 + // 获取七日数据 countbyLocation(listQuery1).then(response => { var data = response.data // 四层 @@ -238,40 +238,33 @@ } .tip-div { border: 1pt solid lime; - z-index: 9999; position: relative; background-color: #304156; padding: 10px; - /*float:left;*/ - /*clear:both;*/ - display: inline-block; width: 135px; } - .tip1-l-loc { margin-top: 155%; margin-left: 60%; } - .tip1-r-loc { margin-top: -5%; margin-left: 185%; } - .tip2-l-loc { margin-top: 155%; margin-left: 255%; } - .tip2-r-loc { margin-top: -3%; margin-left: 315%; } - .tip3-l-loc { margin-top: -3%; margin-left: 67%; } - .tip3-r-loc { margin-top: -3%; margin-left: 310%; } - .tip4-loc { margin-top: 150%; margin-left: 402%; } + .tip1-l-loc { margin-top: 235px; margin-left: 90px; } + .tip1-r-loc { margin-left: 205px; } + .tip2-l-loc { margin-top: 238px; margin-left: 385px; } + .tip2-r-loc { margin-left: 315px; } + .tip3-l-loc { margin-left: 98px; } + .tip3-r-loc { margin-left: 387px; } + .tip4-loc { margin-top: 230px; margin-left: 607px; } .point { width: 12px; height: 12px; background-color: lime; border-radius: 50%; - z-index:9999; position: relative; - display: inline-block; - /*float:left;*/ - /*clear:both;*/ + /*display: inline-block;*/ } - .point-tab1-l-loc { margin-left: 16%;} - .point-tab1-r-loc { margin-top: 120%; margin-left: 176%; } - .point-tab2-l-loc { margin-left: 340%; } - .point-tab2-r-loc { margin-top: 70%; margin-left: 309%; } - .point-tab3-l-loc { margin-top: 182%; margin-left: 33%; } - .point-tab3-r-loc { margin-top: 180%; margin-left: 303%; } - .point-tab4-loc { margin-left: 488%; } + .point-tab1-l-loc { margin-left: 82px;} + .point-tab1-r-loc { margin-top: 182px; margin-left: 196px; } + .point-tab2-l-loc { margin-left: 516px; } + .point-tab2-r-loc { margin-top: 70%; margin-left: 300%; } + .point-tab3-l-loc { margin-top: 276px; margin-left: 90px; } + .point-tab3-r-loc { margin-top: 270px; margin-left: 378px; } + .point-tab4-loc { margin-left: 738px; } /* 设置动画前颜色 */ .point-flicker:after { background-color: chartreuse; diff --git a/src/views/dashboard/components/passAnalysis.vue b/src/views/dashboard/components/passAnalysis.vue index 74923e5..ad0d1d2 100644 --- a/src/views/dashboard/components/passAnalysis.vue +++ b/src/views/dashboard/components/passAnalysis.vue @@ -80,11 +80,17 @@ endTime: endTime } peopleCountByDept(listQuery).then(response => { - const data = response.data - // const data = [ + var data = response.data + // data = [ // { 'deptId': 'ww9', 'deptName': 'ww', 'count': '27' }, // { 'deptId': 'ww9', 'deptName': 'ww2', 'count': '27' }, // { 'deptId': 'ww9', 'deptName': 'ww3', 'count': '27' }, + // { 'deptId': 'ww9', 'deptName': 'ww11', 'count': '27' }, + // { 'deptId': 'ww9', 'deptName': 'ww12', 'count': '27' }, + // { 'deptId': 'ww9', 'deptName': 'ww13', 'count': '27' }, + // { 'deptId': 'ww9', 'deptName': 'ww21', 'count': '27' }, + // { 'deptId': 'ww9', 'deptName': 'ww33', 'count': '27' }, + // { 'deptId': 'ww9', 'deptName': 'ww33', 'count': '27' }, // { 'deptId': 'ww9', 'deptName': 'ww4', 'count': '28' } // ] if (data.length !== 0) { diff --git a/src/views/dashboard/components/passOneDay.vue b/src/views/dashboard/components/passOneDay.vue index 8d02422..5152ca1 100644 --- a/src/views/dashboard/components/passOneDay.vue +++ b/src/views/dashboard/components/passOneDay.vue @@ -76,7 +76,7 @@ } } if (!hasData) { - this.chartExtend.yAxis.max = 10 + // this.chartExtend.yAxis.max = 10 } this.chartData.rows = data }) diff --git a/src/views/dashboard/components/tempAnalysis.vue b/src/views/dashboard/components/tempAnalysis.vue index 8875f5a..019d103 100644 --- a/src/views/dashboard/components/tempAnalysis.vue +++ b/src/views/dashboard/components/tempAnalysis.vue @@ -49,7 +49,7 @@ xAxis: { axisLabel: { interval: 0, - rotate: 45 // 代表逆时针旋转45度 + rotate: 25 // 代表逆时针旋转45度 } }, yAxis: { @@ -140,7 +140,7 @@ data0['temp3'] = 0 data0['temp4'] = 0 data.push(data0) - this.chartExtends.yAxis.max = 10 + // this.chartExtends.yAxis.max = 10 } this.chartData.rows = data }) diff --git a/src/views/dashboard/components/tempOneDay.vue b/src/views/dashboard/components/tempOneDay.vue index a53b5a5..35e9ed7 100644 --- a/src/views/dashboard/components/tempOneDay.vue +++ b/src/views/dashboard/components/tempOneDay.vue @@ -79,7 +79,7 @@ } } if (!hasData) { - this.chartExtend.yAxis.max = 10 + // this.chartExtend.yAxis.max = 10 } this.chartData.rows = data }) diff --git a/src/views/doorManage/controlDoor.vue b/src/views/doorManage/controlDoor.vue index a931668..63b45bf 100644 --- a/src/views/doorManage/controlDoor.vue +++ b/src/views/doorManage/controlDoor.vue @@ -107,8 +107,8 @@ }, // 保存数据 saveData: function() { - if(this.doorForm.beginDateTime >= this.doorForm.endDateTime){ - this.$message.warning("生效时间必须小于失效时间") + if (this.doorForm.openStatus !== '2' && this.doorForm.beginDateTime >= this.doorForm.endDateTime) { + this.$message.warning('生效时间必须小于失效时间') return } this.updateData() diff --git a/src/views/memberManage/addPerson.vue b/src/views/memberManage/addPerson.vue index 07cd00e..dd7ab9b 100644 --- a/src/views/memberManage/addPerson.vue +++ b/src/views/memberManage/addPerson.vue @@ -462,9 +462,9 @@ _this.personForm.idCardNo = data.IdCardNo _this.personForm.name = data.Name // if (window.frames['iframeIDCard'].Sex === '2') { this.personForm.sex = '女' } else { this.personForm.sex = '男' } - _this.personForm.sex = parseInt(data.Sex) + _this.personForm.sex = data.Sex var birth = data.Birthday - _this.personForm.birthday = birth.substring(0, 3) + '-' + birth.substring(4, 5) + '-' + birth.substring(6, 7) + _this.personForm.birthday = birth.substring(0, 4) + '-' + birth.substring(4, 6) + '-' + birth.substring(6, 8) _this.photo = data.Photo _this.personForm.nation = data.Nation var nationName = data.Nation diff --git a/src/views/memberManage/addPersonIris.vue b/src/views/memberManage/addPersonIris.vue index b669b3a..3c1c0a7 100644 --- a/src/views/memberManage/addPersonIris.vue +++ b/src/views/memberManage/addPersonIris.vue @@ -502,9 +502,10 @@ _this.personForm.idCardNo = data.IdCardNo _this.personForm.name = data.Name // if (window.frames['iframeIDCard'].Sex === '2') { this.personForm.sex = '女' } else { this.personForm.sex = '男' } - _this.personForm.sex = parseInt(data.Sex) + debugger + _this.personForm.sex = data.Sex var birth = data.Birthday - _this.personForm.birthday = birth.substring(0, 3) + '-' + birth.substring(4, 5) + '-' + birth.substring(6, 7) + _this.personForm.birthday = birth.substring(0, 4) + '-' + birth.substring(4, 6) + '-' + birth.substring(6, 8) _this.photo = data.Photo _this.personForm.nation = data.Nation var nationName = data.Nation diff --git a/src/views/accessPermission/addStaffPerm.vue b/src/views/accessPermission/addStaffPerm.vue index 563610f..7ce5362 100644 --- a/src/views/accessPermission/addStaffPerm.vue +++ b/src/views/accessPermission/addStaffPerm.vue @@ -21,9 +21,10 @@ - + @@ -158,6 +159,14 @@ cancel: function() { this.dialogFormVisible = false this.$emit('watchChild') + }, + // 身份证号加密 + encrypIdCardNo(idCardNo) { + if (idCardNo) { + return idCardNo.substr(0, 6) + '********' + idCardNo.substr(14, 18) + } else { + return '' + } } } } diff --git a/src/views/accessPermission/addVisitorPerm.vue b/src/views/accessPermission/addVisitorPerm.vue index e2a4d11..6b71b5a 100644 --- a/src/views/accessPermission/addVisitorPerm.vue +++ b/src/views/accessPermission/addVisitorPerm.vue @@ -18,8 +18,9 @@ - + @@ -147,6 +148,14 @@ cancel: function() { this.dialogFormVisible = false this.$emit('watchChild') + }, + // 身份证号加密 + encrypIdCardNo(idCardNo) { + if (idCardNo) { + return idCardNo.substr(0, 6) + '********' + idCardNo.substr(14, 18) + } else { + return '' + } } } } diff --git a/src/views/accessPermission/listStaffPermission.vue b/src/views/accessPermission/listStaffPermission.vue index 25b9526..a168bb9 100644 --- a/src/views/accessPermission/listStaffPermission.vue +++ b/src/views/accessPermission/listStaffPermission.vue @@ -26,9 +26,10 @@ - + @@ -216,6 +217,14 @@ handleCurrentChange(val) { this.listQuery.offset = val this.fetchData() + }, + // 身份证号加密 + encrypIdCardNo(idCardNo) { + if (idCardNo) { + return idCardNo.substr(0, 6) + '********' + idCardNo.substr(14, 18) + } else { + return '' + } } } } diff --git a/src/views/accessPermission/listVisitorPermission.vue b/src/views/accessPermission/listVisitorPermission.vue index ddda124..1ce508c 100644 --- a/src/views/accessPermission/listVisitorPermission.vue +++ b/src/views/accessPermission/listVisitorPermission.vue @@ -23,9 +23,10 @@ - + @@ -206,6 +207,14 @@ handleCurrentChange(val) { this.listQuery.offset = val this.fetchData() + }, + // 身份证号加密 + encrypIdCardNo(idCardNo) { + if (idCardNo) { + return idCardNo.substr(0, 6) + '********' + idCardNo.substr(14, 18) + } else { + return '' + } } } } diff --git a/src/views/dashboard/components/mapPicture.vue b/src/views/dashboard/components/mapPicture.vue index 1ad0949..fd95101 100644 --- a/src/views/dashboard/components/mapPicture.vue +++ b/src/views/dashboard/components/mapPicture.vue @@ -25,9 +25,9 @@
-
+
- 当日测温人数:{{ tab2.left.temp }} + 当日通行人数:{{ tab2.left.count }} 体温正常人数:{{ tab2.left.normal }} 体温异常人数:{{ tab2.left.abnormal }}
@@ -129,7 +129,7 @@ }, tab2: { left: { - temp: '0', + count: '0', normal: '0', abnormal: '0' }, @@ -203,7 +203,7 @@ startTime: startTime1, endTime: endTime1 } - // 获取当日数据 + // 获取七日数据 countbyLocation(listQuery1).then(response => { var data = response.data // 四层 @@ -238,40 +238,33 @@ } .tip-div { border: 1pt solid lime; - z-index: 9999; position: relative; background-color: #304156; padding: 10px; - /*float:left;*/ - /*clear:both;*/ - display: inline-block; width: 135px; } - .tip1-l-loc { margin-top: 155%; margin-left: 60%; } - .tip1-r-loc { margin-top: -5%; margin-left: 185%; } - .tip2-l-loc { margin-top: 155%; margin-left: 255%; } - .tip2-r-loc { margin-top: -3%; margin-left: 315%; } - .tip3-l-loc { margin-top: -3%; margin-left: 67%; } - .tip3-r-loc { margin-top: -3%; margin-left: 310%; } - .tip4-loc { margin-top: 150%; margin-left: 402%; } + .tip1-l-loc { margin-top: 235px; margin-left: 90px; } + .tip1-r-loc { margin-left: 205px; } + .tip2-l-loc { margin-top: 238px; margin-left: 385px; } + .tip2-r-loc { margin-left: 315px; } + .tip3-l-loc { margin-left: 98px; } + .tip3-r-loc { margin-left: 387px; } + .tip4-loc { margin-top: 230px; margin-left: 607px; } .point { width: 12px; height: 12px; background-color: lime; border-radius: 50%; - z-index:9999; position: relative; - display: inline-block; - /*float:left;*/ - /*clear:both;*/ + /*display: inline-block;*/ } - .point-tab1-l-loc { margin-left: 16%;} - .point-tab1-r-loc { margin-top: 120%; margin-left: 176%; } - .point-tab2-l-loc { margin-left: 340%; } - .point-tab2-r-loc { margin-top: 70%; margin-left: 309%; } - .point-tab3-l-loc { margin-top: 182%; margin-left: 33%; } - .point-tab3-r-loc { margin-top: 180%; margin-left: 303%; } - .point-tab4-loc { margin-left: 488%; } + .point-tab1-l-loc { margin-left: 82px;} + .point-tab1-r-loc { margin-top: 182px; margin-left: 196px; } + .point-tab2-l-loc { margin-left: 516px; } + .point-tab2-r-loc { margin-top: 70%; margin-left: 300%; } + .point-tab3-l-loc { margin-top: 276px; margin-left: 90px; } + .point-tab3-r-loc { margin-top: 270px; margin-left: 378px; } + .point-tab4-loc { margin-left: 738px; } /* 设置动画前颜色 */ .point-flicker:after { background-color: chartreuse; diff --git a/src/views/dashboard/components/passAnalysis.vue b/src/views/dashboard/components/passAnalysis.vue index 74923e5..ad0d1d2 100644 --- a/src/views/dashboard/components/passAnalysis.vue +++ b/src/views/dashboard/components/passAnalysis.vue @@ -80,11 +80,17 @@ endTime: endTime } peopleCountByDept(listQuery).then(response => { - const data = response.data - // const data = [ + var data = response.data + // data = [ // { 'deptId': 'ww9', 'deptName': 'ww', 'count': '27' }, // { 'deptId': 'ww9', 'deptName': 'ww2', 'count': '27' }, // { 'deptId': 'ww9', 'deptName': 'ww3', 'count': '27' }, + // { 'deptId': 'ww9', 'deptName': 'ww11', 'count': '27' }, + // { 'deptId': 'ww9', 'deptName': 'ww12', 'count': '27' }, + // { 'deptId': 'ww9', 'deptName': 'ww13', 'count': '27' }, + // { 'deptId': 'ww9', 'deptName': 'ww21', 'count': '27' }, + // { 'deptId': 'ww9', 'deptName': 'ww33', 'count': '27' }, + // { 'deptId': 'ww9', 'deptName': 'ww33', 'count': '27' }, // { 'deptId': 'ww9', 'deptName': 'ww4', 'count': '28' } // ] if (data.length !== 0) { diff --git a/src/views/dashboard/components/passOneDay.vue b/src/views/dashboard/components/passOneDay.vue index 8d02422..5152ca1 100644 --- a/src/views/dashboard/components/passOneDay.vue +++ b/src/views/dashboard/components/passOneDay.vue @@ -76,7 +76,7 @@ } } if (!hasData) { - this.chartExtend.yAxis.max = 10 + // this.chartExtend.yAxis.max = 10 } this.chartData.rows = data }) diff --git a/src/views/dashboard/components/tempAnalysis.vue b/src/views/dashboard/components/tempAnalysis.vue index 8875f5a..019d103 100644 --- a/src/views/dashboard/components/tempAnalysis.vue +++ b/src/views/dashboard/components/tempAnalysis.vue @@ -49,7 +49,7 @@ xAxis: { axisLabel: { interval: 0, - rotate: 45 // 代表逆时针旋转45度 + rotate: 25 // 代表逆时针旋转45度 } }, yAxis: { @@ -140,7 +140,7 @@ data0['temp3'] = 0 data0['temp4'] = 0 data.push(data0) - this.chartExtends.yAxis.max = 10 + // this.chartExtends.yAxis.max = 10 } this.chartData.rows = data }) diff --git a/src/views/dashboard/components/tempOneDay.vue b/src/views/dashboard/components/tempOneDay.vue index a53b5a5..35e9ed7 100644 --- a/src/views/dashboard/components/tempOneDay.vue +++ b/src/views/dashboard/components/tempOneDay.vue @@ -79,7 +79,7 @@ } } if (!hasData) { - this.chartExtend.yAxis.max = 10 + // this.chartExtend.yAxis.max = 10 } this.chartData.rows = data }) diff --git a/src/views/doorManage/controlDoor.vue b/src/views/doorManage/controlDoor.vue index a931668..63b45bf 100644 --- a/src/views/doorManage/controlDoor.vue +++ b/src/views/doorManage/controlDoor.vue @@ -107,8 +107,8 @@ }, // 保存数据 saveData: function() { - if(this.doorForm.beginDateTime >= this.doorForm.endDateTime){ - this.$message.warning("生效时间必须小于失效时间") + if (this.doorForm.openStatus !== '2' && this.doorForm.beginDateTime >= this.doorForm.endDateTime) { + this.$message.warning('生效时间必须小于失效时间') return } this.updateData() diff --git a/src/views/memberManage/addPerson.vue b/src/views/memberManage/addPerson.vue index 07cd00e..dd7ab9b 100644 --- a/src/views/memberManage/addPerson.vue +++ b/src/views/memberManage/addPerson.vue @@ -462,9 +462,9 @@ _this.personForm.idCardNo = data.IdCardNo _this.personForm.name = data.Name // if (window.frames['iframeIDCard'].Sex === '2') { this.personForm.sex = '女' } else { this.personForm.sex = '男' } - _this.personForm.sex = parseInt(data.Sex) + _this.personForm.sex = data.Sex var birth = data.Birthday - _this.personForm.birthday = birth.substring(0, 3) + '-' + birth.substring(4, 5) + '-' + birth.substring(6, 7) + _this.personForm.birthday = birth.substring(0, 4) + '-' + birth.substring(4, 6) + '-' + birth.substring(6, 8) _this.photo = data.Photo _this.personForm.nation = data.Nation var nationName = data.Nation diff --git a/src/views/memberManage/addPersonIris.vue b/src/views/memberManage/addPersonIris.vue index b669b3a..3c1c0a7 100644 --- a/src/views/memberManage/addPersonIris.vue +++ b/src/views/memberManage/addPersonIris.vue @@ -502,9 +502,10 @@ _this.personForm.idCardNo = data.IdCardNo _this.personForm.name = data.Name // if (window.frames['iframeIDCard'].Sex === '2') { this.personForm.sex = '女' } else { this.personForm.sex = '男' } - _this.personForm.sex = parseInt(data.Sex) + debugger + _this.personForm.sex = data.Sex var birth = data.Birthday - _this.personForm.birthday = birth.substring(0, 3) + '-' + birth.substring(4, 5) + '-' + birth.substring(6, 7) + _this.personForm.birthday = birth.substring(0, 4) + '-' + birth.substring(4, 6) + '-' + birth.substring(6, 8) _this.photo = data.Photo _this.personForm.nation = data.Nation var nationName = data.Nation diff --git a/src/views/query/listRecord.vue b/src/views/query/listRecord.vue index 39b03dc..be5ad57 100644 --- a/src/views/query/listRecord.vue +++ b/src/views/query/listRecord.vue @@ -3,26 +3,26 @@
- - - - - - - - - - - - - - - + + + - - - - + + + + + + + + + + + + + + + + - +