safecheck-client 3.1.1-gaomi-5 → 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-liaoyuan → 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/{SafePlan-shaoguan → 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/{SafePlanrongcheng → 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 +49 -551
- 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 +246 -241
- 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/.npmignore +0 -15
- 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/package-lock.json +0 -10779
- 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
@@ -17,9 +17,10 @@
|
|
17
17
|
<!--<button type="button" name="button" class="btn btn-primary" @click='deletedetails()' :disabled="issee">删除</button>-->
|
18
18
|
<!--</div>-->
|
19
19
|
<div class="shuclass1" v-show="row.isshow" v-for="row in f_items" style="padding: 4px; border:1px solid #D4D4D4;border-bottom: 0" >
|
20
|
-
<label v-if="row.type != 'radio' && row.type != 'text' &&
|
21
|
-
<label v-if="row.type == 'radio'" v-show="row.isshow" class="radiolabel">{{row.f_item_name}}<br/>{{row.remark}}</label>
|
22
|
-
<label v-if="row.type == 'text'
|
20
|
+
<label v-if="row.type != 'radio' && row.type != 'text' && row.type != 'checkbox'" v-show="row.isshow" class="fivelabel" :class="{'defectfront' :row.f_is_defect != ''}">{{row.f_item_name}}<br/>{{row.remark}}</label>
|
21
|
+
<label v-if="row.type == 'radio'" v-show="row.isshow" class="radiolabel" :class="{'defectfront' :row.f_is_defect != ''}">{{row.f_item_name}}<br/>{{row.remark}}</label>
|
22
|
+
<label v-if="row.type == 'text'" v-show="row.isshow" class="textlabel1" :class="{'defectfront' :row.f_is_defect != ''}">{{row.f_item_name}}<br/>{{row.remark}}</label>
|
23
|
+
<label v-if="row.type == 'checkbox'" v-show="row.isshow" class="textlabel" :class="{'defectfront' :row.f_is_defect != ''}">{{row.f_item_name}}<br/>{{row.remark}}</label>
|
23
24
|
<!--<span v-if="show" style="font-weight:bold">{{row.f_content}}</span>-->
|
24
25
|
<!--<datepicker placeholder="请选择时间"-->
|
25
26
|
<!--:value.sync="row.f_content"-->
|
@@ -28,17 +29,18 @@
|
|
28
29
|
<!--v-if="!show && row.type == 'date'"-->
|
29
30
|
<!--:readonly="true"-->
|
30
31
|
<!--></datepicker>-->
|
31
|
-
<div style="
|
32
|
-
<
|
32
|
+
<div style="float: left;width:60%" v-if="row.type == 'picture'" class="form-group" >
|
33
|
+
<button style="float: left;" v-show="!row.f_path" type="button" name="button" class="btn btn-primary" @click="takePic($index, row.f_item_name,1)">拍照</button>
|
34
|
+
<div class="auto" v-show="row.f_path" style="float: left;">
|
33
35
|
<div class="panel">
|
34
36
|
<div class="panel-body panel-self" style="background-color: #F8F8F8;width: 160px;height: 160px;position: relative">
|
35
37
|
<div class="row" style="height: 160px;width:160px;overflow: scroll;top: 1px">
|
36
38
|
<div class="col-sm-4" v-show="row.f_path">
|
37
39
|
<img-self :src="row.f_path" :alt="row.f_item_name" width="140" height="140"></img-self>
|
38
40
|
</div>
|
39
|
-
<div class="col-sm-4" v-show="!row.f_path" @click="takePic($index, row.f_item_name)"
|
40
|
-
<img src="../../assets/tackpic.png" :alt="点击拍摄照片" width="140" height="140"></img
|
41
|
-
</div
|
41
|
+
<!-- <div class="col-sm-4" v-show="!row.f_path" @click="takePic($index, row.f_item_name,1)">-->
|
42
|
+
<!-- <img src="../../assets/tackpic.png" :alt="点击拍摄照片" width="140" height="140"></img>-->
|
43
|
+
<!-- </div>-->
|
42
44
|
<img v-show="row.f_path" src="../../assets/remove.png" :class="style__" @click="delfile($index, row.f_path)" v-if="role!='androidview'" style="width: 40px;height: 40px;position: absolute;left:110px;top:110px"></img>
|
43
45
|
</div>
|
44
46
|
</div>
|
@@ -48,8 +50,37 @@
|
|
48
50
|
<div style="float: left;width:60%" class="form-group" v-if="row.type == 'string'" v-show="row.isshow">
|
49
51
|
<input type="text" class="form-control" maxlength="100" v-model="row.f_item_value" :readonly="role == 'androidview' || row.readonly">
|
50
52
|
</div>
|
53
|
+
<div style="float: left;width:60%" class="form-group col-sm-12" v-if="row.type == 'date'" v-show="row.isshow">
|
54
|
+
<datepicker id="f_making_date" :placeholder= row.f_item_name
|
55
|
+
:value.sync="row.f_item_value"
|
56
|
+
v-if="row.type == 'date'"
|
57
|
+
v-show="row.isshow"
|
58
|
+
:disabled-days-of-Week="[]"
|
59
|
+
:format="'yyyy-MM-dd'"
|
60
|
+
:show-reset-button="reset" readonly="readonly">
|
61
|
+
</datepicker>
|
62
|
+
</div>
|
63
|
+
<div style="float: left;width:60%" class="form-group" v-if="row.type == 'stringp'" v-show="row.isshow">
|
64
|
+
|
65
|
+
<input type="text" class="form-control" maxlength="100" v-model="row.f_item_value" :readonly="role == 'androidview' || row.readonly">
|
66
|
+
<div class="auto" v-if="row.f_item_value" >
|
67
|
+
<div class="panel">
|
68
|
+
<div class="panel-body panel-self" style="background-color: #F8F8F8;width: 160px;height: 160px;position: relative">
|
69
|
+
<div class="row" style="height: 160px;width:160px;overflow: scroll;top: 1px">
|
70
|
+
<div class="col-sm-4" v-show="row.f_path">
|
71
|
+
<img-self :src="row.f_path" :alt="row.f_item_name" width="140" height="140"></img-self>
|
72
|
+
</div>
|
73
|
+
<div class="col-sm-4" v-show="!row.f_path" @click="takePic($index, row.f_item_name)">
|
74
|
+
<img src="../../assets/tackpic.png" :alt="点击拍摄照片" width="140" height="140"></img>
|
75
|
+
</div>
|
76
|
+
<img v-show="row.f_path" src="../../assets/remove.png" :class="style__" @click="delfile($index, row.f_path,1)" v-if="role!='androidview'" style="width: 40px;height: 40px;position: absolute;left:110px;top:110px"></img>
|
77
|
+
</div>
|
78
|
+
</div>
|
79
|
+
</div>
|
80
|
+
</div>
|
81
|
+
</div>
|
51
82
|
<div style="float: left;width:60%" class="form-group" v-if="!show && row.type == 'number'" v-show="row.isshow">
|
52
|
-
<input type="text" class="form-control" maxlength="100" v-model="row.f_item_value"
|
83
|
+
<input type="text" class="form-control" maxlength="100" v-model="row.f_item_value" @change="row.f_item_value=replaceStr(row.f_item_value)" :readonly="row.readonly">
|
53
84
|
</div>
|
54
85
|
<!--<input type="text" class="form-control" v-model="row.f_content" v-if="!show && row.type == 'string' && row.f_project != '表号'" :disabled="(!(ischecked == '有')) || issee" :readonly="issee">-->
|
55
86
|
<!--<input type="text" class="form-control" v-model="meternum" v-if="!show && row.type == 'string' && row.f_project == '表号' " :disabled="(!(ischecked == '有')) || issee" :readonly="issee" >-->
|
@@ -65,18 +96,17 @@
|
|
65
96
|
<v-select style="float: left" :value.sync="row.selected"
|
66
97
|
v-model="row.selected"
|
67
98
|
v-if="row.type == 'selector'"
|
68
|
-
:search="false"
|
69
99
|
v-show="row.isshow"
|
70
100
|
placeholder='请选择'
|
71
101
|
:options="row.options"
|
72
102
|
:disabled="role == 'androidview' || row.readonly"
|
73
103
|
@change="changse"
|
74
104
|
@click="transelation($index)"
|
75
|
-
:
|
105
|
+
:multi ple="row.multiple"
|
76
106
|
:close-on-select="!row.multiple" clear-button></v-select>
|
77
107
|
<div style="float: left;width: 30%" class="form-group" v-if="!show && row.type == 'radio'">
|
78
108
|
<div class="col-xs-6 col-sm-6 col-md-6" v-for="item in row.options">
|
79
|
-
<input type="radio" :name="row.f_item_name"
|
109
|
+
<input type="radio" :name="row.f_item_name" :value="item.value" :disabled="(!(ischecked == '有')) || issee" v-model="row.f_item_value" >
|
80
110
|
<span>{{item.label}}</span>
|
81
111
|
</div>
|
82
112
|
</div>
|
@@ -94,8 +124,8 @@
|
|
94
124
|
</div>
|
95
125
|
<div style="clear: both">
|
96
126
|
<div class="form-group" v-if="(row.type == 'selector' || row.type == 'radio' || row.type =='checkbox') && (row.f_path != '' || row.f_is_defect != '') && (livedispose == 'true' || livedispose == true) " >
|
97
|
-
<label class="fivelabel"
|
98
|
-
<v-select :value="row.
|
127
|
+
<label class="fivelabel">处理方式</label>
|
128
|
+
<v-select :value="row.f_processing"
|
99
129
|
:value-single="true"
|
100
130
|
:options="lives"
|
101
131
|
:disabled="role == 'androidview'"
|
@@ -103,23 +133,39 @@
|
|
103
133
|
@click="transelation($index)"
|
104
134
|
close-on-select clear-button></v-select>
|
105
135
|
</div>
|
106
|
-
<div class="form-group col-sm-12" v-if="(row.type == 'selector' || row.type == 'radio' || row.type =='checkbox') && (row.f_path != '' || row.f_is_defect != '')" style="margin-top: 40px">
|
107
|
-
<div class="auto" >
|
136
|
+
<div class="form-group col-sm-12" v-if="(row.type == 'selector' || row.type == 'radio' || row.type =='checkbox' || row.type =='string') && (row.f_path != '' || row.f_is_defect != '')" style="margin-top: 40px">
|
137
|
+
<div class="auto" style="display: inline-block;">
|
108
138
|
<div class="panel">
|
109
139
|
<div class="panel-body panel-self" style="background-color: #F8F8F8;width: 160px;height: 160px;position: relative">
|
110
140
|
<div class="row" style="height: 160px;width:160px;overflow: scroll;top: 1px">
|
111
141
|
<div class="col-sm-4" v-show="row.f_path">
|
112
142
|
<img-self :src="row.f_path" :alt="row.f_item_name" width="140" height="140"></img-self>
|
113
143
|
</div>
|
114
|
-
<div class="col-sm-4" v-show="!row.f_path" @click="takePic($index, row.f_item_name)">
|
144
|
+
<div class="col-sm-4" v-show="!row.f_path" @click="takePic($index, row.f_item_name,1)">
|
145
|
+
<img src="../../assets/tackpic.png" :alt="点击拍摄照片" width="140" height="140"></img>
|
146
|
+
</div>
|
147
|
+
<img v-show="row.f_path" src="../../assets/remove.png" :class="style__" @click="delfile($index, row.f_path,1)" v-if="role!='androidview'" style="width: 40px;height: 40px;position: absolute;left:110px;top:110px"></img>
|
148
|
+
</div>
|
149
|
+
</div>
|
150
|
+
</div>
|
151
|
+
</div>
|
152
|
+
<div class="auto" style="display: inline-block;">
|
153
|
+
<div class="panel">
|
154
|
+
<div class="panel-body panel-self" style="background-color: #F8F8F8;width: 160px;height: 160px;position: relative">
|
155
|
+
<div class="row" style="height: 160px;width:160px;overflow: scroll;top: 1px">
|
156
|
+
<div class="col-sm-4" v-show="row.f_second_path">
|
157
|
+
<img-self :src="row.f_second_path" :alt="row.f_item_name" width="140" height="140"></img-self>
|
158
|
+
</div>
|
159
|
+
<div class="col-sm-4" v-show="!row.f_second_path" @click="takePic($index, row.f_item_name,2)">
|
115
160
|
<img src="../../assets/tackpic.png" :alt="点击拍摄照片" width="140" height="140"></img>
|
116
161
|
</div>
|
117
|
-
<img v-show="row.
|
162
|
+
<img v-show="row.f_second_path" src="../../assets/remove.png" :class="style__" @click="delfile($index, row.f_second_path,2)" v-if="role!='androidview'" style="width: 40px;height: 40px;position: absolute;left:110px;top:110px"></img>
|
118
163
|
</div>
|
119
164
|
</div>
|
120
165
|
</div>
|
121
166
|
</div>
|
122
167
|
</div>
|
168
|
+
|
123
169
|
<div class="auto" v-if="(row.type == 'selector' || row.type == 'radio' || row.type =='checkbox') && row.tooltip != undefined && row.tooltip != '' ">
|
124
170
|
<div class="panel">
|
125
171
|
<div class="panel-body panel-self" style="background-color: #F8F8F8;width: 100%;height: auto">
|
@@ -128,15 +174,7 @@
|
|
128
174
|
</div>
|
129
175
|
</div>
|
130
176
|
</div>
|
131
|
-
|
132
|
-
v-if="row.type == 'date'"
|
133
|
-
:value.sync="row.f_item_value"
|
134
|
-
v-show="row.isshow"
|
135
|
-
:disabled-days-of-Week="[]"
|
136
|
-
:format="'yyyy-MM'"
|
137
|
-
class="col-xs-8"
|
138
|
-
:show-reset-button="reset" readonly="readonly">
|
139
|
-
</datepicker>
|
177
|
+
|
140
178
|
<!--<v-select :value.sync="row.f_content" :options='getOptions(row.f_project)' placeholder='请选择' :disabled="(!(ischecked == '有')) || issee" close-on-select :value-single="true" v-if="!show && row.type == 'selector' && row.f_project != '气表品牌'"-->
|
141
179
|
<!--></v-select>-->
|
142
180
|
<!--<v-select :value.sync="row.f_content" :options='getOptions(row.f_project)' @change="getgasmodel" placeholder='请选择' :disabled="(!(ischecked == '有')) || issee" close-on-select :value-single="true" v-if="!show && row.type == 'selector' && row.f_project == '气表品牌'"-->
|
@@ -177,10 +215,10 @@
|
|
177
215
|
f_items:[],
|
178
216
|
page:{},
|
179
217
|
selectindex:null,
|
180
|
-
lives:[{label: '
|
181
|
-
f_live_dispose:'
|
218
|
+
lives:[{label: '现场处理', value: '现场处理'},{label: '用户自行处理', value: '用户自行处理'},{label: '需转维修处理', value: '需转维修处理'}],
|
219
|
+
f_live_dispose:'需转维修处理',
|
182
220
|
// 初始表底
|
183
|
-
f_initial_base: {},
|
221
|
+
//f_initial_base: {},
|
184
222
|
// 气量异常差值 计算公式 => 气量异常差值 = 累计购气量 - (已用气量 - 初始表底) - 剩余气量
|
185
223
|
f_gas_aberrant_number: {},
|
186
224
|
// 金额异常差值 计算公式 => 金额异常差值 = 累计购金额 - 已用金额 - 剩余金额
|
@@ -197,6 +235,15 @@
|
|
197
235
|
f_gas_balance: {},
|
198
236
|
// 剩余金额
|
199
237
|
f_fee_balance: {},
|
238
|
+
|
239
|
+
//物联网表数据存储
|
240
|
+
f_balance_amount:{},//物联网表剩余金额
|
241
|
+
f_meter_base:{},//物联网表读数
|
242
|
+
f_balance_amount1:{},//物联网表现场录入的表上剩余金额
|
243
|
+
f_meter_base1:{},//物联网表现场录入的表字轮数
|
244
|
+
f_meter_aberrant_number1: {},//物联网表 表数异常差值
|
245
|
+
f_fee_aberrant_number1: {},//物联网 表金额异常差值
|
246
|
+
|
200
247
|
// 气量异常差值允许误差
|
201
248
|
gasDeviation: (
|
202
249
|
function (_this) {
|
@@ -208,6 +255,17 @@
|
|
208
255
|
}
|
209
256
|
}
|
210
257
|
)(this),
|
258
|
+
// 气量异常差值允许误差
|
259
|
+
meterbase: (
|
260
|
+
function (_this) {
|
261
|
+
let deviation = _this.$appdata.getSingleValue('字轮异常差值允许误差')
|
262
|
+
if (deviation && !isNaN(deviation)) {
|
263
|
+
return deviation
|
264
|
+
} else {
|
265
|
+
return 0
|
266
|
+
}
|
267
|
+
}
|
268
|
+
)(this),
|
211
269
|
// 金额异常差值允许误差
|
212
270
|
feeDeviation: (
|
213
271
|
function (_this) {
|
@@ -251,6 +309,14 @@
|
|
251
309
|
// issee:''
|
252
310
|
// },
|
253
311
|
methods: {
|
312
|
+
replaceStr(value){
|
313
|
+
if(value){
|
314
|
+
if(value.indexOf(".")==0 || ((value.split('.')).length-1)>1 || value.lastIndexOf(".")==(value.length-1)){
|
315
|
+
return ''
|
316
|
+
}
|
317
|
+
return value.replace(/[^\d\.]/g,'')
|
318
|
+
}
|
319
|
+
},
|
254
320
|
changse(val){
|
255
321
|
if(val == undefined){
|
256
322
|
return
|
@@ -268,7 +334,32 @@
|
|
268
334
|
return
|
269
335
|
}
|
270
336
|
if(this.selectindex != null) {
|
271
|
-
|
337
|
+
if (val === '现场处理') {
|
338
|
+
this.f_items[this.selectindex].f_processing = '现场处理' // 处理方式 【现场处理、用户自行处理、需转维修处理】
|
339
|
+
this.f_items[this.selectindex].f_is_repaired = '不转维修' // 是否已经转维修处理过了 【已转维修、维修已处理、需转维修、不转维修,空字符串(目前空串都是异常差值)】
|
340
|
+
this.f_items[this.selectindex].f_live_dispose = '是' // 是否现场处理 【是、否】
|
341
|
+
this.f_items[this.selectindex].f_user_changes = '否' //用户自行整改 【是、否】
|
342
|
+
} else if (val ==='用户自行处理') {
|
343
|
+
this.f_items[this.selectindex].f_processing = '用户自行处理' // 处理方式 【现场处理、用户自行处理、需转维修处理】
|
344
|
+
this.f_items[this.selectindex].f_is_repaired = '不转维修' // 是否已经转维修处理过了 【已转维修、维修已处理、需转维修、不转维修,空字符串(目前空串都是异常差值)】
|
345
|
+
this.f_items[this.selectindex].f_live_dispose = '否' // 是否现场处理 【是、否】
|
346
|
+
this.f_items[this.selectindex].f_user_changes = '是' // 用户自行整改 【是、否】
|
347
|
+
} else if (val === '需转维修处理') {
|
348
|
+
this.f_items[this.selectindex].f_processing = '需转维修处理' // 处理方式 【现场处理、用户自行处理、需转维修处理】
|
349
|
+
this.f_items[this.selectindex].f_is_repaired = '需转维修' // 是否已经转维修处理过了 【已转维修、维修已处理、需转维修、不转维修,空字符串(目前空串都是异常差值)】
|
350
|
+
this.f_items[this.selectindex].f_live_dispose = '否' // 是否现场处理 【是、否】
|
351
|
+
this.f_items[this.selectindex].f_user_changes = '否' // 用户自行整改 【是、否】
|
352
|
+
}
|
353
|
+
// 如果选项里面的所有内容中 用户自行整改有一个为 “是” 则勾选隐患整改单必须拍照
|
354
|
+
for (let nindex in this.f_items) {
|
355
|
+
if (this.f_items[nindex].f_user_changes=== '是') {
|
356
|
+
this.$parent.$parent.data.f_defect_notified = true
|
357
|
+
break
|
358
|
+
} else {
|
359
|
+
this.$parent.$parent.data.f_defect_notified = false;
|
360
|
+
}
|
361
|
+
}
|
362
|
+
// this.f_items[this.selectindex].f_live_dispose = val
|
272
363
|
}
|
273
364
|
},
|
274
365
|
switchDetails(detailsType, event){
|
@@ -340,7 +431,7 @@
|
|
340
431
|
}
|
341
432
|
})
|
342
433
|
},
|
343
|
-
takePic(prop, title) {
|
434
|
+
takePic(prop, title,order) {
|
344
435
|
if (this.role == 'androidview') {
|
345
436
|
return
|
346
437
|
}
|
@@ -348,30 +439,45 @@
|
|
348
439
|
HostApp.__this__ = this
|
349
440
|
console.log('this.f_items[prop]:' + prop)
|
350
441
|
let fileName
|
351
|
-
if(!this.f_items[prop].f_path || this.f_items[prop].f_path.includes("nopic.png")) {
|
442
|
+
if(order==1 && (!this.f_items[prop].f_path || this.f_items[prop].f_path.includes("nopic.png"))) {
|
352
443
|
fileName = Util.guid() + '-' + 'device'+this.device.n + '-' + this.idx + '-'+'f_items'+prop+ '.jpg'
|
353
|
-
}
|
444
|
+
}else if(order==2 && (!this.f_items[prop].f_second_path || this.f_items[prop].f_path.includes("nopic.png"))) {
|
445
|
+
fileName = Util.guid() + '-' + 'device'+this.device.n + '-' + this.idx + '-'+'f_items'+prop+ '.jpg'
|
446
|
+
}else {
|
354
447
|
fileName = Util.getFileName(this.f_items[prop].f_path)
|
355
448
|
}
|
356
449
|
HostApp._open_a_page({type: 'boomerang',
|
357
450
|
page: 'com.aofeng.hybrid.android.peripheral.CameraActivity',
|
358
|
-
param: {file: fileName, requestCode: 111, callback:'javascript:HostApp.__callback__("'+ prop +'", "%s");', watermark: title + '\t时间:'+ Util.toStandardTimeString() + '\t' + Vue.user.name}
|
451
|
+
param: {file: fileName, requestCode: 111, callback:'javascript:HostApp.__callback__("'+ prop +'", "%s",'+order+');', watermark: title + '\t时间:'+ Util.toStandardTimeString() + '\t' + Vue.user.name+'\t'+`安检员地址:${this.$parent.$parent.gps.address}`+'\t'+`用户地址:${this.$parent.$parent.item.f_address}`}
|
359
452
|
})
|
360
453
|
},
|
361
|
-
cameraCallBack(prop, fileName) {
|
362
|
-
|
363
|
-
|
454
|
+
cameraCallBack(prop, fileName,order) {
|
455
|
+
console.log("传入参数---"+order)
|
456
|
+
if(order==2){
|
457
|
+
HostApp.__this__.$set( 'f_items['+prop+'].f_second_path', fileName + '?' + Math.random())
|
458
|
+
console.log("path11111111111111111111111111:"+this.f_items[prop].f_second_path)
|
459
|
+
console.log(HostApp.__this__.f_items[prop].f_second_path)
|
460
|
+
}else{
|
461
|
+
HostApp.__this__.$set( 'f_items['+prop+'].f_path', fileName + '?' + Math.random())
|
462
|
+
console.log("path000000000000000000000000000:"+this.f_items[prop].f_path)
|
463
|
+
console.log(HostApp.__this__.f_items[prop].f_path)
|
464
|
+
}
|
364
465
|
HostApp.__callback__ = null
|
365
466
|
HostApp.__this__ = null
|
366
467
|
},
|
367
|
-
delfile(prop, fileName) {
|
468
|
+
delfile(prop, fileName,order) {
|
368
469
|
console.log('照片路径')
|
369
470
|
console.log(JSON.stringify(fileName))
|
370
471
|
if(fileName == Vue.nopic)
|
371
472
|
return
|
372
473
|
else {
|
373
|
-
|
374
|
-
|
474
|
+
if(order==2){
|
475
|
+
HostApp.delfile(fileName)
|
476
|
+
this.f_items[prop].f_second_path = Vue.nopic
|
477
|
+
}else{
|
478
|
+
HostApp.delfile(fileName)
|
479
|
+
this.f_items[prop].f_path = Vue.nopic
|
480
|
+
}
|
375
481
|
}
|
376
482
|
},
|
377
483
|
adddetails(){
|
@@ -401,6 +507,7 @@
|
|
401
507
|
},
|
402
508
|
towatch(){
|
403
509
|
for(let n in this.f_items){
|
510
|
+
|
404
511
|
if(this.f_items[n].type == 'selector' || this.f_items[n].type == 'inputSelector'){
|
405
512
|
// 监听下拉框,如果有隐患,需要拍照
|
406
513
|
this.$watch('f_items['+n+'].selected',function(val) {
|
@@ -455,12 +562,18 @@
|
|
455
562
|
this.f_items[n].f_is_defect =true
|
456
563
|
this.f_items[n].f_defect_level = options[i].level
|
457
564
|
this.f_items[n].f_path = Vue.nopic
|
458
|
-
this.f_items[n].f_live_dispose = '否'
|
565
|
+
this.f_items[n].f_live_dispose = '否' //是否现场处理 【是、否】
|
566
|
+
this.f_items[n].f_processing = '需转维修处理' //处理方式 【现场处理、用户自行处理、需转维修处理】
|
567
|
+
this.f_items[n].f_is_repaired = '需转维修' // 是否已经转维修处理过了 【已转维修、维修已处理、需转维修、不转维修,空字符串(目前空串都是异常差值)】
|
568
|
+
this.f_items[n].f_user_changes = '否' // 用户自行整改 【是、否】
|
459
569
|
this.f_items[n].tooltip= options[i].tooltip
|
460
570
|
}else{
|
461
571
|
this.f_items[n].f_path = ''
|
462
572
|
this.f_items[n].f_is_defect = ''
|
463
573
|
this.f_items[n].f_defect_level = ''
|
574
|
+
this.f_items[n].f_processing = ''
|
575
|
+
this.f_items[n].f_is_repaired = ''
|
576
|
+
this.f_items[n].f_user_changes = ''
|
464
577
|
this.f_items[n].f_live_dispose = ''
|
465
578
|
this.f_items[n].tooltip = ''
|
466
579
|
}
|
@@ -481,21 +594,71 @@
|
|
481
594
|
//
|
482
595
|
// })
|
483
596
|
}else if(this.f_items[n].type == 'radio') {
|
597
|
+
//如果radio有默认值 就判断级联项是否显示
|
598
|
+
if (this.f_items[n].correlation) {
|
599
|
+
if(this.f_items[n].f_item_value){
|
600
|
+
for (let i = 0; i < this.f_items[n].options.length; i++){
|
601
|
+
if(this.f_items[n].f_item_value==this.f_items[n].options[i].value){
|
602
|
+
if (this.f_items[n].options[i].selcorrelation) {
|
603
|
+
for (let itm = 1; itm <= this.f_items[n].correlationnum; itm++){
|
604
|
+
console.log('111this.f_items[n+itm] ===> ' + JSON.stringify(this.f_items[n+itm]))
|
605
|
+
console.log('111n-------------itm ' + n+"-------"+itm)
|
606
|
+
let idex=parseInt(n)+parseInt(itm)
|
607
|
+
console.log("indx"+idex)
|
608
|
+
this.f_items[idex].isshow=false
|
609
|
+
this.f_items[idex].f_path=''
|
610
|
+
this.f_items[idex].f_item_value=''
|
611
|
+
}
|
612
|
+
}
|
613
|
+
}
|
614
|
+
}
|
615
|
+
}
|
616
|
+
}
|
484
617
|
// 监听单选框,如果有隐患,需要拍照
|
485
618
|
this.$watch('f_items[' + n + '].f_item_value', function (val) {
|
619
|
+
console.log('11this.f_items ===> ' + JSON.stringify(this.f_items))
|
486
620
|
console.log('radio selected ===> ' + JSON.stringify(val))
|
621
|
+
console.log('this.f_items[n] ===> ' + JSON.stringify(JSON.stringify(this.f_items[n])))
|
487
622
|
let options = this.f_items[n].options
|
488
623
|
console.log('this.f_items[n].options ===> ' + JSON.stringify(this.f_items[n].options))
|
489
624
|
for (let i = 0; i < options.length; i++) {
|
490
625
|
console.log('option ===> ' + JSON.stringify(options[i]))
|
491
626
|
// 找到选中的项了
|
492
627
|
if (options[i].value == val) {
|
628
|
+
//当项是否有级联显示开关
|
629
|
+
if (this.f_items[n].correlation) {
|
630
|
+
//当选中值是否有级联显示开关
|
631
|
+
if (options[i].selcorrelation) {
|
632
|
+
//如果有就关闭所有子项的显示 并且清空数据
|
633
|
+
for (let itm = 1; itm <= this.f_items[n].correlationnum; itm++){
|
634
|
+
console.log('1this.f_items[n+itm] ===> ' + JSON.stringify(this.f_items[n+itm]))
|
635
|
+
console.log('n-------------itm ' + n+"-------"+itm)
|
636
|
+
let idex=parseInt(n)+parseInt(itm)
|
637
|
+
console.log("indx"+idex)
|
638
|
+
this.f_items[idex].isshow=false
|
639
|
+
this.f_items[idex].f_path=''
|
640
|
+
this.f_items[idex].f_item_value=''
|
641
|
+
}
|
642
|
+
}else{
|
643
|
+
for (let itm = 1; itm <= this.f_items[n].correlationnum; itm++){
|
644
|
+
console.log('2this.f_items[n+itm] ===> ' + JSON.stringify(this.f_items[n+itm]))
|
645
|
+
console.log('n-------------itm ' + n+"-------"+itm)
|
646
|
+
let idex=parseInt(n)+parseInt(itm)
|
647
|
+
console.log("indx"+idex)
|
648
|
+
this.f_items[idex].isshow=true
|
649
|
+
}
|
650
|
+
}
|
651
|
+
console.log('this.f_items ===> ' + JSON.stringify(JSON.stringify(this.f_items)))
|
652
|
+
}
|
493
653
|
// 如果有隐患,拍图片
|
494
654
|
if (options[i].isdefect) {
|
495
655
|
this.f_items[n].f_is_defect = true
|
496
656
|
this.f_items[n].f_defect_level = options[i].level
|
497
657
|
this.f_items[n].f_path = Vue.nopic
|
498
|
-
this.f_items[n].f_live_dispose = '否'
|
658
|
+
this.f_items[n].f_live_dispose = '否' //是否现场处理 【是、否】
|
659
|
+
this.f_items[n].f_processing = '需转维修处理' //处理方式 【现场处理、用户自行处理、需转维修处理】
|
660
|
+
this.f_items[n].f_is_repaired = '需转维修' // 是否已经转维修处理过了 【已转维修、维修已处理、需转维修、不转维修,空字符串(目前空串都是异常差值)】
|
661
|
+
this.f_items[n].f_user_changes = '否' // 用户自行整改 【是、否】
|
499
662
|
this.f_items[n].tooltip = options[i].tooltip
|
500
663
|
console.log('this.f_items[n] ===> ' + JSON.stringify(this.f_items[n]))
|
501
664
|
return
|
@@ -505,6 +668,9 @@
|
|
505
668
|
this.f_items[n].f_path = ''
|
506
669
|
this.f_items[n].f_is_defect = ''
|
507
670
|
this.f_items[n].f_defect_level = ''
|
671
|
+
this.f_items[n].f_processing = ''
|
672
|
+
this.f_items[n].f_is_repaired = ''
|
673
|
+
this.f_items[n].f_user_changes = ''
|
508
674
|
this.f_items[n].f_live_dispose = ''
|
509
675
|
this.f_items[n].tooltip = ''
|
510
676
|
})
|
@@ -532,6 +698,9 @@
|
|
532
698
|
this.f_items[n].f_path = ''
|
533
699
|
this.f_items[n].f_is_defect = ''
|
534
700
|
this.f_items[n].f_defect_level = ''
|
701
|
+
this.f_items[n].f_processing = ''
|
702
|
+
this.f_items[n].f_is_repaired = ''
|
703
|
+
this.f_items[n].f_user_changes = ''
|
535
704
|
this.f_items[n].f_live_dispose = ''
|
536
705
|
this.f_items[n].tooltip = ''
|
537
706
|
return
|
@@ -543,7 +712,10 @@
|
|
543
712
|
this.f_items[n].f_is_defect = true
|
544
713
|
this.f_items[n].f_defect_level = selected[0].level
|
545
714
|
this.f_items[n].f_path = Vue.nopic
|
546
|
-
this.f_items[n].f_live_dispose = '否'
|
715
|
+
this.f_items[n].f_live_dispose = '否' //是否现场处理 【是、否】
|
716
|
+
this.f_items[n].f_processing = '需转维修处理' //处理方式 【现场处理、用户自行处理、需转维修处理】
|
717
|
+
this.f_items[n].f_is_repaired = '需转维修' // 是否已经转维修处理过了 【已转维修、维修已处理、需转维修、不转维修,空字符串(目前空串都是异常差值)】
|
718
|
+
this.f_items[n].f_user_changes = '否' // 用户自行整改 【是、否】
|
547
719
|
this.f_items[n].tooltip = selected[0].tooltip
|
548
720
|
}
|
549
721
|
console.log('this.f_items[n] ===> ' + JSON.stringify(this.f_items[n]))
|
@@ -552,33 +724,57 @@
|
|
552
724
|
this.f_items[n].f_path = ''
|
553
725
|
this.f_items[n].f_is_defect = ''
|
554
726
|
this.f_items[n].f_defect_level = ''
|
727
|
+
this.f_items[n].f_processing = ''
|
728
|
+
this.f_items[n].f_is_repaired = ''
|
729
|
+
this.f_items[n].f_user_changes = ''
|
555
730
|
this.f_items[n].f_live_dispose = ''
|
556
731
|
this.f_items[n].tooltip = ''
|
557
732
|
})
|
733
|
+
}else if(this.f_items[n].type == 'string') {
|
734
|
+
this.$watch('f_items[' + n + '].f_item_value', function (val) {
|
735
|
+
if (this.f_items[n].f_item_value && this.f_items[n].isdefect){
|
736
|
+
this.f_items[n].f_is_defect = true
|
737
|
+
this.f_items[n].f_defect_level = ''
|
738
|
+
this.f_items[n].f_path = Vue.nopic
|
739
|
+
this.f_items[n].f_live_dispose = '否'
|
740
|
+
this.f_items[n].f_deal_dispose = '未处理'
|
741
|
+
this.f_items[n].tooltip = ''
|
742
|
+
}else {
|
743
|
+
this.f_items[n].f_path = ''
|
744
|
+
this.f_items[n].f_is_defect = ''
|
745
|
+
this.f_items[n].f_defect_level = ''
|
746
|
+
this.f_items[n].f_live_dispose = ''
|
747
|
+
this.f_items[n].f_deal_dispose = ''
|
748
|
+
this.f_items[n].tooltip = ''
|
749
|
+
}
|
750
|
+
})
|
751
|
+
}
|
752
|
+
if(this.f_items[n].f_item_name=='燃气灶购买年份' || this.f_items[n].f_item_name=='壁挂炉购买年份' || this.f_items[n].f_item_name=='热水器购买年份'){
|
753
|
+
this.$watch('f_items[' + n + '].f_item_value',function(val){
|
754
|
+
if(val){
|
755
|
+
let d1=new Date(val)
|
756
|
+
let idex=parseInt(n)+1
|
757
|
+
this.f_items[idex].f_item_value =(d1.getFullYear()+8)+'-'+(d1.getMonth()+1)
|
758
|
+
}
|
759
|
+
})
|
558
760
|
}
|
559
761
|
}
|
560
762
|
console.log('deviceitem.f_items=====>'+JSON.stringify(this.f_items))
|
561
763
|
},
|
562
|
-
getGasAberrantNumber(
|
764
|
+
getGasAberrantNumber() {
|
563
765
|
console.log('检测到气量变化了 ===> ')
|
564
766
|
|
565
767
|
// 先清空
|
566
768
|
this.f_items[this.f_gas_aberrant_number.index].f_item_value = null
|
567
769
|
this.f_items[this.f_gas_aberrant_number.index].f_is_defect = false
|
568
|
-
|
569
|
-
//剩余气量 = 累购-已用
|
570
|
-
this.f_items[this.f_gas_balance.index].f_item_value= this.f_items[this.f_total_gas.index].f_item_value-this.f_items[this.f_table_base.index].f_item_value
|
571
|
-
if (isNaN(this.f_items[this.f_gas_balance.index].f_item_value)) {
|
572
|
-
this.f_items[this.f_gas_balance.index].f_item_value = null
|
573
|
-
}
|
574
|
-
}
|
770
|
+
|
575
771
|
// 只有两个值都填了才会计算
|
576
772
|
if (!this.f_items[this.f_table_base.index].f_item_value || !this.f_items[this.f_gas_balance.index].f_item_value) {
|
577
773
|
return
|
578
774
|
}
|
579
775
|
|
580
776
|
// 计算公式 => 气量异常差值 = 累计购气量 - (已用气量 - 初始表底) - 剩余气量
|
581
|
-
this.f_items[this.f_gas_aberrant_number.index].f_item_value = this.f_items[this.f_total_gas.index].f_item_value - this.f_items[this.f_gas_balance.index].f_item_value -
|
777
|
+
this.f_items[this.f_gas_aberrant_number.index].f_item_value = this.f_items[this.f_total_gas.index].f_item_value - this.f_items[this.f_gas_balance.index].f_item_value - this.f_items[this.f_table_base.index].f_item_value
|
582
778
|
this.f_items[this.f_gas_aberrant_number.index].f_item_value = this.f_items[this.f_gas_aberrant_number.index].f_item_value.toFixed(3)
|
583
779
|
// 如果数值有误,清空结果s
|
584
780
|
if (isNaN(this.f_items[this.f_gas_aberrant_number.index].f_item_value)) {
|
@@ -593,19 +789,13 @@
|
|
593
789
|
|
594
790
|
console.log('this.f_items[this.f_gas_aberrant_number.index] ===> ' + JSON.stringify(this.f_items[this.f_gas_aberrant_number.index]))
|
595
791
|
},
|
596
|
-
getFeeAberrantNumber(
|
792
|
+
getFeeAberrantNumber() {
|
597
793
|
console.log('检测到金额变化了 ===> ')
|
598
794
|
|
599
795
|
// 先清空
|
600
796
|
this.f_items[this.f_fee_aberrant_number.index].f_item_value = null
|
601
797
|
this.f_items[this.f_fee_aberrant_number.index].f_is_defect = false
|
602
798
|
|
603
|
-
if(val=='已用金额'){
|
604
|
-
this.f_items[this.f_fee_balance.index].f_item_value=this.f_items[this.f_total_fee.index].f_item_value-this.f_items[this.f_fee_base.index].f_item_value
|
605
|
-
if (isNaN(this.f_items[this.f_fee_balance.index].f_item_value)) {
|
606
|
-
this.f_items[this.f_fee_balance.index].f_item_value = null
|
607
|
-
}
|
608
|
-
}
|
609
799
|
// 只有两个值都填了才会计算
|
610
800
|
if (!this.f_items[this.f_fee_base.index].f_item_value || !this.f_items[this.f_fee_balance.index].f_item_value) {
|
611
801
|
return
|
@@ -626,6 +816,60 @@
|
|
626
816
|
|
627
817
|
console.log('this.f_items[this.f_fee_aberrant_number.index] ===> ' + JSON.stringify(this.f_items[this.f_fee_aberrant_number.index]))
|
628
818
|
},
|
819
|
+
//物联网表字轮数改变触发
|
820
|
+
getmeteraberrantnumber() {
|
821
|
+
console.log('检测到字轮数改变 ===> '+this.f_items[this.f_meter_base.index].f_item_value + this.f_items[this.f_meter_base1.index].f_item_value)
|
822
|
+
|
823
|
+
// 先清空
|
824
|
+
this.f_items[this.f_meter_aberrant_number1.index].f_item_value = null
|
825
|
+
this.f_items[this.f_meter_aberrant_number1.index].f_is_defect = false
|
826
|
+
console.log('检测到字轮数改变 ===>111111111111111 ')
|
827
|
+
// 只有两个值都填了才会计算
|
828
|
+
if ((!this.f_items[this.f_meter_base.index].f_item_value && this.f_items[this.f_meter_base.index].f_item_value !== 0) || (!this.f_items[this.f_meter_base1.index].f_item_value && this.f_items[this.f_meter_base1.index].f_item_value !== 0)) {
|
829
|
+
return
|
830
|
+
}
|
831
|
+
console.log("-----到了吗?"+this.f_items[this.f_meter_base.index].f_item_value+'----'+this.f_items[this.f_meter_base1.index].f_item_value)
|
832
|
+
// 计算公式 => 表数异常差值= - 字轮数 - 后台表读数
|
833
|
+
this.f_items[this.f_meter_aberrant_number1.index].f_item_value = this.f_items[this.f_meter_base1.index].f_item_value - this.f_items[this.f_meter_base.index].f_item_value
|
834
|
+
this.f_items[this.f_meter_aberrant_number1.index].f_item_value = this.f_items[this.f_meter_aberrant_number1.index].f_item_value.toFixed(3)
|
835
|
+
if (isNaN(this.f_items[this.f_meter_aberrant_number1.index].f_item_value)) {
|
836
|
+
this.f_items[this.f_meter_aberrant_number1.index].f_item_value = null
|
837
|
+
}
|
838
|
+
console.log('Math.abs(this.f_items[this.f_fee_aberrant_number.index].f_item_value) ===> ' + Math.abs(this.f_items[this.f_meter_aberrant_number1.index].f_item_value))
|
839
|
+
// 计算差值是否在范围内
|
840
|
+
console.log("字轮数异常范围"+Number(this.feeDeviation))
|
841
|
+
if (Math.abs(this.f_items[this.f_meter_aberrant_number1.index].f_item_value) > Number(this.meterbase)){
|
842
|
+
this.f_items[this.f_meter_aberrant_number1.index].f_is_defect = true
|
843
|
+
}
|
844
|
+
|
845
|
+
console.log('this.f_items[this.f_fee_aberrant_number.index] ===> ' + JSON.stringify(this.f_items[this.f_meter_aberrant_number1.index]))
|
846
|
+
},
|
847
|
+
//物联网表余额改变触发
|
848
|
+
getfeeaberrantnumber1() {
|
849
|
+
console.log('检测到表余额改变 ===> '+this.f_items[this.f_balance_amount1.index].f_item_value+this.f_items[this.f_balance_amount.index].f_item_value)
|
850
|
+
// 先清空
|
851
|
+
this.f_items[this.f_fee_aberrant_number1.index].f_item_value = null
|
852
|
+
this.f_items[this.f_fee_aberrant_number1.index].f_is_defect = false
|
853
|
+
|
854
|
+
// 只有两个值都填了才会计算
|
855
|
+
if ((!this.f_items[this.f_balance_amount1.index].f_item_value && this.f_items[this.f_balance_amount1.index].f_item_value !== 0) || (!this.f_items[this.f_balance_amount.index].f_item_value && this.f_items[this.f_balance_amount.index].f_item_value !== 0)) {
|
856
|
+
return
|
857
|
+
}
|
858
|
+
console.log("-----到了吗?"+this.f_items[this.f_balance_amount1.index].f_item_value+'----'+this.f_items[this.f_balance_amount.index].f_item_value)
|
859
|
+
// 计算公式 => 表金额异常差值 = 已用金额 - 剩余金额
|
860
|
+
this.f_items[this.f_fee_aberrant_number1.index].f_item_value = this.f_items[this.f_balance_amount.index].f_item_value - this.f_items[this.f_balance_amount1.index].f_item_value
|
861
|
+
this.f_items[this.f_fee_aberrant_number1.index].f_item_value = this.f_items[this.f_fee_aberrant_number1.index].f_item_value.toFixed(3)
|
862
|
+
if (isNaN(this.f_items[this.f_fee_aberrant_number1.index].f_item_value)) {
|
863
|
+
this.f_items[this.f_fee_aberrant_number1.index].f_item_value = null
|
864
|
+
}
|
865
|
+
console.log('Math.abs(this.f_items[this.f_fee_aberrant_number.index].f_item_value) ===> ' + Math.abs(this.f_items[this.f_fee_aberrant_number1.index].f_item_value))
|
866
|
+
// 计算差值是否在范围内
|
867
|
+
if (Number(this.f_items[this.f_fee_aberrant_number1.index].f_item_value) < Number(0)) {
|
868
|
+
this.f_items[this.f_fee_aberrant_number1.index].f_is_defect = true
|
869
|
+
}
|
870
|
+
|
871
|
+
console.log('this.f_items[this.f_fee_aberrant_number.index] ===> ' + JSON.stringify(this.f_items[this.f_fee_aberrant_number1.index]))
|
872
|
+
},
|
629
873
|
|
630
874
|
disSelect(index, itemValue) {
|
631
875
|
console.log('this.f_items[index] ===> ' + JSON.stringify(this.f_items[index]))
|
@@ -635,6 +879,7 @@
|
|
635
879
|
}
|
636
880
|
}
|
637
881
|
},
|
882
|
+
|
638
883
|
ready() {
|
639
884
|
console.log('deviec--role=>'+this.role)
|
640
885
|
console.log('device=>',this.device)
|
@@ -656,6 +901,7 @@
|
|
656
901
|
let n = 0
|
657
902
|
for (let item in this.config[this.device.device].items) {
|
658
903
|
let index = this.config[this.device.device].items[item].index-1
|
904
|
+
this.config[this.device.device].items[item].isshow=this.config[this.device.device].items[item].isshow==undefined || this.config[this.device.device].items[item].isshow==null?true:this.config[this.device.device].items[item].isshow
|
659
905
|
this.$set('page.options' + index, [])
|
660
906
|
console.log('this.config[this.device.device].items='+JSON.stringify(this.config[this.device.device].items))
|
661
907
|
console.log('item='+JSON.stringify(item))
|
@@ -675,8 +921,20 @@
|
|
675
921
|
// if(this.config[this.device.device].items[item].data){
|
676
922
|
// f_item_value.push(this.config[this.device.device].items[item].data)
|
677
923
|
// }
|
924
|
+
}else if(this.config[this.device.device].items[item].type == 'radio'){
|
925
|
+
//为radio添加默认值
|
926
|
+
f_item_value=''
|
927
|
+
console.log('进入单选-', JSON.stringify(this.config[this.device.device].items[item]))
|
928
|
+
for (let defitem in this.config[this.device.device].items[item].options) {
|
929
|
+
console.log('选项1111-', JSON.stringify(defitem))
|
930
|
+
let defopt = this.config[this.device.device].items[item].options[defitem]
|
931
|
+
if (defopt.isdefault) {
|
932
|
+
console.log('defopt', JSON.stringify(defopt))
|
933
|
+
f_item_value = defopt.data
|
934
|
+
}
|
935
|
+
}
|
678
936
|
}else{
|
679
|
-
f_item_value = this.config[this.device.device].items[item].
|
937
|
+
f_item_value = this.config[this.device.device].items[item].f_item_value ? this.config[this.device.device].items[item].f_item_value : ''
|
680
938
|
}
|
681
939
|
console.log('f_item_value ====== > '+JSON.stringify(f_item_value))
|
682
940
|
let it = {
|
@@ -685,14 +943,22 @@
|
|
685
943
|
checkmust: this.config[this.device.device].items[item].checkmust,
|
686
944
|
f_item_value: f_item_value,
|
687
945
|
f_is_defect: '',
|
946
|
+
isdefect: this.config[this.device.device].items[item].isdefect,
|
688
947
|
multiple:this.config[this.device.device].items[item].multiple == true?this.config[this.device.device].items[item].multiple:false,
|
689
|
-
isshow:this.config[this.device.device].items[item].isshow
|
948
|
+
isshow:this.config[this.device.device].items[item].isshow,
|
690
949
|
readonly: this.config[this.device.device].items[item].readonly == true?true:false,
|
691
950
|
remark: this.config[this.device.device].items[item].remark ? this.config[this.device.device].items[item].remark : '',
|
692
951
|
f_path: '',
|
952
|
+
f_second_path:'',
|
693
953
|
tooltip:'',
|
694
954
|
f_live_dispose:'',
|
695
|
-
|
955
|
+
f_processing: '',
|
956
|
+
f_user_changes:'',
|
957
|
+
f_is_repaired:'',
|
958
|
+
f_else:'',
|
959
|
+
index:this.config[this.device.device].items[item].index,
|
960
|
+
correlation:this.config[this.device.device].items[item].correlation?this.config[this.device.device].items[item].correlation:false,
|
961
|
+
correlationnum:this.config[this.device.device].items[item].correlationnum?this.config[this.device.device].items[item].correlationnum:0
|
696
962
|
}
|
697
963
|
console.log('index ===> ' + JSON.stringify(index))
|
698
964
|
console.log('it ===> ' + JSON.stringify(it))
|
@@ -725,7 +991,8 @@
|
|
725
991
|
label: this.config[this.device.device].items[item].options[i].data,
|
726
992
|
value: this.config[this.device.device].items[item].options[i].data,
|
727
993
|
isdefect: this.config[this.device.device].items[item].options[i].isdefect,
|
728
|
-
level: this.config[this.device.device].items[item].options[i].level
|
994
|
+
level: this.config[this.device.device].items[item].options[i].level,
|
995
|
+
selcorrelation: this.config[this.device.device].items[item].options[i].selcorrelation
|
729
996
|
})
|
730
997
|
}
|
731
998
|
this.$set('f_items[' + index + '].options', this.page['options' + index])
|
@@ -734,17 +1001,20 @@
|
|
734
1001
|
}
|
735
1002
|
n = n + 1
|
736
1003
|
}
|
1004
|
+
|
737
1005
|
if(JSON.stringify(this.piece) == '{}') {
|
738
1006
|
// 如果没有,则新建
|
739
1007
|
this.$set('piece.f_items',this.f_items)
|
740
1008
|
this.$set('piece.f_device_type',this.device.device)
|
741
1009
|
} else {
|
742
1010
|
// 已经存在,把之前的数据重新填入
|
743
|
-
|
744
|
-
|
1011
|
+
console.log("start---------------"+new Date())
|
1012
|
+
console.log('this.piece.f_items[p] 11111===> ' + JSON.stringify(this.piece.f_items))
|
1013
|
+
for (let f=0 ;f< this.f_items.length;f++){
|
1014
|
+
for(let p=0 ; p<this.piece.f_items.length;p++) {
|
1015
|
+
//console.log('this.f_items[f] 1111===> ' + JSON.stringify(this.f_items[f]))
|
1016
|
+
//console.log('this.piece.f_items[p] 11111===> ' + JSON.stringify(this.piece.f_items[p]))
|
745
1017
|
if (this.f_items[f].f_item_name == this.piece.f_items[p].f_item_name) {
|
746
|
-
console.log('this.f_items[f] ===> ' + JSON.stringify(this.f_items[f]))
|
747
|
-
console.log('this.piece.f_items[p] ===> ' + JSON.stringify(this.piece.f_items[p]))
|
748
1018
|
this.f_items[f] = Object.assign(this.f_items[f], this.piece.f_items[p])
|
749
1019
|
console.log('----> this.f_items[f] ===> ' + JSON.stringify(this.f_items[f]))
|
750
1020
|
if (this.f_items[f].type == 'selector' || this.f_items[f].type == 'inputSelector') {
|
@@ -753,24 +1023,20 @@
|
|
753
1023
|
this.f_items[f].selected = this.piece.f_items[p].f_item_value
|
754
1024
|
console.log('this.f_items[f].selected==>' + JSON.stringify(this.f_items[f].selected))
|
755
1025
|
}
|
756
|
-
|
757
|
-
if (this.f_items[f].f_item_name == '初始表底') {
|
758
|
-
console.log('初始表底: ' + JSON.stringify(f))
|
759
|
-
this.f_initial_base.index = f
|
760
|
-
} else if (this.f_items[f].f_item_name == '累购气量') {
|
1026
|
+
if (this.f_items[f].f_item_name == '累购气量') {
|
761
1027
|
console.log('累购气量: ' + JSON.stringify(f))
|
762
1028
|
this.f_total_gas.index = f
|
763
1029
|
} else if (this.f_items[f].f_item_name == '已用气量') {
|
764
1030
|
console.log('已用气量: ' + JSON.stringify(f))
|
765
1031
|
this.f_table_base.index = f
|
766
1032
|
this.$watch('f_items[' + f + '].f_item_value', function () {
|
767
|
-
this.getGasAberrantNumber(
|
1033
|
+
this.getGasAberrantNumber()
|
768
1034
|
})
|
769
1035
|
} else if (this.f_items[f].f_item_name == '剩余气量') {
|
770
1036
|
console.log('剩余气量: ' + JSON.stringify(f))
|
771
1037
|
this.f_gas_balance.index = f
|
772
1038
|
this.$watch('f_items[' + f + '].f_item_value', function () {
|
773
|
-
this.getGasAberrantNumber(
|
1039
|
+
this.getGasAberrantNumber()
|
774
1040
|
})
|
775
1041
|
} else if (this.f_items[f].f_item_name == '气量异常差值') {
|
776
1042
|
console.log('气量异常差值: ' + JSON.stringify(f))
|
@@ -782,18 +1048,43 @@
|
|
782
1048
|
console.log('已用金额: ' + JSON.stringify(f))
|
783
1049
|
this.f_fee_base.index = f
|
784
1050
|
this.$watch('f_items[' + f + '].f_item_value', function () {
|
785
|
-
this.getFeeAberrantNumber(
|
1051
|
+
this.getFeeAberrantNumber()
|
786
1052
|
})
|
787
1053
|
} else if (this.f_items[f].f_item_name == '剩余金额') {
|
788
1054
|
console.log('剩余金额: ' + JSON.stringify(f))
|
789
1055
|
this.f_fee_balance.index = f
|
790
1056
|
this.$watch('f_items[' + f + '].f_item_value', function () {
|
791
|
-
this.getFeeAberrantNumber(
|
1057
|
+
this.getFeeAberrantNumber()
|
792
1058
|
})
|
793
1059
|
} else if (this.f_items[f].f_item_name == '金额异常差值') {
|
794
1060
|
console.log('金额异常差值: ' + JSON.stringify(f))
|
795
1061
|
this.f_fee_aberrant_number.index = f
|
1062
|
+
}else if (this.f_items[f].f_item_name == '表读数') {
|
1063
|
+
console.log('表读数: ' + JSON.stringify(f))
|
1064
|
+
this.f_meter_base.index = f
|
1065
|
+
}else if (this.f_items[f].f_item_name == '表剩余金额') {
|
1066
|
+
console.log('表剩余金额: ' + JSON.stringify(f))
|
1067
|
+
this.f_balance_amount.index = f
|
1068
|
+
}else if (this.f_items[f].f_item_name == '字轮数') {
|
1069
|
+
console.log('字轮数: ' + JSON.stringify(f))
|
1070
|
+
this.f_meter_base1.index = f
|
1071
|
+
this.$watch('f_items[' + f + '].f_item_value', function () {
|
1072
|
+
this.getmeteraberrantnumber()
|
1073
|
+
})
|
1074
|
+
}else if (this.f_items[f].f_item_name == '表余额') {
|
1075
|
+
console.log('表余额: ' + JSON.stringify(f))
|
1076
|
+
this.f_balance_amount1.index = f
|
1077
|
+
this.$watch('f_items[' + f + '].f_item_value', function () {
|
1078
|
+
this.getfeeaberrantnumber1()
|
1079
|
+
})
|
1080
|
+
}else if (this.f_items[f].f_item_name == '表数异常差值') {
|
1081
|
+
console.log('表数异常差值: ' + JSON.stringify(f))
|
1082
|
+
this.f_meter_aberrant_number1.index = f
|
1083
|
+
}else if (this.f_items[f].f_item_name == '表金额异常差值') {
|
1084
|
+
console.log('表金额异常差值: ' + JSON.stringify(f))
|
1085
|
+
this.f_fee_aberrant_number1.index = f
|
796
1086
|
}
|
1087
|
+
break
|
797
1088
|
}
|
798
1089
|
}
|
799
1090
|
for (let em in this.config[this.device.device].items) {
|
@@ -805,13 +1096,16 @@
|
|
805
1096
|
value: this.config[this.device.device].items[em].options[k].data
|
806
1097
|
})
|
807
1098
|
}
|
1099
|
+
break
|
808
1100
|
}
|
809
1101
|
}
|
810
1102
|
}
|
811
1103
|
console.log('循环完f_items====》'+JSON.stringify(this.f_items))
|
812
1104
|
this.$set('piece.f_items',this.f_items)
|
1105
|
+
console.log("start2222---------------"+new Date())
|
813
1106
|
}
|
814
1107
|
this.towatch()
|
1108
|
+
console.log("start333333---------------"+new Date())
|
815
1109
|
},
|
816
1110
|
destroyed(){
|
817
1111
|
let nullCount = 0
|
@@ -850,9 +1144,12 @@
|
|
850
1144
|
.class-erro {
|
851
1145
|
color: #a94442;
|
852
1146
|
}
|
1147
|
+
.defectfront{
|
1148
|
+
color: red;
|
1149
|
+
}
|
853
1150
|
.fivelabel{
|
854
1151
|
border: none;
|
855
|
-
border-left: 5px solid #
|
1152
|
+
border-left: 5px solid #0075FF;
|
856
1153
|
float: left;
|
857
1154
|
width: 35%;
|
858
1155
|
margin-bottom: 3px;
|
@@ -862,7 +1159,7 @@
|
|
862
1159
|
}
|
863
1160
|
.radiolabel{
|
864
1161
|
border: none;
|
865
|
-
border-left: 5px solid #
|
1162
|
+
border-left: 5px solid #0075FF;
|
866
1163
|
float: left;
|
867
1164
|
width: 65%;
|
868
1165
|
margin-bottom: 3px;
|
@@ -873,7 +1170,16 @@
|
|
873
1170
|
|
874
1171
|
.textlabel {
|
875
1172
|
border: none;
|
876
|
-
border-left: 5px solid #
|
1173
|
+
border-left: 5px solid #0075FF;
|
1174
|
+
width: 100%;
|
1175
|
+
margin-bottom: 3px;
|
1176
|
+
text-align: left;
|
1177
|
+
word-wrap: break-word;
|
1178
|
+
white-space: normal;
|
1179
|
+
}
|
1180
|
+
.textlabel1 {
|
1181
|
+
border: none;
|
1182
|
+
border-left: 5px solid #2BA245;
|
877
1183
|
width: 100%;
|
878
1184
|
margin-bottom: 3px;
|
879
1185
|
text-align: left;
|