safecheck-client 3.0.30-62-t4 → 3.0.30-62-t6
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/docs/GridTree.md +47 -47
- package/docs/PrintFile.md +38 -38
- package/docs/tree.md +40 -40
- package/examples/ChangeConfig/comp.js +548 -548
- package/examples/PhoneSafePlan/comp.js +33 -33
- package/examples/SafePlan/App.vue +89 -89
- package/examples/SafePlan/comp.js +1527 -1527
- package/examples/SafePlan-aode/comp.js +1132 -1132
- package/examples/SafePlan-liaoyuan/App.vue +82 -82
- package/examples/SafePlan-liaoyuan/comp.js +1432 -1432
- package/examples/SafePlan-shaoguan/comp.js +1190 -1190
- package/examples/SafePlan-tongchuan/App.vue +81 -81
- package/examples/SafePlan-tongchuan/comp.js +1480 -1480
- package/examples/SafePlan-wenxi/App.vue +80 -80
- package/examples/SafePlan-wenxi/comp.js +1545 -1545
- package/examples/SafePlan-zhoukou/App.vue +81 -81
- package/examples/SafePlan-zhoukou/comp.js +1525 -1525
- package/examples/SafePlanItem/comp.js +69 -69
- package/examples/SafePlanrongcheng/comp.js +1141 -1141
- package/examples/SafePlanrongcheng-gs/comp.js +1140 -1140
- package/examples/SafePlanrongcheng-gssq/comp.js +1143 -1143
- package/examples/SafePlanrongcheng-mysq/comp.js +1144 -1144
- package/examples/UserFiles/comp.js +227 -227
- package/package.json +1 -1
- package/src/components/CheckerCount/CheckCountUserList.vue +144 -144
- package/src/components/DefectDealMain/DefectPaperNew.vue +1052 -1052
- package/src/components/NewDefectList/DefectListNew.vue +617 -617
- package/src/components/NewDefectList/DefectPaperNew.vue +1079 -1079
- package/src/components/android/AddPlanItem.vue +447 -447
- package/src/components/android/AddPlanItemYy.vue +1 -1
- package/src/components/android/AddSpecialPlanItem.vue +426 -426
- package/src/components/android/AndroidDefectDealBeforeSafe.vue +502 -502
- package/src/components/android/BlackUserOnLine.vue +318 -318
- package/src/components/android/CurrentCreate.vue +1050 -1050
- package/src/components/android/CurrentCreateYy.vue +1 -1
- package/src/components/android/Devices.vue +327 -327
- package/src/components/android/Devicesm.vue +327 -327
- package/src/components/android/Insurance/PhoneInsurancePurchaseDetail.vue +288 -288
- package/src/components/android/PaperFeedback.vue +1514 -1514
- package/src/components/android/PaperFeedbackTemp.vue +1470 -1470
- package/src/components/android/PaperFeedbackm.vue +1026 -1026
- package/src/components/android/PhoneRecordInfo.vue +113 -113
- package/src/components/android/PhoneSellInfo.vue +113 -113
- package/src/components/android/QRCode/QRCodeBinding.vue +2 -2
- package/src/components/android/QRCode/QRCodePage.vue +2 -2
- package/src/components/android/SafePlanItem.vue +509 -509
- package/src/components/android/SafecheckOrderV.vue +2805 -2805
- package/src/components/android/UserinfoSelect.vue +1 -1
- package/src/components/android/examples/SafeListExamples.vue +2 -2
- package/src/components/android/examples/UserExamples.vue +1 -1
- package/src/components/android/examples/ViewDetailsExamples.vue +1235 -1235
- package/src/components/android/old/PaperFeedback.vue +1015 -1015
- package/src/components/android/recheck/Recheck.vue +402 -402
- package/src/components/android/userinfo/SafecheckUserInfo.vue +776 -776
- package/src/components/checkplan/checkmsg.vue +459 -459
- package/src/components/defect/DefectList.vue +507 -507
- package/src/components/defect/DefectListWeixiu.vue +484 -484
- package/src/components/defect/DefectPaper.vue +764 -764
- package/src/components/defect/DefectPaperWeiXiu.vue +508 -508
- package/src/components/filialCircle/CircleList.vue +139 -139
- package/src/components/inspections/AddInspectPlanItem.vue +325 -325
- package/src/components/inspections/AddInspectPlanItems.vue +325 -325
- package/src/components/inspections/AddInspectPlanItemss.vue +317 -317
- package/src/components/inspections/DisplayInspectionList.vue +1224 -1224
- package/src/components/inspections/InspectionList.vue +476 -476
- package/src/components/inspections/InspectionLists.vue +478 -478
- package/src/components/inspections/InspectionListss.vue +477 -477
- package/src/components/inspections/inspectionFeedback.vue +720 -720
- package/src/components/inspections/inspectionOrderV.vue +1853 -1853
- package/src/components/inspections/inspectionOrderVs.vue +1853 -1853
- package/src/components/inspections/inspectionOrderVss.vue +1856 -1856
- package/src/components/inspections/inspectionUserInfo.vue +398 -398
- package/src/components/paper/PaperList.vue +790 -790
- package/src/components/pc/AnnouncementPC.vue +524 -524
- package/src/components/pc/DefectList.vue +742 -742
- package/src/components/pc/DeviceChange.vue +1068 -1068
- package/src/components/pc/PaperDefectMain.vue +866 -866
- package/src/components/pc/SafeVisitInfo.vue +1 -1
- package/src/components/planmanage/checkPlanList.vue +369 -369
- package/src/components/planmanage/checkUserList.vue +773 -773
- package/src/components/querycheckpaper/CheckSearchUser.vue +1067 -1067
- package/src/components/querycheckpaper/CheckSearchUserNew.vue +1109 -1109
- package/src/components/querycheckpaper/ShebeiSearchUser.vue +690 -690
- package/src/components/rongcheng/AspPaperFeedback.vue +1179 -1179
- package/src/components/rongcheng/AspiratedOrderV.vue +2377 -2377
- package/src/components/rongcheng/AspiratedPaperFeedbackm.vue +1 -1
- package/src/components/rongcheng/CurrentCreateOnline.vue +906 -906
- package/src/components/rongcheng/PaperFeedback.vue +1318 -1318
- package/src/components/rongcheng/PhoneUpUserinfo.vue +1236 -1236
- package/src/components/rongcheng/SafecheckOrderV.vue +1 -1
- package/src/components/rongcheng/SafecheckOrderVCli.vue +1 -1
- package/src/components/rongcheng/report/CheckPlanAreaList.vue +435 -435
- package/src/components/safecheckNew/PaperList.vue +2 -2
- package/src/components/safecheckNew/android/AddPlanItem.vue +1 -1
- package/src/components/safecheckNew/android/AreaPlan.vue +561 -561
- package/src/components/safecheckNew/android/CurrentCreate.vue +1 -1
- package/src/components/safecheckNew/android/Recheck.vue +1 -1
- package/src/components/safecheckNew/android/SafecheckOrderV.vue +1 -1
- package/src/components/sendsingle/EquipmentManagement.vue +727 -727
- package/src/components/shaoguan/DefectList.vue +473 -473
- package/src/components/shaoguan/SafecheckOrderV.vue +2140 -2140
- package/src/components/tongcheng/PaperFeedback.vue +1061 -1061
- package/src/filiale/ALshan/pc/CheckSearchUser.vue +927 -927
- package/src/filiale/ALshan/pc/DefectListWeixiu.vue +476 -476
- package/src/filiale/ancheng/android/PaperFeedback.vue +1489 -1489
- package/src/filiale/ancheng/android/SafecheckOrderV.vue +2703 -2703
- package/src/filiale/ancheng/android/SafecheckUserInfo.vue +737 -737
- package/src/filiale/ancheng/pc/PaperList.vue +659 -659
- package/src/filiale/ancheng/pc/checkScreen.vue +923 -923
- package/src/filiale/ankangyihua/android/AddPlanItem.vue +446 -446
- package/src/filiale/ankangyihua/android/SafecheckOrderV.vue +2908 -2908
- package/src/filiale/ankangyihua/pc/CheckSearchUser.vue +1039 -1039
- package/src/filiale/ankangyihua/pc/DefectListWeixiu.vue +491 -491
- package/src/filiale/ankangyihua/pc/DefectPaperWeiXiu.vue +545 -545
- package/src/filiale/ankangyihua/pc/PaperList.vue +656 -656
- package/src/filiale/baiyin/android/AndroidDefectDeal.vue +633 -633
- package/src/filiale/baiyin/android/SafecheckOrderV.vue +1 -1
- package/src/filiale/baiyin/pc/CheckPlanAreaList.vue +485 -485
- package/src/filiale/baiyin/pc/CheckSearchUser.vue +2 -2
- package/src/filiale/baiyin/pc/DefectListNew.vue +597 -597
- package/src/filiale/baiyin/pc/DefectPaperNew.vue +3 -3
- package/src/filiale/baiyin/pc/PaperList.vue +2 -2
- package/src/filiale/baiyin/pc/PlanChooser.vue +167 -167
- package/src/filiale/baiyin/pc/PlanManage.vue +834 -834
- package/src/filiale/baiyin/pc/checkUserList.vue +771 -771
- package/src/filiale/bayan/android/AddPlanItem.vue +430 -430
- package/src/filiale/bayan/android/CheckPlanDown.vue +2 -2
- package/src/filiale/bayan/android/Edit.vue +1 -1
- package/src/filiale/bayan/android/PaperFeedback.vue +1 -1
- package/src/filiale/bayan/android/SafecheckOrderV.vue +2866 -2866
- package/src/filiale/bayan/android/SafecheckUserInfo.vue +3 -3
- package/src/filiale/bayan/pc/CheckDetail.vue +205 -205
- package/src/filiale/bayan/pc/CheckPlanAreaList.vue +1 -1
- package/src/filiale/bayan/pc/CheckSearchUser.vue +3 -3
- package/src/filiale/bayan/pc/DefectListNew.vue +597 -597
- package/src/filiale/bayan/pc/DefectPaperNew.vue +4 -4
- package/src/filiale/bayan/pc/DeviceChange.vue +1 -1
- package/src/filiale/bayan/pc/HiddenSituation.vue +1 -1
- package/src/filiale/bayan/pc/PaperList.vue +3 -3
- package/src/filiale/bayan/pc/SelectCheckPlan.vue +333 -333
- package/src/filiale/dexin/android/CasualSave.vue +1 -1
- package/src/filiale/dexin/android/SafecheckOrderV.vue +1 -1
- package/src/filiale/dexin/android/WebMeterOpen.vue +377 -377
- package/src/filiale/dexin/android/WebMeterOpenEdit.vue +213 -213
- package/src/filiale/dexin/pc/PaperList.vue +2 -2
- package/src/filiale/fugou/android/AddPlanItem.vue +413 -413
- package/src/filiale/fugou/android/SafecheckOrderV.vue +1 -1
- package/src/filiale/fugou/pc/CheckBook.vue +303 -303
- package/src/filiale/fugou/pc/CheckBookArea.vue +146 -146
- package/src/filiale/fugou/pc/CheckBookCompany.vue +144 -144
- package/src/filiale/fugou/pc/CheckBookDetails.vue +161 -161
- package/src/filiale/fugou/pc/CheckBookEntry.vue +94 -94
- package/src/filiale/fugou/pc/CheckBookList.vue +366 -366
- package/src/filiale/fugou/pc/CheckBookSearchArea.vue +560 -560
- package/src/filiale/fugou/pc/CheckBookSearchUnit.vue +229 -229
- package/src/filiale/fugou/pc/CheckBookSearchUser.vue +1 -1
- package/src/filiale/fugou/pc/CheckBookSearchUserList.vue +674 -674
- package/src/filiale/fugou/pc/CheckBookUser.vue +158 -158
- package/src/filiale/fugou/pc/DefectPaperNew.vue +3 -3
- package/src/filiale/fugou/pc/PaperDefectMain.vue +1 -1
- package/src/filiale/fugou/pc/PaperList.vue +911 -911
- package/src/filiale/fugou/pc/PlanManage.vue +1061 -1061
- package/src/filiale/fugou/pc/checkPlanList.vue +371 -371
- package/src/filiale/fugou/pc/checkUserList.vue +904 -904
- package/src/filiale/fugu/android/SafecheckOrderV.vue +2484 -2484
- package/src/filiale/fugu/pc/CheckSearchUser.vue +977 -977
- package/src/filiale/fugu/pc/NewCheckpaper.vue +1287 -1287
- package/src/filiale/ganquan/android/AddPlanItem.vue +444 -444
- package/src/filiale/ganquan/android/SafecheckOrderV.vue +2485 -2485
- package/src/filiale/ganquan/pc/DefectPaperNew.vue +1009 -1009
- package/src/filiale/ganquan/pc/NewCheckpaper.vue +1354 -1354
- package/src/filiale/ganquan/pc/PaperList.vue +654 -654
- package/src/filiale/gehua/pc/PaperList.vue +558 -558
- package/src/filiale/guangxi/pc/DefectListNew.vue +518 -518
- package/src/filiale/guangxi/pc/DefectPaperNew.vue +988 -988
- package/src/filiale/hanzhong/android/PaperFeedback.vue +1477 -1477
- package/src/filiale/hanzhong/android/SafecheckOrderV.vue +2683 -2683
- package/src/filiale/hanzhong/android/SafecheckUserInfo.vue +786 -786
- package/src/filiale/hanzhong/pc/CheckHiddenDanger.vue +713 -713
- package/src/filiale/hanzhong/pc/CheckSafeDetail.vue +573 -573
- package/src/filiale/hanzhong/pc/CheckSafeStatus.vue +508 -508
- package/src/filiale/hanzhong/pc/CheckSearchUser.vue +1127 -1127
- package/src/filiale/hanzhong/pc/CheckerSafeDetail.vue +595 -595
- package/src/filiale/hanzhong/pc/PaperList.vue +702 -702
- package/src/filiale/huaran/android/SafecheckOrderV.vue +1 -1
- package/src/filiale/huaran/pc/CheckBook.vue +313 -313
- package/src/filiale/huaran/pc/CheckBookArea.vue +170 -170
- package/src/filiale/huaran/pc/CheckBookCompany.vue +166 -166
- package/src/filiale/huaran/pc/CheckBookDetails.vue +196 -196
- package/src/filiale/huaran/pc/CheckBookList.vue +386 -386
- package/src/filiale/huaran/pc/CheckBookSearchArea.vue +564 -564
- package/src/filiale/huaran/pc/CheckBookSearchUnit.vue +229 -229
- package/src/filiale/huaran/pc/CheckBookSearchUser.vue +604 -604
- package/src/filiale/huaran/pc/CheckBookUser.vue +112 -112
- package/src/filiale/huaran/pc/PaperList.vue +2 -2
- package/src/filiale/huaran/pc/PlanManage.vue +4 -4
- package/src/filiale/huaran/pc/checkPlanList.vue +419 -419
- package/src/filiale/huaran/pc/checkUserList.vue +867 -867
- package/src/filiale/huatong/android/PaperFeedback.vue +1433 -1433
- package/src/filiale/huatong/android/SafecheckOrderV.vue +2426 -2426
- package/src/filiale/huatong/android/SafecheckUserInfo.vue +749 -749
- package/src/filiale/huatong/pc/PaperDefectMain.vue +800 -800
- package/src/filiale/huatong/pc/PaperList.vue +789 -789
- package/src/filiale/huayin/android/PaperFeedback.vue +1422 -1422
- package/src/filiale/huayin/android/SafecheckOrderV.vue +2712 -2712
- package/src/filiale/huayin/pc/NewCheckpaper.vue +1307 -1307
- package/src/filiale/huayin/pc/PaperList.vue +621 -621
- package/src/filiale/jiaocheng/android/AddPlanItem.vue +435 -435
- package/src/filiale/jiaocheng/android/PaperFeedback.vue +1308 -1308
- package/src/filiale/jiaocheng/android/SafecheckUserInfo.vue +737 -737
- package/src/filiale/jiaocheng/pc/CheckSearchUser.vue +1011 -1011
- package/src/filiale/jiaocheng/pc/DefectListNew.vue +576 -576
- package/src/filiale/jiaxian/android/AddPlanItem.vue +1 -1
- package/src/filiale/jiaxian/android/PhoneUpUserinfo.vue +1229 -1229
- package/src/filiale/jiaxian/android/SafecheckOrderV.vue +1 -1
- package/src/filiale/jiaxian/android/SafecheckUserInfo.vue +1 -1
- package/src/filiale/jinbin/pc/DefectListWeixiu.vue +478 -478
- package/src/filiale/jingyang/android/AddPlanItem.vue +1 -1
- package/src/filiale/jingyang/android/CurrentCreate.vue +1080 -1080
- package/src/filiale/jingyang/android/PaperFeedback.vue +1493 -1493
- package/src/filiale/jingyang/android/SafecheckOrderV.vue +1 -1
- package/src/filiale/jingyang/android/SafecheckUserInfo.vue +1 -1
- package/src/filiale/jingyang/pc/CheckSearchUser.vue +1062 -1062
- package/src/filiale/jingyang/pc/PaperList.vue +793 -793
- package/src/filiale/jingyang/pc/ReportCheckItemList.vue +543 -543
- package/src/filiale/kelai/android/AddPlanItem.vue +488 -488
- package/src/filiale/kelai/android/AndroidDefectDeal.vue +747 -747
- package/src/filiale/kelai/android/PaperFeedback.vue +1539 -1539
- package/src/filiale/kelai/android/SafecheckOrderV.vue +2448 -2448
- package/src/filiale/kelai/android/SafecheckUserInfo.vue +774 -774
- package/src/filiale/kelai/android/SafecheckUserInfo1.vue +618 -618
- package/src/filiale/kelai/pc/CheckPlanAreaList.vue +476 -476
- package/src/filiale/kelai/pc/CheckSearchUser.vue +1011 -1011
- package/src/filiale/kelai/pc/DefectListNew.vue +688 -688
- package/src/filiale/kelai/pc/DefectPaperNew.vue +1090 -1090
- package/src/filiale/kelai/pc/FaultLimitGas/FaultLimitGasList.vue +518 -518
- package/src/filiale/kelai/pc/FaultLimitGas/FaultLimitGasPaper.vue +897 -897
- package/src/filiale/kelai/pc/NewCheckpaper.vue +1454 -1454
- package/src/filiale/kelai/pc/PaperList.vue +596 -596
- package/src/filiale/liaoyuan/android/AddPlanItem.vue +412 -412
- package/src/filiale/liaoyuan/android/CurrentCreate.vue +1 -1
- package/src/filiale/liaoyuan/android/SafecheckOrderV.vue +2388 -2388
- package/src/filiale/liaoyuan/android/SafecheckUserInfo.vue +557 -557
- package/src/filiale/liaoyuan/pc/CheckSearchUser.vue +963 -963
- package/src/filiale/liaoyuan/pc/DefectListWeixiu.vue +489 -489
- package/src/filiale/liaoyuan/pc/DefectPaperWeiXiu.vue +1011 -1011
- package/src/filiale/liaoyuan/pc/NewCheckpaper.vue +1020 -1020
- package/src/filiale/liaoyuan/pc/PaperList.vue +637 -637
- package/src/filiale/liaoyuan/pc/checkPlanList.vue +373 -373
- package/src/filiale/lixian/android/SafecheckOrderV.vue +2404 -2404
- package/src/filiale/lixian/android/SafecheckUserInfo.vue +578 -578
- package/src/filiale/lixian/pc/CheckSearchUser.vue +927 -927
- package/src/filiale/lixian/pc/NewCheckpaper.vue +1211 -1211
- package/src/filiale/lixian/pc/PaperList.vue +620 -620
- package/src/filiale/minsheng/android/SafecheckUserInfo.vue +754 -754
- package/src/filiale/minsheng/pc/CheckSearchUser.vue +976 -976
- package/src/filiale/minsheng/pc/DefectListNew.vue +535 -535
- package/src/filiale/pingxiang/android/PaperFeedback.vue +1399 -1399
- package/src/filiale/pingxiang/android/SafecheckOrderV.vue +2424 -2424
- package/src/filiale/pingxiang/android/SafecheckUserInfo.vue +600 -600
- package/src/filiale/pingxiang/pc/DefectListNew.vue +519 -519
- package/src/filiale/pingxiang/pc/DefectPaperNew.vue +1012 -1012
- package/src/filiale/pingxiang/pc/NewCheckpaper.vue +1294 -1294
- package/src/filiale/pingxiang/pc/PaperList.vue +595 -595
- package/src/filiale/qianneng/android/AddPlanItem.vue +482 -482
- package/src/filiale/qianneng/android/PaperFeedback.vue +1434 -1434
- package/src/filiale/qianneng/android/SafecheckOrderV.vue +2785 -2785
- package/src/filiale/qianneng/android/SafecheckUserInfo.vue +775 -775
- package/src/filiale/qianneng/pc/DefectListNew.vue +576 -576
- package/src/filiale/qianneng/pc/DefectPaperNew.vue +1072 -1072
- package/src/filiale/qianneng/pc/NewCheckpaper.vue +1546 -1546
- package/src/filiale/qianneng/pc/PaperList.vue +2 -2
- package/src/filiale/qingjian/android/SafecheckOrderV.vue +1 -1
- package/src/filiale/qingjian/android/SafecheckUserInfo.vue +800 -800
- package/src/filiale/qingjian/pc/PaperDefectMain.vue +895 -895
- package/src/filiale/qingtongxia/android/AddPlanItem.vue +1 -1
- package/src/filiale/qingtongxia/android/CurrentCreate.vue +1053 -1053
- package/src/filiale/qingtongxia/android/PhoneUpUserinfo.vue +1230 -1230
- package/src/filiale/qingtongxia/android/SafecheckOrderV.vue +2726 -2726
- package/src/filiale/qingtongxia/android/SafecheckUserInfo.vue +1 -1
- package/src/filiale/qingtongxia/pc/DefectListNew.vue +594 -594
- package/src/filiale/qingtongxia/pc/PaperDefectMain.vue +858 -858
- package/src/filiale/rizhao/android/AddPlanItem.vue +446 -446
- package/src/filiale/rizhao/android/PaperFeedback.vue +1510 -1510
- package/src/filiale/rizhao/android/SafecheckOrderV.vue +2430 -2430
- package/src/filiale/rizhao/android/SafecheckUserInfo.vue +640 -640
- package/src/filiale/rizhao/pc/DefectList.vue +489 -489
- package/src/filiale/rizhao/pc/NewCheckpaper.vue +1346 -1346
- package/src/filiale/rizhao/pc/PaperList.vue +714 -714
- package/src/filiale/rongchuang/android/PaperFeedback.vue +1455 -1455
- package/src/filiale/rongchuang/android/SafecheckOrderV.vue +1 -1
- package/src/filiale/rongchuang/android/checkpapermsg.vue +209 -209
- package/src/filiale/rongchuang/pc/NewCheckpaper.vue +1342 -1342
- package/src/filiale/rongchuang/pc/PaperList.vue +2 -2
- package/src/filiale/ruihua/android/SafecheckOrderV.vue +1 -1
- package/src/filiale/ruihua/android/SafecheckUserInfo.vue +1 -1
- package/src/filiale/shanggao/android/PaperFeedback.vue +1422 -1422
- package/src/filiale/shanggao/android/SafecheckOrderV.vue +2426 -2426
- package/src/filiale/shanxian/android/AddPlanItem.vue +1 -1
- package/src/filiale/shanxian/android/PaperFeedback.vue +1445 -1445
- package/src/filiale/shanxian/android/SafecheckOrderV.vue +2979 -2979
- package/src/filiale/shanxian/android/SafecheckUserInfo.vue +749 -749
- package/src/filiale/shanxian/pc/CheckSearchUser.vue +1114 -1114
- package/src/filiale/shanxian/pc/DefectPaperNew.vue +1096 -1096
- package/src/filiale/shanxian/pc/NewCheckpaper.vue +1526 -1526
- package/src/filiale/shanxian/pc/PaperList.vue +2 -2
- package/src/filiale/shaoguan/pc/PaperList.vue +589 -589
- package/src/filiale/shexian/android/AddPlanItem.vue +444 -444
- package/src/filiale/shexian/android/PaperFeedback.vue +1448 -1448
- package/src/filiale/shexian/android/SafecheckOrderV.vue +2879 -2879
- package/src/filiale/shexian/pc/DefectListNew.vue +593 -593
- package/src/filiale/shexian/pc/DefectPaperNew.vue +1161 -1161
- package/src/filiale/shexian/pc/NewCheckpaper.vue +1469 -1469
- package/src/filiale/shexian/pc/PaperDefectMain.vue +893 -893
- package/src/filiale/shexian/pc/PaperList.vue +2 -2
- package/src/filiale/shimen/android/PaperFeedback.vue +1341 -1341
- package/src/filiale/shimen/android/SafecheckUserInfo.vue +547 -547
- package/src/filiale/shimen/pc/CheckSearchUser.vue +927 -927
- package/src/filiale/shimen/pc/DefectList.vue +473 -473
- package/src/filiale/shimen/pc/NewCheckpaper.vue +1275 -1275
- package/src/filiale/shimen/pc/PaperList.vue +547 -547
- package/src/filiale/siyang/android/AddPlanItem.vue +1 -1
- package/src/filiale/siyang/android/AppCheckPlan.vue +246 -246
- package/src/filiale/siyang/android/CurrentCreate.vue +1 -1
- package/src/filiale/siyang/android/PhoneRecordInfo.vue +1 -1
- package/src/filiale/siyang/android/SafecheckOrderV.vue +1 -1
- package/src/filiale/siyang/android/SafecheckUserInfo.vue +1 -1
- package/src/filiale/siyang/pc/CheckBookList.vue +396 -396
- package/src/filiale/siyang/pc/CheckBookSearchArea.vue +667 -667
- package/src/filiale/siyang/pc/CheckPlanAreaList.vue +512 -512
- package/src/filiale/siyang/pc/CheckSearchUser.vue +2 -2
- package/src/filiale/siyang/pc/HiddenSituation.vue +167 -167
- package/src/filiale/siyang/pc/NewCheckpaper.vue +1938 -1938
- package/src/filiale/siyang/pc/PaperDefectMain.vue +1 -1
- package/src/filiale/siyang/pc/PaperList.vue +2 -2
- package/src/filiale/siyang/pc/PlanManage.vue +839 -839
- package/src/filiale/siyang/pc/checkPlanList.vue +367 -367
- package/src/filiale/siyang/pc/checkUserList.vue +790 -790
- package/src/filiale/tianke/android/AddPlanItem.vue +455 -455
- package/src/filiale/tianke/android/SafecheckOrderV.vue +2431 -2431
- package/src/filiale/tianke/android/SafecheckUserInfo.vue +744 -744
- package/src/filiale/tianke/pc/DefectListNew.vue +538 -538
- package/src/filiale/tianke/pc/PaperDefectMain.vue +891 -891
- package/src/filiale/tianke/pc/checkScreen.vue +786 -786
- package/src/filiale/tongchuan/android/AddPlanItem.vue +483 -483
- package/src/filiale/tongchuan/android/PaperFeedback.vue +1316 -1316
- package/src/filiale/tongchuan/android/PhoneRecordInfo.vue +191 -191
- package/src/filiale/tongchuan/android/PhoneSellInfo.vue +113 -113
- package/src/filiale/tongchuan/android/PhoneUpUserinfo.vue +1323 -1323
- package/src/filiale/tongchuan/android/SafecheckOrderV.vue +3033 -3033
- package/src/filiale/tongchuan/android/SafecheckUserInfo.vue +720 -720
- package/src/filiale/tongchuan/pc/CheckBookDetails.vue +209 -209
- package/src/filiale/tongchuan/pc/CheckSearchUser.vue +1040 -1040
- package/src/filiale/tongchuan/pc/DefectListWeixiu.vue +484 -484
- package/src/filiale/tongchuan/pc/DefectPaper.vue +764 -764
- package/src/filiale/tongchuan/pc/DefectPaperWeiXiu.vue +593 -593
- package/src/filiale/tongchuan/pc/PaperDefectMain.vue +1060 -1060
- package/src/filiale/tongchuan/pc/PaperList.vue +670 -670
- package/src/filiale/tongchuan/pc/checkUserList.vue +639 -639
- package/src/filiale/weinan/android/AddPlanItem.vue +438 -438
- package/src/filiale/weinan/android/CurrentCreate.vue +1171 -1171
- package/src/filiale/weinan/android/CurrentCreateOnline.vue +911 -911
- package/src/filiale/weinan/android/PaperFeedback.vue +1410 -1410
- package/src/filiale/weinan/android/SafePlanItem.vue +440 -440
- package/src/filiale/weinan/android/SafecheckOrderV.vue +3339 -3339
- package/src/filiale/weinan/android/SafecheckUserInfo.vue +778 -778
- package/src/filiale/weinan/pc/CheckBookSearchUserList.vue +735 -735
- package/src/filiale/weinan/pc/CheckSearchUser.vue +2 -2
- package/src/filiale/weinan/pc/DefectListNew.vue +1 -1
- package/src/filiale/weinan/pc/DefectPaperNew.vue +1096 -1096
- package/src/filiale/weinan/pc/DeviceChange.vue +1 -1
- package/src/filiale/weinan/pc/NewCheckpaper.vue +1459 -1459
- package/src/filiale/weinan/pc/PaperList.vue +674 -674
- package/src/filiale/weinan/pc/SelectCheckPlanOutHelp.vue +446 -446
- package/src/filiale/weinan/pc/checkScreen.vue +1094 -1094
- package/src/filiale/weinan/pc/checkUserList.vue +712 -712
- package/src/filiale/weinanct/android/SafecheckOrderV.vue +2730 -2730
- package/src/filiale/weinanct/pc/NewCheckpaper.vue +1315 -1315
- package/src/filiale/weinanct/pc/PaperList.vue +593 -593
- package/src/filiale/wensu/android/AddPlanItem.vue +495 -495
- package/src/filiale/wensu/android/AndroidDefectDeal.vue +464 -464
- package/src/filiale/wensu/android/PaperFeedback.vue +1358 -1358
- package/src/filiale/wensu/android/SafecheckOrderV.vue +2430 -2430
- package/src/filiale/wensu/android/SafecheckUserInfo.vue +627 -627
- package/src/filiale/wensu/pc/CheckSearchUser.vue +2 -2
- package/src/filiale/wensu/pc/DefectListNew.vue +735 -735
- package/src/filiale/wensu/pc/DefectPaperNew.vue +1148 -1148
- package/src/filiale/wensu/pc/PlanManage.vue +831 -831
- package/src/filiale/wensu/pc/SelectCheckPlan.vue +342 -342
- package/src/filiale/wenxi/android/AddPlanItem.vue +431 -431
- package/src/filiale/wenxi/android/PaperFeedback.vue +1607 -1607
- package/src/filiale/wenxi/android/SafecheckOrderV.vue +2671 -2671
- package/src/filiale/wenxi/android/SafecheckUserInfo.vue +2 -2
- package/src/filiale/wenxi/pc/CheckSearchUser.vue +991 -991
- package/src/filiale/wenxi/pc/DefectList.vue +653 -653
- package/src/filiale/wenxi/pc/DefectPaper.vue +663 -663
- package/src/filiale/wenxi/pc/NewCheckpaper.vue +1358 -1358
- package/src/filiale/wenxi/pc/PaperList.vue +949 -949
- package/src/filiale/wuan/android/PaperFeedback.vue +1433 -1433
- package/src/filiale/wuan/android/SafecheckOrderV.vue +2241 -2241
- package/src/filiale/wuan/android/SafecheckUserInfo.vue +596 -596
- package/src/filiale/wuan/pc/DefectListWeixiu.vue +506 -506
- package/src/filiale/wuan/pc/DefectPaperWeiXiu.vue +515 -515
- package/src/filiale/wuan/pc/NewCheckpaper.vue +1169 -1169
- package/src/filiale/wuan/pc/PaperList.vue +562 -562
- package/src/filiale/wuhai/android/PaperFeedback.vue +1350 -1350
- package/src/filiale/wuhai/android/SafecheckOrderV.vue +1 -1
- package/src/filiale/wuhai/android/SafecheckUserInfo.vue +573 -573
- package/src/filiale/wuhai/pc/CheckSearchUser.vue +959 -959
- package/src/filiale/wuhai/pc/NewCheckpaper.vue +1281 -1281
- package/src/filiale/wuhai/pc/PaperList.vue +2 -2
- package/src/filiale/xilan/android/AddPlanItem.vue +1 -1
- package/src/filiale/xilan/android/CurrentCreate.vue +1 -1
- package/src/filiale/xilan/pc/checkUserList.vue +772 -772
- package/src/filiale/xinkang/android/SafecheckOrderV.vue +2732 -2732
- package/src/filiale/xinkang/android/SafecheckUserInfo.vue +747 -747
- package/src/filiale/xinkang/pc/CheckSearchUser.vue +1026 -1026
- package/src/filiale/xinkang/pc/DefectListWeixiu.vue +475 -475
- package/src/filiale/xinkang/pc/DefectPaperWeiXiu.vue +538 -538
- package/src/filiale/xinkang/pc/NewCheckpaper.vue +1498 -1498
- package/src/filiale/xinkang/pc/PaperList.vue +603 -603
- package/src/filiale/yangchunboneng/android/AddPlanItem.vue +496 -496
- package/src/filiale/yangchunboneng/android/PaperFeedback.vue +1731 -1731
- package/src/filiale/yangchunboneng/android/PhoneUpUserinfo.vue +1235 -1235
- package/src/filiale/yangchunboneng/android/SafecheckOrderV.vue +1 -1
- package/src/filiale/yangchunboneng/android/SafecheckUserInfo.vue +887 -887
- package/src/filiale/yangchunboneng/pc/CheckBookUser.vue +269 -269
- package/src/filiale/yangchunboneng/pc/CheckSearchUser.vue +2 -2
- package/src/filiale/yangchunboneng/pc/DefectListNew.vue +576 -576
- package/src/filiale/yangchunboneng/pc/DefectPaperNew.vue +1128 -1128
- package/src/filiale/yangchunboneng/pc/PaperDefectMain.vue +1 -1
- package/src/filiale/yangchunboneng/pc/PaperList.vue +773 -773
- package/src/filiale/yongzhou/android/PaperFeedback.vue +1519 -1519
- package/src/filiale/yongzhou/android/SafecheckOrderV.vue +2 -2
- package/src/filiale/yongzhou/android/SafecheckUserInfo.vue +776 -776
- package/src/filiale/yongzhou/pc/CheckSearchUser.vue +2 -2
- package/src/filiale/yongzhou/pc/DefectPaperNew.vue +3 -3
- package/src/filiale/yongzhou/pc/NoCheckplanSafecheck.vue +557 -557
- package/src/filiale/yongzhou/pc/PaperDefectMain.vue +1 -1
- package/src/filiale/yongzhou/pc/PaperList.vue +798 -798
- package/src/filiale/yongzhou/pc/SelectCheckPlan.vue +364 -364
- package/src/filiale/yongzhou/pc/communityTypeDetailG.vue +138 -138
- package/src/filiale/yongzhou/pc/safeDetail.vue +539 -539
- package/src/filiale/yuansheng/android/AndroidDefectDeal.vue +652 -652
- package/src/filiale/yuansheng/android/PaperFeedback.vue +1488 -1488
- package/src/filiale/yuansheng/android/SafecheckOrderV.vue +2758 -2758
- package/src/filiale/yuansheng/android/SafecheckUserInfo.vue +797 -797
- package/src/filiale/yuansheng/android/SwitchValve.vue +322 -322
- package/src/filiale/yuansheng/pc/DefectListNew.vue +524 -524
- package/src/filiale/yuansheng/pc/NewCheckpaper.vue +1371 -1371
- package/src/filiale/yuansheng/pc/PaperList.vue +621 -621
- package/src/filiale/yuansheng/pc/checkmsg.vue +464 -464
- package/src/filiale/yunchengminsheng/android/PaperFeedback.vue +1508 -1508
- package/src/filiale/yunchengminsheng/android/SafecheckOrderV.vue +2849 -2849
- package/src/filiale/yunchengminsheng/android/SafecheckUserInfo.vue +784 -784
- package/src/filiale/yunchengminsheng/pc/NewCheckpaper.vue +1538 -1538
- package/src/filiale/zhongsheng/android/BuyRecords.vue +122 -122
- package/src/filiale/zhongsheng/android/PaperFeedback.vue +1341 -1341
- package/src/filiale/zhongsheng/android/SafecheckOrderV.vue +2461 -2461
- package/src/filiale/zhongsheng/android/SafecheckUserInfo.vue +690 -690
- package/src/filiale/zhongsheng/pc/DefectListWeixiu.vue +514 -514
- package/src/filiale/zhongsheng/pc/DefectPaperWeiXiu.vue +515 -515
- package/src/filiale/zhongsheng/pc/NewCheckpaper.vue +1322 -1322
- package/src/filiale/zhongsheng/pc/PaperList.vue +644 -644
- package/src/filiale/zhongyi/android/SafecheckOrderV.vue +2431 -2431
- package/src/filiale/zhoukou/android/PaperFeedback.vue +1367 -1367
- package/src/filiale/zhoukou/android/SafecheckOrderV.vue +2502 -2502
- package/src/filiale/zhoukou/android/SafecheckUserInfo.vue +588 -588
- package/src/filiale/zhoukou/pc/CheckSearchUser.vue +923 -923
@@ -1,764 +1,764 @@
|
|
1
|
-
<template>
|
2
|
-
<div class="flex">
|
3
|
-
<criteria-paged :model="model" v-ref:paged>
|
4
|
-
<criteria partial='criteria' @condition-changed='$parent.search' v-ref:criteria>
|
5
|
-
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
6
|
-
<div class="row" v-if="!$parent.$parent.$parent.showItem">
|
7
|
-
<div :class="$parent.$parent.style">
|
8
|
-
<label class="font_normal_body">安检计划</label>
|
9
|
-
<input type="text" class="input_search" v-model="$parent.$parent.f_check_plan.f_plan_name"
|
10
|
-
@click="$parent.$parent.showChooser"
|
11
|
-
style="width: 60%" placeholder="安检计划" readonly="readonly">
|
12
|
-
</div>
|
13
|
-
<div :class="$parent.$parent.style">
|
14
|
-
<label class="font_normal_body">存在隐患</label>
|
15
|
-
<v-select style="width:60% "
|
16
|
-
class="select select_list"
|
17
|
-
:value.sync="model.f_has_defect"
|
18
|
-
v-model="model.f_has_defect"
|
19
|
-
:options='$parent.$parent.hasDefectOptions'
|
20
|
-
:placeholder='model.f_has_defect'
|
21
|
-
condition="f_has_defect = '{}'"
|
22
|
-
close-on-select>
|
23
|
-
</v-select>
|
24
|
-
</div>
|
25
|
-
<div :class="$parent.$parent.style">
|
26
|
-
<label class="font_normal_body">用户编号</label>
|
27
|
-
<input type="text" class="input_search" v-model="model.f_userinfo_code"
|
28
|
-
condition="f_userinfo_code = '{}'"
|
29
|
-
style="width: 60%" placeholder="用户编号">
|
30
|
-
</div>
|
31
|
-
<div :class="$parent.$parent.style">
|
32
|
-
<label class="font_normal_body">结果查询</label>
|
33
|
-
<v-select
|
34
|
-
placeholder='处理结果查询'
|
35
|
-
:value-single="true"
|
36
|
-
class="select select_list" style="width: 60%"
|
37
|
-
v-model='model.f_repaired'
|
38
|
-
:value.sync="model.f_repaired"
|
39
|
-
:options='$parent.$parent.repaired'
|
40
|
-
condition="f_repaired = '{}'"
|
41
|
-
close-on-select clear-button> </v-select>
|
42
|
-
</div>
|
43
|
-
<div class=" col-sm-4 form-group button-range" >
|
44
|
-
<div class="span" style="float: right;margin-top: 8px">
|
45
|
-
<div style="float: right" class="button_spacing"
|
46
|
-
:class="{'button_shrink_left':$parent.$parent.$parent.showItem,'button_shrink_right':!$parent.$parent.$parent.showItem}"
|
47
|
-
@click="$parent.$parent.hiddenr()"></div>
|
48
|
-
<div style="float: right" class="button_spacing"
|
49
|
-
:class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
|
50
|
-
@click="$parent.$parent.hidden()"></div>
|
51
|
-
<button style="float: right" class="button_search button_spacing" @click="search">查询</button>
|
52
|
-
<button class="button_search button_spacing" v-if="$parent.$parent.batchSent=='是'" @click="$parent.$parent.showmod()">转维修</button>
|
53
|
-
<div style="float: right">
|
54
|
-
<export-excel :data="{condition: $parent.$parent.model.condition,
|
55
|
-
f_defect_content: $parent.$parent.model.f_defect_content,
|
56
|
-
f_filialeids:$parent.$parent.model.f_filialeids,f_defect_content:$parent.$parent.model.f_defect_content}"
|
57
|
-
:field="$parent.$parent.getfield"
|
58
|
-
progress="safeGetExportProgress"
|
59
|
-
sqlurl="api/af-safecheck/logic/SafeExportExcel" sql-name="GetCheckPaperByDefect" template-name='安检隐患明细' :choose-col="true"></export-excel>
|
60
|
-
</div>
|
61
|
-
</div>
|
62
|
-
</div>
|
63
|
-
</div>
|
64
|
-
<div class="row" v-if="$parent.$parent.criteriaShow&&!$parent.$parent.$parent.showItem">
|
65
|
-
<div :class="$parent.$parent.style">
|
66
|
-
<label class="font_normal_body">片  区</label>
|
67
|
-
<v-select class="select_list select"
|
68
|
-
placeholder='片区/管理站' style="width: 60%"
|
69
|
-
:value.sync="model.f_slice_area" v-model="model.f_slice_area"
|
70
|
-
:options='$parent.$parent.sliceArea'
|
71
|
-
filer-key="name"
|
72
|
-
close-on-select clear-button
|
73
|
-
condition="f_slice_area='{}'"
|
74
|
-
@change="$parent.$parent.getmeterbook(model.f_slice_area)"
|
75
|
-
:value-single="true">
|
76
|
-
</v-select>
|
77
|
-
</div>
|
78
|
-
<div :class="$parent.$parent.style2" style="margin: 0">
|
79
|
-
<role-selector-safe
|
80
|
-
role-name="安检员"
|
81
|
-
role-lable="安 检 员 "
|
82
|
-
@re-res="$parent.$parent.getRes"
|
83
|
-
:value.sync="model.f_checker_id"
|
84
|
-
v-model="model.f_checker_id"
|
85
|
-
condition="f_checker_name = '{}'">
|
86
|
-
</role-selector-safe>
|
87
|
-
</div>
|
88
|
-
|
89
|
-
<div :class="$parent.$parent.style">
|
90
|
-
<label class="font_normal_body">抄 表 册</label>
|
91
|
-
<v-select class="select_list select"
|
92
|
-
placeholder='抄表册' style="width: 60%"
|
93
|
-
:value.sync="model.f_meter_book_num" v-model="model.f_meter_book_num"
|
94
|
-
:options='$parent.$parent.cbc'
|
95
|
-
filer-key="name"
|
96
|
-
close-on-select clear-button
|
97
|
-
condition="f_meter_book_num={}"
|
98
|
-
:value-single="true">
|
99
|
-
</v-select>
|
100
|
-
</div>
|
101
|
-
<div :class="$parent.$parent.style">
|
102
|
-
<label class="font_normal_body">起始时间</label>
|
103
|
-
<datepicker
|
104
|
-
placeholder='起始时间' style="width:60%"
|
105
|
-
:disabled-days-of-week="[]"
|
106
|
-
:format="'yyyy-MM-dd'"
|
107
|
-
:show-rest-button="reset"
|
108
|
-
:value.sync="model.f_start_time"
|
109
|
-
v-model="model.f_start_time"
|
110
|
-
condition="f_offsite_time >= '{} 00:00:00'">
|
111
|
-
</datepicker>
|
112
|
-
</div>
|
113
|
-
<div :class="$parent.$parent.style">
|
114
|
-
<label class="font_normal_body">结束时间</label>
|
115
|
-
<datepicker
|
116
|
-
placeholder='结束时间' style="width:60%"
|
117
|
-
:disabled-days-of-week="[]"
|
118
|
-
:format="'yyyy-MM-dd'"
|
119
|
-
:show-rest-button="reset"
|
120
|
-
:value.sync="model.f_end_time"
|
121
|
-
v-model="model.f_end_time"
|
122
|
-
condition="f_offsite_time <= '{} 23:59:59'">
|
123
|
-
</datepicker>
|
124
|
-
</div>
|
125
|
-
|
126
|
-
|
127
|
-
</div>
|
128
|
-
<div class="row" v-if="$parent.$parent.$parent.showItem">
|
129
|
-
<div :class="$parent.$parent.style">
|
130
|
-
<label class="font_normal_body">安检计划</label>
|
131
|
-
<input type="text" class="input_search" v-model="$parent.$parent.f_check_plan.f_plan_name"
|
132
|
-
@click="$parent.$parent.showChooser"
|
133
|
-
style="width: 60%" placeholder="安检计划" readonly="readonly">
|
134
|
-
</div>
|
135
|
-
<div :class="$parent.$parent.style">
|
136
|
-
<label class="font_normal_body">存在隐患</label>
|
137
|
-
<v-select style="width:60% "
|
138
|
-
class="select select_list"
|
139
|
-
:value.sync="model.f_has_defect"
|
140
|
-
v-model="model.f_has_defect"
|
141
|
-
:options='$parent.$parent.hasDefectOptions'
|
142
|
-
:placeholder='model.f_has_defect'
|
143
|
-
condition="f_has_defect = '{}'"
|
144
|
-
close-on-select>
|
145
|
-
</v-select>
|
146
|
-
</div>
|
147
|
-
|
148
|
-
<div class=" col-sm-4 form-group button-range">
|
149
|
-
<div class="span" style="float: right;margin-top: 8px;margin-right: 50px">
|
150
|
-
<div style="float: right" class="button_spacing"
|
151
|
-
:class="{'button_shrink_left':$parent.$parent.$parent.showItem,'button_shrink_right':!$parent.$parent.$parent.showItem}"
|
152
|
-
@click="$parent.$parent.hiddenr()"></div>
|
153
|
-
<div style="float: right" class="button_spacing"
|
154
|
-
:class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
|
155
|
-
@click="$parent.$parent.hidden()"></div>
|
156
|
-
<button style="float: right" class="button_search button_spacing" @click="search">查询</button>
|
157
|
-
<div style="float: right">
|
158
|
-
<export-excel :data="{condition: $parent.$parent.model.condition,f_filialeids:$parent.$parent.model.f_filialeids}"
|
159
|
-
:field="$parent.$parent.getfield"
|
160
|
-
progress="safeGetExportProgress"
|
161
|
-
sqlurl="api/af-safecheck/logic/SafeExportExcel" sql-name="GetCheckPaperByDefect" template-name='安检计划明细' :choose-col="true"></export-excel>
|
162
|
-
</div>
|
163
|
-
</div>
|
164
|
-
</div>
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
</div>
|
169
|
-
<div class="row" v-if="$parent.$parent.criteriaShow&&$parent.$parent.$parent.showItem">
|
170
|
-
<div :class="$parent.$parent.style">
|
171
|
-
<label class="font_normal_body">用户编号</label>
|
172
|
-
<input type="text" class="input_search" v-model="model.f_userinfo_code"
|
173
|
-
condition="f_userinfo_code = '{}'"
|
174
|
-
style="width: 60%" placeholder="用户编号">
|
175
|
-
</div>
|
176
|
-
<div :class="$parent.$parent.style">
|
177
|
-
<label class="font_normal_body">结果查询</label>
|
178
|
-
<v-select
|
179
|
-
placeholder='处理结果查询'
|
180
|
-
:value-single="true"
|
181
|
-
class="select select_list" style="width: 60%"
|
182
|
-
v-model='model.f_repaired'
|
183
|
-
:value.sync="model.f_repaired"
|
184
|
-
:options='$parent.$parent.repaired'
|
185
|
-
condition="f_repaired = '{}'"
|
186
|
-
close-on-select clear-button> </v-select>
|
187
|
-
</div>
|
188
|
-
|
189
|
-
<div :class="$parent.$parent.style2" style="margin: 0">
|
190
|
-
<role-selector-safe
|
191
|
-
role-name="安检员"
|
192
|
-
role-lable="安 检 员 "
|
193
|
-
@re-res="$parent.$parent.getRes"
|
194
|
-
:value.sync="model.f_checker_id"
|
195
|
-
v-model="model.f_checker_id"
|
196
|
-
condition="f_checker_name = '{}'">
|
197
|
-
</role-selector-safe>
|
198
|
-
</div>
|
199
|
-
</div>
|
200
|
-
<div class="row" v-if="$parent.$parent.criteriaShow && $parent.$parent.$parent.showItem">
|
201
|
-
<div :class="$parent.$parent.style">
|
202
|
-
<label class="font_normal_body">片  区</label>
|
203
|
-
<v-select class="select_list select"
|
204
|
-
placeholder='片区/管理站' style="width: 60%"
|
205
|
-
:value.sync="model.f_slice_area" v-model="model.f_slice_area"
|
206
|
-
:options='$parent.$parent.sliceArea'
|
207
|
-
filer-key="name"
|
208
|
-
close-on-select clear-button
|
209
|
-
condition="f_slice_area='{}'"
|
210
|
-
@change="$parent.$parent.getmeterbook(model.f_slice_area)"
|
211
|
-
:value-single="true">
|
212
|
-
</v-select>
|
213
|
-
</div>
|
214
|
-
<div :class="$parent.$parent.style">
|
215
|
-
<label class="font_normal_body">抄 表 册</label>
|
216
|
-
<v-select class="select_list select"
|
217
|
-
placeholder='抄表册' style="width: 60%"
|
218
|
-
:value.sync="model.f_meter_book_num" v-model="model.f_meter_book_num"
|
219
|
-
:options='$parent.$parent.cbc'
|
220
|
-
filer-key="name"
|
221
|
-
close-on-select clear-button
|
222
|
-
condition="f_meter_book_num={}"
|
223
|
-
:value-single="true">
|
224
|
-
</v-select>
|
225
|
-
</div>
|
226
|
-
<div :class="$parent.$parent.style">
|
227
|
-
<label class="font_normal_body">起始时间</label>
|
228
|
-
<datepicker
|
229
|
-
placeholder='起始时间' style="width:60%"
|
230
|
-
:disabled-days-of-week="[]"
|
231
|
-
:format="'yyyy-MM-dd'"
|
232
|
-
:show-rest-button="reset"
|
233
|
-
:value.sync="model.f_start_time"
|
234
|
-
v-model="model.f_start_time"
|
235
|
-
condition="f_offsite_time >= '{} 00:00:00'">
|
236
|
-
</datepicker>
|
237
|
-
</div>
|
238
|
-
<div :class="$parent.$parent.style">
|
239
|
-
<label class="font_normal_body">结束时间</label>
|
240
|
-
<datepicker
|
241
|
-
placeholder='结束时间' style="width:60%"
|
242
|
-
:disabled-days-of-week="[]"
|
243
|
-
:format="'yyyy-MM-dd'"
|
244
|
-
:show-rest-button="reset"
|
245
|
-
:value.sync="model.f_end_time"
|
246
|
-
v-model="model.f_end_time"
|
247
|
-
condition="f_offsite_time <= '{} 23:59:59'">
|
248
|
-
</datepicker>
|
249
|
-
</div>
|
250
|
-
|
251
|
-
|
252
|
-
</div>
|
253
|
-
</div>
|
254
|
-
</criteria>
|
255
|
-
<data-grid :model="model" partial='list' v-ref:grid class="list_area table_sy">
|
256
|
-
<template partial='head'>
|
257
|
-
<tr>
|
258
|
-
<th v-if="$parent.$parent.$parent.batchSent=='是'"><nobr><input type="checkbox" v-model="$parent.$parent.$parent.checkAll"/> 全选</nobr></th>
|
259
|
-
<th><nobr>入户状态</nobr></th>
|
260
|
-
<th><nobr>用户编号</nobr></th>
|
261
|
-
<th><nobr>用户名</nobr></th>
|
262
|
-
<th><nobr>用户电话</nobr></th>
|
263
|
-
<th><nobr>用户小区</nobr></th>
|
264
|
-
<th><nobr>用户地址</nobr></th>
|
265
|
-
<th><nobr>安检时间</nobr></th>
|
266
|
-
<th><nobr>安检员</nobr></th>
|
267
|
-
<th><nobr>计划名</nobr></th>
|
268
|
-
<th><nobr>是否有隐患</nobr></th>
|
269
|
-
<th><nobr>隐患数</nobr></th>
|
270
|
-
<th><nobr>整改数</nobr></th>
|
271
|
-
|
272
|
-
</tr>
|
273
|
-
</template>
|
274
|
-
<template partial='body'>
|
275
|
-
<td style="text-align: center;white-space:nowrap;" v-if="$parent.$parent.$parent.batchSent=='是'"><input type="checkbox" v-show="row.f_repaired=='未修'" onClick="event.cancelBubble = true" :checked="$parent.$parent.$parent.isChecked(row.id)" @change="$parent.$parent.$parent.setCheckes(row.id)" /></td>
|
276
|
-
<td style="text-align: center;white-space:nowrap;">{{row.f_entry_status}}</td>
|
277
|
-
<td style="text-align: center;white-space:nowrap;">{{row.f_userinfo_code}}</td>
|
278
|
-
<td style="text-align: center;white-space:nowrap;">{{row.f_user_name}}</td>
|
279
|
-
<td style="text-align: center;white-space:nowrap;">{{row.f_user_phone}}</td>
|
280
|
-
<td style="text-align: center;white-space:nowrap;">{{row.f_residential_area}}</td>
|
281
|
-
<td style="text-align: center;white-space:nowrap;">{{row.f_address}}</td>
|
282
|
-
<td style="text-align: center;white-space:nowrap;">{{row.f_offsite_time}}</td>
|
283
|
-
<td style="text-align: center;white-space:nowrap;">{{row.f_checker_name}}</td>
|
284
|
-
<td style="text-align: center;white-space:nowrap;">{{row.f_plan_name}}</td>
|
285
|
-
<td style="text-align: center;white-space:nowrap;">{{row.f_has_defect}}</td>
|
286
|
-
<td style="text-align: center;white-space:nowrap;">{{row.f_defect_count}}</td>
|
287
|
-
<td style="text-align: center;white-space:nowrap;">{{row.f_repair_count}}</td>
|
288
|
-
|
289
|
-
</template>
|
290
|
-
</data-grid>
|
291
|
-
</criteria-paged>
|
292
|
-
|
293
|
-
<modal :show.sync="showModal" v-ref:modal>
|
294
|
-
<div slot="modal-header" class="modal-header">
|
295
|
-
<h4 class="modal-title">
|
296
|
-
选择计划
|
297
|
-
</h4>
|
298
|
-
</div>
|
299
|
-
<div slot="modal-body" class="modal-body">
|
300
|
-
<plan-chooser :f.sync="this.$login.f" v-ref:chooser></plan-chooser>
|
301
|
-
</div>
|
302
|
-
<div slot="modal-footer" class="modal-footer" style="text-align: center">
|
303
|
-
<button class="button_search" @click="ok">确认</button>
|
304
|
-
<button class="button_search" @click="cancel">取消</button>
|
305
|
-
</div>
|
306
|
-
</modal>
|
307
|
-
<modal :show.sync="showModal2" :backdrop="false">
|
308
|
-
<div slot="modal-header" class="modal-header">
|
309
|
-
<h4 class="modal-title">
|
310
|
-
转维修
|
311
|
-
</h4>
|
312
|
-
</div>
|
313
|
-
<div slot="modal-body" class="modal-body">
|
314
|
-
<div v-if="true">
|
315
|
-
<div class="row" style="margin-top: 10px">
|
316
|
-
<label class="control-label font text-left" style="float:left;margin-left:20%;margin-top:5px">派发类型</label>
|
317
|
-
<div class="col-xs-8 col-md-8">
|
318
|
-
<v-select :value.sync="selectData.dispatchType" :value-single="true" v-model="selectData.dispatchType"
|
319
|
-
:options='dispatchTypeOptions' placeholder='派发类型'
|
320
|
-
close-on-select>
|
321
|
-
</v-select>
|
322
|
-
</div>
|
323
|
-
</div>
|
324
|
-
<div class="row" style="margin-top: 10px" v-if="selectData.dispatchType=='派发给维修员'">
|
325
|
-
<label class="control-label font text-left" style="float:left;margin-left:20%;margin-top:5px">维 修 员</label>
|
326
|
-
<div class="col-xs-8 col-md-8">
|
327
|
-
<v-select
|
328
|
-
:value.sync="selectData.f_repairman"
|
329
|
-
:value-single="true"
|
330
|
-
:options='repairers'
|
331
|
-
placeholder='请选择维修员'
|
332
|
-
close-on-select></v-select>
|
333
|
-
</div>
|
334
|
-
</div>
|
335
|
-
<div class="row" style="margin-top: 10px" v-if="selectData.dispatchType=='派发给站点'">
|
336
|
-
<label class="control-label font text-left" style="float:left;margin-left:20%;margin-top:5px">站    点</label>
|
337
|
-
<div class="col-xs-8 col-md-8">
|
338
|
-
<right-tree
|
339
|
-
islist
|
340
|
-
:userid="userid"
|
341
|
-
:source="'dep=this.getParentByType($organization$).getSpecialResByType($department$),tool.getFullTree(dep.where(row.hasSpecialRole($派单员$)))'"
|
342
|
-
@re-res="getSiteRes"></right-tree>
|
343
|
-
</div>
|
344
|
-
</div>
|
345
|
-
<div class="row" style="margin-top: 10px">
|
346
|
-
<label class="control-label font text-left" style="float:left;margin-left:20%;margin-top:5px">报修类型</label>
|
347
|
-
<div class="col-xs-8 col-md-8">
|
348
|
-
<v-select :value.sync="selectData.f_repairtype" style="width:60%"
|
349
|
-
class="select select_list"
|
350
|
-
:value-single="true"
|
351
|
-
:options='repairTypeOptions'
|
352
|
-
close-on-select>
|
353
|
-
</v-select>
|
354
|
-
</div>
|
355
|
-
</div>
|
356
|
-
<div class="row" style="margin-top: 10px">
|
357
|
-
<label class="control-label font text-left" style="float:left;margin-left:20%;margin-top:5px">备 注</label>
|
358
|
-
<div class="col-xs-8 col-md-8">
|
359
|
-
<textarea style="width: 60%; height: 100px" v-model="selectData.f_remarks"></textarea>
|
360
|
-
</div>
|
361
|
-
</div>
|
362
|
-
</div>
|
363
|
-
</div>
|
364
|
-
<div slot="modal-footer" class="modal-footer" style="text-align: center">
|
365
|
-
<button class="button_search" @click="rectification">转维修</button>
|
366
|
-
<button class="button_search" @click="cancel1">取消</button>
|
367
|
-
</div>
|
368
|
-
</modal>
|
369
|
-
</div>
|
370
|
-
</template>
|
371
|
-
<script>
|
372
|
-
import {HttpResetClass,PagedList} from 'vue-client'
|
373
|
-
//import from "vue-client/src/plugins/HttpResetClass";
|
374
|
-
import co from 'co'
|
375
|
-
import Vue from "vue";
|
376
|
-
|
377
|
-
let select = function* (self) {
|
378
|
-
let http = new HttpResetClass()
|
379
|
-
let getGasman = yield http.load('POST', '/rs/search', {
|
380
|
-
source: 'this.getParentByType($department$).getAllChildrens().where(row.getAttributes().get($rolestr$).indexOf($安检员$) != -1))',
|
381
|
-
userid: self.$login.f.id
|
382
|
-
}, {resolveMsg: null, rejectMsg: null})
|
383
|
-
//tag
|
384
|
-
self.checkersid.push({label: '全部', value: ''})
|
385
|
-
getGasman.data.forEach((checker) => {
|
386
|
-
self.checkersid.push({label: checker.name, value: checker.name})
|
387
|
-
})
|
388
|
-
}
|
389
|
-
export default {
|
390
|
-
title: '隐患查询',
|
391
|
-
data() {
|
392
|
-
let model = new PagedList('api/af-safecheck/sql/GetCheckPaperByDefect', 20, {
|
393
|
-
f_filialeids: 'this.f_filialeids',f_defect_content: 'this.f_defect_content'
|
394
|
-
})
|
395
|
-
model.f_filialeids = '(' + this.$login.f.orgid + ')'
|
396
|
-
model.f_defect_content="CASE WHEN CHARINDEX( '\"result\":\"正常\"', f_defect_content ) > 0 THEN '无隐患' ELSE replace(replace(replace( replace( RIGHT ( f_defect_content, len( f_defect_content ) - 26 ), substring('{}',2,1), '' ), substring('{}',1,1), '' ),']',''),'\"','') END"
|
397
|
-
return {
|
398
|
-
repaired:[{label: '未修', value: '未修'}, {label: '已修', value: '已修'}],
|
399
|
-
hasDefectOptions: [{label: '全部', value: ''}, {label: '有隐患', value: '有隐患'}, {label: '无隐患', value: '无隐患'}],
|
400
|
-
f: this.$login.f,
|
401
|
-
model: model,
|
402
|
-
criteriaShow: false,
|
403
|
-
showModal: false,
|
404
|
-
f_check_plan: {f_plan_name: '', id: ''},
|
405
|
-
sumsmodel: {},
|
406
|
-
all: false,
|
407
|
-
fields: {},
|
408
|
-
modelval: [],
|
409
|
-
checkersid: [],
|
410
|
-
sliceArea: [],
|
411
|
-
cbc:[],
|
412
|
-
cbcs:[],
|
413
|
-
thead: '',
|
414
|
-
showModal2:false,
|
415
|
-
checkAll:false,
|
416
|
-
checkes:[],
|
417
|
-
batchSent:'否',
|
418
|
-
repairTypeOptions:this.$appdata.getParam('报修类型'),
|
419
|
-
dispatchTypeOptions: [{label: '派发给维修员', value: '派发给维修员'}],
|
420
|
-
selectData:{
|
421
|
-
dispatchType:'派发给维修员',
|
422
|
-
f_repairman:'',
|
423
|
-
f_remarks:'',
|
424
|
-
f_repairtype:''
|
425
|
-
},
|
426
|
-
repairers: [],
|
427
|
-
headData: ['入户状态','用户编号','用户名','用户电话','用户小区','用户地址','安检时间','安检员','计划名','是否有隐患','隐患数','隐患情况'],
|
428
|
-
bodyData: ['f_entry_status','f_userinfo_code','f_user_name','f_user_phone','f_residential_area','f_address','f_offsite_time','f_checker_name','f_plan_name','f_has_defect','f_defect_count','f_defect_content']
|
429
|
-
}
|
430
|
-
},
|
431
|
-
props:{
|
432
|
-
|
433
|
-
style: {
|
434
|
-
type: String,
|
435
|
-
default: 'col-sm-2 form-group'
|
436
|
-
},
|
437
|
-
style2: {
|
438
|
-
type: String,
|
439
|
-
default: 'col-sm-4 form-group'
|
440
|
-
}
|
441
|
-
|
442
|
-
},
|
443
|
-
|
444
|
-
methods: {
|
445
|
-
cancel1(){
|
446
|
-
this.showModal2=false
|
447
|
-
this.selectData={
|
448
|
-
dispatchType:'',
|
449
|
-
f_repairman:'',
|
450
|
-
f_remarks:'',
|
451
|
-
f_repairtype:''
|
452
|
-
}
|
453
|
-
},
|
454
|
-
showmod(){
|
455
|
-
if(this.model.rows.length==0){
|
456
|
-
this.$showMessage('请先选择需要转维修的用户!')
|
457
|
-
return
|
458
|
-
}
|
459
|
-
if (this.checkAll || this.checkes.length>0) {
|
460
|
-
this.showModal2=true
|
461
|
-
}else{
|
462
|
-
this.$showMessage('请先勾选需要转维修的用户!')
|
463
|
-
return
|
464
|
-
}
|
465
|
-
|
466
|
-
},
|
467
|
-
rectification(){
|
468
|
-
if(this.selectData.dispatchType){
|
469
|
-
if(this.selectData.dispatchType=='派发给站点'){
|
470
|
-
if(!this.selectData.f_reciever){
|
471
|
-
this.$showMessage('请选择部门!')
|
472
|
-
return
|
473
|
-
}
|
474
|
-
}else{
|
475
|
-
if(!this.selectData.f_repairman){
|
476
|
-
this.$showMessage('请选择维修员!')
|
477
|
-
return
|
478
|
-
}
|
479
|
-
}
|
480
|
-
}else {
|
481
|
-
this.$showMessage('请选择派发类型!')
|
482
|
-
return
|
483
|
-
}
|
484
|
-
if(!this.selectData.f_repairtype){
|
485
|
-
this.$showMessage('请选择报修类型!')
|
486
|
-
return
|
487
|
-
}
|
488
|
-
this.$showMessage('确定要将当前选中用户转派给维修吗?!', ['confirm', 'cancel']).then((msg)=>{
|
489
|
-
if(msg=='confirm'){
|
490
|
-
|
491
|
-
let act={}
|
492
|
-
let toRepair=''
|
493
|
-
if(this.selectData.dispatchType=='派发给站点'){
|
494
|
-
act={f_meetunit:this.selectData.f_meetunit,f_reciever:this.selectData.f_reciever,f_service_acitivity_type:'派单'}
|
495
|
-
toRepair=null
|
496
|
-
}else{
|
497
|
-
//tag
|
498
|
-
act={f_reciever:this.selectData.f_repairman,f_service_acitivity_type:'派单'}
|
499
|
-
toRepair='一级派单'
|
500
|
-
}
|
501
|
-
this.$resetpost(`/api/af-safecheck/logic/UploadRectification`,
|
502
|
-
{
|
503
|
-
condition:this.model.params.condition,
|
504
|
-
itemname:this.model.itemname,
|
505
|
-
f_filialeids:this.model.params.f_filialeids,
|
506
|
-
switchCheckAll:true,
|
507
|
-
checkAll:this.checkAll,
|
508
|
-
param:this.checkes,
|
509
|
-
columnName:'id',
|
510
|
-
toRepair:toRepair,
|
511
|
-
activity:act,
|
512
|
-
deps:this.$login.f.deps,
|
513
|
-
depids:this.$login.f.depids,
|
514
|
-
f_remarks:this.selectData.f_remarks,
|
515
|
-
f_repairtype:this.selectData.f_repairtype,
|
516
|
-
f_attendant: this.$login.f.name,
|
517
|
-
loginUser:{name:this.$login.f.name,ename:this.$login.f.ename,id:this.$login.f.id},
|
518
|
-
},{resolveMsg: null, rejectMsg: null}).then((res) => {
|
519
|
-
if(res.data.code=200){
|
520
|
-
//this.$showMessage('本次成功派发'+res.data.successcon+'个维修单!'+`其中${res.data.nohidden}个不需要隐患整改,${res.data.repeatCount}个已经派发过隐患整改单`)
|
521
|
-
this.$showMessage('本次成功派发'+res.data.successcon+'个维修单!')
|
522
|
-
this.checkAll=false;
|
523
|
-
// 全选改变后,清空选中数据
|
524
|
-
this.checkes = []
|
525
|
-
this.selectData={
|
526
|
-
dispatchType:'派发给维修员',
|
527
|
-
f_repairman:'',
|
528
|
-
f_remarks:'',
|
529
|
-
f_repairtype:''
|
530
|
-
}
|
531
|
-
this.showModal2=false
|
532
|
-
this.$refs.paged.$refs.criteria.search()
|
533
|
-
}
|
534
|
-
}).cache((msg)=>{
|
535
|
-
this.$showMessage('网络异常,请重新操作!')
|
536
|
-
})
|
537
|
-
}
|
538
|
-
})
|
539
|
-
},
|
540
|
-
getSiteRes(obj) {
|
541
|
-
//tag
|
542
|
-
//tag
|
543
|
-
if(obj.resids[0]){
|
544
|
-
this.selectData.f_meetunit = obj.res.join('.')
|
545
|
-
this.selectData.f_reciever = obj.resids.join('.')
|
546
|
-
this.selectData.f_outlets = obj.res[obj.res.length - 1]
|
547
|
-
}else {
|
548
|
-
this.selectData.f_meetunit = ''
|
549
|
-
this.selectData.f_reciever = ''
|
550
|
-
this.selectData.f_outlets = ''
|
551
|
-
}
|
552
|
-
},
|
553
|
-
// 获取维修员
|
554
|
-
getEmp() {
|
555
|
-
let val = {source: 'this.getParentByType($department$).getAllChildrens().where(row.getAttributes().get($rolestr$).indexOf($维修员$) != -1 ))', userid: `${this.$login.f.id}`}
|
556
|
-
let http = new HttpResetClass()
|
557
|
-
http.load('POST', '/rs/search', {data: val}, {resolveMsg: null, rejectMsg: null}).then((res) => {
|
558
|
-
let str=''
|
559
|
-
res.data.forEach((item,idx,arr) => {
|
560
|
-
//tag
|
561
|
-
if(idx+1==arr.length){
|
562
|
-
str += item.id
|
563
|
-
}else{
|
564
|
-
str += item.id+','
|
565
|
-
}
|
566
|
-
|
567
|
-
})
|
568
|
-
let http1 = new HttpResetClass()
|
569
|
-
http1.load('POST', 'api/af-safecheck/sql/safe_singleTable_OrderBy', {
|
570
|
-
data: {
|
571
|
-
items: 'id,f_user_telephone',
|
572
|
-
tablename: 't_user',
|
573
|
-
condition: `id in (${str})`,
|
574
|
-
orderitem: 'id'
|
575
|
-
}
|
576
|
-
}, {resolveMsg: null, rejectMsg: null}).then((ress) => {
|
577
|
-
|
578
|
-
res.data.forEach((user)=>{
|
579
|
-
try {
|
580
|
-
ress.data.forEach((tel,tidx,arr)=>{
|
581
|
-
//tag
|
582
|
-
if(user.id==tel.id){
|
583
|
-
this.repairers.push({label: `${user.name}:${tel.f_user_telephone}`, value: user.name})
|
584
|
-
ress.data.splice(tidx,1)
|
585
|
-
//tag
|
586
|
-
throw new Error("跳出循环");
|
587
|
-
}
|
588
|
-
})
|
589
|
-
}catch (e) {
|
590
|
-
//tag
|
591
|
-
}
|
592
|
-
})
|
593
|
-
})
|
594
|
-
|
595
|
-
})
|
596
|
-
},
|
597
|
-
isChecked(v) {
|
598
|
-
// 如果全选,不在的按选中算,否则,在的按选中算
|
599
|
-
if (this.checkAll) {
|
600
|
-
return this.checkes.indexOf(v) == -1
|
601
|
-
} else {
|
602
|
-
return this.checkes.indexOf(v) != -1
|
603
|
-
}
|
604
|
-
},
|
605
|
-
setCheckAll() {
|
606
|
-
this.checkAll=this.checkAll?false:true;
|
607
|
-
// 全选改变后,清空选中数据
|
608
|
-
this.checkes = []
|
609
|
-
},
|
610
|
-
setCheckes(id) {
|
611
|
-
let index=this.checkes.indexOf(id)
|
612
|
-
if(index<0){
|
613
|
-
this.checkes.push(id)
|
614
|
-
}else{
|
615
|
-
this.checkes.splice(index,1)
|
616
|
-
}
|
617
|
-
},
|
618
|
-
getmeterbook(val){
|
619
|
-
this.cbc=[]
|
620
|
-
this.cbc.push({
|
621
|
-
label:'全部',
|
622
|
-
value:''
|
623
|
-
})
|
624
|
-
if (val==''){
|
625
|
-
|
626
|
-
this.cbcs.forEach(res=>{
|
627
|
-
this.cbc.push({
|
628
|
-
label:res.f_book_name,
|
629
|
-
value:res.id
|
630
|
-
})
|
631
|
-
})
|
632
|
-
}else{
|
633
|
-
this.cbcs.forEach(res=>{
|
634
|
-
if (res.f_book_slice_area==val){
|
635
|
-
this.cbc.push({
|
636
|
-
label:res.f_book_name,
|
637
|
-
value:res.id
|
638
|
-
})
|
639
|
-
}
|
640
|
-
})
|
641
|
-
}
|
642
|
-
},
|
643
|
-
|
644
|
-
Mreadibook(val){
|
645
|
-
//tag
|
646
|
-
//tag
|
647
|
-
this.sliceArea=[]
|
648
|
-
if (val){
|
649
|
-
new HttpResetClass().load('POST',`/api/af-safecheck/sql/
|
650
|
-
items: 'name',
|
651
|
-
tablename: 't_zone',
|
652
|
-
condition: `parentid in ${val}`,
|
653
|
-
orderitem: 'id'
|
654
|
-
}}, {resolveMsg: null, rejectMsg: null}).then((res) => {
|
655
|
-
this.sliceArea.push({
|
656
|
-
label:'全部',
|
657
|
-
value:''
|
658
|
-
})
|
659
|
-
res.data.forEach(ress=>{
|
660
|
-
this.sliceArea.push({
|
661
|
-
label:ress.name,
|
662
|
-
value:ress.name
|
663
|
-
})
|
664
|
-
})
|
665
|
-
|
666
|
-
})
|
667
|
-
}
|
668
|
-
},
|
669
|
-
getAllMeterBook(val){
|
670
|
-
//tag
|
671
|
-
//tag
|
672
|
-
this.cbcs=[]
|
673
|
-
if (val){
|
674
|
-
new HttpResetClass().load('POST',`/api/af-safecheck/sql/
|
675
|
-
items: 'f_book_name,f_book_slice_area,id',
|
676
|
-
tablename: 't_meter_book',
|
677
|
-
condition: `f_filiale_id in ${val}`,
|
678
|
-
orderitem: 'id'
|
679
|
-
}}, {resolveMsg: null, rejectMsg: null}).then((res) => {
|
680
|
-
res.data.forEach(ress=>{
|
681
|
-
this.cbcs.push({
|
682
|
-
id:ress.id,
|
683
|
-
f_book_name:ress.f_book_name,
|
684
|
-
f_book_slice_area:ress.f_book_slice_area
|
685
|
-
})
|
686
|
-
})
|
687
|
-
this.cbc=[]
|
688
|
-
this.cbc.push({
|
689
|
-
label:'全部',
|
690
|
-
value:''
|
691
|
-
})
|
692
|
-
this.cbcs.forEach(res=>{
|
693
|
-
this.cbc.push({
|
694
|
-
label:res.f_book_name,
|
695
|
-
value:res.id
|
696
|
-
})
|
697
|
-
})
|
698
|
-
})
|
699
|
-
}
|
700
|
-
},
|
701
|
-
hiddenr() {
|
702
|
-
this.$parent.showItem = !this.$parent.showItem
|
703
|
-
},
|
704
|
-
hidden() {
|
705
|
-
this.criteriaShow = !this.criteriaShow
|
706
|
-
},
|
707
|
-
search(args) {
|
708
|
-
if (this.f_check_plan.f_plan_name) {
|
709
|
-
args.condition += ` and f_check_plan_id = '${this.f_check_plan.id}'`
|
710
|
-
}
|
711
|
-
this.model.search(args.condition, args.model)
|
712
|
-
},
|
713
|
-
getRes(obj) {
|
714
|
-
this.model.f_filialeids = this.$login.convertToIn(obj.resids);
|
715
|
-
this.Mreadibook(this.model.f_filialeids)
|
716
|
-
this.getAllMeterBook(this.model.f_filialeids)
|
717
|
-
},
|
718
|
-
showChooser() {
|
719
|
-
this.showModal = true
|
720
|
-
},
|
721
|
-
ok() {
|
722
|
-
this.showModal = false
|
723
|
-
if (this.$refs.modal.$children[0].selectedRow.id) {
|
724
|
-
this.f_check_plan = this.$refs.modal.$children[0].selectedRow
|
725
|
-
}
|
726
|
-
},
|
727
|
-
cancel() {
|
728
|
-
this.showModal = false
|
729
|
-
this.f_check_plan = {f_plan_name: '', id: ''}
|
730
|
-
}
|
731
|
-
},
|
732
|
-
ready() {
|
733
|
-
this.$refs.paged.$refs.criteria.model.f_has_defect = '有隐患'
|
734
|
-
this.batchSent=Vue.$appdata.getSingleValue('批量派发维修单')
|
735
|
-
/*let gen = select(this)
|
736
|
-
// this.Mreadibook(`('${this.$login.f.orgid}')`)
|
737
|
-
co(gen)*/
|
738
|
-
this.getEmp()
|
739
|
-
},
|
740
|
-
computed: {
|
741
|
-
selected() {
|
742
|
-
return this.$refs.paged.$refs.grid.selected
|
743
|
-
},
|
744
|
-
getfield(){
|
745
|
-
//tag
|
746
|
-
let data = {}
|
747
|
-
this.bodyData.forEach((value, index)=>{
|
748
|
-
data[this.bodyData[index]] = this.headData[index]
|
749
|
-
})
|
750
|
-
//合计字段打印
|
751
|
-
this.tfoot = `<tr><th colspan=${this.modelval.length}>全表汇总信息: `
|
752
|
-
if(this.sumsmodel){
|
753
|
-
Object.keys(this.sumsmodel).forEach((key) => {
|
754
|
-
this.tfoot += this.fields[key] + '合计: ' + `<font color="blue">${this.sumsmodel[key]} </font>`
|
755
|
-
})
|
756
|
-
}else{
|
757
|
-
this.tfoot += '暂无'
|
758
|
-
}
|
759
|
-
this.tfoot += '</th></tr>'
|
760
|
-
return data
|
761
|
-
}
|
762
|
-
}
|
763
|
-
}
|
764
|
-
</script>
|
1
|
+
<template>
|
2
|
+
<div class="flex">
|
3
|
+
<criteria-paged :model="model" v-ref:paged>
|
4
|
+
<criteria partial='criteria' @condition-changed='$parent.search' v-ref:criteria>
|
5
|
+
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
6
|
+
<div class="row" v-if="!$parent.$parent.$parent.showItem">
|
7
|
+
<div :class="$parent.$parent.style">
|
8
|
+
<label class="font_normal_body">安检计划</label>
|
9
|
+
<input type="text" class="input_search" v-model="$parent.$parent.f_check_plan.f_plan_name"
|
10
|
+
@click="$parent.$parent.showChooser"
|
11
|
+
style="width: 60%" placeholder="安检计划" readonly="readonly">
|
12
|
+
</div>
|
13
|
+
<div :class="$parent.$parent.style">
|
14
|
+
<label class="font_normal_body">存在隐患</label>
|
15
|
+
<v-select style="width:60% "
|
16
|
+
class="select select_list"
|
17
|
+
:value.sync="model.f_has_defect"
|
18
|
+
v-model="model.f_has_defect"
|
19
|
+
:options='$parent.$parent.hasDefectOptions'
|
20
|
+
:placeholder='model.f_has_defect'
|
21
|
+
condition="f_has_defect = '{}'"
|
22
|
+
close-on-select>
|
23
|
+
</v-select>
|
24
|
+
</div>
|
25
|
+
<div :class="$parent.$parent.style">
|
26
|
+
<label class="font_normal_body">用户编号</label>
|
27
|
+
<input type="text" class="input_search" v-model="model.f_userinfo_code"
|
28
|
+
condition="f_userinfo_code = '{}'"
|
29
|
+
style="width: 60%" placeholder="用户编号">
|
30
|
+
</div>
|
31
|
+
<div :class="$parent.$parent.style">
|
32
|
+
<label class="font_normal_body">结果查询</label>
|
33
|
+
<v-select
|
34
|
+
placeholder='处理结果查询'
|
35
|
+
:value-single="true"
|
36
|
+
class="select select_list" style="width: 60%"
|
37
|
+
v-model='model.f_repaired'
|
38
|
+
:value.sync="model.f_repaired"
|
39
|
+
:options='$parent.$parent.repaired'
|
40
|
+
condition="f_repaired = '{}'"
|
41
|
+
close-on-select clear-button> </v-select>
|
42
|
+
</div>
|
43
|
+
<div class=" col-sm-4 form-group button-range" >
|
44
|
+
<div class="span" style="float: right;margin-top: 8px">
|
45
|
+
<div style="float: right" class="button_spacing"
|
46
|
+
:class="{'button_shrink_left':$parent.$parent.$parent.showItem,'button_shrink_right':!$parent.$parent.$parent.showItem}"
|
47
|
+
@click="$parent.$parent.hiddenr()"></div>
|
48
|
+
<div style="float: right" class="button_spacing"
|
49
|
+
:class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
|
50
|
+
@click="$parent.$parent.hidden()"></div>
|
51
|
+
<button style="float: right" class="button_search button_spacing" @click="search">查询</button>
|
52
|
+
<button class="button_search button_spacing" v-if="$parent.$parent.batchSent=='是'" @click="$parent.$parent.showmod()">转维修</button>
|
53
|
+
<div style="float: right">
|
54
|
+
<export-excel :data="{condition: $parent.$parent.model.condition,
|
55
|
+
f_defect_content: $parent.$parent.model.f_defect_content,
|
56
|
+
f_filialeids:$parent.$parent.model.f_filialeids,f_defect_content:$parent.$parent.model.f_defect_content}"
|
57
|
+
:field="$parent.$parent.getfield"
|
58
|
+
progress="safeGetExportProgress"
|
59
|
+
sqlurl="api/af-safecheck/logic/SafeExportExcel" sql-name="GetCheckPaperByDefect" template-name='安检隐患明细' :choose-col="true"></export-excel>
|
60
|
+
</div>
|
61
|
+
</div>
|
62
|
+
</div>
|
63
|
+
</div>
|
64
|
+
<div class="row" v-if="$parent.$parent.criteriaShow&&!$parent.$parent.$parent.showItem">
|
65
|
+
<div :class="$parent.$parent.style">
|
66
|
+
<label class="font_normal_body">片  区</label>
|
67
|
+
<v-select class="select_list select"
|
68
|
+
placeholder='片区/管理站' style="width: 60%"
|
69
|
+
:value.sync="model.f_slice_area" v-model="model.f_slice_area"
|
70
|
+
:options='$parent.$parent.sliceArea'
|
71
|
+
filer-key="name"
|
72
|
+
close-on-select clear-button
|
73
|
+
condition="f_slice_area='{}'"
|
74
|
+
@change="$parent.$parent.getmeterbook(model.f_slice_area)"
|
75
|
+
:value-single="true">
|
76
|
+
</v-select>
|
77
|
+
</div>
|
78
|
+
<div :class="$parent.$parent.style2" style="margin: 0">
|
79
|
+
<role-selector-safe
|
80
|
+
role-name="安检员"
|
81
|
+
role-lable="安 检 员 "
|
82
|
+
@re-res="$parent.$parent.getRes"
|
83
|
+
:value.sync="model.f_checker_id"
|
84
|
+
v-model="model.f_checker_id"
|
85
|
+
condition="f_checker_name = '{}'">
|
86
|
+
</role-selector-safe>
|
87
|
+
</div>
|
88
|
+
|
89
|
+
<div :class="$parent.$parent.style">
|
90
|
+
<label class="font_normal_body">抄 表 册</label>
|
91
|
+
<v-select class="select_list select"
|
92
|
+
placeholder='抄表册' style="width: 60%"
|
93
|
+
:value.sync="model.f_meter_book_num" v-model="model.f_meter_book_num"
|
94
|
+
:options='$parent.$parent.cbc'
|
95
|
+
filer-key="name"
|
96
|
+
close-on-select clear-button
|
97
|
+
condition="f_meter_book_num={}"
|
98
|
+
:value-single="true">
|
99
|
+
</v-select>
|
100
|
+
</div>
|
101
|
+
<div :class="$parent.$parent.style">
|
102
|
+
<label class="font_normal_body">起始时间</label>
|
103
|
+
<datepicker
|
104
|
+
placeholder='起始时间' style="width:60%"
|
105
|
+
:disabled-days-of-week="[]"
|
106
|
+
:format="'yyyy-MM-dd'"
|
107
|
+
:show-rest-button="reset"
|
108
|
+
:value.sync="model.f_start_time"
|
109
|
+
v-model="model.f_start_time"
|
110
|
+
condition="f_offsite_time >= '{} 00:00:00'">
|
111
|
+
</datepicker>
|
112
|
+
</div>
|
113
|
+
<div :class="$parent.$parent.style">
|
114
|
+
<label class="font_normal_body">结束时间</label>
|
115
|
+
<datepicker
|
116
|
+
placeholder='结束时间' style="width:60%"
|
117
|
+
:disabled-days-of-week="[]"
|
118
|
+
:format="'yyyy-MM-dd'"
|
119
|
+
:show-rest-button="reset"
|
120
|
+
:value.sync="model.f_end_time"
|
121
|
+
v-model="model.f_end_time"
|
122
|
+
condition="f_offsite_time <= '{} 23:59:59'">
|
123
|
+
</datepicker>
|
124
|
+
</div>
|
125
|
+
|
126
|
+
|
127
|
+
</div>
|
128
|
+
<div class="row" v-if="$parent.$parent.$parent.showItem">
|
129
|
+
<div :class="$parent.$parent.style">
|
130
|
+
<label class="font_normal_body">安检计划</label>
|
131
|
+
<input type="text" class="input_search" v-model="$parent.$parent.f_check_plan.f_plan_name"
|
132
|
+
@click="$parent.$parent.showChooser"
|
133
|
+
style="width: 60%" placeholder="安检计划" readonly="readonly">
|
134
|
+
</div>
|
135
|
+
<div :class="$parent.$parent.style">
|
136
|
+
<label class="font_normal_body">存在隐患</label>
|
137
|
+
<v-select style="width:60% "
|
138
|
+
class="select select_list"
|
139
|
+
:value.sync="model.f_has_defect"
|
140
|
+
v-model="model.f_has_defect"
|
141
|
+
:options='$parent.$parent.hasDefectOptions'
|
142
|
+
:placeholder='model.f_has_defect'
|
143
|
+
condition="f_has_defect = '{}'"
|
144
|
+
close-on-select>
|
145
|
+
</v-select>
|
146
|
+
</div>
|
147
|
+
|
148
|
+
<div class=" col-sm-4 form-group button-range">
|
149
|
+
<div class="span" style="float: right;margin-top: 8px;margin-right: 50px">
|
150
|
+
<div style="float: right" class="button_spacing"
|
151
|
+
:class="{'button_shrink_left':$parent.$parent.$parent.showItem,'button_shrink_right':!$parent.$parent.$parent.showItem}"
|
152
|
+
@click="$parent.$parent.hiddenr()"></div>
|
153
|
+
<div style="float: right" class="button_spacing"
|
154
|
+
:class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
|
155
|
+
@click="$parent.$parent.hidden()"></div>
|
156
|
+
<button style="float: right" class="button_search button_spacing" @click="search">查询</button>
|
157
|
+
<div style="float: right">
|
158
|
+
<export-excel :data="{condition: $parent.$parent.model.condition,f_filialeids:$parent.$parent.model.f_filialeids}"
|
159
|
+
:field="$parent.$parent.getfield"
|
160
|
+
progress="safeGetExportProgress"
|
161
|
+
sqlurl="api/af-safecheck/logic/SafeExportExcel" sql-name="GetCheckPaperByDefect" template-name='安检计划明细' :choose-col="true"></export-excel>
|
162
|
+
</div>
|
163
|
+
</div>
|
164
|
+
</div>
|
165
|
+
|
166
|
+
|
167
|
+
|
168
|
+
</div>
|
169
|
+
<div class="row" v-if="$parent.$parent.criteriaShow&&$parent.$parent.$parent.showItem">
|
170
|
+
<div :class="$parent.$parent.style">
|
171
|
+
<label class="font_normal_body">用户编号</label>
|
172
|
+
<input type="text" class="input_search" v-model="model.f_userinfo_code"
|
173
|
+
condition="f_userinfo_code = '{}'"
|
174
|
+
style="width: 60%" placeholder="用户编号">
|
175
|
+
</div>
|
176
|
+
<div :class="$parent.$parent.style">
|
177
|
+
<label class="font_normal_body">结果查询</label>
|
178
|
+
<v-select
|
179
|
+
placeholder='处理结果查询'
|
180
|
+
:value-single="true"
|
181
|
+
class="select select_list" style="width: 60%"
|
182
|
+
v-model='model.f_repaired'
|
183
|
+
:value.sync="model.f_repaired"
|
184
|
+
:options='$parent.$parent.repaired'
|
185
|
+
condition="f_repaired = '{}'"
|
186
|
+
close-on-select clear-button> </v-select>
|
187
|
+
</div>
|
188
|
+
|
189
|
+
<div :class="$parent.$parent.style2" style="margin: 0">
|
190
|
+
<role-selector-safe
|
191
|
+
role-name="安检员"
|
192
|
+
role-lable="安 检 员 "
|
193
|
+
@re-res="$parent.$parent.getRes"
|
194
|
+
:value.sync="model.f_checker_id"
|
195
|
+
v-model="model.f_checker_id"
|
196
|
+
condition="f_checker_name = '{}'">
|
197
|
+
</role-selector-safe>
|
198
|
+
</div>
|
199
|
+
</div>
|
200
|
+
<div class="row" v-if="$parent.$parent.criteriaShow && $parent.$parent.$parent.showItem">
|
201
|
+
<div :class="$parent.$parent.style">
|
202
|
+
<label class="font_normal_body">片  区</label>
|
203
|
+
<v-select class="select_list select"
|
204
|
+
placeholder='片区/管理站' style="width: 60%"
|
205
|
+
:value.sync="model.f_slice_area" v-model="model.f_slice_area"
|
206
|
+
:options='$parent.$parent.sliceArea'
|
207
|
+
filer-key="name"
|
208
|
+
close-on-select clear-button
|
209
|
+
condition="f_slice_area='{}'"
|
210
|
+
@change="$parent.$parent.getmeterbook(model.f_slice_area)"
|
211
|
+
:value-single="true">
|
212
|
+
</v-select>
|
213
|
+
</div>
|
214
|
+
<div :class="$parent.$parent.style">
|
215
|
+
<label class="font_normal_body">抄 表 册</label>
|
216
|
+
<v-select class="select_list select"
|
217
|
+
placeholder='抄表册' style="width: 60%"
|
218
|
+
:value.sync="model.f_meter_book_num" v-model="model.f_meter_book_num"
|
219
|
+
:options='$parent.$parent.cbc'
|
220
|
+
filer-key="name"
|
221
|
+
close-on-select clear-button
|
222
|
+
condition="f_meter_book_num={}"
|
223
|
+
:value-single="true">
|
224
|
+
</v-select>
|
225
|
+
</div>
|
226
|
+
<div :class="$parent.$parent.style">
|
227
|
+
<label class="font_normal_body">起始时间</label>
|
228
|
+
<datepicker
|
229
|
+
placeholder='起始时间' style="width:60%"
|
230
|
+
:disabled-days-of-week="[]"
|
231
|
+
:format="'yyyy-MM-dd'"
|
232
|
+
:show-rest-button="reset"
|
233
|
+
:value.sync="model.f_start_time"
|
234
|
+
v-model="model.f_start_time"
|
235
|
+
condition="f_offsite_time >= '{} 00:00:00'">
|
236
|
+
</datepicker>
|
237
|
+
</div>
|
238
|
+
<div :class="$parent.$parent.style">
|
239
|
+
<label class="font_normal_body">结束时间</label>
|
240
|
+
<datepicker
|
241
|
+
placeholder='结束时间' style="width:60%"
|
242
|
+
:disabled-days-of-week="[]"
|
243
|
+
:format="'yyyy-MM-dd'"
|
244
|
+
:show-rest-button="reset"
|
245
|
+
:value.sync="model.f_end_time"
|
246
|
+
v-model="model.f_end_time"
|
247
|
+
condition="f_offsite_time <= '{} 23:59:59'">
|
248
|
+
</datepicker>
|
249
|
+
</div>
|
250
|
+
|
251
|
+
|
252
|
+
</div>
|
253
|
+
</div>
|
254
|
+
</criteria>
|
255
|
+
<data-grid :model="model" partial='list' v-ref:grid class="list_area table_sy">
|
256
|
+
<template partial='head'>
|
257
|
+
<tr>
|
258
|
+
<th v-if="$parent.$parent.$parent.batchSent=='是'"><nobr><input type="checkbox" v-model="$parent.$parent.$parent.checkAll"/> 全选</nobr></th>
|
259
|
+
<th><nobr>入户状态</nobr></th>
|
260
|
+
<th><nobr>用户编号</nobr></th>
|
261
|
+
<th><nobr>用户名</nobr></th>
|
262
|
+
<th><nobr>用户电话</nobr></th>
|
263
|
+
<th><nobr>用户小区</nobr></th>
|
264
|
+
<th><nobr>用户地址</nobr></th>
|
265
|
+
<th><nobr>安检时间</nobr></th>
|
266
|
+
<th><nobr>安检员</nobr></th>
|
267
|
+
<th><nobr>计划名</nobr></th>
|
268
|
+
<th><nobr>是否有隐患</nobr></th>
|
269
|
+
<th><nobr>隐患数</nobr></th>
|
270
|
+
<th><nobr>整改数</nobr></th>
|
271
|
+
|
272
|
+
</tr>
|
273
|
+
</template>
|
274
|
+
<template partial='body'>
|
275
|
+
<td style="text-align: center;white-space:nowrap;" v-if="$parent.$parent.$parent.batchSent=='是'"><input type="checkbox" v-show="row.f_repaired=='未修'" onClick="event.cancelBubble = true" :checked="$parent.$parent.$parent.isChecked(row.id)" @change="$parent.$parent.$parent.setCheckes(row.id)" /></td>
|
276
|
+
<td style="text-align: center;white-space:nowrap;">{{row.f_entry_status}}</td>
|
277
|
+
<td style="text-align: center;white-space:nowrap;">{{row.f_userinfo_code}}</td>
|
278
|
+
<td style="text-align: center;white-space:nowrap;">{{row.f_user_name}}</td>
|
279
|
+
<td style="text-align: center;white-space:nowrap;">{{row.f_user_phone}}</td>
|
280
|
+
<td style="text-align: center;white-space:nowrap;">{{row.f_residential_area}}</td>
|
281
|
+
<td style="text-align: center;white-space:nowrap;">{{row.f_address}}</td>
|
282
|
+
<td style="text-align: center;white-space:nowrap;">{{row.f_offsite_time}}</td>
|
283
|
+
<td style="text-align: center;white-space:nowrap;">{{row.f_checker_name}}</td>
|
284
|
+
<td style="text-align: center;white-space:nowrap;">{{row.f_plan_name}}</td>
|
285
|
+
<td style="text-align: center;white-space:nowrap;">{{row.f_has_defect}}</td>
|
286
|
+
<td style="text-align: center;white-space:nowrap;">{{row.f_defect_count}}</td>
|
287
|
+
<td style="text-align: center;white-space:nowrap;">{{row.f_repair_count}}</td>
|
288
|
+
|
289
|
+
</template>
|
290
|
+
</data-grid>
|
291
|
+
</criteria-paged>
|
292
|
+
|
293
|
+
<modal :show.sync="showModal" v-ref:modal>
|
294
|
+
<div slot="modal-header" class="modal-header">
|
295
|
+
<h4 class="modal-title">
|
296
|
+
选择计划
|
297
|
+
</h4>
|
298
|
+
</div>
|
299
|
+
<div slot="modal-body" class="modal-body">
|
300
|
+
<plan-chooser :f.sync="this.$login.f" v-ref:chooser></plan-chooser>
|
301
|
+
</div>
|
302
|
+
<div slot="modal-footer" class="modal-footer" style="text-align: center">
|
303
|
+
<button class="button_search" @click="ok">确认</button>
|
304
|
+
<button class="button_search" @click="cancel">取消</button>
|
305
|
+
</div>
|
306
|
+
</modal>
|
307
|
+
<modal :show.sync="showModal2" :backdrop="false">
|
308
|
+
<div slot="modal-header" class="modal-header">
|
309
|
+
<h4 class="modal-title">
|
310
|
+
转维修
|
311
|
+
</h4>
|
312
|
+
</div>
|
313
|
+
<div slot="modal-body" class="modal-body">
|
314
|
+
<div v-if="true">
|
315
|
+
<div class="row" style="margin-top: 10px">
|
316
|
+
<label class="control-label font text-left" style="float:left;margin-left:20%;margin-top:5px">派发类型</label>
|
317
|
+
<div class="col-xs-8 col-md-8">
|
318
|
+
<v-select :value.sync="selectData.dispatchType" :value-single="true" v-model="selectData.dispatchType"
|
319
|
+
:options='dispatchTypeOptions' placeholder='派发类型'
|
320
|
+
close-on-select>
|
321
|
+
</v-select>
|
322
|
+
</div>
|
323
|
+
</div>
|
324
|
+
<div class="row" style="margin-top: 10px" v-if="selectData.dispatchType=='派发给维修员'">
|
325
|
+
<label class="control-label font text-left" style="float:left;margin-left:20%;margin-top:5px">维 修 员</label>
|
326
|
+
<div class="col-xs-8 col-md-8">
|
327
|
+
<v-select
|
328
|
+
:value.sync="selectData.f_repairman"
|
329
|
+
:value-single="true"
|
330
|
+
:options='repairers'
|
331
|
+
placeholder='请选择维修员'
|
332
|
+
close-on-select></v-select>
|
333
|
+
</div>
|
334
|
+
</div>
|
335
|
+
<div class="row" style="margin-top: 10px" v-if="selectData.dispatchType=='派发给站点'">
|
336
|
+
<label class="control-label font text-left" style="float:left;margin-left:20%;margin-top:5px">站    点</label>
|
337
|
+
<div class="col-xs-8 col-md-8">
|
338
|
+
<right-tree
|
339
|
+
islist
|
340
|
+
:userid="userid"
|
341
|
+
:source="'dep=this.getParentByType($organization$).getSpecialResByType($department$),tool.getFullTree(dep.where(row.hasSpecialRole($派单员$)))'"
|
342
|
+
@re-res="getSiteRes"></right-tree>
|
343
|
+
</div>
|
344
|
+
</div>
|
345
|
+
<div class="row" style="margin-top: 10px">
|
346
|
+
<label class="control-label font text-left" style="float:left;margin-left:20%;margin-top:5px">报修类型</label>
|
347
|
+
<div class="col-xs-8 col-md-8">
|
348
|
+
<v-select :value.sync="selectData.f_repairtype" style="width:60%"
|
349
|
+
class="select select_list"
|
350
|
+
:value-single="true"
|
351
|
+
:options='repairTypeOptions'
|
352
|
+
close-on-select>
|
353
|
+
</v-select>
|
354
|
+
</div>
|
355
|
+
</div>
|
356
|
+
<div class="row" style="margin-top: 10px">
|
357
|
+
<label class="control-label font text-left" style="float:left;margin-left:20%;margin-top:5px">备 注</label>
|
358
|
+
<div class="col-xs-8 col-md-8">
|
359
|
+
<textarea style="width: 60%; height: 100px" v-model="selectData.f_remarks"></textarea>
|
360
|
+
</div>
|
361
|
+
</div>
|
362
|
+
</div>
|
363
|
+
</div>
|
364
|
+
<div slot="modal-footer" class="modal-footer" style="text-align: center">
|
365
|
+
<button class="button_search" @click="rectification">转维修</button>
|
366
|
+
<button class="button_search" @click="cancel1">取消</button>
|
367
|
+
</div>
|
368
|
+
</modal>
|
369
|
+
</div>
|
370
|
+
</template>
|
371
|
+
<script>
|
372
|
+
import {HttpResetClass,PagedList} from 'vue-client'
|
373
|
+
//import from "vue-client/src/plugins/HttpResetClass";
|
374
|
+
import co from 'co'
|
375
|
+
import Vue from "vue";
|
376
|
+
|
377
|
+
let select = function* (self) {
|
378
|
+
let http = new HttpResetClass()
|
379
|
+
let getGasman = yield http.load('POST', '/rs/search', {
|
380
|
+
source: 'this.getParentByType($department$).getAllChildrens().where(row.getAttributes().get($rolestr$).indexOf($安检员$) != -1))',
|
381
|
+
userid: self.$login.f.id
|
382
|
+
}, {resolveMsg: null, rejectMsg: null})
|
383
|
+
//tag
|
384
|
+
self.checkersid.push({label: '全部', value: ''})
|
385
|
+
getGasman.data.forEach((checker) => {
|
386
|
+
self.checkersid.push({label: checker.name, value: checker.name})
|
387
|
+
})
|
388
|
+
}
|
389
|
+
export default {
|
390
|
+
title: '隐患查询',
|
391
|
+
data() {
|
392
|
+
let model = new PagedList('api/af-safecheck/sql/GetCheckPaperByDefect', 20, {
|
393
|
+
f_filialeids: 'this.f_filialeids',f_defect_content: 'this.f_defect_content'
|
394
|
+
})
|
395
|
+
model.f_filialeids = '(' + this.$login.f.orgid + ')'
|
396
|
+
model.f_defect_content="CASE WHEN CHARINDEX( '\"result\":\"正常\"', f_defect_content ) > 0 THEN '无隐患' ELSE replace(replace(replace( replace( RIGHT ( f_defect_content, len( f_defect_content ) - 26 ), substring('{}',2,1), '' ), substring('{}',1,1), '' ),']',''),'\"','') END"
|
397
|
+
return {
|
398
|
+
repaired:[{label: '未修', value: '未修'}, {label: '已修', value: '已修'}],
|
399
|
+
hasDefectOptions: [{label: '全部', value: ''}, {label: '有隐患', value: '有隐患'}, {label: '无隐患', value: '无隐患'}],
|
400
|
+
f: this.$login.f,
|
401
|
+
model: model,
|
402
|
+
criteriaShow: false,
|
403
|
+
showModal: false,
|
404
|
+
f_check_plan: {f_plan_name: '', id: ''},
|
405
|
+
sumsmodel: {},
|
406
|
+
all: false,
|
407
|
+
fields: {},
|
408
|
+
modelval: [],
|
409
|
+
checkersid: [],
|
410
|
+
sliceArea: [],
|
411
|
+
cbc:[],
|
412
|
+
cbcs:[],
|
413
|
+
thead: '',
|
414
|
+
showModal2:false,
|
415
|
+
checkAll:false,
|
416
|
+
checkes:[],
|
417
|
+
batchSent:'否',
|
418
|
+
repairTypeOptions:this.$appdata.getParam('报修类型'),
|
419
|
+
dispatchTypeOptions: [{label: '派发给维修员', value: '派发给维修员'}],
|
420
|
+
selectData:{
|
421
|
+
dispatchType:'派发给维修员',
|
422
|
+
f_repairman:'',
|
423
|
+
f_remarks:'',
|
424
|
+
f_repairtype:''
|
425
|
+
},
|
426
|
+
repairers: [],
|
427
|
+
headData: ['入户状态','用户编号','用户名','用户电话','用户小区','用户地址','安检时间','安检员','计划名','是否有隐患','隐患数','隐患情况'],
|
428
|
+
bodyData: ['f_entry_status','f_userinfo_code','f_user_name','f_user_phone','f_residential_area','f_address','f_offsite_time','f_checker_name','f_plan_name','f_has_defect','f_defect_count','f_defect_content']
|
429
|
+
}
|
430
|
+
},
|
431
|
+
props:{
|
432
|
+
|
433
|
+
style: {
|
434
|
+
type: String,
|
435
|
+
default: 'col-sm-2 form-group'
|
436
|
+
},
|
437
|
+
style2: {
|
438
|
+
type: String,
|
439
|
+
default: 'col-sm-4 form-group'
|
440
|
+
}
|
441
|
+
|
442
|
+
},
|
443
|
+
|
444
|
+
methods: {
|
445
|
+
cancel1(){
|
446
|
+
this.showModal2=false
|
447
|
+
this.selectData={
|
448
|
+
dispatchType:'',
|
449
|
+
f_repairman:'',
|
450
|
+
f_remarks:'',
|
451
|
+
f_repairtype:''
|
452
|
+
}
|
453
|
+
},
|
454
|
+
showmod(){
|
455
|
+
if(this.model.rows.length==0){
|
456
|
+
this.$showMessage('请先选择需要转维修的用户!')
|
457
|
+
return
|
458
|
+
}
|
459
|
+
if (this.checkAll || this.checkes.length>0) {
|
460
|
+
this.showModal2=true
|
461
|
+
}else{
|
462
|
+
this.$showMessage('请先勾选需要转维修的用户!')
|
463
|
+
return
|
464
|
+
}
|
465
|
+
|
466
|
+
},
|
467
|
+
rectification(){
|
468
|
+
if(this.selectData.dispatchType){
|
469
|
+
if(this.selectData.dispatchType=='派发给站点'){
|
470
|
+
if(!this.selectData.f_reciever){
|
471
|
+
this.$showMessage('请选择部门!')
|
472
|
+
return
|
473
|
+
}
|
474
|
+
}else{
|
475
|
+
if(!this.selectData.f_repairman){
|
476
|
+
this.$showMessage('请选择维修员!')
|
477
|
+
return
|
478
|
+
}
|
479
|
+
}
|
480
|
+
}else {
|
481
|
+
this.$showMessage('请选择派发类型!')
|
482
|
+
return
|
483
|
+
}
|
484
|
+
if(!this.selectData.f_repairtype){
|
485
|
+
this.$showMessage('请选择报修类型!')
|
486
|
+
return
|
487
|
+
}
|
488
|
+
this.$showMessage('确定要将当前选中用户转派给维修吗?!', ['confirm', 'cancel']).then((msg)=>{
|
489
|
+
if(msg=='confirm'){
|
490
|
+
|
491
|
+
let act={}
|
492
|
+
let toRepair=''
|
493
|
+
if(this.selectData.dispatchType=='派发给站点'){
|
494
|
+
act={f_meetunit:this.selectData.f_meetunit,f_reciever:this.selectData.f_reciever,f_service_acitivity_type:'派单'}
|
495
|
+
toRepair=null
|
496
|
+
}else{
|
497
|
+
//tag
|
498
|
+
act={f_reciever:this.selectData.f_repairman,f_service_acitivity_type:'派单'}
|
499
|
+
toRepair='一级派单'
|
500
|
+
}
|
501
|
+
this.$resetpost(`/api/af-safecheck/logic/UploadRectification`,
|
502
|
+
{
|
503
|
+
condition:this.model.params.condition,
|
504
|
+
itemname:this.model.itemname,
|
505
|
+
f_filialeids:this.model.params.f_filialeids,
|
506
|
+
switchCheckAll:true,
|
507
|
+
checkAll:this.checkAll,
|
508
|
+
param:this.checkes,
|
509
|
+
columnName:'id',
|
510
|
+
toRepair:toRepair,
|
511
|
+
activity:act,
|
512
|
+
deps:this.$login.f.deps,
|
513
|
+
depids:this.$login.f.depids,
|
514
|
+
f_remarks:this.selectData.f_remarks,
|
515
|
+
f_repairtype:this.selectData.f_repairtype,
|
516
|
+
f_attendant: this.$login.f.name,
|
517
|
+
loginUser:{name:this.$login.f.name,ename:this.$login.f.ename,id:this.$login.f.id},
|
518
|
+
},{resolveMsg: null, rejectMsg: null}).then((res) => {
|
519
|
+
if(res.data.code=200){
|
520
|
+
//this.$showMessage('本次成功派发'+res.data.successcon+'个维修单!'+`其中${res.data.nohidden}个不需要隐患整改,${res.data.repeatCount}个已经派发过隐患整改单`)
|
521
|
+
this.$showMessage('本次成功派发'+res.data.successcon+'个维修单!')
|
522
|
+
this.checkAll=false;
|
523
|
+
// 全选改变后,清空选中数据
|
524
|
+
this.checkes = []
|
525
|
+
this.selectData={
|
526
|
+
dispatchType:'派发给维修员',
|
527
|
+
f_repairman:'',
|
528
|
+
f_remarks:'',
|
529
|
+
f_repairtype:''
|
530
|
+
}
|
531
|
+
this.showModal2=false
|
532
|
+
this.$refs.paged.$refs.criteria.search()
|
533
|
+
}
|
534
|
+
}).cache((msg)=>{
|
535
|
+
this.$showMessage('网络异常,请重新操作!')
|
536
|
+
})
|
537
|
+
}
|
538
|
+
})
|
539
|
+
},
|
540
|
+
getSiteRes(obj) {
|
541
|
+
//tag
|
542
|
+
//tag
|
543
|
+
if(obj.resids[0]){
|
544
|
+
this.selectData.f_meetunit = obj.res.join('.')
|
545
|
+
this.selectData.f_reciever = obj.resids.join('.')
|
546
|
+
this.selectData.f_outlets = obj.res[obj.res.length - 1]
|
547
|
+
}else {
|
548
|
+
this.selectData.f_meetunit = ''
|
549
|
+
this.selectData.f_reciever = ''
|
550
|
+
this.selectData.f_outlets = ''
|
551
|
+
}
|
552
|
+
},
|
553
|
+
// 获取维修员
|
554
|
+
getEmp() {
|
555
|
+
let val = {source: 'this.getParentByType($department$).getAllChildrens().where(row.getAttributes().get($rolestr$).indexOf($维修员$) != -1 ))', userid: `${this.$login.f.id}`}
|
556
|
+
let http = new HttpResetClass()
|
557
|
+
http.load('POST', '/rs/search', {data: val}, {resolveMsg: null, rejectMsg: null}).then((res) => {
|
558
|
+
let str=''
|
559
|
+
res.data.forEach((item,idx,arr) => {
|
560
|
+
//tag
|
561
|
+
if(idx+1==arr.length){
|
562
|
+
str += item.id
|
563
|
+
}else{
|
564
|
+
str += item.id+','
|
565
|
+
}
|
566
|
+
|
567
|
+
})
|
568
|
+
let http1 = new HttpResetClass()
|
569
|
+
http1.load('POST', 'api/af-safecheck/sql/safe_singleTable_OrderBy', {
|
570
|
+
data: {
|
571
|
+
items: 'id,f_user_telephone',
|
572
|
+
tablename: 't_user',
|
573
|
+
condition: `id in (${str})`,
|
574
|
+
orderitem: 'id'
|
575
|
+
}
|
576
|
+
}, {resolveMsg: null, rejectMsg: null}).then((ress) => {
|
577
|
+
|
578
|
+
res.data.forEach((user)=>{
|
579
|
+
try {
|
580
|
+
ress.data.forEach((tel,tidx,arr)=>{
|
581
|
+
//tag
|
582
|
+
if(user.id==tel.id){
|
583
|
+
this.repairers.push({label: `${user.name}:${tel.f_user_telephone}`, value: user.name})
|
584
|
+
ress.data.splice(tidx,1)
|
585
|
+
//tag
|
586
|
+
throw new Error("跳出循环");
|
587
|
+
}
|
588
|
+
})
|
589
|
+
}catch (e) {
|
590
|
+
//tag
|
591
|
+
}
|
592
|
+
})
|
593
|
+
})
|
594
|
+
|
595
|
+
})
|
596
|
+
},
|
597
|
+
isChecked(v) {
|
598
|
+
// 如果全选,不在的按选中算,否则,在的按选中算
|
599
|
+
if (this.checkAll) {
|
600
|
+
return this.checkes.indexOf(v) == -1
|
601
|
+
} else {
|
602
|
+
return this.checkes.indexOf(v) != -1
|
603
|
+
}
|
604
|
+
},
|
605
|
+
setCheckAll() {
|
606
|
+
this.checkAll=this.checkAll?false:true;
|
607
|
+
// 全选改变后,清空选中数据
|
608
|
+
this.checkes = []
|
609
|
+
},
|
610
|
+
setCheckes(id) {
|
611
|
+
let index=this.checkes.indexOf(id)
|
612
|
+
if(index<0){
|
613
|
+
this.checkes.push(id)
|
614
|
+
}else{
|
615
|
+
this.checkes.splice(index,1)
|
616
|
+
}
|
617
|
+
},
|
618
|
+
getmeterbook(val){
|
619
|
+
this.cbc=[]
|
620
|
+
this.cbc.push({
|
621
|
+
label:'全部',
|
622
|
+
value:''
|
623
|
+
})
|
624
|
+
if (val==''){
|
625
|
+
|
626
|
+
this.cbcs.forEach(res=>{
|
627
|
+
this.cbc.push({
|
628
|
+
label:res.f_book_name,
|
629
|
+
value:res.id
|
630
|
+
})
|
631
|
+
})
|
632
|
+
}else{
|
633
|
+
this.cbcs.forEach(res=>{
|
634
|
+
if (res.f_book_slice_area==val){
|
635
|
+
this.cbc.push({
|
636
|
+
label:res.f_book_name,
|
637
|
+
value:res.id
|
638
|
+
})
|
639
|
+
}
|
640
|
+
})
|
641
|
+
}
|
642
|
+
},
|
643
|
+
|
644
|
+
Mreadibook(val){
|
645
|
+
//tag
|
646
|
+
//tag
|
647
|
+
this.sliceArea=[]
|
648
|
+
if (val){
|
649
|
+
new HttpResetClass().load('POST',`/api/af-safecheck/sql/safe_singleTable_OrderBy`, {data: {
|
650
|
+
items: 'name',
|
651
|
+
tablename: 't_zone',
|
652
|
+
condition: `parentid in ${val}`,
|
653
|
+
orderitem: 'id'
|
654
|
+
}}, {resolveMsg: null, rejectMsg: null}).then((res) => {
|
655
|
+
this.sliceArea.push({
|
656
|
+
label:'全部',
|
657
|
+
value:''
|
658
|
+
})
|
659
|
+
res.data.forEach(ress=>{
|
660
|
+
this.sliceArea.push({
|
661
|
+
label:ress.name,
|
662
|
+
value:ress.name
|
663
|
+
})
|
664
|
+
})
|
665
|
+
|
666
|
+
})
|
667
|
+
}
|
668
|
+
},
|
669
|
+
getAllMeterBook(val){
|
670
|
+
//tag
|
671
|
+
//tag
|
672
|
+
this.cbcs=[]
|
673
|
+
if (val){
|
674
|
+
new HttpResetClass().load('POST',`/api/af-safecheck/sql/safe_singleTable_OrderBy`, {data: {
|
675
|
+
items: 'f_book_name,f_book_slice_area,id',
|
676
|
+
tablename: 't_meter_book',
|
677
|
+
condition: `f_filiale_id in ${val}`,
|
678
|
+
orderitem: 'id'
|
679
|
+
}}, {resolveMsg: null, rejectMsg: null}).then((res) => {
|
680
|
+
res.data.forEach(ress=>{
|
681
|
+
this.cbcs.push({
|
682
|
+
id:ress.id,
|
683
|
+
f_book_name:ress.f_book_name,
|
684
|
+
f_book_slice_area:ress.f_book_slice_area
|
685
|
+
})
|
686
|
+
})
|
687
|
+
this.cbc=[]
|
688
|
+
this.cbc.push({
|
689
|
+
label:'全部',
|
690
|
+
value:''
|
691
|
+
})
|
692
|
+
this.cbcs.forEach(res=>{
|
693
|
+
this.cbc.push({
|
694
|
+
label:res.f_book_name,
|
695
|
+
value:res.id
|
696
|
+
})
|
697
|
+
})
|
698
|
+
})
|
699
|
+
}
|
700
|
+
},
|
701
|
+
hiddenr() {
|
702
|
+
this.$parent.showItem = !this.$parent.showItem
|
703
|
+
},
|
704
|
+
hidden() {
|
705
|
+
this.criteriaShow = !this.criteriaShow
|
706
|
+
},
|
707
|
+
search(args) {
|
708
|
+
if (this.f_check_plan.f_plan_name) {
|
709
|
+
args.condition += ` and f_check_plan_id = '${this.f_check_plan.id}'`
|
710
|
+
}
|
711
|
+
this.model.search(args.condition, args.model)
|
712
|
+
},
|
713
|
+
getRes(obj) {
|
714
|
+
this.model.f_filialeids = this.$login.convertToIn(obj.resids);
|
715
|
+
this.Mreadibook(this.model.f_filialeids)
|
716
|
+
this.getAllMeterBook(this.model.f_filialeids)
|
717
|
+
},
|
718
|
+
showChooser() {
|
719
|
+
this.showModal = true
|
720
|
+
},
|
721
|
+
ok() {
|
722
|
+
this.showModal = false
|
723
|
+
if (this.$refs.modal.$children[0].selectedRow.id) {
|
724
|
+
this.f_check_plan = this.$refs.modal.$children[0].selectedRow
|
725
|
+
}
|
726
|
+
},
|
727
|
+
cancel() {
|
728
|
+
this.showModal = false
|
729
|
+
this.f_check_plan = {f_plan_name: '', id: ''}
|
730
|
+
}
|
731
|
+
},
|
732
|
+
ready() {
|
733
|
+
this.$refs.paged.$refs.criteria.model.f_has_defect = '有隐患'
|
734
|
+
this.batchSent=Vue.$appdata.getSingleValue('批量派发维修单')
|
735
|
+
/*let gen = select(this)
|
736
|
+
// this.Mreadibook(`('${this.$login.f.orgid}')`)
|
737
|
+
co(gen)*/
|
738
|
+
this.getEmp()
|
739
|
+
},
|
740
|
+
computed: {
|
741
|
+
selected() {
|
742
|
+
return this.$refs.paged.$refs.grid.selected
|
743
|
+
},
|
744
|
+
getfield(){
|
745
|
+
//tag
|
746
|
+
let data = {}
|
747
|
+
this.bodyData.forEach((value, index)=>{
|
748
|
+
data[this.bodyData[index]] = this.headData[index]
|
749
|
+
})
|
750
|
+
//合计字段打印
|
751
|
+
this.tfoot = `<tr><th colspan=${this.modelval.length}>全表汇总信息: `
|
752
|
+
if(this.sumsmodel){
|
753
|
+
Object.keys(this.sumsmodel).forEach((key) => {
|
754
|
+
this.tfoot += this.fields[key] + '合计: ' + `<font color="blue">${this.sumsmodel[key]} </font>`
|
755
|
+
})
|
756
|
+
}else{
|
757
|
+
this.tfoot += '暂无'
|
758
|
+
}
|
759
|
+
this.tfoot += '</th></tr>'
|
760
|
+
return data
|
761
|
+
}
|
762
|
+
}
|
763
|
+
}
|
764
|
+
</script>
|