safecheck-client 3.1.1-gaomi-7 → 4.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/dev-server.js +70 -41
- package/build/example-server.js +4 -4
- package/build/webpack.base.conf.js +3 -1
- package/docs/FormPrint.md +1 -1
- package/docs/GridTree.md +4 -4
- package/docs/PrintFile.md +2 -2
- package/docs/tree.md +2 -2
- package/examples/ChangeConfig/comp.js +1 -1
- package/examples/PhoneSafePlan/comp.js +1 -1
- package/examples/SafePlan/App.vue +28 -58
- package/examples/SafePlan/comp.js +135 -334
- package/examples/SafePlan/index.html +0 -1
- package/examples/SafePlan-aode/App.vue +68 -17
- package/examples/SafePlan-aode/comp.js +496 -87
- package/examples/SafePlan-aode/index.html +1 -0
- package/examples/SafePlan-aode-ts/App.vue +90 -0
- package/examples/{SafePlan-liaoyuan → SafePlan-aode-ts}/comp.js +633 -501
- package/examples/{SafePlan-shaoguan → SafePlan-aode-ts}/index.html +2 -2
- package/examples/SafePlan-aodezx/App.vue +89 -0
- package/examples/SafePlan-aodezx/comp.js +1538 -0
- package/examples/{SafePlanrongcheng → SafePlan-aodezx}/index.html +2 -2
- package/examples/SafePlan-aodezx-ts/App.vue +89 -0
- package/examples/SafePlan-aodezx-ts/comp.js +1532 -0
- package/examples/{SafePlan-liaoyuan → SafePlan-aodezx-ts}/index.html +2 -2
- package/examples/SafePlanItem/comp.js +2 -2
- package/examples/UserFiles/comp.js +4 -4
- package/package.json +9 -11
- package/src/AndroidApp.vue +10 -8
- package/src/App.vue +10 -3
- package/src/android.js +8 -2
- package/src/assets/Excelformat.png +0 -0
- package/src/assets/addnew.png +0 -0
- package/src/assets/addpic.png +0 -0
- package/src/assets/banner.jpg +0 -0
- package/src/assets/baochi.png +0 -0
- package/src/assets/baoxiuxinxi.png +0 -0
- package/src/assets/bg_mobile_foot.png +0 -0
- package/src/assets/bg_mobile_head.png +0 -0
- package/src/assets/caozuo.png +0 -0
- package/src/assets/chongxinpaifa.png +0 -0
- package/src/assets/cqzm.png +0 -0
- package/src/assets/cqzm1.png +0 -0
- package/src/assets/daibangongdan.png +0 -0
- package/src/assets/dancheng.png +0 -0
- package/src/assets/doc.jpg +0 -0
- package/src/assets/doubledown.png +0 -0
- package/src/assets/edit.png +0 -0
- package/src/assets/excel.jpg +0 -0
- package/src/assets/feiyong.png +0 -0
- package/src/assets/gongdantixing.png +0 -0
- package/src/assets/guaduan.png +0 -0
- package/src/assets/guanbishengyin.png +0 -0
- package/src/assets/guandao.png +0 -0
- package/src/assets/guzhanghuizong.png +0 -0
- package/src/assets/heart.png +0 -0
- package/src/assets/horse.mp3 +0 -0
- package/src/assets/huchu.png +0 -0
- package/src/assets/huifang.png +0 -0
- package/src/assets/huiyi.png +0 -0
- package/src/assets/huneiweixiu.png +0 -0
- package/src/assets/jianting.png +0 -0
- package/src/assets/jinbenxinxi.png +0 -0
- package/src/assets/jingyin.png +0 -0
- package/src/assets/juxing.png +0 -0
- package/src/assets/kaixiaochai.jpg +0 -0
- package/src/assets/lingsheng.mp3 +0 -0
- package/src/assets/list.png +0 -0
- package/src/assets/logo.png +0 -0
- package/src/assets/luyi.png +0 -0
- package/src/assets/movie.ogg +0 -0
- package/src/assets/mp3.png +0 -0
- package/src/assets/nopic.png +0 -0
- package/src/assets/novoice.png +0 -0
- package/src/assets/pdf.jpg +0 -0
- package/src/assets/person.png +0 -0
- package/src/assets/play.png +0 -0
- package/src/assets/psicon.png +0 -0
- package/src/assets/qrcode_no.png +0 -0
- package/src/assets/qrcode_no1.png +0 -0
- package/src/assets/quxiaobaochi.png +0 -0
- package/src/assets/quxiaojingyin.png +0 -0
- package/src/assets/scanCode.png +0 -0
- package/src/assets/search.png +0 -0
- package/src/assets/searchhover.png +0 -0
- package/src/assets/serachactive.png +0 -0
- package/src/assets/shangchuan.png +0 -0
- package/src/assets/shebeiweixiu.png +0 -0
- package/src/assets/shengyin1.png +0 -0
- package/src/assets/shengyin2.png +0 -0
- package/src/assets/shengyin3.png +0 -0
- package/src/assets/shipin1.mp4 +0 -0
- package/src/assets/shipinst1.jpg +0 -0
- package/src/assets/success.png +0 -0
- package/src/assets/telphonesend.png +0 -0
- package/src/assets/titleicon01.png +0 -0
- package/src/assets/usericon.png +0 -0
- package/src/assets/video.png +0 -0
- package/src/assets/waibo.png +0 -0
- package/src/assets/x.png +0 -0
- package/src/assets/xiangcheng.png +0 -0
- package/src/assets/xiaoxitixing.png +0 -0
- package/src/assets/xihua.png +0 -0
- package/src/assets/yinpin.mp3 +0 -0
- package/src/assets/zhimang.png +0 -0
- package/src/assets/zhixian.png +0 -0
- package/src/assets/zhoukou.png +0 -0
- package/src/assets/zhuan.png +0 -0
- package/src/assets/zhuanjie.png +0 -0
- package/src/assets/zhuanyi.png +0 -0
- package/src/assets//344/270/212/344/274/240.png +0 -0
- package/src/assets//344/270/213/347/256/255/345/244/264.png +0 -0
- package/src/assets//344/270/252/344/272/272/344/272/214/347/273/264/347/240/201.png +0 -0
- package/src/assets//344/273/273/345/212/241-hover.png +0 -0
- package/src/assets//344/273/273/345/212/241.png +0 -0
- package/src/assets//344/273/273/345/212/241/344/270/212/344/274/240-hover.png +0 -0
- package/src/assets//344/273/273/345/212/241/344/270/212/344/274/240.png +0 -0
- package/src/assets//344/277/235/345/255/230.png +0 -0
- package/src/assets//344/277/235/351/231/251/346/234/215/345/212/241.png +0 -0
- package/src/assets//345/205/266/344/273/226/345/212/237/350/203/275-hover.png +0 -0
- package/src/assets//345/205/266/344/273/226/345/212/237/350/203/275.png +0 -0
- package/src/assets//345/205/266/344/273/226/346/224/266/350/264/271.png +0 -0
- package/src/assets//345/205/266/344/273/226/346/224/266/350/264/2711.png +0 -0
- package/src/assets//345/215/225/345/205/203.png +0 -0
- package/src/assets//345/215/225/351/200/211/350/242/253/351/200/211@3x.png +0 -0
- package/src/assets//345/215/225/351/200/211/351/273/230/350/256/244@3x.png +0 -0
- package/src/assets//345/215/241/345/217/267 (1).png +0 -0
- package/src/assets//345/215/241/345/217/267.png +0 -0
- package/src/assets//345/216/206/345/217/262/346/237/245/350/257/242-hover.png +0 -0
- package/src/assets//345/216/206/345/217/262/346/237/245/350/257/242.png +0 -0
- package/src/assets//345/216/213/345/212/233.png +0 -0
- package/src/assets//345/217/226/346/266/210.png +0 -0
- package/src/assets//345/217/263/351/224/256/345/244/264.png +0 -0
- package/src/assets//345/220/216/351/200/200.png +0 -0
- package/src/assets//345/222/250/350/257/242/345/215/225.png +0 -0
- package/src/assets//345/224/256/346/260/2241.png +0 -0
- package/src/assets//345/233/236/346/224/266/347/253/231.png +0 -0
- package/src/assets//345/234/206/350/247/222/347/237/251/345/275/242-7.png +0 -0
- package/src/assets//345/244/251/347/204/266/346/260/224.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/245/345/215/225/344/270/212/344/274/240.png +0 -0
- package/src/assets//345/267/245/345/215/225/347/273/237/350/256/241.png +0 -0
- package/src/assets//345/267/256/345/200/274.png +0 -0
- package/src/assets//345/267/262/345/212/236/345/267/245/345/215/225.png +0 -0
- package/src/assets//345/267/262/345/217/226/346/266/210/345/267/245/345/215/225.png +0 -0
- package/src/assets//345/267/262/345/256/214/346/210/220/345/267/245/345/215/225.png +0 -0
- package/src/assets//345/267/262/345/256/214/347/273/223/345/267/245/345/215/225.png +0 -0
- package/src/assets//345/267/262/351/200/276/346/234/237/345/267/245/345/215/225.png +0 -0
- package/src/assets//345/274/200/345/247/213/346/227/266/351/227/264.png +0 -0
- package/src/assets//345/275/242/347/212/266-2.png +0 -0
- package/src/assets//345/275/242/347/212/266-4.png +0 -0
- package/src/assets//345/275/242/347/212/266-6.png +0 -0
- package/src/assets//345/276/205/345/212/236/345/267/245/345/215/225.png +0 -0
- package/src/assets//346/210/221-hover.png +0 -0
- package/src/assets//346/210/221.png +0 -0
- package/src/assets//346/211/213/346/234/272/346/212/204/350/241/250/347/263/273/347/273/237.png +0 -0
- package/src/assets//346/211/253/344/270/200/346/211/253.png +0 -0
- package/src/assets//346/211/253/347/240/2012.png +0 -0
- package/src/assets//346/212/204/350/241/250/344/273/273/345/212/241-hover.png +0 -0
- package/src/assets//346/212/204/350/241/250/344/273/273/345/212/241.png +0 -0
- package/src/assets//346/212/225/350/257/211/345/215/225.png +0 -0
- package/src/assets//346/213/215/347/205/247/347/255/276/345/220/215.png +0 -0
- package/src/assets//346/215/242/350/241/250.png +0 -0
- package/src/assets//346/215/242/350/241/2501.png +0 -0
- package/src/assets//346/224/266/350/264/271.png +0 -0
- package/src/assets//346/225/260/346/215/256.png +0 -0
- package/src/assets//346/237/245/350/257/242.png +0 -0
- package/src/assets//346/240/207/351/242/230.png +0 -0
- package/src/assets//346/243/200/346/237/245/345/215/225.png +0 -0
- package/src/assets//346/245/274/345/261/202.png +0 -0
- package/src/assets//346/266/210/346/201/257-hover.png +0 -0
- package/src/assets//346/266/210/346/201/257.png +0 -0
- package/src/assets//346/270/251/345/272/246.png +0 -0
- package/src/assets//347/205/247/347/211/207.png +0 -0
- package/src/assets//347/207/203/346/260/224/345/231/250/345/205/267/344/277/241/346/201/257.png +0 -0
- package/src/assets//347/207/203/346/260/224/350/241/250.png +0 -0
- package/src/assets//347/224/250/346/210/267ID.png +0 -0
- package/src/assets//347/224/250/346/210/267/345/247/223/345/220/215-/350/223/235/350/211/262.png +0 -0
- package/src/assets//347/224/250/346/210/267/345/247/223/345/220/215.png +0 -0
- package/src/assets//347/224/250/346/210/267/346/237/245/350/257/242-hover.png +0 -0
- package/src/assets//347/224/250/346/210/267/346/237/245/350/257/242.png +0 -0
- package/src/assets//347/224/250/346/210/267/347/261/273/345/236/213.png +0 -0
- package/src/assets//347/224/250/346/210/267/347/274/226/345/217/267.png +0 -0
- package/src/assets//347/236/254/346/227/266.png +0 -0
- package/src/assets//347/264/257/350/256/241.png +0 -0
- package/src/assets//347/264/257/350/256/241/345/215/225/346/225/260.png +0 -0
- package/src/assets//347/273/2045.png +0 -0
- package/src/assets//347/273/223/346/235/237/346/227/266/351/227/264.png +0 -0
- package/src/assets//347/273/264/344/277/256/345/215/225.png +0 -0
- package/src/assets//347/274/226/350/276/221.png +0 -0
- package/src/assets//347/274/264/350/264/271/350/257/246/346/203/205.png +0 -0
- package/src/assets//350/241/245/345/215/241 1.png +0 -0
- package/src/assets//350/241/245/345/215/241.png +0 -0
- package/src/assets//350/241/245/345/215/2411.png +0 -0
- package/src/assets//350/241/250/345/217/267.png +0 -0
- package/src/assets//350/241/250/345/220/215.png +0 -0
- package/src/assets//350/241/250/347/261/273/345/236/213.png +0 -0
- package/src/assets//350/241/250/347/261/273/345/236/213icon.png +0 -0
- package/src/assets//350/256/242/345/215/225/347/212/266/346/200/201.png +0 -0
- package/src/assets//350/256/276/347/275/256-hover.png +0 -0
- package/src/assets//350/256/276/347/275/256.png +0 -0
- package/src/assets//350/257/273/345/215/241.png +0 -0
- package/src/assets//350/257/273/345/215/2411.png +0 -0
- package/src/assets//350/264/255/346/260/224/347/274/264/350/264/271.png +0 -0
- package/src/assets//350/277/233/350/241/214/344/270/255/345/267/245/345/215/225.png +0 -0
- package/src/assets//351/200/232/350/256/257/345/275/225-hover.png +0 -0
- package/src/assets//351/200/232/350/256/257/345/275/225.png +0 -0
- package/src/assets//351/227/250/347/211/214.png +0 -0
- package/src/assets//351/231/204/345/261/236/350/256/276/345/244/207/344/277/241/346/201/257.png +0 -0
- package/src/bootstrap/fonts/PINGFANG LIGHT.TTF +0 -0
- package/src/bootstrap/fonts/PingFangSC-Regular.ttf +0 -0
- package/src/bootstrap/fonts/pingfang-bold.ttf +0 -0
- package/src/bootstrap/fonts/pingfang-medium.ttf +0 -0
- package/src/bootstrap/fonts/pingfang-regular.ttf +0 -0
- package/src/bootstrap/fonts/trendstrends.ttf +0 -0
- package/src/bootstrap/less/bootstrap.less +3 -2
- package/src/bootstrap/less/fonts-list.less +25 -0
- package/src/bootstrap/less/glyphicons.less +2 -2
- package/src/bootstrap/less/stand.less +2 -2
- package/src/bootstrap/less/variables.less +2 -2
- package/src/components/Test.vue +45 -89
- package/src/components/Util/ImageViewer.vue +369 -0
- package/src/components/Util/ImgSelfSafe.vue +744 -81
- package/src/components/Util.js +86 -0
- package/src/components/android/AddGas.vue +2 -2
- package/src/components/android/AddPlanItem.vue +105 -224
- package/src/components/android/AdviseCommit.vue +1 -1
- package/src/components/android/AndroidCheckResult.vue +1 -1
- package/src/components/android/Announcement.vue +43 -42
- package/src/components/android/AreaPlan.vue +20 -34
- package/src/components/android/CheckMeterAlreadyReading.vue +475 -0
- package/src/components/android/CheckMeterReading.vue +657 -0
- package/src/components/android/CheckMeterReadingNoncivil.vue +1097 -0
- package/src/components/android/CheckNotice.vue +1 -1
- package/src/components/android/CheckPlan.vue +2 -2
- package/src/components/android/CheckPlanDown.vue +83 -34
- package/src/components/android/CheckPlanItems.vue +2 -2
- package/src/components/android/CheckerMonthly.vue +1 -1
- package/src/components/android/CurrentCreate.vue +1194 -985
- package/src/{filiale/wuan/android/CurrentCreate.vue → components/android/DailyworkloadQuery.vue} +172 -380
- package/src/components/android/Devices.vue +1 -2
- package/src/components/android/DevicesItemm.vue +28 -13
- package/src/components/android/Devicesm.vue +29 -8
- package/src/components/android/DoorService.vue +3 -3
- package/src/components/android/ExtractCheckPlan.vue +1 -1
- package/src/components/android/ExtractPlanItem.vue +61 -99
- package/src/components/android/InsureManagement.vue +258 -0
- package/src/components/android/LcheckUnplan.vue +1 -1
- package/src/components/android/Login.vue +1 -1
- package/src/components/android/PaperFeedback.vue +470 -566
- package/src/components/android/PaperFeedbackm.vue +5 -16
- package/src/components/android/PaperMessage.vue +62 -60
- package/src/components/android/PaperMessageNocivil.vue +79 -61
- package/src/components/android/PaperMeter.vue +1 -1
- package/src/components/android/PaperMeterNoncivil.vue +1 -1
- package/src/components/android/PaperSet.vue +5 -5
- package/src/components/android/PaperSetNoncivil.vue +4 -4
- package/src/components/android/PaperUser.vue +1 -1
- package/src/components/android/PaperUserNoncivil.vue +1 -1
- package/src/components/android/PhoneChangemeterInfo.vue +1 -1
- package/src/components/android/PhoneSellInfo.vue +1 -1
- package/src/components/android/PhoneState.vue +2 -2
- package/src/components/android/PhoneUserFind.vue +1 -1
- package/src/components/android/PlanChooserAndroid.vue +133 -0
- package/src/components/android/PrearrangedPlan.vue +1 -1
- package/src/components/android/QueryCheckHandplanAlreadyList.vue +408 -0
- package/src/components/android/QueryCheckHandplanList.vue +426 -0
- package/src/components/android/RepairList.vue +4 -4
- package/src/components/android/RepairQuery.vue +1 -1
- package/src/components/android/ResAreaList.vue +1 -1
- package/src/components/android/SafecheckDevices.vue +386 -80
- package/src/components/android/SafecheckOrderV.vue +1530 -412
- package/src/components/android/SafecheckState.vue +1 -1
- package/src/components/android/SafecheckUser.vue +1 -1
- package/src/components/android/SelectTask.vue +244 -0
- package/src/components/android/SystemSetting.vue +1 -1
- package/src/components/android/TableAnomalyRecords.vue +122 -0
- package/src/components/android/UploadImgList.vue +249 -0
- package/src/components/android/UploadPage.vue +44 -12
- package/src/components/android/changePlanId.vue +504 -0
- package/src/components/android/checkPlanResult.vue +2 -2
- package/src/components/android/old/PaperFeedback.vue +4 -4
- package/src/components/android/userinfo/PhoneUpUserinfo.vue +1120 -0
- package/src/components/android/userinfo/SafecheckUserInfo.vue +244 -239
- package/src/components/android/wasm/comp.js +1 -1
- package/src/components/attendance/DailyAttendance.vue +1 -1
- package/src/components/attendance/MonthlyAttendance.vue +4 -4
- package/src/components/callincheck/CallInCheckMain.vue +1 -1
- package/src/components/callincheck/CallInPlan.vue +1 -1
- package/src/components/callincheck/UserFileList.vue +1 -1
- package/src/components/checkerphonestate/Checker.vue +1 -1
- package/src/components/checkerphonestate/CheckerState.vue +1 -1
- package/src/components/checkplan/CheckDetail.vue +4 -21
- package/src/components/checkplan/CheckPlan.vue +12 -13
- package/src/components/checkplan/SelectCheckPlan.vue +200 -182
- package/src/components/checkplan/SelectMessage.vue +1 -1
- package/src/components/checkplan/checkmsg.vue +163 -354
- package/src/components/cockpit/Splash.vue +1 -1
- package/src/components/cockpit/SplashDetail.vue +1 -1
- package/src/components/createcheckplan/CreatePlan.vue +11 -11
- package/src/components/createcheckplan/DelPlanRepeat.vue +5 -5
- package/src/components/createcheckplan/PlanList.vue +6 -6
- package/src/components/createcheckplan/PlanUersList.vue +4 -4
- package/src/components/defect/DefectDetail.vue +3 -3
- package/src/components/defect/DefectList.vue +92 -39
- package/src/components/defect/DefectMain.vue +10 -20
- package/src/components/defect/DefectPaper.vue +499 -403
- package/src/components/defect/ImgButton.vue +7 -3
- package/src/components/defects/AddDefectModal.vue +2 -2
- package/src/components/defects/AddDevice.vue +1 -1
- package/src/components/defects/CheckPaperItem.vue +4 -4
- package/src/components/defects/CheckPaperItems.vue +1 -1
- package/src/components/defects/CheckPaperSearch.vue +3 -74
- package/src/components/defects/DefectSeting.vue +2 -2
- package/src/components/defects/DefectsQuery.vue +1 -1
- package/src/components/defects/DevicesSeting.vue +1 -1
- package/src/components/discrepancy/differenceMain.vue +47 -0
- package/src/components/discrepancy/differencePaper.vue +554 -0
- package/src/components/equipment/BoilerUsage.vue +1 -1
- package/src/components/equipment/CheckRate.vue +7 -7
- package/src/components/equipment/CheckerRate.vue +6 -6
- package/src/components/equipment/CookerUsage.vue +1 -1
- package/src/components/equipment/DeviceUsage.vue +1 -1
- package/src/components/equipment/FurnaceUsage.vue +1 -1
- package/src/components/equipment/GasMeterUsage.vue +1 -1
- package/src/components/equipment/HeaterUsage.vue +1 -1
- package/src/components/equipment/MonthCheckRate.vue +6 -6
- package/src/components/gasusage/GasUsage.vue +1 -1
- package/src/components/issueplan/IssuePlanAction.vue +2 -2
- package/src/components/issueplan/IssuePlanQuery.vue +1 -1
- package/src/components/levelplan/AdjustPlan.vue +3 -3
- package/src/components/levelplan/CheckerLeft.vue +2 -2
- package/src/components/levelplan/CheckerPlanAdjust.vue +94 -42
- package/src/components/levelplan/CheckerRight.vue +2 -2
- package/src/components/map/FootPrintList.vue +2 -2
- package/src/components/map/PersonTrack.vue +224 -0
- package/src/components/map/douglasPeuckerForAMap.js +88 -0
- package/src/components/metterfiles/AddUserfiles.vue +1 -1
- package/src/components/metterfiles/MetterFiles.vue +3 -3
- package/src/components/metterfiles/MetterfilesChange.vue +1 -1
- package/src/components/metterfiles/UserFiles.vue +2 -2
- package/src/components/metterfiles/Userfileschange.vue +3 -3
- package/src/components/newfile/NewfileList.vue +114 -0
- package/src/components/newfile/NewfileList1.vue +84 -0
- package/src/components/newfile/NewfileList2.vue +112 -0
- package/src/components/newfile/NewfileList3.vue +111 -0
- package/src/components/newfile/NewfileList4.vue +118 -0
- package/src/components/newfile/NewfileList5.vue +89 -0
- package/src/components/newfile/NewfileMain.vue +89 -0
- package/src/components/newfile/NewfilePaper.vue +160 -0
- package/src/components/newuser/MonthlyMeterReadingStatistics.vue +742 -0
- package/src/components/newuser/SearchCompanyCompletion.vue +212 -0
- package/src/components/newuser/SearchCompanyComprehensiveCompletionPJ.vue +251 -0
- package/src/components/newuser/SearchCompanyComprehensiveCompletionZX.vue +233 -0
- package/src/components/newuser/SearchComprehensivePlanSummary.vue +233 -0
- package/src/components/newuser/SearchGas.vue +576 -0
- package/src/components/newuser/SearchGasWlw.vue +291 -0
- package/src/components/newuser/SearchLargeAreaCompletion.vue +338 -0
- package/src/components/newuser/UserCheckState.vue +60 -0
- package/src/components/newuser/WorkCount.vue +58 -0
- package/src/components/newuser/common/TabButton.vue +152 -0
- package/src/components/newuser/common/Tabs.vue +67 -0
- package/src/components/niandu/CheckPaperListND.vue +129 -0
- package/src/components/{rongcheng/CheckPaperSearchUserNo.vue → niandu/CheckPaperSearchUserND.vue} +14 -6
- package/src/components/niandu/CheckSearchUserND.vue +739 -0
- package/src/components/notice/NoticeQuery.vue +1 -1
- package/src/components/outsideSafecheck/android/androidCheckPlanDown/CheckPlanDownTS.vue +253 -0
- package/src/components/{rongcheng/AspiratedAreaPlan.vue → outsideSafecheck/android/safecheckAlreadyDoneWork/AreaPlanTS.vue} +50 -44
- package/src/components/outsideSafecheck/android/safecheckUpload/UploadPageTS.vue +317 -0
- package/src/components/outsideSafecheck/android/safecheckWaitWork/CurrentCreateTS.vue +1166 -0
- package/src/components/{rongcheng/AspPaperFeedback.vue → outsideSafecheck/android/safecheckWaitWork/PaperFeedbackTS.vue} +233 -125
- package/src/components/{rongcheng/SafecheckDevices.vue → outsideSafecheck/android/safecheckWaitWork/SafecheckDevicesTS.vue} +368 -177
- package/src/{filiale/wenxi/android/SafecheckOrderV.vue → components/outsideSafecheck/android/safecheckWaitWork/SafecheckOrderVTS.vue} +814 -268
- package/src/components/{rongcheng/SafecheckUserInfo.vue → outsideSafecheck/android/safecheckWaitWork/SafecheckUserInfoTS.vue} +126 -65
- package/src/components/outsideSafecheck/pc/HiddenDangerView/DefectDetailTS.vue +177 -0
- package/src/components/{shaoguan/DefectList.vue → outsideSafecheck/pc/HiddenDangerView/DefectListTS.vue} +146 -94
- package/src/components/outsideSafecheck/pc/HiddenDangerView/DefectMainTS.vue +53 -0
- package/src/components/outsideSafecheck/pc/HiddenDangerView/DefectPaperTS.vue +607 -0
- package/src/components/outsideSafecheck/pc/HiddenDangerView/PlanChooserTS.vue +137 -0
- package/src/components/outsideSafecheck/pc/aggregateQuery/CheckPlanAreaListTS.vue +404 -0
- package/src/components/{CheckerCount/CheckCountAreaManage.vue → outsideSafecheck/pc/aggregateQuery/CheckPlanAreaManageTS.vue} +3 -6
- package/src/components/{shaoguan/CheckPlanUserList.vue → outsideSafecheck/pc/aggregateQuery/CheckPlanUserListTS.vue} +44 -16
- package/src/components/outsideSafecheck/pc/planadjustment/CheckerPlanAdjustTS.vue +354 -0
- package/src/components/outsideSafecheck/pc/planadjustment/SafecheckVisitInfoTS.vue +219 -0
- package/src/components/outsideSafecheck/pc/report/HiddenSituationTS.vue +135 -0
- package/src/components/outsideSafecheck/pc/report/SearchCompanyCompletionTS.vue +212 -0
- package/src/components/outsideSafecheck/pc/report/SearchCompanyComprehensiveCompletionPJTS.vue +251 -0
- package/src/components/outsideSafecheck/pc/report/SearchCompanyComprehensiveCompletionZXTS.vue +233 -0
- package/src/components/outsideSafecheck/pc/report/SearchComprehensivePlanSummaryTS.vue +223 -0
- package/src/components/outsideSafecheck/pc/report/SearchGasTS.vue +575 -0
- package/src/components/outsideSafecheck/pc/report/SearchLargeAreaCompletionTS.vue +338 -0
- package/src/components/outsideSafecheck/pc/safecheckAssess/CheckDetailTS.vue +74 -0
- package/src/components/outsideSafecheck/pc/safecheckAssess/CheckPlanTS.vue +58 -0
- package/src/components/outsideSafecheck/pc/safecheckAssess/SelectCheckPlanTS.vue +242 -0
- package/src/components/outsideSafecheck/pc/safecheckResultView/NewCheckpaperTS.vue +1256 -0
- package/src/components/outsideSafecheck/pc/safecheckResultView/PaperListTS.vue +553 -0
- package/src/components/outsideSafecheck/pc/userSafecheckSituation/CheckPaperListTS.vue +129 -0
- package/src/components/outsideSafecheck/pc/userSafecheckSituation/CheckPaperSearchUserTS.vue +63 -0
- package/src/components/outsideSafecheck/pc/userSafecheckSituation/CheckSearchUserTS.vue +805 -0
- package/src/components/paper/PaperList.vue +468 -504
- package/src/components/paper/PaperVerify.vue +1 -1
- package/src/components/paper/PlanChooser.vue +13 -7
- package/src/components/paper/RepairVerify.vue +1 -1
- package/src/components/paper/RepairVerifyForm.vue +1 -1
- package/src/components/paper/VerifyForm.vue +3 -3
- package/src/components/pc/AnnouncementPC.vue +51 -22
- package/src/components/pc/CheckHandPlanAllList.vue +1246 -0
- package/src/components/pc/CheckHandPlanAreaItemInfo.vue +177 -0
- package/src/components/pc/CheckHandPlanAreaList.vue +296 -0
- package/src/components/pc/CheckHandPlanAreaMain.vue +57 -0
- package/src/components/pc/DeviceChange.vue +140 -122
- package/src/components/pc/NewCheckpaper.vue +704 -569
- package/src/components/pc/PlanListStatistics.vue +321 -0
- package/src/components/pc/SafeFinInfo.vue +30 -0
- package/src/components/pc/SafeTreatment/SafeTreatmentList.vue +150 -0
- package/src/components/pc/SafeTreatment/SafeTreatmentMain.vue +53 -0
- package/src/components/pc/SafeTreatment/SafeTreatmentPaper.vue +136 -0
- package/src/components/pc/SafecheckResponseTimeList.vue +396 -0
- package/src/components/pc/SafecheckVisitHistory.vue +142 -0
- package/src/components/pc/SafecheckVisitInfo.vue +299 -0
- package/src/components/pc/SearchOverdueNoSafeCheck.vue +280 -0
- package/src/components/phonestate/DailyTraffic.vue +1 -1
- package/src/components/phonestate/FootprintMap.vue +1 -1
- package/src/components/phonestate/LastKnownState.vue +1 -1
- package/src/components/plan/RetailMain.vue +44 -0
- package/src/components/plan/Retailitem.vue +99 -0
- package/src/components/plan/Retailplan.vue +150 -0
- package/src/components/planmanage/PlanManage.vue +861 -0
- package/src/components/{Util → planmanage}/RightTreeSafe.vue +6 -1
- package/src/components/planmanage/checkPlanList.vue +397 -0
- package/src/components/planmanage/checkUserList.vue +773 -0
- package/src/components/planmanage/zxplan/PlanManageZX.vue +21 -0
- package/src/components/planmanagets/PlanManage.vue +862 -0
- package/src/components/planmanagets/checkPlanList.vue +397 -0
- package/src/components/planmanagets/checkUserList.vue +772 -0
- package/src/components/planmanagets/zxplan/PlanManageZX.vue +21 -0
- package/src/components/querycheckpaper/CheckPaperList.vue +6 -19
- package/src/components/querycheckpaper/CheckPaperSearchUser.vue +10 -2
- package/src/components/querycheckpaper/CheckSearchUser.vue +374 -90
- package/src/components/querycheckpaper/PaperItems.vue +1 -1
- package/src/components/report/CheckPlanAreaList.vue +282 -252
- package/src/components/report/CheckPlanAreaManage.vue +0 -2
- package/src/components/report/CheckPlanUserList.vue +58 -43
- package/src/components/report/HiddenSituation.vue +49 -19
- package/src/components/report/MeterReadingRate.vue +131 -0
- package/src/components/report/ReportSql1.vue +345 -0
- package/src/components/report/SafePlanSale.vue +1 -1
- package/src/components/report/SafePlanStatistics.vue +1 -1
- package/src/components/rongcheng/AddPlanItem.vue +4 -13
- package/src/components/rongcheng/AspiratedCurrentCreate.vue +21 -72
- package/src/components/rongcheng/CheckCurrentCreate.vue +133 -201
- package/src/components/rongcheng/CheckSearchUser.vue +45 -302
- package/src/components/rongcheng/CheckSearchUserNo.vue +53 -240
- package/src/components/rongcheng/PaperListAJ.vue +25 -65
- package/src/components/rongcheng/PaperListNPAJ.vue +18 -56
- package/src/components/rongcheng/PaperListNPSQ.vue +17 -43
- package/src/components/rongcheng/PaperListSQ.vue +16 -42
- package/src/components/rongcheng/SafecheckOrderV.vue +108 -217
- package/src/components/rongcheng/UploadPage.vue +13 -17
- package/src/components/{rongcheng/AspiratedPaperFeedbackm.vue → shaoguan/PaperFeedbackm.vue} +15 -23
- package/src/components/task/RepairAnnual.vue +1 -1
- package/src/components/task/RepairAnnualDetail.vue +1 -1
- package/src/components/task/RepairMonthly.vue +1 -1
- package/src/components/task/TaskAnnual.vue +1 -1
- package/src/components/task/TaskAnnualDetail.vue +1 -1
- package/src/components/task/TaskMonthly.vue +1 -1
- package/src/components/tongcheng/AreaPlan.vue +2 -2
- package/src/components/tongcheng/CurrentCreate.vue +2 -2
- package/src/components/tongcheng/PaperFeedback.vue +4 -4
- package/src/components/tongcheng/PaperSet.vue +5 -5
- package/src/components/tongcheng/PaperUser.vue +1 -1
- package/src/components/userfile/InfoModifyModal.vue +3 -3
- package/src/components/userfile/UserFile.vue +2 -2
- package/src/components/userfile/UserInfoAudit.vue +5 -5
- package/src/components/userfile/UserfileChange.vue +2 -2
- package/src/components/userfileaudit/UserFileaudit.vue +1 -1
- package/src/components/userfileaudit/UserfileChangeaudit.vue +2 -2
- package/src/components/userplan/UserplanList.vue +166 -0
- package/src/components/userplan/UserplanMain.vue +71 -0
- package/src/components/userplan/UserplanPaper.vue +182 -0
- package/src/components/zhuanxiang/CheckPaperListZX.vue +129 -0
- package/src/components/{rongcheng/CheckPaperSearchUser.vue → zhuanxiang/CheckPaperSearchUserZX.vue} +14 -6
- package/src/components/zhuanxiang/CheckSearchUserZX.vue +739 -0
- package/src/expandcssAndroid.less +1 -1
- package/src/index.js +6 -0
- package/src/main.js +4 -3
- package/src/plugins/LocalPagedList.js +1 -2
- package/src/safecheck-android.js +39 -24
- package/src/safecheck.js +411 -149
- package/static/ManageHomePic//346/244/255/345/234/2064.png +0 -0
- package/static/ManagementControl/echarts10.png +0 -0
- package/static/ManagementControl/echarts11.png +0 -0
- package/static/ManagementControl/echarts12.png +0 -0
- package/static/ManagementControl/echarts13.png +0 -0
- package/static/ManagementControl/echarts14.png +0 -0
- package/static/ManagementControl/echarts15.png +0 -0
- package/static/ManagementControl/echarts16.png +0 -0
- package/static/ManagementControl/echarts17.png +0 -0
- package/static/ManagementControl/echarts18.png +0 -0
- package/static/ManagementControl/echarts4.png +0 -0
- package/static/ManagementControl/echarts5.png +0 -0
- package/static/ManagementControl/echarts51.png +0 -0
- package/static/ManagementControl/echarts6.png +0 -0
- package/static/ManagementControl/echarts7.png +0 -0
- package/static/ManagementControl/echarts71.png +0 -0
- package/static/ManagementControl/echarts8.png +0 -0
- package/static/ManagementControl//345/233/276/345/261/20211/346/213/267/350/264/235.png +0 -0
- package/static/ManagementControl//347/237/251/345/275/2425/346/213/267/350/264/2353.png +0 -0
- package/static/ManagementControl//347/237/251/345/275/2425/346/213/267/350/264/2355.png +0 -0
- package/static/ManagementControl//347/237/251/345/275/2425/346/213/267/350/264/2356.png +0 -0
- package/static/batchleft.png +0 -0
- package/static/batchright.png +0 -0
- package/static/bluemainbg.jpg +0 -0
- package/static/huangtengbiaozhi.png +0 -0
- package/static/jcwx.jpg +0 -0
- package/static/lefticon//345/215/241/346/234/215/345/212/241/347/256/241/347/220/206.png +0 -0
- package/static/lefticon//345/221/274/345/217/253/347/263/273/347/273/237.png +0 -0
- package/static/lefticon//345/224/256/346/260/224/346/224/266/350/264/271.png +0 -0
- package/static/lefticon//345/233/276/345/261/2023/346/213/267/350/264/2354.png +0 -0
- package/static/lefticon//345/233/276/345/261/202577.png +0 -0
- package/static/lefticon//345/233/276/345/261/2028/346/213/267/350/264/23513.png +0 -0
- package/static/lefticon//345/256/211/346/243/200/346/237/245/347/234/213.png +0 -0
- package/static/lefticon//345/256/211/346/243/200/350/256/241/345/210/222.png +0 -0
- package/static/lefticon//345/276/256/344/277/241/346/234/215/345/212/241.png +0 -0
- package/static/lefticon//346/212/245/345/273/272/347/263/273/347/273/237.png +0 -0
- package/static/lefticon//346/212/245/350/241/250/346/237/245/350/257/242.png +0 -0
- package/static/lefticon//346/227/245/345/270/270/347/256/241/347/220/206.png +0 -0
- package/static/lefticon//346/234/272/350/241/250/347/256/241/347/220/206.png +0 -0
- package/static/lefticon//346/237/245/350/257/242/345/210/227/350/241/250.png +0 -0
- package/static/lefticon//346/241/243/346/241/210/347/256/241/347/220/206.png +0 -0
- package/static/lefticon//347/211/251/350/201/224/347/275/221/350/241/250.png +0 -0
- package/static/lefticon//347/237/251/345/275/2421183.png +0 -0
- package/static/lefticon//347/263/273/347/273/237/347/256/241/347/220/206.png +0 -0
- package/static/lefticon//347/263/273/347/273/237/350/256/276/347/275/256.png +0 -0
- package/static/lefticon//347/273/217/350/220/245/347/256/241/346/216/247.png +0 -0
- package/static/lefticon//347/273/274/345/220/210/344/270/232/345/212/241.png +0 -0
- package/static/lefticon//347/273/274/345/220/210/346/237/245/350/257/242.png +0 -0
- package/static/lefticon//350/217/234/345/215/225/344/274/270/347/274/251.png +0 -0
- package/static/lefticon//351/200/200/345/207/272/347/263/273/347/273/237.png +0 -0
- package/static/login_bg.jpg +0 -0
- package/static/login_title.png +0 -0
- package/static/login_title1.png +0 -0
- package/static/loginbg.jpg +0 -0
- package/static/loginbg1.jpg +0 -0
- package/static/loginbg_jincheng.jpg +0 -0
- package/static/loginbgmain.jpg +0 -0
- package/static/loginlogo.png +0 -0
- package/static/main_logo.png +0 -0
- package/static/mainbg.jpg +0 -0
- package/static/mainicon/adddevice.png +0 -0
- package/static/mainicon/addmeter.png +0 -0
- package/static/mainicon/bank.png +0 -0
- package/static/mainicon/biaopan.png +0 -0
- package/static/mainicon/cad.jpg +0 -0
- package/static/mainicon/chaobiaoyuan.png +0 -0
- package/static/mainicon/danganguanli.png +0 -0
- package/static/mainicon/deletedevice.png +0 -0
- package/static/mainicon/excel.jpg +0 -0
- package/static/mainicon/huizong.png +0 -0
- package/static/mainicon/jibiaoguanli.png +0 -0
- package/static/mainicon/jibiaoguanli2.png +0 -0
- package/static/mainicon/jiezhang.png +0 -0
- package/static/mainicon/loginbg.jpg +0 -0
- package/static/mainicon/shouqishoufei.png +0 -0
- package/static/mainicon/treeopen.png +0 -0
- package/static/mainicon/treeout.png +0 -0
- package/static/mainicon/treeset.png +0 -0
- package/static/mainicon/word.jpg +0 -0
- package/static/mainicon/wulianwang.png +0 -0
- package/static/mainicon/yingyechaxun.png +0 -0
- package/static/mainicon/zongheyewu.png +0 -0
- package/static/menulogo.png +0 -0
- package/static/newStyle/fife.png +0 -0
- package/static/newStyle/hidden.png +0 -0
- package/static/newStyle/label-clear.png +0 -0
- package/static/newStyle/left-img.png +0 -0
- package/static/newStyle/login-f.png +0 -0
- package/static/newStyle/loginbg.gif +0 -0
- package/static/newStyle/loginbg1366.gif +0 -0
- package/static/newStyle/loginbg_1.gif +0 -0
- package/static/newStyle/searchin.png +0 -0
- package/static/newStyle/searchout.png +0 -0
- package/static/newStyle/setting.png +0 -0
- package/static/newStyle/setting1.png +0 -0
- package/static/newStyle/shirk.png +0 -0
- package/static/newStyle/system-off.png +0 -0
- package/static/newStyle//350/261/252/344/275/263/347/207/203/346/260/224.png +0 -0
- package/static/newStyle.7z +0 -0
- package/static/newStyle.zip +0 -0
- package/static/newmainbg.jpg +0 -0
- package/static/psicon.png +0 -0
- package/static/refresh.png +0 -0
- package/static/singleleft.png +0 -0
- package/static/singleright.png +0 -0
- package/static/static.zip +0 -0
- package/static/treeclose.png +0 -0
- package/static/treeopen.png +0 -0
- package/static/treeout.png +0 -0
- package/static/treeset.png +0 -0
- package/static/usericon.png +0 -0
- package/static/xinxi.png +0 -0
- package/examples/SafePlan-liaoyuan/App.vue +0 -53
- package/examples/SafePlan-shaoguan/App.vue +0 -52
- package/examples/SafePlan-shaoguan/comp.js +0 -1190
- package/examples/SafePlanrongcheng/App.vue +0 -52
- package/examples/SafePlanrongcheng/comp.js +0 -1041
- package/src/assets/JsonEditor/jsoneditor.css +0 -930
- package/src/assets/JsonEditor/jsoneditor.js +0 -36377
- package/src/assets/bj.jpg +0 -0
- package/src/assets/jt.jpg +0 -0
- package/src/assets/marrio.jpg +0 -0
- package/src/assets/ss.jpg +0 -0
- package/src/assets/xl.jpg +0 -0
- package/src/assets//346/230/237/347/220/203/350/203/214/346/231/257.jpg +0 -0
- package/src/assets//351/232/220/346/202/243/345/210/206/346/236/220.png +0 -0
- package/src/components/CheckerCount/CheckCountAreaList.vue +0 -298
- package/src/components/CheckerCount/CheckCountUserList.vue +0 -144
- package/src/components/ExportExcel.vue +0 -201
- package/src/components/android/SwitchValve.vue +0 -189
- package/src/components/checkAreaClassification.vue +0 -285
- package/src/components/checkplan/checkmsgZG.vue +0 -519
- package/src/components/filialCircle/AddCircleFiliale.vue +0 -114
- package/src/components/filialCircle/CircleList.vue +0 -139
- package/src/components/filialCircle/CircleManage.vue +0 -69
- package/src/components/json-editor/SafeJsonEditor.vue +0 -212
- package/src/components/json-editor/assets/img/jsoneditor-icons.svg +0 -893
- package/src/components/json-editor/assets/jsoneditor-minimalist.js +0 -9751
- package/src/components/json-editor/assets/jsoneditor.css +0 -930
- package/src/components/json-editor/assets/jsoneditor.js +0 -36377
- package/src/components/json-editor/example/App.vue +0 -53
- package/src/components/json-editor/example/index.html +0 -9
- package/src/components/json-editor/example/main.js +0 -10
- package/src/components/json-editor/package.json +0 -71
- package/src/components/json-editor/vue-json-editor.vue +0 -189
- package/src/components/pc/HiddenChart.vue +0 -189
- package/src/components/pc/RoleSelector.vue +0 -89
- package/src/components/plan/PlanLeft.vue +0 -320
- package/src/components/plan/PlanManage.vue +0 -50
- package/src/components/plan/PlanRightUp.vue +0 -185
- package/src/components/plan/PlanRightdown.vue +0 -239
- package/src/components/plan/testss.vue +0 -116
- package/src/components/plancheck/CheckPlanAreaManage.vue +0 -116
- package/src/components/plancheck/CheckPlanList.vue +0 -282
- package/src/components/report/ManageBusSummary.vue +0 -242
- package/src/components/rongcheng/AreaPlan.vue +0 -463
- package/src/components/rongcheng/AspPaperStatem.vue +0 -339
- package/src/components/rongcheng/AspiratedDevices.vue +0 -965
- package/src/components/rongcheng/AspiratedOrderV.vue +0 -2361
- package/src/components/rongcheng/AspiratedPaperMessage.vue +0 -1378
- package/src/components/rongcheng/AspiratedPaperMessageNocivil.vue +0 -1288
- package/src/components/rongcheng/AspiratedUserInfo.vue +0 -399
- package/src/components/rongcheng/DefectList.vue +0 -560
- package/src/components/rongcheng/DefectPaper.vue +0 -582
- package/src/components/rongcheng/PaperFeedback.vue +0 -1318
- package/src/components/rongcheng/PaperMessage.vue +0 -1186
- package/src/components/rongcheng/PaperMessageNocivil.vue +0 -1211
- package/src/components/rongcheng/PaperStateNoncivilm.vue +0 -366
- package/src/components/rongcheng/PaperStatem.vue +0 -343
- package/src/components/rongcheng/PhoneDevicesInfo.vue +0 -233
- package/src/components/rongcheng/SafecheckOrderVCli.vue +0 -2538
- package/src/components/rongcheng/checkerplan/SelectCheckPlan.vue +0 -245
- package/src/components/rongcheng/report/CheckPlanAreaList.vue +0 -419
- package/src/components/rongcheng/report/CheckPlanUserList.vue +0 -190
- package/src/components/shaoguan/DefectDetail.vue +0 -177
- package/src/components/shaoguan/DefectMain.vue +0 -53
- package/src/components/shaoguan/DefectPaper.vue +0 -217
- package/src/components/shaoguan/PaperList.vue +0 -532
- package/src/components/shaoguan/SafecheckOrderV.vue +0 -2140
- package/src/components/tongcheng/PaperMessage.vue +0 -1270
- package/src/components/tongcheng/PaperMessageNocivil.vue +0 -1228
- package/src/filiale/Util.js +0 -325
- package/src/filiale/liaoyuan/android/SafecheckDevices.vue +0 -928
- package/src/filiale/liaoyuan/android/SafecheckOrderV.vue +0 -2383
- package/src/filiale/liaoyuan/android.js +0 -13
- package/src/filiale/liaoyuan/pc/NewCheckpaper.vue +0 -1020
- package/src/filiale/liaoyuan/pc/PaperList.vue +0 -628
- package/src/filiale/liaoyuan/pc.js +0 -13
- package/src/filiale/wenxi/android.js +0 -9
- package/src/filiale/wenxi/pc/PaperList.vue +0 -627
- package/src/filiale/wenxi/pc/checkmsg.vue +0 -229
- package/src/filiale/wenxi/pc.js +0 -12
- package/src/filiale/wuan/android/SafecheckOrderV.vue +0 -2235
- package/src/filiale/wuan/android.js +0 -14
- package/src/filiale/wuan/pc/PaperList.vue +0 -625
- package/src/filiale/wuan/pc.js +0 -12
- package/src/rongcheng-android.js +0 -186
- package/src/rongcheng.js +0 -303
- /package/examples/{SafePlan-liaoyuan → SafePlan-aode-ts}/TestData.js +0 -0
- /package/examples/{SafePlan-liaoyuan → SafePlan-aode-ts}/main.js +0 -0
- /package/examples/{SafePlanrongcheng → SafePlan-aodezx}/TestData.js +0 -0
- /package/examples/{SafePlanrongcheng → SafePlan-aodezx}/main.js +0 -0
- /package/examples/{SafePlan-shaoguan → SafePlan-aodezx-ts}/TestData.js +0 -0
- /package/examples/{SafePlan-shaoguan → SafePlan-aodezx-ts}/main.js +0 -0
- /package/{git → static/.gitkeep} +0 -0
@@ -1,6 +1,5 @@
|
|
1
1
|
<style scoped>
|
2
2
|
.img {
|
3
|
-
border: 1px solid #9773ed;
|
4
3
|
width: auto;
|
5
4
|
height: auto;
|
6
5
|
float: left;
|
@@ -13,23 +12,26 @@ img {
|
|
13
12
|
}
|
14
13
|
|
15
14
|
|
16
|
-
.container{
|
15
|
+
.container {
|
17
16
|
margin: 10px auto;
|
18
17
|
width: 80%;
|
19
18
|
height: auto;
|
20
19
|
}
|
20
|
+
|
21
21
|
div::-webkit-scrollbar {
|
22
|
-
width: 0 !important;
|
22
|
+
width: 0 !important;
|
23
23
|
height: 0 !important;
|
24
24
|
}
|
25
25
|
|
26
|
-
div{
|
26
|
+
div {
|
27
27
|
-ms-overflow-style: none;
|
28
|
-
overflow: -moz-scrollbars-none;
|
28
|
+
overflow: -moz-scrollbars-none;
|
29
29
|
}
|
30
|
+
|
30
31
|
.divmask {
|
31
32
|
pointer-events: none;
|
32
33
|
}
|
34
|
+
|
33
35
|
.app-header {
|
34
36
|
border-radius: 50%;
|
35
37
|
background: rgba(73, 158, 223, 0.4);
|
@@ -38,7 +40,7 @@ overflow: -moz-scrollbars-none;
|
|
38
40
|
text-align: center;
|
39
41
|
font-size: 1.2em;
|
40
42
|
z-index: 10;
|
41
|
-
opacity:0.5;
|
43
|
+
opacity: 0.5;
|
42
44
|
bottom: 50px;
|
43
45
|
margin-top: -20px;
|
44
46
|
position: absolute;
|
@@ -52,228 +54,325 @@ overflow: -moz-scrollbars-none;
|
|
52
54
|
<div class="basic-main" style="height: 100%">
|
53
55
|
<div class="page-header app-header auto" style="padding: 15px;margin-right: 10px;right: 0%;height: 7%">
|
54
56
|
<div @click="back()">
|
55
|
-
<img src="../../assets/back.png" style="margin: 0px"/>
|
57
|
+
<img src="../../assets/back.png" style="margin: 0px" />
|
56
58
|
</div>
|
57
59
|
</div>
|
58
60
|
<work-busy :is-busy="loading"></work-busy>
|
59
61
|
<div class="container-fluid" style="overflow: scroll">
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
<
|
104
|
-
<
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
<
|
109
|
-
<
|
110
|
-
|
111
|
-
|
112
|
-
|
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
|
-
|
150
|
-
|
62
|
+
<div class="row">
|
63
|
+
<div class="col-md-6" style="margin-right: 2%;height: 100%;overflow: scroll">
|
64
|
+
<div style="width: 95%;margin-left: 5%">
|
65
|
+
<table class="table table-striped table-bordered" v-for="config in deviceconfig2">
|
66
|
+
<thead v-show="!(config.checkname != '燃气表' && data.f_entry_status != '入户')">
|
67
|
+
<tr>
|
68
|
+
<th style="text-align: center">{{ config.checkname }}</th>
|
69
|
+
</tr>
|
70
|
+
</thead>
|
71
|
+
<tbody v-show="!(config.checkname != '燃气表' && data.f_entry_status != '入户')">
|
72
|
+
<tr v-for="dev in config.items">
|
73
|
+
<td v-if="dev.type != 'text'">
|
74
|
+
<div class="row">
|
75
|
+
<div class="col-md-8" style="text-align: center;">
|
76
|
+
<label><button-link :style="{ color: defectNames.includes(dev.lname) ? 'red' : 'black' }"
|
77
|
+
type="button" class="btn btn-link" @click="showpicture(config.checkname, dev.lname)">{{
|
78
|
+
dev.lname }}
|
79
|
+
</button-link></label>
|
80
|
+
</div>
|
81
|
+
<div class="col-md-4" style="text-align: center">
|
82
|
+
<label style="font-weight: normal" v-if="dev.type != 'picture'">{{
|
83
|
+
getDeviceValue(config.checkname, dev.lname) }}</label>
|
84
|
+
<label style="font-weight: normal" v-if="dev.type == 'picture'">
|
85
|
+
<div v-show="getDevicePath(config.checkname, dev.lname)"><button-link style="color: black"
|
86
|
+
type="button" class="btn btn-link"
|
87
|
+
@click="showpath(getDevicePath(config.checkname, dev.lname), dev.lname)">查看照片
|
88
|
+
</button-link></div>
|
89
|
+
</label>
|
90
|
+
</div>
|
91
|
+
</div>
|
92
|
+
</td>
|
93
|
+
<td v-if="dev.type === 'text'">
|
94
|
+
<label style="width: 100%;text-align: center">{{ dev.lname }}</label>
|
95
|
+
</td>
|
96
|
+
</tr>
|
97
|
+
</tbody>
|
98
|
+
</table>
|
99
|
+
</div>
|
100
|
+
</div>
|
101
|
+
<div class style="width: 1%;height: 100%;background-color: #F1F8FF;float: left;"></div>
|
102
|
+
<div class="col-md-5" style="margin-left: 2%;height: 100%;overflow: scroll">
|
103
|
+
<div style="width: 100%;margin: auto">
|
104
|
+
<table class="table table-striped table-bordered" style="margin-bottom: 6px">
|
105
|
+
<thead>
|
106
|
+
<tr>
|
107
|
+
<th colspan="6" style="text-align: center">用户基本信息</th>
|
108
|
+
</tr>
|
109
|
+
</thead>
|
110
|
+
<tbody>
|
111
|
+
<tr>
|
112
|
+
<td style="text-align: center;border: #E9E9E9 solid 1px;width: 17%">用户编号:</td>
|
113
|
+
<td style="text-align: center;border: #E9E9E9 solid 1px;width: 33%">{{ data.f_userinfo_code }}</td>
|
114
|
+
<td style="text-align: center;border: #E9E9E9 solid 1px;width: 17%">用户名称:</td>
|
115
|
+
<td style="text-align: center;border: #E9E9E9 solid 1px;width: 33%">{{ data.f_user_name }}</td>
|
116
|
+
</tr>
|
117
|
+
<tr>
|
118
|
+
<td style="text-align: center;border: #E9E9E9 solid 1px">证件号码:</td>
|
119
|
+
<td style="text-align: center;border: #E9E9E9 solid 1px">{{ data.f_idnumber }}</td>
|
120
|
+
<td style="text-align: center;border: #E9E9E9 solid 1px">用户类型:</td>
|
121
|
+
<td style="text-align: center;border: #E9E9E9 solid 1px">{{ data.f_check_type }}</td>
|
122
|
+
</tr>
|
123
|
+
<tr>
|
124
|
+
<td style="text-align: center;border: #E9E9E9 solid 1px">用户电话:</td>
|
125
|
+
<td style="text-align: center;border: #E9E9E9 solid 1px">{{ data.f_user_phone }}</td>
|
126
|
+
<td style="text-align: center;border: #E9E9E9 solid 1px">区 / 县:</td>
|
127
|
+
<td style="text-align: center;border: #E9E9E9 solid 1px">{{ data.f_area }}</td>
|
128
|
+
</tr>
|
129
|
+
<tr>
|
130
|
+
<td style="text-align: center;border: #E9E9E9 solid 1px">街 道:</td>
|
131
|
+
<td style="text-align: center;border: #E9E9E9 solid 1px">{{ data.f_street }}</td>
|
132
|
+
<td style="text-align: center;border: #E9E9E9 solid 1px">楼 号:</td>
|
133
|
+
<td style="text-align: center;border: #E9E9E9 solid 1px">{{ data.f_building }}</td>
|
134
|
+
</tr>
|
135
|
+
<tr>
|
136
|
+
<td style="text-align: center;border: #E9E9E9 solid 1px">单 元:</td>
|
137
|
+
<td style="text-align: center;border: #E9E9E9 solid 1px">{{ data.f_unit }}</td>
|
138
|
+
<td style="text-align: center;border: #E9E9E9 solid 1px">楼 层:</td>
|
139
|
+
<td style="text-align: center;border: #E9E9E9 solid 1px">{{ data.f_floor }}</td>
|
140
|
+
</tr>
|
141
|
+
<tr>
|
142
|
+
<td style="text-align: center;border: #E9E9E9 solid 1px">门 牌 号 :</td>
|
143
|
+
<td style="text-align: center;border: #E9E9E9 solid 1px">{{ data.f_room }}</td>
|
144
|
+
<td style="text-align: center;border: #E9E9E9 solid 1px">用户性质:</td>
|
145
|
+
<td style="text-align: center;border: #E9E9E9 solid 1px">{{ data.f_userproperties }}</td>
|
146
|
+
</tr>
|
147
|
+
<tr>
|
148
|
+
<td style="text-align: center;border: #E9E9E9 solid 1px">进气口铅封号:</td>
|
149
|
+
<td style="text-align: center;border: #E9E9E9 solid 1px">{{ item.f_airintake_seal_no }}</td>
|
150
|
+
<td style="text-align: center;border: #E9E9E9 solid 1px">出气口铅封号:</td>
|
151
|
+
<td style="text-align: center;border: #E9E9E9 solid 1px">{{ item.f_airouttake_seal_no }}</td>
|
152
|
+
</tr>
|
153
|
+
<tr>
|
154
|
+
<td style="text-align: center;border: #E9E9E9 solid 1px">备注信息:</td>
|
155
|
+
<td style="text-align: center;border: #E9E9E9 solid 1px">{{ data.f_comments }}</td>
|
156
|
+
<td style="text-align: center;border: #E9E9E9 solid 1px">小区名称:</td>
|
157
|
+
<td style="text-align: center;border: #E9E9E9 solid 1px">{{ data.f_residential_area }}</td>
|
158
|
+
</tr>
|
159
|
+
<tr>
|
160
|
+
<td colspan="1" style="text-align: center;border: #E9E9E9 solid 1px">详细住址:</td>
|
161
|
+
<td colspan="3" style="text-align: center;border: #E9E9E9 solid 1px">{{ data.f_address }}</td>
|
162
|
+
</tr>
|
163
|
+
</tbody>
|
164
|
+
</table>
|
165
|
+
<table class="table table-striped table-bordered" v-show="data.f_entry_status == '入户'">
|
166
|
+
<thead>
|
167
|
+
<tr>
|
168
|
+
<th colspan="4" style="text-align: center">用户安检概况</th>
|
169
|
+
</tr>
|
170
|
+
</thead>
|
171
|
+
<tbody>
|
172
|
+
<tr>
|
173
|
+
<td style="text-align: center;border: #E9E9E9 solid 1px;width: 17%">到达时间:</td>
|
174
|
+
<td style="text-align: center;border: #E9E9E9 solid 1px;width: 33%">{{ data.f_onsite_time }}</td>
|
175
|
+
<td style="text-align: center;border: #E9E9E9 solid 1px;width: 17%">离开时间:</td>
|
176
|
+
<td style="text-align: center;border: #E9E9E9 solid 1px;width: 33%">{{ data.f_offsite_time }}</td>
|
177
|
+
</tr>
|
178
|
+
<tr>
|
179
|
+
<td style="text-align: center;border: #E9E9E9 solid 1px;width: 17%">入户状态:</td>
|
180
|
+
<td style="text-align: center;border: #E9E9E9 solid 1px;width: 33%">{{ data.f_entry_status }}</td>
|
181
|
+
<td style="text-align: center;border: #E9E9E9 solid 1px;width: 17%">燃气使用:</td>
|
182
|
+
<td style="text-align: center;border: #E9E9E9 solid 1px;width: 33%">{{ data.f_usegas }}</td>
|
183
|
+
</tr>
|
184
|
+
<tr>
|
185
|
+
<td colspan="1" style="text-align: center;border: #E9E9E9 solid 1px;">用户满意度:</td>
|
186
|
+
<td colspan="1" style="text-align: center;border: #E9E9E9 solid 1px;">{{ data.f_client_evaluation }}
|
187
|
+
</td>
|
188
|
+
<td colspan="1" style="text-align: center;border: #E9E9E9 solid 1px;">安检结果:</td>
|
189
|
+
<td colspan="1" style="text-align: center;border: #E9E9E9 solid 1px;">{{ ajresult }}</td>
|
190
|
+
</tr>
|
191
|
+
<tr>
|
192
|
+
<td colspan="1" style="text-align: center;border: #E9E9E9 solid 1px;">备注:</td>
|
193
|
+
<td colspan="3"
|
194
|
+
style="text-align: center;border: #E9E9E9 solid 1px;word-wrap:break-word;word-break:break-all;width:87%">
|
195
|
+
{{ data.f_repair_approved_note }}
|
196
|
+
</td>
|
197
|
+
</tr>
|
198
|
+
<tr>
|
199
|
+
<td colspan="1" style="text-align: center;border: #E9E9E9 solid 1px;">隐患详情:</td>
|
200
|
+
<td colspan="3"
|
201
|
+
style="text-align: center;border: #E9E9E9 solid 1px;word-wrap:break-word;word-break:break-all;width:87%">
|
202
|
+
<span v-for="deviceCollect in deviceCollects">
|
151
203
|
<span class="li-font">
|
152
|
-
{{deviceCollect.name}}:{{deviceCollect.value}}
|
204
|
+
{{ deviceCollect.name }}:{{ deviceCollect.value }}
|
205
|
+
</span>
|
206
|
+
<br>
|
207
|
+
<span v-if="deviceCollect.value == '有隐患'">
|
208
|
+
<lable>
|
209
|
+
隐患:
|
210
|
+
</lable>
|
211
|
+
<span class="li-font" v-for="val in deviceCollect.devices">
|
212
|
+
{{ val }}
|
213
|
+
</span><br>
|
153
214
|
</span>
|
154
|
-
<br>
|
155
|
-
<span v-if="deviceCollect.value == '有隐患'">
|
156
|
-
<lable>
|
157
|
-
隐患:
|
158
|
-
</lable>
|
159
|
-
<span class="li-font" v-for="val in deviceCollect.devices">
|
160
|
-
{{val}}
|
161
|
-
</span><br>
|
162
|
-
</span>
|
163
215
|
|
164
|
-
|
165
|
-
|
166
|
-
|
216
|
+
</span>
|
217
|
+
</td>
|
218
|
+
</tr>
|
167
219
|
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
<
|
177
|
-
<
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
<
|
184
|
-
|
185
|
-
|
186
|
-
|
220
|
+
</tbody>
|
221
|
+
</table>
|
222
|
+
<table class="table table-striped table-bordered" v-show="data.f_entry_status != '入户'">
|
223
|
+
<thead>
|
224
|
+
<tr>
|
225
|
+
<th colspan="4" style="text-align: center">用户安检概况</th>
|
226
|
+
</tr>
|
227
|
+
</thead>
|
228
|
+
<tbody>
|
229
|
+
<tr>
|
230
|
+
<td style="text-align: center;border: #E9E9E9 solid 1px;width: 17%">到达时间:</td>
|
231
|
+
<td style="text-align: center;border: #E9E9E9 solid 1px;width: 33%">{{ data.f_onsite_time }}</td>
|
232
|
+
<td style="text-align: center;border: #E9E9E9 solid 1px;width: 17%">离开时间:</td>
|
233
|
+
<td style="text-align: center;border: #E9E9E9 solid 1px;width: 33%">{{ data.f_offsite_time }}</td>
|
234
|
+
</tr>
|
235
|
+
<tr>
|
236
|
+
<td style="text-align: center;border: #E9E9E9 solid 1px;width: 17%">入户状态:</td>
|
237
|
+
<td colspan="2" style="text-align: center;border: #E9E9E9 solid 1px;width: 33%">{{ data.f_entry_status
|
238
|
+
}}</td>
|
239
|
+
<td style="text-align: center;border: #E9E9E9 solid 1px;width: 17%">
|
240
|
+
<!--<button-link style="color: black" type="button" class="btn btn-link" @click="showpicture2()">{{dev.lname}}
|
241
|
+
查看{{data.f_entry_status}}照片
|
242
|
+
</button-link>-->
|
243
|
+
<img-self-safe v-if="this.data.f_entry_status == '到访不遇'"
|
244
|
+
:src="data.f_noanswer_path" :alt="`查看${data.f_entry_status}}照片`" width="80"
|
245
|
+
height="30"></img-self-safe>
|
246
|
+
<img-self-safe v-if="this.data.f_entry_status == '拒检'"
|
247
|
+
:src="data.f_rejectcheck_path" :alt="`查看${data.f_entry_status}}照片`" width="80"
|
248
|
+
height="30"></img-self-safe>
|
249
|
+
</td>
|
250
|
+
</tr>
|
251
|
+
<tr v-if="data.f_entry_status == '到访不遇'">
|
252
|
+
<td colspan="1" style="text-align: center;border: #E9E9E9 solid 1px;">到访不遇备注:</td>
|
253
|
+
<td colspan="3"
|
254
|
+
style="text-align: center;border: #E9E9E9 solid 1px;word-wrap:break-word;word-break:break-all;width:87%">
|
255
|
+
{{ data.f_novisit_reason }}
|
256
|
+
</td>
|
257
|
+
</tr>
|
187
258
|
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
259
|
+
</tbody>
|
260
|
+
</table>
|
261
|
+
<table class="table table-striped table-bordered" v-show="data.f_entry_status == '入户'">
|
262
|
+
<thead>
|
263
|
+
<tr>
|
264
|
+
<th style="text-align: center">总体安检照片</th>
|
265
|
+
</tr>
|
266
|
+
</thead>
|
267
|
+
<tbody>
|
268
|
+
<tr>
|
269
|
+
<td style="margin: auto;text-align: center">
|
270
|
+
<div class="container" style="max-width: 610px;background: #FFFFFF">
|
271
|
+
<!-- <button @click="open_f">查看安检总体照片</button>-->
|
272
|
+
<div class="img" v-for="(index, img) in overallImagePaths">
|
273
|
+
<img-self-safe
|
274
|
+
:src="img"
|
275
|
+
:images="overallImagePaths"
|
276
|
+
:current-index="index"
|
277
|
+
width="150"
|
278
|
+
height="200"
|
279
|
+
style="margin-right: 10px;margin-bottom: 10px;"
|
280
|
+
></img-self-safe>
|
281
|
+
</div>
|
282
|
+
<!-- <div class="img" v-for="img in data.f_overall_imgs" @click="open_f">
|
283
|
+
<img-self-safe :src="img.f_overall_path" style="float: left" width="150" height="200"></img-self-safe>
|
284
|
+
<!– <img :src="'/rs/image/file/' + img.f_overall_path"
|
285
|
+
style=" height: 200px;margin-right: 10px;margin-bottom: 10px;">–>
|
286
|
+
</div>-->
|
199
287
|
</div>
|
200
|
-
</
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
288
|
+
</td>
|
289
|
+
</tr>
|
290
|
+
</tbody>
|
291
|
+
</table>
|
292
|
+
<table class="table table-striped table-bordered" v-show="data.f_entry_status == '入户'">
|
293
|
+
<thead>
|
294
|
+
<tr>
|
295
|
+
<th style="text-align: center">用户签名照片</th>
|
296
|
+
</tr>
|
297
|
+
</thead>
|
298
|
+
<tbody>
|
299
|
+
<tr>
|
300
|
+
<td style="margin: auto;text-align: center">
|
301
|
+
<div class="container" style="max-width: 500px;background: #FFFFFF">
|
302
|
+
<div class="img" style="float: none">
|
303
|
+
<img-self-safe :src="data.f_sign_path" width="486"
|
304
|
+
height="300"></img-self-safe>
|
305
|
+
</div>
|
216
306
|
</div>
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
</thead>
|
236
|
-
<tbody v-show="!(config.checkname!='燃气表'&&paperdata.f_entry_status!='入户')">
|
237
|
-
<tr v-for="dev in config.items">
|
238
|
-
<td v-if="dev.type!='text'">
|
239
|
-
<div class="row" >
|
240
|
-
<div class="col-md-8" style="text-align: center;">
|
241
|
-
<label ><button-link type="button" class="btn btn-link" @click="showpicture(config.checkname,dev.lname)" :style="isred(config.checkname,dev.lname)?'color:red':'color:black'" >{{dev.lname}}
|
242
|
-
</button-link></label>
|
307
|
+
</td>
|
308
|
+
</tr>
|
309
|
+
</tbody>
|
310
|
+
</table>
|
311
|
+
<table class="table table-striped table-bordered" v-show="data.f_notified_path">
|
312
|
+
<thead>
|
313
|
+
<tr>
|
314
|
+
<th style="text-align: center">隐患整改通知书照片</th>
|
315
|
+
</tr>
|
316
|
+
</thead>
|
317
|
+
<tbody>
|
318
|
+
<tr>
|
319
|
+
<td style="margin: auto;text-align: center">
|
320
|
+
<div class="container" style="max-width: 500px;background: #FFFFFF">
|
321
|
+
<div class="img" style="float: none">
|
322
|
+
<img-self-safe v-if="data.f_notified_path" :src="data.f_notified_path" width="486"
|
323
|
+
height="300"></img-self-safe>
|
324
|
+
</div>
|
243
325
|
</div>
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
326
|
+
</td>
|
327
|
+
</tr>
|
328
|
+
</tbody>
|
329
|
+
</table>
|
330
|
+
<table class="table table-striped table-bordered" v-show="data.f_table_anomaly_path">
|
331
|
+
<thead>
|
332
|
+
<tr>
|
333
|
+
<th colspan="2" style="text-align: center">表具异常记录</th>
|
334
|
+
</tr>
|
335
|
+
</thead>
|
336
|
+
<tbody>
|
337
|
+
<tr>
|
338
|
+
<td style="margin: auto;text-align: center">
|
339
|
+
备注:
|
340
|
+
</td>
|
341
|
+
<td style="margin: auto;text-align: center">
|
342
|
+
{{ data.f_table_anomaly_remark }}
|
343
|
+
</td>
|
344
|
+
</tr>
|
345
|
+
<tr>
|
346
|
+
<td colspan="2" style="margin: auto;text-align: center">
|
347
|
+
<div class="container" style="max-width: 500px;background: #FFFFFF">
|
348
|
+
<div class="img" style="float: none">
|
349
|
+
<img-self-safe v-if="data.f_table_anomaly_path" :src="data.f_table_anomaly_path" width="486" height="300"></img-self-safe>
|
350
|
+
</div>
|
250
351
|
</div>
|
251
|
-
</
|
252
|
-
</
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
</tr>
|
257
|
-
</tbody>
|
258
|
-
</table>
|
352
|
+
</td>
|
353
|
+
</tr>
|
354
|
+
</tbody>
|
355
|
+
</table>
|
356
|
+
</div>
|
259
357
|
</div>
|
260
358
|
</div>
|
261
|
-
|
262
|
-
</div>
|
263
|
-
</div>
|
359
|
+
</div>
|
264
360
|
</div>
|
361
|
+
<image-viewer :src="paperImgs" :show="showpaperImg" :linenumber="linenumber" @clone_f="clone_p"
|
362
|
+
alt="安检总体图片"></image-viewer>
|
265
363
|
<modal :show.sync="imgshow" v-ref:modal backdrop="true">
|
266
364
|
<header slot="modal-header" class="modal-header">
|
267
|
-
{{picturename}}
|
365
|
+
{{ picturename }}
|
268
366
|
</header>
|
269
367
|
<article slot="modal-body" class="modal-body">
|
270
368
|
<div class="from-group">
|
271
369
|
<div class="row">
|
272
370
|
<div class="col-md-6">
|
273
|
-
|
274
|
-
</div
|
275
|
-
|
276
|
-
|
371
|
+
<img-self-safe v-if="showimg1" :src="showimg1" width="300" height="400"></img-self-safe>
|
372
|
+
</div>
|
373
|
+
<div class="col-md-6">
|
374
|
+
<img-self-safe v-if="showimg2" :src="showimg2" width="300" height="400"></img-self-safe>
|
375
|
+
</div>
|
277
376
|
</div>
|
278
377
|
</div>
|
279
378
|
</article>
|
@@ -283,16 +382,19 @@ overflow: -moz-scrollbars-none;
|
|
283
382
|
</modal>
|
284
383
|
<modal :show.sync="imgshow2" v-ref:modal backdrop="true">
|
285
384
|
<header slot="modal-header" class="modal-header">
|
286
|
-
{{
|
385
|
+
{{ data.f_entry_status }}照片
|
287
386
|
</header>
|
288
387
|
<article slot="modal-body" class="modal-body">
|
289
388
|
<div class="from-group">
|
290
389
|
<div class="row">
|
390
|
+
<!--<div class="col-md-6">
|
391
|
+
<img-self-safe v-if="this.data.f_entry_status=='到访不遇'" :src="showimg3" width="300" height="400"></img-self-safe>
|
392
|
+
</div>
|
291
393
|
<div class="col-md-6">
|
292
|
-
<img-self-safe v-if="this.
|
293
|
-
</div
|
294
|
-
<img
|
295
|
-
|
394
|
+
<img-self-safe v-if="this.data.f_entry_status=='拒检'" :src="showimg4" width="300" height="400"></img-self-safe>
|
395
|
+
</div>-->
|
396
|
+
<img v-if="this.data.f_entry_status == '到访不遇'" :src="'/rs/image/file/' + showimg3" width="300" height="400">
|
397
|
+
<img v-if="this.data.f_entry_status == '拒检'" :src="'/rs/image/file/' + showimg4" width="300" height="400">
|
296
398
|
</div>
|
297
399
|
</div>
|
298
400
|
</article>
|
@@ -312,40 +414,15 @@ import RadioGroup from 'vue-client/src/vue-strap/src/radioGroup'
|
|
312
414
|
import Radio from 'vue-client/src/vue-strap/src/radioBtn'
|
313
415
|
import Vue from 'vue'
|
314
416
|
import * as Util from '../Util'
|
315
|
-
import {jsonSort} from '../../utils/LdapHelper'
|
316
|
-
import {HttpResetClass} from
|
417
|
+
import { jsonSort } from '../../utils/LdapHelper'
|
418
|
+
import { HttpResetClass } from 'vue-client'
|
317
419
|
let asyncReady = async function (self) {
|
318
420
|
// 获取配置信息
|
319
421
|
try {
|
320
|
-
let res= await new HttpResetClass().load('
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
orderitem: 'id'
|
325
|
-
}})/*.then(res=>{*/
|
326
|
-
console.log("aaaaaaaaaaaaaaaa")
|
327
|
-
console.log(JSON.stringify(res.data[0].f_dir))
|
328
|
-
if (!res.data[0].f_dir){
|
329
|
-
self.$showMessage("该公司无组织目录,无法获取配置文件,请联系管理员确认")
|
330
|
-
}else{
|
331
|
-
//this.f_dir=res.data[0].f_dir
|
332
|
-
try {
|
333
|
-
let res1=await new HttpResetClass().load('GET',`/safecheck/rs/vue/DevicesConfig.json?folderName=phonevues&orgDir=${res.data[0].f_dir}`, {},{resolveMsg: '获取居民配置项成功!', rejectMsg: '获取居民配置项出错!'})/*.then(res=>{*/
|
334
|
-
console.log('111111111111居民===>', res1.data)
|
335
|
-
//this.safeConfig["民用配置项"]=Object.assign({},res.data)
|
336
|
-
Vue.config.safecheck.DevicesConfig=res1.data
|
337
|
-
/*})*/
|
338
|
-
let res2=await new HttpResetClass().load('GET',`/safecheck/rs/vue/DevicesSetConfig.json?folderName=phonevues&orgDir=${res.data[0].f_dir}`, {},{resolveMsg: '获取非居民配置项成功!', rejectMsg: '获取非居民配置项出错!'})/*.then(res=>{*/
|
339
|
-
console.log('22222222222222非居民===>', res2.data)
|
340
|
-
//this.safeConfig["非民用配置项"]=Object.assign({},res.data)
|
341
|
-
Vue.config.safecheck.DevicesSetConfig=res2.data
|
342
|
-
/*}).then(res=> {
|
343
|
-
})*/
|
344
|
-
|
345
|
-
}catch (e) {
|
346
|
-
self.$showMessage("获取配置文件失败"+e)
|
347
|
-
}
|
348
|
-
}
|
422
|
+
let res = await new HttpResetClass().load('get', '/api/af-safecheck/vue', null, { resolveMsg: null, rejectMsg: null })
|
423
|
+
self.delConfigKey(res.data)
|
424
|
+
Vue.config.safecheck = res.data
|
425
|
+
console.log('获取配置结果===', res.data)
|
349
426
|
} catch (error) {
|
350
427
|
// 忽略704,文件找不到异常R
|
351
428
|
if (error.status !== 704) {
|
@@ -360,79 +437,114 @@ export default {
|
|
360
437
|
return {
|
361
438
|
data: {
|
362
439
|
f_devices: [],
|
363
|
-
f_defect_content:''
|
440
|
+
f_defect_content: '',
|
441
|
+
f_overall_imgs: []
|
364
442
|
},
|
365
|
-
|
366
|
-
|
367
|
-
|
368
|
-
|
369
|
-
|
370
|
-
|
371
|
-
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
|
443
|
+
// 图片URL
|
444
|
+
paperImgs: [],
|
445
|
+
// 缩略图显示的行数
|
446
|
+
linenumber: 1,
|
447
|
+
iswlw: false,
|
448
|
+
// 是否显示
|
449
|
+
showpaperImg: false,
|
450
|
+
picturename: '隐患照片',
|
451
|
+
defectDevice: {},
|
452
|
+
hasDevice: false,
|
453
|
+
deviceCollect: {},
|
454
|
+
deviceCollects: [],
|
455
|
+
isshow: false,
|
456
|
+
ajresult: '',
|
457
|
+
loading: true,
|
458
|
+
imgshow: false,
|
459
|
+
imgshow2: false,
|
460
|
+
isUpload: false,
|
461
|
+
livedispose: '',
|
462
|
+
defectNames: [],
|
463
|
+
showimg1: '',
|
464
|
+
showimg2: '',
|
465
|
+
showimg3: '',
|
466
|
+
showimg4: '',
|
467
|
+
startClick: false, //开始安检按钮是否可点击
|
383
468
|
isStrat: false, //是否开始安检
|
384
|
-
checkResult:{},//查询结果
|
385
|
-
newcheckResult:{},
|
469
|
+
checkResult: {},//查询结果
|
470
|
+
newcheckResult: {},
|
386
471
|
timer: null,
|
387
472
|
showModal: false,
|
388
473
|
pic_to_be_viewed: '',
|
389
|
-
showBack:true,
|
474
|
+
showBack: true,
|
390
475
|
devices: [],
|
391
|
-
devicesAll:[],
|
392
|
-
configAJ:[],
|
393
|
-
configRQ:[],
|
394
|
-
deviceconfig:{},
|
395
|
-
deviceconfig2:[],
|
396
|
-
f_devices
|
476
|
+
devicesAll: [],
|
477
|
+
configAJ: [],
|
478
|
+
configRQ: [],
|
479
|
+
deviceconfig: {},
|
480
|
+
deviceconfig2: [],
|
481
|
+
f_devices: [],
|
397
482
|
config: {
|
398
|
-
"燃气表":{
|
399
|
-
"checkmust":true,
|
400
|
-
"index":1,
|
401
|
-
"items":{
|
483
|
+
"燃气表": {
|
484
|
+
"checkmust": true,
|
485
|
+
"index": 1,
|
486
|
+
"items": {
|
402
487
|
//"燃气表照片":{"index":1,"type":"picture","remark":"(拍摄清晰的表具编号、字轮数、剩余气量等)"},
|
403
|
-
"基表编号":{"index":1,"type":"string","readonly":true},
|
404
|
-
"气表型号":{"index":2,"type":"string","readonly":true},
|
405
|
-
"气表品牌":{"index":3,"type":"string","readonly":true},
|
406
|
-
"进气方向":{"index":4,"type":"string","readonly":true},
|
488
|
+
"基表编号": { "index": 1, "type": "string", "readonly": true },
|
489
|
+
"气表型号": { "index": 2, "type": "string", "readonly": true },
|
490
|
+
"气表品牌": { "index": 3, "type": "string", "readonly": true },
|
491
|
+
"进气方向": { "index": 4, "type": "string", "readonly": true },
|
407
492
|
// "初始表底":{"index":5,"type":"number","isshow":false,"readonly":true},
|
408
|
-
"上期表读数":{"index":5,"type":"number","readonly":true,isshow:false},
|
409
|
-
"
|
410
|
-
"
|
411
|
-
"
|
493
|
+
"上期表读数": { "index": 5, "type": "number", "readonly": true, isshow: false },
|
494
|
+
"户累购气量": { "index": 6, "type": "number", "readonly": true },
|
495
|
+
"累购气量": { "index": 7, "type": "number", "readonly": true },
|
496
|
+
"已用气量": { "index": 8, "type": "number", "checkmust": true },//基表数
|
497
|
+
"剩余气量": { "index": 9, "type": "number", "checkmust": true },//累购-已用
|
412
498
|
//显示屏数 --实际剩余气量
|
413
|
-
"气量异常差值":{"index":
|
499
|
+
"气量异常差值": { "index": 10, "type": "number", "readonly": true },
|
500
|
+
"差值备注": { "index": 12, "type": "string", "readonly": false }
|
414
501
|
}
|
415
502
|
// 注意,配置项的index必须与上面的固定配置保持'顺序'
|
416
503
|
}
|
417
504
|
},
|
418
505
|
//金额
|
419
506
|
config2: {
|
420
|
-
"燃气表":{
|
421
|
-
"checkmust":true,
|
422
|
-
"index":1,
|
423
|
-
"items":{
|
507
|
+
"燃气表": {
|
508
|
+
"checkmust": true,
|
509
|
+
"index": 1,
|
510
|
+
"items": {
|
511
|
+
//"燃气表照片":{"index":1,"type":"picture","remark":"(拍摄清晰的表具编号、字轮数、剩余气量等)"},
|
512
|
+
"基表编号": { "index": 1, "type": "string", "readonly": true },
|
513
|
+
"气表型号": { "index": 2, "type": "string", "readonly": true },
|
514
|
+
"气表品牌": { "index": 3, "type": "string", "readonly": true },
|
515
|
+
"进气方向": { "index": 4, "type": "string", "readonly": true },
|
516
|
+
// "初始表底":{"index":5,"type":"number","isshow":false,"readonly":true},
|
517
|
+
"上期表读数": { "index": 5, "type": "number", "readonly": true, isshow: false },
|
518
|
+
"户累购金额": { "index": 6, "type": "number", "readonly": true },
|
519
|
+
"累购金额": { "index": 7, "type": "number", "readonly": true },
|
520
|
+
"已用金额": { "index": 8, "type": "number", "checkmust": true },
|
521
|
+
//显示屏数 --实际剩余气量
|
522
|
+
"剩余金额": { "index": 9, "type": "number", "checkmust": true },
|
523
|
+
"金额异常差值": { "index": 10, "type": "number", "readonly": true },
|
524
|
+
"差值备注": { "index": 12, "type": "string", "readonly": false }
|
525
|
+
}
|
526
|
+
}
|
527
|
+
},
|
528
|
+
config3: {
|
529
|
+
"燃气表": {
|
530
|
+
"checkmust": true,
|
531
|
+
"index": 1,
|
532
|
+
"items": {
|
424
533
|
//"燃气表照片":{"index":1,"type":"picture","remark":"(拍摄清晰的表具编号、字轮数、剩余气量等)"},
|
425
|
-
"基表编号":{"index":1,"type":"string","readonly":true},
|
426
|
-
"气表型号":{"index":2,"type":"string","readonly":true},
|
427
|
-
"气表品牌":{"index":3,"type":"string","readonly":true},
|
428
|
-
"进气方向":{"index":4,"type":"string","readonly":true},
|
534
|
+
"基表编号": { "index": 1, "type": "string", "readonly": true },
|
535
|
+
"气表型号": { "index": 2, "type": "string", "readonly": true },
|
536
|
+
"气表品牌": { "index": 3, "type": "string", "readonly": true },
|
537
|
+
"进气方向": { "index": 4, "type": "string", "readonly": true },
|
429
538
|
// "初始表底":{"index":5,"type":"number","isshow":false,"readonly":true},
|
430
|
-
"上期表读数":{"index":5,"type":"number","readonly":true,isshow:false},
|
431
|
-
"
|
432
|
-
"
|
539
|
+
"上期表读数": { "index": 5, "type": "number", "readonly": true, isshow: false },
|
540
|
+
"表读数": { "index": 6, "type": "number", "readonly": true },
|
541
|
+
"表剩余金额": { "index": 7, "type": "number", "readonly": true },
|
542
|
+
"字轮数": { "index": 8, "type": "number", "checkmust": true },//基表数
|
543
|
+
"表余额": { "index": 9, "type": "number", "checkmust": true },
|
433
544
|
//显示屏数 --实际剩余气量
|
434
|
-
"
|
435
|
-
"
|
545
|
+
"表数异常差值": { "index": 10, "type": "number", "readonly": true },
|
546
|
+
"表金额异常差值": { "index": 11, "type": "number", "readonly": true },
|
547
|
+
"差值备注": { "index": 12, "type": "string", "readonly": false }
|
436
548
|
}
|
437
549
|
}
|
438
550
|
},
|
@@ -443,16 +555,15 @@ export default {
|
|
443
555
|
Radio,
|
444
556
|
},
|
445
557
|
computed: {
|
446
|
-
|
447
558
|
selector: {
|
448
559
|
get() {
|
449
560
|
return 'paper-state'
|
450
561
|
},
|
451
562
|
set(val) {
|
452
|
-
if(this.isStrat){
|
563
|
+
if (this.isStrat) {
|
453
564
|
debugger;
|
454
|
-
this.$goto(val, {userinfo:this.data}, 'paper-router')
|
455
|
-
}else{
|
565
|
+
this.$goto(val, { userinfo: this.data }, 'paper-router')
|
566
|
+
} else {
|
456
567
|
this.$showMessage('未开始安检!')
|
457
568
|
}
|
458
569
|
}
|
@@ -461,131 +572,120 @@ export default {
|
|
461
572
|
get() {
|
462
573
|
return this.role == 'inspect'
|
463
574
|
}
|
575
|
+
},
|
576
|
+
// 添加新的计算属性
|
577
|
+
overallImagePaths() {
|
578
|
+
return this.data.f_overall_imgs ? this.data.f_overall_imgs.map(img => img.f_overall_path) : []
|
464
579
|
}
|
465
580
|
},
|
466
581
|
methods: {
|
467
|
-
|
468
|
-
//
|
469
|
-
|
470
|
-
|
471
|
-
|
472
|
-
|
473
|
-
|
582
|
+
delConfigKey(obj) {
|
583
|
+
// 从琉璃中获取的配置中会包含 $开头的一些额外描述新的key。为了兼容v3的代码逻辑在此函数中去掉
|
584
|
+
Object.keys(obj).forEach(key => {
|
585
|
+
Object.keys(obj[key]).forEach(col => {
|
586
|
+
// 检查键是否以$开头
|
587
|
+
if (col.startsWith('$')) {
|
588
|
+
// 使用delete操作符删除键
|
589
|
+
delete obj[key][col];
|
590
|
+
}
|
591
|
+
})
|
592
|
+
})
|
593
|
+
},
|
594
|
+
open_f() {
|
595
|
+
// 打开组件
|
596
|
+
this.showpaperImg = true
|
597
|
+
console.log('打开图片查看器')
|
598
|
+
},
|
599
|
+
clone_p() {
|
600
|
+
// 关闭组件
|
601
|
+
this.showpaperImg = false
|
602
|
+
console.log('关闭图片查看器')
|
603
|
+
},
|
604
|
+
devicesCollect() {
|
474
605
|
this.deviceCollects = []
|
475
606
|
let checkResult = '正常'
|
476
607
|
this.result = '正常'
|
477
|
-
|
478
|
-
|
479
|
-
for(
|
480
|
-
|
481
|
-
|
482
|
-
for(let item in this.data[device]) {
|
483
|
-
if(this.data[device].length > 1 ){
|
484
|
-
let j = Number.parseInt(item)+1
|
485
|
-
f_device_type = `${this.data[device][item].f_device_type}${j}`
|
486
|
-
}else{
|
487
|
-
f_device_type = this.data[device][item].f_device_type
|
488
|
-
}
|
489
|
-
// console.log('codata[device][item]=>',codata[device][item])
|
608
|
+
|
609
|
+
// 遍历所有设备数据
|
610
|
+
for (const deviceKey in this.data) {
|
611
|
+
if (deviceKey.startsWith('device')) {
|
612
|
+
this.data[deviceKey].forEach(device => {
|
490
613
|
let deviceInfos = []
|
491
|
-
|
492
|
-
let defects = ''
|
493
|
-
let items = this.data[device][item].f_items[i]
|
494
|
-
if ((items.type === 'selector' || items.type === 'radio' || items.type === 'checkbox') && items.f_item_value != null && items.f_item_value instanceof Array){
|
495
|
-
for (let i in items.f_item_value) {
|
496
|
-
let f_item_value = items.f_item_value[i]
|
614
|
+
let hasDefect = false
|
497
615
|
|
498
|
-
|
499
|
-
|
500
|
-
|
501
|
-
|
502
|
-
|
503
|
-
|
504
|
-
|
505
|
-
|
506
|
-
|
507
|
-
|
508
|
-
|
509
|
-
|
510
|
-
|
511
|
-
|
512
|
-
|
513
|
-
|
514
|
-
|
616
|
+
device.f_items.forEach(item => {
|
617
|
+
// 检查是否有隐患标记
|
618
|
+
if (item.f_is_defect && item.f_is_defect === 'true') {
|
619
|
+
hasDefect = true
|
620
|
+
const defectValue = Array.isArray(item.f_item_value) ?
|
621
|
+
item.f_item_value.join(',') :
|
622
|
+
item.f_item_value
|
623
|
+
deviceInfos.push(`${item.f_item_name}:${defectValue}`)
|
624
|
+
}
|
625
|
+
|
626
|
+
// 检查选择型隐患
|
627
|
+
if ((item.type === 'selector' || item.type === 'radio' || item.type === 'checkbox')
|
628
|
+
&& Array.isArray(item.f_item_value)) {
|
629
|
+
item.f_item_value.forEach(value => {
|
630
|
+
// 检查值是否包含隐患关键词
|
631
|
+
if (value.includes('隐患') || value.includes('不合格')) {
|
632
|
+
hasDefect = true
|
633
|
+
deviceInfos.push(`${item.f_item_name}:${value}`)
|
515
634
|
}
|
516
|
-
|
517
|
-
|
518
|
-
|
519
|
-
|
520
|
-
|
521
|
-
|
522
|
-
|
523
|
-
|
524
|
-
|
525
|
-
|
526
|
-
|
527
|
-
console.log(items.f_item_value[0]+'金额异常差值允许误差'+deviation)
|
528
|
-
if(parseFloat(items.f_item_value[0]).toString() != "NaN" && parseFloat(deviation).toString() != "NaN"){
|
529
|
-
if(parseFloat(items.f_item_value[0])>parseFloat(deviation) || parseFloat(items.f_item_value[0])<parseFloat(deviation)*-1){
|
530
|
-
checkResult = '有隐患'
|
531
|
-
this.result = '有隐患'
|
532
|
-
deviceInfos.push(`${items.f_item_name}:${items.f_item_value[0]}`)
|
635
|
+
})
|
636
|
+
}
|
637
|
+
|
638
|
+
// 检查特殊隐患项
|
639
|
+
if (item.f_item_name === '金额异常差值' || item.f_item_name === '表金额异常差值') {
|
640
|
+
const deviation = this.$appdata.getSingleValue('金额异常差值允许误差')
|
641
|
+
const value = parseFloat(item.f_item_value[0])
|
642
|
+
if (!isNaN(value) && !isNaN(parseFloat(deviation))) {
|
643
|
+
if (value > parseFloat(deviation) || value < parseFloat(deviation) * -1 || value < 0) {
|
644
|
+
hasDefect = true
|
645
|
+
deviceInfos.push(`${item.f_item_name}:${value}`)
|
533
646
|
}
|
534
647
|
}
|
535
|
-
}
|
536
|
-
|
537
|
-
|
538
|
-
|
539
|
-
|
540
|
-
|
541
|
-
|
542
|
-
|
648
|
+
}
|
649
|
+
|
650
|
+
if (item.f_item_name === '气量异常差值' || item.f_item_name === '表气量异常差值') {
|
651
|
+
const deviation = this.$appdata.getSingleValue('气量异常差值允许误差')
|
652
|
+
const value = parseFloat(item.f_item_value[0])
|
653
|
+
if (!isNaN(value) && !isNaN(parseFloat(deviation))) {
|
654
|
+
if (value > parseFloat(deviation) || value < parseFloat(deviation) * -1) {
|
655
|
+
hasDefect = true
|
656
|
+
deviceInfos.push(`${item.f_item_name}:${value}`)
|
543
657
|
}
|
544
658
|
}
|
545
659
|
}
|
546
|
-
|
547
|
-
console.log('items.f_is_defect')
|
548
|
-
console.log(items.f_is_defect)
|
549
|
-
if (items.type === 'selector') {
|
550
|
-
items.selected = []
|
551
|
-
} else if (items.type === 'inputSelector') {
|
552
|
-
items.selected = ''
|
553
|
-
}
|
554
|
-
}
|
660
|
+
})
|
555
661
|
|
556
|
-
|
557
|
-
|
558
|
-
|
559
|
-
|
560
|
-
|
561
|
-
|
562
|
-
|
563
|
-
|
564
|
-
|
662
|
+
// 如果有隐患,添加到 deviceCollects
|
663
|
+
if (hasDefect) {
|
664
|
+
checkResult = '有隐患'
|
665
|
+
this.result = '有隐患'
|
666
|
+
this.deviceCollects.push({
|
667
|
+
name: device.f_device_type,
|
668
|
+
value: '有隐患',
|
669
|
+
devices: deviceInfos
|
670
|
+
})
|
565
671
|
}
|
566
|
-
|
567
|
-
checkResult = '正常'
|
568
|
-
this.deviceCollect = {}
|
569
|
-
}
|
672
|
+
})
|
570
673
|
}
|
571
674
|
}
|
572
|
-
|
573
|
-
|
574
|
-
|
575
|
-
this.
|
576
|
-
this.
|
577
|
-
this.showimg4=this.data.f_rejectcheck_path
|
578
|
-
this.paperdata=this.data
|
579
|
-
this.loading=false
|
675
|
+
|
676
|
+
this.ajresult = JSON.parse(this.data.f_defect_content).result
|
677
|
+
this.showimg3 = this.data.f_noanswer_path
|
678
|
+
this.showimg4 = this.data.f_rejectcheck_path
|
679
|
+
this.loading = false
|
580
680
|
},
|
581
|
-
imgclose(){
|
582
|
-
this.
|
681
|
+
imgclose() {
|
682
|
+
this.imgshow2 = false
|
583
683
|
},
|
584
684
|
putDevices() {
|
585
685
|
//console.log('Vue.config.safecheck', Vue.config.safecheck.safetype)
|
586
686
|
this.$set('data.approve', "true")
|
587
687
|
this.$set('data.writeback', "false")
|
588
|
-
if (Vue.config.safecheck.ApproveConfig != undefined) {
|
688
|
+
if (Vue.config.safecheck && Vue.config.safecheck.ApproveConfig != undefined) {
|
589
689
|
if (Vue.config.safecheck.ApproveConfig.approve != undefined) {
|
590
690
|
this.$set('data.approve', Vue.config.safecheck.ApproveConfig.approve)
|
591
691
|
}
|
@@ -596,20 +696,35 @@ export default {
|
|
596
696
|
this.livedispose = Vue.config.safecheck.ApproveConfig.livedispose
|
597
697
|
}
|
598
698
|
}
|
599
|
-
console.log('当前安检类型----'+this.item.f_safecheck_type)
|
699
|
+
console.log('当前安检类型----' + this.item.f_safecheck_type)
|
600
700
|
|
601
701
|
console.log(JSON.stringify(this.data))
|
602
|
-
if(!this.item.f_safecheck_type){
|
702
|
+
if (!this.item.f_safecheck_type) {
|
603
703
|
this.config = this.extend(this.config, Vue.config.safecheck[Vue.config.safecheck.SafecheckType['年度普检'][this.item.f_check_type]])
|
604
|
-
}else{
|
605
|
-
if (
|
606
|
-
|
704
|
+
} else {
|
705
|
+
if (this.item.f_offsite_time < '2021-07-20 20:54:02') {
|
706
|
+
if (this.item.f_safecheck_type = '民用') {
|
707
|
+
this.config = this.extend(this.config, Vue.config.safecheck.SafeDevicesVersion.v1.DevicesConfig)
|
708
|
+
} else {
|
709
|
+
this.config = this.extend(this.config, Vue.config.safecheck.DevicesSetConfig)
|
710
|
+
}
|
711
|
+
} else if (this.item.f_offsite_time < '2025-02-26 22:00:00') {
|
712
|
+
if (this.item.f_safecheck_type = '民用') {
|
713
|
+
this.config = this.extend(this.config, Vue.config.safecheck.SafeDevicesVersion.v2.DevicesConfig)
|
714
|
+
} else {
|
715
|
+
this.config = this.extend(this.config, Vue.config.safecheck.DevicesSetConfig)
|
716
|
+
}
|
717
|
+
} else {
|
718
|
+
if (Vue.config.safecheck.DevicesConfig != undefined)
|
719
|
+
this.config = this.extend(this.config, Vue.config.safecheck[Vue.config.safecheck.SafecheckType[this.item.f_safecheck_type][this.item.f_check_type]])
|
720
|
+
|
721
|
+
}
|
607
722
|
}
|
608
723
|
//遍历安检项配置
|
609
724
|
for (let i in this.config) {
|
610
725
|
//取得安检项索引值
|
611
726
|
let n = this.config[i].index
|
612
|
-
this.devices[n - 1] = {device: i, n: n, checkmust: this.config[i].checkmust}
|
727
|
+
this.devices[n - 1] = { device: i, n: n, checkmust: this.config[i].checkmust }
|
613
728
|
this.$set('data.' + 'device' + n, [])
|
614
729
|
let items = []
|
615
730
|
for (let it in this.config[i].items) {
|
@@ -632,55 +747,31 @@ export default {
|
|
632
747
|
}
|
633
748
|
|
634
749
|
},
|
635
|
-
showpath(val1,val2){
|
750
|
+
showpath(val1, val2) {
|
636
751
|
console.log("555555555555555555")
|
637
752
|
console.log(val1)
|
638
|
-
if (val1){
|
639
|
-
this.showimg1=val1
|
640
|
-
this.picturename=val2
|
641
|
-
this.imgshow=true
|
642
|
-
}
|
643
|
-
},
|
644
|
-
showpicture(val1,val2){
|
645
|
-
console.log("77777777777777")
|
646
|
-
if (val2=='气量异常差值'||val2=='金额异常差值'){
|
647
|
-
return
|
648
|
-
}
|
649
|
-
for (let i = 0; i <this.devicesAll.length; i++) {
|
650
|
-
for (let j = 0; j < this.devicesAll[i].length; j++) {
|
651
|
-
if (this.devicesAll[i][j].f_device_type==val1){
|
652
|
-
for (let k = 0; k < this.devicesAll[i][j].f_items.length; k++) {
|
653
|
-
if (this.devicesAll[i][j].f_items[k].f_item_name==val2){
|
654
|
-
if (!this.devicesAll[i][j].f_items[k].f_is_defect){
|
655
|
-
return false
|
656
|
-
}else{
|
657
|
-
this.showimg1=this.devicesAll[i][j].f_items[k].f_path
|
658
|
-
this.showimg2=this.devicesAll[i][j].f_items[k].f_second_path
|
659
|
-
this.picturename='隐患照片'
|
660
|
-
this.imgshow=true
|
661
|
-
return true
|
662
|
-
}
|
663
|
-
}
|
664
|
-
}
|
665
|
-
|
666
|
-
}
|
667
|
-
}
|
753
|
+
if (val1) {
|
754
|
+
this.showimg1 = val1
|
755
|
+
this.picturename = val2
|
756
|
+
this.imgshow = true
|
668
757
|
}
|
669
758
|
},
|
670
|
-
|
671
|
-
|
672
|
-
if (val2=='气量异常差值'||val2=='金额异常差值'){
|
759
|
+
showpicture(val1, val2) {
|
760
|
+
if (val2 == '气量异常差值' || val2 == '金额异常差值') {
|
673
761
|
return
|
674
762
|
}
|
675
|
-
for (let i = 0; i <this.devicesAll.length; i++) {
|
763
|
+
for (let i = 0; i < this.devicesAll.length; i++) {
|
676
764
|
for (let j = 0; j < this.devicesAll[i].length; j++) {
|
677
|
-
if (this.devicesAll[i][j].f_device_type==val1){
|
765
|
+
if (this.devicesAll[i][j].f_device_type == val1) {
|
678
766
|
for (let k = 0; k < this.devicesAll[i][j].f_items.length; k++) {
|
679
|
-
if (this.devicesAll[i][j].f_items[k].f_item_name==val2){
|
680
|
-
if (!this.devicesAll[i][j].f_items[k].f_is_defect){
|
681
|
-
return
|
682
|
-
}else{
|
683
|
-
|
767
|
+
if (this.devicesAll[i][j].f_items[k].f_item_name == val2) {
|
768
|
+
if (!this.devicesAll[i][j].f_items[k].f_is_defect) {
|
769
|
+
return
|
770
|
+
} else {
|
771
|
+
this.showimg1 = this.devicesAll[i][j].f_items[k].f_path
|
772
|
+
this.showimg2 = this.devicesAll[i][j].f_items[k].f_second_path
|
773
|
+
this.picturename = '隐患照片'
|
774
|
+
this.imgshow = true
|
684
775
|
}
|
685
776
|
}
|
686
777
|
}
|
@@ -689,33 +780,38 @@ export default {
|
|
689
780
|
}
|
690
781
|
}
|
691
782
|
},
|
692
|
-
showpicture2(){
|
693
|
-
this.imgshow2=true
|
783
|
+
showpicture2() {
|
784
|
+
this.imgshow2 = true
|
694
785
|
},
|
695
|
-
getDeviceValue(
|
696
|
-
|
697
|
-
|
698
|
-
|
699
|
-
|
700
|
-
|
701
|
-
|
702
|
-
|
703
|
-
|
786
|
+
getDeviceValue(deviceType, itemName) {
|
787
|
+
console.log('deviceType==', deviceType)
|
788
|
+
console.log('itemName==', itemName)
|
789
|
+
console.log('this==', this)
|
790
|
+
// 先从当前配置中查找
|
791
|
+
for (const deviceKey in this.data) {
|
792
|
+
if (deviceKey.startsWith('device')) {
|
793
|
+
for (const device of this.data[deviceKey]) {
|
794
|
+
if (device.f_device_type === deviceType) {
|
795
|
+
const item = device.f_items.find(item => item.f_item_name === itemName)
|
796
|
+
if (item) {
|
797
|
+
// 如果是数组,用逗号连接
|
798
|
+
return Array.isArray(item.f_item_value) ?
|
799
|
+
item.f_item_value.join(',') :
|
800
|
+
item.f_item_value
|
704
801
|
}
|
705
802
|
}
|
706
|
-
|
707
803
|
}
|
708
804
|
}
|
709
805
|
}
|
710
|
-
|
806
|
+
return ''
|
711
807
|
},
|
712
|
-
getDevicePath(val1,val2){
|
713
|
-
for (let i = 0; i <this.devicesAll.length; i++) {
|
808
|
+
getDevicePath(val1, val2) {
|
809
|
+
for (let i = 0; i < this.devicesAll.length; i++) {
|
714
810
|
for (let j = 0; j < this.devicesAll[i].length; j++) {
|
715
|
-
if (this.devicesAll[i][j].f_device_type==val1){
|
811
|
+
if (this.devicesAll[i][j].f_device_type == val1) {
|
716
812
|
for (let k = 0; k < this.devicesAll[i][j].f_items.length; k++) {
|
717
|
-
if (this.devicesAll[i][j].f_items[k].f_item_name==val2){
|
718
|
-
|
813
|
+
if (this.devicesAll[i][j].f_items[k].f_item_name == val2) {
|
814
|
+
return this.devicesAll[i][j].f_items[k].f_path
|
719
815
|
}
|
720
816
|
}
|
721
817
|
|
@@ -724,11 +820,11 @@ export default {
|
|
724
820
|
}
|
725
821
|
|
726
822
|
},
|
727
|
-
getDeviceAll(){
|
728
|
-
let keyall=
|
823
|
+
getDeviceAll() {
|
824
|
+
let keyall = Object.keys(this.data)
|
729
825
|
for (let i = 0; i < keyall.length; i++) {
|
730
826
|
console.log(JSON.stringify(keyall))
|
731
|
-
if (keyall[i].startsWith('device') && keyall[i] !='deviceundefined'){
|
827
|
+
if (keyall[i].startsWith('device') && keyall[i] != 'deviceundefined') {
|
732
828
|
this.devicesAll.push(this.data[keyall[i]])
|
733
829
|
console.log(keyall[i])
|
734
830
|
}
|
@@ -739,30 +835,30 @@ export default {
|
|
739
835
|
|
740
836
|
},
|
741
837
|
|
742
|
-
back(){
|
838
|
+
back() {
|
743
839
|
if (this.role == 'inspect') {
|
744
|
-
if(!this.isStrat){
|
840
|
+
if (!this.isStrat) {
|
745
841
|
this.$back()
|
746
842
|
return
|
747
|
-
}else{
|
748
|
-
this.savePaper(true).then(()=>{
|
843
|
+
} else {
|
844
|
+
this.savePaper(true).then(() => {
|
749
845
|
this.$back()
|
750
846
|
this.isStrat = false
|
751
847
|
})
|
752
848
|
}
|
753
|
-
}else{
|
849
|
+
} else {
|
754
850
|
this.$back()
|
755
851
|
}
|
756
852
|
},
|
757
|
-
checkIsStart(){
|
853
|
+
checkIsStart() {
|
758
854
|
alert('asdad')
|
759
855
|
return
|
760
856
|
},
|
761
857
|
|
762
858
|
viewPic(fileName) {
|
763
859
|
console.log('view pic: ' + fileName)
|
764
|
-
if(this.role == 'view') {
|
765
|
-
if(!fileName.endsWith('nopic.png')) {
|
860
|
+
if (this.role == 'view') {
|
861
|
+
if (!fileName.endsWith('nopic.png')) {
|
766
862
|
this.pic_to_be_viewed = fileName
|
767
863
|
this.showModal = true
|
768
864
|
}
|
@@ -788,7 +884,7 @@ export default {
|
|
788
884
|
},
|
789
885
|
genuineSave(saveOnly) {
|
790
886
|
HostApp.__this__.save(saveOnly)
|
791
|
-
if(!saveOnly)
|
887
|
+
if (!saveOnly)
|
792
888
|
HostApp.__this__.disableTimer()
|
793
889
|
HostApp.__callback__ = null
|
794
890
|
HostApp.__this__ = null
|
@@ -796,21 +892,21 @@ export default {
|
|
796
892
|
setUrgency() {
|
797
893
|
this.data.f_defect_urgency = 'Z'
|
798
894
|
let that = this
|
799
|
-
this.data.f_defects.forEach(function(defect) {
|
800
|
-
if(that.data.f_defect_urgency > defect.f_defect_level.charAt(0))
|
895
|
+
this.data.f_defects.forEach(function (defect) {
|
896
|
+
if (that.data.f_defect_urgency > defect.f_defect_level.charAt(0))
|
801
897
|
that.data.f_defect_urgency = defect.f_defect_level.charAt(0)
|
802
898
|
})
|
803
|
-
if(this.data.f_defect_urgency == 'Z')
|
899
|
+
if (this.data.f_defect_urgency == 'Z')
|
804
900
|
this.data.f_defect_urgency = null
|
805
901
|
},
|
806
902
|
disableTimer() {
|
807
|
-
if(this.timer) {
|
903
|
+
if (this.timer) {
|
808
904
|
window.clearTimeout(this.timer)
|
809
905
|
this.timer = null
|
810
906
|
}
|
811
907
|
},
|
812
908
|
loaded(paper) {
|
813
|
-
if(!paper.hasOwnProperty('id')) {
|
909
|
+
if (!paper.hasOwnProperty('id')) {
|
814
910
|
this.$showMessage("该安检单在手机上已经不存在,可能是卸载过程序。可以进入重新安检,或返回安检计划。")
|
815
911
|
this.init()
|
816
912
|
} else {
|
@@ -819,7 +915,7 @@ export default {
|
|
819
915
|
HostApp.__this__.$goto('paper-state', {}, 'paper-router')
|
820
916
|
// 如果打回重检则重新计时
|
821
917
|
console.log('HostApp.__this__.role' + HostApp.__this__.role + ' HostApp.__this__.f_approved:' + HostApp.__this__.data.f_approved)
|
822
|
-
if(HostApp.__this__.role == 'inspect'
|
918
|
+
if (HostApp.__this__.role == 'inspect'
|
823
919
|
&& HostApp.__this__.data.f_approved
|
824
920
|
&& HostApp.__this__.data.f_approved == '打回') {
|
825
921
|
console.log('打回')
|
@@ -831,10 +927,10 @@ export default {
|
|
831
927
|
HostApp.__this__ = null
|
832
928
|
},
|
833
929
|
S4() {
|
834
|
-
return (((1+Math.random())*0x10000)|0).toString(16).substring(1);
|
930
|
+
return (((1 + Math.random()) * 0x10000) | 0).toString(16).substring(1);
|
835
931
|
},
|
836
|
-
init
|
837
|
-
this.data.f_noplan_item_id =
|
932
|
+
init() {
|
933
|
+
this.data.f_noplan_item_id = this.S4() + "" + this.S4() + "" + this.S4() + "" + this.S4() + "" + this.S4() + "" + this.S4() + "" + this.S4()
|
838
934
|
this.data.ename = Vue.user.ename
|
839
935
|
this.data.f_outlets = Vue.user.f_parentname
|
840
936
|
this.data.f_meetunit = Vue.user.orgpathnames
|
@@ -857,7 +953,7 @@ export default {
|
|
857
953
|
// 安检状态
|
858
954
|
this.$set('data.f_entry_status', '入户')
|
859
955
|
this.$set('data.f_usegas', '已使用')
|
860
|
-
this.$set('data.f_state',this.item.f_state)
|
956
|
+
this.$set('data.f_state', this.item.f_state)
|
861
957
|
// 用户信息
|
862
958
|
this.$set('data.f_user_name', this.item.f_user_name)
|
863
959
|
this.$set('data.f_user_phone', this.item.f_user_phone)
|
@@ -866,11 +962,11 @@ export default {
|
|
866
962
|
this.$set('data.f_card_id', this.item.f_card_id)
|
867
963
|
this.$set('data.f_area', this.item.f_area)
|
868
964
|
this.$set('data.f_street', this.item.f_street)
|
869
|
-
this.$set('data.f_room',this.item.f_room)
|
965
|
+
this.$set('data.f_room', this.item.f_room)
|
870
966
|
this.$set('data.f_building', this.item.f_building)
|
871
|
-
this.$set('data.f_unit',this.item.f_unit)
|
967
|
+
this.$set('data.f_unit', this.item.f_unit)
|
872
968
|
this.$set('data.f_floor', this.item.f_floor)
|
873
|
-
this.$set('data.f_residential_area'
|
969
|
+
this.$set('data.f_residential_area', this.item.f_residential_area)
|
874
970
|
this.$set('data.f_idnumber', this.item.f_idnumber)
|
875
971
|
this.$set('data.f_comments', this.item.f_comments)
|
876
972
|
this.$set('data.f_userproperties', this.item.f_userproperties)
|
@@ -886,11 +982,11 @@ export default {
|
|
886
982
|
// this.$set('data.f_room_style', '多层')
|
887
983
|
//供暖方式
|
888
984
|
// this.$set('data.f_heating_style', '热力公司集中供暖')
|
889
|
-
if(this.item.f_plan_meters) {
|
985
|
+
if (this.item.f_plan_meters) {
|
890
986
|
for (let de in this.devices) {
|
891
987
|
this.$set('data.device' + this.devices[de].n, [])
|
892
988
|
for (let i = 0; i < this.item.f_plan_meters.length; i++) {
|
893
|
-
if(this.item.f_plan_meters[i].f_meter_type) {
|
989
|
+
if (this.item.f_plan_meters[i].f_meter_type) {
|
894
990
|
if (this.devices[de].device == "燃气表" && this.item.f_plan_meters[i].f_meter_type.indexOf('机表') > 0) {
|
895
991
|
delete this.config['燃气表']['items']['累计购气量']
|
896
992
|
this.data['device' + this.devices[de].n].push({
|
@@ -1040,7 +1136,7 @@ export default {
|
|
1040
1136
|
return obj;
|
1041
1137
|
},
|
1042
1138
|
//获取当前时间
|
1043
|
-
getNowFormatDate(){
|
1139
|
+
getNowFormatDate() {
|
1044
1140
|
var date = new Date();
|
1045
1141
|
var seperator1 = "-";
|
1046
1142
|
var seperator2 = ":";
|
@@ -1059,38 +1155,69 @@ export default {
|
|
1059
1155
|
}
|
1060
1156
|
},
|
1061
1157
|
ready() {
|
1158
|
+
asyncReady(this).then(() => {
|
1062
1159
|
this.putDevices()
|
1063
|
-
|
1064
|
-
if (this.
|
1065
|
-
|
1066
|
-
|
1067
|
-
|
1068
|
-
|
1069
|
-
|
1070
|
-
id = this.item.f_paper_id
|
1071
|
-
}
|
1072
|
-
this.$resetpost(`rs/path/getUserinfomation`, {data: {condition: `id = '${id}'`}}).then((respanse) => {
|
1073
|
-
console.log('result....', respanse)
|
1160
|
+
console.log('CONFIG==', JSON.stringify(this.config))
|
1161
|
+
if (this.item.f_state != '未检' || this.item.f_no_checkplan == '无计划安检') {
|
1162
|
+
if (this.role != 'inspect') {
|
1163
|
+
let that = this
|
1164
|
+
let id = this.role == 'view' ? this.item.id : this.item.f_paper_id
|
1165
|
+
|
1166
|
+
new HttpResetClass().load('post',`${this.$androidUtil.getProxyUrl()}/api/af-safecheck/logic/path_getCheckPaper`, { id: id }).then((respanse) => {
|
1074
1167
|
if (respanse.data.length != 0) {
|
1075
|
-
//
|
1076
|
-
|
1168
|
+
// 先合并历史配置到当前配置
|
1169
|
+
if (respanse.data[0].f_devices) {
|
1170
|
+
respanse.data[0].f_devices.forEach((savedDevice) => {
|
1171
|
+
const deviceType = savedDevice.f_device_type
|
1077
1172
|
|
1078
|
-
|
1173
|
+
// 如果设备类型不存在于当前配置,则添加
|
1174
|
+
if (!this.config[deviceType]) {
|
1175
|
+
this.config[deviceType] = {
|
1176
|
+
checkmust: true,
|
1177
|
+
index: Object.keys(this.config).length + 1,
|
1178
|
+
items: {}
|
1179
|
+
}
|
1180
|
+
}
|
1181
|
+
|
1182
|
+
// 合并检查项
|
1183
|
+
savedDevice.f_items.forEach((savedItem) => {
|
1184
|
+
const itemName = savedItem.f_item_name
|
1185
|
+
if (!this.config[deviceType].items[itemName]) {
|
1186
|
+
this.config[deviceType].items[itemName] = {
|
1187
|
+
index: Object.keys(this.config[deviceType].items).length + 1,
|
1188
|
+
type: savedItem.type || 'string',
|
1189
|
+
readonly: true
|
1190
|
+
}
|
1191
|
+
}
|
1192
|
+
})
|
1193
|
+
})
|
1194
|
+
}
|
1079
1195
|
|
1196
|
+
// 处理数据
|
1080
1197
|
that.data = Object.assign(that.data, respanse.data[0])
|
1198
|
+
console.log('respanse.data[0].f_devices', respanse.data[0].f_devices)
|
1081
1199
|
if (respanse.data[0].f_devices) {
|
1082
1200
|
for (let da in that.devices) {
|
1083
1201
|
that.$set('data.device' + that.devices[da].n, [])
|
1084
1202
|
}
|
1203
|
+
console.log('that.devices==', that.devices)
|
1085
1204
|
respanse.data[0].f_devices.forEach((item) => {
|
1086
1205
|
for (let de in that.devices) {
|
1087
1206
|
if (that.devices[de].device == item.f_device_type) {
|
1088
1207
|
item.f_items.forEach((f_item) => {
|
1089
|
-
console.log(
|
1090
|
-
console.log('f_item
|
1208
|
+
console.log("9527")
|
1209
|
+
console.log('f_item====>', JSON.stringify(f_item))
|
1210
|
+
if (f_item.f_is_defect == 'true') {
|
1211
|
+
this.defectNames.push(f_item.f_item_name)
|
1212
|
+
}
|
1213
|
+
if (f_item.f_item_name == '字轮数') {
|
1214
|
+
console.log("9529")
|
1215
|
+
this.iswlw = true
|
1216
|
+
}
|
1217
|
+
/*console.log('f_item.f_path====>', f_item.f_path)*/
|
1091
1218
|
let itemValues = []
|
1092
1219
|
f_item.f_item_lists.forEach((tempItem) => {
|
1093
|
-
console.log('emm => ', f_item.f_item_name, ' ', tempItem.f_item_value)
|
1220
|
+
// console.log('emm => ', f_item.f_item_name, ' ', tempItem.f_item_value)
|
1094
1221
|
if (tempItem.f_item_value !== 'null') {
|
1095
1222
|
itemValues.push(tempItem.f_item_value)
|
1096
1223
|
}
|
@@ -1105,60 +1232,80 @@ export default {
|
|
1105
1232
|
}
|
1106
1233
|
})
|
1107
1234
|
}
|
1108
|
-
|
1109
|
-
|
1110
|
-
|
1111
|
-
|
1112
|
-
|
1113
|
-
|
1114
|
-
|
1235
|
+
|
1236
|
+
// 根据时间和类型选择配置
|
1237
|
+
this.deviceconfig = JSON.parse(JSON.stringify(this.config))
|
1238
|
+
// 处理特殊配置
|
1239
|
+
if (this.iswlw) {
|
1240
|
+
this.deviceconfig["燃气表"] = this.config3["燃气表"]
|
1241
|
+
} else if (this.data.f_collection_type == '按金额') {
|
1242
|
+
/*if (this.data.f_collection_type == '按气量') {
|
1243
|
+
this.deviceconfig["燃气表"] = this.config["燃气表"]
|
1244
|
+
} else */
|
1245
|
+
this.deviceconfig["燃气表"] = this.config2["燃气表"]
|
1115
1246
|
}
|
1116
|
-
console.log("that.data:", that.data)
|
1117
|
-
}
|
1118
|
-
// this.$goto('paper-message-blank', {userinfo:this.data,devices:this.devices,config:this.config,role:this.role}, 'self')
|
1119
|
-
this.isshow = true
|
1120
|
-
asyncReady(this).then(() => {
|
1121
|
-
console.log("66666666666")
|
1122
|
-
console.log(JSON.stringify(this.data))
|
1123
|
-
if (this.data.f_check_type=='民用'){
|
1124
|
-
this.deviceconfig=Vue.config.safecheck.DevicesConfig
|
1125
|
-
console.log("deviceconfig1==>"+JSON.stringify(this.deviceconfig))
|
1126
|
-
}else if (this.data.f_check_type=='非民用'){
|
1127
|
-
this.deviceconfig=Vue.config.safecheck.DevicesSetConfig
|
1128
|
-
console.log("deviceconfig2==>"+JSON.stringify(this.deviceconfig))
|
1129
|
-
}
|
1130
|
-
if (this.data.f_collection_type=='按气量'){
|
1131
|
-
let aaa=Object.assign({},this.config["燃气表"].items,this.deviceconfig["燃气表"].items)
|
1132
|
-
this.deviceconfig["燃气表"].items=aaa
|
1133
|
-
console.log("deviceconfig3==>"+JSON.stringify(this.deviceconfig))
|
1134
|
-
}else{
|
1135
|
-
let aaa=Object.assign({},this.config2["燃气表"].items,this.deviceconfig["燃气表"].items)
|
1136
|
-
this.deviceconfig["燃气表"].items=aaa
|
1137
|
-
//this.deviceconfig["燃气表"]=this.config2["燃气表"]
|
1138
|
-
console.log("deviceconfig4==>"+JSON.stringify(this.deviceconfig))
|
1139
|
-
}
|
1140
|
-
this.deviceconfig2=ObjConfig.getObjConfig(this.deviceconfig)
|
1141
|
-
this.deviceconfig2[0].items=jsonSort(this.deviceconfig2[0].items,"index")
|
1142
|
-
this.deviceconfig2[1].items=jsonSort(this.deviceconfig2[1].items,"index")
|
1143
|
-
this.deviceconfig2=jsonSort(this.deviceconfig2,"index")
|
1144
|
-
this.getDeviceAll()
|
1145
1247
|
|
1248
|
+
// 更新排序后的配置
|
1249
|
+
this.deviceconfig2 = ObjConfig.getObjConfig(JSON.parse(JSON.stringify(this.deviceconfig)))
|
1250
|
+
this.deviceconfig2.forEach(config => {
|
1251
|
+
config.items = jsonSort(config.items, "index")
|
1252
|
+
})
|
1253
|
+
this.deviceconfig2 = jsonSort(this.deviceconfig2, "index")
|
1146
1254
|
|
1147
|
-
|
1148
|
-
|
1149
|
-
|
1150
|
-
(respanse) => {
|
1255
|
+
this.getDeviceAll()
|
1256
|
+
}
|
1257
|
+
}).catch((respanse) => {
|
1151
1258
|
console.log('respanse', respanse)
|
1152
|
-
alert('
|
1259
|
+
alert('查找安检单失败!')
|
1153
1260
|
})
|
1261
|
+
}
|
1154
1262
|
}
|
1155
|
-
}
|
1156
|
-
|
1263
|
+
})
|
1157
1264
|
},
|
1158
|
-
watch:{
|
1159
|
-
|
1160
|
-
|
1161
|
-
|
1265
|
+
watch: {
|
1266
|
+
'data.f_overall_imgs'(val) {
|
1267
|
+
console.log('安检总体照片55555555发生变化===>', val)
|
1268
|
+
this.paperImgs = []
|
1269
|
+
if (val) {
|
1270
|
+
for (var i in val) {
|
1271
|
+
console.log(i)
|
1272
|
+
console.log(val[i])
|
1273
|
+
console.log(val[i].f_overall_path)
|
1274
|
+
if (val[i].f_overall_path)
|
1275
|
+
this.paperImgs.push({ url: '/rs/image/file/' + val[i].f_overall_path })
|
1276
|
+
}
|
1277
|
+
}
|
1278
|
+
console.log('照片URL+++++》》》', this.paperImgs)
|
1279
|
+
if (this.paperImgs.length > 0) {
|
1280
|
+
this.linenumber = Math.ceil(this.paperImgs.length / 3)
|
1281
|
+
console.log('行数--linenumber', this.linenumber)
|
1282
|
+
}
|
1283
|
+
}
|
1284
|
+
/*,
|
1285
|
+
'data.f_noanswer_path'(val){
|
1286
|
+
console.log('不遇照片55555555发生变化===>',val)
|
1287
|
+
this.paperImgs = []
|
1288
|
+
if(val) {
|
1289
|
+
this.paperImgs.push({url: val})
|
1290
|
+
}
|
1291
|
+
console.log('照片URL+++++》》》',this.paperImgs)
|
1292
|
+
if(this.paperImgs.length>0) {
|
1293
|
+
this.linenumber = Math.ceil(this.paperImgs.length / 3)
|
1294
|
+
console.log('行数--linenumber',this.linenumber)
|
1295
|
+
}
|
1296
|
+
},
|
1297
|
+
'data.f_rejectcheck_path'(val){
|
1298
|
+
console.log('拒检照片55555555发生变化===>',val)
|
1299
|
+
this.paperImgs = []
|
1300
|
+
if(val) {
|
1301
|
+
this.paperImgs.push({url: val})
|
1302
|
+
}
|
1303
|
+
console.log('照片URL+++++》》》',this.paperImgs)
|
1304
|
+
if(this.paperImgs.length>0) {
|
1305
|
+
this.linenumber = Math.ceil(this.paperImgs.length / 3)
|
1306
|
+
console.log('行数--linenumber',this.linenumber)
|
1307
|
+
}
|
1308
|
+
}*/
|
1162
1309
|
},
|
1163
1310
|
destroyed() {
|
1164
1311
|
console.log('退出当前页Set')
|
@@ -1167,15 +1314,3 @@ export default {
|
|
1167
1314
|
}
|
1168
1315
|
|
1169
1316
|
</script>
|
1170
|
-
<style scoped>
|
1171
|
-
.table-striped thead tr th {
|
1172
|
-
background-color: rgb(223,237,251);
|
1173
|
-
padding: 10px;
|
1174
|
-
border-left: solid 0px #dae4f2;
|
1175
|
-
border-top: solid 1px #dae4f2;
|
1176
|
-
border-right: none;
|
1177
|
-
border-bottom: none;
|
1178
|
-
text-align: center;
|
1179
|
-
color: black;
|
1180
|
-
}
|
1181
|
-
</style>
|