|
|
@@ -63,7 +63,7 @@
|
|
63
|
63
|
<el-table-column label="安装位置" prop="installationLocation" align="center" min-width="180" show-overflow-tooltip>
|
|
64
|
64
|
<template #default="scope">
|
|
65
|
65
|
<span>{{ scope.row.terminlName }}{{ scope.row.terminlName ? '/' : '' }}{{ scope.row.regionalName
|
|
66
|
|
- }}{{ scope.row.regionalName ? '/' : '' }}{{ scope.row.channelName }}</span>
|
|
|
66
|
+ }}{{ scope.row.regionalName ? '/' : '' }}{{ scope.row.channelName }}</span>
|
|
67
|
67
|
</template>
|
|
68
|
68
|
</el-table-column>
|
|
69
|
69
|
<el-table-column label="使用状态" prop="usageStatus" align="center" min-width="100">
|
|
|
@@ -347,9 +347,9 @@ const form = reactive({
|
|
347
|
347
|
inspectionSelfCheckDate: '',
|
|
348
|
348
|
inspectionSelfCheckCycle: 0,
|
|
349
|
349
|
nextInspectionDueDate: '',
|
|
350
|
|
- inspectionTeamLeaderId: null,
|
|
351
|
|
- inspectionTeamMember1Id: null,
|
|
352
|
|
- inspectionTeamMember2Id: null,
|
|
|
350
|
+ inspectionTeamLeaderId: '',
|
|
|
351
|
+ inspectionTeamMember1Id: '',
|
|
|
352
|
+ inspectionTeamMember2Id: '',
|
|
353
|
353
|
initialAcceptanceStatus: '',
|
|
354
|
354
|
baseAttachmentList: [],
|
|
355
|
355
|
equipmentInspectionRecordList: []
|
|
|
@@ -374,7 +374,7 @@ const upload = reactive({
|
|
374
|
374
|
open: false,
|
|
375
|
375
|
title: '',
|
|
376
|
376
|
isUploading: false,
|
|
377
|
|
- updateSupport: 0,
|
|
|
377
|
+ updateSupport: 1,
|
|
378
|
378
|
headers: { Authorization: 'Bearer ' + getToken() },
|
|
379
|
379
|
url: import.meta.env.VITE_APP_BASE_API + '/equipment/ledger/importData'
|
|
380
|
380
|
})
|
|
|
@@ -425,14 +425,16 @@ function handleEdit(row) {
|
|
425
|
425
|
if (!form.equipmentInspectionRecordList || !Array.isArray(form.equipmentInspectionRecordList)) {
|
|
426
|
426
|
form.equipmentInspectionRecordList = []
|
|
427
|
427
|
}
|
|
|
428
|
+ // form.installationLocation = [response.data.terminlCode, response.data.regionalCode, response.data.channelCode]
|
|
|
429
|
+
|
|
428
|
430
|
form.installationLocation = {
|
|
429
|
431
|
terminlCode: response.data.terminlCode,
|
|
430
|
432
|
regionalCode: response.data.regionalCode,
|
|
431
|
433
|
channelCode: response.data.channelCode
|
|
432
|
434
|
}
|
|
433
|
|
- form.inspectionTeamLeaderId = form.inspectionTeamLeaderId || null
|
|
434
|
|
- form.inspectionTeamMember1Id = form.inspectionTeamMember1Id || null;
|
|
435
|
|
- form.inspectionTeamMember2Id = form.inspectionTeamMember2Id || null;
|
|
|
435
|
+ form.inspectionTeamLeaderId = form.inspectionTeamLeaderId || ''
|
|
|
436
|
+ form.inspectionTeamMember1Id = form.inspectionTeamMember1Id || ''
|
|
|
437
|
+ form.inspectionTeamMember2Id = form.inspectionTeamMember2Id || ''
|
|
436
|
438
|
formDisabled.value = false
|
|
437
|
439
|
dialog.title = '编辑设备'
|
|
438
|
440
|
dialog.visible = true
|
|
|
@@ -453,14 +455,16 @@ function handleDetail(row) {
|
|
453
|
455
|
if (!form.equipmentInspectionRecordList || !Array.isArray(form.equipmentInspectionRecordList)) {
|
|
454
|
456
|
form.equipmentInspectionRecordList = []
|
|
455
|
457
|
}
|
|
|
458
|
+ // form.installationLocation = [response.data.terminlCode, response.data.regionalCode, response.data.channelCode]
|
|
|
459
|
+
|
|
456
|
460
|
form.installationLocation = {
|
|
457
|
461
|
terminlCode: response.data.terminlCode,
|
|
458
|
462
|
regionalCode: response.data.regionalCode,
|
|
459
|
463
|
channelCode: response.data.channelCode
|
|
460
|
464
|
}
|
|
461
|
|
- form.inspectionTeamLeaderId = form.inspectionTeamLeaderId || null
|
|
462
|
|
- form.inspectionTeamMember1Id = form.inspectionTeamMember1Id || null;
|
|
463
|
|
- form.inspectionTeamMember2Id = form.inspectionTeamMember2Id || null;
|
|
|
465
|
+ form.inspectionTeamLeaderId = form.inspectionTeamLeaderId || ''
|
|
|
466
|
+ form.inspectionTeamMember1Id = form.inspectionTeamMember1Id || ''
|
|
|
467
|
+ form.inspectionTeamMember2Id = form.inspectionTeamMember2Id || ''
|
|
464
|
468
|
formDisabled.value = true
|
|
465
|
469
|
dialog.title = '设备详情'
|
|
466
|
470
|
dialog.visible = true
|
|
|
@@ -532,9 +536,9 @@ function resetForm() {
|
|
532
|
536
|
inspectionSelfCheckDate: '',
|
|
533
|
537
|
inspectionSelfCheckCycle: 0,
|
|
534
|
538
|
nextInspectionDueDate: '',
|
|
535
|
|
- inspectionTeamLeaderId: null,
|
|
536
|
|
- inspectionTeamMember1Id: null,
|
|
537
|
|
- inspectionTeamMember2Id: null,
|
|
|
539
|
+ inspectionTeamLeaderId: '',
|
|
|
540
|
+ inspectionTeamMember1Id: '',
|
|
|
541
|
+ inspectionTeamMember2Id: '',
|
|
538
|
542
|
initialAcceptanceStatus: '',
|
|
539
|
543
|
baseAttachmentList: [],
|
|
540
|
544
|
equipmentInspectionRecordList: []
|
|
|
@@ -680,7 +684,8 @@ onMounted(() => {
|
|
680
|
684
|
}
|
|
681
|
685
|
|
|
682
|
686
|
:deep(.operation-column) {
|
|
683
|
|
- background-color: transparent !important;
|
|
684
|
687
|
|
|
|
688
|
+ background-color: white !important;
|
|
|
689
|
+ z-index: 3;
|
|
685
|
690
|
}
|
|
686
|
691
|
</style>
|