diff --git a/src/api/largeScreen/mapOpt.ts b/src/api/largeScreen/mapOpt.ts index 43e8b5e..7ceaeba 100644 --- a/src/api/largeScreen/mapOpt.ts +++ b/src/api/largeScreen/mapOpt.ts @@ -1,5 +1,3 @@ -import { fa } from "element-plus/es/locale/index.mjs"; - var map = null; diff --git a/src/views/equipmentManagement/repairRecords/index.vue b/src/views/equipmentManagement/repairRecords/index.vue index 8b9b5e1..59b4e14 100644 --- a/src/views/equipmentManagement/repairRecords/index.vue +++ b/src/views/equipmentManagement/repairRecords/index.vue @@ -102,6 +102,7 @@ >
+
{{ cEdit.isEdit }}
@@ -492,10 +493,15 @@ function DropRecord(arr = undefined) { () => { showloading('fullLoading'); arr = arr.map((item) => item.recordId); - api.dropRepir(arr); - setTimeout(hideloading, 2000); - alert('操作成功'); - Search(); + api.dropRepir(arr).then(res=>{ + if(res && res.code==200){ + Search(); + } + alert(res.msg); + }); + + + }, hideConfirm, '提示' @@ -639,7 +645,7 @@ function ResetFormData() { cEdit.repairPart = ''; //维修部位 cEdit.repairReason = ''; //维修原因 cEdit.repairPerson = ''; //维修人员 - cEdit.isEdit = false; + cEdit.imageIds = []; selectedRow.value = { deviceName: '', deviceId: '' }; @@ -1059,4 +1065,14 @@ input:focus { .demo-fit .el-avatar--square { margin-right: 10px; } + +:deep .el-upload-list--picture-card .el-upload-list__item .el-upload-list__item, +.el-upload-list--picture-card .el-upload-list__item .el-upload-list__item{ + margin:0px ; +} + +// :deep .el-upload-list__item,.el-upload-list__item{ +// margin-right: 8px !important; +// } + diff --git a/src/views/homeIndex/components/MapComponent.vue b/src/views/homeIndex/components/MapComponent.vue index 68a194d..eaeb2fe 100644 --- a/src/views/homeIndex/components/MapComponent.vue +++ b/src/views/homeIndex/components/MapComponent.vue @@ -3,29 +3,14 @@
-
- {{ groupName }} - +
{{ groupName }}
+
- +
- {{ devType }} - +
{{ devType }}
+
- +