diff --git a/src/views/deviceManage/area/index.vue b/src/views/deviceManage/area/index.vue new file mode 100644 index 0000000..4b1b5ba --- /dev/null +++ b/src/views/deviceManage/area/index.vue @@ -0,0 +1,528 @@ + + + + + diff --git a/src/views/deviceManage/bookshelf/index.vue b/src/views/deviceManage/bookshelf/index.vue new file mode 100644 index 0000000..1965dda --- /dev/null +++ b/src/views/deviceManage/bookshelf/index.vue @@ -0,0 +1,682 @@ + + + + + diff --git a/src/views/deviceManage/bookshelfPosition/index.vue b/src/views/deviceManage/bookshelfPosition/index.vue new file mode 100644 index 0000000..b59981c --- /dev/null +++ b/src/views/deviceManage/bookshelfPosition/index.vue @@ -0,0 +1,594 @@ + + + + + diff --git a/src/views/deviceManage/device/index.vue b/src/views/deviceManage/device/index.vue new file mode 100644 index 0000000..34fe4ba --- /dev/null +++ b/src/views/deviceManage/device/index.vue @@ -0,0 +1,769 @@ + + + + + diff --git a/src/views/deviceManage/floor/index.vue b/src/views/deviceManage/floor/index.vue new file mode 100644 index 0000000..4d47b85 --- /dev/null +++ b/src/views/deviceManage/floor/index.vue @@ -0,0 +1,282 @@ + + + + + diff --git a/src/views/deviceManage/index.vue b/src/views/deviceManage/index.vue new file mode 100644 index 0000000..97646a7 --- /dev/null +++ b/src/views/deviceManage/index.vue @@ -0,0 +1,16 @@ + + + diff --git a/src/views/faceRecognition/personInfoManage.vue b/src/views/faceRecognition/personInfoManage.vue index eb6f479..614a8d0 100644 --- a/src/views/faceRecognition/personInfoManage.vue +++ b/src/views/faceRecognition/personInfoManage.vue @@ -78,7 +78,7 @@ 人员照片
- 选择上传照片 + 选择上传照片
@@ -287,6 +287,10 @@ export default { console.log(crud.form) return true }, + handleButtonClick() { + // 触发隐藏的file input的点击事件 + document.getElementById('upFile').click() + }, async changeFile(e) { const file = e.target.files[0] @@ -471,4 +475,22 @@ export default { border-color: #909399; color: #909399; } + +.upload-btn{ + display: flex; + flex-direction: column; + align-items: center; + #upFile{ + position: static; + left: 0; + top: 0; + opacity: 0; + height: 34px; + } + .el-button{ + position: static; + margin-top: -34px; + z-index: 99; + } +} diff --git a/src/views/faceRecognition/personRegister.vue b/src/views/faceRecognition/personRegister.vue index b3fd377..33d5272 100644 --- a/src/views/faceRecognition/personRegister.vue +++ b/src/views/faceRecognition/personRegister.vue @@ -462,4 +462,22 @@ export default { border-color: #909399; color: #909399; } + +.upload-btn{ + display: flex; + flex-direction: column; + align-items: center; + #upFile{ + position: static; + left: 0; + top: 0; + opacity: 0; + height: 34px; + } + .el-button{ + position: static; + margin-top: -34px; + z-index: 99; + } +}