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
@@ -1,39 +1,81 @@
|
|
1
1
|
<template>
|
2
2
|
<form novalidate class="form-horizontal" style="width: 95%;margin: auto">
|
3
|
-
<div class="form-group col-sm-12 col-xs-12 col-md-12 info"
|
4
|
-
<div class="text-center">
|
5
|
-
<label class="font">总体安检照片请依次拍摄:</label>
|
6
|
-
</div>
|
3
|
+
<div class="form-group col-sm-12 col-xs-12 col-md-12 info" :class="style__">
|
7
4
|
<div class="col-md-12 col-sm-12 col-xs-12">
|
8
|
-
<ol class="showIi">
|
9
|
-
<li
|
10
|
-
<li
|
11
|
-
<li>3.灶具照片</li>
|
12
|
-
<li>4.其他照片</li>
|
5
|
+
<ol class="showIi" style="font-size: 18px;margin-top: 10px;">
|
6
|
+
<li>照片要求包含以下内容,照片数量不做要求</li>
|
7
|
+
<li>注:照片不清晰、缺失应有内容、隐患未上报的不予计件</li>
|
13
8
|
</ol>
|
14
9
|
</div>
|
15
10
|
</div>
|
16
|
-
<
|
17
|
-
|
18
|
-
|
11
|
+
<span style="font-size: 22px">总体安检照片</span>
|
12
|
+
<div class="form-group col-sm-12" :class="style__">
|
19
13
|
<div class="auto" :class="style__">
|
20
14
|
<div class="panel" style="padding: 10px 10px 5px 10px;">
|
21
|
-
<
|
22
|
-
|
23
|
-
<div class="row" style="height: 240px;overflow: scroll;top: 1px">
|
24
|
-
<div class="col-xs-4 col-sm-3 col-md-2" style="margin-bottom: 35px"
|
25
|
-
|
26
|
-
<img
|
27
|
-
|
28
|
-
|
15
|
+
<label class="text-left font">表具照片(表号、表封、铅封号、表底数、剩余气量等)</label>
|
16
|
+
<div class="panel-body panel-self" style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
|
17
|
+
<div class="row" style="height: 240px;overflow: scroll;top: 1px" >
|
18
|
+
<div class="col-xs-4 col-sm-3 col-md-2" style="margin-bottom: 35px" v-for="(index,img) in paper.f_overall_imgs" v-if="img.f_overall_path.includes('biaoju-')">
|
19
|
+
<img-self :src="img.f_overall_path" alt="表具照片" :width="140" :height="170"></img-self>
|
20
|
+
<img src="../../assets/删除.png" @click="delfile('f_overall_path', img.f_overall_path,index)" style="width: 15px;margin-top: -80px" alt="">
|
21
|
+
</div>
|
22
|
+
</div>
|
23
|
+
<div class="row text-right div-photo">
|
24
|
+
<button type="button" name="button" class="btn btn-photo" @click="takePic('f_overall_path', 'biaoju-')">拍照</button>
|
25
|
+
</div>
|
26
|
+
</div>
|
27
|
+
</div>
|
28
|
+
</div>
|
29
|
+
</div>
|
30
|
+
<div class="form-group col-sm-12" :class="style__" v-show="paper.f_check_type == '民用'">
|
31
|
+
<div class="auto" :class="style__">
|
32
|
+
<div class="panel" style="padding: 10px 10px 5px 10px;">
|
33
|
+
<label class="text-left font">燃气器具照片(燃气灶熄火保护、热水器、壁挂炉等)</label>
|
34
|
+
<div class="panel-body panel-self" style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
|
35
|
+
<div class="row" style="height: 240px;overflow: scroll;top: 1px" >
|
36
|
+
<div class="col-xs-4 col-sm-3 col-md-2" style="margin-bottom: 35px" v-for="(index,img) in paper.f_overall_imgs" v-if="img.f_overall_path.includes('ranqiju-')">
|
37
|
+
<img-self :src="img.f_overall_path" alt="燃气器具照片" :width="140" :height="170"></img-self>
|
38
|
+
<img src="../../assets/删除.png" @click="delfile('f_overall_path', img.f_overall_path,index)" style="width: 15px;margin-top: -80px" alt="">
|
29
39
|
</div>
|
30
40
|
</div>
|
31
41
|
<div class="row text-right div-photo">
|
32
|
-
<button type="button" name="button" class="btn btn-photo" @click="takePic('f_overall_path', '
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
42
|
+
<button type="button" name="button" class="btn btn-photo" @click="takePic('f_overall_path', 'ranqiju-')">拍照</button>
|
43
|
+
</div>
|
44
|
+
</div>
|
45
|
+
</div>
|
46
|
+
</div>
|
47
|
+
</div>
|
48
|
+
<div class="form-group col-sm-12" :class="style__">
|
49
|
+
<div class="auto" :class="style__">
|
50
|
+
<div class="panel" style="padding: 10px 10px 5px 10px;">
|
51
|
+
<label class="text-left font">附属设备照片(报警器、切断阀、自闭阀、连接管等)</label>
|
52
|
+
<div class="panel-body panel-self" style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
|
53
|
+
<div class="row" style="height: 240px;overflow: scroll;top: 1px" >
|
54
|
+
<div class="col-xs-4 col-sm-3 col-md-2" style="margin-bottom: 35px" v-for="(index,img) in paper.f_overall_imgs" v-if="img.f_overall_path.includes('fushu-')">
|
55
|
+
<img-self :src="img.f_overall_path" alt="附属设备照片" :width="140" :height="170"></img-self>
|
56
|
+
<img src="../../assets/删除.png" @click="delfile('f_overall_path', img.f_overall_path,index)" style="width: 15px;margin-top: -80px" alt="">
|
57
|
+
</div>
|
58
|
+
</div>
|
59
|
+
<div class="row text-right div-photo">
|
60
|
+
<button type="button" name="button" class="btn btn-photo" @click="takePic('f_overall_path', 'fushu-')">拍照</button>
|
61
|
+
</div>
|
62
|
+
</div>
|
63
|
+
</div>
|
64
|
+
</div>
|
65
|
+
</div>
|
66
|
+
<div class="form-group col-sm-12" :class="style__">
|
67
|
+
<div class="auto" :class="style__">
|
68
|
+
<div class="panel" style="padding: 10px 10px 5px 10px;">
|
69
|
+
<label class="text-left font">其他照片(整体用气场景照片)</label>
|
70
|
+
<div class="panel-body panel-self" style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
|
71
|
+
<div class="row" style="height: 240px;overflow: scroll;top: 1px" >
|
72
|
+
<div class="col-xs-4 col-sm-3 col-md-2" style="margin-bottom: 35px" v-for="(index,img) in paper.f_overall_imgs" v-if="img.f_overall_path.includes('qita-')">
|
73
|
+
<img-self :src="img.f_overall_path" alt="其他照片" :width="140" :height="170"></img-self>
|
74
|
+
<img src="../../assets/删除.png" @click="delfile('f_overall_path', img.f_overall_path,index)" style="width: 15px;margin-top: -80px" alt="">
|
75
|
+
</div>
|
76
|
+
</div>
|
77
|
+
<div class="row text-right div-photo">
|
78
|
+
<button type="button" name="button" class="btn btn-photo" @click="takePic('f_overall_path', 'qita-')">拍照</button>
|
37
79
|
</div>
|
38
80
|
</div>
|
39
81
|
</div>
|
@@ -66,11 +108,10 @@
|
|
66
108
|
<label class="text-left font">用户签名</label>
|
67
109
|
<div class="auto">
|
68
110
|
<div class="panel">
|
69
|
-
<div class="panel-body panel-self"
|
70
|
-
style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
|
111
|
+
<div class="panel-body panel-self" style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
|
71
112
|
<div class="row" style="height: 240px;overflow: scroll;top: 1px">
|
72
113
|
<div class="col-sm-4">
|
73
|
-
<img :class="style__" :src="paper.f_sign_path" :width="200" :height="150"/>
|
114
|
+
<img :class="style__" :src="paper.f_sign_path" :width="200" :height="150" />
|
74
115
|
</div>
|
75
116
|
</div>
|
76
117
|
<div class="row text-right div-photo">
|
@@ -84,42 +125,35 @@
|
|
84
125
|
<label>请输入超期原因:</label><br/>
|
85
126
|
<textarea style="width: 100%;" v-model="paper.f_exceed_reason"></textarea>
|
86
127
|
</div>
|
87
|
-
<div class="form-group col-
|
128
|
+
<div class="form-group col-sm-12" :class="style__">
|
88
129
|
<div class="col-xs-6 col-sm-6">
|
89
|
-
<input type="checkbox" v-model="backlistisselect" :readonly="enabled"/><label
|
90
|
-
class="text-left font">限制该用户购气</label>
|
130
|
+
<input type="checkbox" v-model="backlistisselect" :readonly="enabled"/><label class="text-left font" >限制该用户购气</label>
|
91
131
|
</div>
|
92
132
|
<div class="col-xs-6 col-sm-6">
|
93
|
-
<input type="checkbox" v-model="deletebacklistisselect" :readonly="deleteenabled"/><label
|
94
|
-
class="text-left font">取消该用户购气</label>
|
133
|
+
<input type="checkbox" v-model="deletebacklistisselect" :readonly="deleteenabled"/><label class="text-left font" >取消限制购气</label>
|
95
134
|
</div>
|
96
135
|
</div>
|
97
|
-
<div class="form-group col-md-12 col-sm-12 col-xs-12"
|
98
|
-
<div
|
99
|
-
<input type="checkbox" v-model="paper.f_defect_notified" class="showIi"
|
136
|
+
<div class="form-group col-md-12 col-sm-12 col-xs-12" :class="style__">
|
137
|
+
<div class="form-group col-md-12 col-sm-12 col-xs-12">
|
138
|
+
<input type="checkbox" v-model="paper.f_defect_notified" class="showIi" />隐患整改通知书
|
100
139
|
</div>
|
101
140
|
<div class="form-group col-md-12 col-sm-12 col-xs-12" v-if="paper.f_defect_notified">
|
102
|
-
<div
|
141
|
+
<div class="form-group col-md-12 col-sm-12 col-xs-12">
|
103
142
|
<button type="button" @click="print()">打印隐患整改单</button>
|
104
143
|
</div>
|
105
|
-
<div
|
106
|
-
<label class="text-left font"
|
107
|
-
<div class="auto">
|
144
|
+
<div class="form-group col-md-12 col-sm-12 col-xs-12">
|
145
|
+
<label class="text-left font">隐患整改通知书照片(要求能清晰反应安检通知单和用户签字内容):</label>
|
146
|
+
<div class="auto" >
|
108
147
|
<div class="panel" style="padding: 10px 10px 5px 10px;">
|
109
|
-
<div class="panel-body panel-self"
|
110
|
-
style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
|
148
|
+
<div class="panel-body panel-self" style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
|
111
149
|
<div class="row" style="height: 240px;overflow: scroll;top: 1px">
|
112
150
|
<div class="col-sm-4">
|
113
|
-
<img-self
|
151
|
+
<img-self :src="paper.f_notified_path" alt="隐患整改通知书照片" width="150" height="200"></img-self>
|
114
152
|
</div>
|
115
153
|
</div>
|
116
154
|
<div class="row text-right div-photo">
|
117
|
-
<button type="button" name="button" class="btn btn-primary btn-photo"
|
118
|
-
|
119
|
-
</button>
|
120
|
-
<img src="../../assets/remove.png" :class="style__"
|
121
|
-
@click="delfile('f_notified_path', this.paper.f_notified_path)"
|
122
|
-
style="width: 25%;"></img>
|
155
|
+
<button type="button" name="button" class="btn btn-primary btn-photo" @click="takePic('f_notified_path', '隐患整改通知书照片')">拍照</button>
|
156
|
+
<img src="../../assets/remove.png" :class="style__" @click="delfile('f_notified_path', this.paper.f_notified_path)" style="width: 25%;"></img>
|
123
157
|
</div>
|
124
158
|
</div>
|
125
159
|
</div>
|
@@ -130,9 +164,8 @@
|
|
130
164
|
<div class="row">
|
131
165
|
<label class="text-left">请对我们的服务做出评价:</label>
|
132
166
|
</div>
|
133
|
-
<div class="col-xs-4 col-sm-4"
|
134
|
-
<input v-model="paper.f_client_evaluation" :value="item.label"
|
135
|
-
@click="check(item.value)" type="radio">{{ item.label }}
|
167
|
+
<div class="col-xs-4 col-sm-4" v-for="item in radios">
|
168
|
+
<input v-model="paper.f_client_evaluation" :value="item.label" :checked='item.isChecked' @click="check(item.value)" type="radio">{{item.label}}
|
136
169
|
</div>
|
137
170
|
|
138
171
|
<!--<div class="col-sm-4">-->
|
@@ -143,40 +176,31 @@
|
|
143
176
|
<!--</radio-group>-->
|
144
177
|
<!--</div>-->
|
145
178
|
</div>
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
179
|
+
<div class="form-group col-md-12 col-sm-12 col-xs-12">
|
180
|
+
<label class="control-label font text-left col-md-4 col-xs-4">备注</label>
|
181
|
+
<div class="col-md-12 col-sm-12 col-xs-12">
|
182
|
+
<textarea v-model="paper.f_repair_approved_note" class="form-control"></textarea>
|
183
|
+
</div>
|
184
|
+
</div>
|
185
|
+
<!-- <div class="form-group col-md-12 col-sm-12 col-xs-12">-->
|
186
|
+
<!-- <label class="text-left font">反馈录音:</label>-->
|
187
|
+
<!-- <div class="col-md-12 col-sm-12 col-xs-12">-->
|
188
|
+
<!-- <button type="button" name="button" class="btn btn-primary btn-voice" @click="record">-->
|
189
|
+
<!-- <img src="../../assets/录音.png" style="width: 14%;">-->
|
190
|
+
<!-- <span v-if="!paper.f_recording1_path">开始录音</span>-->
|
191
|
+
<!-- <span v-if="paper.f_recording1_path">已录音</span>-->
|
192
|
+
<!-- </button>-->
|
193
|
+
<!-- <img src="../../assets/remove.png" style="width: 15px;" :class="style__" @click="delAudioFile('f_recording1_path', paper.f_recording1_path)"></img>-->
|
194
|
+
<!-- </div>-->
|
195
|
+
<!-- </div>-->
|
159
196
|
<div v-if="false">
|
160
197
|
<div class="text-center form-group col-md-12 col-sm-12 col-xs-12">
|
161
|
-
<button
|
162
|
-
|
163
|
-
class="btn save-btn" @click="$parent.$parent.save('temp')">临时保存
|
164
|
-
</button>
|
165
|
-
<button style="width: 30%;margin:3%;margin-bottom: 0%" type="button"
|
166
|
-
v-show="$parent.$parent.actionEnabled && upload_state !='已传' && (paper.f_complete != '已完成' || paper.back_f_entry_status != '入户')"
|
167
|
-
class="btn save-btn " @click="$parent.$parent.save('finish')">完成安检
|
168
|
-
</button>
|
198
|
+
<button style="width: 30%;margin:3%;margin-bottom: 0%" type="button" v-show="$parent.$parent.actionEnabled && upload_state !='已传' &&(paper.f_complete != '已完成' || paper.back_f_entry_status != '入户') " class="btn save-btn" @click="$parent.$parent.save('temp')">临时保存</button>
|
199
|
+
<button style="width: 30%;margin:3%;margin-bottom: 0%" type="button" v-show="$parent.$parent.actionEnabled && upload_state !='已传' && (paper.f_complete != '已完成' || paper.back_f_entry_status != '入户')" class="btn save-btn " @click="$parent.$parent.save('finish')">完成安检</button>
|
169
200
|
</div>
|
170
201
|
<div class="text-center form-group col-md-12 col-sm-12 col-xs-12">
|
171
|
-
<button style="width: 30%;margin:3%;margin-bottom: 0%;margin-top: 0%" id="upload" type="button"
|
172
|
-
|
173
|
-
class="btn upload-btn " @click="$parent.$parent.uploadCheckPaper">上传
|
174
|
-
</button>
|
175
|
-
<button style="width: 30%;margin:3%;margin-bottom: 0%;margin-top: 0%"
|
176
|
-
v-if="(safeCheckToRepair == true || safeCheckToRepair == 'true') && $parent.$parent.actionEnabled"
|
177
|
-
class="btn repair-btn btn-warning " type="button" @click="showToRepair">转维修
|
178
|
-
</button>
|
179
|
-
</div>
|
202
|
+
<button style="width: 30%;margin:3%;margin-bottom: 0%;margin-top: 0%" id="upload" type="button" v-show="$parent.$parent.actionEnabled && upload_state !='已传' && (paper.f_complete != '已完成' || paper.back_f_entry_status != '入户')" class="btn upload-btn " @click="$parent.$parent.uploadCheckPaper" >上传</button>
|
203
|
+
<button style="width: 30%;margin:3%;margin-bottom: 0%;margin-top: 0%" v-if="(safeCheckToRepair == true || safeCheckToRepair == 'true') && $parent.$parent.actionEnabled" class="btn repair-btn btn-warning " type="button" @click="showToRepair">转维修</button> </div>
|
180
204
|
</div>
|
181
205
|
|
182
206
|
</div>
|
@@ -192,26 +216,25 @@
|
|
192
216
|
<div class="row">
|
193
217
|
<label class="col-xs-4 col-md-4 control-label text-left">派单方式</label>
|
194
218
|
<div class="col-xs-8 col-md-8">
|
195
|
-
<label v-for="handling1 in handling">
|
219
|
+
<label v-for="handling1 in handling" >
|
196
220
|
<input type="radio"
|
197
221
|
v-model="meading"
|
198
222
|
value="{{handling1.label}}">
|
199
|
-
{{
|
223
|
+
{{handling1.label}}
|
200
224
|
</label>
|
201
225
|
</div>
|
202
226
|
</div>
|
203
227
|
<div class="row" v-if="meading == '转站点'">
|
204
|
-
<label class="col-xs-4 col-md-4 control-label font text-left" for="
|
228
|
+
<label class="col-xs-4 col-md-4 control-label font text-left" for="f_reciever">站点</label>
|
205
229
|
<!--<input type="text" v-show="false" v-model="serviceacitivity.f_reciever"-->
|
206
230
|
<!--v-validate:f_reciever='{ required: true }'>-->
|
207
231
|
<div class="col-xs-8 col-md-8">
|
208
|
-
<right-tree
|
209
|
-
:textContent="选择站点管理员" :selectData="" v-ref:f_reciever>
|
232
|
+
<right-tree @ready="onReady" islist :Url="Url" :userid="userid" :source="source" v-on:re-res="reres" :textContent="选择站点管理员" :selectData="" v-ref:f_reciever>
|
210
233
|
</right-tree>
|
211
234
|
</div>
|
212
235
|
</div>
|
213
236
|
|
214
|
-
<div class="row" style="margin-top: 6px" v-if="meading
|
237
|
+
<div class="row" style="margin-top: 6px" v-if="meading == '转维修员'">
|
215
238
|
<label class="col-xs-4 col-md-4 control-label font text-left">维修人</label>
|
216
239
|
<div class="col-xs-8">
|
217
240
|
<v-select :value="$parent.$parent.model.serviceacitivity[0].f_reciever" :value-single="true"
|
@@ -221,9 +244,9 @@
|
|
221
244
|
|
222
245
|
</div>
|
223
246
|
<div class="row" style="margin-top: 6px">
|
224
|
-
<label for="
|
247
|
+
<label for="f_repair" class="col-xs-4 col-md-4 control-label font text-left">报修类型</label>
|
225
248
|
<div class="col-xs-8 col-md-8">
|
226
|
-
<v-select
|
249
|
+
<v-select :value.sync="$parent.$parent.model.f_repairtype" :value-single="true"
|
227
250
|
:options='repairstypes' placeholder='报修类型'
|
228
251
|
close-on-select>
|
229
252
|
</v-select>
|
@@ -235,7 +258,6 @@
|
|
235
258
|
<div class="col-xs-8 col-md-8">
|
236
259
|
<input type="text" v-model="$parent.$parent.model.f_remarks"/>
|
237
260
|
</div>
|
238
|
-
|
239
261
|
</div>
|
240
262
|
|
241
263
|
</div>
|
@@ -260,16 +282,15 @@
|
|
260
282
|
<!-- <label style="color: red;">注:当前页面无法取消对用户的限制购气</label>-->
|
261
283
|
<!-- </div>-->
|
262
284
|
<div class="row" style="margin-top: 6px">
|
263
|
-
<textarea id="el_ca_tx" v-model.trim="cause" style="border-radius:4px;width: 100%;" placeholder="请输入限制用户购气原因">
|
285
|
+
<textarea id="el_ca_tx" v-model.trim="cause" style="border-radius:4px;width: 100%;" placeholder="请输入限制用户购气原因" >
|
264
286
|
</textarea>
|
265
287
|
</div>
|
266
288
|
</div>
|
267
289
|
<div slot="modal-footer" class="modal-footer">
|
268
|
-
<button
|
269
|
-
<button
|
290
|
+
<button type="button" name="button" class="col-sm-3 btn btn-primary" @click="backlist()">确认</button>
|
291
|
+
<button type="button" name="button" class="col-sm-3 btn btn-primary" @click="cancel()">取消</button>
|
270
292
|
</div>
|
271
293
|
</modal>
|
272
|
-
|
273
294
|
<modal :show.sync="showmodelthree" v-ref:modal>
|
274
295
|
<div slot="modal-header" class="modal-header">
|
275
296
|
<h4 class="modal-title">
|
@@ -281,14 +302,13 @@
|
|
281
302
|
<!-- <label style="color: red;">注:当前页面无法取消对用户的限制购气</label>-->
|
282
303
|
<!-- </div>-->
|
283
304
|
<div class="row" style="margin-top: 6px">
|
284
|
-
<textarea id="el_ca_txt" v-model.trim="deletecause" style="border-radius:4px;width: 100%;"
|
285
|
-
placeholder="请输入取消限制用户购气原因">
|
305
|
+
<textarea id="el_ca_txt" v-model.trim="deletecause" style="border-radius:4px;width: 100%;" placeholder="请输入取消限制用户购气原因" >
|
286
306
|
</textarea>
|
287
307
|
</div>
|
288
308
|
</div>
|
289
309
|
<div slot="modal-footer" class="modal-footer">
|
290
|
-
<button
|
291
|
-
<button
|
310
|
+
<button type="button" name="button" class="col-sm-3 btn btn-primary" @click="deletebacklist()">确认</button>
|
311
|
+
<button type="button" name="button" class="col-sm-3 btn btn-primary" @click="deletecancel()">取消</button>
|
292
312
|
</div>
|
293
313
|
</modal>
|
294
314
|
</template>
|
@@ -296,7 +316,7 @@
|
|
296
316
|
<script>
|
297
317
|
import Vue from 'vue'
|
298
318
|
import * as Util from '../Util'
|
299
|
-
import {HttpResetClass} from 'vue-client'
|
319
|
+
import { HttpResetClass } from 'vue-client'
|
300
320
|
import RadioGroup from 'vue-client/src/vue-strap/src/radioGroup'
|
301
321
|
import Radio from 'vue-client/src/vue-strap/src/radioBtn'
|
302
322
|
import co from 'co'
|
@@ -361,7 +381,7 @@ import co from 'co'
|
|
361
381
|
// if(items.f_is_defect == true || items.f_is_defect == 'true'){
|
362
382
|
// checkResult = '有隐患'
|
363
383
|
// console.log('类型----',f_device_type)
|
364
|
-
// let res = yield self.$resetpost(`${self.Url}/
|
384
|
+
// let res = yield self.$resetpost(`${self.Url}/api/af-safecheck/sql/getDeviceItem`,{data:{f_device_id:codata[device][item].f_device_id,f_item_name:items.f_item_name}})
|
365
385
|
// console.log('获取安检设备信息结果=》'+JSON.stringify(res))
|
366
386
|
// self.$set('detail.f_defect_id', res.data[0].id)
|
367
387
|
// self.$set('detail.f_project',`${items.f_item_name}:${items.f_item_value}`)
|
@@ -398,7 +418,7 @@ import co from 'co'
|
|
398
418
|
// self.undo()
|
399
419
|
// self.$set('paper.f_SafeToRepair_id',res.data.f_service_id)
|
400
420
|
// console.log('更新维修单id')
|
401
|
-
// self.$resetpost(`${self.Url}/
|
421
|
+
// self.$resetpost(`${self.Url}/api/af-safecheck/logic/updatePaperRepair`,{data:{f_paper_id:self.paper.f_paper_id,f_SafeToRepair_id:res.data.f_service_id}}).then((ret)=>{
|
402
422
|
// console.log('ret==>'+ret)
|
403
423
|
// if(ret.data.code ==200){
|
404
424
|
// console.log('维修单id修改成功')
|
@@ -417,33 +437,29 @@ import co from 'co'
|
|
417
437
|
// }
|
418
438
|
// }
|
419
439
|
|
420
|
-
|
440
|
+
|
441
|
+
|
442
|
+
let getRepairs = async function(self,url) {
|
421
443
|
// 获取配置信息
|
422
444
|
try {
|
423
|
-
let val = {
|
424
|
-
|
425
|
-
|
426
|
-
}
|
427
|
-
let repairs = []
|
428
|
-
let res = await Vue.resetpost(`${url}/rs/search`, {data: val}, {resolveMsg: null, rejectMsg: null})
|
445
|
+
let val = {source: 'this.getParentByType($department$).getAllChildrens().where(row.getAttributes().get($rolestr$).indexOf($维修员$) != -1 ))', userid: `${Vue.user.id}`}
|
446
|
+
let repairs =[]
|
447
|
+
let res = await Vue.resetpost(`${url}/rs/search`,{data: val},{resolveMsg: null, rejectMsg: null})
|
429
448
|
res.data.forEach((item) => {
|
430
449
|
repairs.push({label: item.name, value: item})
|
431
450
|
})
|
432
451
|
self.f_repair_person = repairs
|
433
|
-
if
|
434
|
-
let res = self.$androidUtil.bzLogic('getUserInfo',
|
435
|
-
if
|
452
|
+
if(self.$parent.$parent.role == 'inspect'){
|
453
|
+
let res = self.$androidUtil.bzLogic('getUserInfo',{id:self.paper.f_userinfoid})
|
454
|
+
if(res.code == 200){
|
436
455
|
self.$parent.$parent.user = res.data[0]
|
437
456
|
self.$parent.$parent.model.f_area = self.$parent.$parent.user.f_area
|
438
457
|
}
|
439
|
-
}
|
458
|
+
}else{
|
440
459
|
console.log('pc')
|
441
|
-
self.$resetpost(`${self.Url}/
|
442
|
-
|
443
|
-
|
444
|
-
}).then((res) => {
|
445
|
-
console.log('res', res)
|
446
|
-
if (res.data.length != 0) {
|
460
|
+
self.$resetpost(`${self.Url}/api/af-safecheck/sql/safeCheckgetUserInfo`,{data:{id:self.paper.f_userinfoid}},{resolveMsg: null, rejectMsg: null}).then((res)=>{
|
461
|
+
console.log('res',res)
|
462
|
+
if(res.data.length != 0){
|
447
463
|
self.$parent.$parent.user = res.data[0]
|
448
464
|
self.$parent.$parent.model.f_area = self.$parent.$parent.user.f_area
|
449
465
|
}
|
@@ -451,64 +467,64 @@ let getRepairs = async function (self, url) {
|
|
451
467
|
// path({alias:'getUserInfo',data:{id:this.paper.f_userinfoid}})
|
452
468
|
}
|
453
469
|
} catch (error) {
|
454
|
-
console.log('error',
|
470
|
+
console.log('error',error)
|
455
471
|
}
|
456
472
|
}
|
457
473
|
|
458
474
|
export default {
|
459
475
|
title: '用户反馈',
|
460
|
-
data
|
476
|
+
data() {
|
461
477
|
return {
|
462
|
-
images:
|
463
|
-
|
464
|
-
isneedDate:
|
465
|
-
plan:
|
466
|
-
meading:
|
467
|
-
paper:
|
468
|
-
printContent:
|
478
|
+
images:[],
|
479
|
+
detailAddress:{},
|
480
|
+
isneedDate:this.$parent.$parent.isneedDate,
|
481
|
+
plan:this.$parent.$parent.item,
|
482
|
+
meading:this.$parent.$parent.meading,
|
483
|
+
paper:this.$parent.$parent.data,
|
484
|
+
printContent:[],
|
469
485
|
upload_state: this.$parent.$parent.item.f_upload_state,
|
470
|
-
enabled:
|
486
|
+
enabled:false,//控制限制购气是否可选
|
487
|
+
showmodel:false,
|
488
|
+
showmodelthree: false,
|
471
489
|
deleteenabled: false,
|
472
|
-
|
473
|
-
backlistisselect: false,
|
490
|
+
backlistisselect:false,
|
474
491
|
deletebacklistisselect: false,
|
475
|
-
radios:
|
492
|
+
radios:[
|
476
493
|
{
|
477
494
|
label: '满意',
|
478
495
|
value: 0,
|
479
|
-
isChecked: false
|
496
|
+
isChecked: false,
|
480
497
|
},
|
481
498
|
{
|
482
499
|
label: '基本满意',
|
483
|
-
value:
|
484
|
-
isChecked: false
|
500
|
+
value:1,
|
501
|
+
isChecked: false,
|
485
502
|
},
|
486
503
|
{
|
487
504
|
label: '不满意',
|
488
|
-
value:
|
489
|
-
isChecked: false
|
490
|
-
}
|
505
|
+
value:2,
|
506
|
+
isChecked: false,
|
507
|
+
},
|
491
508
|
],
|
492
|
-
repairitems:
|
493
|
-
repairstypes:
|
494
|
-
f_repair_person:
|
509
|
+
repairitems:[],
|
510
|
+
repairstypes:this.$appdata.getParam('报修类型'),
|
511
|
+
f_repair_person: [],
|
495
512
|
showrepair: false,
|
496
|
-
safeCheckToRepair:
|
497
|
-
showCheckToRepair:
|
513
|
+
safeCheckToRepair:'',
|
514
|
+
showCheckToRepair:false,
|
498
515
|
userid: '',
|
499
516
|
source:
|
500
517
|
'dep=this.getParentByType($organization$).getSpecialResByType($department$),' +
|
501
518
|
'tool.getFullTree(dep.where(row.hasSpecialRole($派单员$)))',
|
502
|
-
isback:
|
503
|
-
defectDevice:
|
504
|
-
detail:
|
505
|
-
callObj:
|
506
|
-
user:
|
507
|
-
role:
|
508
|
-
handling:
|
509
|
-
Url:
|
510
|
-
cause:
|
511
|
-
deletecause: ''
|
519
|
+
isback:false,
|
520
|
+
defectDevice:{},
|
521
|
+
detail:{},
|
522
|
+
callObj:null,
|
523
|
+
user:{},
|
524
|
+
role:this.$parent.$parent.role,
|
525
|
+
handling:[{label:'转站点',value:'转站点'},{label:'转维修员',value:'转维修员'}],
|
526
|
+
Url:this.$androidUtil.getProxyUrl(),
|
527
|
+
cause:""
|
512
528
|
}
|
513
529
|
},
|
514
530
|
props: ['idx'],
|
@@ -517,73 +533,72 @@ export default {
|
|
517
533
|
Radio
|
518
534
|
},
|
519
535
|
methods: {
|
520
|
-
timeSet
|
536
|
+
timeSet(val){
|
521
537
|
//console.log("我执行过了")
|
522
|
-
if (!val)
|
538
|
+
if (!val){
|
523
539
|
return
|
524
540
|
}
|
525
|
-
let time =
|
526
|
-
let time2
|
527
|
-
if (time2
|
541
|
+
let time =new Date(val).getTime()
|
542
|
+
let time2=new Date().getTime()
|
543
|
+
if (time2>time) {
|
528
544
|
return true
|
529
545
|
}
|
530
546
|
},
|
531
547
|
// async isoverDate(){
|
532
548
|
// console.log("进入了这个方法")
|
533
|
-
// let res= await this.$resetpost(`${this.$androidUtil.getProxyUrl()}/
|
549
|
+
// let res= await this.$resetpost(`${this.$androidUtil.getProxyUrl()}/api/af-safecheck/sql/androidGetuserinfo`, {data:{
|
534
550
|
// condition:"f_plan_item_id='"+this.$parent.$parent.item.id+"'"
|
535
551
|
// }
|
536
552
|
// })
|
537
553
|
// this.isneedDate=res.data[0]["f_subscribe_date"]
|
538
554
|
// console.log("打印一下=========》"+this.$parent.$parent.item.id)
|
539
555
|
// },
|
540
|
-
check
|
541
|
-
console.log('index',
|
556
|
+
check(index) {
|
557
|
+
console.log('index',index)
|
542
558
|
// 先取消所有选中项
|
543
|
-
for (let item of this.radios)
|
544
|
-
item.isChecked = false
|
559
|
+
for (let item of this.radios){
|
560
|
+
item.isChecked = false;
|
545
561
|
}
|
546
562
|
//再设置当前点击项选中
|
547
|
-
this.paper.f_client_evaluation = this.radios[index].label
|
563
|
+
this.paper.f_client_evaluation = this.radios[index].label;
|
548
564
|
// 设置值,以供传递
|
549
|
-
this.radios[index].isChecked = true
|
550
|
-
console.log('paper.f_client_evaluation==',
|
565
|
+
this.radios[index].isChecked = true;
|
566
|
+
console.log('paper.f_client_evaluation==',this.paper.f_client_evaluation);
|
551
567
|
},
|
552
|
-
getSignValue
|
568
|
+
getSignValue(fileName) {
|
553
569
|
this.f_signname = fileName
|
554
570
|
},
|
555
|
-
cameraCallBack
|
556
|
-
if
|
557
|
-
let f_overall_path = fileName
|
571
|
+
cameraCallBack(prop, fileName) {
|
572
|
+
if(prop == 'f_overall_path'){
|
573
|
+
let f_overall_path = fileName
|
558
574
|
HostApp.__this__.paper.f_overall_imgs.push({
|
559
|
-
f_overall_path:
|
575
|
+
f_overall_path:f_overall_path
|
560
576
|
})
|
561
|
-
}
|
562
|
-
HostApp.__this__.paper[prop] = fileName
|
577
|
+
}else{
|
578
|
+
HostApp.__this__.paper[prop] = fileName
|
563
579
|
}
|
564
580
|
HostApp.__callback__ = null
|
565
581
|
HostApp.__this__ = null
|
566
582
|
},
|
567
|
-
takePic
|
583
|
+
takePic(prop, title,index) {
|
568
584
|
HostApp.__callback__ = this.cameraCallBack
|
569
585
|
HostApp.__this__ = this
|
570
|
-
console.log(
|
571
|
-
console.log(
|
586
|
+
console.log("prop:" + prop)
|
587
|
+
console.log("this.prop:" + this.paper[prop])
|
572
588
|
let fileName
|
573
|
-
if
|
574
|
-
if (!this.paper.f_overall_imgs[index] || this.paper.f_overall_imgs[index].f_overall_path.includes(
|
575
|
-
fileName = Util.guid() + '-' + prop + '.jpg'
|
589
|
+
if(prop == 'f_overall_path'){
|
590
|
+
if (!this.paper.f_overall_imgs[index] || this.paper.f_overall_imgs[index].f_overall_path.includes("nopic.png")) {
|
591
|
+
fileName = Util.guid() + '-' + title + prop + '.jpg'
|
576
592
|
} else {
|
577
593
|
fileName = Util.getFileName(this.paper.f_overall_imgs[index].f_overall_path)
|
578
594
|
}
|
579
|
-
}
|
580
|
-
if (!this.paper[prop] || this.paper[prop].includes(
|
595
|
+
}else{
|
596
|
+
if (!this.paper[prop] || this.paper[prop].includes("nopic.png")) {
|
581
597
|
fileName = Util.guid() + '-' + prop + '.jpg'
|
582
598
|
} else {
|
583
599
|
fileName = Util.getFileName(this.paper[prop])
|
584
600
|
}
|
585
601
|
}
|
586
|
-
|
587
602
|
HostApp._open_a_page({
|
588
603
|
type: 'boomerang',
|
589
604
|
page: 'com.aofeng.hybrid.android.peripheral.CameraActivity',
|
@@ -591,16 +606,16 @@ export default {
|
|
591
606
|
file: fileName,
|
592
607
|
requestCode: 111,
|
593
608
|
callback: 'javascript:HostApp.__callback__("' + prop + '", "%s");',
|
594
|
-
watermark: title + '\t时间:' + Util.toStandardTimeString() + '\t' + Vue.user.name
|
609
|
+
watermark: title + '\t时间:' + Util.toStandardTimeString() + '\t' + Vue.user.name+'\t'+`安检员地址:${this.$parent.$parent.gps.address}`+'\t'+`用户地址:${this.$parent.$parent.item.f_address}`
|
595
610
|
}
|
596
611
|
})
|
597
612
|
},
|
598
|
-
amrCallBack
|
613
|
+
amrCallBack(fileName) {
|
599
614
|
HostApp.__this__.$set('paper.f_recording1_path', fileName)
|
600
615
|
HostApp.__callback__ = null
|
601
616
|
HostApp.__this__ = null
|
602
617
|
},
|
603
|
-
record
|
618
|
+
record() {
|
604
619
|
if (this.$parent.$parent.role != 'inspect') {
|
605
620
|
if (this.paper.f_recording1_path != '') {
|
606
621
|
window.location = this.paper.f_recording1_path
|
@@ -622,15 +637,15 @@ export default {
|
|
622
637
|
}
|
623
638
|
},
|
624
639
|
// 签名回调
|
625
|
-
signCallback
|
640
|
+
signCallback(prop, fileName) {
|
626
641
|
// HostApp.alert('绑定属性:' + prop + ' 文件全路径如file:///storage/sdcard0/safecheck/abc.jpg:' + fullFileName)
|
627
642
|
HostApp.__this__.$set('paper.f_sign_path', fileName)
|
628
643
|
HostApp.__callback__ = null
|
629
644
|
HostApp.__this__ = null
|
630
645
|
},
|
631
646
|
// 用户签名
|
632
|
-
sign
|
633
|
-
if
|
647
|
+
sign() {
|
648
|
+
if(!this.paper.f_read_instructions){
|
634
649
|
this.$showMessage('请先阅读并勾选用户须知内容后进行签名!')
|
635
650
|
return
|
636
651
|
}
|
@@ -651,136 +666,61 @@ export default {
|
|
651
666
|
callback: 'javascript:HostApp.__callback__("' + prop + '", "%s");'
|
652
667
|
})
|
653
668
|
},
|
654
|
-
delfile
|
655
|
-
if (fileName == Vue.nopic)
|
669
|
+
delfile(prop, fileName,index) {
|
670
|
+
if (fileName == Vue.nopic)
|
656
671
|
return
|
657
|
-
|
658
|
-
if
|
659
|
-
this.paper.f_overall_imgs.splice(index,
|
672
|
+
else {
|
673
|
+
if(prop == 'f_overall_path'){
|
674
|
+
this.paper.f_overall_imgs.splice(index,1)
|
660
675
|
HostApp.delfile(fileName)
|
661
|
-
}
|
676
|
+
}else{
|
662
677
|
HostApp.delfile(fileName)
|
663
678
|
this.paper[prop] = Vue.nopic
|
664
679
|
}
|
665
680
|
}
|
666
681
|
},
|
667
|
-
delAudioFile
|
668
|
-
if (!fileName)
|
682
|
+
delAudioFile(prop, fileName) {
|
683
|
+
if (!fileName)
|
669
684
|
return
|
670
|
-
|
685
|
+
else {
|
671
686
|
HostApp.delfile(fileName)
|
672
687
|
this.paper[prop] = null
|
673
688
|
}
|
674
689
|
},
|
675
690
|
//获取打印用户信息
|
676
|
-
getUser
|
677
|
-
if (this.paper.
|
678
|
-
this.paper.f_userinfo_code = ''
|
679
|
-
}
|
680
|
-
this.printContent.push({
|
681
|
-
type: 3,
|
682
|
-
text: '用户编号:' + this.paper.f_userinfo_code,
|
683
|
-
fontsize: 2,
|
684
|
-
isbold: false,
|
685
|
-
align: 'left'
|
686
|
-
})
|
687
|
-
if (this.paper.f_user_name == undefined) {
|
691
|
+
getUser() {
|
692
|
+
if (this.paper.f_user_name == undefined)
|
688
693
|
this.paper.f_user_name = ''
|
689
|
-
}
|
690
|
-
this.
|
691
|
-
|
692
|
-
|
693
|
-
|
694
|
-
isbold: false,
|
695
|
-
align: 'left'
|
696
|
-
})
|
697
|
-
if (this.paper.f_address == undefined) {
|
694
|
+
this.printContent.push({type: 3, text: '用户名称:' + this.paper.f_user_name, fontsize: 2, isbold: false, align: 'left'})
|
695
|
+
if (this.paper.f_userinfo_code == undefined)
|
696
|
+
this.paper.f_userinfo_code = ''
|
697
|
+
this.printContent.push({type: 3, text: '用户编号:' + this.paper.f_userinfo_code, fontsize: 2, isbold: false, align: 'left'})
|
698
|
+
if (this.paper.f_address == undefined)
|
698
699
|
this.paper.f_address = ''
|
699
|
-
}
|
700
|
-
this.
|
701
|
-
type: 3,
|
702
|
-
text: '家庭地址:' + this.paper.f_address,
|
703
|
-
fontsize: 2,
|
704
|
-
isbold: false,
|
705
|
-
align: 'left'
|
706
|
-
})
|
707
|
-
if (this.paper.f_user_phone == undefined) {
|
700
|
+
this.printContent.push({type: 3, text: '地址:' + this.paper.f_address, fontsize: 2, isbold: false, align: 'left'})
|
701
|
+
if (this.paper.f_user_phone == undefined)
|
708
702
|
this.paper.f_user_phone = ''
|
709
|
-
}
|
710
|
-
this.printContent.push({
|
711
|
-
type: 3,
|
712
|
-
text: '联系电话:' + this.paper.f_user_phone,
|
713
|
-
fontsize: 2,
|
714
|
-
isbold: false,
|
715
|
-
align: 'left'
|
716
|
-
})
|
717
|
-
this.printContent.push({
|
718
|
-
type: 3,
|
719
|
-
text: '-------------------------------------',
|
720
|
-
fontsize: 2,
|
721
|
-
isbold: false,
|
722
|
-
align: 'left'
|
723
|
-
})
|
724
|
-
if (this.paper.f_meter_accumulation == undefined) {
|
725
|
-
this.paper.f_meter_accumulation = ''
|
726
|
-
}
|
727
|
-
if (this.paper.f_meter_remain == undefined) {
|
728
|
-
this.paper.f_meter_remain = ''
|
729
|
-
}
|
730
|
-
this.printContent.push({
|
731
|
-
type: 3,
|
732
|
-
text: '充值总数:' + this.paper.f_meter_accumulation + ' 剩余气量:' + this.paper.f_meter_remain,
|
733
|
-
fontsize: 2,
|
734
|
-
isbold: false,
|
735
|
-
align: 'left'
|
736
|
-
})
|
737
|
-
if (this.paper.f_meter_accumulation == undefined) {
|
738
|
-
this.paper.f_meter_accumulation = ''
|
739
|
-
}
|
740
|
-
if (this.paper.f_meter_remain == undefined) {
|
741
|
-
this.paper.f_meter_remain = ''
|
742
|
-
}
|
743
|
-
this.printContent.push({
|
744
|
-
type: 3,
|
745
|
-
text: '表电子累计数:' + this.paper.f_meter_accumulation + ' 表机械数:' + this.paper.f_meter_remain,
|
746
|
-
fontsize: 2,
|
747
|
-
isbold: false,
|
748
|
-
align: 'left'
|
749
|
-
})
|
750
|
-
if (this.paper.f_meter_remain == undefined) {
|
751
|
-
this.paper.f_meter_remain = ''
|
752
|
-
}
|
753
|
-
this.printContent.push({
|
754
|
-
type: 3,
|
755
|
-
text: '超用气量:' + this.paper.f_meter_accumulation,
|
756
|
-
fontsize: 2,
|
757
|
-
isbold: false,
|
758
|
-
align: 'left'
|
759
|
-
})
|
703
|
+
this.printContent.push({type: 3, text: '电话:' + this.paper.f_user_phone, fontsize: 2, isbold: false, align: 'left'})
|
760
704
|
},
|
761
|
-
verify
|
705
|
+
verify(){
|
762
706
|
let hasError = this.$parent.$parent.verifyUser()
|
763
|
-
if
|
707
|
+
if(hasError)
|
764
708
|
return hasError
|
765
|
-
}
|
766
709
|
hasError = this.$parent.$parent.verifyDevices()
|
767
|
-
if
|
710
|
+
if(hasError)
|
768
711
|
return hasError
|
769
|
-
}
|
770
712
|
},
|
771
|
-
print
|
772
|
-
console.log('打印Paper' + JSON.stringify(this.paper))
|
713
|
+
print() {
|
773
714
|
let errString = this.verify()
|
774
715
|
if (errString) {
|
775
716
|
console.log(errString)
|
776
|
-
if (Vue.android)
|
717
|
+
if (Vue.android)
|
777
718
|
this.$showMessage(errString)
|
778
|
-
}
|
779
719
|
return
|
780
720
|
}
|
781
721
|
// 文本
|
782
|
-
let templatename = '
|
783
|
-
if
|
722
|
+
let templatename = '安检结果单'
|
723
|
+
if(Vue.config.safecheck != undefined) {
|
784
724
|
if (Vue.config.safecheck.ApproveConfig != undefined) {
|
785
725
|
if (Vue.config.safecheck.ApproveConfig.templatename != undefined) {
|
786
726
|
templatename = Vue.config.safecheck.ApproveConfig.templatename
|
@@ -788,58 +728,40 @@ export default {
|
|
788
728
|
}
|
789
729
|
}
|
790
730
|
let textHead = {type: 3, text: templatename, fontsize: 3, isbold: true, align: 'center'}
|
791
|
-
let
|
792
|
-
|
793
|
-
text: '*************************************',
|
794
|
-
fontsize: 2,
|
795
|
-
isbold: false,
|
796
|
-
align: 'center'
|
797
|
-
}
|
731
|
+
let feedPageHead = {type: 4, value: 2, unit: 'line'}
|
732
|
+
let feedPageEnd = {type: 4, value: 4, unit: 'line'}
|
798
733
|
this.printContent.push(textHead)
|
799
|
-
this.printContent.push(
|
734
|
+
this.printContent.push(feedPageHead)
|
800
735
|
this.getUser()
|
801
|
-
this.printContent.push(feedPageLine)
|
802
736
|
this.getDefect()
|
803
|
-
this.printContent.push(feedPageLine)
|
804
737
|
this.getCheck()
|
805
|
-
this.printContent.push(
|
738
|
+
this.printContent.push(feedPageEnd)
|
806
739
|
let arrstr = JSON.stringify(this.printContent)
|
807
740
|
console.log(arrstr)
|
808
741
|
this.$androidUtil.print(arrstr)
|
809
742
|
this.$set('printContent', [])
|
810
743
|
},
|
811
744
|
//打印安检信息
|
812
|
-
getCheck
|
745
|
+
getCheck() {
|
813
746
|
let telephone = '96777'
|
814
|
-
if
|
747
|
+
if(Vue.config.safecheck != undefined) {
|
815
748
|
if (Vue.config.safecheck.ApproveConfig != undefined) {
|
816
749
|
if (Vue.config.safecheck.ApproveConfig.checkphone != undefined) {
|
817
750
|
telephone = Vue.config.safecheck.ApproveConfig.checkphone
|
818
751
|
}
|
819
752
|
}
|
820
753
|
}
|
821
|
-
this.printContent.push({
|
822
|
-
|
823
|
-
|
824
|
-
|
825
|
-
|
826
|
-
|
827
|
-
})
|
828
|
-
this.printContent.push({type: 3, text: '用户签字确认:', fontsize: 2, isbold: false, align: 'left'})
|
829
|
-
this.printContent.push({type: 3, text: '与户主关系:', fontsize: 2, isbold: false, align: 'left'})
|
830
|
-
this.printContent.push({type: 3, text: '□ 本人 □ 亲属 □ 租户', fontsize: 2, isbold: false, align: 'left'})
|
831
|
-
this.printContent.push({
|
832
|
-
type: 3,
|
833
|
-
text: '日期时间:' + this.getNowFormatDate(),
|
834
|
-
fontsize: 2,
|
835
|
-
isbold: false,
|
836
|
-
align: 'left'
|
837
|
-
})
|
754
|
+
this.printContent.push({type: 3, text: '*******************************', fontsize: 3, isbold: false, align: 'center'})
|
755
|
+
this.printContent.push({type: 3, text: '咨询电话;'+telephone, fontsize: 2, isbold: false, align: 'left'})
|
756
|
+
this.printContent.push({type: 3, text: '安检人:'+Vue.user.name, fontsize: 2, isbold: false, align: 'left'})
|
757
|
+
this.printContent.push({type: 3, text: '安检时间:' + this.getNowFormatDate(), fontsize: 2, isbold: false, align: 'left'})
|
758
|
+
this.printContent.push({type: 3, text: '用户签字:', fontsize: 2, isbold: false, align: 'left'})
|
759
|
+
this.printContent.push({type: 4, value: 4, unit: 'line'})
|
838
760
|
},
|
839
|
-
|
840
|
-
getDefect
|
761
|
+
|
762
|
+
getDefect() {
|
841
763
|
let showmore = false
|
842
|
-
if
|
764
|
+
if(Vue.config.safecheck != undefined) {
|
843
765
|
if (Vue.config.safecheck.ApproveConfig != undefined) {
|
844
766
|
if (Vue.config.safecheck.ApproveConfig.showmore != undefined) {
|
845
767
|
showmore = Vue.config.safecheck.ApproveConfig.showmore
|
@@ -848,24 +770,23 @@ export default {
|
|
848
770
|
}
|
849
771
|
|
850
772
|
let backData = this.$parent.$parent.getAllDefect()
|
851
|
-
console.log("隐患信息"+ JSON.stringify(this.paper.f_defect_content))
|
852
773
|
// 对隐患信息进行遍历
|
853
774
|
let res = JSON.parse(backData.f_defect_content)
|
854
|
-
|
855
|
-
|
856
|
-
|
857
|
-
|
858
|
-
|
859
|
-
|
860
|
-
|
861
|
-
|
862
|
-
|
863
|
-
|
864
|
-
if
|
775
|
+
this.printContent.push({
|
776
|
+
type: 3,
|
777
|
+
text: '安检结果:' + res.result,
|
778
|
+
fontsize: 2,
|
779
|
+
isbold: false,
|
780
|
+
align: 'left'
|
781
|
+
})
|
782
|
+
this.printContent.push({type: 3, text: '*******************************', fontsize: 3, isbold: false, align: 'center'})
|
783
|
+
|
784
|
+
|
785
|
+
if(showmore) {
|
865
786
|
//全部打印
|
866
787
|
for (let dev in this.$parent.$parent.config) {
|
867
788
|
for (let device in backData) {
|
868
|
-
if (device.startsWith(
|
789
|
+
if (device.startsWith("device")) {
|
869
790
|
for (let item in backData[device]) {
|
870
791
|
//遍历结果
|
871
792
|
if (backData[device].length != 0 && backData[device][item].f_device_type == dev) {
|
@@ -897,7 +818,7 @@ export default {
|
|
897
818
|
if (backData[device][item].f_items[i].f_item_value != '' && backData[device][item].f_items[i].f_item_value != null) {
|
898
819
|
this.printContent.push({
|
899
820
|
type: 3,
|
900
|
-
text:
|
821
|
+
text: backData[device][item].f_items[i].f_item_name + backData[device][item].f_items[i].f_item_value,
|
901
822
|
fontsize: 2,
|
902
823
|
isbold: false,
|
903
824
|
align: 'left'
|
@@ -913,7 +834,7 @@ export default {
|
|
913
834
|
|
914
835
|
for (let dev in this.$parent.$parent.config) {
|
915
836
|
for (let device in backData) {
|
916
|
-
if (device.startsWith(
|
837
|
+
if (device.startsWith("device")) {
|
917
838
|
for (let item in backData[device]) {
|
918
839
|
//遍历结果
|
919
840
|
if (backData[device].length != 0 && backData[device][item].f_device_type == dev) {
|
@@ -926,7 +847,7 @@ export default {
|
|
926
847
|
if (!error) {
|
927
848
|
this.printContent.push({
|
928
849
|
type: 3,
|
929
|
-
text:
|
850
|
+
text: '隐患:',
|
930
851
|
fontsize: 2,
|
931
852
|
isbold: true,
|
932
853
|
align: 'left'
|
@@ -937,7 +858,7 @@ export default {
|
|
937
858
|
}
|
938
859
|
}
|
939
860
|
for (let device in backData) {
|
940
|
-
if (device.startsWith(
|
861
|
+
if (device.startsWith("device")) {
|
941
862
|
for (let item in backData[device]) {
|
942
863
|
if (backData[device].length != 0 && backData[device][item].f_device_type == dev) {
|
943
864
|
for (let i in backData[device][item].f_items) {
|
@@ -957,89 +878,94 @@ export default {
|
|
957
878
|
}
|
958
879
|
|
959
880
|
}
|
960
|
-
}
|
961
|
-
|
962
|
-
|
963
|
-
|
964
|
-
|
965
|
-
|
966
|
-
|
967
|
-
|
968
|
-
|
969
|
-
|
970
|
-
|
971
|
-
let error = true
|
972
|
-
for (let i in backData[device][item].f_items) {
|
973
|
-
if (backData[device][item].f_items[i].f_is_defect == true || backData[device][item].f_items[i].f_is_defect == 'true') {
|
974
|
-
error = false
|
975
|
-
}
|
976
|
-
}
|
977
|
-
if (error == false) {
|
978
|
-
console.log(dev + (backData[device].indexOf(backData[device][item]) + 1) + ':有隐患')
|
979
|
-
resultStr += dev + (backData[device].indexOf(backData[device][item]) + 1) + ':' //安检大项添加到打印结果中
|
980
|
-
} else {
|
981
|
-
console.log(dev + (backData[device].indexOf(backData[device][item]) + 1) + ':正常')
|
881
|
+
}else {
|
882
|
+
for (let dev in this.$parent.$parent.config) {
|
883
|
+
for (let device in backData) {
|
884
|
+
if (device.startsWith("device")) {
|
885
|
+
for (let item in backData[device]) {
|
886
|
+
//遍历结果
|
887
|
+
if (backData[device].length != 0 && backData[device][item].f_device_type == dev) {
|
888
|
+
let error = true
|
889
|
+
for (let i in backData[device][item].f_items) {
|
890
|
+
if (backData[device][item].f_items[i].f_is_defect == true || backData[device][item].f_items[i].f_is_defect == 'true') {
|
891
|
+
error = false
|
982
892
|
}
|
983
|
-
|
984
|
-
|
985
|
-
|
986
|
-
|
987
|
-
|
893
|
+
}
|
894
|
+
if (error) {
|
895
|
+
this.printContent.push({
|
896
|
+
type: 3,
|
897
|
+
text: dev + (backData[device].indexOf(backData[device][item]) + 1) + ':正常',
|
898
|
+
fontsize: 2,
|
899
|
+
isbold: false,
|
900
|
+
align: 'left'
|
901
|
+
})
|
902
|
+
} else {
|
903
|
+
this.printContent.push({
|
904
|
+
type: 3,
|
905
|
+
text: dev + (backData[device].indexOf(backData[device][item]) + 1) + ':有隐患',
|
906
|
+
fontsize: 2,
|
907
|
+
isbold: false,
|
908
|
+
align: 'left'
|
909
|
+
})
|
910
|
+
}
|
911
|
+
|
912
|
+
for (let i in backData[device][item].f_items) {
|
913
|
+
if (backData[device][item].f_items[i].f_is_defect == true || backData[device][item].f_items[i].f_is_defect == 'true') {
|
914
|
+
this.printContent.push({
|
915
|
+
type: 3,
|
916
|
+
text: '隐患:' + backData[device][item].f_items[i].f_item_name + backData[device][item].f_items[i].f_item_value,
|
917
|
+
fontsize: 2,
|
918
|
+
isbold: false,
|
919
|
+
align: 'left'
|
920
|
+
})
|
988
921
|
}
|
989
922
|
}
|
923
|
+
this.printContent.push({type: 4, value: 2, unit: 'line'})
|
990
924
|
}
|
991
925
|
}
|
992
926
|
}
|
993
927
|
}
|
994
|
-
resultStr += '为避免由此引发事故,造成您和他人的生命财产损失,请高度重视,尽快整改。'
|
995
|
-
this.printContent.push({
|
996
|
-
type: 3,
|
997
|
-
text: resultStr,
|
998
|
-
fontsize: 2,
|
999
|
-
isbold: false,
|
1000
|
-
align: 'left'
|
1001
|
-
})
|
1002
928
|
}
|
1003
929
|
}
|
1004
930
|
},
|
1005
931
|
//获取当前时间
|
1006
|
-
getNowFormatDate
|
1007
|
-
var date = new Date()
|
1008
|
-
var seperator1 =
|
1009
|
-
var seperator2 =
|
1010
|
-
var month = date.getMonth() + 1
|
1011
|
-
var strDate = date.getDate()
|
932
|
+
getNowFormatDate(){
|
933
|
+
var date = new Date();
|
934
|
+
var seperator1 = "-";
|
935
|
+
var seperator2 = ":";
|
936
|
+
var month = date.getMonth() + 1;
|
937
|
+
var strDate = date.getDate();
|
1012
938
|
if (month >= 1 && month <= 9) {
|
1013
|
-
month =
|
939
|
+
month = "0" + month;
|
1014
940
|
}
|
1015
941
|
if (strDate >= 0 && strDate <= 9) {
|
1016
|
-
strDate =
|
942
|
+
strDate = "0" + strDate;
|
1017
943
|
}
|
1018
944
|
var currentdate = date.getFullYear() + seperator1 + month + seperator1 + strDate
|
1019
|
-
+
|
1020
|
-
+ seperator2 + date.getSeconds()
|
1021
|
-
return currentdate
|
945
|
+
+ " " + date.getHours() + seperator2 + date.getMinutes()
|
946
|
+
+ seperator2 + date.getSeconds();
|
947
|
+
return currentdate;
|
1022
948
|
},
|
1023
949
|
readRepair () {
|
1024
950
|
let url = this.$androidUtil.getProxyUrl()
|
1025
|
-
let gen = getRepairs(this,
|
951
|
+
let gen = getRepairs(this,url)
|
1026
952
|
return co(gen)
|
1027
953
|
},
|
1028
|
-
showToRepair
|
954
|
+
showToRepair(){
|
1029
955
|
let res = this.hasDefect()
|
1030
956
|
console.log('==========检测结果========')
|
1031
957
|
console.log(res)
|
1032
|
-
if
|
958
|
+
if(res == '正常'){
|
1033
959
|
this.showrepair = false
|
1034
|
-
}
|
960
|
+
}else{
|
1035
961
|
this.showrepair = true
|
1036
962
|
this.assignObj()
|
1037
963
|
}
|
1038
964
|
this.showCheckToRepair = !this.showCheckToRepair
|
1039
965
|
},
|
1040
966
|
// 选中部门
|
1041
|
-
reres
|
1042
|
-
if
|
967
|
+
reres(val){
|
968
|
+
if(val.res == undefined){
|
1043
969
|
return
|
1044
970
|
}
|
1045
971
|
this.$parent.$parent.model.serviceacitivity[0].f_meetunit = val.res
|
@@ -1049,7 +975,7 @@ export default {
|
|
1049
975
|
this.$parent.$parent.model.f_outlets = arr[arr.length - 1]
|
1050
976
|
this.$parent.$parent.model.serviceacitivity[0].f_reciever = val.resids
|
1051
977
|
},
|
1052
|
-
assignObj
|
978
|
+
assignObj(){
|
1053
979
|
this.$parent.$parent.model.f_contact_phone = this.paper.f_user_phone
|
1054
980
|
this.$parent.$parent.model.f_user_name = this.paper.f_user_name
|
1055
981
|
this.$parent.$parent.model.f_address = this.paper.f_address
|
@@ -1064,16 +990,16 @@ export default {
|
|
1064
990
|
this.$parent.$parent.model.f_userinfo_id = this.paper.f_userinfoid
|
1065
991
|
this.$parent.$parent.model.f_userinfo_code = this.paper.f_userinfo_code
|
1066
992
|
},
|
1067
|
-
hasDefect
|
993
|
+
hasDefect(){
|
1068
994
|
let checkResult = '正常'
|
1069
995
|
let codata = JSON.parse(JSON.stringify(this.paper))
|
1070
|
-
for
|
1071
|
-
if
|
1072
|
-
for
|
1073
|
-
for
|
996
|
+
for(let device in this.paper){
|
997
|
+
if(device.startsWith("device")){
|
998
|
+
for(let item in this.paper[device]) {
|
999
|
+
for(let i in this.paper[device][item].f_items){
|
1074
1000
|
let items = this.paper[device][item].f_items[i]
|
1075
|
-
console.log('items',
|
1076
|
-
if
|
1001
|
+
console.log('items',items)
|
1002
|
+
if(items.f_is_defect == true || items.f_is_defect == 'true'){
|
1077
1003
|
checkResult = '有隐患'
|
1078
1004
|
}
|
1079
1005
|
}
|
@@ -1082,23 +1008,23 @@ export default {
|
|
1082
1008
|
}
|
1083
1009
|
return checkResult
|
1084
1010
|
},
|
1085
|
-
uploadPaper
|
1086
|
-
if
|
1087
|
-
console.log('this.meading===>'
|
1088
|
-
console.log('this.$parent.$parent.meading===>'
|
1089
|
-
console.log('typeof this.$parent.$parent.meading===>'
|
1090
|
-
console.log('this.$parent.$parent.model.f_repairtype===>'
|
1011
|
+
uploadPaper() {
|
1012
|
+
if(this.showrepair){
|
1013
|
+
console.log('this.meading===>'+this.meading)
|
1014
|
+
console.log('this.$parent.$parent.meading===>'+this.$parent.$parent.meading)
|
1015
|
+
console.log('typeof this.$parent.$parent.meading===>'+typeof this.$parent.$parent.meading)
|
1016
|
+
console.log('this.$parent.$parent.model.f_repairtype===>'+this.$parent.$parent.model.f_repairtype)
|
1091
1017
|
|
1092
|
-
if
|
1093
|
-
this.$showMessage(
|
1018
|
+
if(this.meading == '转维修员' && (this.$parent.$parent.model.serviceacitivity[0].f_reciever == '' || this.$parent.$parent.model.serviceacitivity[0].f_reciever == undefined)){
|
1019
|
+
this.$showMessage("请选择维修员!")
|
1094
1020
|
return
|
1095
1021
|
}
|
1096
|
-
if
|
1097
|
-
this.$showMessage(
|
1022
|
+
if(this.$parent.$parent.meading == '转站点' && (this.$parent.$parent.model.serviceacitivity[0].f_reciever == '' || this.$parent.$parent.model.serviceacitivity[0].f_reciever == undefined)){
|
1023
|
+
this.$showMessage("请选择站点!")
|
1098
1024
|
return
|
1099
1025
|
}
|
1100
|
-
if
|
1101
|
-
this.$showMessage(
|
1026
|
+
if(this.$parent.$parent.model.f_repairtype == ''){
|
1027
|
+
this.$showMessage("请选择报修类型!")
|
1102
1028
|
return
|
1103
1029
|
}
|
1104
1030
|
this.$parent.$parent.isToRepair = true
|
@@ -1112,14 +1038,14 @@ export default {
|
|
1112
1038
|
// this.$parent.$parent.todo()
|
1113
1039
|
// }
|
1114
1040
|
// })
|
1115
|
-
}
|
1041
|
+
}else{
|
1116
1042
|
this.$parent.$parent.undo()
|
1117
1043
|
}
|
1118
1044
|
|
1119
1045
|
},
|
1120
1046
|
//确认安检转维修
|
1121
1047
|
|
1122
|
-
undo
|
1048
|
+
undo(){
|
1123
1049
|
this.showCheckToRepair = !this.showCheckToRepair
|
1124
1050
|
this.$parent.$parent.model.serviceacitivity[0].f_reciever = ''
|
1125
1051
|
this.$parent.$parent.model.serviceacitivity[0].f_meetunit = ''
|
@@ -1127,149 +1053,151 @@ export default {
|
|
1127
1053
|
this.meading = '转站点'
|
1128
1054
|
},
|
1129
1055
|
//取消拉黑
|
1130
|
-
async deletebacklist
|
1056
|
+
async deletebacklist() {
|
1131
1057
|
if (!this.deletecause) {
|
1132
|
-
this.$showMessage(
|
1058
|
+
this.$showMessage("请填写取消拉黑原因!")
|
1133
1059
|
return
|
1134
1060
|
}
|
1135
1061
|
this.paper.f_blocking_cause = this.deletecause
|
1136
|
-
|
1062
|
+
////tag)
|
1137
1063
|
let http = new HttpResetClass()
|
1138
|
-
|
1139
|
-
let res1 = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/
|
1064
|
+
////tag
|
1065
|
+
let res1 = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/api/af-safecheck/sql/safe_singleTable_OrderBy`, {
|
1140
1066
|
data: {
|
1141
|
-
items:
|
1142
|
-
tablename:
|
1143
|
-
condition:
|
1144
|
-
orderitem:
|
1067
|
+
items: "version",
|
1068
|
+
tablename: "t_userinfo",
|
1069
|
+
condition: "f_userinfo_id=" + this.paper.f_userinfoid,
|
1070
|
+
orderitem: "f_userinfo_id"
|
1145
1071
|
}
|
1146
1072
|
}, {resolveMsg: null, rejectMsg: null})
|
1147
|
-
|
1148
|
-
|
1149
|
-
let res2 = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/
|
1073
|
+
////tag)
|
1074
|
+
////tag
|
1075
|
+
let res2 = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/api/af-revenue/logic/backlistOperate`, {
|
1150
1076
|
data: {
|
1151
|
-
|
1152
|
-
|
1153
|
-
|
1154
|
-
|
1155
|
-
|
1156
|
-
|
1157
|
-
|
1158
|
-
|
1159
|
-
|
1160
|
-
|
1161
|
-
|
1162
|
-
|
1163
|
-
|
1164
|
-
|
1165
|
-
|
1077
|
+
"f_operat_type": "取消拉黑",
|
1078
|
+
"f_state": "有效",
|
1079
|
+
"f_user_name": this.paper.f_user_name,
|
1080
|
+
"f_comments": this.paper.f_delete_cause,
|
1081
|
+
"f_operator": Vue.user.name,
|
1082
|
+
"f_operatorid": Vue.user.id,
|
1083
|
+
"f_orgid": Vue.user.orgid,
|
1084
|
+
"f_orgname": Vue.user.orgs,
|
1085
|
+
"f_depid": Vue.user.depids,
|
1086
|
+
"f_depname": Vue.user.deps,
|
1087
|
+
"f_describe": `${Vue.user.name}对用户${this.paper.f_user_name}进行取消拉黑`,
|
1088
|
+
"f_userinfo_id": {
|
1089
|
+
"f_userinfo_id": this.paper.f_userinfoid,
|
1090
|
+
"f_user_state": "正常",
|
1091
|
+
"version": res1.data[0].version
|
1166
1092
|
},
|
1167
|
-
|
1168
|
-
|
1093
|
+
"f_limit_times":"",
|
1094
|
+
"f_limit_value":""
|
1169
1095
|
}
|
1170
1096
|
}, {resolveMsg: null, rejectMsg: null})
|
1171
1097
|
|
1172
|
-
|
1098
|
+
////tag)
|
1173
1099
|
if (res2.data.code == 200) {
|
1174
1100
|
this.showmodelthree = false
|
1175
1101
|
this.deleteenabled = true
|
1176
|
-
this.paper.f_blacklist =
|
1177
|
-
this.$showMessage(
|
1102
|
+
this.paper.f_blacklist = "否"
|
1103
|
+
this.$showMessage("取消该用户限制购气成功!")
|
1178
1104
|
} else {
|
1179
|
-
this.$showMessage(
|
1105
|
+
this.$showMessage("网络异常,请稍后再试!")
|
1180
1106
|
}
|
1181
1107
|
},
|
1182
|
-
|
1183
|
-
|
1184
|
-
|
1108
|
+
//拉黑
|
1109
|
+
async backlist(){
|
1110
|
+
if(!this.cause){
|
1111
|
+
this.$showMessage("请填写拉黑原因!")
|
1185
1112
|
return
|
1186
1113
|
}
|
1187
|
-
this.paper.f_blocking_cause
|
1188
|
-
console.log(
|
1114
|
+
this.paper.f_blocking_cause=this.cause
|
1115
|
+
console.log("vue.user:-"+JSON.stringify(Vue.user))
|
1189
1116
|
let http = new HttpResetClass()
|
1190
|
-
console.log(
|
1191
|
-
let res1
|
1192
|
-
data:
|
1193
|
-
items:
|
1194
|
-
tablename:
|
1195
|
-
condition:
|
1196
|
-
orderitem:
|
1117
|
+
console.log("即将进行拉黑!")
|
1118
|
+
let res1= await http.load('POST',`${this.$androidUtil.getProxyUrl()}/api/af-safecheck/sql/safe_singleTable_OrderBy`,{
|
1119
|
+
data:{
|
1120
|
+
items:"version",
|
1121
|
+
tablename:"t_userinfo",
|
1122
|
+
condition:"f_userinfo_id="+this.paper.f_userinfoid,
|
1123
|
+
orderitem:"f_userinfo_id"
|
1197
1124
|
}
|
1198
|
-
},
|
1199
|
-
console.log(
|
1200
|
-
console.log(
|
1201
|
-
let res2
|
1125
|
+
},{resolveMsg:null, rejectMsg: null})
|
1126
|
+
console.log("查询版本号---"+JSON.stringify(res1))
|
1127
|
+
console.log("打印参数---"+this.paper.f_user_name+"-"+this.paper.f_blocking_cause+"-"+Vue.user.name+"-"+ Vue.user.id+"-"+Vue.user.orgid+"-"+Vue.user.orgs+"-"+Vue.user.depids+"-"+Vue.user.deps+"-"+this.paper.f_userinfoid)
|
1128
|
+
let res2= await http.load('POST',`${this.$androidUtil.getProxyUrl()}/api/af-revenue/logic/backlistOperate`, {
|
1202
1129
|
data: {
|
1203
|
-
|
1204
|
-
|
1205
|
-
|
1206
|
-
|
1207
|
-
|
1208
|
-
|
1209
|
-
|
1210
|
-
|
1211
|
-
|
1212
|
-
|
1213
|
-
|
1214
|
-
|
1215
|
-
'f_userinfo_id': this.paper.f_userinfoid,
|
1216
|
-
'f_user_state': '正常',
|
1217
|
-
'version': res1.data[0].version
|
1218
|
-
},
|
1219
|
-
'f_limit_times': '1',
|
1220
|
-
'f_limit_value': '3'
|
1130
|
+
"f_operat_type": "拉黑",
|
1131
|
+
"f_state": "有效",
|
1132
|
+
"f_user_name": this.paper.f_user_name,
|
1133
|
+
"f_comments": this.paper.f_blocking_cause,
|
1134
|
+
"f_operator": Vue.user.name,
|
1135
|
+
"f_operatorid": Vue.user.id,
|
1136
|
+
"f_orgid": Vue.user.orgid,
|
1137
|
+
"f_orgname": Vue.user.orgs,
|
1138
|
+
"f_depid": Vue.user.depids,
|
1139
|
+
"f_depname": Vue.user.deps,
|
1140
|
+
"f_describe": `${Vue.user.name}对用户${this.paper.f_user_name}进行拉黑`,
|
1141
|
+
"f_userinfo_id": {"f_userinfo_id": this.paper.f_userinfoid, "f_user_state": "正常", "version": res1.data[0].version}
|
1221
1142
|
}
|
1222
|
-
}, {resolveMsg:
|
1143
|
+
}, {resolveMsg:null, rejectMsg: null})
|
1223
1144
|
|
1224
|
-
console.log(
|
1225
|
-
if
|
1226
|
-
this.showmodel
|
1227
|
-
this.enabled
|
1228
|
-
this.paper.f_blacklist
|
1229
|
-
this.$showMessage(
|
1230
|
-
}
|
1231
|
-
this.showmodel
|
1232
|
-
this.enabled
|
1233
|
-
this.$showMessage(
|
1234
|
-
}
|
1235
|
-
this.$showMessage(
|
1145
|
+
console.log("拉黑结果---"+JSON.stringify(res2))
|
1146
|
+
if(res2.data.code==200){
|
1147
|
+
this.showmodel=false
|
1148
|
+
this.enabled=true
|
1149
|
+
this.paper.f_blacklist="是"
|
1150
|
+
this.$showMessage("将该用户限制购气成功!")
|
1151
|
+
}else if(res2.data.msg=='数据增加重复'){
|
1152
|
+
this.showmodel=false
|
1153
|
+
this.enabled=true
|
1154
|
+
this.$showMessage("该用户已被限制购气,请勿重复提交!")
|
1155
|
+
}else{
|
1156
|
+
this.$showMessage("网络异常,请稍后再试!")
|
1236
1157
|
}
|
1237
1158
|
},
|
1238
|
-
cancel
|
1239
|
-
this.backlistisselect
|
1240
|
-
this.showmodel
|
1159
|
+
cancel(){
|
1160
|
+
this.backlistisselect=false
|
1161
|
+
this.showmodel=false
|
1241
1162
|
},
|
1242
|
-
deletecancel
|
1163
|
+
deletecancel() {
|
1243
1164
|
this.deletebacklistisselect = false
|
1244
1165
|
this.showmodelthree = false
|
1245
1166
|
},
|
1246
|
-
repiarmancg
|
1247
|
-
if
|
1167
|
+
repiarmancg(val){
|
1168
|
+
if(val){
|
1248
1169
|
console.log(val)
|
1249
1170
|
this.$parent.$parent.model.serviceacitivity[0].f_reciever = val.name
|
1250
1171
|
let http1 = new HttpResetClass()
|
1251
|
-
http1.load('POST'
|
1252
|
-
data: {
|
1172
|
+
http1.load('POST',`${this.Url}/api/af-safecheck/sql/safe_singleTable_OrderBy`, {data: {
|
1253
1173
|
items: 'f_user_telephone',
|
1254
1174
|
tablename: 't_user',
|
1255
1175
|
condition: `name = '${val}'`,
|
1256
1176
|
orderitem: 'id'
|
1257
|
-
}
|
1258
|
-
}, {resolveMsg: null, rejectMsg: null}).then((ress) => {
|
1177
|
+
}}, {resolveMsg: null, rejectMsg: null}).then((ress) => {
|
1259
1178
|
this.$parent.$parent.model.f_repairman_phone = ress.data[0].f_user_telephone
|
1260
1179
|
})
|
1261
1180
|
}
|
1181
|
+
},
|
1182
|
+
getDetailAddress(){
|
1183
|
+
this.detailAddress=HostApp.getDetailAddress()
|
1184
|
+
console.log("拿到了!!!!!!!"+JSON.stringify(this.detailAddress))
|
1185
|
+
this.detailAddress.data=this.detailAddress.data!=null?this.detailAddress.data:''
|
1186
|
+
console.log("拿到了!!!!!!!"+JSON.stringify(this.detailAddress))
|
1262
1187
|
}
|
1263
1188
|
},
|
1264
|
-
|
1189
|
+
|
1190
|
+
async ready() {
|
1191
|
+
this.getDetailAddress()
|
1192
|
+
this.paper.f_read_instructions=true
|
1265
1193
|
// await this.isoverDate()
|
1266
1194
|
console.log(this.isneedDate)
|
1267
|
-
console.log('拿到了!!!!!!!')
|
1268
1195
|
console.log('查询到的已办的返回内容' + JSON.stringify(this.$parent.$parent.item.f_upload_state))
|
1269
1196
|
if (this.$parent.$parent.role == 'repair') {
|
1270
1197
|
this.$set('style__', 'divmask')
|
1271
1198
|
this.$set('style_view_', '')
|
1272
|
-
}
|
1199
|
+
}
|
1200
|
+
else if (this.$parent.$parent.role == 'view' || this.$parent.$parent.item.f_upload_state == '已传') {
|
1273
1201
|
this.$set('style__', 'divmask')
|
1274
1202
|
this.$set('style_view_', 'divmask')
|
1275
1203
|
console.log('set style for ....')
|
@@ -1278,59 +1206,51 @@ export default {
|
|
1278
1206
|
this.$set('style_view_', '')
|
1279
1207
|
}
|
1280
1208
|
|
1281
|
-
for (let item of this.radios)
|
1282
|
-
if
|
1283
|
-
item.isChecked = true
|
1209
|
+
for (let item of this.radios){
|
1210
|
+
if(this.paper.f_client_evaluation == item.label){
|
1211
|
+
item.isChecked = true;
|
1284
1212
|
}
|
1285
1213
|
}
|
1286
|
-
if (!this.paper.f_notified_path)
|
1214
|
+
if (!this.paper.f_notified_path)
|
1287
1215
|
this.$set('paper.f_notified_path', Vue.nopic)
|
1288
|
-
|
1289
|
-
if (!this.paper.f_sign_path) {
|
1216
|
+
if (!this.paper.f_sign_path)
|
1290
1217
|
this.$set('paper.f_sign_path', Vue.nopic)
|
1291
|
-
|
1292
|
-
|
1293
|
-
if (!this.paper.f_overall_imgs) {
|
1218
|
+
console.log('!this.paper.f_overall_imgs==>'+!this.paper.f_overall_imgs)
|
1219
|
+
if (!this.paper.f_overall_imgs){
|
1294
1220
|
let imgs = []
|
1295
1221
|
// imgs.push({f_overall_path:Vue.nopic})
|
1296
1222
|
this.$set('paper.f_overall_imgs', imgs)
|
1297
1223
|
console.log('进入setpaper.f_overall_imgs')
|
1298
1224
|
}
|
1299
|
-
if (!this.paper.f_overall2_path)
|
1225
|
+
if (!this.paper.f_overall2_path)
|
1300
1226
|
this.$set('paper.f_overall2_path', Vue.nopic)
|
1301
|
-
}
|
1302
1227
|
|
1303
|
-
this.userid = this.role == 'view'
|
1304
|
-
if
|
1305
|
-
if
|
1306
|
-
if
|
1228
|
+
this.userid = this.role == 'view'? this.$login.f.id:Vue.user.id
|
1229
|
+
if(Vue.config.safecheck != undefined){
|
1230
|
+
if(Vue.config.safecheck.ApproveConfig != undefined){
|
1231
|
+
if(Vue.config.safecheck.ApproveConfig.safeCheckToRepair != undefined) {
|
1307
1232
|
this.safeCheckToRepair = Vue.config.safecheck.ApproveConfig.safeCheckToRepair
|
1308
1233
|
}
|
1309
1234
|
}
|
1310
1235
|
}
|
1311
1236
|
console.log(`this.safeCheckToRepair==========${this.safeCheckToRepair}`)
|
1312
1237
|
console.log(Vue.config)
|
1313
|
-
console.log('77777777777777777777')
|
1314
|
-
console.log(this.paper)
|
1315
|
-
console.log(this.paper.f_userinfo_code)
|
1316
|
-
console.log(this.paper.f_user_name)
|
1317
|
-
console.log(this.paper.f_address)
|
1318
1238
|
},
|
1319
|
-
watch:
|
1320
|
-
'$parent.$parent.isUpload'
|
1321
|
-
console.log('isUpload发生变化===>'
|
1239
|
+
watch:{
|
1240
|
+
'$parent.$parent.isUpload'(val){
|
1241
|
+
console.log('isUpload发生变化===>'+val)
|
1322
1242
|
},
|
1323
|
-
'meading'
|
1324
|
-
console.log('meading发生变化===>'
|
1243
|
+
'meading'(val){
|
1244
|
+
console.log('meading发生变化===>'+val)
|
1325
1245
|
this.$parent.$parent.meading = val
|
1326
1246
|
},
|
1327
|
-
'backlistisselect'
|
1247
|
+
'backlistisselect'(val) {
|
1328
1248
|
if (val == true) {
|
1329
1249
|
this.showmodel = true
|
1330
|
-
this.deletebacklistisselect
|
1250
|
+
this.deletebacklistisselect=false
|
1331
1251
|
}
|
1332
1252
|
},
|
1333
|
-
'deletebacklistisselect'
|
1253
|
+
'deletebacklistisselect'(val) {
|
1334
1254
|
if (val == true) {
|
1335
1255
|
this.showmodelthree = true
|
1336
1256
|
this.backlistisselect = false
|
@@ -1340,41 +1260,35 @@ export default {
|
|
1340
1260
|
}
|
1341
1261
|
</script>
|
1342
1262
|
<style>
|
1343
|
-
.panel-self
|
1263
|
+
.panel-self{
|
1344
1264
|
border-radius: 5px;
|
1345
|
-
border:
|
1265
|
+
border:1px solid #c5e1f7;
|
1346
1266
|
background-color: #F2F6FA;
|
1347
1267
|
}
|
1348
|
-
|
1349
|
-
|
1350
|
-
text-align: left;
|
1268
|
+
.text-left{
|
1269
|
+
text-align:left;
|
1351
1270
|
}
|
1352
|
-
|
1353
|
-
.font {
|
1271
|
+
.font{
|
1354
1272
|
font: 15px PingFang-SC-Medium;
|
1355
1273
|
color: #333333;
|
1356
1274
|
}
|
1357
|
-
|
1358
|
-
.showIi {
|
1275
|
+
.showIi{
|
1359
1276
|
font: 14px PingFang-SC-Medium;
|
1360
1277
|
color: #666666;
|
1361
1278
|
}
|
1362
|
-
|
1363
|
-
.info {
|
1279
|
+
.info{
|
1364
1280
|
margin-top: 15px;
|
1365
1281
|
border-radius: 5px;
|
1366
1282
|
background-color: #f3faff;
|
1367
1283
|
}
|
1368
|
-
|
1369
|
-
.btn-photo {
|
1284
|
+
.btn-photo{
|
1370
1285
|
border: 0;
|
1371
1286
|
border-radius: 7px;
|
1372
1287
|
background-color: #7dc1f4;
|
1373
1288
|
font: 15px PingFang-SC-Bold;
|
1374
1289
|
height: 20%;
|
1375
1290
|
}
|
1376
|
-
|
1377
|
-
.div-photo {
|
1291
|
+
.div-photo{
|
1378
1292
|
width: auto;
|
1379
1293
|
height: auto;
|
1380
1294
|
/* margin-top: 10px; */
|
@@ -1382,45 +1296,35 @@ export default {
|
|
1382
1296
|
bottom: 10px;
|
1383
1297
|
right: 10px;
|
1384
1298
|
}
|
1385
|
-
|
1386
|
-
.btn-voice {
|
1299
|
+
.btn-voice{
|
1387
1300
|
border-radius: 7px;
|
1388
1301
|
border: 1px solid #dedede;
|
1389
1302
|
background-color: #f5fbff;
|
1390
1303
|
font: 15px PingFang-SC-Bold;
|
1391
1304
|
color: #499edf;
|
1392
1305
|
}
|
1393
|
-
|
1394
|
-
.save-btn {
|
1306
|
+
.save-btn{
|
1395
1307
|
width: 25%;
|
1396
|
-
background-color
|
1308
|
+
background-color:#499edf;
|
1397
1309
|
border-radius: 6px;
|
1398
1310
|
color: #FFFFFF;
|
1399
1311
|
font: 15px PingFang-SC-Bold;
|
1400
1312
|
}
|
1401
|
-
|
1402
|
-
.upload-btn {
|
1313
|
+
.upload-btn{
|
1403
1314
|
width: 25%;
|
1404
|
-
background-color
|
1315
|
+
background-color:#ffffff;
|
1405
1316
|
border: 1px solid #499edf;
|
1406
1317
|
border-radius: 6px;
|
1407
1318
|
color: #499edf;
|
1408
1319
|
font: 15px PingFang-SC-Bold;
|
1409
1320
|
}
|
1410
|
-
|
1411
|
-
.repair-btn {
|
1321
|
+
.repair-btn{
|
1412
1322
|
width: 25%;
|
1413
1323
|
border: 1px solid #499edf;
|
1414
1324
|
border-radius: 6px;
|
1415
1325
|
font: 15px PingFang-SC-Bold;
|
1416
1326
|
}
|
1417
|
-
|
1418
|
-
#el_ca_tx {
|
1419
|
-
width: 100%;
|
1420
|
-
margin: 5px;
|
1421
|
-
}
|
1422
|
-
|
1423
|
-
#el_ca_txt {
|
1327
|
+
#el_ca_tx{
|
1424
1328
|
width: 100%;
|
1425
1329
|
margin: 5px;
|
1426
1330
|
}
|