safecheck-client 3.0.34-gongyi → 3.0.35-2
Sign up to get free protection for your applications and to get access to all the features.
- package/.eslintrc.js +16 -16
- package/.project +23 -0
- package/README.md +5 -1
- package/build/webpack.base.conf.js +91 -50
- package/build/webpack.dev.conf.js +20 -16
- package/build/webpack.prod.conf.js +37 -39
- package/examples/ChangeConfig/App.vue +3 -3
- package/examples/ChangeConfig/comp.js +67 -67
- package/examples/CheckAdvise/App.vue +1 -1
- package/examples/PhoneSafePlan/App.vue +2 -2
- package/examples/PhoneSafePlan/TestData.js +3 -3
- package/examples/SafePlan/App.vue +11 -5
- package/examples/SafePlan/TestData.js +3 -3
- package/examples/SafePlan/comp.js +67 -61
- package/examples/SafePlan-aode/App.vue +2 -2
- package/examples/SafePlan-aode/TestData.js +3 -3
- package/examples/SafePlan-aode/comp.js +40 -40
- package/examples/SafePlan-liaoyuan/App.vue +33 -4
- package/examples/SafePlan-liaoyuan/TestData.js +3 -3
- package/examples/SafePlan-liaoyuan/comp.js +67 -54
- package/examples/SafePlan-shaoguan/App.vue +2 -2
- package/examples/SafePlan-shaoguan/TestData.js +3 -3
- package/examples/SafePlan-shaoguan/comp.js +46 -46
- package/examples/SafePlan-tongchuan/App.vue +4 -4
- package/examples/SafePlan-tongchuan/TestData.js +3 -3
- package/examples/SafePlan-tongchuan/comp.js +50 -50
- package/examples/SafePlan-wenxi/App.vue +4 -4
- package/examples/SafePlan-wenxi/TestData.js +3 -3
- package/examples/SafePlan-wenxi/comp.js +54 -54
- package/examples/SafePlan-zhoukou/App.vue +4 -4
- package/examples/SafePlan-zhoukou/TestData.js +3 -3
- package/examples/SafePlan-zhoukou/comp.js +57 -57
- package/examples/SafePlanItem/App.vue +3 -3
- package/examples/SafePlanItem/TestData.js +3 -3
- package/examples/SafePlanItem/comp.js +1 -1
- package/examples/SafePlanrongcheng/App.vue +4 -3
- package/examples/SafePlanrongcheng/TestData.js +3 -3
- package/examples/SafePlanrongcheng/comp.js +47 -39
- package/examples/SafePlanrongcheng-gs/App.vue +2 -2
- package/examples/SafePlanrongcheng-gs/TestData.js +3 -3
- package/examples/SafePlanrongcheng-gs/comp.js +47 -39
- package/examples/SafePlanrongcheng-gssq/App.vue +2 -2
- package/examples/SafePlanrongcheng-gssq/TestData.js +3 -3
- package/examples/SafePlanrongcheng-gssq/comp.js +47 -39
- package/examples/SafePlanrongcheng-mysq/App.vue +2 -2
- package/examples/SafePlanrongcheng-mysq/TestData.js +3 -3
- package/examples/SafePlanrongcheng-mysq/comp.js +48 -40
- package/examples/Test/App.vue +1 -1
- package/examples/Test/TestData.js +5 -5
- package/examples/UserFiles/App.vue +4 -4
- package/examples/UserFiles/TestData.js +3 -3
- package/examples/UserFiles/comp.js +17 -17
- package/index.html +6 -2
- package/package.json +23 -9
- package/settings.gradle +2 -0
- package/src/App-/345/215/225/351/241/265/351/235/242/346/211/223/345/214/205/347/224/250.vue +55 -0
- package/src/App.vue +31 -27
- package/src/android.js +1 -2
- package/src/assets/123.png +0 -0
- package/src/assets/alarm.png +0 -0
- package/src/assets/anjince.png +0 -0
- package/src/assets/city_proper.png +0 -0
- package/src/assets/echarts6.png +0 -0
- package/src/assets/endPng.png +0 -0
- package/src/assets/f8632d3c8c4c1cb68e99da754cab1a7.png +0 -0
- package/src/assets/firstPng.png +0 -0
- package/src/assets/township.png +0 -0
- package/src/assets/wensu/1.jpg +0 -0
- package/src/assets/wensu/2.jpg +0 -0
- package/src/assets/wensu/3.jpg +0 -0
- package/src/assets/wensu/4.jpg +0 -0
- package/src/assets/wensu/5.jpg +0 -0
- package/src/assets//344/270/213/350/275/275_.png +0 -0
- package/src/assets//345/215/225/345/205/203/345/217/267.png +0 -0
- package/src/assets//345/226/207/345/217/255.png +0 -0
- package/src/assets//345/234/260/345/235/200.png +0 -0
- package/src/assets//345/234/260/345/235/200/344/277/256/346/224/271.png +0 -0
- package/src/assets//345/247/223/345/220/215.png +0 -0
- package/src/assets//345/260/217/345/214/272.png +0 -0
- package/src/assets//345/260/217/345/214/272/350/223/235/350/211/262.png +0 -0
- package/src/assets//345/267/241/346/243/200/344/272/272/345/221/230.png +0 -0
- package/src/assets//345/272/225/346/225/260.png +0 -0
- package/src/assets//346/210/267/347/274/226/345/217/267.png +0 -0
- package/src/assets//346/245/274/345/217/267.png +0 -0
- package/src/assets//346/245/274/345/261/202.png +0 -0
- package/src/assets//347/273/210/347/202/271.png +0 -0
- package/src/assets//350/241/250/347/261/273/345/236/213.png +0 -0
- package/src/assets//350/265/267/347/202/271.png +0 -0
- package/src/assets//351/227/250/347/211/214/345/217/267.png +0 -0
- package/src/bus.js +2 -0
- package/src/components/CheckerCount/CheckCountAreaList.vue +19 -18
- package/src/components/CheckerCount/CheckCountAreaManage.vue +2 -2
- package/src/components/CheckerCount/CheckCountUserList.vue +5 -5
- package/src/components/DefectDealMain/DefectListNew.vue +597 -0
- package/src/components/DefectDealMain/DefectMainNew.vue +63 -0
- package/src/components/DefectDealMain/DefectPaperNew.vue +1052 -0
- package/src/components/ExportExcel.vue +17 -11
- package/src/components/ExportExcelOld.vue +203 -0
- package/src/components/LoadData.vue +62 -0
- package/src/components/Login.vue +4 -4
- package/src/components/NewDefectList/DefectListNew.vue +617 -0
- package/src/components/NewDefectList/DefectMainNew.vue +60 -0
- package/src/components/NewDefectList/DefectPaperNew.vue +1079 -0
- package/src/components/Test.vue +1 -1
- package/src/components/Util/FileUpload.vue +4 -4
- package/src/components/Util/ImgSelfSafe.vue +6 -6
- package/src/components/Util/ImgSelfSafePlus.vue +218 -0
- package/src/components/Util/RightTreeSafe.vue +348 -348
- package/src/components/Util/RightTreeSafeDep.vue +350 -0
- package/src/components/Util/SafecheckUpload.vue +6 -6
- package/src/components/Util.js +50 -8
- package/src/components/android/AddPlanItem.vue +242 -207
- package/src/components/android/AddPlanItemYy.vue +451 -0
- package/src/components/android/AddSpecialPlanItem.vue +426 -0
- package/src/components/android/AndroidDefectDeal.vue +461 -224
- package/src/components/android/AndroidDefectDealBeforeSafe.vue +502 -0
- package/src/components/android/Announcement.vue +2 -2
- package/src/components/android/AreaPlan.vue +83 -20
- package/src/components/android/AreaSelect.vue +198 -0
- package/src/components/android/BlackUserOnLine.vue +318 -0
- package/src/components/android/BuildingSelect.vue +192 -0
- package/src/components/android/CheckNotice.vue +3 -3
- package/src/components/android/CheckPlan.vue +6 -6
- package/src/components/android/CheckPlanDown.vue +4 -6
- package/src/components/android/CheckPlanItems.vue +1 -1
- package/src/components/android/CheckPlanList.vue +188 -0
- package/src/components/android/CheckPlanSelect.vue +229 -0
- package/src/components/android/Checkpage.vue +1 -1
- package/src/components/android/CivilCurrentCreate.vue +1026 -0
- package/src/components/android/ClockIn.vue +94 -0
- package/src/components/android/CurrentCreate.vue +229 -149
- package/src/components/android/CurrentCreateYy.vue +1051 -0
- package/src/components/android/CurrentCreate_new.vue +1021 -0
- package/src/components/android/DailyworkloadQuery.vue +287 -211
- package/src/components/android/Defect.vue +5 -5
- package/src/components/android/DeviceDefect.vue +5 -5
- package/src/components/android/Devices.vue +16 -16
- package/src/components/android/DevicesItem.vue +30 -30
- package/src/components/android/DevicesItemm.vue +29 -29
- package/src/components/android/Devicesm.vue +26 -26
- package/src/components/android/DoorService.vue +1 -1
- package/src/components/android/ExtractCheckPlan.vue +5 -5
- package/src/components/android/ExtractPlanItem.vue +207 -198
- package/src/components/android/ImgSelfAndroid.vue +181 -0
- package/src/components/android/Insurance/PhoneInsuranceManage.vue +44 -0
- package/src/components/android/Insurance/PhoneInsurancePurchase.vue +282 -0
- package/src/components/android/Insurance/PhoneInsurancePurchaseDetail.vue +288 -0
- package/src/components/android/Insurance/PhoneInsuranceRecordList.vue +285 -0
- package/src/components/android/Insurance/TabButton.vue +149 -0
- package/src/components/android/Insurance/Tabs.vue +67 -0
- package/src/components/android/Iotinstructionsview/IoTinstruction.vue +183 -0
- package/src/components/android/LocalPagedList.js +3 -3
- package/src/components/android/LocalPathList.js +2 -2
- package/src/components/android/Login.vue +16 -16
- package/src/components/android/NewCheckpaperAndroid.vue +1362 -0
- package/src/components/android/NoCivilCurrentCreate.vue +1023 -0
- package/src/components/android/OnlineCheckByArea.vue +172 -0
- package/src/components/android/OnlineRepairSafe.vue +394 -0
- package/src/components/android/OnlineVindicate.vue +322 -0
- package/src/components/android/PaperAlarmNoncivil.vue +3 -3
- package/src/components/android/PaperCooker.vue +4 -4
- package/src/components/android/PaperDefect.vue +1 -1
- package/src/components/android/PaperDevice.vue +1 -1
- package/src/components/android/PaperFeedback.vue +176 -106
- package/src/components/android/PaperFeedbackTemp.vue +1470 -0
- package/src/components/android/PaperFeedbackm.vue +42 -42
- package/src/components/android/PaperFurnace.vue +3 -3
- package/src/components/android/PaperFurnaceNoncivil.vue +3 -3
- package/src/components/android/PaperHeater.vue +3 -3
- package/src/components/android/PaperInnerPlumb.vue +3 -3
- package/src/components/android/PaperMessage.vue +77 -77
- package/src/components/android/PaperMessageNocivil.vue +57 -57
- package/src/components/android/PaperMeter.vue +3 -3
- package/src/components/android/PaperMeterNoncivil.vue +3 -3
- package/src/components/android/PaperPieceNoncivil.vue +3 -3
- package/src/components/android/PaperPlumb.vue +3 -3
- package/src/components/android/PaperPlumbNoncivil.vue +3 -3
- package/src/components/android/PaperSet.vue +196 -196
- package/src/components/android/PaperSetNoncivil.vue +160 -160
- package/src/components/android/PaperState.vue +7 -7
- package/src/components/android/PaperStateNoncivil.vue +4 -4
- package/src/components/android/PaperStateNoncivilm.vue +4 -4
- package/src/components/android/PaperStatem.vue +10 -10
- package/src/components/android/PaperUser.vue +133 -157
- package/src/components/android/PaperUserNoncivil.vue +5 -5
- package/src/components/android/PaperUserm.vue +169 -159
- package/src/components/android/PaperValve.vue +3 -3
- package/src/components/android/PaperValveNoncivil.vue +3 -3
- package/src/components/android/PhoneChangemeterInfo.vue +5 -5
- package/src/components/android/PhoneRecordInfo.vue +113 -0
- package/src/components/android/PhoneSellInfo.vue +2 -2
- package/src/components/android/PhoneState.vue +1 -1
- package/src/components/android/PhoneUpDetail.vue +1040 -0
- package/src/components/android/PhoneUpUserinfo.vue +736 -435
- package/src/components/android/PhoneUserFind.vue +3 -3
- package/src/components/android/PhoneotherInfo.vue +132 -0
- package/src/components/android/PrearrangedPlan.vue +3 -3
- package/src/components/android/QRCode/QRCodeBinding.vue +300 -0
- package/src/components/android/QRCode/QRCodePage.vue +212 -0
- package/src/components/android/RelieveRestrict.vue +293 -0
- package/src/components/android/RepairAreaList.vue +1 -1
- package/src/components/android/RepairList.vue +2 -2
- package/src/components/android/RepairQuery.vue +2 -2
- package/src/components/android/ResAreaList.vue +1 -1
- package/src/components/android/Restriction.vue +351 -0
- package/src/components/android/RightTree.vue +2 -2
- package/src/components/android/SafePlanItem.vue +509 -0
- package/src/components/android/SafecheckDevices.vue +295 -140
- package/src/components/android/SafecheckDevicesTemp.vue +1333 -0
- package/src/components/android/SafecheckOrderV.vue +2805 -2408
- package/src/components/android/SafecheckOrderVTemp.vue +1233 -0
- package/src/components/android/SafecheckState.vue +9 -9
- package/src/components/android/SafecheckUser.vue +9 -9
- package/src/components/android/ShebeiDevices.vue +77 -77
- package/src/components/android/SwitchValve.vue +178 -85
- package/src/components/android/SystemSetting.vue +2 -2
- package/src/components/android/ToolsPage.vue +1 -1
- package/src/components/android/TrackState.vue +3 -3
- package/src/components/android/UploadPage.vue +13 -123
- package/src/components/android/UserinfoSelect.vue +714 -0
- package/src/components/android/YuYueAddPlanItem.vue +257 -0
- package/src/components/android/checkPlanResult.vue +1 -1
- package/src/components/android/examples/410.png +0 -0
- package/src/components/android/examples/SafeListExamples.vue +296 -0
- package/src/components/android/examples/UserExamples.vue +136 -0
- package/src/components/android/examples/ViewDetailsExamples.vue +1235 -0
- package/src/components/android/examples/touxiang.png +0 -0
- package/src/components/android/old/PaperFeedback.vue +41 -41
- package/src/components/android/recheck/Recheck.vue +402 -0
- package/src/components/android/safeHistoryLook.vue +474 -0
- package/src/components/android/userinfo/SafecheckUserInfo.vue +776 -611
- package/src/components/android/wasm/PhoneSafePlan.vue +4 -4
- package/src/components/android/wasm/TestData.js +3 -3
- package/src/components/attendance/DailyAttendance.vue +2 -2
- package/src/components/attendance/MonthlyAttendance.vue +12 -12
- package/src/components/callincheck/CallInCheckMain.vue +1 -1
- package/src/components/callincheck/CallInPlan.vue +3 -3
- package/src/components/callincheck/UserFileList.vue +1 -1
- package/src/components/checkAreaClassification.vue +13 -13
- package/src/components/checkplan/CheckDetail.vue +110 -110
- package/src/components/checkplan/CheckPlan.vue +2 -2
- package/src/components/checkplan/SelectCheckPlan.vue +221 -134
- package/src/components/checkplan/SelectMessage.vue +7 -7
- package/src/components/checkplan/checkmsg.vue +30 -30
- package/src/components/checkplan/checkmsgZG.vue +26 -26
- package/src/components/createcheckplan/CreatePlan.vue +31 -109
- package/src/components/createcheckplan/CreatePlanWuan.vue +23 -100
- package/src/components/createcheckplan/DelPlanRepeat.vue +13 -13
- package/src/components/createcheckplan/DistributePlan.vue +1 -1
- package/src/components/createcheckplan/PlanList.vue +14 -14
- package/src/components/defect/DefectDetail.vue +6 -6
- package/src/components/defect/DefectDetailWeixiu.vue +6 -6
- package/src/components/defect/DefectList.vue +24 -6
- package/src/components/defect/DefectListWeixiu.vue +484 -479
- package/src/components/defect/DefectMain.vue +2 -2
- package/src/components/defect/DefectMainWeixiu.vue +2 -2
- package/src/components/defect/DefectPaper.vue +16 -14
- package/src/components/defect/DefectPaperWeiXiu.vue +508 -580
- package/src/components/defect/ImageViewer.vue +7 -7
- package/src/components/defect/ImgButton.vue +162 -104
- package/src/components/defect/ImgButtons.vue +159 -0
- package/src/components/defect/ImgsButton.vue +2 -2
- package/src/components/defects/CheckPaperItems.vue +2 -2
- package/src/components/defects/CheckPaperSearch.vue +12 -12
- package/src/components/defects/CheckPaperSearchMain.vue +1 -1
- package/src/components/defects/DefectCondition.vue +1 -1
- package/src/components/equipment/CheckRate.vue +3 -3
- package/src/components/equipment/MonthCheckRate.vue +1 -1
- package/src/components/filialCircle/AddCircleFiliale.vue +1 -1
- package/src/components/inspections/AddInspectPlanItem.vue +12 -12
- package/src/components/inspections/AddInspectPlanItems.vue +12 -12
- package/src/components/inspections/AddInspectPlanItemss.vue +14 -14
- package/src/components/inspections/Checked.vue +3 -3
- package/src/components/inspections/DisplayInspectionList.vue +50 -50
- package/src/components/inspections/InsUploadPage.vue +12 -12
- package/src/components/inspections/InspectionList.vue +12 -78
- package/src/components/inspections/InspectionLists.vue +12 -78
- package/src/components/inspections/InspectionListss.vue +12 -79
- package/src/components/inspections/inspectionDevices.vue +65 -65
- package/src/components/inspections/inspectionFeedback.vue +43 -43
- package/src/components/inspections/inspectionOrderV.vue +193 -193
- package/src/components/inspections/inspectionOrderVs.vue +193 -193
- package/src/components/inspections/inspectionOrderVss.vue +194 -194
- package/src/components/inspections/inspectionUserInfo.vue +23 -23
- package/src/components/issueplan/IssuePlanAction.vue +1 -1
- package/src/components/issueplan/IssuePlanQuery.vue +2 -2
- package/src/components/json-editor/SafeJsonEditor.vue +26 -26
- package/src/components/json-editor/assets/jsoneditor-minimalist.js +35 -35
- package/src/components/json-editor/assets/jsoneditor.js +492 -492
- package/src/components/json-editor/example/App.vue +9 -9
- package/src/components/levelplan/AdjustPlan.vue +2 -2
- package/src/components/levelplan/CheckerLeft.vue +1 -1
- package/src/components/levelplan/CheckerPlanAdjust.vue +8 -8
- package/src/components/levelplan/CheckerRight.vue +2 -2
- package/src/components/map/AMap.vue +3 -3
- package/src/components/map/AMapTrailShowZk.vue +11 -4
- package/src/components/map/AMapTrajectory.vue +436 -0
- package/src/components/map/AMapTrajectoryNew.vue +390 -0
- package/src/components/map/FootPrintList.vue +1 -1
- package/src/components/map/MapCriteriaData.vue +3 -3
- package/src/components/map/PersonTrack.vue +224 -0
- package/src/components/map/checkScreen.vue +706 -547
- package/src/components/map/douglasPeuckerForAMap.js +88 -0
- package/src/components/metterfiles/MetterfilesAdd.vue +1 -1
- package/src/components/metterfiles/MetterfilesChange.vue +1 -1
- package/src/components/metterfiles/UserFiles.vue +1 -1
- package/src/components/metterfiles/Userfileschange.vue +1 -1
- package/src/components/noplan/NoPlanPaperList.vue +123 -0
- package/src/components/noplan/NoPlanSearchUser.vue +300 -0
- package/src/components/noplan/NoPlanUserInfo.vue +67 -0
- package/src/components/olddata/OldPaperList.vue +340 -0
- package/src/components/paper/PaperList.vue +790 -757
- package/src/components/paper/PaperVerify.vue +2 -2
- package/src/components/paper/PlanChooser.vue +20 -12
- package/src/components/pc/AddToCheckBook.vue +160 -0
- package/src/components/pc/AnnouncementPC.vue +9 -9
- package/src/components/pc/CheckBook.vue +247 -13
- package/src/components/pc/CheckBookArea.vue +146 -0
- package/src/components/pc/CheckBookCompany.vue +144 -0
- package/src/components/pc/CheckBookDetails.vue +194 -0
- package/src/components/pc/CheckBookEntry.vue +61 -0
- package/src/components/pc/CheckBookList.vue +375 -553
- package/src/components/pc/CheckBookSearchArea.vue +564 -0
- package/src/components/pc/CheckBookSearchUnit.vue +229 -0
- package/src/components/pc/CheckBookSearchUser.vue +604 -0
- package/src/components/pc/CheckBookSearchUserList.vue +675 -0
- package/src/components/pc/CheckBookUser.vue +28 -4
- package/src/components/pc/CheckNoDetail.vue +209 -0
- package/src/components/pc/CheckNoPlan.vue +55 -0
- package/src/components/pc/CheckPlanCountChart.vue +201 -0
- package/src/components/pc/DefectDeal.vue +997 -0
- package/src/components/pc/DefectList.vue +742 -0
- package/src/components/pc/DepSelector.vue +55 -0
- package/src/components/pc/DeviceChange.vue +82 -82
- package/src/components/pc/Edit.vue +126 -0
- package/src/components/pc/HiddenChart.vue +9 -9
- package/src/components/pc/LodopFuncs.js +159 -0
- package/src/components/pc/NewCheckpaper.vue +1943 -1306
- package/src/components/pc/NewCheckpaperTemp.vue +1295 -0
- package/src/components/pc/PaperChazhiMain.vue +12 -78
- package/src/components/pc/PaperDefectMain.vue +422 -140
- package/src/components/pc/PaperEdit.vue +151 -0
- package/src/components/pc/PaperVisitMain.vue +179 -0
- package/src/components/pc/PrintData.vue +243 -0
- package/src/components/pc/PrintMaterialBill.vue +155 -0
- package/src/components/pc/PrintTable.vue +241 -0
- package/src/components/pc/RoleSelector.vue +87 -49
- package/src/components/pc/RoleSelectorDep.vue +158 -0
- package/src/components/pc/SafeCheckOrder/SafeCheckOrder.vue +62 -0
- package/src/components/pc/SafeCheckOrder/SafeCheckOrderApplyDisposeBasics.vue +200 -0
- package/src/components/pc/SafeCheckOrder/SafeCheckOrderList.vue +214 -0
- package/src/components/pc/SafeCheckTree.vue +118 -0
- package/src/components/pc/SafeVisitHistory.vue +208 -0
- package/src/components/pc/SafeVisitInfo.vue +261 -0
- package/src/components/pc/SafecheckDeviceList.vue +260 -0
- package/src/components/pc/SelectCheckNoPlan.vue +278 -0
- package/src/components/pc/SelectCheckPlanAndNoPLan.vue +281 -0
- package/src/components/phonestate/FootprintMap.vue +5 -5
- package/src/components/plancheck/CheckPlanAreaManage.vue +3 -3
- package/src/components/plancheck/CheckPlanList.vue +5 -5
- package/src/components/planmanage/PlanManage.vue +843 -782
- package/src/components/planmanage/checkPlanList.vue +182 -154
- package/src/components/planmanage/checkUserList.vue +773 -691
- package/src/components/querycheckpaper/CheckPaperList.vue +11 -3
- package/src/components/querycheckpaper/CheckPaperSearchUser.vue +12 -5
- package/src/components/querycheckpaper/CheckPaperSearchUserNew.vue +67 -0
- package/src/components/querycheckpaper/CheckSearchUser.vue +1067 -1035
- package/src/components/querycheckpaper/CheckSearchUserNew.vue +1109 -0
- package/src/components/querycheckpaper/PaperItems.vue +2 -2
- package/src/components/querycheckpaper/PaperSearchMain.vue +3 -3
- package/src/components/querycheckpaper/ShebeiPaperList.vue +3 -3
- package/src/components/querycheckpaper/ShebeiPaperSearchUser.vue +3 -3
- package/src/components/querycheckpaper/ShebeiSearchUser.vue +13 -13
- package/src/components/report/CheckByPlan.vue +118 -0
- package/src/components/report/CheckPlanAreaList.vue +485 -479
- package/src/components/report/CheckPlanAreaManage.vue +2 -2
- package/src/components/report/CheckPlanAreaReport.vue +122 -0
- package/src/components/report/CheckPlanCountChartArea.vue +120 -0
- package/src/components/report/CheckPlanUserList.vue +5 -5
- package/src/components/report/HazardStatistics.vue +114 -0
- package/src/components/report/HiddenSituation.vue +75 -22
- package/src/components/report/NoCheckplanSafecheck.vue +212 -0
- package/src/components/report/SafePlanSale.vue +4 -4
- package/src/components/report/SafePlanStatistics.vue +5 -5
- package/src/components/report/YinHuanBiHuan.vue +150 -0
- package/src/components/rongcheng/AddPlanItem.vue +13 -5
- package/src/components/rongcheng/AreaPlan.vue +4 -4
- package/src/components/rongcheng/AspPaperFeedback.vue +56 -56
- package/src/components/rongcheng/AspPaperStatem.vue +8 -8
- package/src/components/rongcheng/AspiratedAreaPlan.vue +310 -200
- package/src/components/rongcheng/AspiratedCurrentCreate.vue +682 -639
- package/src/components/rongcheng/AspiratedDevices.vue +110 -77
- package/src/components/rongcheng/AspiratedDistribute.vue +240 -0
- package/src/components/rongcheng/AspiratedOrderV.vue +209 -208
- package/src/components/rongcheng/AspiratedPaperFeedbackm.vue +70 -44
- package/src/components/rongcheng/AspiratedPaperMessage.vue +78 -78
- package/src/components/rongcheng/AspiratedPaperMessageNocivil.vue +57 -57
- package/src/components/rongcheng/AspiratedUploadPage.vue +12 -12
- package/src/components/rongcheng/AspiratedUserInfo.vue +12 -12
- package/src/components/rongcheng/CheckCurrentCreate.vue +54 -30
- package/src/components/rongcheng/CheckPaperAreaUser.vue +51 -0
- package/src/components/rongcheng/CheckPaperList.vue +3 -3
- package/src/components/rongcheng/CheckPaperSearchUser.vue +1 -1
- package/src/components/rongcheng/CheckPaperSearchUserNo.vue +1 -1
- package/src/components/rongcheng/CheckPlanList.vue +256 -0
- package/src/components/rongcheng/CheckSearchArea.vue +703 -0
- package/src/components/rongcheng/CheckSearchUser.vue +635 -525
- package/src/components/rongcheng/CheckSearchUserNo.vue +455 -434
- package/src/components/rongcheng/CheckUserList.vue +205 -0
- package/src/components/rongcheng/CurrentCreateOnline.vue +906 -0
- package/src/components/rongcheng/Datepicker.vue +825 -0
- package/src/components/rongcheng/DefectList.vue +7 -7
- package/src/components/rongcheng/DefectPaper.vue +57 -19
- package/src/components/rongcheng/EventListener.js +29 -0
- package/src/components/rongcheng/ImgSelf.vue +122 -0
- package/src/components/rongcheng/PaperFeedback.vue +61 -61
- package/src/components/rongcheng/PaperListAJ.vue +5 -72
- package/src/components/rongcheng/PaperListNPAJ.vue +5 -72
- package/src/components/rongcheng/PaperListNPSQ.vue +43 -73
- package/src/components/rongcheng/PaperListSQ.vue +45 -84
- package/src/components/rongcheng/PaperMessage.vue +78 -78
- package/src/components/rongcheng/PaperMessageNocivil.vue +57 -57
- package/src/components/rongcheng/PaperStateNoncivilm.vue +35 -25
- package/src/components/rongcheng/PaperStatem.vue +103 -27
- package/src/components/rongcheng/PhoneDevicesInfo.vue +22 -7
- package/src/components/rongcheng/PhoneUpUserinfo.vue +1236 -0
- package/src/components/rongcheng/SafecheckDevices.vue +128 -95
- package/src/components/rongcheng/SafecheckOrderV.vue +2193 -2136
- package/src/components/rongcheng/SafecheckOrderVCli.vue +259 -212
- package/src/components/rongcheng/SafecheckUserInfo.vue +587 -21
- package/src/components/rongcheng/UploadPage.vue +16 -16
- package/src/components/rongcheng/checkerplan/SelectCheckPlan.vue +16 -30
- package/src/components/rongcheng/report/CheckPlanAreaList.vue +33 -17
- package/src/components/rongcheng/report/CheckPlanUserList.vue +8 -8
- package/src/components/safecheck/common/TabButton.vue +3 -3
- package/src/components/safecheck/queryManage/CheckBookAll.vue +15 -19
- package/src/components/safecheck/queryManage/SafeCheckManage.vue +3 -3
- package/src/components/safecheckNew/PaperList.vue +785 -0
- package/src/components/safecheckNew/android/AddPlanItem.vue +419 -0
- package/src/components/safecheckNew/android/AreaPlan.vue +561 -0
- package/src/components/safecheckNew/android/CurrentCreate.vue +1050 -0
- package/src/components/safecheckNew/android/Recheck.vue +379 -0
- package/src/components/safecheckNew/android/SafecheckDevices.vue +1400 -0
- package/src/components/safecheckNew/android/SafecheckOrderV.vue +2731 -0
- package/src/components/sendsingle/EquipmentManagement.vue +27 -27
- package/src/components/sendsingle/onlineChangeMeter.vue +60 -60
- package/src/components/sendsingle/onlineoperation.vue +26 -26
- package/src/components/sendsingle/onlinequeryuser.vue +29 -29
- package/src/components/shaoguan/CheckPlanUserList.vue +6 -6
- package/src/components/shaoguan/DefectDetail.vue +6 -6
- package/src/components/shaoguan/DefectList.vue +6 -6
- package/src/components/shaoguan/DefectPaper.vue +2 -2
- package/src/components/shaoguan/PaperList.vue +12 -79
- package/src/components/shaoguan/SafecheckOrderV.vue +202 -202
- package/src/components/tongcheng/AreaPlan.vue +4 -4
- package/src/components/tongcheng/CurrentCreate.vue +13 -13
- package/src/components/tongcheng/PaperFeedback.vue +48 -48
- package/src/components/tongcheng/PaperMessage.vue +79 -79
- package/src/components/tongcheng/PaperMessageNocivil.vue +57 -57
- package/src/components/tongcheng/PaperSet.vue +196 -196
- package/src/components/tongcheng/PaperUser.vue +9 -9
- package/src/components/userfile/InfoModifyModal.vue +5 -3
- package/src/components/userfile/SecurityAudit.vue +243 -0
- package/src/components/userfile/UserInfoAudit.vue +106 -42
- package/src/components/userfile/UserinfoModify.vue +4 -0
- package/src/components/userfileNew/InfoModifyModal.vue +122 -0
- package/src/components/userfileNew/UserInfoAuditNew.vue +274 -0
- package/src/components/userfileNew/UserinfoModify.vue +283 -0
- package/src/components/userfileNew/UserinfoModifyOld.vue +117 -0
- package/src/filiale/ALshan/pc/CheckSearchUser.vue +15 -15
- package/src/filiale/ALshan/pc/DefectListWeixiu.vue +10 -7
- package/src/filiale/ALshan/pc/RoleSelector.vue +140 -0
- package/src/filiale/ALshan/pc/checkUserList.vue +714 -0
- package/src/filiale/ALshan/pc.js +2 -0
- package/src/filiale/Util.js +20 -8
- package/src/filiale/ancheng/android/NewCheckpaperAndroid.vue +1358 -0
- package/src/filiale/ancheng/android/PaperFeedback.vue +1489 -0
- package/src/filiale/ancheng/android/SafecheckDevices.vue +1267 -0
- package/src/filiale/ancheng/android/SafecheckOrderV.vue +2703 -0
- package/src/filiale/ancheng/android/SafecheckUserInfo.vue +737 -0
- package/src/filiale/ancheng/android.js +14 -0
- package/src/filiale/ancheng/pc/NewCheckpaper.vue +1744 -0
- package/src/filiale/ancheng/pc/PaperList.vue +659 -0
- package/src/filiale/ancheng/pc/checkScreen.vue +923 -0
- package/src/filiale/ancheng/pc.js +15 -0
- package/src/filiale/ankangyihua/android/AddPlanItem.vue +446 -0
- package/src/filiale/ankangyihua/android/AndroidDefectDeal.vue +648 -0
- package/src/filiale/ankangyihua/android/CurrentCreate.vue +1039 -0
- package/src/filiale/ankangyihua/android/SafecheckOrderV.vue +2908 -0
- package/src/filiale/ankangyihua/android/UploadPage.vue +306 -0
- package/src/filiale/ankangyihua/android.js +14 -0
- package/src/filiale/ankangyihua/pc/CheckPlanAreaList.vue +512 -0
- package/src/filiale/ankangyihua/pc/CheckSearchUser.vue +1039 -0
- package/src/filiale/ankangyihua/pc/DefectListWeixiu.vue +491 -0
- package/src/filiale/ankangyihua/pc/DefectPaperWeiXiu.vue +545 -0
- package/src/filiale/ankangyihua/pc/NewCheckpaper.vue +1420 -0
- package/src/filiale/ankangyihua/pc/PaperDefectMain.vue +864 -0
- package/src/filiale/ankangyihua/pc/PaperList.vue +656 -0
- package/src/filiale/ankangyihua/pc/PdfUtil.js +872 -0
- package/src/filiale/ankangyihua/pc/PlanManage.vue +830 -0
- package/src/filiale/ankangyihua/pc/RoleSelector.vue +160 -0
- package/src/filiale/ankangyihua/pc/checkUserList.vue +697 -0
- package/src/filiale/ankangyihua/pc.js +22 -0
- package/src/filiale/baiyin/android/AndroidDefectDeal.vue +633 -0
- package/src/filiale/baiyin/android/SafecheckOrderV.vue +2785 -0
- package/src/filiale/baiyin/android.js +11 -0
- package/src/filiale/baiyin/pc/CheckPlanAreaList.vue +485 -0
- package/src/filiale/baiyin/pc/CheckSearchUser.vue +1067 -0
- package/src/filiale/baiyin/pc/DefectListNew.vue +597 -0
- package/src/filiale/baiyin/pc/DefectMainNew.vue +63 -0
- package/src/filiale/baiyin/pc/DefectPaperNew.vue +1052 -0
- package/src/filiale/baiyin/pc/PaperList.vue +790 -0
- package/src/filiale/baiyin/pc/PlanChooser.vue +167 -0
- package/src/filiale/baiyin/pc/PlanManage.vue +834 -0
- package/src/filiale/baiyin/pc/RightTreeSafe.vue +348 -0
- package/src/filiale/baiyin/pc/RoleSelector.vue +160 -0
- package/src/filiale/baiyin/pc/checkUserList.vue +771 -0
- package/src/filiale/baiyin/pc.js +21 -0
- package/src/filiale/bayan/android/AddPlanItem.vue +430 -0
- package/src/filiale/bayan/android/CheckPlanDown.vue +249 -0
- package/src/filiale/bayan/android/CurrentCreate.vue +1057 -0
- package/src/filiale/bayan/android/Edit.vue +132 -0
- package/src/filiale/bayan/android/PaperFeedback.vue +1669 -0
- package/src/filiale/bayan/android/PhoneUpUserinfo.vue +1377 -0
- package/src/filiale/bayan/android/SafecheckDevices.vue +1303 -0
- package/src/filiale/bayan/android/SafecheckOrderV.vue +2866 -0
- package/src/filiale/bayan/android/SafecheckUserInfo.vue +868 -0
- package/src/filiale/bayan/android.js +18 -0
- package/src/filiale/bayan/pc/CheckDetail.vue +205 -0
- package/src/filiale/bayan/pc/CheckPlan.vue +59 -0
- package/src/filiale/bayan/pc/CheckPlanAreaList.vue +601 -0
- package/src/filiale/bayan/pc/CheckSearchUser.vue +1110 -0
- package/src/filiale/bayan/pc/DefectListNew.vue +597 -0
- package/src/filiale/bayan/pc/DefectMainNew.vue +63 -0
- package/src/filiale/bayan/pc/DefectPaperNew.vue +1218 -0
- package/src/filiale/bayan/pc/DeviceChange.vue +1838 -0
- package/src/filiale/bayan/pc/HiddenSituation.vue +295 -0
- package/src/filiale/bayan/pc/NewCheckpaper.vue +1992 -0
- package/src/filiale/bayan/pc/PaperList.vue +900 -0
- package/src/filiale/bayan/pc/PlanManage.vue +960 -0
- package/src/filiale/bayan/pc/SelectCheckPlan.vue +391 -0
- package/src/filiale/bayan/pc.js +22 -0
- package/src/filiale/dexin/android/CasualSave.vue +1050 -0
- package/src/filiale/dexin/android/SafecheckDevices.vue +1305 -0
- package/src/filiale/dexin/android/SafecheckOrderV.vue +2950 -0
- package/src/filiale/dexin/android/WebMeterOpen.vue +377 -0
- package/src/filiale/dexin/android/WebMeterOpenEdit.vue +213 -0
- package/src/filiale/dexin/android.js +14 -0
- package/src/filiale/dexin/pc/PaperList.vue +805 -0
- package/src/filiale/dexin/pc.js +12 -0
- package/src/filiale/fugou/android/AddPlanItem.vue +413 -0
- package/src/filiale/fugou/android/SafecheckOrderV.vue +2796 -0
- package/src/filiale/fugou/android.js +11 -0
- package/src/filiale/fugou/pc/AddToCheckBook.vue +97 -0
- package/src/filiale/fugou/pc/CheckBook.vue +303 -0
- package/src/filiale/fugou/pc/CheckBookAll.vue +67 -0
- package/src/filiale/fugou/pc/CheckBookArea.vue +146 -0
- package/src/filiale/fugou/pc/CheckBookCompany.vue +144 -0
- package/src/filiale/fugou/pc/CheckBookDetails.vue +161 -0
- package/src/filiale/fugou/pc/CheckBookEntry.vue +94 -0
- package/src/filiale/fugou/pc/CheckBookList.vue +366 -0
- package/src/filiale/fugou/pc/CheckBookSearchArea.vue +560 -0
- package/src/filiale/fugou/pc/CheckBookSearchUnit.vue +229 -0
- package/src/filiale/fugou/pc/CheckBookSearchUser.vue +830 -0
- package/src/filiale/fugou/pc/CheckBookSearchUserList.vue +674 -0
- package/src/filiale/fugou/pc/CheckBookUser.vue +158 -0
- package/src/filiale/fugou/pc/DefectMainNew.vue +63 -0
- package/src/filiale/fugou/pc/DefectPaperNew.vue +1085 -0
- package/src/filiale/fugou/pc/PaperDefectMain.vue +928 -0
- package/src/filiale/fugou/pc/PaperList.vue +911 -0
- package/src/filiale/fugou/pc/PlanManage.vue +1061 -0
- package/src/filiale/fugou/pc/checkPlanList.vue +371 -0
- package/src/filiale/fugou/pc/checkUserList.vue +904 -0
- package/src/filiale/fugou/pc.js +72 -0
- package/src/filiale/fugu/android/SafecheckOrderV.vue +2484 -0
- package/src/filiale/fugu/android.js +10 -0
- package/src/filiale/fugu/pc/CheckSearchUser.vue +977 -0
- package/src/filiale/fugu/pc/NewCheckpaper.vue +1287 -0
- package/src/filiale/fugu/pc/SelectCheckPlan.vue +273 -0
- package/src/filiale/fugu/pc/planmanage/checkUserList.vue +688 -0
- package/src/filiale/fugu/pc.js +18 -0
- package/src/filiale/ganquan/android/AddPlanItem.vue +444 -0
- package/src/filiale/ganquan/android/AndroidDefectDeal.vue +570 -0
- package/src/filiale/ganquan/android/NoPlanDaofang.vue +241 -0
- package/src/filiale/ganquan/android/PhoneUpUserinfo.vue +986 -0
- package/src/filiale/ganquan/android/SafecheckOrderV.vue +2485 -0
- package/src/filiale/ganquan/android.js +25 -0
- package/src/filiale/ganquan/pc/CheckPlan.vue +47 -0
- package/src/filiale/ganquan/pc/DefectPaperNew.vue +1009 -0
- package/src/filiale/ganquan/pc/NewCheckpaper.vue +1354 -0
- package/src/filiale/ganquan/pc/PaperList.vue +654 -0
- package/src/filiale/ganquan/pc/PaperVisitMain.vue +166 -0
- package/src/filiale/ganquan/pc/SelectCheckPlan.vue +234 -0
- package/src/filiale/ganquan/pc/checkUserList.vue +681 -0
- package/src/filiale/ganquan/pc.js +20 -0
- package/src/filiale/gehua/android/CurrentCreate.vue +1009 -0
- package/src/filiale/gehua/android.js +12 -0
- package/src/filiale/gehua/pc/PaperList.vue +558 -0
- package/src/filiale/gehua/pc/checkUserList.vue +720 -0
- package/src/filiale/gehua/pc/checkmsg.vue +241 -0
- package/src/filiale/gehua/pc.js +15 -0
- package/src/filiale/guangxi/android/AreaPlan.vue +547 -0
- package/src/filiale/guangxi/android/CurrentCreate.vue +1037 -0
- package/src/filiale/guangxi/android.js +13 -0
- package/src/filiale/guangxi/pc/CheckPlanAreaList.vue +471 -0
- package/src/filiale/guangxi/pc/DefectListNew.vue +518 -0
- package/src/filiale/guangxi/pc/DefectMainNew.vue +63 -0
- package/src/filiale/guangxi/pc/DefectPaperNew.vue +988 -0
- package/src/filiale/guangxi/pc.js +14 -0
- package/src/filiale/hanzhong/android/PaperFeedback.vue +1477 -0
- package/src/filiale/hanzhong/android/SafecheckDevices.vue +1313 -0
- package/src/filiale/hanzhong/android/SafecheckOrderV.vue +2683 -0
- package/src/filiale/hanzhong/android/SafecheckUserInfo.vue +786 -0
- package/src/filiale/hanzhong/android.js +16 -0
- package/src/filiale/hanzhong/pc/CheckHiddenDanger.vue +713 -0
- package/src/filiale/hanzhong/pc/CheckNumberStatistics.vue +499 -0
- package/src/filiale/hanzhong/pc/CheckSafeDetail.vue +573 -0
- package/src/filiale/hanzhong/pc/CheckSafeStatus.vue +508 -0
- package/src/filiale/hanzhong/pc/CheckSearchUser.vue +1127 -0
- package/src/filiale/hanzhong/pc/CheckUserList.vue +755 -0
- package/src/filiale/hanzhong/pc/CheckerSafeDetail.vue +595 -0
- package/src/filiale/hanzhong/pc/HomeEcharts.vue +153 -0
- package/src/filiale/hanzhong/pc/NewCheckpaper.vue +1923 -0
- package/src/filiale/hanzhong/pc/PaperList.vue +702 -0
- package/src/filiale/hanzhong/pc.js +46 -0
- package/src/filiale/huaran/android/SafecheckOrderV.vue +2803 -0
- package/src/filiale/huaran/android.js +12 -0
- package/src/filiale/huaran/pc/CheckBook.vue +313 -0
- package/src/filiale/huaran/pc/CheckBookAll.vue +69 -0
- package/src/filiale/huaran/pc/CheckBookArea.vue +170 -0
- package/src/filiale/huaran/pc/CheckBookCompany.vue +166 -0
- package/src/filiale/huaran/pc/CheckBookDetails.vue +196 -0
- package/src/filiale/huaran/pc/CheckBookEntry.vue +61 -0
- package/src/filiale/huaran/pc/CheckBookList.vue +386 -0
- package/src/filiale/huaran/pc/CheckBookSearchArea.vue +564 -0
- package/src/filiale/huaran/pc/CheckBookSearchUnit.vue +229 -0
- package/src/filiale/huaran/pc/CheckBookSearchUser.vue +604 -0
- package/src/filiale/huaran/pc/CheckBookUser.vue +112 -0
- package/src/filiale/huaran/pc/PaperList.vue +822 -0
- package/src/filiale/huaran/pc/PlanManage.vue +887 -0
- package/src/filiale/huaran/pc/checkPlanList.vue +419 -0
- package/src/filiale/huaran/pc/checkUserList.vue +867 -0
- package/src/filiale/huaran/pc.js +27 -0
- package/src/filiale/huatong/android/AndroidDefectDeal.vue +396 -0
- package/src/filiale/huatong/android/CurrentCreate.vue +1023 -0
- package/src/filiale/huatong/android/PaperFeedback.vue +1433 -0
- package/src/filiale/huatong/android/SafecheckDevices.vue +68 -68
- package/src/filiale/huatong/android/SafecheckOrderV.vue +250 -222
- package/src/filiale/huatong/android/SafecheckUserInfo.vue +749 -0
- package/src/filiale/huatong/android.js +5 -2
- package/src/filiale/huatong/pc/ExportExcelOld.vue +203 -0
- package/src/filiale/huatong/pc/PaperDefectMain.vue +800 -0
- package/src/filiale/huatong/pc/PaperList.vue +789 -0
- package/src/filiale/huatong/pc.js +3 -1
- package/src/filiale/huayin/android/AreaPlan.vue +535 -0
- package/src/filiale/huayin/android/PaperFeedback.vue +1422 -0
- package/src/filiale/huayin/android/SafecheckOrderV.vue +2712 -0
- package/src/filiale/huayin/android.js +14 -0
- package/src/filiale/huayin/pc/NewCheckpaper.vue +1307 -0
- package/src/filiale/huayin/pc/PaperList.vue +621 -0
- package/src/filiale/huayin/pc.js +14 -0
- package/src/filiale/jiaocheng/android/AddPlanItem.vue +435 -0
- package/src/filiale/jiaocheng/android/PaperFeedback.vue +1308 -0
- package/src/filiale/jiaocheng/android/SafecheckDevices.vue +1267 -0
- package/src/filiale/jiaocheng/android/SafecheckUserInfo.vue +737 -0
- package/src/filiale/jiaocheng/android.js +13 -0
- package/src/filiale/jiaocheng/pc/CheckSearchUser.vue +1011 -0
- package/src/filiale/jiaocheng/pc/DefectListNew.vue +576 -0
- package/src/filiale/jiaocheng/pc/NewCheckpaper.vue +1417 -0
- package/src/filiale/jiaocheng/pc.js +14 -0
- package/src/filiale/jiaxian/android/AddPlanItem.vue +447 -0
- package/src/filiale/jiaxian/android/PhoneUpUserinfo.vue +1229 -0
- package/src/filiale/jiaxian/android/SafecheckDevices.vue +1298 -0
- package/src/filiale/jiaxian/android/SafecheckOrderV.vue +2807 -0
- package/src/filiale/jiaxian/android/SafecheckUserInfo.vue +784 -0
- package/src/filiale/jiaxian/android.js +14 -0
- package/src/filiale/jiaxian/pc.js +12 -0
- package/src/filiale/jinbin/android/AndroidDefectDeal.vue +403 -0
- package/src/filiale/jinbin/android/DailyworkloadQuery.vue +395 -0
- package/src/filiale/jinbin/android/PhoneUpUserinfo.vue +878 -0
- package/src/filiale/jinbin/android.js +12 -0
- package/src/filiale/jinbin/pc/CheckPlanAreaList.vue +479 -0
- package/src/filiale/jinbin/pc/DefectListWeixiu.vue +478 -0
- package/src/filiale/jinbin/pc.js +15 -0
- package/src/filiale/jingyang/android/AddPlanItem.vue +458 -0
- package/src/filiale/jingyang/android/CurrentCreate.vue +1080 -0
- package/src/filiale/jingyang/android/PaperFeedback.vue +1493 -0
- package/src/filiale/jingyang/android/PhoneUpUserinfo.vue +1234 -0
- package/src/filiale/jingyang/android/SafecheckOrderV.vue +2734 -0
- package/src/filiale/jingyang/android/SafecheckUserInfo.vue +781 -0
- package/src/filiale/jingyang/android.js +15 -0
- package/src/filiale/jingyang/pc/CheckSearchUser.vue +1062 -0
- package/src/filiale/jingyang/pc/InfoModifyModal.vue +151 -0
- package/src/filiale/jingyang/pc/PaperList.vue +793 -0
- package/src/filiale/jingyang/pc/ReportCheckItemList.vue +543 -0
- package/src/filiale/jingyang/pc/UserInfoAuditNew.vue +272 -0
- package/src/filiale/jingyang/pc/UserinfoModify.vue +133 -0
- package/src/filiale/jingyang/pc.js +15 -0
- package/src/filiale/kelai/android/AddPlanItem.vue +488 -0
- package/src/filiale/kelai/android/AndroidDefectDeal.vue +747 -0
- package/src/filiale/kelai/android/CheckPlanList.vue +203 -0
- package/src/filiale/kelai/android/CurrentCreate.vue +1008 -0
- package/src/filiale/kelai/android/PaperFeedback.vue +1539 -0
- package/src/filiale/kelai/android/PhoneUpUserinfo.vue +1053 -0
- package/src/filiale/kelai/android/RelieveRestrict.vue +304 -0
- package/src/filiale/kelai/android/SafecheckDevices.vue +1232 -0
- package/src/filiale/kelai/android/SafecheckOrderV.vue +2448 -0
- package/src/filiale/kelai/android/SafecheckUserInfo.vue +774 -0
- package/src/filiale/kelai/android/SafecheckUserInfo1.vue +618 -0
- package/src/filiale/kelai/android.js +21 -0
- package/src/filiale/kelai/pc/CheckPlanAreaList.vue +476 -0
- package/src/filiale/kelai/pc/CheckSearchUser.vue +1011 -0
- package/src/filiale/kelai/pc/DefectListNew.vue +688 -0
- package/src/filiale/kelai/pc/DefectPaperNew.vue +1090 -0
- package/src/filiale/kelai/pc/FaultLimitGas/FaultLimitGas.vue +60 -0
- package/src/filiale/kelai/pc/FaultLimitGas/FaultLimitGasList.vue +518 -0
- package/src/filiale/kelai/pc/FaultLimitGas/FaultLimitGasPaper.vue +897 -0
- package/src/filiale/kelai/pc/InfoModifyModal.vue +123 -0
- package/src/filiale/kelai/pc/MeterModify.vue +46 -0
- package/src/filiale/kelai/pc/NewCheckpaper.vue +1454 -0
- package/src/filiale/kelai/pc/PaperList.vue +596 -0
- package/src/filiale/kelai/pc/UserInfoAudit.vue +254 -0
- package/src/filiale/kelai/pc/UserinfoModify.vue +124 -0
- package/src/filiale/kelai/pc/checkUserList.vue +698 -0
- package/src/filiale/kelai/pc/checkmsg.vue +275 -0
- package/src/filiale/kelai/pc.js +25 -0
- package/src/filiale/liaoyuan/android/AddPlanItem.vue +412 -0
- package/src/filiale/liaoyuan/android/CurrentCreate.vue +1066 -0
- package/src/filiale/liaoyuan/android/SafecheckDevices.vue +68 -68
- package/src/filiale/liaoyuan/android/SafecheckOrderV.vue +232 -227
- package/src/filiale/liaoyuan/android/SafecheckUserInfo.vue +30 -23
- package/src/filiale/liaoyuan/android.js +2 -0
- package/src/filiale/liaoyuan/pc/CheckSearchUser.vue +963 -0
- package/src/filiale/liaoyuan/pc/DefectListWeixiu.vue +13 -7
- package/src/filiale/liaoyuan/pc/DefectPaperWeiXiu.vue +550 -514
- package/src/filiale/liaoyuan/pc/NewCheckpaper.vue +54 -54
- package/src/filiale/liaoyuan/pc/PaperList.vue +66 -86
- package/src/filiale/liaoyuan/pc/RoleSelector.vue +160 -0
- package/src/filiale/liaoyuan/pc/checkPlanList.vue +373 -0
- package/src/filiale/liaoyuan/pc.js +4 -1
- package/src/filiale/lixian/android/CurrentCreate.vue +997 -0
- package/src/filiale/lixian/android/SafecheckDevices.vue +82 -82
- package/src/filiale/lixian/android/SafecheckOrderV.vue +215 -214
- package/src/filiale/lixian/android/SafecheckUserInfo.vue +30 -38
- package/src/filiale/lixian/android.js +2 -1
- package/src/filiale/lixian/pc/CheckPlanAreaList.vue +25 -19
- package/src/filiale/lixian/pc/CheckSearchUser.vue +927 -0
- package/src/filiale/lixian/pc/NewCheckpaper.vue +58 -58
- package/src/filiale/lixian/pc/PaperChazhiMain.vue +13 -80
- package/src/filiale/lixian/pc/PaperDefectMain.vue +14 -80
- package/src/filiale/lixian/pc/PaperList.vue +21 -87
- package/src/filiale/lixian/pc/checkPlanList.vue +366 -0
- package/src/filiale/lixian/pc/checkUserList.vue +761 -0
- package/src/filiale/lixian/pc.js +4 -2
- package/src/filiale/minsheng/android/AreaPlan.vue +537 -0
- package/src/filiale/minsheng/android/CurrentCreate.vue +1028 -0
- package/src/filiale/minsheng/android/PhoneUpUserinfo.vue +1269 -0
- package/src/filiale/minsheng/android/SafecheckUserInfo.vue +754 -0
- package/src/filiale/minsheng/android/SwitchValve.vue +497 -0
- package/src/filiale/minsheng/android.js +16 -0
- package/src/filiale/minsheng/pc/CheckSearchUser.vue +976 -0
- package/src/filiale/minsheng/pc/DefectListNew.vue +535 -0
- package/src/filiale/minsheng/pc/DefectMainNew.vue +63 -0
- package/src/filiale/minsheng/pc/checkUserList.vue +806 -0
- package/src/filiale/minsheng/pc.js +15 -0
- package/src/filiale/pingxiang/android/PaperFeedback.vue +1399 -0
- package/src/filiale/pingxiang/android/SafecheckOrderV.vue +2424 -0
- package/src/filiale/pingxiang/android/SafecheckUserInfo.vue +600 -0
- package/src/filiale/pingxiang/android.js +11 -0
- package/src/filiale/pingxiang/pc/DefectListNew.vue +519 -0
- package/src/filiale/pingxiang/pc/DefectMainNew.vue +62 -0
- package/src/filiale/pingxiang/pc/DefectPaperNew.vue +1012 -0
- package/src/filiale/pingxiang/pc/NewCheckpaper.vue +1294 -0
- package/src/filiale/pingxiang/pc/PaperList.vue +595 -0
- package/src/filiale/pingxiang/pc.js +15 -0
- package/src/filiale/qianneng/android/AddPlanItem.vue +482 -0
- package/src/filiale/qianneng/android/AreaPlan.vue +536 -0
- package/src/filiale/qianneng/android/CurrentCreate.vue +1003 -0
- package/src/filiale/qianneng/android/PaperFeedback.vue +1434 -0
- package/src/filiale/qianneng/android/PhoneUpUserinfo.vue +1127 -0
- package/src/filiale/qianneng/android/SafecheckOrderV.vue +2785 -0
- package/src/filiale/qianneng/android/SafecheckUserInfo.vue +775 -0
- package/src/filiale/qianneng/android/SwitchValve.vue +369 -0
- package/src/filiale/qianneng/android.js +18 -0
- package/src/filiale/qianneng/pc/DefectListNew.vue +576 -0
- package/src/filiale/qianneng/pc/DefectPaperNew.vue +1072 -0
- package/src/filiale/qianneng/pc/InfoModifyModal.vue +135 -0
- package/src/filiale/qianneng/pc/MeterModify.vue +46 -0
- package/src/filiale/qianneng/pc/NewCheckpaper.vue +1546 -0
- package/src/filiale/qianneng/pc/NoCheckplanSafecheck.vue +220 -0
- package/src/filiale/qianneng/pc/PaperList.vue +777 -0
- package/src/filiale/qianneng/pc/PlanManage.vue +857 -0
- package/src/filiale/qianneng/pc/UserInfoAudit.vue +286 -0
- package/src/filiale/qianneng/pc/UserinfoModify.vue +125 -0
- package/src/filiale/qianneng/pc/checkPlanList.vue +429 -0
- package/src/filiale/qianneng/pc/checkUserList.vue +871 -0
- package/src/filiale/qianneng/pc.js +22 -0
- package/src/filiale/qingjian/android/PhoneUpUserinfo.vue +1270 -0
- package/src/filiale/qingjian/android/SafecheckDevices.vue +1269 -0
- package/src/filiale/qingjian/android/SafecheckOrderV.vue +2844 -0
- package/src/filiale/qingjian/android/SafecheckUserInfo.vue +800 -0
- package/src/filiale/qingjian/android.js +13 -0
- package/src/filiale/qingjian/pc/NewCheckpaper.vue +1876 -0
- package/src/filiale/qingjian/pc/PaperDefectMain.vue +895 -0
- package/src/filiale/qingjian/pc.js +15 -0
- package/src/filiale/qingtongxia/android/AddPlanItem.vue +450 -0
- package/src/filiale/qingtongxia/android/CurrentCreate.vue +1053 -0
- package/src/filiale/qingtongxia/android/PhoneUpUserinfo.vue +1230 -0
- package/src/filiale/qingtongxia/android/SafecheckOrderV.vue +2726 -0
- package/src/filiale/qingtongxia/android/SafecheckUserInfo.vue +782 -0
- package/src/filiale/qingtongxia/android.js +14 -0
- package/src/filiale/qingtongxia/pc/DefectListNew.vue +594 -0
- package/src/filiale/qingtongxia/pc/NewCheckpaper.vue +1908 -0
- package/src/filiale/qingtongxia/pc/PaperDefectMain.vue +858 -0
- package/src/filiale/qingtongxia/pc.js +15 -0
- package/src/filiale/rizhao/android/AddPlanItem.vue +446 -0
- package/src/filiale/rizhao/android/PaperFeedback.vue +1510 -0
- package/src/filiale/rizhao/android/SafecheckDevices.vue +1169 -0
- package/src/filiale/rizhao/android/SafecheckOrderV.vue +2430 -0
- package/src/filiale/rizhao/android/SafecheckUserInfo.vue +640 -0
- package/src/filiale/rizhao/android.js +14 -0
- package/src/filiale/rizhao/pc/DefectList.vue +489 -0
- package/src/filiale/rizhao/pc/NewCheckpaper.vue +1346 -0
- package/src/filiale/rizhao/pc/PaperList.vue +714 -0
- package/src/filiale/rizhao/pc.js +15 -0
- package/src/filiale/rongchuang/android/PaperFeedback.vue +1455 -0
- package/src/filiale/rongchuang/android/SafecheckDevices.vue +1400 -0
- package/src/filiale/rongchuang/android/SafecheckOrderV.vue +2696 -0
- package/src/filiale/rongchuang/android/checkpapermsg.vue +209 -0
- package/src/filiale/rongchuang/android.js +13 -0
- package/src/filiale/rongchuang/pc/NewCheckpaper.vue +1342 -0
- package/src/filiale/rongchuang/pc/PaperList.vue +812 -0
- package/src/filiale/rongchuang/pc/checkUserList.vue +42 -15
- package/src/filiale/rongchuang/pc.js +3 -1
- package/src/filiale/ruihua/android/SafecheckOrderV.vue +2747 -0
- package/src/filiale/ruihua/android/SafecheckUserInfo.vue +804 -0
- package/src/filiale/ruihua/android.js +11 -0
- package/src/filiale/shanggao/android/PaperFeedback.vue +1422 -0
- package/src/filiale/shanggao/android/SafecheckOrderV.vue +2426 -0
- package/src/filiale/shanggao/android.js +12 -0
- package/src/filiale/shanxian/android/AddPlanItem.vue +447 -0
- package/src/filiale/shanxian/android/AndroidDefectDeal.vue +755 -0
- package/src/filiale/shanxian/android/CurrentCreate_new.vue +1027 -0
- package/src/filiale/shanxian/android/PaperFeedback.vue +1445 -0
- package/src/filiale/shanxian/android/PhoneUpUserinfo.vue +939 -0
- package/src/filiale/shanxian/android/SafecheckOrderV.vue +2979 -0
- package/src/filiale/shanxian/android/SafecheckUserInfo.vue +749 -0
- package/src/filiale/shanxian/android.js +18 -0
- package/src/filiale/shanxian/pc/CheckDetail.vue +205 -0
- package/src/filiale/shanxian/pc/CheckPlan.vue +55 -0
- package/src/filiale/shanxian/pc/CheckSearchUser.vue +1114 -0
- package/src/filiale/shanxian/pc/DefectPaperNew.vue +1096 -0
- package/src/filiale/shanxian/pc/HiddenSituation.vue +121 -0
- package/src/filiale/shanxian/pc/NewCheckpaper.vue +1526 -0
- package/src/filiale/shanxian/pc/PaperList.vue +785 -0
- package/src/filiale/shanxian/pc/SelectCheckPlan.vue +303 -0
- package/src/filiale/shanxian/pc/checkUserList.vue +700 -0
- package/src/filiale/shanxian/pc.js +20 -0
- package/src/filiale/shaoguan/android.js +10 -0
- package/src/filiale/shaoguan/pc/PaperList.vue +589 -0
- package/src/filiale/shaoguan/pc.js +11 -0
- package/src/filiale/shexian/android/AddPlanItem.vue +444 -0
- package/src/filiale/shexian/android/AndroidDefectDeal.vue +634 -0
- package/src/filiale/shexian/android/AreaPlan.vue +540 -0
- package/src/filiale/shexian/android/DailyworkloadQuery.vue +418 -0
- package/src/filiale/shexian/android/PaperFeedback.vue +1448 -0
- package/src/filiale/shexian/android/PhoneUpUserinfo.vue +1153 -0
- package/src/filiale/shexian/android/SafecheckDevices.vue +1279 -0
- package/src/filiale/shexian/android/SafecheckOrderV.vue +2879 -0
- package/src/filiale/shexian/android.js +17 -0
- package/src/filiale/shexian/pc/DefectListNew.vue +593 -0
- package/src/filiale/shexian/pc/DefectPaperNew.vue +1161 -0
- package/src/filiale/shexian/pc/NewCheckpaper.vue +1469 -0
- package/src/filiale/shexian/pc/PaperDefectMain.vue +893 -0
- package/src/filiale/shexian/pc/PaperList.vue +822 -0
- package/src/filiale/shexian/pc.js +16 -0
- package/src/filiale/shimen/android/CurrentCreate.vue +29 -29
- package/src/filiale/shimen/android/PaperFeedback.vue +66 -66
- package/src/filiale/shimen/android/PhoneSellInfo.vue +2 -2
- package/src/filiale/shimen/android/SafecheckUserInfo.vue +24 -24
- package/src/filiale/shimen/pc/CheckPlanAreaList.vue +18 -18
- package/src/filiale/shimen/pc/CheckSearchUser.vue +14 -14
- package/src/filiale/shimen/pc/DefectList.vue +6 -6
- package/src/filiale/shimen/pc/NewCheckpaper.vue +54 -54
- package/src/filiale/shimen/pc/PaperDefectMain.vue +17 -84
- package/src/filiale/shimen/pc/PaperList.vue +12 -78
- package/src/filiale/shimen/pc/checkmsg.vue +7 -7
- package/src/filiale/shiquan/android/AreaPlan.vue +526 -0
- package/src/filiale/shiquan/android/CurrentCreate.vue +1014 -0
- package/src/filiale/shiquan/android/SafecheckDevices.vue +1269 -0
- package/src/filiale/shiquan/android.js +12 -0
- package/src/filiale/shiquan/pc/checkUserList.vue +755 -0
- package/src/filiale/shiquan/pc.js +13 -0
- package/src/filiale/siyang/android/AddPlanItem.vue +450 -0
- package/src/filiale/siyang/android/AppCheckPlan.vue +246 -0
- package/src/filiale/siyang/android/CurrentCreate.vue +1051 -0
- package/src/filiale/siyang/android/PhoneRecordInfo.vue +214 -0
- package/src/filiale/siyang/android/SafecheckOrderV.vue +2796 -0
- package/src/filiale/siyang/android/SafecheckUserInfo.vue +789 -0
- package/src/filiale/siyang/android.js +15 -0
- package/src/filiale/siyang/pc/CheckBookList.vue +396 -0
- package/src/filiale/siyang/pc/CheckBookSearchArea.vue +667 -0
- package/src/filiale/siyang/pc/CheckPlanAreaList.vue +512 -0
- package/src/filiale/siyang/pc/CheckSearchUser.vue +1035 -0
- package/src/filiale/siyang/pc/HiddenSituation.vue +167 -0
- package/src/filiale/siyang/pc/NewCheckpaper.vue +1938 -0
- package/src/filiale/siyang/pc/PaperDefectMain.vue +864 -0
- package/src/filiale/siyang/pc/PaperList.vue +834 -0
- package/src/filiale/siyang/pc/PlanManage.vue +839 -0
- package/src/filiale/siyang/pc/checkPlanList.vue +367 -0
- package/src/filiale/siyang/pc/checkUserList.vue +790 -0
- package/src/filiale/siyang/pc.js +22 -0
- package/src/filiale/tianke/android/AddPlanItem.vue +455 -0
- package/src/filiale/tianke/android/CurrentCreate.vue +988 -0
- package/src/filiale/tianke/android/SafecheckOrderV.vue +2431 -0
- package/src/filiale/tianke/android/SafecheckUserInfo.vue +744 -0
- package/src/filiale/tianke/android.js +16 -0
- package/src/filiale/tianke/pc/DefectListNew.vue +538 -0
- package/src/filiale/tianke/pc/PaperDefectMain.vue +891 -0
- package/src/filiale/tianke/pc/checkScreen.vue +786 -0
- package/src/filiale/tianke/pc/cq.jpg +0 -0
- package/src/filiale/tianke/pc/qy.jpg +0 -0
- package/src/filiale/tianke/pc.js +15 -0
- package/src/filiale/tongchuan/android/AddPlanItem.vue +483 -0
- package/src/filiale/tongchuan/android/AndroidDefectDeal.vue +647 -0
- package/src/filiale/tongchuan/android/CurrentCreate.vue +1001 -0
- package/src/filiale/tongchuan/android/PaperFeedback.vue +129 -163
- package/src/filiale/tongchuan/android/PhoneRecordInfo.vue +191 -0
- package/src/filiale/tongchuan/android/PhoneSellInfo.vue +113 -0
- package/src/filiale/tongchuan/android/PhoneUpDetail.vue +707 -0
- package/src/filiale/tongchuan/android/PhoneUpUserinfo.vue +1323 -0
- package/src/filiale/tongchuan/android/SafecheckDevices.vue +1207 -1112
- package/src/filiale/tongchuan/android/SafecheckOrderV.vue +3035 -2575
- package/src/filiale/tongchuan/android/SafecheckUserInfo.vue +119 -39
- package/src/filiale/tongchuan/android/Select.vue +421 -0
- package/src/filiale/tongchuan/android/SwitchValve.vue +284 -0
- package/src/filiale/tongchuan/android/UploadPage.vue +26 -14
- package/src/filiale/tongchuan/android.js +10 -2
- package/src/filiale/tongchuan/pc/CheckBookArea.vue +145 -0
- package/src/filiale/tongchuan/pc/CheckBookDetails.vue +209 -0
- package/src/filiale/tongchuan/pc/CheckBookEntry.vue +61 -0
- package/src/filiale/tongchuan/pc/CheckBookList.vue +377 -0
- package/src/filiale/tongchuan/pc/CheckDetail.vue +205 -0
- package/src/filiale/tongchuan/pc/CheckPlan.vue +55 -0
- package/src/filiale/tongchuan/pc/CheckPlanAreaList.vue +502 -0
- package/src/filiale/tongchuan/pc/CheckPlanCountChartArea.vue +137 -0
- package/src/filiale/tongchuan/pc/CheckPlanUserList.vue +6 -5
- package/src/filiale/tongchuan/pc/CheckSearchUser.vue +1053 -956
- package/src/filiale/tongchuan/pc/DefectListWeixiu.vue +484 -0
- package/src/filiale/tongchuan/pc/DefectPaper.vue +17 -17
- package/src/filiale/tongchuan/pc/DefectPaperWeiXiu.vue +96 -12
- package/src/filiale/tongchuan/pc/HiddenSituation.vue +166 -0
- package/src/filiale/tongchuan/pc/NewCheckpaper.vue +69 -73
- package/src/filiale/tongchuan/pc/NoCheckplanSafecheck.vue +213 -0
- package/src/filiale/tongchuan/pc/PaperDefectMain.vue +676 -250
- package/src/filiale/tongchuan/pc/PaperList.vue +77 -84
- package/src/filiale/tongchuan/pc/PlanManage.vue +901 -0
- package/src/filiale/tongchuan/pc/RoleSelector.vue +172 -0
- package/src/filiale/tongchuan/pc/SelectCheckPlan.vue +296 -0
- package/src/filiale/tongchuan/pc/checkUserList.vue +639 -593
- package/src/filiale/tongchuan/pc/repairScreen.vue +767 -0
- package/src/filiale/tongchuan/pc.js +16 -1
- package/src/filiale/tongchuan/utils/EventListener.js +29 -0
- package/src/filiale/tongchuan/utils/coerceBoolean.js +7 -0
- package/src/filiale/weinan/android/AddPlanItem.vue +438 -0
- package/src/filiale/weinan/android/AndroidDefectDeal.vue +450 -0
- package/src/filiale/weinan/android/AreaPlan.vue +693 -0
- package/src/filiale/weinan/android/CurrentCreate.vue +1171 -0
- package/src/filiale/weinan/android/CurrentCreateOnline.vue +911 -0
- package/src/filiale/weinan/android/PaperFeedback.vue +1410 -0
- package/src/filiale/weinan/android/PhoneUpDetail.vue +968 -0
- package/src/filiale/weinan/android/PhoneUpUserinfo.vue +1038 -0
- package/src/filiale/weinan/android/SafePlanItem.vue +440 -0
- package/src/filiale/weinan/android/SafecheckDevices.vue +1295 -0
- package/src/filiale/weinan/android/SafecheckOrderV.vue +3339 -0
- package/src/filiale/weinan/android/SafecheckUserInfo.vue +778 -0
- package/src/filiale/weinan/android.js +21 -0
- package/src/filiale/weinan/pc/CheckBook.vue +332 -0
- package/src/filiale/weinan/pc/CheckBookAll.vue +67 -0
- package/src/filiale/weinan/pc/CheckBookArea.vue +180 -0
- package/src/filiale/weinan/pc/CheckBookCompany.vue +144 -0
- package/src/filiale/weinan/pc/CheckBookCompanyUser.vue +86 -0
- package/src/filiale/weinan/pc/CheckBookDetails.vue +194 -0
- package/src/filiale/weinan/pc/CheckBookList.vue +446 -0
- package/src/filiale/weinan/pc/CheckBookSearchUser.vue +604 -0
- package/src/filiale/weinan/pc/CheckBookSearchUserList.vue +735 -0
- package/src/filiale/weinan/pc/CheckBookUser.vue +101 -0
- package/src/filiale/weinan/pc/CheckDetail.vue +278 -0
- package/src/filiale/weinan/pc/CheckDetailOutHelp.vue +297 -0
- package/src/filiale/weinan/pc/CheckNoDetail.vue +259 -0
- package/src/filiale/weinan/pc/CheckNoPlan.vue +59 -0
- package/src/filiale/weinan/pc/CheckPlan.vue +57 -0
- package/src/filiale/weinan/pc/CheckPlanAreaList.vue +472 -0
- package/src/filiale/weinan/pc/CheckPlanAreaManage.vue +111 -0
- package/src/filiale/weinan/pc/CheckPlanOutHelp.vue +57 -0
- package/src/filiale/weinan/pc/CheckPlanUserList.vue +338 -0
- package/src/filiale/weinan/pc/CheckSearchUser.vue +1078 -0
- package/src/filiale/weinan/pc/DefectListNew.vue +617 -0
- package/src/filiale/weinan/pc/DefectMainNew.vue +63 -0
- package/src/filiale/weinan/pc/DefectPaperNew.vue +1096 -0
- package/src/filiale/weinan/pc/DeviceChange.vue +1088 -0
- package/src/filiale/weinan/pc/HiddenSituation.vue +167 -0
- package/src/filiale/weinan/pc/NewCheckpaper.vue +1459 -0
- package/src/filiale/weinan/pc/PaperDefectMain.vue +576 -0
- package/src/filiale/weinan/pc/PaperList.vue +674 -0
- package/src/filiale/weinan/pc/PersonTrack.vue +246 -0
- package/src/filiale/weinan/pc/PlanManage.vue +986 -0
- package/src/filiale/weinan/pc/PrintMaterialBillNoplan.vue +161 -0
- package/src/filiale/weinan/pc/SelectCheckNoPlan.vue +299 -0
- package/src/filiale/weinan/pc/SelectCheckPlan.vue +389 -0
- package/src/filiale/weinan/pc/SelectCheckPlanOutHelp.vue +446 -0
- package/src/filiale/weinan/pc/checkPlanList.vue +456 -0
- package/src/filiale/weinan/pc/checkScreen.vue +1094 -0
- package/src/filiale/weinan/pc/checkUserList.vue +712 -0
- package/src/filiale/weinan/pc.js +47 -0
- package/src/filiale/weinanct/android/SafecheckDevices.vue +1225 -0
- package/src/filiale/weinanct/android/SafecheckOrderV.vue +2730 -0
- package/src/filiale/weinanct/android.js +14 -0
- package/src/filiale/weinanct/pc/NewCheckpaper.vue +1315 -0
- package/src/filiale/weinanct/pc/PaperList.vue +593 -0
- package/src/filiale/weinanct/pc/checkmsg.vue +248 -0
- package/src/filiale/weinanct/pc.js +14 -0
- package/src/filiale/wensu/android/AddPlanItem.vue +495 -0
- package/src/filiale/wensu/android/AndroidDefectDeal.vue +464 -0
- package/src/filiale/wensu/android/AndroidDefectDealItems.vue +480 -0
- package/src/filiale/wensu/android/CurrentCreate.vue +998 -0
- package/src/filiale/wensu/android/PaperFeedback.vue +1358 -0
- package/src/filiale/wensu/android/PhoneUpUserinfo.vue +314 -0
- package/src/filiale/wensu/android/SafecheckOrderV.vue +2430 -0
- package/src/filiale/wensu/android/SafecheckUserInfo.vue +627 -0
- package/src/filiale/wensu/android.js +16 -0
- package/src/filiale/wensu/pc/CheckDetail.vue +205 -0
- package/src/filiale/wensu/pc/CheckSearchUser.vue +1238 -0
- package/src/filiale/wensu/pc/DefectListNew.vue +735 -0
- package/src/filiale/wensu/pc/DefectMainNew.vue +63 -0
- package/src/filiale/wensu/pc/DefectPaperNew.vue +1148 -0
- package/src/filiale/wensu/pc/NewCheckpaper.vue +1936 -0
- package/src/filiale/wensu/pc/PlanManage.vue +831 -0
- package/src/filiale/wensu/pc/PrintMaterialBill.vue +172 -0
- package/src/filiale/wensu/pc/RoleSelector.vue +150 -0
- package/src/filiale/wensu/pc/SelectCheckPlan.vue +342 -0
- package/src/filiale/wensu/pc/checkUserList.vue +650 -0
- package/src/filiale/wensu/pc.js +20 -0
- package/src/filiale/wenxi/android/AddPlanItem.vue +431 -0
- package/src/filiale/wenxi/android/AndroidDefectDealHY.vue +606 -0
- package/src/filiale/wenxi/android/AndroidDefectDealWX.vue +502 -0
- package/src/filiale/wenxi/android/AreaPlan.vue +519 -0
- package/src/filiale/wenxi/android/CurrentCreate.vue +37 -29
- package/src/filiale/wenxi/android/DailyworkloadQuery.vue +398 -0
- package/src/filiale/wenxi/android/PaperFeedback.vue +1173 -944
- package/src/filiale/wenxi/android/PhoneUpUserinfo.vue +1076 -0
- package/src/filiale/wenxi/android/SafecheckDevices.vue +1066 -780
- package/src/filiale/wenxi/android/SafecheckOrderV.vue +2334 -2135
- package/src/filiale/wenxi/android/SafecheckUserInfo.vue +177 -88
- package/src/filiale/wenxi/android/UploadPage.vue +13 -13
- package/src/filiale/wenxi/android.js +10 -2
- package/src/filiale/wenxi/pc/CheckPlanAreaList.vue +456 -0
- package/src/filiale/wenxi/pc/CheckPlanUserList.vue +217 -0
- package/src/filiale/wenxi/pc/CheckSearchUser.vue +991 -0
- package/src/filiale/wenxi/pc/DefectList.vue +653 -0
- package/src/filiale/wenxi/pc/DefectPaper.vue +136 -135
- package/src/filiale/wenxi/pc/NewCheckpaper.vue +1194 -1005
- package/src/filiale/wenxi/pc/PaperDefectMain.vue +365 -209
- package/src/filiale/wenxi/pc/PaperList.vue +243 -154
- package/src/filiale/wenxi/pc/checkPlanList.vue +517 -0
- package/src/filiale/wenxi/pc/checkUserList.vue +695 -0
- package/src/filiale/wenxi/pc/checkmsg.vue +9 -9
- package/src/filiale/wenxi/pc/checkmsgdeal.vue +132 -0
- package/src/filiale/wenxi/pc.js +9 -2
- package/src/filiale/wuan/android/AreaPlan.vue +6 -6
- package/src/filiale/wuan/android/CurrentCreate.vue +25 -25
- package/src/filiale/wuan/android/CurrentCreateSheBei.vue +25 -25
- package/src/filiale/wuan/android/PaperFeedback.vue +1433 -0
- package/src/filiale/wuan/android/SafecheckDevices.vue +101 -101
- package/src/filiale/wuan/android/SafecheckOrderV.vue +221 -217
- package/src/filiale/wuan/android/SafecheckUserInfo.vue +94 -69
- package/src/filiale/wuan/android.js +3 -2
- package/src/filiale/wuan/pc/DefectListWeixiu.vue +8 -8
- package/src/filiale/wuan/pc/DefectPaperWeiXiu.vue +11 -10
- package/src/filiale/wuan/pc/NewCheckpaper.vue +54 -54
- package/src/filiale/wuan/pc/PaperList.vue +12 -78
- package/src/filiale/wuhai/android/AreaPlan.vue +7 -7
- package/src/filiale/wuhai/android/CurrentCreate.vue +1005 -0
- package/src/filiale/wuhai/android/PaperFeedback.vue +67 -67
- package/src/filiale/wuhai/android/PhoneUpUserinfo.vue +926 -0
- package/src/filiale/wuhai/android/SafecheckOrderV.vue +2456 -0
- package/src/filiale/wuhai/android/SafecheckUserInfo.vue +573 -0
- package/src/filiale/wuhai/android.js +4 -1
- package/src/filiale/wuhai/pc/CheckSearchUser.vue +959 -0
- package/src/filiale/wuhai/pc/NewCheckpaper.vue +1281 -0
- package/src/filiale/wuhai/pc/PaperList.vue +785 -0
- package/src/filiale/wuhai/pc/checkUserList.vue +48 -31
- package/src/filiale/wuhai/pc.js +5 -1
- package/src/filiale/xilan/android/AddPlanItem.vue +457 -0
- package/src/filiale/xilan/android/CurrentCreate.vue +1063 -0
- package/src/filiale/xilan/android.js +11 -0
- package/src/filiale/xilan/pc/checkUserList.vue +772 -0
- package/src/filiale/xilan/pc.js +12 -0
- package/src/filiale/xinkang/android/AndroidDefectDeal.vue +449 -0
- package/src/filiale/xinkang/android/CurrentCreate.vue +997 -0
- package/src/filiale/xinkang/android/OrderBacklog.vue +997 -0
- package/src/filiale/xinkang/android/SafecheckDevices.vue +1183 -0
- package/src/filiale/xinkang/android/SafecheckOrderV.vue +2732 -0
- package/src/filiale/xinkang/android/SafecheckUserInfo.vue +747 -0
- package/src/filiale/xinkang/android.js +14 -0
- package/src/filiale/xinkang/pc/CheckPlanAreaList.vue +425 -0
- package/src/filiale/xinkang/pc/CheckPlanAreaManage.vue +111 -0
- package/src/filiale/xinkang/pc/CheckPlanUserList.vue +216 -0
- package/src/filiale/xinkang/pc/CheckSearchUser.vue +1026 -0
- package/src/filiale/xinkang/pc/DefectListWeixiu.vue +475 -0
- package/src/filiale/xinkang/pc/DefectPaperWeiXiu.vue +538 -0
- package/src/filiale/xinkang/pc/NewCheckpaper.vue +1498 -0
- package/src/filiale/xinkang/pc/PaperDefectMain.vue +525 -0
- package/src/filiale/xinkang/pc/PaperList.vue +603 -0
- package/src/filiale/xinkang/pc/checkUserList.vue +639 -0
- package/src/filiale/xinkang/pc.js +22 -0
- package/src/filiale/yangchunboneng/android/AddPlanItem.vue +496 -0
- package/src/filiale/yangchunboneng/android/AndiroidSecurityAudit.vue +238 -0
- package/src/filiale/yangchunboneng/android/CurrentCreate.vue +1192 -0
- package/src/filiale/yangchunboneng/android/DailyworkloadQuery.vue +472 -0
- package/src/filiale/yangchunboneng/android/DailyworkloadQueryNew.vue +480 -0
- package/src/filiale/yangchunboneng/android/NewCheckpaperAndroid.vue +1362 -0
- package/src/filiale/yangchunboneng/android/PaperFeedback.vue +1731 -0
- package/src/filiale/yangchunboneng/android/PhoneUpUserinfo.vue +1235 -0
- package/src/filiale/yangchunboneng/android/SafecheckDevices.vue +1336 -0
- package/src/filiale/yangchunboneng/android/SafecheckOrderV.vue +2865 -0
- package/src/filiale/yangchunboneng/android/SafecheckUserInfo.vue +887 -0
- package/src/filiale/yangchunboneng/android/safeHistoryLook.vue +473 -0
- package/src/filiale/yangchunboneng/android.js +21 -0
- package/src/filiale/yangchunboneng/pc/AddToCheckBook.vue +237 -0
- package/src/filiale/yangchunboneng/pc/CheckBook.vue +301 -0
- package/src/filiale/yangchunboneng/pc/CheckBookAll.vue +66 -0
- package/src/filiale/yangchunboneng/pc/CheckBookDetails.vue +213 -0
- package/src/filiale/yangchunboneng/pc/CheckBookEntry.vue +61 -0
- package/src/filiale/yangchunboneng/pc/CheckBookList.vue +347 -0
- package/src/filiale/yangchunboneng/pc/CheckBookSearchUser.vue +659 -0
- package/src/filiale/yangchunboneng/pc/CheckBookUser.vue +269 -0
- package/src/filiale/yangchunboneng/pc/CheckPlanAreaList.vue +642 -0
- package/src/filiale/yangchunboneng/pc/CheckSearchUser.vue +1192 -0
- package/src/filiale/yangchunboneng/pc/DefectListNew.vue +576 -0
- package/src/filiale/yangchunboneng/pc/DefectPaperNew.vue +1128 -0
- package/src/filiale/yangchunboneng/pc/NewCheckpaper.vue +1816 -0
- package/src/filiale/yangchunboneng/pc/PaperDefectMain.vue +1046 -0
- package/src/filiale/yangchunboneng/pc/PaperList.vue +773 -0
- package/src/filiale/yangchunboneng/pc.js +26 -0
- package/src/filiale/yongzhou/android/PaperFeedback.vue +1519 -0
- package/src/filiale/yongzhou/android/PhoneUpUserinfo.vue +1257 -0
- package/src/filiale/yongzhou/android/SafecheckDevices.vue +1294 -0
- package/src/filiale/yongzhou/android/SafecheckOrderV.vue +2774 -0
- package/src/filiale/yongzhou/android/SafecheckUserInfo.vue +776 -0
- package/src/filiale/yongzhou/android.js +16 -0
- package/src/filiale/yongzhou/pc/CheckPlan.vue +59 -0
- package/src/filiale/yongzhou/pc/CheckSearchUser.vue +1092 -0
- package/src/filiale/yongzhou/pc/DefectPaperNew.vue +1105 -0
- package/src/filiale/yongzhou/pc/LodopFuncs.js +159 -0
- package/src/filiale/yongzhou/pc/NoCheckplanSafecheck.vue +557 -0
- package/src/filiale/yongzhou/pc/PaperDefectMain.vue +872 -0
- package/src/filiale/yongzhou/pc/PaperList.vue +798 -0
- package/src/filiale/yongzhou/pc/PlanManage.vue +842 -0
- package/src/filiale/yongzhou/pc/PrintData.vue +243 -0
- package/src/filiale/yongzhou/pc/PrintTable.vue +241 -0
- package/src/filiale/yongzhou/pc/RoleSelector.vue +161 -0
- package/src/filiale/yongzhou/pc/SelectCheckPlan.vue +364 -0
- package/src/filiale/yongzhou/pc/checkUserList.vue +752 -0
- package/src/filiale/yongzhou/pc/communityDetail.vue +194 -0
- package/src/filiale/yongzhou/pc/communityTypeDetailG.vue +138 -0
- package/src/filiale/yongzhou/pc/communityTypeDetailM.vue +114 -0
- package/src/filiale/yongzhou/pc/safeDetail.vue +539 -0
- package/src/filiale/yongzhou/pc/safeStatistics.vue +175 -0
- package/src/filiale/yongzhou/pc/safeStatisticsDay.vue +455 -0
- package/src/filiale/yongzhou/pc/safeStatisticsMonth.vue +267 -0
- package/src/filiale/yongzhou/pc/safeStatisticsYear.vue +135 -0
- package/src/filiale/yongzhou/pc/safeTable.vue +136 -0
- package/src/filiale/yongzhou/pc.js +32 -0
- package/src/filiale/yuansheng/android/AndroidDefectDeal.vue +652 -0
- package/src/filiale/yuansheng/android/PaperFeedback.vue +1488 -0
- package/src/filiale/yuansheng/android/PaperState.vue +403 -0
- package/src/filiale/yuansheng/android/PhoneUpUserinfo.vue +942 -0
- package/src/filiale/yuansheng/android/SafecheckDevices.vue +1258 -0
- package/src/filiale/yuansheng/android/SafecheckOrderV.vue +2758 -0
- package/src/filiale/yuansheng/android/SafecheckUserInfo.vue +797 -0
- package/src/filiale/yuansheng/android/SwitchValve.vue +322 -0
- package/src/filiale/yuansheng/android.js +17 -0
- package/src/filiale/yuansheng/pc/DefectListNew.vue +524 -0
- package/src/filiale/yuansheng/pc/NewCheckpaper.vue +1371 -0
- package/src/filiale/yuansheng/pc/PaperList.vue +621 -0
- package/src/filiale/yuansheng/pc/checkmsg.vue +464 -0
- package/src/filiale/yuansheng/pc.js +15 -0
- package/src/filiale/yunchengminsheng/android/DailyworkloadQuery.vue +491 -0
- package/src/filiale/yunchengminsheng/android/LdapHelper.js +75 -0
- package/src/filiale/yunchengminsheng/android/PaperFeedback.vue +1508 -0
- package/src/filiale/yunchengminsheng/android/PhoneUpUserinfo.vue +1198 -0
- package/src/filiale/yunchengminsheng/android/RightTree.vue +217 -0
- package/src/filiale/yunchengminsheng/android/SafecheckDevices.vue +1270 -0
- package/src/filiale/yunchengminsheng/android/SafecheckOrderV.vue +2849 -0
- package/src/filiale/yunchengminsheng/android/SafecheckUserInfo.vue +784 -0
- package/src/filiale/yunchengminsheng/android.js +14 -0
- package/src/filiale/yunchengminsheng/pc/NewCheckpaper.vue +1538 -0
- package/src/filiale/yunchengminsheng/pc/checkUserList.vue +753 -0
- package/src/filiale/yunchengminsheng/pc.js +14 -0
- package/src/filiale/zhongsheng/android/AreaPlan.vue +526 -0
- package/src/filiale/zhongsheng/android/BuyRecords.vue +122 -0
- package/src/filiale/zhongsheng/android/CurrentCreate.vue +999 -0
- package/src/filiale/zhongsheng/android/IgnitionInformation.vue +170 -0
- package/src/filiale/zhongsheng/android/PaperFeedback.vue +96 -96
- package/src/filiale/zhongsheng/android/PhoneSellInfoXin.vue +68 -0
- package/src/filiale/zhongsheng/android/PhoneUpUserinfo.vue +53 -53
- package/src/filiale/zhongsheng/android/SafecheckDevices.vue +1214 -0
- package/src/filiale/zhongsheng/android/SafecheckOrderV.vue +253 -239
- package/src/filiale/zhongsheng/android/SafecheckUserInfo.vue +177 -78
- package/src/filiale/zhongsheng/android.js +8 -2
- package/src/filiale/zhongsheng/pc/CheckPlanAreaList.vue +463 -0
- package/src/filiale/zhongsheng/pc/DefectListWeixiu.vue +9 -9
- package/src/filiale/zhongsheng/pc/DefectPaperWeiXiu.vue +13 -9
- package/src/filiale/zhongsheng/pc/InfoModifyModal.vue +2 -2
- package/src/filiale/zhongsheng/pc/NewCheckpaper.vue +68 -54
- package/src/filiale/zhongsheng/pc/PaperList.vue +644 -0
- package/src/filiale/zhongsheng/pc/UserInfoAudit.vue +10 -10
- package/src/filiale/zhongsheng/pc.js +4 -1
- package/src/filiale/zhongyi/android/CurrentCreate.vue +988 -0
- package/src/filiale/zhongyi/android/SafecheckOrderV.vue +2431 -0
- package/src/filiale/zhongyi/android.js +14 -0
- package/src/filiale/zhongyi/pc/DefectListNew.vue +514 -0
- package/src/filiale/zhongyi/pc/checkScreen.vue +781 -0
- package/src/filiale/zhongyi/pc.js +14 -0
- package/src/filiale/zhoukou/android/AndroidDefectDeal.vue +11 -11
- package/src/filiale/zhoukou/android/AreaPlan.vue +6 -6
- package/src/filiale/zhoukou/android/CurrentCreate.vue +26 -26
- package/src/filiale/zhoukou/android/PaperFeedback.vue +66 -66
- package/src/filiale/zhoukou/android/PhoneUpUserinfo.vue +51 -51
- package/src/filiale/zhoukou/android/SafecheckDevices.vue +95 -95
- package/src/filiale/zhoukou/android/SafecheckOrderV.vue +210 -210
- package/src/filiale/zhoukou/android/SafecheckUserInfo.vue +27 -27
- package/src/filiale/zhoukou/android/UploadPage.vue +15 -15
- package/src/filiale/zhoukou/android.js +1 -1
- package/src/filiale/zhoukou/pc/CheckSearchUser.vue +14 -14
- package/src/filiale/zhoukou/pc/PaperDefectMain.vue +11 -77
- package/src/main-/345/215/225/351/241/265/351/235/242/346/211/223/345/214/205/347/224/250.js +24 -0
- package/src/main.js +33 -33
- package/src/plugins/EmojiData.js +4 -4
- package/src/plugins/GerJsonObjectConfig.js +1 -1
- package/src/plugins/GetCheckParams.js +45 -0
- package/src/plugins/LoadCheckParams.js +59 -0
- package/src/plugins/LocalPagedList.js +3 -3
- package/src/plugins/LocalPathList.js +2 -2
- package/src/rongcheng-android.js +14 -2
- package/src/rongcheng.js +15 -3
- package/src/safecheck-android.js +84 -2
- package/src/safecheck-page.js +12 -0
- package/src/safecheck.js +195 -20
- package/src/shaoguan.js +2 -2
- package/src/tongchengsafe-android.js +2 -2
- package/src/tongchengsafecheck.js +2 -2
- package/src/utils/GerJsonObjectConfig.js +1 -1
- package/src/utils/LdapHelper.js +1 -1
- package/src/utils/htmlToPdf.js +40 -0
- package/static/images/DownLoadQRCode.png +0 -0
- package/static/images/meterBook/down.png +0 -0
- package/static/images/meterBook/drag.png +0 -0
- package/static/images/meterBook/up.png +0 -0
- package/static/images//346/204/237/345/217/271/345/217/267.png +0 -0
- package/static/images//347/272/242/345/217/211/345/217/211.png +0 -0
- package/static/layui/css/layui.css +1 -0
- package/static/layui/css/modules/code.css +1 -0
- package/static/layui/css/modules/laydate/default/laydate.css +1 -0
- package/static/layui/css/modules/layer/default/icon-ext.png +0 -0
- package/static/layui/css/modules/layer/default/icon.png +0 -0
- package/static/layui/css/modules/layer/default/layer.css +1 -0
- package/static/layui/css/modules/layer/default/loading-0.gif +0 -0
- package/static/layui/css/modules/layer/default/loading-1.gif +0 -0
- package/static/layui/css/modules/layer/default/loading-2.gif +0 -0
- package/static/layui/font/iconfont.eot +0 -0
- package/static/layui/font/iconfont.svg +554 -0
- package/static/layui/font/iconfont.ttf +0 -0
- package/static/layui/font/iconfont.woff +0 -0
- package/static/layui/font/iconfont.woff2 +0 -0
- package/static/layui/layui.js +1 -0
- package/static/stretch_bottom.png +0 -0
- package/static/stretch_top.png +0 -0
- package/src/components/cockpit/Splash.vue +0 -85
- package/src/components/cockpit/SplashDetail.vue +0 -66
- package/src/components/pc/CheckBookManage.vue +0 -910
@@ -67,494 +67,514 @@
|
|
67
67
|
</template>
|
68
68
|
|
69
69
|
<script>
|
70
|
-
// 户内维修
|
71
|
-
import Vue from 'vue'
|
72
|
-
import * as Util from '../../../components/Util'
|
73
|
-
// import DoorService from './DoorService'
|
74
|
-
// import Pipeline from './Pipeline'
|
75
|
-
// import DeviceService from './DeviceService'
|
76
|
-
// import TroubleRemoval from './TroubleRemoval'
|
77
|
-
// import FirstGasCheck from './FirstGasCheck'
|
78
|
-
// import RepairMatterInfo from './RepairMatterInfo'
|
79
|
-
// import TelChangeMatter from './TelChangeMatter'
|
80
|
-
import {HttpResetClass} from 'vue-client'
|
81
|
-
import co from 'co'
|
82
|
-
import $ from "jquery";
|
70
|
+
// 户内维修
|
71
|
+
import Vue from 'vue'
|
72
|
+
import * as Util from '../../../components/Util'
|
73
|
+
// import DoorService from './DoorService'
|
74
|
+
// import Pipeline from './Pipeline'
|
75
|
+
// import DeviceService from './DeviceService'
|
76
|
+
// import TroubleRemoval from './TroubleRemoval'
|
77
|
+
// import FirstGasCheck from './FirstGasCheck'
|
78
|
+
// import RepairMatterInfo from './RepairMatterInfo'
|
79
|
+
// import TelChangeMatter from './TelChangeMatter'
|
80
|
+
import {HttpResetClass} from 'vue-client'
|
81
|
+
import co from 'co'
|
82
|
+
import $ from "jquery";
|
83
83
|
|
84
|
-
let loadParamGem = async function (self) {
|
85
|
-
|
86
|
-
}
|
84
|
+
let loadParamGem = async function (self) {
|
85
|
+
await self.$LoadParams.loadParam()
|
86
|
+
}
|
87
87
|
|
88
|
-
export default {
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
88
|
+
export default {
|
89
|
+
title: '安检单',
|
90
|
+
props: ['f_plan_id', 'item', 'role', 'recording'],
|
91
|
+
// props: ['f_plan_id', 'role'],
|
92
|
+
data() {
|
93
|
+
return {
|
94
|
+
//测试数据
|
95
|
+
// f_plan_id:'',
|
96
|
+
// role:'inspect',
|
97
|
+
// item:{"f_approved_time":null,"f_user_family_remarks":null,"f_street":"测试街道","f_repair_approved_time":null,
|
98
|
+
// "f_user_type":null,"f_approved_by":null,"f_card_id":null,"f_remark":null,"f_building":"1","f_batch_number":null,
|
99
|
+
// "f_idnumber":null,"f_state":"未检","id":"0EFE0EE2-B155-46F9-8DE0-38C022664A4D","f_complete":null,"f_check_state":null,"f_last_check_state":"拒检",
|
100
|
+
// "f_user_inhome_time":null,"f_residential_area":"测试小区1","version":1,"f_processid":null,"f_last_check_result":"{\"result\":\"正常\",\"data\":[]}",
|
101
|
+
// "f_area":null,"f_usegas":null,"f_user_phone":"16566546548","f_slice_area":"营业大区","f_approved":"未审核","f_upload_state":"未传","f_user_check_time":null,
|
102
|
+
// "f_unit":"1","f_user_spare_phone":null,"f_last_check_date":null,"f_userproperties":null,"f_userfile_id":null,"f_prearranged_date":null,"f_filialeid":"453",
|
103
|
+
// "f_branch":null,"f_orgstr":null,"f_plan_year":2020,"f_orgid":null,"f_approval_notified":null,"f_plan_month":4,"f_approved_note":null,"f_filialeids":null,
|
104
|
+
// "f_floor":"1","f_flag":null,"f_repair_approved_note":null,"f_userinfo_code":"00000002","f_create_time":"2020-05-10 18:56:03","f_meter_no":"","f_station":null,
|
105
|
+
// "f_repair_approved":"未审核","f_no_checkplan":"有计划安检","f_plan_name":"关于","f_repair_approved_by":null,"f_room":"1","f_office":null,"f_comments":null,
|
106
|
+
// "f_address":"兰山街道泰盛小区1栋1单元1层1室","id_back":null,"f_userinfoid":"2","f_subcompany":null,"f_addressid":null,"f_user_phone2":null,
|
107
|
+
// "f_user_equipment_remarks":null,"f_plan_id":"0819ea6707ad4d9dad217c06a87f4227","f_user_name":"用户二",
|
108
|
+
// "f_plan_meters":[{"f_weizhi":null,"f_flow_direction":"右表","f_metertitles":"","f_prior_reading":0,"f_meter_no":"2119035714","f_collection_type":"按金额","f_aliasname":"先锋系统结算物联网表","f_meter_type":"物联网表","version":3,"f_maker":null,"f_metergasnums":0,"f_total_fee":100,"f_diaphgram_size":"G2.5","f_total_gas":0,"id":18663},{"f_weizhi":null,"f_flow_direction":"右表","f_metertitles":"","f_prior_reading":0,"f_meter_no":"2118999901","f_collection_type":"按金额","f_aliasname":"先锋系统结算物联网表","f_meter_type":"物联网表","version":1,"f_maker":null,"f_metergasnums":0,"f_total_fee":0,"f_diaphgram_size":"G2.5","f_total_gas":0,"id":18663}]
|
109
|
+
// },
|
110
110
|
|
111
|
-
|
111
|
+
data: {
|
112
|
+
f_devices: [],
|
113
|
+
f_defect_content: '',
|
114
|
+
f_recording1_path: ''
|
115
|
+
},
|
116
|
+
updateuserphone: false, //安检时是否更新用户电话
|
117
|
+
beforephone: '',
|
118
|
+
isUpload: false,
|
119
|
+
onlySave: true, //判断保存还是保存并上传
|
120
|
+
livedispose: '',
|
121
|
+
startClick: false, //开始安检按钮是否可点击
|
122
|
+
isStrat: false, //是否开始安检
|
123
|
+
checkResult: {},//查询结果
|
124
|
+
newcheckResult: {},
|
125
|
+
timer: null,
|
126
|
+
showModal: false,
|
127
|
+
pic_to_be_viewed: '',
|
128
|
+
showBack: true,
|
129
|
+
devices: [],
|
112
130
|
f_devices: [],
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
f_address: '',
|
150
|
-
f_repair_date: Util.toStandardTimeString(),
|
151
|
-
f_card_id: '',
|
152
|
-
// f_department: '', 站点选择
|
153
|
-
f_reciever: '',
|
154
|
-
f_remarks: '',
|
155
|
-
f_user_type: '',
|
156
|
-
f_area: '',
|
157
|
-
f_unit_name: '',
|
158
|
-
f_street: '',
|
159
|
-
f_residential_area: '',
|
160
|
-
f_building: '',
|
161
|
-
f_unit: '',
|
162
|
-
f_floor: '',
|
163
|
-
f_room: '',
|
164
|
-
aState: null,
|
165
|
-
f_repairtype: '',
|
166
|
-
f_repairitems: {},
|
167
|
-
},
|
168
|
-
repairitems: [],
|
169
|
-
meading: '转站点',
|
170
|
-
config: {
|
171
|
-
"燃气表": {
|
172
|
-
"checkmust": true,
|
173
|
-
"index": 1,
|
174
|
-
"items": {
|
175
|
-
//"燃气表照片":{"index":1,"type":"picture","remark":"(拍摄清晰的表具编号、字轮数、剩余气量等)"},
|
176
|
-
"表号": {"index": 1, "type": "string", "readonly": true},
|
177
|
-
"表封号": {"index": 2, "type": "string", "readonly": true},
|
178
|
-
"气表型号": {"index": 3, "type": "string", "readonly": true},
|
179
|
-
"气表品牌": {"index": 4, "type": "string", "readonly": true},
|
180
|
-
"进气方向": {"index": 5, "type": "string", "readonly": true},
|
181
|
-
"表位置": {"index": 6, "type": "number", "readonly": true},
|
182
|
-
"累购气量": {"index": 7, "type": "number", "readonly": true},
|
183
|
-
"累购金额": {"index": 8, "type": "number", "readonly": true},
|
184
|
-
"码盘数": {"index": 9, "type": "number", "checkmust": false, isshow: false},
|
185
|
-
"字轮数": {"index": 9, "type": "number", "checkmust": false, isshow: false},
|
186
|
-
"已用气量": {"index": 10, "type": "number", "checkmust": false},//基表数
|
187
|
-
"已用金额": {"index": 10, "type": "number", "checkmust": false},
|
188
|
-
"剩余气量": {"index": 11, "type": "number", "checkmust": false},//累购-已用
|
189
|
-
// 显示屏数 --实际剩余气量
|
190
|
-
"剩余金额": {"index": 11, "type": "number", "checkmust": false},
|
191
|
-
"气量异常差值": {"index": 12, "type": "number", "readonly": true},
|
192
|
-
"金额异常差值": {"index": 12, "type": "number", "readonly": true},
|
193
|
-
"热水器数量": {"index": 19, "type": "number", "checkmust": true},
|
194
|
-
"壁挂炉数量": {"index": 20, "type": "number", "checkmust": true},
|
195
|
-
"灶具数量": {"index": 21, "type": "number", "checkmust": true}
|
196
|
-
|
197
|
-
}
|
198
|
-
// 注意,配置项的index必须与上面的固定配置保持'顺序'
|
131
|
+
isToRepair: false,
|
132
|
+
clickBack: true, //是否点击返回按钮
|
133
|
+
isSafeCheckToRepair: false,//是否转维修
|
134
|
+
Url: this.$androidUtil.getProxyUrl(),
|
135
|
+
detail: {},
|
136
|
+
defectDevice: {},
|
137
|
+
user: {},
|
138
|
+
model: { //转维修数据
|
139
|
+
// 一次派单
|
140
|
+
serviceacitivity: [{
|
141
|
+
f_service_acitivity_type: '派单'
|
142
|
+
}],
|
143
|
+
f_source: '安检',
|
144
|
+
f_service_id: '',
|
145
|
+
f_contact_phone: '',
|
146
|
+
f_meetunit: '',
|
147
|
+
f_phone: '',
|
148
|
+
f_user_name: '',
|
149
|
+
f_address: '',
|
150
|
+
f_repair_date: Util.toStandardTimeString(),
|
151
|
+
f_card_id: '',
|
152
|
+
// f_department: '', 站点选择
|
153
|
+
f_reciever: '',
|
154
|
+
f_remarks: '',
|
155
|
+
f_user_type: '',
|
156
|
+
f_area: '',
|
157
|
+
f_unit_name: '',
|
158
|
+
f_street: '',
|
159
|
+
f_residential_area: '',
|
160
|
+
f_building: '',
|
161
|
+
f_unit: '',
|
162
|
+
f_floor: '',
|
163
|
+
f_room: '',
|
164
|
+
aState: null,
|
165
|
+
f_repairtype: '',
|
166
|
+
f_repairitems: {},
|
199
167
|
},
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
168
|
+
repairitems: [],
|
169
|
+
meading: '转站点',
|
170
|
+
config: {
|
171
|
+
"燃气表": {
|
172
|
+
"checkmust": true,
|
173
|
+
"index": 1,
|
174
|
+
"items": {
|
175
|
+
//"燃气表照片":{"index":1,"type":"picture","remark":"(拍摄清晰的表具编号、字轮数、剩余气量等)"},
|
176
|
+
"表号": {"index": 1, "type": "string", "readonly": true},
|
177
|
+
"表封号": {"index": 2, "type": "string", "readonly": true},
|
178
|
+
"气表型号": {"index": 3, "type": "string", "readonly": true},
|
179
|
+
"气表品牌": {"index": 4, "type": "string", "readonly": true},
|
180
|
+
"进气方向": {"index": 5, "type": "string", "readonly": true},
|
181
|
+
"表位置": {"index": 6, "type": "number", "readonly": true},
|
182
|
+
"累购气量": {"index": 7, "type": "number", "readonly": true},
|
183
|
+
"累购金额": {"index": 8, "type": "number", "readonly": true},
|
184
|
+
"码盘数": {"index": 9, "type": "number", "checkmust": true, isshow: false},
|
185
|
+
"字轮数": {"index": 9, "type": "number", "checkmust": true, isshow: false},
|
186
|
+
"已用气量": {"index": 10, "type": "number", "checkmust": false},//基表数
|
187
|
+
"已用金额": {"index": 10, "type": "number", "checkmust": false},
|
188
|
+
"系统剩余金额": {"index": 10, "type": "number", "checkmust": false,"readonly": true},
|
189
|
+
"剩余气量": {"index": 11, "type": "number", "checkmust": true},//累购-已用
|
190
|
+
// 显示屏数 --实际剩余气量
|
191
|
+
"剩余金额": {"index": 11, "type": "number", "checkmust": true},
|
192
|
+
"表端剩余金额": {"index": 11, "type": "number", "checkmust": true},
|
193
|
+
"电子码盘数": {"index": 12, "type": "number", "checkmust": false, isshow: false},
|
194
|
+
"气量异常差值": {"index": 13, "type": "number", "readonly": true},
|
195
|
+
"金额异常差值": {"index": 13, "type": "number", "readonly": true},
|
196
|
+
"热水器数量": {"index": 20, "type": "number", "checkmust": false, isshow: false},
|
197
|
+
"壁挂炉数量": {"index": 21, "type": "number", "checkmust": false, isshow: false},
|
198
|
+
"灶具数量": {"index": 22, "type": "number", "checkmust": false, isshow: false},
|
199
|
+
"自闭阀数量": {"index": 23, "type": "number", "checkmust": false, isshow: false},
|
200
|
+
"不锈钢波纹管数量": {"index": 24, "type": "number", "checkmust": false, isshow: false},
|
201
|
+
"有无报警器": {"index": 25, "type": "number", "checkmust": false, isshow: false},
|
202
|
+
"修改设备备注": {"index": 26, "type": "string", "checkmust": false, isshow: false}
|
203
|
+
}
|
204
|
+
// 注意,配置项的index必须与上面的固定配置保持'顺序'
|
205
|
+
},
|
206
|
+
// "燃气表2":{
|
207
|
+
// "checkmust":true,
|
208
|
+
// "index":2,src
|
209
|
+
// "items":{
|
210
|
+
// "燃气表照片":{"index":1,"type":"picture"},
|
211
|
+
// "表品牌":{"index":2,"type":"string","readonly":true},
|
212
|
+
// "表号":{"index":3,"type":"string","readonly":true},
|
213
|
+
// "表封号":{"index":4,"type":"number","readonly":true},
|
214
|
+
// "表型号":{"index":5,"type":"string","readonly":true},
|
215
|
+
// "位置":{"index":6,"type":"string","readonly":true},
|
216
|
+
// "表底数":{"index":7,"type":"number","readonly":true},
|
217
|
+
// "累购气量":{"index":8,"type":"number","readonly":true},
|
218
|
+
// "累购金额":{"index":8,"type":"number","readonly":true}
|
219
|
+
// }
|
220
|
+
// }
|
238
221
|
},
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
222
|
+
// 维修项
|
223
|
+
isneedDate: '',
|
224
|
+
routeShow: true,
|
225
|
+
number: 0,
|
226
|
+
shupingshow: false,
|
227
|
+
pipeline: {},
|
228
|
+
details: [],
|
229
|
+
ids: '',
|
230
|
+
savevalid: {
|
231
|
+
uservalid: false,
|
232
|
+
doorvalid: true,
|
233
|
+
changetable: false
|
234
|
+
},
|
235
|
+
doordetails: {},
|
236
|
+
devicedetails: {},
|
237
|
+
cookdetails: {},
|
238
|
+
componentName: 'safecheck-userinfo',
|
239
|
+
header: '客户信息',
|
240
|
+
tabs: [
|
241
|
+
// 参数全部设置成空,在ready时,等model处理好了,再添加
|
242
|
+
{
|
243
|
+
header: '客户信息', complete: 'safecheck-userinfo', class: 'repair-info-class', props: null
|
244
|
+
},
|
245
|
+
{
|
246
|
+
header: '拍照签名', complete: 'paper-feedback', class: 'outlay-class', props: null
|
247
|
+
}
|
248
|
+
],
|
249
|
+
faultshow: {
|
250
|
+
number: 8
|
251
|
+
}, // 控制 故障汇总 在 菜单里显示与否,
|
252
|
+
f_entry_guanfa:''
|
252
253
|
}
|
253
|
-
}
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
var startOrStopAudioClipStr;
|
259
|
-
if (isdelete === true) {
|
260
|
-
console.log("停止并删除录音")
|
261
|
-
startOrStopAudioClipStr = HostApp.startOrStopAudioClip("----", '停止并删除录音') //停止并删除录音
|
262
|
-
} else {
|
263
|
-
console.log("停止录音")
|
264
|
-
startOrStopAudioClipStr = HostApp.startOrStopAudioClip("----", '停止录音') //停止录音
|
265
|
-
}
|
266
|
-
if (startOrStopAudioClipStr.code == 200) {
|
267
|
-
console.log("停止或停止删除录音成功")
|
268
|
-
return true;
|
269
|
-
} else {
|
270
|
-
return false;
|
254
|
+
},
|
255
|
+
computed: {
|
256
|
+
actionEnabled: {
|
257
|
+
get() {
|
258
|
+
return this.role == 'inspect'
|
271
259
|
}
|
272
|
-
} catch (e) {
|
273
|
-
console.error("关闭录音方法异常")
|
274
|
-
console.error(e)
|
275
|
-
return false;
|
276
260
|
}
|
277
261
|
},
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
262
|
+
methods: {
|
263
|
+
closely(isdelete) {
|
264
|
+
try {
|
265
|
+
var startOrStopAudioClipStr;
|
266
|
+
if (isdelete === true) {
|
267
|
+
//tag
|
268
|
+
startOrStopAudioClipStr = HostApp.startOrStopAudioClip("----", '停止并删除录音') //停止并删除录音
|
269
|
+
} else {
|
270
|
+
//tag
|
271
|
+
startOrStopAudioClipStr = HostApp.startOrStopAudioClip("----", '停止录音') //停止录音
|
272
|
+
}
|
273
|
+
if (startOrStopAudioClipStr.code == 200) {
|
274
|
+
//tag
|
275
|
+
return true;
|
276
|
+
} else {
|
277
|
+
return false;
|
278
|
+
}
|
279
|
+
} catch (e) {
|
280
|
+
console.error("关闭录音方法异常")
|
281
|
+
console.error(e)
|
282
|
+
return false;
|
284
283
|
}
|
285
|
-
}
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
//HostApp.__this__ = this
|
294
|
-
/*调用无限制录音模块*/
|
295
|
-
let startOrStopState = HostApp.startOrStopAudioClip(fileName, "开始录音")
|
296
|
-
console.log("开始录音返回:" + startOrStopState)
|
297
|
-
if (startOrStopState.code == 200) {
|
298
|
-
this.data.f_recording1_path = "file:///storage/emulated/0/safecheck/" + fileName
|
299
|
-
console.log("开始录音成功" + startOrStopState.code)
|
300
|
-
return true;
|
284
|
+
},
|
285
|
+
// 录音方法
|
286
|
+
record() {
|
287
|
+
//tag
|
288
|
+
if (this.role != 'inspect') {
|
289
|
+
if (this.data.f_recording1_path != '') {
|
290
|
+
window.location = "/rs/file" + this.data.f_recording1_path
|
291
|
+
}
|
301
292
|
} else {
|
302
|
-
|
293
|
+
//tag
|
294
|
+
let fileName = Util.guid() + '.amr'
|
295
|
+
/*if (!this.data.f_recording1_path) {
|
296
|
+
fileName = Util.guid() + '.amr'
|
297
|
+
} else {
|
298
|
+
fileName = Util.getFileName(this.data.f_recording1_path)
|
299
|
+
}*/
|
300
|
+
//HostApp.__this__ = this
|
301
|
+
/*调用无限制录音模块*/
|
302
|
+
let startOrStopState = HostApp.startOrStopAudioClip(fileName, "开始录音")
|
303
|
+
//tag
|
304
|
+
if (startOrStopState.code == 200) {
|
305
|
+
//新版apk录音位置
|
306
|
+
//this.data.f_recording1_path = "file:///storage/emulated/0/Download/safecheck/" + fileName
|
307
|
+
//老版apk录音位置
|
308
|
+
this.data.f_recording1_path = "file:///storage/emulated/0/safecheck/" + fileName
|
309
|
+
//tag
|
310
|
+
return true;
|
311
|
+
} else {
|
312
|
+
return false;
|
313
|
+
}
|
303
314
|
}
|
304
|
-
}
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
console.log("进入禁用按钮事件")
|
315
|
+
},
|
316
|
+
saveNoclick() {
|
317
|
+
// 禁用点击事件
|
318
|
+
$("#savebut").addClass("noclickbut");
|
319
|
+
//tag
|
310
320
|
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
}
|
320
|
-
let time = new Date(val).getTime()
|
321
|
-
let time2 = new Date().getTime()
|
322
|
-
if (time2 > time) {
|
323
|
-
return true
|
324
|
-
}
|
325
|
-
},
|
326
|
-
imgback(val, isheader) {
|
327
|
-
if (val && this.routeShow && isheader) {
|
328
|
-
return require('../../../assets/xiangxia1.png')
|
329
|
-
} else {
|
330
|
-
return require('../../../assets/xiangyou1.png')
|
331
|
-
}
|
332
|
-
},
|
333
|
-
changediv(val) {
|
334
|
-
console.log(val)
|
335
|
-
return val
|
336
|
-
},
|
337
|
-
// 选择tab
|
338
|
-
tabSelect(item, number) {
|
339
|
-
this.header = item.header
|
340
|
-
console.log('item', item)
|
341
|
-
console.log('number', number)
|
342
|
-
console.log('this.routeShow', this.routeShow)
|
343
|
-
console.log('this.number', this.number)
|
344
|
-
// 处理关闭/显示 内容
|
345
|
-
if (this.number == number && !this.routeShow) {
|
346
|
-
this.routeShow = true
|
347
|
-
} else if (this.number == number && this.routeShow) {
|
348
|
-
this.routeShow = false
|
349
|
-
} else if (this.number != item.complete) {
|
350
|
-
this.routeShow = true
|
351
|
-
}
|
352
|
-
this.number = number
|
353
|
-
this.componentName = item.complete
|
354
|
-
console.log('跳转前this.routeShow', this.routeShow)
|
355
|
-
if (item.complete == 'safecheck-devices') {
|
356
|
-
console.log('this.data', this.data)
|
357
|
-
if (item.header != '燃气表' && this.data['device' + item.number].length == 0) {
|
358
|
-
this.data['device' + item.number].push({})
|
321
|
+
// 5秒后启用点击事件
|
322
|
+
setTimeout(function () {
|
323
|
+
$("#savebut").removeClass("noclickbut");
|
324
|
+
}, 5000);
|
325
|
+
},
|
326
|
+
timeSet(val) {
|
327
|
+
if (!val) {
|
328
|
+
return
|
359
329
|
}
|
360
|
-
|
361
|
-
|
362
|
-
|
363
|
-
|
364
|
-
config: this.config,
|
365
|
-
device: this.devices[item.number - 1],
|
366
|
-
idx: idx,
|
367
|
-
role: 'inspect'
|
330
|
+
let time = new Date(val).getTime()
|
331
|
+
let time2 = new Date().getTime()
|
332
|
+
if (time2 > time) {
|
333
|
+
return true
|
368
334
|
}
|
369
|
-
|
370
|
-
|
371
|
-
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
console.log('跳转完成')
|
335
|
+
},
|
336
|
+
imgback(val, isheader) {
|
337
|
+
if (val && this.routeShow && isheader) {
|
338
|
+
return require('../../../assets/xiangxia1.png')
|
339
|
+
} else {
|
340
|
+
return require('../../../assets/xiangyou1.png')
|
376
341
|
}
|
377
|
-
}
|
378
|
-
|
379
|
-
|
380
|
-
|
342
|
+
},
|
343
|
+
changediv(val) {
|
344
|
+
//tag
|
345
|
+
return val
|
346
|
+
},
|
347
|
+
// 选择tab
|
348
|
+
tabSelect(item, number) {
|
349
|
+
this.header = item.header
|
350
|
+
//tag
|
351
|
+
//tag
|
352
|
+
//tag
|
353
|
+
//tag
|
354
|
+
// 处理关闭/显示 内容
|
355
|
+
if (this.number == number && !this.routeShow) {
|
356
|
+
this.routeShow = true
|
357
|
+
} else if (this.number == number && this.routeShow) {
|
358
|
+
this.routeShow = false
|
359
|
+
} else if (this.number != item.complete) {
|
360
|
+
this.routeShow = true
|
381
361
|
}
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
|
388
|
-
|
389
|
-
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
|
402
|
-
|
362
|
+
this.number = number
|
363
|
+
this.componentName = item.complete
|
364
|
+
//tag
|
365
|
+
if (item.complete == 'safecheck-devices') {
|
366
|
+
//tag
|
367
|
+
if (item.header != '燃气表' && this.data['device' + item.number].length == 0) {
|
368
|
+
this.data['device' + item.number].push({})
|
369
|
+
}
|
370
|
+
//tag
|
371
|
+
//tag)
|
372
|
+
let idx = this.data['device' + item.number].length - 1
|
373
|
+
let itemprops = {
|
374
|
+
config: this.config,
|
375
|
+
device: this.devices[item.number - 1],
|
376
|
+
idx: idx,
|
377
|
+
role: 'inspect'
|
378
|
+
}
|
379
|
+
//tag
|
380
|
+
//tag)
|
381
|
+
//tag)
|
382
|
+
//tag
|
383
|
+
if (this.routeShow) {
|
384
|
+
this.$goto(item.complete, itemprops, 'repair')
|
385
|
+
//tag
|
386
|
+
}
|
387
|
+
} else {
|
388
|
+
//tag
|
389
|
+
if (this.routeShow) {
|
390
|
+
this.$goto(item.complete, {userinfo: this.data}, 'repair')
|
391
|
+
}
|
403
392
|
}
|
404
|
-
|
405
|
-
|
406
|
-
|
407
|
-
|
408
|
-
|
409
|
-
|
410
|
-
|
411
|
-
|
393
|
+
this.shupingshow = true
|
394
|
+
},
|
395
|
+
// 给组件添加参数
|
396
|
+
getImgPath() {
|
397
|
+
for (var i = 0; i < this.model.serviceacitivity[0].imgs.length; i++) {
|
398
|
+
this.ids += this.model.serviceacitivity[0].imgs[i].imgid + ','
|
399
|
+
}
|
400
|
+
this.ids = this.ids.substring(0, this.ids.length - 1)
|
401
|
+
if (this.ids) {
|
402
|
+
this.getImgGen();
|
403
|
+
}
|
404
|
+
},
|
405
|
+
getImgGen() {
|
406
|
+
let http = new HttpResetClass()
|
407
|
+
http.load('POST', 'rs/sql/tel_singleTable_OrderBy', {
|
408
|
+
data: {
|
409
|
+
items: '*',
|
410
|
+
tablename: 't_files',
|
411
|
+
condition: `id in (${this.ids})`,
|
412
|
+
orderitem: 'id'
|
412
413
|
}
|
414
|
+
}, {resolveMsg: null, rejectMsg: null}).then((res) => {
|
415
|
+
for (let i = 0; i < res.data.length; i++) {
|
416
|
+
for (let j = 0; j < this.model.serviceacitivity[0].imgs.length; j++) {
|
417
|
+
//tag)
|
418
|
+
//tag
|
419
|
+
if (res.data[i].id.toString() === this.model.serviceacitivity[0].imgs[j].imgid) {
|
420
|
+
this.model.serviceacitivity[0].imgs[j] = Object.assign({}, res.data[i], this.model.serviceacitivity[0].imgs[j])
|
421
|
+
}
|
422
|
+
}
|
413
423
|
|
414
|
-
|
415
|
-
|
416
|
-
|
424
|
+
}
|
425
|
+
})
|
426
|
+
},
|
417
427
|
|
418
|
-
|
419
|
-
|
420
|
-
|
421
|
-
|
422
|
-
|
423
|
-
|
424
|
-
|
425
|
-
|
426
|
-
|
427
|
-
|
428
|
-
|
429
|
-
|
430
|
-
|
431
|
-
|
432
|
-
|
428
|
+
sortDetails() {
|
429
|
+
for (let i = 0; i < this.details.length; i++) {
|
430
|
+
if (this.details[i].details.length) {
|
431
|
+
for (let j = 0; j < this.details[i].details.length; j++) {
|
432
|
+
if (this.details[i].details[j].f_type === 'a') {
|
433
|
+
this.doordetails = {details: this.details[i].details}
|
434
|
+
break
|
435
|
+
}
|
436
|
+
if (this.details[i].details[j].f_type === 'b') {
|
437
|
+
this.devicedetails = {details: this.details[i].details}
|
438
|
+
break
|
439
|
+
}
|
440
|
+
if (this.details[i].details[j].f_type === 'c') {
|
441
|
+
this.cookdetails = {details: this.details[i].details}
|
442
|
+
break
|
443
|
+
}
|
433
444
|
}
|
434
445
|
}
|
435
446
|
}
|
436
|
-
}
|
437
|
-
|
438
|
-
|
439
|
-
|
440
|
-
|
441
|
-
if (this.issee) {
|
442
|
-
_this.$back()
|
443
|
-
return
|
444
|
-
}
|
445
|
-
this.$showMessage('所填写内容将不可恢复!', ['confirm', 'cancel']).then((res) => {
|
446
|
-
if (res === 'confirm') {
|
447
|
-
this.closely(false)
|
447
|
+
},
|
448
|
+
// 复制数据
|
449
|
+
back() {
|
450
|
+
let _this = this
|
451
|
+
if (this.issee) {
|
448
452
|
_this.$back()
|
453
|
+
return
|
449
454
|
}
|
450
|
-
|
451
|
-
|
452
|
-
|
453
|
-
|
454
|
-
|
455
|
-
|
456
|
-
|
457
|
-
|
458
|
-
|
459
|
-
|
460
|
-
|
461
|
-
|
462
|
-
|
463
|
-
|
464
|
-
}
|
465
|
-
|
466
|
-
|
467
|
-
|
468
|
-
|
469
|
-
|
470
|
-
|
471
|
-
|
472
|
-
|
473
|
-
|
474
|
-
|
455
|
+
this.$showMessage('所填写内容将不可恢复!', ['confirm', 'cancel']).then((res) => {
|
456
|
+
if (res === 'confirm') {
|
457
|
+
this.closely(false)
|
458
|
+
_this.$back()
|
459
|
+
}
|
460
|
+
})
|
461
|
+
},
|
462
|
+
confirm() {
|
463
|
+
this.$dispatch('confirm')
|
464
|
+
},
|
465
|
+
tick() {
|
466
|
+
this.timer = null
|
467
|
+
this.data.f_offsite_time = Util.toStandardTimeString()
|
468
|
+
this.timer = window.setTimeout(this.tick, 1000)
|
469
|
+
},
|
470
|
+
getRepairState() {
|
471
|
+
let repaired = true
|
472
|
+
this.data.f_defects.forEach((defect) => {
|
473
|
+
repaired = repaired & (defect.f_ratification == '已处理')
|
474
|
+
})
|
475
|
+
return repaired
|
476
|
+
},
|
477
|
+
verifyRepairDefects() {
|
478
|
+
this.data.f_repair_date = Util.toStandardTimeString()
|
479
|
+
this.data.f_repaired = this.getRepairState() ? '已修' : '在修'
|
480
|
+
},
|
481
|
+
errorVerify() {
|
482
|
+
let hasError = this.verifyState()
|
483
|
+
if (hasError)
|
484
|
+
return hasError
|
475
485
|
|
476
|
-
|
477
|
-
|
478
|
-
|
479
|
-
|
480
|
-
|
481
|
-
|
482
|
-
|
483
|
-
|
484
|
-
|
485
|
-
|
486
|
-
|
487
|
-
|
488
|
-
|
489
|
-
|
490
|
-
|
491
|
-
|
492
|
-
|
493
|
-
|
494
|
-
|
495
|
-
|
496
|
-
|
497
|
-
|
498
|
-
|
499
|
-
|
500
|
-
|
501
|
-
|
502
|
-
|
503
|
-
|
504
|
-
|
486
|
+
if (this.data.f_entry_status != '入户')
|
487
|
+
return null
|
488
|
+
hasError = this.verifyUser()
|
489
|
+
if (hasError && this.item.f_safecheck_type != '复检')
|
490
|
+
return hasError
|
491
|
+
hasError = this.verifyDevices()
|
492
|
+
if (hasError && this.item.f_safecheck_type != '复检')
|
493
|
+
return hasError
|
494
|
+
hasError = this.verifyFeedback()
|
495
|
+
if (hasError)
|
496
|
+
return hasError
|
497
|
+
},
|
498
|
+
verifyvoice() {
|
499
|
+
if(this.data.f_recording1_path===''){
|
500
|
+
return '录音文件为空,请重新安检'
|
501
|
+
}else{
|
502
|
+
return ''
|
503
|
+
}
|
504
|
+
},
|
505
|
+
verifyState() {
|
506
|
+
if (Vue.android && this.data.f_entry_status == '未使用天然气' && this.data.f_nongasuser_path == Vue.nopic)
|
507
|
+
return '未使用天然气则必须拍照'
|
508
|
+
if (Vue.android && this.data.f_entry_status == '到访不遇' && this.data.f_noanswer_path == Vue.nopic)
|
509
|
+
return '到访不遇必须拍照'
|
510
|
+
if (Vue.android && this.data.f_entry_status == '封堵' && this.data.f_blockcheck_path == Vue.nopic)
|
511
|
+
return '封堵必须拍照'
|
512
|
+
},
|
513
|
+
verifyUser() {
|
514
|
+
//tag
|
515
|
+
//tag
|
516
|
+
//tag)
|
517
|
+
if (this.data.f_user_phone) {
|
518
|
+
this.data.f_user_phone = this.data.f_user_phone.trim()
|
519
|
+
}
|
520
|
+
// let prefix = '用户基本信息:'
|
521
|
+
// // if (Util.required(this.data.f_user_name))
|
522
|
+
// // return prefix + '用户名必须输入'
|
523
|
+
/*if (!(/^\d{11}$/.test(this.data.f_user_phone))) {
|
505
524
|
|
506
|
-
|
507
|
-
|
508
|
-
|
509
|
-
|
510
|
-
|
511
|
-
|
512
|
-
|
513
|
-
|
514
|
-
|
515
|
-
|
516
|
-
|
517
|
-
|
525
|
+
return '请输入正确的电话号码'
|
526
|
+
}*/
|
527
|
+
},
|
528
|
+
verifyDevices() {
|
529
|
+
for (let dev in this.config) {
|
530
|
+
if (this.config[dev].checkmust == true) {
|
531
|
+
let error = true
|
532
|
+
for(let device in this.data) {
|
533
|
+
if (device.startsWith("device")) {
|
534
|
+
for (let item in this.data[device]) {
|
535
|
+
if (this.data[device].length != 0 && this.data[device][item].f_device_type == dev) {
|
536
|
+
error = false
|
537
|
+
}
|
518
538
|
}
|
519
539
|
}
|
520
540
|
}
|
521
|
-
|
522
|
-
|
523
|
-
|
541
|
+
if (error) {
|
542
|
+
return "请检查" + dev
|
543
|
+
}
|
524
544
|
}
|
525
545
|
}
|
526
|
-
}
|
527
546
|
|
528
|
-
|
529
|
-
|
530
|
-
|
531
|
-
|
532
|
-
|
533
|
-
|
534
|
-
|
535
|
-
|
536
|
-
|
537
|
-
|
538
|
-
|
539
|
-
|
540
|
-
|
541
|
-
|
542
|
-
|
543
|
-
|
544
|
-
|
545
|
-
|
546
|
-
|
547
|
-
|
548
|
-
|
547
|
+
for (let dev in this.config) {
|
548
|
+
for(let device in this.data) {
|
549
|
+
if (device.startsWith("device")) {
|
550
|
+
for (let item in this.data[device]) {
|
551
|
+
//检查每一条安检结果
|
552
|
+
if (this.data[device].length != 0 && this.data[device][item].f_device_type == dev) {
|
553
|
+
for (let i in this.data[device][item].f_items) {
|
554
|
+
for (let it in this.config[dev].items) {
|
555
|
+
if (it == this.data[device][item].f_items[i].f_item_name) {
|
556
|
+
let check=false
|
557
|
+
if (!this.data[device][item].f_items[i].f_item_value && this.data[device][item].f_items[i].show){
|
558
|
+
check=true
|
559
|
+
}else if (Array.isArray(this.data[device][item].f_items[i].f_item_value)){
|
560
|
+
if (this.data[device][item].f_items[i].f_item_value.length==0 && this.data[device][item].f_items[i].show){
|
561
|
+
check=true
|
562
|
+
}
|
563
|
+
}
|
564
|
+
|
565
|
+
if(this.config[dev].items[it].type=='picture' && this.config[dev].items[it].checkmust == true && !this.data[device][item].f_items[i].f_path && check){
|
566
|
+
return dev + (this.data[device].indexOf(this.data[device][item]) + 1) + this.data[device][item].f_items[i].f_item_name + "未检查"
|
567
|
+
}
|
568
|
+
if (this.config[dev].items[it].type !='picture' && this.config[dev].items[it].checkmust == true && check) {
|
549
569
|
return dev + (this.data[device].indexOf(this.data[device][item]) + 1) + this.data[device][item].f_items[i].f_item_name + "未检查"
|
550
570
|
}
|
551
571
|
}
|
552
572
|
}
|
553
|
-
|
554
|
-
|
555
|
-
|
556
|
-
|
557
|
-
|
573
|
+
//检查安检下拉结果
|
574
|
+
if (this.data[device][item].f_items[i].type == 'selector' || this.data[device][item].f_items[i].type == 'radio') {
|
575
|
+
if (this.data[device][item].f_items[i].f_is_defect == true && this.data[device][item].f_items[i].f_path == Vue.nopic) {
|
576
|
+
return dev + (this.data[device].indexOf(this.data[device][item]) + 1) + this.data[device][item].f_items[i].f_item_name + this.data[device][item].f_items[i].f_item_value + "选中必须拍照"
|
577
|
+
}
|
558
578
|
}
|
559
579
|
}
|
560
580
|
}
|
@@ -562,777 +582,610 @@ export default {
|
|
562
582
|
}
|
563
583
|
}
|
564
584
|
}
|
565
|
-
}
|
566
|
-
},
|
567
|
-
|
585
|
+
},
|
568
586
|
|
569
|
-
verifyFeedback() {
|
570
|
-
let prefix = '拍照签名:'
|
571
|
-
console.log('this.data.f_overall_imgs==>' + JSON.stringify(this.data.f_overall_imgs))
|
572
|
-
if (Vue.android && (!this.data.f_overall_imgs || this.data.f_overall_imgs.length == 0) && this.data.f_entry_status == '入户')
|
573
|
-
return prefix + '必须有安检总体照片'
|
574
|
-
if (Vue.android && (!this.data.f_sign_path || this.data.f_sign_path.length == 0) && this.data.f_entry_status == '入户')
|
575
|
-
return prefix + '必须有用户签名'
|
576
|
-
if (Vue.android && this.data.f_defect_notified && this.data.f_notified_path == Vue.nopic)
|
577
|
-
return prefix + '下发安检通知书则必须给通知书拍照'
|
578
|
-
if (Vue.android && this.data.f_blacklist && this.data.f_blocking_cause == '')
|
579
|
-
return prefix + '请填写拉黑原因'
|
580
|
-
if (!this.data.f_client_evaluation && this.data.f_entry_status == '入户')
|
581
|
-
return prefix + '请选择服务评价'
|
582
|
-
},
|
583
587
|
|
584
|
-
|
585
|
-
|
586
|
-
|
587
|
-
data
|
588
|
-
|
589
|
-
|
590
|
-
|
591
|
-
|
592
|
-
|
593
|
-
|
594
|
-
|
595
|
-
|
596
|
-
|
597
|
-
|
598
|
-
|
599
|
-
|
600
|
-
|
601
|
-
|
602
|
-
|
603
|
-
|
604
|
-
|
605
|
-
|
606
|
-
|
607
|
-
|
608
|
-
|
609
|
-
|
610
|
-
|
611
|
-
|
612
|
-
|
613
|
-
|
614
|
-
|
615
|
-
|
588
|
+
verifyFeedback() {
|
589
|
+
let prefix = '拍照签名:'
|
590
|
+
//tag)
|
591
|
+
if (Vue.android && (!this.data.f_overall_imgs || this.data.f_overall_imgs.length == 0) && this.data.f_entry_status == '入户')
|
592
|
+
return prefix + '必须有安检总体照片'
|
593
|
+
if (Vue.android && (!this.data.f_sign_path || this.data.f_sign_path.length == 0) && this.data.f_entry_status == '入户')
|
594
|
+
return prefix + '必须有用户签名'
|
595
|
+
if (Vue.android && this.data.f_defect_notified && this.data.f_notified_path == Vue.nopic)
|
596
|
+
return prefix + '下发安检通知书则必须给通知书拍照'
|
597
|
+
if (Vue.android && this.data.f_blacklist && this.data.f_blocking_cause == '')
|
598
|
+
return prefix + '请填写拉黑原因'
|
599
|
+
if (!this.data.f_client_evaluation && this.data.f_entry_status == '入户')
|
600
|
+
return prefix + '请选择服务评价'
|
601
|
+
},
|
602
|
+
//信息修改后回调函数,更新外层页面手机号,避免手机号一直校验失败
|
603
|
+
updateUserCallBack(){
|
604
|
+
new HttpResetClass().load("POST", `${this.$androidUtil.getProxyUrl()}/rs/sql/safe_singleTable_OrderBy`, {data:{items:"*",tablename:"t_userinfo",orderitem:"1",condition:`f_userinfo_id = '${this.data.f_userinfoid}'`}}, {resolveMsg: null, rejectMsg: null}).then(resp=>{
|
605
|
+
this.data.f_user_phone = resp.data[0].f_user_phone
|
606
|
+
})
|
607
|
+
},
|
608
|
+
getAllDefect() {
|
609
|
+
let checkResults = {
|
610
|
+
result: '正常',
|
611
|
+
data: []
|
612
|
+
}
|
613
|
+
let value = ''
|
614
|
+
let codata = JSON.parse(JSON.stringify(this.data))
|
615
|
+
//tag)
|
616
|
+
//tag)
|
617
|
+
codata.f_devices = []
|
618
|
+
this.f_devices = []
|
619
|
+
for (let device in codata) {
|
620
|
+
let f_device_type
|
621
|
+
if (device.startsWith("device")) {
|
622
|
+
//tag)
|
623
|
+
let hasOther = ''
|
624
|
+
let otherValue = null
|
625
|
+
for (let item in codata[device]) {
|
626
|
+
if(typeof codata[device][item]=='function'){
|
616
627
|
continue
|
617
628
|
}
|
618
|
-
|
619
|
-
|
620
|
-
|
621
|
-
|
622
|
-
|
623
|
-
|
624
|
-
// console.log('items' + JSON.stringify(items))
|
625
|
-
// console.log(`type => ${JSON.stringify(codata[device][item].f_device_type)} name => ${JSON.stringify(items.f_item_name)} value => ${JSON.stringify(items.f_item_value)}`)
|
626
|
-
// console.log(`f_is_defect => ${this.config[codata[device][item]
|
627
|
-
// .f_device_type]
|
628
|
-
// .items[items.f_item_name]
|
629
|
-
// .options
|
630
|
-
// .find((option)=>option.data === items.f_item_value)
|
631
|
-
// .map((option)=>option.f_is_defect)}`)
|
632
|
-
// if (items.f_is_defect && (items.f_is_defect == true || items.f_is_defect == 'true')) {
|
633
|
-
// console.log('进入有隐患')
|
634
|
-
// checkResults.result = '有隐患'
|
635
|
-
// console.log('有隐患items.f_item_name==》' + JSON.stringify(items.f_item_name))
|
636
|
-
// console.log('有隐患items.f_item_value==》' + JSON.stringify(items.f_item_value))
|
637
|
-
// // this.$set('checkResult.' + items.f_item_name, items.f_item_value)
|
638
|
-
// this.checkResult[items.f_item_name] = items.f_item_value
|
639
|
-
// console.log('有隐患checkResult==》' + JSON.stringify(this.checkResult))
|
640
|
-
// // this.$set('checkResultsss.' + items.f_item_name, `${f_device_type}${items.f_item_value}`)
|
641
|
-
// // console.log('有隐患checkResultsss==》' + JSON.stringify(this.checkResultsss))
|
629
|
+
codata[device][item].f_create_time = Util.toStandardTimeString()
|
630
|
+
// if (codata[device].length > 1) {
|
631
|
+
// let j = Number.parseInt(item) + 1
|
632
|
+
// f_device_type = `${codata[device][item].f_device_type}${j}`
|
633
|
+
// } else {
|
634
|
+
// f_device_type = codata[device][item].f_device_type
|
642
635
|
// }
|
643
|
-
|
644
|
-
|
645
|
-
|
646
|
-
|
647
|
-
|
648
|
-
|
649
|
-
|
650
|
-
|
651
|
-
|
652
|
-
|
653
|
-
|
654
|
-
|
655
|
-
|
656
|
-
|
657
|
-
|
658
|
-
|
659
|
-
|
660
|
-
|
661
|
-
|
662
|
-
|
663
|
-
|
664
|
-
|
636
|
+
//tag
|
637
|
+
//tag
|
638
|
+
//tag)
|
639
|
+
//tag)
|
640
|
+
for (let i = 0; i < codata[device][item].f_items.length; i++) {
|
641
|
+
//tag
|
642
|
+
if (i == 'sum') {
|
643
|
+
continue
|
644
|
+
}
|
645
|
+
//tag)
|
646
|
+
var items = codata[device][item].f_items[i]
|
647
|
+
items.f_create_time = Util.toStandardTimeString()
|
648
|
+
//tag)
|
649
|
+
items.f_item_lists = []
|
650
|
+
//tag)
|
651
|
+
// //tag)
|
652
|
+
// //tag} name => ${JSON.stringify(items.f_item_name)} value => ${JSON.stringify(items.f_item_value)}`)
|
653
|
+
// console.log(`f_is_defect => ${this.config[codata[device][item]
|
654
|
+
// .f_device_type]
|
655
|
+
// .items[items.f_item_name]
|
656
|
+
// .options
|
657
|
+
// .find((option)=>option.data === items.f_item_value)
|
658
|
+
// .map((option)=>option.f_is_defect)}`)
|
659
|
+
// if (items.f_is_defect && (items.f_is_defect == true || items.f_is_defect == 'true')) {
|
660
|
+
// //tag
|
661
|
+
// checkResults.result = '有隐患'
|
662
|
+
// //tag)
|
663
|
+
// //tag)
|
664
|
+
// // this.$set('checkResult.' + items.f_item_name, items.f_item_value)
|
665
|
+
// this.checkResult[items.f_item_name] = items.f_item_value
|
666
|
+
// //tag)
|
667
|
+
// // this.$set('checkResultsss.' + items.f_item_name, `${f_device_type}${items.f_item_value}`)
|
668
|
+
// // //tag)
|
669
|
+
// }
|
670
|
+
if (items.type == 'selector') {
|
671
|
+
items.selected = []
|
672
|
+
} else if (items.type == 'inputSelector') {
|
673
|
+
items.selected = ''
|
674
|
+
}
|
675
|
+
//遍历配置项 将所选隐患项的配置信息放入保存的数据中
|
676
|
+
let f_is_defect //是否是隐患
|
677
|
+
let f_defect_level //是否是隐患
|
678
|
+
let f_item_name = items.f_item_name
|
679
|
+
let f_item_value
|
680
|
+
let f_is_eliminate //隐患是否消除
|
681
|
+
let f_meternumber = ''
|
682
|
+
let f_user_defects = [] // 用户所有隐患
|
683
|
+
//tag
|
684
|
+
//tag
|
685
|
+
if (items.type == 'selector' || items.type == 'checkbox' || items.type == 'radio') {
|
686
|
+
for (let i in items.f_item_value) {
|
687
|
+
if(typeof items.f_item_value[i]=='function'){
|
688
|
+
continue
|
689
|
+
}
|
690
|
+
let configItems = this.config[codata[device][item].f_device_type].items[f_item_name]
|
691
|
+
//tag)
|
692
|
+
for (let k in configItems.options) {
|
693
|
+
if(typeof configItems.options[k]=='function'){
|
694
|
+
continue
|
695
|
+
}
|
696
|
+
//tag)
|
697
|
+
if (items.f_item_value[i] === configItems.options[k].data) {
|
665
698
|
|
666
|
-
|
667
|
-
|
668
|
-
|
699
|
+
f_is_defect = configItems.options[k].isdefect
|
700
|
+
f_item_value = items.f_item_value[i]
|
701
|
+
f_defect_level = configItems.options[k].level
|
669
702
|
|
670
|
-
|
671
|
-
|
672
|
-
|
703
|
+
//tag
|
704
|
+
//tag
|
705
|
+
//tag
|
673
706
|
|
674
|
-
|
675
|
-
|
676
|
-
|
677
|
-
|
678
|
-
|
679
|
-
|
680
|
-
|
681
|
-
|
707
|
+
if (f_is_defect) {
|
708
|
+
if (checkResults.result !== '有隐患') {
|
709
|
+
checkResults.result = '有隐患'
|
710
|
+
}
|
711
|
+
if (!this.checkResult.hasOwnProperty(f_item_name)) {
|
712
|
+
//tag
|
713
|
+
this.checkResult[f_item_name] = []
|
714
|
+
}
|
682
715
|
|
683
|
-
|
684
|
-
|
716
|
+
//tag
|
717
|
+
this.checkResult[f_item_name].push(f_item_value)
|
685
718
|
|
686
|
-
|
719
|
+
}
|
687
720
|
|
688
|
-
|
689
|
-
|
690
|
-
|
691
|
-
|
692
|
-
|
693
|
-
|
694
|
-
}
|
695
|
-
if (!items.f_item_lists) {
|
696
|
-
console.log('f_item_lists未定义')
|
697
|
-
items.f_item_lists = []
|
698
|
-
console.log('items_list=========>' + JSON.stringify(items_list))
|
699
|
-
if (JSON.stringify(items_list) !== '{}') {
|
700
|
-
console.log('放了')
|
701
|
-
items.f_item_lists.push(items_list)
|
721
|
+
let items_list = {
|
722
|
+
f_is_defect: f_is_defect,
|
723
|
+
f_item_value: f_item_value,
|
724
|
+
f_defect_level: f_defect_level,
|
725
|
+
f_is_eliminate: null,
|
726
|
+
f_create_time: Util.toStandardTimeString()
|
702
727
|
}
|
703
|
-
|
704
|
-
|
705
|
-
|
706
|
-
|
707
|
-
|
728
|
+
if (!items.f_item_lists) {
|
729
|
+
//tag
|
730
|
+
items.f_item_lists = []
|
731
|
+
//tag)
|
732
|
+
if (JSON.stringify(items_list) !== '{}') {
|
733
|
+
//tag
|
734
|
+
items.f_item_lists.push(items_list)
|
735
|
+
}
|
736
|
+
} else {
|
737
|
+
//tag)
|
738
|
+
if (JSON.stringify(items_list) !== '{}') {
|
739
|
+
//tag
|
740
|
+
items.f_item_lists.push(items_list)
|
741
|
+
}
|
708
742
|
}
|
709
743
|
}
|
710
744
|
}
|
711
745
|
}
|
712
|
-
}
|
713
|
-
|
714
|
-
|
715
|
-
|
716
|
-
|
717
|
-
|
718
|
-
|
719
|
-
|
720
|
-
|
721
|
-
|
722
|
-
|
723
|
-
|
724
|
-
|
725
|
-
|
726
|
-
f_create_time: Util.toStandardTimeString()
|
727
|
-
}
|
728
|
-
if (f_is_defect && f_item_value) {
|
729
|
-
items.f_is_defect = true
|
730
|
-
if (checkResults.result !== '有隐患') {
|
731
|
-
checkResults.result = '有隐患'
|
732
|
-
}
|
733
|
-
if (!this.checkResult.hasOwnProperty(items.f_item_name)) {
|
734
|
-
console.log(`The ${items.f_item_name} initialized`)
|
735
|
-
this.checkResult[items.f_item_name] = []
|
746
|
+
} else {
|
747
|
+
let configItems = this.config[codata[device][item].f_device_type].items[items.f_item_name]
|
748
|
+
//tag)
|
749
|
+
f_is_defect = items.f_is_defect
|
750
|
+
f_defect_level = configItems ? configItems.level : items.f_defect_level
|
751
|
+
f_item_value = items.f_item_value
|
752
|
+
//tag
|
753
|
+
//tag
|
754
|
+
//tag
|
755
|
+
let items_list = {
|
756
|
+
f_is_defect: f_is_defect,
|
757
|
+
f_item_value: f_item_value,
|
758
|
+
f_defect_level: f_defect_level,
|
759
|
+
f_create_time: Util.toStandardTimeString()
|
736
760
|
}
|
761
|
+
if (f_is_defect && f_item_value) {
|
762
|
+
items.f_is_defect = true
|
763
|
+
if (checkResults.result !== '有隐患') {
|
764
|
+
checkResults.result = '有隐患'
|
765
|
+
}
|
766
|
+
if (!this.checkResult.hasOwnProperty(items.f_item_name)) {
|
767
|
+
//tag
|
768
|
+
this.checkResult[items.f_item_name] = []
|
769
|
+
}
|
737
770
|
|
738
|
-
|
739
|
-
|
771
|
+
//tag
|
772
|
+
this.checkResult[items.f_item_name].push(f_item_value)
|
740
773
|
|
741
|
-
}
|
742
|
-
console.log('items_list=========>' + JSON.stringify(items_list))
|
743
|
-
console.log('items.f_item_lists' + JSON.stringify(items.f_item_lists))
|
744
|
-
if (!items.f_item_lists) {
|
745
|
-
console.log('f_item_lists未定义')
|
746
|
-
items.f_item_lists = []
|
747
|
-
if (JSON.stringify(items_list) != '{}') {
|
748
|
-
console.log('else放了')
|
749
|
-
items.f_item_lists.push(items_list)
|
750
774
|
}
|
751
|
-
|
752
|
-
//
|
753
|
-
if (
|
754
|
-
|
755
|
-
|
756
|
-
|
757
|
-
|
758
|
-
|
775
|
+
//tag)
|
776
|
+
//tag)
|
777
|
+
if (!items.f_item_lists) {
|
778
|
+
//tag
|
779
|
+
items.f_item_lists = []
|
780
|
+
if (JSON.stringify(items_list) != '{}') {
|
781
|
+
//tag
|
782
|
+
items.f_item_lists.push(items_list)
|
783
|
+
}
|
784
|
+
} else {
|
785
|
+
// items.f_item_lists[0].f_item_value = f_item_value
|
786
|
+
if (JSON.stringify(items_list) != '{}') {
|
787
|
+
//tag
|
788
|
+
//tag)
|
789
|
+
//tag)
|
790
|
+
//tag
|
791
|
+
items.f_item_lists.push(items_list)
|
792
|
+
}
|
759
793
|
}
|
760
794
|
}
|
795
|
+
if (hasOther !== '' && otherValue !== null) {
|
796
|
+
//tag
|
797
|
+
this.checkResult[hasOther].push(otherValue)
|
798
|
+
hasOther = ''
|
799
|
+
otherValue = null
|
800
|
+
}
|
801
|
+
items.f_item_value = ''
|
761
802
|
}
|
762
|
-
|
763
|
-
|
764
|
-
this.checkResult[hasOther].push(otherValue)
|
765
|
-
hasOther = ''
|
766
|
-
otherValue = null
|
767
|
-
}
|
768
|
-
items.f_item_value = ''
|
803
|
+
//tag)
|
804
|
+
this.f_devices.push(codata[device][item])
|
769
805
|
}
|
770
|
-
console.log('安检结果checkResult' + JSON.stringify(this.checkResult))
|
771
|
-
this.f_devices.push(codata[device][item])
|
772
806
|
}
|
773
807
|
}
|
774
|
-
|
775
|
-
|
776
|
-
|
777
|
-
|
778
|
-
|
779
|
-
|
780
|
-
|
781
|
-
|
782
|
-
|
783
|
-
|
784
|
-
|
785
|
-
|
786
|
-
|
808
|
+
if (this.checkResult) {
|
809
|
+
for (let key in this.checkResult) {
|
810
|
+
if(typeof this.checkResult[key]=='function'){
|
811
|
+
continue
|
812
|
+
}
|
813
|
+
// 上次安检结果数据组织
|
814
|
+
//tag
|
815
|
+
//tag
|
816
|
+
let temp = {}
|
817
|
+
temp[key] = this.checkResult[key].join(',')
|
818
|
+
checkResults.data.push(temp)
|
819
|
+
// this.newcheckResult[key] = this.checkResult[key]
|
820
|
+
// checkResults.data.push(this.newcheckResult)
|
821
|
+
//tag)
|
822
|
+
// this.newcheckResult = {}
|
823
|
+
}
|
824
|
+
this.checkResult = {}
|
787
825
|
}
|
788
|
-
|
789
|
-
|
790
|
-
|
791
|
-
|
792
|
-
|
793
|
-
|
794
|
-
|
795
|
-
|
796
|
-
|
797
|
-
|
798
|
-
|
799
|
-
|
800
|
-
|
801
|
-
|
802
|
-
|
803
|
-
if (errString) {
|
804
|
-
console.log(errString)
|
805
|
-
console.log('Vue.android', Vue.android)
|
806
|
-
console.log('this.isUpload', this.isUpload)
|
807
|
-
if (Vue.android) {
|
808
|
-
// if(this.isUpload){
|
809
|
-
// this.isUpload = false
|
810
|
-
// }
|
811
|
-
this.$showMessage(errString)
|
826
|
+
//tag
|
827
|
+
//tag)
|
828
|
+
codata.f_defect_content = JSON.stringify(checkResults)
|
829
|
+
this.data.f_defect_content = JSON.stringify(checkResults)
|
830
|
+
//tag
|
831
|
+
return codata
|
832
|
+
},
|
833
|
+
uploadCheckPaper() {
|
834
|
+
this.saveNoclick()
|
835
|
+
var hasError = this.verifyvoice()
|
836
|
+
if(hasError!==''){
|
837
|
+
if (Vue.android) {
|
838
|
+
this.$showMessage(hasError)
|
839
|
+
}
|
840
|
+
return
|
812
841
|
}
|
813
|
-
|
814
|
-
|
815
|
-
this
|
816
|
-
|
817
|
-
|
818
|
-
|
819
|
-
|
820
|
-
|
821
|
-
|
822
|
-
|
823
|
-
|
824
|
-
|
825
|
-
|
826
|
-
|
827
|
-
|
828
|
-
|
829
|
-
|
830
|
-
|
831
|
-
|
832
|
-
|
833
|
-
|
834
|
-
// console.log('this.isToRepair=======》'+this.isToRepair)
|
835
|
-
// console.log('this.livedispose=======》'+this.livedispose)
|
836
|
-
// if(!this.isToRepair){
|
837
|
-
// if(haslivedispose.data.length > 0 && (this.livedispose == 'true' || this.livedispose == true)){
|
838
|
-
// console.log('是否已转维修')
|
839
|
-
// console.log(this.isSafeCheckToRepair)
|
840
|
-
// if(!this.isSafeCheckToRepair){
|
841
|
-
// this.$showMessage('有未处理的隐患,请前往拍照上传中将安检转为维修单!')
|
842
|
-
// return
|
843
|
-
// }
|
844
|
-
// }
|
845
|
-
// }
|
846
|
-
// console.log(`codata类型-->${typeof codata}`)
|
847
|
-
// for (let key in codata){
|
848
|
-
// if(key.startsWith("device")){
|
849
|
-
// codata[key] = []
|
850
|
-
// }
|
851
|
-
// }
|
852
|
-
// console.log(`codata内容-->${JSON.stringify(codata)}`)
|
853
|
-
//
|
854
|
-
// console.log('遮挡上传')
|
855
|
-
// let isStart = true
|
856
|
-
// let res
|
857
|
-
// for (let i in this.f_devices){
|
858
|
-
// res = HostApp.organizeJSON({isStart:isStart,isDevice:true,device:this.f_devices[i]})
|
859
|
-
// if(res.code == 200){
|
860
|
-
// isStart = false
|
861
|
-
// }else{
|
862
|
-
// this.$showMessage("保存失败!")
|
863
|
-
// }
|
864
|
-
// }
|
865
|
-
// let result = HostApp.organizeJSON({
|
866
|
-
// isStart:false,
|
867
|
-
// isJSON:true,
|
868
|
-
// jsonstr:{
|
869
|
-
// f_check_item_id: this.data.f_check_item_id,
|
870
|
-
// f_checker_id: this.data.f_checker_id,
|
871
|
-
// row: codata
|
872
|
-
// }
|
873
|
-
// })
|
874
|
-
// if(result.code == 200){
|
875
|
-
// HostApp.__this__ = this
|
876
|
-
// this.runSyncLogic('上传安检信息','javascript:HostApp.__this__.uploadCallBack()',1)
|
877
|
-
// }
|
878
|
-
//
|
879
|
-
//
|
880
|
-
// // let response = this.$androidUtil.bzLogic('上传安检信息', {
|
881
|
-
// // f_check_item_id: this.data.f_check_item_id,
|
882
|
-
// // f_checker_id: this.data.f_checker_id,
|
883
|
-
// // row: codata
|
884
|
-
// // })
|
885
|
-
// // if (response.code == 200) {
|
886
|
-
// // console.log('=============response.data==================')
|
887
|
-
// // console.log(JSON.stringify(response.data))
|
888
|
-
// // let f_paper_id
|
889
|
-
// // if(response.data != '' && response.data != null){
|
890
|
-
// // f_paper_id = JSON.parse(response.data).id
|
891
|
-
// // }
|
892
|
-
// // this.$set('data.f_paper_id', f_paper_id)
|
893
|
-
// // console.log('=============f_paper_id==================')
|
894
|
-
// // console.log(JSON.stringify(f_paper_id))
|
895
|
-
// // console.log(this.data.f_paper_id)
|
896
|
-
// // console.log("===data"+JSON.stringify(this.data))
|
897
|
-
// // for (let device in this.data){
|
898
|
-
// // console.log("上传设备信息device=======>"+device)
|
899
|
-
// // console.log("上传设备信息device=======>"+JSON.stringify(this.data[device]))
|
900
|
-
// // if(device.startsWith("device")){
|
901
|
-
// // for(let devices of this.data[device]) {
|
902
|
-
// // devices.f_paper_id = f_paper_id
|
903
|
-
// // let ret = this.$androidUtil.bzLogic('UpCheckPaperDevices', {
|
904
|
-
// // row: devices
|
905
|
-
// // })
|
906
|
-
// // console.log(`上传设备信息结果res======${JSON.stringify(ret.data)}`)
|
907
|
-
// // if(ret.code == 200){
|
908
|
-
// // console.log(`设备信息id======${ret.data.f_device_id}`)
|
909
|
-
// // devices.f_device_id = JSON.parse(ret.data.f_device_id).id
|
910
|
-
// // }
|
911
|
-
// // console.log('上传设备信息device======')
|
912
|
-
// // console.log(JSON.stringify(devices))
|
913
|
-
// // if (ret.code != 200) {
|
914
|
-
// // //TODO 失败后处理
|
915
|
-
// // // this.isUpload = false
|
916
|
-
// // this.$showMessage("上传失败!")
|
917
|
-
// // return false
|
918
|
-
// // }
|
919
|
-
// // }
|
920
|
-
// // }
|
921
|
-
// // }
|
922
|
-
// // // for (let device of this.f_devices) {
|
923
|
-
// // // device.f_paper_id = f_paper_id
|
924
|
-
// // // console.log('上传设备信息device======')
|
925
|
-
// // // console.log(JSON.stringify(device))
|
926
|
-
// // // let ret = this.$androidUtil.bzLogic('UpCheckPaperDevices', {
|
927
|
-
// // // row: device
|
928
|
-
// // // })
|
929
|
-
// // // console.log(`上传设备信息结果res======${ret}`)
|
930
|
-
// // // if (ret.code != 200) {
|
931
|
-
// // // //TODO 失败后处理
|
932
|
-
// // // HostApp.alert("上传失败!")
|
933
|
-
// // // return false
|
934
|
-
// // // }
|
935
|
-
// // // }
|
936
|
-
// // let result = this.$androidUtil.bzLogic('FinishUpload',
|
937
|
-
// // {
|
938
|
-
// // f_check_item_id: this.data.f_check_item_id,
|
939
|
-
// // f_userinfo_id: codata.f_userinfoid,
|
940
|
-
// // f_last_check_result: codata.f_defect_content
|
941
|
-
// // })
|
942
|
-
// // if(result.code == 200){
|
943
|
-
// // // this.$showAlert('上传成功!', 'success', 2000)
|
944
|
-
// // this.$showMessage('上传成功!')
|
945
|
-
// // this.isStrat=false
|
946
|
-
// // if(url != "" ){
|
947
|
-
// // this.$resetpost(`${url}`,{data:WxResult})
|
948
|
-
// // }
|
949
|
-
// // return true
|
950
|
-
// // }else{
|
951
|
-
// // // this.isUpload = false
|
952
|
-
// // this.$showMessage("上传失败!")
|
953
|
-
// // return false
|
954
|
-
// // }
|
955
|
-
// // }else{
|
956
|
-
// // // this.isUpload = false
|
957
|
-
// // this.$showMessage("上传失败!")
|
958
|
-
// // return false
|
959
|
-
// // }
|
960
|
-
// }catch (e) {
|
961
|
-
// console.log('上传失败==='+JSON.stringify(e))
|
962
|
-
// // this.isUpload = false
|
963
|
-
// this.$showMessage("上传失败!")
|
964
|
-
// }
|
965
|
-
// }
|
966
|
-
},
|
967
|
-
save(type) {
|
968
|
-
//禁用事件
|
969
|
-
this.saveNoclick()
|
970
|
-
console.log('禁用事件完成')
|
971
|
-
console.log('进入保存')
|
972
|
-
if (type == 'temp') {
|
973
|
-
this.data.f_complete = '未完成'
|
974
|
-
// 关闭录音方法
|
975
|
-
this.closely(false) //临时保存,删除录音文件并暂停录音
|
976
|
-
this.disableTimer()
|
977
|
-
} else {
|
978
|
-
// 关闭录音方法
|
979
|
-
this.closely(false) // 保存本地,不删除录音文件暂停录音
|
842
|
+
//tag
|
843
|
+
//tag
|
844
|
+
if (this.data.f_entry_status == '不营业'){
|
845
|
+
for (let i= 0;i<this.data.device1[0].f_items.length;i++){
|
846
|
+
if (this.data.device1[0].f_items[i].f_item_name === '是否关阀')
|
847
|
+
{
|
848
|
+
if ( this.data.device1[0].f_items[i].f_item_value.length > 0){
|
849
|
+
this.f_entry_guanfa = this.data.device1[0].f_items[i].f_item_value
|
850
|
+
}
|
851
|
+
if( this.data.device1[0].f_items[i].f_item_value.length <= 0){
|
852
|
+
this.$showMessage('必须填写燃气表中的是否关阀!!')
|
853
|
+
return
|
854
|
+
}
|
855
|
+
}
|
856
|
+
}
|
857
|
+
if (this.f_entry_guanfa === ''){
|
858
|
+
this.$showMessage('必须填写燃气表中的是否关阀!!')
|
859
|
+
return
|
860
|
+
}
|
861
|
+
}
|
862
|
+
this.closely(false) // 保存本地,不删除录音文件停止录音
|
980
863
|
let errString = this.errorVerify()
|
981
864
|
if (errString) {
|
982
|
-
|
983
|
-
|
984
|
-
|
865
|
+
//tag
|
866
|
+
//tag
|
867
|
+
//tag
|
985
868
|
if (Vue.android) {
|
869
|
+
// if(this.isUpload){
|
870
|
+
// this.isUpload = false
|
871
|
+
// }
|
986
872
|
this.$showMessage(errString)
|
987
873
|
}
|
988
874
|
return
|
989
875
|
} else {
|
990
|
-
this.data.f_complete = '已完成'
|
991
876
|
this.$set('data.f_offsite_time', Util.toStandardTimeString())
|
877
|
+
this.$set('data.f_upload_time', Util.toStandardTimeString())
|
878
|
+
this.$set('data.f_upload_date', Util.toStandardTimeString())
|
879
|
+
//tag
|
880
|
+
this.data.f_complete = '已完成'
|
992
881
|
this.disableTimer()
|
993
882
|
}
|
994
|
-
|
995
|
-
|
996
|
-
|
997
|
-
|
998
|
-
|
999
|
-
|
1000
|
-
|
1001
|
-
|
1002
|
-
|
1003
|
-
|
1004
|
-
|
1005
|
-
|
1006
|
-
|
1007
|
-
|
1008
|
-
|
1009
|
-
|
1010
|
-
|
1011
|
-
|
1012
|
-
|
1013
|
-
|
1014
|
-
|
1015
|
-
|
1016
|
-
|
1017
|
-
|
1018
|
-
|
1019
|
-
|
1020
|
-
|
1021
|
-
|
1022
|
-
|
1023
|
-
|
1024
|
-
|
1025
|
-
|
1026
|
-
|
1027
|
-
let
|
1028
|
-
|
1029
|
-
|
1030
|
-
})
|
1031
|
-
|
1032
|
-
|
1033
|
-
|
1034
|
-
|
1035
|
-
|
1036
|
-
|
1037
|
-
|
1038
|
-
|
1039
|
-
|
1040
|
-
|
1041
|
-
|
1042
|
-
|
1043
|
-
|
1044
|
-
|
1045
|
-
|
1046
|
-
|
1047
|
-
|
1048
|
-
|
1049
|
-
|
1050
|
-
|
1051
|
-
|
1052
|
-
|
1053
|
-
|
1054
|
-
|
1055
|
-
|
1056
|
-
|
1057
|
-
|
1058
|
-
|
1059
|
-
|
1060
|
-
|
1061
|
-
|
1062
|
-
|
1063
|
-
|
1064
|
-
|
1065
|
-
|
1066
|
-
|
1067
|
-
|
1068
|
-
|
1069
|
-
|
1070
|
-
|
1071
|
-
|
1072
|
-
|
1073
|
-
|
1074
|
-
|
1075
|
-
|
1076
|
-
|
1077
|
-
|
1078
|
-
|
1079
|
-
|
1080
|
-
|
1081
|
-
|
1082
|
-
|
1083
|
-
|
1084
|
-
|
883
|
+
//tag
|
884
|
+
this.onlySave = false
|
885
|
+
let res = this.save()
|
886
|
+
// if(res) {
|
887
|
+
// try {
|
888
|
+
// let codata = this.getAllDefect()
|
889
|
+
// //获取微信推送内容
|
890
|
+
// let WxResult = this.getWeixin(codata)
|
891
|
+
// let haslivedispose = this.$androidUtil.bzLogic('getLiveDispose', {
|
892
|
+
// f_check_item_id: this.data.f_check_item_id
|
893
|
+
// })
|
894
|
+
// //如果是转维修上传,则不做校验,上传完成后自动转维修
|
895
|
+
// //tag
|
896
|
+
// //tag
|
897
|
+
// if(!this.isToRepair){
|
898
|
+
// if(haslivedispose.data.length > 0 && (this.livedispose == 'true' || this.livedispose == true)){
|
899
|
+
// //tag
|
900
|
+
// //tag
|
901
|
+
// if(!this.isSafeCheckToRepair){
|
902
|
+
// this.$showMessage('有未处理的隐患,请前往拍照上传中将安检转为维修单!')
|
903
|
+
// return
|
904
|
+
// }
|
905
|
+
// }
|
906
|
+
// }
|
907
|
+
// //tag
|
908
|
+
// for (let key in codata){
|
909
|
+
// if(key.startsWith("device")){
|
910
|
+
// codata[key] = []
|
911
|
+
// }
|
912
|
+
// }
|
913
|
+
// //tag}`)
|
914
|
+
//
|
915
|
+
// //tag
|
916
|
+
// let isStart = true
|
917
|
+
// let res
|
918
|
+
// for (let i in this.f_devices){
|
919
|
+
// res = HostApp.organizeJSON({isStart:isStart,isDevice:true,device:this.f_devices[i]})
|
920
|
+
// if(res.code == 200){
|
921
|
+
// isStart = false
|
922
|
+
// }else{
|
923
|
+
// this.$showMessage("保存失败!")
|
924
|
+
// }
|
925
|
+
// }
|
926
|
+
// let result = HostApp.organizeJSON({
|
927
|
+
// isStart:false,
|
928
|
+
// isJSON:true,
|
929
|
+
// jsonstr:{
|
930
|
+
// f_check_item_id: this.data.f_check_item_id,
|
931
|
+
// f_checker_id: this.data.f_checker_id,
|
932
|
+
// row: codata
|
933
|
+
// }
|
934
|
+
// })
|
935
|
+
// if(result.code == 200){
|
936
|
+
// HostApp.__this__ = this
|
937
|
+
// this.runSyncLogic('上传安检信息','javascript:HostApp.__this__.uploadCallBack()',1)
|
938
|
+
// }
|
939
|
+
//
|
940
|
+
//
|
941
|
+
// // let response = this.$androidUtil.bzLogic('上传安检信息', {
|
942
|
+
// // f_check_item_id: this.data.f_check_item_id,
|
943
|
+
// // f_checker_id: this.data.f_checker_id,
|
944
|
+
// // row: codata
|
945
|
+
// // })
|
946
|
+
// // if (response.code == 200) {
|
947
|
+
// // //tag
|
948
|
+
// // //tag)
|
949
|
+
// // let f_paper_id
|
950
|
+
// // if(response.data != '' && response.data != null){
|
951
|
+
// // f_paper_id = JSON.parse(response.data).id
|
952
|
+
// // }
|
953
|
+
// // this.$set('data.f_paper_id', f_paper_id)
|
954
|
+
// // //tag
|
955
|
+
// // //tag)
|
956
|
+
// // //tag
|
957
|
+
// // //tag)
|
958
|
+
// // for (let device in this.data){
|
959
|
+
// // //tag
|
960
|
+
// // //tag)
|
961
|
+
// // if(device.startsWith("device")){
|
962
|
+
// // for(let devices of this.data[device]) {
|
963
|
+
// // devices.f_paper_id = f_paper_id
|
964
|
+
// // let ret = this.$androidUtil.bzLogic('UpCheckPaperDevices', {
|
965
|
+
// // row: devices
|
966
|
+
// // })
|
967
|
+
// // //tag}`)
|
968
|
+
// // if(ret.code == 200){
|
969
|
+
// // //tag
|
970
|
+
// // devices.f_device_id = JSON.parse(ret.data.f_device_id).id
|
971
|
+
// // }
|
972
|
+
// // //tag
|
973
|
+
// // //tag)
|
974
|
+
// // if (ret.code != 200) {
|
975
|
+
// // //TODO 失败后处理
|
976
|
+
// // // this.isUpload = false
|
977
|
+
// // this.$showMessage("上传失败!")
|
978
|
+
// // return false
|
979
|
+
// // }
|
980
|
+
// // }
|
981
|
+
// // }
|
982
|
+
// // }
|
983
|
+
// // // for (let device of this.f_devices) {
|
984
|
+
// // // device.f_paper_id = f_paper_id
|
985
|
+
// // // //tag
|
986
|
+
// // // //tag)
|
987
|
+
// // // let ret = this.$androidUtil.bzLogic('UpCheckPaperDevices', {
|
988
|
+
// // // row: device
|
989
|
+
// // // })
|
990
|
+
// // // //tag
|
991
|
+
// // // if (ret.code != 200) {
|
992
|
+
// // // //TODO 失败后处理
|
993
|
+
// // // HostApp.alert("上传失败!")
|
994
|
+
// // // return false
|
995
|
+
// // // }
|
996
|
+
// // // }
|
997
|
+
// // let result = this.$androidUtil.bzLogic('FinishUpload',
|
998
|
+
// // {
|
999
|
+
// // f_check_item_id: this.data.f_check_item_id,
|
1000
|
+
// // f_userinfo_id: codata.f_userinfoid,
|
1001
|
+
// // f_last_check_result: codata.f_defect_content
|
1002
|
+
// // })
|
1003
|
+
// // if(result.code == 200){
|
1004
|
+
// // // this.$showAlert('上传成功!', 'success', 2000)
|
1005
|
+
// // this.$showMessage('上传成功!')
|
1006
|
+
// // this.isStrat=false
|
1007
|
+
// // if(url != "" ){
|
1008
|
+
// // this.$resetpost(`${url}`,{data:WxResult})
|
1009
|
+
// // }
|
1010
|
+
// // return true
|
1011
|
+
// // }else{
|
1012
|
+
// // // this.isUpload = false
|
1013
|
+
// // this.$showMessage("上传失败!")
|
1014
|
+
// // return false
|
1015
|
+
// // }
|
1016
|
+
// // }else{
|
1017
|
+
// // // this.isUpload = false
|
1018
|
+
// // this.$showMessage("上传失败!")
|
1019
|
+
// // return false
|
1020
|
+
// // }
|
1021
|
+
// }catch (e) {
|
1022
|
+
// //tag)
|
1023
|
+
// // this.isUpload = false
|
1024
|
+
// this.$showMessage("上传失败!")
|
1025
|
+
// }
|
1026
|
+
// }
|
1027
|
+
},
|
1028
|
+
save(type) {
|
1029
|
+
//禁用事件
|
1030
|
+
this.saveNoclick()
|
1031
|
+
//tag
|
1032
|
+
//tag
|
1033
|
+
if (type == 'temp') {
|
1034
|
+
this.data.f_complete = '未完成'
|
1035
|
+
// 关闭录音方法
|
1036
|
+
this.closely(false) //临时保存,删除录音文件并暂停录音
|
1037
|
+
this.disableTimer()
|
1085
1038
|
} else {
|
1086
|
-
|
1087
|
-
|
1088
|
-
let
|
1089
|
-
|
1090
|
-
|
1091
|
-
|
1092
|
-
|
1093
|
-
|
1094
|
-
|
1095
|
-
|
1096
|
-
|
1097
|
-
|
1098
|
-
|
1099
|
-
|
1100
|
-
|
1101
|
-
// }
|
1102
|
-
// }
|
1103
|
-
console.log('this.data ==> ' + JSON.stringify(this.data))
|
1104
|
-
console.log('f_check_item_id ==> ' + JSON.stringify(this.data.f_check_item_id))
|
1105
|
-
console.log('f_checker_id ==> ' + JSON.stringify(this.data.f_checker_id))
|
1106
|
-
// let result = HostApp.organizeJSON({
|
1107
|
-
// isStart: false,
|
1108
|
-
// isJSON: true,
|
1109
|
-
// jsonstr: {
|
1110
|
-
// f_check_item_id: this.data.f_check_item_id,
|
1111
|
-
// f_checker_id: this.data.f_checker_id,
|
1112
|
-
// row: codata
|
1113
|
-
// }
|
1114
|
-
// })
|
1115
|
-
codata.f_devices = this.f_devices
|
1116
|
-
let param = {
|
1117
|
-
f_check_item_id: this.data.f_check_item_id,
|
1118
|
-
f_checker_id: this.data.f_checker_id,
|
1119
|
-
row: codata
|
1120
|
-
}
|
1121
|
-
console.log('codata ===> ' + JSON.stringify(codata))
|
1122
|
-
let paramStr = JSON.stringify(param)
|
1123
|
-
// 多长截断一次
|
1124
|
-
let subLength = 800
|
1125
|
-
for (let i = 0; i < paramStr.length; i += subLength) {
|
1126
|
-
HostApp.param_cache(paramStr.substr(i, subLength))
|
1039
|
+
// 关闭录音方法
|
1040
|
+
this.closely(false) // 保存本地,不删除录音文件暂停录音
|
1041
|
+
let errString = this.errorVerify()
|
1042
|
+
if (errString) {
|
1043
|
+
//tag
|
1044
|
+
//tag
|
1045
|
+
//tag
|
1046
|
+
if (Vue.android) {
|
1047
|
+
this.$showMessage(errString)
|
1048
|
+
}
|
1049
|
+
return
|
1050
|
+
} else {
|
1051
|
+
this.data.f_complete = '已完成'
|
1052
|
+
this.$set('data.f_offsite_time', Util.toStandardTimeString())
|
1053
|
+
this.disableTimer()
|
1127
1054
|
}
|
1128
|
-
HostApp.__this__ = this
|
1129
|
-
HostApp.syncLogic({
|
1130
|
-
// logic别名,key必须为logic
|
1131
|
-
'logic': '保存安检单信息',
|
1132
|
-
// 回调执行方法名,key必须为callback
|
1133
|
-
'callback': 'javascript:HostApp.__this__.saveCallBack()',
|
1134
|
-
// 固定key,代表是否将logic执行结果作为参数传入回调方法,1代表true,0代表false,
|
1135
|
-
// 执行回调方法传入key为backresult
|
1136
|
-
// 如需额外拼接参数,写在logic返回值的params,例如xxlogic返回:{"params": "success"}
|
1137
|
-
'backresult': 1
|
1138
|
-
})
|
1139
1055
|
}
|
1056
|
+
//tag
|
1057
|
+
if (this.data.f_blacklist != '是') {
|
1058
|
+
delete this.data.f_blocking_cause
|
1059
|
+
}
|
1060
|
+
// try {
|
1061
|
+
let codata = this.getAllDefect()
|
1140
1062
|
|
1141
|
-
} else {
|
1142
|
-
console.log("保存的值", codata)
|
1143
|
-
let value = this.$androidUtil.path({
|
1144
|
-
alias: 'getUserinfomation',
|
1145
|
-
data: {condition: "f_userinfoid = '" + this.item.f_userinfoid + "' and f_no_checkplan = '无计划安检'"}
|
1146
|
-
})
|
1147
|
-
|
1148
|
-
if (this.item.f_no_checkplan == '无计划安检' && value.data.length == 0 && this.item.f_no_checkplan != '打回') {
|
1149
|
-
this.$androidUtil.bzLogic('SafeSaveNoPaper', {
|
1150
|
-
f_check_item_id: this.data.f_check_item_id,
|
1151
|
-
f_checker_id: this.data.f_checker_id,
|
1152
|
-
f_upload_state: '未传',
|
1153
|
-
row: codata
|
1154
|
-
}).then((res) => {
|
1155
|
-
if (res.data.code == 200) {
|
1156
|
-
//保存devices
|
1157
|
-
this.$androidUtil.bzLogic('getPaperInfo', {
|
1158
|
-
f_check_item_id: this.data.f_check_item_id
|
1159
|
-
}).then((res) => {
|
1160
|
-
console.log(`查询paper结果res======${res}`)
|
1161
|
-
if (res.data.code == 200) {
|
1162
1063
|
|
1163
|
-
|
1164
|
-
|
1165
|
-
|
1166
|
-
|
1167
|
-
|
1168
|
-
|
1169
|
-
|
1170
|
-
|
1171
|
-
if (ret.code != 200) {
|
1172
|
-
// if(this.isUpload){
|
1173
|
-
// this.isUpload = false
|
1174
|
-
// }
|
1175
|
-
//TODO 失败后处理
|
1176
|
-
this.$showMessage("保存失败!")
|
1177
|
-
return false
|
1178
|
-
}
|
1179
|
-
})
|
1180
|
-
}
|
1181
|
-
}
|
1182
|
-
})
|
1183
|
-
// this.$showAlert('保存成功!', 'success', 2000)
|
1184
|
-
this.$showMessage('保存成功!')
|
1185
|
-
return true
|
1186
|
-
} else {
|
1187
|
-
// if(this.isUpload){
|
1188
|
-
// this.isUpload = false
|
1189
|
-
// }
|
1190
|
-
this.$showMessage("保存失败!")
|
1191
|
-
return false
|
1064
|
+
if (this.data.f_entry_status == '入户') {
|
1065
|
+
//tag
|
1066
|
+
//tag
|
1067
|
+
if ((codata.f_defect_content != `{"result":"正常","data":[]}`)) {
|
1068
|
+
//tag
|
1069
|
+
if (!this.data.f_is_teluser) {
|
1070
|
+
this.$showMessage("有隐患,请选择是否告知用户停购")
|
1071
|
+
return;
|
1192
1072
|
}
|
1193
|
-
}
|
1194
|
-
} else {
|
1195
|
-
this.$androidUtil.bzLogic('保存安检单信息', {
|
1196
|
-
f_check_item_id: this.data.f_check_item_id,
|
1197
|
-
f_checker_id: this.data.f_checker_id,
|
1198
|
-
row: codata
|
1199
|
-
}).then((res) => {
|
1200
|
-
console.log('asdddddddddddddddddddddddddddddd')
|
1201
|
-
if (res.data.code == 200) {
|
1202
|
-
//保存devices
|
1203
|
-
this.$androidUtil.bzLogic('getPaperInfo', {
|
1204
|
-
f_check_item_id: this.data.f_check_item_id
|
1205
|
-
}).then((res) => {
|
1206
|
-
console.log(`查询paper结果res======${res}`)
|
1207
|
-
if (res.data.code == 200) {
|
1208
|
-
|
1209
|
-
let f_paper_id = res.data.data[0].id
|
1210
|
-
for (let device of this.f_devices) {
|
1211
|
-
device.f_paper_id = f_paper_id
|
1212
|
-
console.log(`设备信息device======${device}`)
|
1213
|
-
this.$androidUtil.bzLogic('saveDevice', {
|
1214
|
-
row: device
|
1215
|
-
}).then((ret) => {
|
1216
|
-
console.log(`保存设备信息结果res======${ret}`)
|
1217
|
-
if (ret.code != 200) {
|
1218
|
-
// if(this.isUpload){
|
1219
|
-
// this.isUpload = false
|
1220
|
-
// }
|
1221
|
-
//TODO 失败后处理
|
1222
|
-
this.$showMessage("保存失败!")
|
1223
|
-
return false
|
1224
|
-
}
|
1225
|
-
})
|
1226
|
-
}
|
1227
|
-
}
|
1228
|
-
})
|
1229
|
-
// this.$showAlert('保存成功!', 'success', 2000)
|
1230
|
-
this.$showMessage('保存成功!')
|
1231
|
-
return true
|
1232
|
-
} else {
|
1233
|
-
// if(this.isUpload){
|
1234
|
-
// this.isUpload = false
|
1235
|
-
// }
|
1236
|
-
this.$showMessage("保存失败!")
|
1237
|
-
return false
|
1238
|
-
}
|
1239
|
-
})
|
1073
|
+
}
|
1240
1074
|
}
|
1241
|
-
|
1242
|
-
|
1243
|
-
|
1244
|
-
|
1245
|
-
|
1246
|
-
|
1247
|
-
|
1248
|
-
|
1249
|
-
|
1250
|
-
//
|
1251
|
-
|
1252
|
-
|
1253
|
-
|
1254
|
-
|
1255
|
-
|
1256
|
-
|
1257
|
-
|
1258
|
-
|
1259
|
-
|
1260
|
-
|
1261
|
-
|
1262
|
-
|
1263
|
-
|
1264
|
-
|
1265
|
-
|
1266
|
-
|
1267
|
-
|
1268
|
-
|
1269
|
-
|
1270
|
-
|
1271
|
-
|
1272
|
-
|
1273
|
-
|
1274
|
-
|
1275
|
-
|
1276
|
-
|
1277
|
-
|
1278
|
-
|
1279
|
-
|
1280
|
-
|
1281
|
-
|
1282
|
-
|
1283
|
-
|
1284
|
-
//
|
1285
|
-
|
1286
|
-
|
1287
|
-
|
1288
|
-
|
1289
|
-
|
1290
|
-
console.log('this.livedispose=======》' + this.livedispose)
|
1291
|
-
if (!this.isToRepair) {
|
1292
|
-
if (haslivedispose.data.length > 0 && (this.livedispose == 'true' || this.livedispose == true)) {
|
1293
|
-
console.log('是否已转维修')
|
1294
|
-
console.log(this.isSafeCheckToRepair)
|
1295
|
-
if (!this.isSafeCheckToRepair) {
|
1296
|
-
|
1297
|
-
}
|
1298
|
-
}
|
1075
|
+
//tag
|
1076
|
+
//tag}`)
|
1077
|
+
for (let key in codata) {
|
1078
|
+
if (key.startsWith("device")) {
|
1079
|
+
//tag)
|
1080
|
+
codata[key] = []
|
1081
|
+
}
|
1082
|
+
}
|
1083
|
+
//tag}`)
|
1084
|
+
//tag}`)
|
1085
|
+
//tag
|
1086
|
+
if (Vue.android) {
|
1087
|
+
//tag
|
1088
|
+
// let value = this.$androidUtil.path({
|
1089
|
+
// alias: 'getUserinfomation',
|
1090
|
+
// data: {condition: "f_userinfoid = '" + this.item.f_userinfoid + "' and f_no_checkplan = '无计划安检'"}
|
1091
|
+
// })
|
1092
|
+
//tag)
|
1093
|
+
if (this.item.f_no_checkplan == '无计划安检' && this.item.f_no_checkplan != '打回') {
|
1094
|
+
// let result = this.$androidUtil.bzLogic('SafeSaveNoPaper', {
|
1095
|
+
// f_check_item_id: this.data.f_check_item_id,
|
1096
|
+
// f_checker_id: this.data.f_checker_id,
|
1097
|
+
// f_upload_state:'未传',
|
1098
|
+
// row: codata
|
1099
|
+
// })
|
1100
|
+
//tag
|
1101
|
+
let isStart = true
|
1102
|
+
// let res
|
1103
|
+
// for (let i in this.f_devices) {
|
1104
|
+
// res = HostApp.organizeJSON({isStart: isStart, isDevice: true, device: this.f_devices[i]})
|
1105
|
+
// if (res.code == 200) {
|
1106
|
+
// isStart = false
|
1107
|
+
// } else {
|
1108
|
+
// this.$showMessage("保存失败!")
|
1109
|
+
// }
|
1110
|
+
// }
|
1111
|
+
// let result = HostApp.organizeJSON({
|
1112
|
+
// isStart: false,
|
1113
|
+
// isJSON: true,
|
1114
|
+
// jsonstr: {
|
1115
|
+
// f_check_item_id: this.data.f_check_item_id,
|
1116
|
+
// f_checker_id: this.data.f_checker_id,
|
1117
|
+
// f_upload_state: '未传',
|
1118
|
+
// row: codata
|
1119
|
+
// }
|
1120
|
+
// })
|
1121
|
+
codata.f_devices = this.f_devices
|
1122
|
+
if(this.data.f_safecheck_type=='复检') {
|
1123
|
+
codata.f_is_fujian = '已复检'
|
1299
1124
|
}
|
1300
|
-
|
1301
|
-
|
1302
|
-
|
1303
|
-
|
1304
|
-
|
1125
|
+
let param = {
|
1126
|
+
f_check_item_id: this.data.f_check_item_id,
|
1127
|
+
f_checker_id: this.data.f_checker_id,
|
1128
|
+
f_upload_state: '未传',
|
1129
|
+
row: codata
|
1305
1130
|
}
|
1306
|
-
|
1307
|
-
|
1308
|
-
|
1309
|
-
|
1310
|
-
|
1311
|
-
|
1312
|
-
|
1313
|
-
|
1131
|
+
//tag)
|
1132
|
+
let paramStr = JSON.stringify(param)
|
1133
|
+
// 多长截断一次
|
1134
|
+
let subLength = 800
|
1135
|
+
for (let i = 0; i < paramStr.length; i += subLength) {
|
1136
|
+
HostApp.param_cache(paramStr.substr(i, subLength))
|
1137
|
+
}
|
1138
|
+
HostApp.__this__ = this
|
1139
|
+
HostApp.syncLogic({
|
1140
|
+
// logic别名,key必须为logic
|
1141
|
+
'logic': 'SafeSaveNoPaper',
|
1142
|
+
// 回调执行方法名,key必须为callback
|
1143
|
+
'callback': 'javascript:HostApp.__this__.saveCallBack()',
|
1144
|
+
// 固定key,代表是否将logic执行结果作为参数传入回调方法,1代表true,0代表false,
|
1145
|
+
// 执行回调方法传入key为backresult
|
1146
|
+
// 如需额外拼接参数,写在logic返回值的params,例如xxlogic返回:{"params": "success"}
|
1147
|
+
'backresult': 1
|
1148
|
+
})
|
1149
|
+
} else {
|
1150
|
+
//tag
|
1151
|
+
let isStart = true
|
1152
|
+
let res
|
1153
|
+
//tag)
|
1154
|
+
// for (let i in this.f_devices) {
|
1155
|
+
// //tag)
|
1156
|
+
// for (let j = 0; j < this.f_devices[i].f_items.length; j++) {
|
1157
|
+
// //tag)
|
1158
|
+
// }
|
1159
|
+
// res = HostApp.organizeJSON({isStart: isStart, isDevice: true, device: this.f_devices[i]})
|
1160
|
+
// //tag)
|
1161
|
+
// if (res.code == 200) {
|
1314
1162
|
// isStart = false
|
1315
|
-
// }else{
|
1316
|
-
// this.$showMessage("
|
1317
|
-
// return
|
1163
|
+
// } else {
|
1164
|
+
// this.$showMessage("保存失败!")
|
1318
1165
|
// }
|
1319
1166
|
// }
|
1167
|
+
//tag)
|
1168
|
+
//tag)
|
1169
|
+
//tag)
|
1320
1170
|
// let result = HostApp.organizeJSON({
|
1321
|
-
// isStart:false,
|
1322
|
-
// isJSON:true,
|
1323
|
-
// jsonstr:{
|
1171
|
+
// isStart: false,
|
1172
|
+
// isJSON: true,
|
1173
|
+
// jsonstr: {
|
1324
1174
|
// f_check_item_id: this.data.f_check_item_id,
|
1325
1175
|
// f_checker_id: this.data.f_checker_id,
|
1326
1176
|
// row: codata
|
1327
1177
|
// }
|
1328
1178
|
// })
|
1329
1179
|
codata.f_devices = this.f_devices
|
1180
|
+
if(this.data.f_safecheck_type=='复检') {
|
1181
|
+
codata.f_is_fujian = '已复检'
|
1182
|
+
}
|
1330
1183
|
let param = {
|
1331
1184
|
f_check_item_id: this.data.f_check_item_id,
|
1332
1185
|
f_checker_id: this.data.f_checker_id,
|
1333
1186
|
row: codata
|
1334
1187
|
}
|
1335
|
-
|
1188
|
+
//tag)
|
1336
1189
|
let paramStr = JSON.stringify(param)
|
1337
1190
|
// 多长截断一次
|
1338
1191
|
let subLength = 800
|
@@ -1342,680 +1195,1057 @@ export default {
|
|
1342
1195
|
HostApp.__this__ = this
|
1343
1196
|
HostApp.syncLogic({
|
1344
1197
|
// logic别名,key必须为logic
|
1345
|
-
'logic': '
|
1198
|
+
'logic': '保存安检单信息',
|
1346
1199
|
// 回调执行方法名,key必须为callback
|
1347
|
-
'callback': 'javascript:HostApp.__this__.
|
1200
|
+
'callback': 'javascript:HostApp.__this__.saveCallBack()',
|
1348
1201
|
// 固定key,代表是否将logic执行结果作为参数传入回调方法,1代表true,0代表false,
|
1349
1202
|
// 执行回调方法传入key为backresult
|
1350
1203
|
// 如需额外拼接参数,写在logic返回值的params,例如xxlogic返回:{"params": "success"}
|
1351
1204
|
'backresult': 1
|
1352
1205
|
})
|
1206
|
+
}
|
1207
|
+
|
1208
|
+
} else {
|
1209
|
+
//tag
|
1210
|
+
let value = this.$androidUtil.path({
|
1211
|
+
alias: 'getUserinfomation',
|
1212
|
+
data: {condition: "f_userinfoid = '" + this.item.f_userinfoid + "' and f_no_checkplan = '无计划安检'"}
|
1213
|
+
})
|
1214
|
+
|
1215
|
+
if (this.item.f_no_checkplan == '无计划安检' && value.data.length == 0 && this.item.f_no_checkplan != '打回') {
|
1216
|
+
this.$androidUtil.bzLogic('SafeSaveNoPaper', {
|
1217
|
+
f_check_item_id: this.data.f_check_item_id,
|
1218
|
+
f_checker_id: this.data.f_checker_id,
|
1219
|
+
f_upload_state: '未传',
|
1220
|
+
row: codata
|
1221
|
+
}).then((res) => {
|
1222
|
+
if (res.data.code == 200) {
|
1223
|
+
//保存devices
|
1224
|
+
this.$androidUtil.bzLogic('getPaperInfo', {
|
1225
|
+
f_check_item_id: this.data.f_check_item_id
|
1226
|
+
}).then((res) => {
|
1227
|
+
//tag
|
1228
|
+
if (res.data.code == 200) {
|
1229
|
+
|
1230
|
+
let f_paper_id = res.data.data[0].id
|
1231
|
+
for (let device of this.f_devices) {
|
1232
|
+
device.f_paper_id = f_paper_id
|
1233
|
+
//tag
|
1234
|
+
this.$androidUtil.bzLogic('saveDevice', {
|
1235
|
+
row: device
|
1236
|
+
}).then((ret) => {
|
1237
|
+
//tag
|
1238
|
+
if (ret.code != 200) {
|
1239
|
+
// if(this.isUpload){
|
1240
|
+
// this.isUpload = false
|
1241
|
+
// }
|
1242
|
+
//TODO 失败后处理
|
1243
|
+
this.$showMessage("保存失败!")
|
1244
|
+
return false
|
1245
|
+
}
|
1246
|
+
})
|
1247
|
+
}
|
1248
|
+
}
|
1249
|
+
})
|
1250
|
+
// this.$showAlert('保存成功!', 'success', 2000)
|
1251
|
+
this.$showMessage('保存成功!')
|
1252
|
+
return true
|
1253
|
+
} else {
|
1254
|
+
// if(this.isUpload){
|
1255
|
+
// this.isUpload = false
|
1256
|
+
// }
|
1257
|
+
this.$showMessage("保存失败!")
|
1258
|
+
return false
|
1259
|
+
}
|
1260
|
+
})
|
1353
1261
|
} else {
|
1354
|
-
this.$
|
1355
|
-
|
1356
|
-
this.
|
1357
|
-
|
1358
|
-
|
1262
|
+
this.$androidUtil.bzLogic('保存安检单信息', {
|
1263
|
+
f_check_item_id: this.data.f_check_item_id,
|
1264
|
+
f_checker_id: this.data.f_checker_id,
|
1265
|
+
row: codata
|
1266
|
+
}).then((res) => {
|
1267
|
+
//tag
|
1268
|
+
if (res.data.code == 200) {
|
1269
|
+
//保存devices
|
1270
|
+
this.$androidUtil.bzLogic('getPaperInfo', {
|
1271
|
+
f_check_item_id: this.data.f_check_item_id
|
1272
|
+
}).then((res) => {
|
1273
|
+
//tag
|
1274
|
+
if (res.data.code == 200) {
|
1275
|
+
|
1276
|
+
let f_paper_id = res.data.data[0].id
|
1277
|
+
for (let device of this.f_devices) {
|
1278
|
+
device.f_paper_id = f_paper_id
|
1279
|
+
//tag
|
1280
|
+
this.$androidUtil.bzLogic('saveDevice', {
|
1281
|
+
row: device
|
1282
|
+
}).then((ret) => {
|
1283
|
+
//tag
|
1284
|
+
if (ret.code != 200) {
|
1285
|
+
// if(this.isUpload){
|
1286
|
+
// this.isUpload = false
|
1287
|
+
// }
|
1288
|
+
//TODO 失败后处理
|
1289
|
+
this.$showMessage("保存失败!")
|
1290
|
+
return false
|
1291
|
+
}
|
1292
|
+
})
|
1293
|
+
}
|
1294
|
+
}
|
1295
|
+
})
|
1296
|
+
// this.$showAlert('保存成功!', 'success', 2000)
|
1297
|
+
this.$showMessage('保存成功!')
|
1298
|
+
return true
|
1299
|
+
} else {
|
1300
|
+
// if(this.isUpload){
|
1301
|
+
// this.isUpload = false
|
1302
|
+
// }
|
1303
|
+
this.$showMessage("保存失败!")
|
1304
|
+
return false
|
1305
|
+
}
|
1306
|
+
})
|
1307
|
+
}
|
1308
|
+
}
|
1309
|
+
// }catch (e) {
|
1310
|
+
// //tag)
|
1311
|
+
// // this.isUpload = false
|
1312
|
+
// this.$showMessage("保存失败!")
|
1313
|
+
// }
|
1314
|
+
},
|
1315
|
+
runSyncLogic(logic, callback, backresult) {
|
1316
|
+
HostApp.runSyncLogic({
|
1317
|
+
// logic别名,key必须为logic
|
1318
|
+
'logic': logic,
|
1319
|
+
// 回调执行方法名,key必须为callback
|
1320
|
+
'callback': callback,
|
1321
|
+
// 固定key,代表是否将logic执行结果作为参数传入回调方法,1代表true,0代表false,
|
1322
|
+
// 执行回调方法传入key为backresult
|
1323
|
+
// 如需额外拼接参数,写在logic返回值的params,例如xxlogic返回:{"params": "success"}
|
1324
|
+
'backresult': backresult
|
1325
|
+
})
|
1326
|
+
},
|
1327
|
+
logicWithHint(logic, data, callback, backresult) {
|
1328
|
+
HostApp.logicWithHint({
|
1329
|
+
// logic别名,key必须为logic
|
1330
|
+
'logic': logic,
|
1331
|
+
// 回调执行方法名,key必须为callback
|
1332
|
+
'callback': callback,
|
1333
|
+
// logic执行需要的业务参数
|
1334
|
+
'data': data,
|
1335
|
+
// 固定key,代表是否将logic执行结果作为参数传入回调方法,1代表true,0代表false,
|
1336
|
+
// 执行回调方法传入key为backresult
|
1337
|
+
// 如需额外拼接参数,写在logic返回值的params,例如xxlogic返回:{"params": "success"}
|
1338
|
+
'backresult': backresult
|
1339
|
+
})
|
1340
|
+
},
|
1341
|
+
saveCallBack(jo) {
|
1342
|
+
//tag)
|
1343
|
+
if (jo.state == 'ok') {
|
1344
|
+
let res = JSON.parse(jo.result)
|
1345
|
+
//tag)
|
1346
|
+
if (res.code == 200) {
|
1347
|
+
//tag
|
1348
|
+
if (!this.onlySave) {
|
1349
|
+
let codata = this.getAllDefect()
|
1350
|
+
//获取微信推送内容
|
1351
|
+
// let WxResult = this.getWeixin(codata)
|
1352
|
+
let haslivedispose = this.$androidUtil.bzLogic('getLiveDispose', {
|
1353
|
+
f_check_item_id: this.data.f_check_item_id
|
1354
|
+
})
|
1355
|
+
//如果是转维修上传,则不做校验,上传完成后自动转维修
|
1356
|
+
//tag
|
1357
|
+
//tag
|
1358
|
+
if (!this.isToRepair) {
|
1359
|
+
if (haslivedispose.data.length > 0 && (this.livedispose == 'true' || this.livedispose == true)) {
|
1360
|
+
//tag
|
1361
|
+
//tag
|
1362
|
+
if (!this.isSafeCheckToRepair) {
|
1363
|
+
|
1364
|
+
}
|
1365
|
+
}
|
1366
|
+
}
|
1367
|
+
//tag
|
1368
|
+
for (let key in codata) {
|
1369
|
+
if (key.startsWith("device")) {
|
1370
|
+
codata[key] = []
|
1371
|
+
}
|
1372
|
+
}
|
1373
|
+
//tag}`)
|
1374
|
+
|
1375
|
+
//tag
|
1376
|
+
// let isStart = true
|
1377
|
+
// let res
|
1378
|
+
// for (let i in this.f_devices){
|
1379
|
+
// res = HostApp.organizeJSON({isStart:isStart,isDevice:true,device:this.f_devices[i]})
|
1380
|
+
// if(res.code == 200){
|
1381
|
+
// isStart = false
|
1382
|
+
// }else{
|
1383
|
+
// this.$showMessage("上传失败!")
|
1384
|
+
// return
|
1385
|
+
// }
|
1386
|
+
// }
|
1387
|
+
// let result = HostApp.organizeJSON({
|
1388
|
+
// isStart:false,
|
1389
|
+
// isJSON:true,
|
1390
|
+
// jsonstr:{
|
1391
|
+
// f_check_item_id: this.data.f_check_item_id,
|
1392
|
+
// f_checker_id: this.data.f_checker_id,
|
1393
|
+
// row: codata
|
1394
|
+
// }
|
1395
|
+
// })
|
1396
|
+
codata.f_devices = this.f_devices
|
1397
|
+
if(this.data.f_safecheck_type=='复检') {
|
1398
|
+
codata.f_is_fujian = '已复检'
|
1399
|
+
}
|
1400
|
+
let param = {
|
1401
|
+
f_check_item_id: this.data.f_check_item_id,
|
1402
|
+
f_checker_id: this.data.f_checker_id,
|
1403
|
+
row: codata
|
1404
|
+
}
|
1405
|
+
//tag)
|
1406
|
+
let paramStr = JSON.stringify(param)
|
1407
|
+
// 多长截断一次
|
1408
|
+
let subLength = 800
|
1409
|
+
for (let i = 0; i < paramStr.length; i += subLength) {
|
1410
|
+
HostApp.param_cache(paramStr.substr(i, subLength))
|
1411
|
+
}
|
1412
|
+
HostApp.__this__ = this
|
1413
|
+
HostApp.syncLogic({
|
1414
|
+
// logic别名,key必须为logic
|
1415
|
+
'logic': 'wxUpCheckPaper',
|
1416
|
+
// 回调执行方法名,key必须为callback
|
1417
|
+
'callback': 'javascript:HostApp.__this__.uploadCallBack()',
|
1418
|
+
// 固定key,代表是否将logic执行结果作为参数传入回调方法,1代表true,0代表false,
|
1419
|
+
// 执行回调方法传入key为backresult
|
1420
|
+
// 如需额外拼接参数,写在logic返回值的params,例如xxlogic返回:{"params": "success"}
|
1421
|
+
'backresult': 1
|
1422
|
+
})
|
1423
|
+
} else {
|
1424
|
+
this.$showMessage('保存成功!')
|
1425
|
+
if (this.clickBack) {
|
1426
|
+
this.isStrat = false
|
1427
|
+
this.$dispatch('confirm')
|
1428
|
+
//this.$back()
|
1429
|
+
}
|
1359
1430
|
}
|
1431
|
+
} else {
|
1432
|
+
this.$showMessage('保存失败!')
|
1433
|
+
return
|
1360
1434
|
}
|
1361
1435
|
} else {
|
1362
|
-
this.$showMessage('
|
1436
|
+
this.$showMessage('服务器内部错误,保存失败!')
|
1363
1437
|
return
|
1364
1438
|
}
|
1365
|
-
}
|
1366
|
-
|
1367
|
-
|
1368
|
-
|
1369
|
-
|
1370
|
-
|
1371
|
-
|
1372
|
-
|
1373
|
-
|
1374
|
-
if (Vue.config.safecheck.ApproveConfig != undefined) {
|
1375
|
-
if (Vue.config.safecheck.ApproveConfig.weixinurl != undefined) {
|
1376
|
-
url = Vue.config.safecheck.ApproveConfig.weixinurl
|
1439
|
+
},
|
1440
|
+
uploadCallBack(jo) {
|
1441
|
+
//获取微信推送路径
|
1442
|
+
let url = ""
|
1443
|
+
if (Vue.config.safecheck != undefined) {
|
1444
|
+
if (Vue.config.safecheck.ApproveConfig != undefined) {
|
1445
|
+
if (Vue.config.safecheck.ApproveConfig.weixinurl != undefined) {
|
1446
|
+
url = Vue.config.safecheck.ApproveConfig.weixinurl
|
1447
|
+
}
|
1377
1448
|
}
|
1378
1449
|
}
|
1379
|
-
|
1380
|
-
|
1381
|
-
|
1382
|
-
|
1383
|
-
|
1384
|
-
|
1385
|
-
|
1386
|
-
|
1387
|
-
|
1388
|
-
|
1389
|
-
|
1390
|
-
|
1391
|
-
|
1392
|
-
|
1393
|
-
|
1394
|
-
|
1395
|
-
|
1396
|
-
|
1397
|
-
|
1398
|
-
|
1399
|
-
|
1400
|
-
|
1450
|
+
//tag)
|
1451
|
+
//tag)
|
1452
|
+
if (jo.state == 'ok') {
|
1453
|
+
let res = JSON.parse(jo.result)
|
1454
|
+
//tag)
|
1455
|
+
//tag)
|
1456
|
+
if (res.code == 200) {
|
1457
|
+
this.$set('data.f_paper_id', res.id)
|
1458
|
+
this.isStrat = false
|
1459
|
+
if (url != "") {
|
1460
|
+
this.$resetpost(`${url}`, {data: WxResult})
|
1461
|
+
}
|
1462
|
+
//tag
|
1463
|
+
if (this.isToRepair) {
|
1464
|
+
for (let device in this.data) {
|
1465
|
+
if (device.startsWith("device")) {
|
1466
|
+
this.data[device] = []
|
1467
|
+
if (res.data.length > 0) {
|
1468
|
+
for (let i in res.data[0].f_devices) {
|
1469
|
+
if (this.data[device].length > 0) {
|
1470
|
+
if (this.data[device][0].f_device_type == res.data[0].f_devices[i].f_device_type) {
|
1471
|
+
this.data[device].push(res.data[0].f_devices[i])
|
1472
|
+
res.data[0].f_devices.splice(i, 1)
|
1473
|
+
}
|
1474
|
+
} else {
|
1401
1475
|
this.data[device].push(res.data[0].f_devices[i])
|
1402
1476
|
res.data[0].f_devices.splice(i, 1)
|
1403
1477
|
}
|
1404
|
-
} else {
|
1405
|
-
this.data[device].push(res.data[0].f_devices[i])
|
1406
|
-
res.data[0].f_devices.splice(i, 1)
|
1407
1478
|
}
|
1408
1479
|
}
|
1409
1480
|
}
|
1410
1481
|
}
|
1482
|
+
this.todo()
|
1483
|
+
} else {
|
1484
|
+
this.$showMessage('上传成功!')
|
1485
|
+
//tag
|
1486
|
+
this.$dispatch('confirm')
|
1487
|
+
// this.$back()
|
1411
1488
|
}
|
1412
|
-
|
1413
|
-
|
1414
|
-
|
1415
|
-
console.log('上传结束back')
|
1489
|
+
} else if (res.code == 309) {
|
1490
|
+
this.$showMessage('该安检单已作废!')
|
1491
|
+
//tag
|
1416
1492
|
this.$dispatch('confirm')
|
1417
|
-
|
1493
|
+
|
1494
|
+
} else if (res.code == 710) {
|
1495
|
+
this.$showMessage('上传照片失败:' + res.msg)
|
1496
|
+
return
|
1497
|
+
} else if (res.code == 711) {
|
1498
|
+
this.$showMessage('该安检单已被管理员调整,请联系管理员!')
|
1499
|
+
return
|
1500
|
+
} else if (res.code == 712) {
|
1501
|
+
this.$showMessage('网络异常,请重新上传,多次上传失败请联系管理员!')
|
1502
|
+
return
|
1503
|
+
} else {
|
1504
|
+
this.$showMessage('上传失败!')
|
1418
1505
|
}
|
1419
|
-
} else if (res.code == 309) {
|
1420
|
-
this.$showMessage('该安检单已作废!')
|
1421
|
-
console.log('该安检单已作废')
|
1422
|
-
this.$dispatch('confirm')
|
1423
|
-
} else if (res.code == 310) {
|
1424
|
-
this.$showMessage(res.data)
|
1425
|
-
this.onlySave = true
|
1426
|
-
//this.$dispatch('confirm')
|
1427
1506
|
} else {
|
1428
|
-
this.$showMessage('
|
1429
|
-
this.onlySave = true
|
1507
|
+
this.$showMessage('网络异常,上传失败!')
|
1430
1508
|
}
|
1431
|
-
}
|
1432
|
-
|
1433
|
-
|
1434
|
-
|
1435
|
-
|
1436
|
-
|
1437
|
-
|
1438
|
-
|
1439
|
-
|
1440
|
-
|
1441
|
-
|
1442
|
-
|
1443
|
-
|
1444
|
-
this.$
|
1509
|
+
},
|
1510
|
+
safecheckToRepairCallBack(jo) {
|
1511
|
+
//获取微信推送路径
|
1512
|
+
if (jo.state == 'ok') {
|
1513
|
+
let res = JSON.parse(jo.result)
|
1514
|
+
//tag)
|
1515
|
+
if (res.code == 200) {
|
1516
|
+
//tag
|
1517
|
+
if (res.data.code == 200) {
|
1518
|
+
this.$showMessage('上传并转维修成功!')
|
1519
|
+
} else {
|
1520
|
+
this.$showMessage('上传并转维修成功,回写安检单失败!')
|
1521
|
+
}
|
1522
|
+
this.$dispatch('confirm')
|
1523
|
+
// this.$back()
|
1445
1524
|
} else {
|
1446
|
-
this.$showMessage('
|
1525
|
+
this.$showMessage('上传失败!')
|
1526
|
+
this.onlySave = true
|
1447
1527
|
}
|
1448
|
-
this.$dispatch('confirm')
|
1449
|
-
// this.$back()
|
1450
1528
|
} else {
|
1451
|
-
this.$showMessage('
|
1529
|
+
this.$showMessage('服务器内部错误,上传失败!')
|
1452
1530
|
this.onlySave = true
|
1453
1531
|
}
|
1454
|
-
}
|
1455
|
-
|
1456
|
-
|
1457
|
-
|
1458
|
-
|
1459
|
-
|
1460
|
-
|
1461
|
-
|
1462
|
-
|
1463
|
-
|
1464
|
-
|
1465
|
-
|
1466
|
-
|
1467
|
-
|
1468
|
-
|
1469
|
-
|
1470
|
-
disableTimer() {
|
1471
|
-
if (this.timer) {
|
1472
|
-
window.clearTimeout(this.timer)
|
1473
|
-
this.timer = null
|
1474
|
-
}
|
1475
|
-
},
|
1476
|
-
loaded(paper) {
|
1477
|
-
if (!paper.hasOwnProperty('id')) {
|
1478
|
-
this.$showMessage("该安检单在手机上已经不存在,可能是卸载过程序。可以进入重新安检,或返回安检计划。")
|
1479
|
-
this.init()
|
1480
|
-
} else {
|
1481
|
-
Util.booleanFilter(paper)
|
1482
|
-
HostApp.__this__.$set('data', paper)
|
1483
|
-
HostApp.__this__.$goto('safecheck-userinfo', {}, 'paper-router')
|
1484
|
-
// 如果打回重检则重新计时
|
1485
|
-
console.log('HostApp.__this__.role' + HostApp.__this__.role + ' HostApp.__this__.f_approved:' + HostApp.__this__.data.f_approved)
|
1486
|
-
if (HostApp.__this__.role == 'inspect'
|
1487
|
-
&& HostApp.__this__.data.f_approved
|
1488
|
-
&& HostApp.__this__.data.f_approved == '打回') {
|
1489
|
-
console.log('打回')
|
1490
|
-
HostApp.__this__.data.f_onsite_time = Util.toStandardTimeString()
|
1491
|
-
HostApp.__this__.tick()
|
1532
|
+
},
|
1533
|
+
todo() {
|
1534
|
+
let gen = getRepairParam(this)
|
1535
|
+
co(gen)
|
1536
|
+
},
|
1537
|
+
undo() {
|
1538
|
+
this.showCheckToRepair = !this.showCheckToRepair
|
1539
|
+
this.model.serviceacitivity[0].f_reciever = ''
|
1540
|
+
this.model.serviceacitivity[0].f_meetunit = ''
|
1541
|
+
this.model.f_repairtype = ''
|
1542
|
+
this.meading = '转站点'
|
1543
|
+
},
|
1544
|
+
disableTimer() {
|
1545
|
+
if (this.timer) {
|
1546
|
+
window.clearTimeout(this.timer)
|
1547
|
+
this.timer = null
|
1492
1548
|
}
|
1493
|
-
}
|
1494
|
-
|
1495
|
-
|
1496
|
-
|
1497
|
-
|
1498
|
-
|
1499
|
-
|
1500
|
-
|
1501
|
-
|
1502
|
-
|
1503
|
-
|
1504
|
-
|
1505
|
-
|
1506
|
-
|
1507
|
-
|
1549
|
+
},
|
1550
|
+
loaded(paper) {
|
1551
|
+
if (!paper.hasOwnProperty('id')) {
|
1552
|
+
this.$showMessage("该安检单在手机上已经不存在,可能是卸载过程序。可以进入重新安检,或返回安检计划。")
|
1553
|
+
this.init()
|
1554
|
+
} else {
|
1555
|
+
Util.booleanFilter(paper)
|
1556
|
+
HostApp.__this__.$set('data', paper)
|
1557
|
+
HostApp.__this__.$goto('safecheck-userinfo', {}, 'paper-router')
|
1558
|
+
// 如果打回重检则重新计时
|
1559
|
+
//tag
|
1560
|
+
if (HostApp.__this__.role == 'inspect'
|
1561
|
+
&& HostApp.__this__.data.f_approved
|
1562
|
+
&& HostApp.__this__.data.f_approved == '打回') {
|
1563
|
+
//tag
|
1564
|
+
HostApp.__this__.data.f_onsite_time = Util.toStandardTimeString()
|
1565
|
+
HostApp.__this__.tick()
|
1566
|
+
}
|
1508
1567
|
}
|
1568
|
+
HostApp.__callback__ = null
|
1569
|
+
HostApp.__this__ = null
|
1570
|
+
},
|
1571
|
+
S4() {
|
1572
|
+
return (((1 + Math.random()) * 0x10000) | 0).toString(16).substring(1);
|
1573
|
+
},
|
1574
|
+
extend(initalObj, finalObj) {
|
1575
|
+
var obj = finalObj || {};
|
1576
|
+
for (var i in initalObj) {
|
1577
|
+
var prop = initalObj[i];
|
1509
1578
|
|
1510
|
-
|
1511
|
-
if (obj
|
1512
|
-
|
1513
|
-
}
|
1514
|
-
|
1579
|
+
// 避免相互引用对象导致死循环,如initalObj.a = initalObj的情况
|
1580
|
+
if (prop === obj) {
|
1581
|
+
continue;
|
1582
|
+
}
|
1583
|
+
|
1584
|
+
if (typeof prop === 'object') {
|
1585
|
+
if (obj[i]) {
|
1586
|
+
this.extend(obj[i], prop)
|
1587
|
+
} else {
|
1588
|
+
obj[i] = prop;
|
1589
|
+
}
|
1515
1590
|
}
|
1516
1591
|
}
|
1517
|
-
|
1518
|
-
|
1519
|
-
|
1520
|
-
|
1521
|
-
|
1522
|
-
|
1523
|
-
|
1524
|
-
|
1525
|
-
|
1526
|
-
|
1527
|
-
|
1528
|
-
|
1529
|
-
|
1530
|
-
|
1531
|
-
|
1532
|
-
|
1533
|
-
|
1534
|
-
|
1535
|
-
|
1592
|
+
return obj;
|
1593
|
+
},
|
1594
|
+
// async isoverDate(){
|
1595
|
+
// let res= await this.$resetpost(`${this.$androidUtil.getProxyUrl()}/rs/sql/androidGetuserinfo`, {data:{
|
1596
|
+
// condition:"f_plan_item_id='"+this.item.id+"'"
|
1597
|
+
// }
|
1598
|
+
// })
|
1599
|
+
// this.isneedDate=res.data[0]["f_subscribe_date"]
|
1600
|
+
// },
|
1601
|
+
putDevices() {
|
1602
|
+
//tag)
|
1603
|
+
//tag)
|
1604
|
+
this.$set('data.approve', "true")
|
1605
|
+
this.$set('data.writeback', "false")
|
1606
|
+
if (Vue.config.safecheck != undefined) {
|
1607
|
+
if (Vue.config.safecheck.ApproveConfig != undefined) {
|
1608
|
+
if (Vue.config.safecheck.ApproveConfig.approve != undefined) {
|
1609
|
+
this.$set('data.approve', Vue.config.safecheck.ApproveConfig.approve)
|
1610
|
+
}
|
1611
|
+
if (Vue.config.safecheck.ApproveConfig.writeback != undefined) {
|
1612
|
+
this.$set('data.writeback', Vue.config.safecheck.ApproveConfig.writeback)
|
1613
|
+
}
|
1614
|
+
if (Vue.config.safecheck.ApproveConfig.livedispose != undefined) {
|
1615
|
+
this.livedispose = Vue.config.safecheck.ApproveConfig.livedispose
|
1616
|
+
}
|
1536
1617
|
}
|
1537
|
-
|
1538
|
-
|
1618
|
+
//tag
|
1619
|
+
//tag)
|
1620
|
+
//tag)
|
1621
|
+
//tag
|
1622
|
+
if (this.item.f_user_type == '民用') {
|
1623
|
+
// 民用户
|
1624
|
+
if (Vue.config.safecheck.DevicesConfig != undefined) {
|
1625
|
+
if (this.item.f_safecheck_type == undefined || this.item.f_safecheck_type == '' || Vue.config.safecheck.SafecheckType == undefined) {
|
1626
|
+
this.config = this.extend(this.config, Vue.config.safecheck.DevicesConfig)
|
1627
|
+
} else {
|
1628
|
+
//tag
|
1629
|
+
//tag
|
1630
|
+
//tag
|
1631
|
+
this.config = this.extend(this.config, Vue.config.safecheck[Vue.config.safecheck.SafecheckType[this.item.f_safecheck_type][this.item.f_user_type]])
|
1632
|
+
}
|
1633
|
+
}
|
1634
|
+
} else {
|
1635
|
+
// 非民用
|
1636
|
+
if (Vue.config.safecheck.DevicesSetConfig != undefined) {
|
1637
|
+
if (this.item.f_safecheck_type == undefined || this.item.f_safecheck_type == '' || Vue.config.safecheck.SafecheckType == undefined) {
|
1638
|
+
this.config = this.extend(this.config, Vue.config.safecheck.DevicesSetConfig)
|
1639
|
+
} else {
|
1640
|
+
//tag
|
1641
|
+
//tag
|
1642
|
+
//tag
|
1643
|
+
this.config = this.extend(this.config, Vue.config.safecheck[Vue.config.safecheck.SafecheckType[this.item.f_safecheck_type][this.item.f_user_type]])
|
1644
|
+
}
|
1645
|
+
//this.config = this.extend(this.config, Vue.config.safecheck.DevicesSetConfig)
|
1646
|
+
}
|
1647
|
+
}
|
1648
|
+
if (this.item.f_plan_meters[0].f_collection_type == '按金额' && this.item.f_plan_meters[0].f_meter_type != '物联网表') {
|
1649
|
+
delete this.config['燃气表']['items']['字轮数']
|
1650
|
+
delete this.config['燃气表']['items']['已用气量']
|
1651
|
+
delete this.config['燃气表']['items']['剩余气量']
|
1652
|
+
delete this.config['燃气表']['items']['系统剩余金额']
|
1653
|
+
delete this.config['燃气表']['items']['表端剩余金额']
|
1654
|
+
delete this.config['燃气表']['items']['气量异常差值']
|
1655
|
+
this.config['燃气表']['items']['码盘数'].isshow = true
|
1656
|
+
this.config['燃气表']['items']['已用金额'].isshow = false
|
1657
|
+
this.config['燃气表']['items']['剩余金额'].isshow = true
|
1658
|
+
this.config['燃气表']['items']['金额异常差值'].isshow = true
|
1659
|
+
} else if (this.item.f_plan_meters[0].f_collection_type == '按气量') {
|
1660
|
+
delete this.config['燃气表']['items']['字轮数']
|
1661
|
+
delete this.config['燃气表']['items']['已用金额']
|
1662
|
+
delete this.config['燃气表']['items']['剩余金额']
|
1663
|
+
delete this.config['燃气表']['items']['系统剩余金额']
|
1664
|
+
delete this.config['燃气表']['items']['表端剩余金额']
|
1665
|
+
delete this.config['燃气表']['items']['金额异常差值']
|
1666
|
+
this.config['燃气表']['items']['码盘数'].isshow = true
|
1667
|
+
this.config['燃气表']['items']['剩余气量'].isshow = true
|
1668
|
+
this.config['燃气表']['items']['已用气量'].isshow = false
|
1669
|
+
this.config['燃气表']['items']['气量异常差值'].isshow = true
|
1539
1670
|
}
|
1540
|
-
if (
|
1541
|
-
this.
|
1671
|
+
else if (this.item.f_plan_meters[0].f_collection_type == '按金额' && this.item.f_plan_meters[0].f_meter_type == '物联网表') {
|
1672
|
+
delete this.config['燃气表']['items']['字轮数']
|
1673
|
+
delete this.config['燃气表']['items']['已用气量']
|
1674
|
+
delete this.config['燃气表']['items']['剩余气量']
|
1675
|
+
delete this.config['燃气表']['items']['金额异常差值']
|
1676
|
+
delete this.config['燃气表']['items']['已用金额']
|
1677
|
+
delete this.config['燃气表']['items']['剩余金额']
|
1678
|
+
this.config['燃气表']['items']['码盘数'].isshow = true
|
1679
|
+
this.config['燃气表']['items']['电子码盘数'].isshow = true
|
1680
|
+
this.config['燃气表']['items']['系统剩余金额'].isshow = true
|
1681
|
+
this.config['燃气表']['items']['表端剩余金额'].isshow = true
|
1682
|
+
this.config['燃气表']['items']['气量异常差值'].isshow = true
|
1542
1683
|
}
|
1543
1684
|
}
|
1544
|
-
|
1545
|
-
|
1546
|
-
|
1547
|
-
|
1548
|
-
|
1549
|
-
|
1550
|
-
|
1551
|
-
|
1552
|
-
|
1553
|
-
|
1554
|
-
|
1555
|
-
|
1556
|
-
|
1557
|
-
|
1558
|
-
|
1685
|
+
//tag)
|
1686
|
+
// 预留设备项位置
|
1687
|
+
for (let i in this.config) {
|
1688
|
+
this.tabs.splice(1, 0, null)
|
1689
|
+
}
|
1690
|
+
//遍历安检项配置
|
1691
|
+
for (let i in this.config) {
|
1692
|
+
//取得安检项索引值
|
1693
|
+
let n = this.config[i].index
|
1694
|
+
//tag
|
1695
|
+
this.devices[n - 1] = {device: i, n: n, checkmust: this.config[i].checkmust}
|
1696
|
+
this.$set('data.' + 'device' + n, [])
|
1697
|
+
//tag
|
1698
|
+
this.tabs[n] = {
|
1699
|
+
header: i,
|
1700
|
+
complete: 'safecheck-devices',
|
1701
|
+
class: 'repair-details-class',
|
1702
|
+
number: n
|
1559
1703
|
}
|
1560
|
-
|
1561
|
-
|
1562
|
-
|
1563
|
-
|
1564
|
-
|
1565
|
-
|
1566
|
-
|
1567
|
-
|
1568
|
-
|
1569
|
-
|
1704
|
+
|
1705
|
+
if (this.config[i].quantity && this.config[i].quantity > 0) {
|
1706
|
+
let items = []
|
1707
|
+
for (let it in this.config[i].items) {
|
1708
|
+
//赋值下拉选项
|
1709
|
+
if (this.config[i].items[it].type == 'selector') {
|
1710
|
+
for (let op in this.config[i].items[it].options) {
|
1711
|
+
if (this.config[i].items[it].options[op].isdefault == true) {
|
1712
|
+
items.push({
|
1713
|
+
f_defect_level: this.config[i].items[it].options[op].level,
|
1714
|
+
f_is_defect: this.config[i].items[it].options[op].isdefect,
|
1715
|
+
f_item_name: it,
|
1716
|
+
f_item_value: this.config[i].items[it].options[op].data,
|
1717
|
+
f_path: "",
|
1718
|
+
type: "selector"
|
1719
|
+
})
|
1720
|
+
}
|
1721
|
+
}
|
1722
|
+
}
|
1723
|
+
}
|
1724
|
+
for (let q = 0; q < this.config[i].quantity; q++) {
|
1725
|
+
this.data['device' + n].push(
|
1726
|
+
{f_device_type: i, f_items: items}
|
1727
|
+
)
|
1570
1728
|
}
|
1571
|
-
//this.config = this.extend(this.config, Vue.config.safecheck.DevicesSetConfig)
|
1572
1729
|
}
|
1730
|
+
n = n + 1
|
1573
1731
|
}
|
1574
|
-
|
1575
|
-
|
1576
|
-
|
1577
|
-
|
1578
|
-
|
1579
|
-
|
1580
|
-
|
1581
|
-
|
1582
|
-
|
1583
|
-
|
1584
|
-
|
1585
|
-
|
1586
|
-
|
1587
|
-
|
1588
|
-
|
1589
|
-
|
1590
|
-
|
1591
|
-
|
1592
|
-
|
1593
|
-
|
1594
|
-
|
1595
|
-
|
1596
|
-
|
1597
|
-
|
1598
|
-
|
1599
|
-
|
1600
|
-
|
1601
|
-
|
1602
|
-
|
1603
|
-
|
1604
|
-
|
1605
|
-
|
1606
|
-
|
1607
|
-
|
1608
|
-
|
1609
|
-
|
1610
|
-
|
1611
|
-
|
1612
|
-
|
1613
|
-
|
1614
|
-
|
1615
|
-
|
1616
|
-
|
1617
|
-
this.
|
1618
|
-
|
1619
|
-
|
1620
|
-
|
1621
|
-
|
1622
|
-
|
1623
|
-
|
1624
|
-
this.
|
1625
|
-
this.$set('data.'
|
1626
|
-
|
1627
|
-
this.
|
1628
|
-
|
1629
|
-
|
1630
|
-
|
1631
|
-
|
1732
|
+
this.faultshow.number = this.tabs.length
|
1733
|
+
},
|
1734
|
+
init() {
|
1735
|
+
this.data.ename = Vue.user.ename
|
1736
|
+
this.data.f_outlets = Vue.user.f_parentname
|
1737
|
+
this.data.f_meetunit = Vue.user.orgpathnames
|
1738
|
+
this.data.orgpathstr = Vue.user.orgpathstr
|
1739
|
+
this.data.f_check_item_id = this.item.id
|
1740
|
+
this.data.f_check_plan_id = this.f_plan_id
|
1741
|
+
this.data.f_checker_id = Vue.user.id
|
1742
|
+
this.data.f_checker_name = Vue.user.name
|
1743
|
+
this.data.f_check_type = this.item.f_user_type
|
1744
|
+
this.data.f_safecheck_type = this.item.f_safecheck_type
|
1745
|
+
this.data.f_subcompany = this.item.f_subcompany
|
1746
|
+
this.data.f_approved = this.item.f_approved
|
1747
|
+
this.data.f_repair_approved = this.item.f_repair_approved
|
1748
|
+
this.data.f_no_checkplan = this.item.f_no_checkplan
|
1749
|
+
this.data.f_approved = this.item.f_approved
|
1750
|
+
this.data.f_filialeid = this.item.f_filialeid
|
1751
|
+
this.data.f_orgstr = this.item.f_orgstr
|
1752
|
+
this.data.version = this.item.version
|
1753
|
+
this.$set('data.f_meters', this.item.f_plan_meters)
|
1754
|
+
this.$set('data.f_userinfo_code', this.item.f_userinfo_code)
|
1755
|
+
this.$set('data.f_userinfo_code', this.item.f_userinfo_code)
|
1756
|
+
this.$set('data.f_user_state', this.item.f_plan_meters[0].f_user_state)
|
1757
|
+
this.$set('data.f_table_state', this.item.f_plan_meters[0].f_table_state)
|
1758
|
+
this.$set('data.f_userfiles_id', this.item.f_plan_meters[0].f_userfiles_id)
|
1759
|
+
this.$set('data.f_userfile_id', this.item.f_plan_meters[0].f_userfile_id)
|
1760
|
+
// 安检状态
|
1761
|
+
this.$set('data.f_contractdate', this.item.f_plan_meters[0].f_contractdate)
|
1762
|
+
this.$set('data.f_position', this.item.f_plan_meters[0].f_weizhi)
|
1763
|
+
this.$set('data.f_aroundmeter', this.item.f_plan_meters[0].f_flow_direction)
|
1764
|
+
this.$set('data.f_metertitles', this.item.f_plan_meters[0].f_metertitles)
|
1765
|
+
this.$set('data.f_meternumber', this.item.f_plan_meters[0].f_meter_no)
|
1766
|
+
this.$set('data.f_meter_classify', this.item.f_plan_meters[0].f_meter_classify)
|
1767
|
+
this.$set('data.f_entry_status', '入户')
|
1768
|
+
this.$set('data.f_ht_date', this.item.f_plan_meters[0].f_contractdate)
|
1769
|
+
this.$set('data.f_usegas', '已使用')
|
1770
|
+
this.$set('data.f_state', this.item.f_state)
|
1771
|
+
this.$set('data.f_ins_stop_date', this.item.f_plan_meters[0].f_ins_stop_date)
|
1772
|
+
// 用户信息
|
1773
|
+
this.$set('data.f_user_name', this.item.f_user_name)
|
1774
|
+
this.$set('data.f_user_phone', this.item.f_plan_meters[0].f_user_phone)
|
1775
|
+
this.$set('data.f_rent_name', this.item.f_plan_meters[0].f_rent_name)
|
1776
|
+
this.$set('data.f_zuhu_phone', this.item.f_plan_meters[0].f_zuhu_phone)
|
1777
|
+
this.$set('data.f_userinfoid', this.item.f_userinfoid)
|
1778
|
+
this.$set('data.f_address', this.item.f_address)
|
1779
|
+
this.$set('data.f_card_id', this.item.f_card_id)
|
1780
|
+
this.$set('data.f_area', this.item.f_area)
|
1781
|
+
this.$set('data.f_street', this.item.f_street)
|
1782
|
+
this.$set('data.f_room', this.item.f_room)
|
1783
|
+
this.$set('data.f_building', this.item.f_building)
|
1784
|
+
this.$set('data.f_unit', this.item.f_unit)
|
1785
|
+
this.$set('data.f_floor', this.item.f_floor)
|
1786
|
+
this.$set('data.f_residential_area', this.item.f_residential_area)
|
1787
|
+
this.$set('data.f_idnumber', this.item.f_idnumber)
|
1788
|
+
this.$set('data.f_comments', this.item.f_comments)
|
1789
|
+
this.$set('data.f_userproperties', this.item.f_userproperties)
|
1790
|
+
// 处置方式
|
1791
|
+
this.$set('data.f_no_gas_device', false)
|
1792
|
+
this.$set('data.f_close_valve', false)
|
1793
|
+
this.$set('data.f_unload_battery', false)
|
1794
|
+
if (this.data.f_check_item_id == '' && this.item.f_no_checkplan == '无计划安检') {
|
1795
|
+
this.data.f_check_item_id = this.S4() + "" + this.S4() + "" + this.S4() + "" + this.S4() + "" + this.S4() + "" + this.S4() + "" + this.S4() + "" + this.S4()
|
1632
1796
|
}
|
1797
|
+
if (this.item.f_plan_meters) {
|
1798
|
+
for (let de in this.devices) {
|
1799
|
+
if(typeof this.devices[de]=='function'){
|
1800
|
+
continue
|
1801
|
+
}
|
1802
|
+
this.$set('data.device' + this.devices[de].n, [])
|
1803
|
+
for (let i = 0; i < this.item.f_plan_meters.length; i++) {
|
1804
|
+
if (this.item.f_plan_meters[i].f_meter_type) {
|
1805
|
+
//tag)
|
1806
|
+
if (this.devices[de].device == "燃气表" && this.item.f_plan_meters[i].f_meter_type.indexOf('机表') > 0) {
|
1807
|
+
|
1808
|
+
this.data['device' + this.devices[de].n].push({
|
1809
|
+
f_device_type: "燃气表",
|
1810
|
+
f_items: [
|
1811
|
+
{
|
1812
|
+
f_defect_level: null,
|
1813
|
+
f_device_id: "",
|
1814
|
+
f_is_defect: "",
|
1815
|
+
f_item_name: "表号",
|
1816
|
+
f_item_value: this.item.f_plan_meters[i].f_meter_no,
|
1817
|
+
f_path: "",
|
1818
|
+
type: "number"
|
1819
|
+
},
|
1820
|
+
{
|
1821
|
+
f_defect_level: null,
|
1822
|
+
f_device_id: "",
|
1823
|
+
f_is_defect: "",
|
1824
|
+
f_item_name: "表封号",
|
1825
|
+
f_item_value: this.item.f_plan_meters[i].f_metertitles,
|
1826
|
+
f_path: "",
|
1827
|
+
type: "string"
|
1828
|
+
},
|
1829
|
+
{
|
1830
|
+
f_defect_level: null,
|
1831
|
+
f_device_id: "",
|
1832
|
+
f_is_defect: "",
|
1833
|
+
f_item_name: "气表型号",
|
1834
|
+
f_item_value: this.item.f_plan_meters[i].f_diaphgram_size,
|
1835
|
+
f_path: "",
|
1836
|
+
type: "string"
|
1837
|
+
},
|
1838
|
+
{
|
1839
|
+
f_defect_level: null,
|
1840
|
+
f_device_id: "",
|
1841
|
+
f_is_defect: "",
|
1842
|
+
f_item_name: "气表品牌",
|
1843
|
+
f_item_value: this.item.f_plan_meters[i].f_aliasname,
|
1844
|
+
f_path: "",
|
1845
|
+
type: "string"
|
1846
|
+
},
|
1847
|
+
{
|
1848
|
+
f_defect_level: null,
|
1849
|
+
f_device_id: "",
|
1850
|
+
f_is_defect: "",
|
1851
|
+
f_item_name: "进气方向",
|
1852
|
+
f_item_value: this.item.f_plan_meters[i].f_flow_direction,
|
1853
|
+
f_path: "",
|
1854
|
+
type: "string"
|
1855
|
+
},
|
1856
|
+
{
|
1857
|
+
f_defect_level: null,
|
1858
|
+
f_device_id: "",
|
1859
|
+
f_is_defect: "",
|
1860
|
+
f_item_name: "表位置",
|
1861
|
+
f_item_value: this.item.f_plan_meters[i].f_weizhi,
|
1862
|
+
f_path: "",
|
1863
|
+
type: "string"
|
1864
|
+
},
|
1865
|
+
{
|
1866
|
+
f_defect_level: null,
|
1867
|
+
f_device_id: "",
|
1868
|
+
f_is_defect: "",
|
1869
|
+
f_item_name: "累购气量",
|
1870
|
+
f_item_value: this.item.f_plan_meters[i].f_total_gas,
|
1871
|
+
f_path: "",
|
1872
|
+
type: "number"
|
1873
|
+
},
|
1874
|
+
{
|
1875
|
+
f_defect_level: null,
|
1876
|
+
f_device_id: "",
|
1877
|
+
f_is_defect: "",
|
1878
|
+
f_item_name: "系统剩余金额",
|
1879
|
+
f_item_value: this.item.f_plan_meters[i].f_balance_amount,
|
1880
|
+
f_path: "",
|
1881
|
+
type: "number"
|
1882
|
+
},
|
1883
|
+
{
|
1884
|
+
f_defect_level: null,
|
1885
|
+
f_device_id: "",
|
1886
|
+
f_is_defect: "",
|
1887
|
+
f_item_name: "表端剩余金额",
|
1888
|
+
f_item_value: 0,
|
1889
|
+
f_path: "",
|
1890
|
+
type: "number"
|
1891
|
+
},
|
1892
|
+
{
|
1893
|
+
f_defect_level: null,
|
1894
|
+
f_device_id: "",
|
1895
|
+
f_is_defect: "",
|
1896
|
+
f_item_name: "累购金额",
|
1897
|
+
f_item_value: this.item.f_plan_meters[i].f_total_fee,
|
1898
|
+
f_path: "",
|
1899
|
+
type: "number"
|
1900
|
+
},
|
1901
|
+
{
|
1902
|
+
f_defect_level: null,
|
1903
|
+
f_device_id: "",
|
1904
|
+
f_is_defect: "",
|
1905
|
+
f_item_name: "热水器数量",
|
1906
|
+
f_item_value: this.item.f_plan_meters[i].f_waterheaternum,
|
1907
|
+
f_path: "",
|
1908
|
+
type: "number"
|
1909
|
+
},
|
1910
|
+
{
|
1911
|
+
f_defect_level: null,
|
1912
|
+
f_device_id: "",
|
1913
|
+
f_is_defect: "",
|
1914
|
+
f_item_name: "壁挂炉数量",
|
1915
|
+
f_item_value: this.item.f_plan_meters[i].f_wallhangboilernum,
|
1916
|
+
f_path: "",
|
1917
|
+
type: "number"
|
1918
|
+
},
|
1919
|
+
{
|
1920
|
+
f_defect_level: null,
|
1921
|
+
f_device_id: "",
|
1922
|
+
f_is_defect: "",
|
1923
|
+
f_item_name: "灶具数量",
|
1924
|
+
f_item_value: this.item.f_plan_meters[i].f_kitchennum,
|
1925
|
+
f_path: "",
|
1926
|
+
type: "number"
|
1927
|
+
},
|
1633
1928
|
|
1634
|
-
|
1635
|
-
|
1636
|
-
|
1637
|
-
|
1638
|
-
|
1639
|
-
|
1640
|
-
|
1641
|
-
|
1642
|
-
|
1643
|
-
|
1644
|
-
|
1645
|
-
|
1646
|
-
|
1647
|
-
|
1929
|
+
{
|
1930
|
+
f_defect_level: null,
|
1931
|
+
f_device_id: "",
|
1932
|
+
f_is_defect: "",
|
1933
|
+
f_item_name: "自闭阀数量",
|
1934
|
+
f_item_value: this.item.f_plan_meters[i].f_selfclosenum,
|
1935
|
+
f_path: "",
|
1936
|
+
type: "number"
|
1937
|
+
},
|
1938
|
+
{
|
1939
|
+
f_defect_level: null,
|
1940
|
+
f_device_id: "",
|
1941
|
+
f_is_defect: "",
|
1942
|
+
f_item_name: "不锈钢波纹管数量",
|
1943
|
+
f_item_value: this.item.f_plan_meters[i].f_steelbellowsnum,
|
1944
|
+
f_path: "",
|
1945
|
+
type: "number"
|
1946
|
+
},
|
1947
|
+
{
|
1948
|
+
f_defect_level: null,
|
1949
|
+
f_device_id: "",
|
1950
|
+
f_is_defect: "",
|
1951
|
+
f_item_name: "有无报警器",
|
1952
|
+
f_item_value: this.item.f_plan_meters[i].f_isalarm,
|
1953
|
+
f_path: "",
|
1954
|
+
type: "number"
|
1955
|
+
},
|
1956
|
+
|
1957
|
+
{
|
1958
|
+
f_defect_level: null,
|
1959
|
+
f_device_id: "",
|
1960
|
+
f_is_defect: "",
|
1961
|
+
f_item_name: "码盘数",
|
1962
|
+
f_item_value: 0,
|
1963
|
+
f_path: "",
|
1964
|
+
type: "number"
|
1965
|
+
}
|
1966
|
+
]
|
1967
|
+
})
|
1968
|
+
} else if (this.devices[de].device == "燃气表") {
|
1969
|
+
// delete this.config['燃气表']['items']['表底数']
|
1970
|
+
this.data['device' + this.devices[de].n].push({
|
1971
|
+
f_device_type: "燃气表",
|
1972
|
+
f_items: [
|
1973
|
+
{
|
1974
|
+
f_defect_level: null,
|
1975
|
+
f_device_id: "",
|
1976
|
+
f_is_defect: "",
|
1977
|
+
f_item_name: "表号",
|
1978
|
+
f_item_value: this.item.f_plan_meters[i].f_meter_no,
|
1979
|
+
f_path: "",
|
1980
|
+
type: "number"
|
1981
|
+
},
|
1982
|
+
{
|
1983
|
+
f_defect_level: null,
|
1984
|
+
f_device_id: "",
|
1985
|
+
f_is_defect: "",
|
1986
|
+
f_item_name: "表封号",
|
1987
|
+
f_item_value: this.item.f_plan_meters[i].f_metertitles,
|
1988
|
+
f_path: "",
|
1989
|
+
type: "string"
|
1990
|
+
},
|
1991
|
+
{
|
1992
|
+
f_defect_level: null,
|
1993
|
+
f_device_id: "",
|
1994
|
+
f_is_defect: "",
|
1995
|
+
f_item_name: "气表型号",
|
1996
|
+
f_item_value: this.item.f_plan_meters[i].f_diaphgram_size,
|
1997
|
+
f_path: "",
|
1998
|
+
type: "string"
|
1999
|
+
},
|
2000
|
+
{
|
2001
|
+
f_defect_level: null,
|
2002
|
+
f_device_id: "",
|
2003
|
+
f_is_defect: "",
|
2004
|
+
f_item_name: "气表品牌",
|
2005
|
+
f_item_value: this.item.f_plan_meters[i].f_aliasname,
|
2006
|
+
f_path: "",
|
2007
|
+
type: "string"
|
2008
|
+
},
|
2009
|
+
{
|
2010
|
+
f_defect_level: null,
|
2011
|
+
f_device_id: "",
|
2012
|
+
f_is_defect: "",
|
2013
|
+
f_item_name: "进气方向",
|
2014
|
+
f_item_value: this.item.f_plan_meters[i].f_flow_direction,
|
2015
|
+
f_path: "",
|
2016
|
+
type: "string"
|
2017
|
+
},
|
2018
|
+
{
|
2019
|
+
f_defect_level: null,
|
2020
|
+
f_device_id: "",
|
2021
|
+
f_is_defect: "",
|
2022
|
+
f_item_name: "表位置",
|
2023
|
+
f_item_value: this.item.f_plan_meters[i].f_weizhi,
|
2024
|
+
f_path: "",
|
2025
|
+
type: "string"
|
2026
|
+
},
|
2027
|
+
{
|
2028
|
+
f_defect_level: null,
|
2029
|
+
f_device_id: "",
|
2030
|
+
f_is_defect: "",
|
2031
|
+
f_item_name: "累购气量",
|
2032
|
+
f_item_value: this.item.f_plan_meters[i].f_total_gas,
|
2033
|
+
f_path: "",
|
2034
|
+
type: "number"
|
2035
|
+
},
|
2036
|
+
{
|
2037
|
+
f_defect_level: null,
|
2038
|
+
f_device_id: "",
|
2039
|
+
f_is_defect: "",
|
2040
|
+
f_item_name: "累购金额",
|
2041
|
+
f_item_value: this.item.f_plan_meters[i].f_total_fee,
|
2042
|
+
f_path: "",
|
2043
|
+
type: "number"
|
2044
|
+
},
|
2045
|
+
{
|
2046
|
+
f_defect_level: null,
|
2047
|
+
f_device_id: "",
|
2048
|
+
f_is_defect: "",
|
2049
|
+
f_item_name: "系统剩余金额",
|
2050
|
+
f_item_value: this.item.f_plan_meters[i].f_balance_amount,
|
2051
|
+
f_path: "",
|
2052
|
+
type: "number"
|
2053
|
+
},
|
2054
|
+
{
|
2055
|
+
f_defect_level: null,
|
2056
|
+
f_device_id: "",
|
2057
|
+
f_is_defect: "",
|
2058
|
+
f_item_name: "表端剩余金额",
|
2059
|
+
f_item_value: 0,
|
2060
|
+
f_path: "",
|
2061
|
+
type: "number"
|
2062
|
+
},
|
2063
|
+
{
|
2064
|
+
f_defect_level: null,
|
2065
|
+
f_device_id: "",
|
2066
|
+
f_is_defect: "",
|
2067
|
+
f_item_name: "电子码盘数",
|
2068
|
+
f_item_value: 0,
|
2069
|
+
f_path: "",
|
2070
|
+
type: "number"
|
2071
|
+
},
|
2072
|
+
{
|
2073
|
+
f_defect_level: null,
|
2074
|
+
f_device_id: "",
|
2075
|
+
f_is_defect: "",
|
2076
|
+
f_item_name: "热水器数量",
|
2077
|
+
f_item_value: this.item.f_plan_meters[i].f_waterheaternum,
|
2078
|
+
f_path: "",
|
2079
|
+
type: "number"
|
2080
|
+
},
|
2081
|
+
{
|
2082
|
+
f_defect_level: null,
|
2083
|
+
f_device_id: "",
|
2084
|
+
f_is_defect: "",
|
2085
|
+
f_item_name: "壁挂炉数量",
|
2086
|
+
f_item_value: this.item.f_plan_meters[i].f_wallhangboilernum,
|
2087
|
+
f_path: "",
|
2088
|
+
type: "number"
|
2089
|
+
},
|
2090
|
+
{
|
2091
|
+
f_defect_level: null,
|
2092
|
+
f_device_id: "",
|
2093
|
+
f_is_defect: "",
|
2094
|
+
f_item_name: "灶具数量",
|
2095
|
+
f_item_value: this.item.f_plan_meters[i].f_kitchennum,
|
2096
|
+
f_path: "",
|
2097
|
+
type: "number"
|
2098
|
+
},
|
2099
|
+
{
|
2100
|
+
f_defect_level: null,
|
2101
|
+
f_device_id: "",
|
2102
|
+
f_is_defect: "",
|
2103
|
+
f_item_name: "自闭阀数量",
|
2104
|
+
f_item_value: this.item.f_plan_meters[i].f_selfclosenum,
|
2105
|
+
f_path: "",
|
2106
|
+
type: "number"
|
2107
|
+
},
|
2108
|
+
{
|
2109
|
+
f_defect_level: null,
|
2110
|
+
f_device_id: "",
|
2111
|
+
f_is_defect: "",
|
2112
|
+
f_item_name: "不锈钢波纹管数量",
|
2113
|
+
f_item_value: this.item.f_plan_meters[i].f_steelbellowsnum,
|
2114
|
+
f_path: "",
|
2115
|
+
type: "number"
|
2116
|
+
},
|
2117
|
+
{
|
2118
|
+
f_defect_level: null,
|
2119
|
+
f_device_id: "",
|
2120
|
+
f_is_defect: "",
|
2121
|
+
f_item_name: "有无报警器",
|
2122
|
+
f_item_value: this.item.f_plan_meters[i].f_isalarm,
|
2123
|
+
f_path: "",
|
2124
|
+
type: "number"
|
2125
|
+
},
|
2126
|
+
{
|
2127
|
+
f_defect_level: null,
|
2128
|
+
f_device_id: "",
|
2129
|
+
f_is_defect: "",
|
2130
|
+
f_item_name: "码盘数",
|
2131
|
+
f_item_value: 0,
|
2132
|
+
f_path: "",
|
2133
|
+
type: "number"
|
2134
|
+
}
|
2135
|
+
]
|
1648
2136
|
})
|
1649
2137
|
}
|
1650
|
-
|
1651
|
-
|
1652
|
-
|
1653
|
-
|
1654
|
-
|
1655
|
-
|
1656
|
-
|
1657
|
-
|
1658
|
-
|
1659
|
-
|
1660
|
-
|
1661
|
-
|
1662
|
-
|
1663
|
-
|
1664
|
-
|
1665
|
-
|
1666
|
-
|
1667
|
-
|
1668
|
-
|
1669
|
-
|
1670
|
-
|
1671
|
-
|
1672
|
-
|
1673
|
-
|
1674
|
-
|
1675
|
-
|
1676
|
-
|
1677
|
-
|
1678
|
-
|
1679
|
-
|
1680
|
-
|
1681
|
-
|
1682
|
-
|
1683
|
-
|
1684
|
-
|
1685
|
-
|
1686
|
-
|
1687
|
-
|
1688
|
-
|
1689
|
-
|
1690
|
-
|
1691
|
-
|
1692
|
-
|
1693
|
-
|
1694
|
-
|
1695
|
-
|
1696
|
-
|
1697
|
-
|
1698
|
-
|
1699
|
-
|
1700
|
-
|
1701
|
-
|
1702
|
-
|
1703
|
-
|
1704
|
-
|
1705
|
-
|
1706
|
-
|
1707
|
-
|
1708
|
-
|
1709
|
-
|
1710
|
-
|
1711
|
-
|
1712
|
-
|
1713
|
-
|
1714
|
-
|
1715
|
-
|
1716
|
-
|
1717
|
-
|
1718
|
-
|
1719
|
-
|
1720
|
-
|
1721
|
-
|
1722
|
-
|
1723
|
-
|
1724
|
-
|
1725
|
-
|
1726
|
-
|
1727
|
-
|
1728
|
-
|
1729
|
-
|
1730
|
-
|
1731
|
-
|
1732
|
-
|
1733
|
-
|
1734
|
-
|
1735
|
-
|
1736
|
-
|
1737
|
-
|
1738
|
-
|
1739
|
-
|
1740
|
-
|
1741
|
-
|
1742
|
-
|
1743
|
-
|
1744
|
-
|
1745
|
-
|
1746
|
-
|
1747
|
-
|
1748
|
-
|
1749
|
-
|
1750
|
-
|
1751
|
-
|
1752
|
-
{
|
1753
|
-
f_defect_level: null,
|
1754
|
-
f_device_id: "",
|
1755
|
-
f_is_defect: "",
|
1756
|
-
f_item_name: "气表型号",
|
1757
|
-
f_item_value: this.item.f_plan_meters[i].f_diaphgram_size,
|
1758
|
-
f_path: "",
|
1759
|
-
type: "string"
|
1760
|
-
},
|
1761
|
-
{
|
1762
|
-
f_defect_level: null,
|
1763
|
-
f_device_id: "",
|
1764
|
-
f_is_defect: "",
|
1765
|
-
f_item_name: "气表品牌",
|
1766
|
-
f_item_value: this.item.f_plan_meters[i].f_aliasname,
|
1767
|
-
f_path: "",
|
1768
|
-
type: "string"
|
1769
|
-
},
|
1770
|
-
{
|
1771
|
-
f_defect_level: null,
|
1772
|
-
f_device_id: "",
|
1773
|
-
f_is_defect: "",
|
1774
|
-
f_item_name: "进气方向",
|
1775
|
-
f_item_value: this.item.f_plan_meters[i].f_flow_direction,
|
1776
|
-
f_path: "",
|
1777
|
-
type: "string"
|
1778
|
-
},
|
1779
|
-
{
|
1780
|
-
f_defect_level: null,
|
1781
|
-
f_device_id: "",
|
1782
|
-
f_is_defect: "",
|
1783
|
-
f_item_name: "表位置",
|
1784
|
-
f_item_value: this.item.f_plan_meters[i].f_weizhi,
|
1785
|
-
f_path: "",
|
1786
|
-
type: "string"
|
1787
|
-
},
|
1788
|
-
{
|
1789
|
-
f_defect_level: null,
|
1790
|
-
f_device_id: "",
|
1791
|
-
f_is_defect: "",
|
1792
|
-
f_item_name: "累购气量",
|
1793
|
-
f_item_value: this.item.f_plan_meters[i].f_total_gas,
|
1794
|
-
f_path: "",
|
1795
|
-
type: "number"
|
1796
|
-
},
|
1797
|
-
{
|
1798
|
-
f_defect_level: null,
|
1799
|
-
f_device_id: "",
|
1800
|
-
f_is_defect: "",
|
1801
|
-
f_item_name: "累购金额",
|
1802
|
-
f_item_value: this.item.f_plan_meters[i].f_total_fee,
|
1803
|
-
f_path: "",
|
1804
|
-
type: "number"
|
1805
|
-
},
|
1806
|
-
{
|
1807
|
-
f_defect_level: null,
|
1808
|
-
f_device_id: "",
|
1809
|
-
f_is_defect: "",
|
1810
|
-
f_item_name: "热水器数量",
|
1811
|
-
f_item_value: this.item.f_plan_meters[i].f_waterheaternum,
|
1812
|
-
f_path: "",
|
1813
|
-
type: "number"
|
1814
|
-
},
|
1815
|
-
{
|
1816
|
-
f_defect_level: null,
|
1817
|
-
f_device_id: "",
|
1818
|
-
f_is_defect: "",
|
1819
|
-
f_item_name: "壁挂炉数量",
|
1820
|
-
f_item_value: this.item.f_plan_meters[i].f_wallhangboilernum,
|
1821
|
-
f_path: "",
|
1822
|
-
type: "number"
|
1823
|
-
},
|
1824
|
-
{
|
1825
|
-
f_defect_level: null,
|
1826
|
-
f_device_id: "",
|
1827
|
-
f_is_defect: "",
|
1828
|
-
f_item_name: "灶具数量",
|
1829
|
-
f_item_value: this.item.f_plan_meters[i].f_kitchennum,
|
1830
|
-
f_path: "",
|
1831
|
-
type: "number"
|
1832
|
-
},
|
1833
|
-
{
|
1834
|
-
f_defect_level: null,
|
1835
|
-
f_device_id: "",
|
1836
|
-
f_is_defect: "",
|
1837
|
-
f_item_name: "码盘数",
|
1838
|
-
f_item_value: 0,
|
1839
|
-
f_path: "",
|
1840
|
-
type: "number"
|
1841
|
-
}
|
1842
|
-
]
|
1843
|
-
})
|
1844
|
-
} else if (this.devices[de].device == "燃气表") {
|
1845
|
-
// delete this.config['燃气表']['items']['表底数']
|
1846
|
-
this.data['device' + this.devices[de].n].push({
|
1847
|
-
f_device_type: "燃气表",
|
1848
|
-
f_items: [
|
1849
|
-
{
|
1850
|
-
f_defect_level: null,
|
1851
|
-
f_device_id: "",
|
1852
|
-
f_is_defect: "",
|
1853
|
-
f_item_name: "表号",
|
1854
|
-
f_item_value: this.item.f_plan_meters[i].f_meter_no,
|
1855
|
-
f_path: "",
|
1856
|
-
type: "number"
|
1857
|
-
},
|
1858
|
-
{
|
1859
|
-
f_defect_level: null,
|
1860
|
-
f_device_id: "",
|
1861
|
-
f_is_defect: "",
|
1862
|
-
f_item_name: "表封号",
|
1863
|
-
f_item_value: this.item.f_plan_meters[i].f_metertitles,
|
1864
|
-
f_path: "",
|
1865
|
-
type: "string"
|
1866
|
-
},
|
1867
|
-
{
|
1868
|
-
f_defect_level: null,
|
1869
|
-
f_device_id: "",
|
1870
|
-
f_is_defect: "",
|
1871
|
-
f_item_name: "气表型号",
|
1872
|
-
f_item_value: this.item.f_plan_meters[i].f_diaphgram_size,
|
1873
|
-
f_path: "",
|
1874
|
-
type: "string"
|
1875
|
-
},
|
1876
|
-
{
|
1877
|
-
f_defect_level: null,
|
1878
|
-
f_device_id: "",
|
1879
|
-
f_is_defect: "",
|
1880
|
-
f_item_name: "气表品牌",
|
1881
|
-
f_item_value: this.item.f_plan_meters[i].f_aliasname,
|
1882
|
-
f_path: "",
|
1883
|
-
type: "string"
|
1884
|
-
},
|
1885
|
-
{
|
1886
|
-
f_defect_level: null,
|
1887
|
-
f_device_id: "",
|
1888
|
-
f_is_defect: "",
|
1889
|
-
f_item_name: "进气方向",
|
1890
|
-
f_item_value: this.item.f_plan_meters[i].f_flow_direction,
|
1891
|
-
f_path: "",
|
1892
|
-
type: "string"
|
1893
|
-
},
|
1894
|
-
{
|
1895
|
-
f_defect_level: null,
|
1896
|
-
f_device_id: "",
|
1897
|
-
f_is_defect: "",
|
1898
|
-
f_item_name: "表位置",
|
1899
|
-
f_item_value: this.item.f_plan_meters[i].f_weizhi,
|
1900
|
-
f_path: "",
|
1901
|
-
type: "string"
|
1902
|
-
},
|
1903
|
-
{
|
1904
|
-
f_defect_level: null,
|
1905
|
-
f_device_id: "",
|
1906
|
-
f_is_defect: "",
|
1907
|
-
f_item_name: "累购气量",
|
1908
|
-
f_item_value: this.item.f_plan_meters[i].f_total_gas,
|
1909
|
-
f_path: "",
|
1910
|
-
type: "number"
|
1911
|
-
},
|
1912
|
-
{
|
1913
|
-
f_defect_level: null,
|
1914
|
-
f_device_id: "",
|
1915
|
-
f_is_defect: "",
|
1916
|
-
f_item_name: "累购金额",
|
1917
|
-
f_item_value: this.item.f_plan_meters[i].f_total_fee,
|
1918
|
-
f_path: "",
|
1919
|
-
type: "number"
|
1920
|
-
},
|
1921
|
-
{
|
1922
|
-
f_defect_level: null,
|
1923
|
-
f_device_id: "",
|
1924
|
-
f_is_defect: "",
|
1925
|
-
f_item_name: "热水器数量",
|
1926
|
-
f_item_value: this.item.f_plan_meters[i].f_waterheaternum,
|
1927
|
-
f_path: "",
|
1928
|
-
type: "number"
|
1929
|
-
},
|
1930
|
-
{
|
1931
|
-
f_defect_level: null,
|
1932
|
-
f_device_id: "",
|
1933
|
-
f_is_defect: "",
|
1934
|
-
f_item_name: "壁挂炉数量",
|
1935
|
-
f_item_value: this.item.f_plan_meters[i].f_wallhangboilernum,
|
1936
|
-
f_path: "",
|
1937
|
-
type: "number"
|
1938
|
-
},
|
1939
|
-
{
|
1940
|
-
f_defect_level: null,
|
1941
|
-
f_device_id: "",
|
1942
|
-
f_is_defect: "",
|
1943
|
-
f_item_name: "灶具数量",
|
1944
|
-
f_item_value: this.item.f_plan_meters[i].f_kitchennum,
|
1945
|
-
f_path: "",
|
1946
|
-
type: "number"
|
1947
|
-
},
|
1948
|
-
{
|
1949
|
-
f_defect_level: null,
|
1950
|
-
f_device_id: "",
|
1951
|
-
f_is_defect: "",
|
1952
|
-
f_item_name: "码盘数",
|
1953
|
-
f_item_value: 0,
|
1954
|
-
f_path: "",
|
1955
|
-
type: "number"
|
1956
|
-
}
|
1957
|
-
]
|
1958
|
-
})
|
1959
|
-
}
|
1960
|
-
if (this.devices[de].device == "燃气表" && this.item.f_plan_meters[i].f_collection_type) {
|
1961
|
-
this.data['device' + this.devices[de].n].forEach(device => {
|
1962
|
-
console.log('device ===> ' + JSON.stringify(device))
|
1963
|
-
console.log('this.item.f_plan_meters[i].f_collection_type ===> ' + JSON.stringify(this.item.f_plan_meters[i].f_collection_type))
|
1964
|
-
/*
|
1965
|
-
"累购气量":{"index":8,"type":"number","readonly":true},
|
1966
|
-
"累购金额":{"index":8,"type":"number","readonly":true},
|
1967
|
-
"字轮读数":{"index":9,"type":"number","checkmust": true},
|
1968
|
-
"已用金额":{"index":9,"type":"number","checkmust": true},
|
1969
|
-
"剩余气量":{"index":10,"type":"number","checkmust": true},
|
1970
|
-
"剩余金额":{"index":10,"type":"number","checkmust": true},
|
1971
|
-
"气量异常差值":{"index":11,"type":"number","readonly": true},
|
1972
|
-
"金额异常差值":{"index":11,"type":"number","readonly": true}
|
1973
|
-
*/
|
1974
|
-
if (this.item.f_plan_meters[i].f_collection_type == '按金额') {
|
1975
|
-
if (!this.data.f_collection_type) {
|
1976
|
-
this.data.f_collection_type = this.item.f_plan_meters[i].f_collection_type
|
1977
|
-
//delete this.config['燃气表']['items']['累购气量']
|
1978
|
-
// delete this.config['燃气表']['items']['已用气量']
|
1979
|
-
// delete this.config['燃气表']['items']['剩余气量']
|
1980
|
-
// delete this.config['燃气表']['items']['气量异常差值']
|
1981
|
-
device.f_items.push(
|
1982
|
-
{
|
1983
|
-
f_defect_level: null,
|
1984
|
-
f_device_id: "",
|
1985
|
-
f_is_defect: "",
|
1986
|
-
f_item_name: "已用金额",
|
1987
|
-
f_item_value: null,
|
1988
|
-
f_path: "",
|
1989
|
-
type: "number"
|
1990
|
-
},
|
1991
|
-
{
|
1992
|
-
f_defect_level: null,
|
1993
|
-
f_device_id: "",
|
1994
|
-
f_is_defect: "",
|
1995
|
-
f_item_name: "剩余金额",
|
1996
|
-
f_item_value: null,
|
1997
|
-
f_path: "",
|
1998
|
-
type: "number"
|
1999
|
-
},
|
2000
|
-
{
|
2001
|
-
f_defect_level: null,
|
2002
|
-
f_device_id: "",
|
2003
|
-
f_is_defect: "",
|
2004
|
-
f_item_name: "金额异常差值",
|
2005
|
-
f_item_value: null,
|
2006
|
-
f_path: "",
|
2007
|
-
type: "number"
|
2008
|
-
}
|
2009
|
-
)
|
2010
|
-
console.log('this.config[\'燃气表\'][\'items\'] ===> ' + JSON.stringify(this.config['燃气表']['items']))
|
2138
|
+
if (this.devices[de].device == "燃气表" && this.item.f_plan_meters[i].f_collection_type) {
|
2139
|
+
this.data['device' + this.devices[de].n].forEach(device => {
|
2140
|
+
if (this.item.f_plan_meters[i].f_collection_type == '按金额' && this.item.f_plan_meters[0].f_meter_type != '物联网表') {
|
2141
|
+
if (!this.data.f_collection_type) {
|
2142
|
+
this.data.f_collection_type = this.item.f_plan_meters[i].f_collection_type
|
2143
|
+
device.f_items.push(
|
2144
|
+
{
|
2145
|
+
f_defect_level: null,
|
2146
|
+
f_device_id: "",
|
2147
|
+
f_is_defect: "",
|
2148
|
+
f_item_name: "已用金额",
|
2149
|
+
f_item_value: null,
|
2150
|
+
f_path: "",
|
2151
|
+
type: "number"
|
2152
|
+
},
|
2153
|
+
{
|
2154
|
+
f_defect_level: null,
|
2155
|
+
f_device_id: "",
|
2156
|
+
f_is_defect: "",
|
2157
|
+
f_item_name: "剩余金额",
|
2158
|
+
f_item_value: null,
|
2159
|
+
f_path: "",
|
2160
|
+
type: "number"
|
2161
|
+
},
|
2162
|
+
{
|
2163
|
+
f_defect_level: null,
|
2164
|
+
f_device_id: "",
|
2165
|
+
f_is_defect: "",
|
2166
|
+
f_item_name: "金额异常差值",
|
2167
|
+
f_item_value: null,
|
2168
|
+
f_path: "",
|
2169
|
+
type: "number"
|
2170
|
+
}
|
2171
|
+
)
|
2172
|
+
//tag)
|
2173
|
+
}
|
2174
|
+
} else if (this.item.f_plan_meters[i].f_collection_type == '按金额' && this.item.f_plan_meters[0].f_meter_type == '物联网表') {
|
2175
|
+
if (!this.data.f_collection_type) {
|
2176
|
+
this.data.f_collection_type = this.item.f_plan_meters[i].f_collection_type
|
2177
|
+
device.f_items.push(
|
2178
|
+
{
|
2179
|
+
f_defect_level: null,
|
2180
|
+
f_device_id: "",
|
2181
|
+
f_is_defect: "",
|
2182
|
+
f_item_name: "已用金额",
|
2183
|
+
f_item_value: null,
|
2184
|
+
f_path: "",
|
2185
|
+
type: "number"
|
2186
|
+
},
|
2187
|
+
{
|
2188
|
+
f_defect_level: null,
|
2189
|
+
f_device_id: "",
|
2190
|
+
f_is_defect: "",
|
2191
|
+
f_item_name: "剩余金额",
|
2192
|
+
f_item_value: null,
|
2193
|
+
f_path: "",
|
2194
|
+
type: "number"
|
2195
|
+
},
|
2196
|
+
{
|
2197
|
+
f_defect_level: null,
|
2198
|
+
f_device_id: "",
|
2199
|
+
f_is_defect: "",
|
2200
|
+
f_item_name: "气量异常差值",
|
2201
|
+
f_item_value: null,
|
2202
|
+
f_path: "",
|
2203
|
+
type: "number"
|
2204
|
+
}
|
2205
|
+
)
|
2206
|
+
}
|
2207
|
+
}else if (this.item.f_plan_meters[i].f_collection_type == '按气量') {
|
2208
|
+
if (!this.data.f_collection_type) {
|
2209
|
+
this.data.f_collection_type = this.item.f_plan_meters[i].f_collection_type
|
2210
|
+
device.f_items.push(
|
2211
|
+
{
|
2212
|
+
f_defect_level: null,
|
2213
|
+
f_device_id: "",
|
2214
|
+
f_is_defect: "",
|
2215
|
+
f_item_name: "已用气量",
|
2216
|
+
f_item_value: this.item.f_plan_meters[i].f_meter_base,
|
2217
|
+
f_path: "",
|
2218
|
+
type: "number"
|
2219
|
+
},
|
2220
|
+
{
|
2221
|
+
f_defect_level: null,
|
2222
|
+
f_device_id: "",
|
2223
|
+
f_is_defect: "",
|
2224
|
+
f_item_name: "剩余气量",
|
2225
|
+
f_item_value: "",
|
2226
|
+
f_path: "",
|
2227
|
+
type: "number"
|
2228
|
+
},
|
2229
|
+
{
|
2230
|
+
f_defect_level: null,
|
2231
|
+
f_device_id: "",
|
2232
|
+
f_is_defect: "",
|
2233
|
+
f_item_name: "气量异常差值",
|
2234
|
+
f_item_value: null,
|
2235
|
+
f_path: "",
|
2236
|
+
type: "number"
|
2237
|
+
}
|
2238
|
+
)
|
2239
|
+
}
|
2011
2240
|
}
|
2012
|
-
}
|
2241
|
+
})
|
2242
|
+
} else if (this.devices[de].device == "燃气表") {
|
2243
|
+
this.data['device' + this.devices[de].n].forEach(device => {
|
2013
2244
|
if (!this.data.f_collection_type) {
|
2014
2245
|
this.data.f_collection_type = this.item.f_plan_meters[i].f_collection_type
|
2015
|
-
|
2016
|
-
|
2017
|
-
|
2018
|
-
// delete this.config['燃气表']['items']['金额异常差值']
|
2246
|
+
delete this.config['燃气表']['items']['已用金额']
|
2247
|
+
delete this.config['燃气表']['items']['剩余金额']
|
2248
|
+
delete this.config['燃气表']['items']['金额异常差值']
|
2019
2249
|
device.f_items.push(
|
2020
2250
|
{
|
2021
2251
|
f_defect_level: null,
|
@@ -2031,7 +2261,7 @@ export default {
|
|
2031
2261
|
f_device_id: "",
|
2032
2262
|
f_is_defect: "",
|
2033
2263
|
f_item_name: "剩余气量",
|
2034
|
-
f_item_value:
|
2264
|
+
f_item_value: '',
|
2035
2265
|
f_path: "",
|
2036
2266
|
type: "number"
|
2037
2267
|
},
|
@@ -2040,433 +2270,402 @@ export default {
|
|
2040
2270
|
f_device_id: "",
|
2041
2271
|
f_is_defect: "",
|
2042
2272
|
f_item_name: "气量异常差值",
|
2273
|
+
isshow: false,
|
2043
2274
|
f_item_value: null,
|
2044
2275
|
f_path: "",
|
2045
2276
|
type: "number"
|
2046
2277
|
}
|
2047
2278
|
)
|
2048
|
-
|
2279
|
+
//tag)
|
2049
2280
|
}
|
2050
|
-
}
|
2051
|
-
}
|
2052
|
-
} else if (this.devices[de].device == "燃气表") {
|
2053
|
-
console.log("没有this.item.f_plan_meters[i].f_collection_type")
|
2054
|
-
this.data['device' + this.devices[de].n].forEach(device => {
|
2055
|
-
console.log('device ===> ' + JSON.stringify(device))
|
2056
|
-
if (!this.data.f_collection_type) {
|
2057
|
-
this.data.f_collection_type = this.item.f_plan_meters[i].f_collection_type
|
2058
|
-
//delete this.config['燃气表']['items']['累购金额']
|
2059
|
-
delete this.config['燃气表']['items']['已用金额']
|
2060
|
-
delete this.config['燃气表']['items']['剩余金额']
|
2061
|
-
delete this.config['燃气表']['items']['金额异常差值']
|
2062
|
-
device.f_items.push(
|
2063
|
-
{
|
2064
|
-
f_defect_level: null,
|
2065
|
-
f_device_id: "",
|
2066
|
-
f_is_defect: "",
|
2067
|
-
f_item_name: "已用气量",
|
2068
|
-
f_item_value: this.item.f_plan_meters[i].f_meter_base,
|
2069
|
-
f_path: "",
|
2070
|
-
type: "number"
|
2071
|
-
},
|
2072
|
-
{
|
2073
|
-
f_defect_level: null,
|
2074
|
-
f_device_id: "",
|
2075
|
-
f_is_defect: "",
|
2076
|
-
f_item_name: "剩余气量",
|
2077
|
-
f_item_value: '',
|
2078
|
-
f_path: "",
|
2079
|
-
type: "number"
|
2080
|
-
},
|
2081
|
-
{
|
2082
|
-
f_defect_level: null,
|
2083
|
-
f_device_id: "",
|
2084
|
-
f_is_defect: "",
|
2085
|
-
f_item_name: "气量异常差值",
|
2086
|
-
isshow: false,
|
2087
|
-
f_item_value: null,
|
2088
|
-
f_path: "",
|
2089
|
-
type: "number"
|
2090
|
-
}
|
2091
|
-
)
|
2092
|
-
console.log('this.config[\'燃气表\'][\'items\'] ---> ' + JSON.stringify(this.config['燃气表']['items']))
|
2093
|
-
}
|
2094
|
-
})
|
2281
|
+
})
|
2282
|
+
}
|
2095
2283
|
}
|
2096
2284
|
}
|
2097
2285
|
}
|
2098
2286
|
}
|
2099
2287
|
}
|
2100
|
-
|
2101
|
-
|
2102
|
-
|
2103
|
-
|
2288
|
+
},
|
2289
|
+
watch: {
|
2290
|
+
'row'() {
|
2291
|
+
//tag
|
2292
|
+
this.copy()
|
2104
2293
|
}
|
2105
|
-
|
2106
|
-
|
2107
|
-
|
2108
|
-
|
2109
|
-
|
2110
|
-
|
2111
|
-
|
2112
|
-
|
2113
|
-
|
2114
|
-
|
2115
|
-
|
2116
|
-
|
2117
|
-
|
2118
|
-
|
2119
|
-
|
2120
|
-
|
2121
|
-
|
2122
|
-
|
2123
|
-
|
2124
|
-
|
2125
|
-
|
2126
|
-
|
2127
|
-
|
2128
|
-
if (this.role == 'inspect') {
|
2129
|
-
console.log('this.item.f_no_checkplan', this.item.f_no_checkplan)
|
2130
|
-
if (this.item.f_no_checkplan == '无计划安检') {
|
2131
|
-
value = this.$androidUtil.path({
|
2132
|
-
alias: 'getUserinfomation',
|
2133
|
-
data: {condition: "f_check_item_id = '" + this.item.id + "' and f_no_checkplan = '无计划安检'"}
|
2134
|
-
})
|
2294
|
+
},
|
2295
|
+
async ready() {
|
2296
|
+
//送气超期功能
|
2297
|
+
//await this.isoverDate()
|
2298
|
+
this.putDevices()
|
2299
|
+
//如果已检,则提取安检单
|
2300
|
+
if (this.item.f_state != '未检') {
|
2301
|
+
if (this.role == 'inspect' || this.role == 'androidview') {
|
2302
|
+
HostApp.__callback__ = this.loaded
|
2303
|
+
HostApp.__this__ = this
|
2304
|
+
let that = this
|
2305
|
+
let value = {}
|
2306
|
+
//tag
|
2307
|
+
if (this.role == 'inspect') {
|
2308
|
+
//tag
|
2309
|
+
if (this.item.f_no_checkplan == '无计划安检') {
|
2310
|
+
value = this.$androidUtil.path({
|
2311
|
+
alias: 'getUserinfomation',
|
2312
|
+
data: {condition: "f_check_item_id = '" + this.item.id + "' and f_no_checkplan = '无计划安检'"}
|
2313
|
+
})
|
2314
|
+
} else {
|
2315
|
+
value = this.$androidUtil.bzLogic('FetchCheckPaper', {id: this.item.id})
|
2316
|
+
}
|
2135
2317
|
} else {
|
2136
|
-
value = this.$androidUtil.
|
2137
|
-
}
|
2138
|
-
} else {
|
2139
|
-
value = await this.$resetpost(`${this.$androidUtil.getProxyUrl()}/rs/path/getUserinfomation`, {data: {condition: `id = '${this.item.f_paper_id}'`}})
|
2140
|
-
}
|
2141
|
-
Util.replaceFalse(value)
|
2142
|
-
console.log("value:" + JSON.stringify(value))
|
2143
|
-
if (value.data.length != 0) {
|
2144
|
-
that.$set('data', value.data[0])
|
2145
|
-
console.log("this.data.f_collection_type:" + JSON.stringify(this.data.f_collection_type))
|
2146
|
-
if (this.data.f_collection_type == '按气量') {
|
2147
|
-
// delete this.config['燃气表']['items']['累购金额']
|
2148
|
-
// delete this.config['燃气表']['items']['已用金额']
|
2149
|
-
// delete this.config['燃气表']['items']['剩余金额']
|
2150
|
-
// delete this.config['燃气表']['items']['金额异常差值']
|
2151
|
-
} else if (this.data.f_collection_type == '按金额') {
|
2152
|
-
// delete this.config['燃气表']['items']['累购气量']
|
2153
|
-
// delete this.config['燃气表']['items']['已用气量']
|
2154
|
-
// delete this.config['燃气表']['items']['剩余气量']
|
2155
|
-
// delete this.config['燃气表']['items']['气量异常差值']
|
2318
|
+
value = await this.$resetpost(`${this.$androidUtil.getProxyUrl()}/rs/path/getUserinfomation`, {data: {condition: `id = '${this.item.f_paper_id}'`}})
|
2156
2319
|
}
|
2157
|
-
|
2158
|
-
|
2159
|
-
|
2160
|
-
|
2161
|
-
|
2162
|
-
|
2163
|
-
|
2164
|
-
|
2165
|
-
|
2166
|
-
|
2167
|
-
|
2168
|
-
|
2169
|
-
|
2170
|
-
|
2171
|
-
|
2320
|
+
Util.replaceFalse(value)
|
2321
|
+
//tag)
|
2322
|
+
if (value.data.length != 0) {
|
2323
|
+
that.$set('data', value.data[0])
|
2324
|
+
//tag)
|
2325
|
+
// if (this.data.f_collection_type == '按气量') {
|
2326
|
+
// delete this.config['燃气表']['items']['累购金额']
|
2327
|
+
// delete this.config['燃气表']['items']['已用金额']
|
2328
|
+
// delete this.config['燃气表']['items']['剩余金额']
|
2329
|
+
// delete this.config['燃气表']['items']['金额异常差值']
|
2330
|
+
// } else if (this.data.f_collection_type == '按金额') {
|
2331
|
+
// delete this.config['燃气表']['items']['累购气量']
|
2332
|
+
// delete this.config['燃气表']['items']['已用气量']
|
2333
|
+
// delete this.config['燃气表']['items']['剩余气量']
|
2334
|
+
// delete this.config['燃气表']['items']['气量异常差值']
|
2335
|
+
// }
|
2336
|
+
//tag)
|
2337
|
+
if (value.data[0].f_devices) {
|
2338
|
+
for (let da in that.devices) {
|
2339
|
+
if(typeof that.devices[da]=='function'){
|
2340
|
+
continue
|
2341
|
+
}
|
2342
|
+
that.$set('data.device' + that.devices[da].n, [])
|
2343
|
+
}
|
2344
|
+
value.data[0].f_devices.forEach((item) => {
|
2345
|
+
//tag)
|
2346
|
+
for (let i in item.f_items) {
|
2347
|
+
if(typeof item.f_items[i]=='function'){
|
2348
|
+
continue
|
2349
|
+
}
|
2350
|
+
// if (item.f_items[i].f_path != '' && item.f_items[i].f_path != null) {
|
2351
|
+
// this.picture.push({f_path: item.f_items[i].f_path, name: item.f_items[i].f_item_name})
|
2352
|
+
// }
|
2353
|
+
for (let de in that.config[item.f_device_type].items) {
|
2354
|
+
if(typeof that.config[item.f_device_type].items[de]=='function'){
|
2355
|
+
continue
|
2356
|
+
}
|
2357
|
+
if (item.f_items[i].f_item_name == de) {
|
2358
|
+
if (that.config[item.f_device_type].items[de].type == 'selector' || that.config[item.f_device_type].items[de].type == 'checkbox') {
|
2359
|
+
item.f_items[i].f_item_value = []
|
2360
|
+
} else {
|
2361
|
+
item.f_items[i].f_item_value = ''
|
2362
|
+
}
|
2363
|
+
}
|
2364
|
+
}
|
2365
|
+
//tag)
|
2366
|
+
for (let j in item.f_items[i].f_item_lists) {
|
2367
|
+
if(typeof item.f_items[i].f_item_lists[j]=='function'){
|
2368
|
+
continue
|
2369
|
+
}
|
2370
|
+
//tag)
|
2371
|
+
if (item.f_items[i].f_item_value instanceof Array) {
|
2372
|
+
item.f_items[i].f_item_value.push(item.f_items[i].f_item_lists[j].f_item_value)
|
2172
2373
|
} else {
|
2173
|
-
item.f_items[i].f_item_value =
|
2374
|
+
item.f_items[i].f_item_value = item.f_items[i].f_item_lists[j].f_item_value
|
2174
2375
|
}
|
2376
|
+
|
2175
2377
|
}
|
2176
2378
|
}
|
2177
|
-
|
2178
|
-
|
2179
|
-
|
2180
|
-
|
2181
|
-
|
2182
|
-
|
2183
|
-
|
2379
|
+
for (let de in that.devices) {
|
2380
|
+
if(typeof that.devices[de]=='function'){
|
2381
|
+
continue
|
2382
|
+
}
|
2383
|
+
if (that.devices[de].device == item.f_device_type) {
|
2384
|
+
that.data['device' + that.devices[de].n].push({
|
2385
|
+
f_device_type: item.f_device_type,
|
2386
|
+
f_items: item.f_items
|
2387
|
+
})
|
2388
|
+
//tag)
|
2184
2389
|
}
|
2185
|
-
|
2186
|
-
}
|
2187
|
-
}
|
2188
|
-
for (let de in that.devices) {
|
2189
|
-
if (that.devices[de].device == item.f_device_type) {
|
2190
|
-
that.data['device' + that.devices[de].n].push({
|
2191
|
-
f_device_type: item.f_device_type,
|
2192
|
-
f_items: item.f_items
|
2193
|
-
})
|
2194
|
-
console.log("device:" + JSON.stringify(that.data['device' + that.devices[de].n]))
|
2195
2390
|
}
|
2391
|
+
})
|
2392
|
+
if (this.role == 'androidview') {
|
2393
|
+
Util.androidRatifyPics(that.data, this.$androidUtil.getProxyUrl())
|
2394
|
+
Util.androidRatifyPics(that.picture, this.$androidUtil.getProxyUrl())
|
2395
|
+
Util.booleanFilter(that.data)
|
2196
2396
|
}
|
2197
|
-
|
2198
|
-
if (this.role == 'androidview') {
|
2199
|
-
Util.androidRatifyPics(that.data, this.$androidUtil.getProxyUrl())
|
2200
|
-
Util.androidRatifyPics(that.picture, this.$androidUtil.getProxyUrl())
|
2201
|
-
Util.booleanFilter(that.data)
|
2397
|
+
//tag)
|
2202
2398
|
}
|
2203
|
-
|
2399
|
+
} else {
|
2400
|
+
//tag
|
2401
|
+
this.init()
|
2402
|
+
}
|
2403
|
+
//tag
|
2404
|
+
var pardate = {
|
2405
|
+
_this: this,
|
2406
|
+
tittle: '安检详情',
|
2407
|
+
safe: true
|
2408
|
+
}
|
2409
|
+
// this.$dispatch('gotoson',pardate)getImgPath
|
2410
|
+
this.$goto('safecheck-userinfo', {userinfo: this.data}, 'repair')
|
2411
|
+
if (this.recording && this.recording == 'ready') {
|
2412
|
+
//tag
|
2413
|
+
// let isRecodr = this.$appdata.getSingleValue('无限制录音'); //单值参数,为true则是开启全程录音
|
2414
|
+
// if (isRecodr) {
|
2415
|
+
// if (isRecodr == 'true') {
|
2416
|
+
this.$showMessage("为了保证服务质量,您的电话将会被全程录音!")
|
2417
|
+
// 初始化录音
|
2418
|
+
this.record()
|
2419
|
+
// }
|
2420
|
+
// }
|
2204
2421
|
}
|
2205
2422
|
} else {
|
2206
|
-
|
2207
|
-
|
2208
|
-
|
2209
|
-
|
2210
|
-
console.log("开始录音--------------------------")
|
2211
|
-
let isRecodr = this.$appdata.getSingleValue('无限制录音'); //单值参数,为true则是开启全程录音
|
2212
|
-
if (isRecodr) {
|
2213
|
-
if (isRecodr == 'true') {
|
2214
|
-
this.$showMessage("为了保证服务质量,您的电话将会被全程录音!")
|
2215
|
-
// 初始化录音
|
2216
|
-
let resse = this.record()
|
2217
|
-
}
|
2423
|
+
let that = this
|
2424
|
+
let id
|
2425
|
+
if (this.role == 'view') {
|
2426
|
+
id = this.item.id
|
2218
2427
|
}
|
2428
|
+
this.$resetpost(`${this.$androidUtil.getProxyUrl()}/rs/path/getUserinfomation`, {data: {condition: `id = '${id}'`}}).then((respanse) => {
|
2429
|
+
if (respanse.data.length != 0) {
|
2430
|
+
that.data = Object.assign(that.data, respanse.data[0])
|
2431
|
+
if (respanse.data[0].f_devices) {
|
2432
|
+
for (let da in that.devices) {
|
2433
|
+
that.$set('data.device' + that.devices[da].n, [])
|
2434
|
+
}
|
2435
|
+
respanse.data[0].f_devices.forEach((item) => {
|
2436
|
+
for (let de in that.devices) {
|
2437
|
+
if (that.devices[de].device == item.f_device_type) {
|
2438
|
+
that.data['device' + that.devices[de].n].push({
|
2439
|
+
f_device_type: item.f_device_type,
|
2440
|
+
f_items: item.f_items
|
2441
|
+
})
|
2442
|
+
}
|
2443
|
+
}
|
2444
|
+
})
|
2445
|
+
}
|
2446
|
+
Util.replaceFalse(that.data)
|
2447
|
+
Util.booleanFilter(that.data)
|
2448
|
+
if (this.role == 'view') {
|
2449
|
+
Util.ratifyPics(that.data)
|
2450
|
+
} else {
|
2451
|
+
Util.androidRatifyPics(that.data, this.$androidUtil.getProxyUrl())
|
2452
|
+
}
|
2453
|
+
//tag
|
2454
|
+
} else {
|
2455
|
+
alert("该安检单可能已不在本地!")
|
2456
|
+
this.init()
|
2457
|
+
}
|
2458
|
+
var pardate = {
|
2459
|
+
_this: this,
|
2460
|
+
tittle: '安检详情',
|
2461
|
+
safe: true
|
2462
|
+
}
|
2463
|
+
// this.$dispatch('gotoson',pardate)
|
2464
|
+
this.$goto('safecheck-userinfo', {userinfo: this.data}, 'paper-router')
|
2465
|
+
}
|
2466
|
+
).catch(
|
2467
|
+
(respanse) => {
|
2468
|
+
alert('查找安检单失败')
|
2469
|
+
})
|
2219
2470
|
}
|
2220
|
-
|
2471
|
+
} else {
|
2472
|
+
this.init()
|
2221
2473
|
var pardate = {
|
2222
2474
|
_this: this,
|
2223
2475
|
tittle: '安检详情',
|
2224
2476
|
safe: true
|
2225
2477
|
}
|
2226
|
-
// this.$dispatch('gotoson',pardate)getImgPath
|
2227
2478
|
this.$goto('safecheck-userinfo', {userinfo: this.data}, 'repair')
|
2228
|
-
|
2229
|
-
|
2230
|
-
|
2231
|
-
if (this.role == 'view') {
|
2232
|
-
id = this.item.id
|
2479
|
+
if (this.recording && this.recording == 'ready') {
|
2480
|
+
this.$showMessage("为了保证服务质量,您的电话将会被全程录音!")
|
2481
|
+
this.record()
|
2233
2482
|
}
|
2234
|
-
this.$resetpost(`${this.$androidUtil.getProxyUrl()}/rs/path/getUserinfomation`, {data: {condition: `id = '${id}'`}}).then((respanse) => {
|
2235
|
-
if (respanse.data.length != 0) {
|
2236
|
-
that.data = Object.assign(that.data, respanse.data[0])
|
2237
|
-
if (respanse.data[0].f_devices) {
|
2238
|
-
for (let da in that.devices) {
|
2239
|
-
that.$set('data.device' + that.devices[da].n, [])
|
2240
|
-
}
|
2241
|
-
respanse.data[0].f_devices.forEach((item) => {
|
2242
|
-
for (let de in that.devices) {
|
2243
|
-
if (that.devices[de].device == item.f_device_type) {
|
2244
|
-
that.data['device' + that.devices[de].n].push({
|
2245
|
-
f_device_type: item.f_device_type,
|
2246
|
-
f_items: item.f_items
|
2247
|
-
})
|
2248
|
-
}
|
2249
|
-
}
|
2250
|
-
})
|
2251
|
-
}
|
2252
|
-
Util.replaceFalse(that.data)
|
2253
|
-
Util.booleanFilter(that.data)
|
2254
|
-
if (this.role == 'view') {
|
2255
|
-
Util.ratifyPics(that.data)
|
2256
|
-
} else {
|
2257
|
-
Util.androidRatifyPics(that.data, this.$androidUtil.getProxyUrl())
|
2258
|
-
}
|
2259
|
-
console.log("that.data:", that.data)
|
2260
|
-
} else {
|
2261
|
-
alert("该安检单可能已不在本地!")
|
2262
|
-
this.init()
|
2263
|
-
}
|
2264
|
-
var pardate = {
|
2265
|
-
_this: this,
|
2266
|
-
tittle: '安检详情',
|
2267
|
-
safe: true
|
2268
|
-
}
|
2269
|
-
// this.$dispatch('gotoson',pardate)
|
2270
|
-
this.$goto('safecheck-userinfo', {userinfo: this.data}, 'paper-router')
|
2271
|
-
}
|
2272
|
-
).catch(
|
2273
|
-
(respanse) => {
|
2274
|
-
alert('查找安检单失败')
|
2275
|
-
})
|
2276
2483
|
}
|
2277
|
-
|
2278
|
-
|
2279
|
-
|
2280
|
-
let isRecodr = this.$appdata.getSingleValue('无限制录音'); //单值参数,为true则是开启全程录音
|
2281
|
-
if (isRecodr) {
|
2282
|
-
if (isRecodr == 'true') {
|
2283
|
-
this.$showMessage("为了保证服务质量,您的电话将会被全程录音!")
|
2284
|
-
// 初始化录音
|
2285
|
-
let resse = this.record()
|
2286
|
-
}
|
2484
|
+
if(this.item.f_plan_meters.length > 0){
|
2485
|
+
if( this.item.f_plan_meters[0].f_ins_stop_date){
|
2486
|
+
this.$set('data.f_ins_stop_date', this.item.f_plan_meters[0].f_ins_stop_date)
|
2287
2487
|
}
|
2488
|
+
|
2489
|
+
}
|
2490
|
+
// tbs合并数组
|
2491
|
+
// if( this.model.serviceacitivity[0].servicerepair.length > 0){
|
2492
|
+
// for(let i = 0;i < this.model.serviceacitivity[0].servicerepair.length;i++ ){
|
2493
|
+
//
|
2494
|
+
// }
|
2495
|
+
// }
|
2496
|
+
},
|
2497
|
+
components: {
|
2498
|
+
// 'door-service': DoorService,
|
2499
|
+
// 'repair-info': RepairInfo,
|
2500
|
+
// 'repair-user-info': RepairUserInfo,
|
2501
|
+
// 'outlay': Outlay,
|
2502
|
+
// 'fault-all': FaultAll,
|
2503
|
+
// 'repair-details':RepairDetails
|
2504
|
+
// 'pipeline': Pipeline,
|
2505
|
+
// 'device-service': DeviceService,
|
2506
|
+
// 'trouble-removal': TroubleRemoval,
|
2507
|
+
// 'cooking-utensils': CookingUtensils,
|
2508
|
+
// 'repair-matter-info': RepairMatterInfo,
|
2509
|
+
// 'first-gas-check': FirstGasCheck,
|
2510
|
+
// 'tel-change-matter': TelChangeMatter/
|
2511
|
+
},
|
2512
|
+
events: {
|
2513
|
+
'tijiao': function () {
|
2514
|
+
// 事件回调内的 `this` 自动绑定到注册它的实例上
|
2515
|
+
this.confirm()
|
2288
2516
|
}
|
2289
|
-
this.init()
|
2290
|
-
}
|
2291
|
-
// tbs合并数组
|
2292
|
-
// if( this.model.serviceacitivity[0].servicerepair.length > 0){
|
2293
|
-
// for(let i = 0;i < this.model.serviceacitivity[0].servicerepair.length;i++ ){
|
2294
|
-
//
|
2295
|
-
// }
|
2296
|
-
// }
|
2297
|
-
},
|
2298
|
-
components: {
|
2299
|
-
// 'door-service': DoorService,
|
2300
|
-
// 'repair-info': RepairInfo,
|
2301
|
-
// 'repair-user-info': RepairUserInfo,
|
2302
|
-
// 'outlay': Outlay,
|
2303
|
-
// 'fault-all': FaultAll,
|
2304
|
-
// 'repair-details':RepairDetails
|
2305
|
-
// 'pipeline': Pipeline,
|
2306
|
-
// 'device-service': DeviceService,
|
2307
|
-
// 'trouble-removal': TroubleRemoval,
|
2308
|
-
// 'cooking-utensils': CookingUtensils,
|
2309
|
-
// 'repair-matter-info': RepairMatterInfo,
|
2310
|
-
// 'first-gas-check': FirstGasCheck,
|
2311
|
-
// 'tel-change-matter': TelChangeMatter/
|
2312
|
-
},
|
2313
|
-
events: {
|
2314
|
-
'tijiao': function () {
|
2315
|
-
// 事件回调内的 `this` 自动绑定到注册它的实例上
|
2316
|
-
this.confirm()
|
2317
2517
|
}
|
2318
2518
|
}
|
2319
|
-
}
|
2320
2519
|
</script>
|
2321
2520
|
<style lang="less">
|
2322
|
-
@import "../../../bootstrap/less/variables.less";
|
2521
|
+
@import "../../../bootstrap/less/variables.less";
|
2323
2522
|
|
2324
|
-
.noclickbut {
|
2325
|
-
|
2326
|
-
}
|
2523
|
+
.noclickbut {
|
2524
|
+
pointer-events: none;
|
2525
|
+
}
|
2327
2526
|
|
2328
|
-
.tab-befor-img (@url) {
|
2329
|
-
|
2330
|
-
|
2331
|
-
|
2332
|
-
|
2333
|
-
|
2334
|
-
|
2335
|
-
|
2336
|
-
|
2337
|
-
|
2338
|
-
}
|
2527
|
+
.tab-befor-img (@url) {
|
2528
|
+
content: '';
|
2529
|
+
background-image: url("@{url}");
|
2530
|
+
background-size: 20px;
|
2531
|
+
display: inline-block;
|
2532
|
+
margin-right: 8px;
|
2533
|
+
margin-top: 0.3em;
|
2534
|
+
height: 1.3em;
|
2535
|
+
width: 1.3em;
|
2536
|
+
vertical-align: -35%;
|
2537
|
+
}
|
2339
2538
|
|
2340
|
-
@media screen and (min-width: 768px) {
|
2341
|
-
|
2342
|
-
|
2343
|
-
|
2539
|
+
@media screen and (min-width: 768px) {
|
2540
|
+
.android-repair-order > div > ul a {
|
2541
|
+
font-size: @font-size-h2;
|
2542
|
+
margin: 0.3em 0;
|
2543
|
+
}
|
2344
2544
|
}
|
2345
|
-
}
|
2346
2545
|
|
2347
|
-
.repair-details-class {
|
2348
|
-
|
2349
|
-
|
2546
|
+
.repair-details-class {
|
2547
|
+
&::before {
|
2548
|
+
.tab-befor-img("../../../assets/huneiweixiu1.png");
|
2549
|
+
}
|
2350
2550
|
}
|
2351
|
-
}
|
2352
2551
|
|
2353
|
-
.repair-info-class {
|
2354
|
-
|
2355
|
-
|
2552
|
+
.repair-info-class {
|
2553
|
+
&::before {
|
2554
|
+
.tab-befor-img("../../../assets/baoxiuxinxi1.png");
|
2555
|
+
}
|
2356
2556
|
}
|
2357
|
-
}
|
2358
2557
|
|
2359
|
-
.repair-user-info-class {
|
2360
|
-
|
2361
|
-
|
2558
|
+
.repair-user-info-class {
|
2559
|
+
&::before {
|
2560
|
+
.tab-befor-img("../../../assets/jibenxinxi1.png")
|
2561
|
+
}
|
2362
2562
|
}
|
2363
|
-
}
|
2364
2563
|
|
2365
|
-
.door-service-class {
|
2366
|
-
|
2367
|
-
|
2564
|
+
.door-service-class {
|
2565
|
+
&::before {
|
2566
|
+
.tab-befor-img("../../../assets/huneiweixiu1.png")
|
2567
|
+
}
|
2368
2568
|
}
|
2369
|
-
}
|
2370
2569
|
|
2371
|
-
.pipeline-class {
|
2372
|
-
|
2373
|
-
|
2570
|
+
.pipeline-class {
|
2571
|
+
&::before {
|
2572
|
+
.tab-befor-img("../../../assets/guandao1.png")
|
2573
|
+
}
|
2374
2574
|
}
|
2375
|
-
}
|
2376
2575
|
|
2377
|
-
.device-service-class {
|
2378
|
-
|
2379
|
-
|
2576
|
+
.device-service-class {
|
2577
|
+
&::before {
|
2578
|
+
.tab-befor-img("../../../assets/shebeiweixiu1.png")
|
2579
|
+
}
|
2380
2580
|
}
|
2381
|
-
}
|
2382
2581
|
|
2383
|
-
.trouble-removal-class {
|
2384
|
-
|
2385
|
-
|
2582
|
+
.trouble-removal-class {
|
2583
|
+
&::before {
|
2584
|
+
.tab-befor-img("../../../assets/shiguchuli.png")
|
2585
|
+
}
|
2386
2586
|
}
|
2387
|
-
}
|
2388
2587
|
|
2389
|
-
.cooking-utensils-class {
|
2390
|
-
|
2391
|
-
|
2588
|
+
.cooking-utensils-class {
|
2589
|
+
&::before {
|
2590
|
+
.tab-befor-img("../../../assets/zaoju1.png")
|
2591
|
+
}
|
2392
2592
|
}
|
2393
|
-
}
|
2394
2593
|
|
2395
|
-
.outlay-class {
|
2396
|
-
|
2397
|
-
|
2594
|
+
.outlay-class {
|
2595
|
+
&::before {
|
2596
|
+
.tab-befor-img("../../../assets/feiyong1.png")
|
2597
|
+
}
|
2398
2598
|
}
|
2399
|
-
}
|
2400
2599
|
|
2401
|
-
.fault-all-class {
|
2402
|
-
|
2403
|
-
|
2600
|
+
.fault-all-class {
|
2601
|
+
&::before {
|
2602
|
+
.tab-befor-img("../../../assets/guzhanghuizong1.png")
|
2603
|
+
}
|
2404
2604
|
}
|
2405
|
-
}
|
2406
2605
|
|
2407
|
-
.photo-write-class {
|
2408
|
-
|
2409
|
-
|
2606
|
+
.photo-write-class {
|
2607
|
+
&::before {
|
2608
|
+
.tab-befor-img("../../../assets/zaoju.png")
|
2609
|
+
}
|
2410
2610
|
}
|
2411
|
-
}
|
2412
2611
|
|
2413
|
-
.delay-apply-class {
|
2414
|
-
|
2415
|
-
|
2612
|
+
.delay-apply-class {
|
2613
|
+
&::before {
|
2614
|
+
.tab-befor-img("../../../assets/yonghubaoxiu.png")
|
2615
|
+
}
|
2416
2616
|
}
|
2417
|
-
}
|
2418
2617
|
|
2419
|
-
.repair-back-class {
|
2420
|
-
|
2421
|
-
|
2618
|
+
.repair-back-class {
|
2619
|
+
&::before {
|
2620
|
+
.tab-befor-img("../../../assets/fanhui.png")
|
2621
|
+
}
|
2422
2622
|
}
|
2423
|
-
}
|
2424
2623
|
|
2425
|
-
.butt2 {
|
2426
|
-
|
2427
|
-
|
2428
|
-
|
2429
|
-
|
2430
|
-
|
2431
|
-
|
2432
|
-
|
2624
|
+
.butt2 {
|
2625
|
+
display: inline;
|
2626
|
+
float: right;
|
2627
|
+
width: 10px;
|
2628
|
+
text-align: center;
|
2629
|
+
align-items: center;
|
2630
|
+
position: absolute;
|
2631
|
+
top: 50%;
|
2433
2632
|
|
2434
|
-
|
2435
|
-
|
2436
|
-
}
|
2633
|
+
left: 90%;
|
2634
|
+
transform: translate(-50%, -50%);
|
2635
|
+
}
|
2437
2636
|
|
2438
|
-
.linesty {
|
2439
|
-
|
2440
|
-
|
2441
|
-
|
2442
|
-
|
2443
|
-
|
2444
|
-
|
2445
|
-
}
|
2637
|
+
.linesty {
|
2638
|
+
display: inline-block;
|
2639
|
+
height: 1px;
|
2640
|
+
width: 100%;
|
2641
|
+
background: #d0d0d0;
|
2642
|
+
overflow: hidden;
|
2643
|
+
vertical-align: middle;
|
2644
|
+
}
|
2446
2645
|
|
2447
|
-
.spanboder {
|
2448
|
-
|
2449
|
-
|
2450
|
-
}
|
2646
|
+
.spanboder {
|
2647
|
+
border-bottom: 2px solid #499edf;
|
2648
|
+
padding-bottom: 8px
|
2649
|
+
}
|
2451
2650
|
|
2452
|
-
.app-botton {
|
2453
|
-
|
2454
|
-
|
2455
|
-
|
2456
|
-
|
2457
|
-
|
2458
|
-
|
2459
|
-
|
2460
|
-
|
2461
|
-
|
2462
|
-
|
2463
|
-
|
2464
|
-
|
2465
|
-
}
|
2651
|
+
.app-botton {
|
2652
|
+
position: fixed;
|
2653
|
+
background: #87b2dd;
|
2654
|
+
right: 8px;
|
2655
|
+
color: #FFF;
|
2656
|
+
padding: 8px;
|
2657
|
+
text-align: center;
|
2658
|
+
font-size: 1.2em;
|
2659
|
+
z-index: 10;
|
2660
|
+
opacity: 0.5;
|
2661
|
+
bottom: 50px;
|
2662
|
+
margin-top: -10px;
|
2663
|
+
height: 40px;
|
2664
|
+
}
|
2466
2665
|
|
2467
|
-
.android-repair-order > div > ul a {
|
2468
|
-
|
2469
|
-
|
2470
|
-
|
2471
|
-
}
|
2666
|
+
.android-repair-order > div > ul a {
|
2667
|
+
font-size: 12px;
|
2668
|
+
color: #333333;
|
2669
|
+
padding: 13px 16px;
|
2670
|
+
}
|
2472
2671
|
</style>
|