safecheck-client 4.0.1-40 → 4.0.1-41
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/package.json +1 -1
- package/src/App.vue +31 -31
- package/src/components/CheckerCount/CheckCountUserList.vue +144 -144
- package/src/components/DefectDealMain/DefectListNew.vue +642 -642
- package/src/components/NewDefectList/DefectListNew.vue +663 -663
- package/src/components/NewDefectList/DefectPaperNew.vue +1184 -1184
- package/src/components/Util/SafecheckUpload.vue +281 -281
- package/src/components/android/AddPlanItem.vue +447 -447
- package/src/components/android/AddPlanItemYy.vue +451 -451
- package/src/components/android/AddSpecialPlanItem.vue +426 -426
- package/src/components/android/AndroidDefectDetails.vue +769 -769
- package/src/components/android/CurrentCreateYy.vue +1051 -1051
- package/src/components/android/Devices.vue +327 -327
- package/src/components/android/Devicesm.vue +327 -327
- 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/PhoneUpDetail.vue +1040 -1040
- package/src/components/android/PhoneUpUserinfo.vue +1249 -1249
- package/src/components/android/QRCode/QRCodeBinding.vue +300 -300
- package/src/components/android/QRCode/QRCodePage.vue +212 -212
- package/src/components/android/SafePlanItem.vue +509 -509
- package/src/components/android/SafeRightTree.vue +218 -218
- package/src/components/android/SafecheckDevices.vue +1340 -1340
- package/src/components/android/examples/SafeListExamples.vue +296 -296
- 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/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/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/map/PersonTrack.vue +226 -226
- package/src/components/paper/PaperList.vue +797 -797
- package/src/components/paper/RegionalList.vue +220 -220
- package/src/components/pc/AnnouncementPC.vue +524 -524
- package/src/components/pc/CheckBook.vue +303 -303
- package/src/components/pc/CheckBookArea.vue +146 -146
- package/src/components/pc/CheckBookCompany.vue +144 -144
- package/src/components/pc/CheckBookDetails.vue +161 -161
- package/src/components/pc/CheckBookEntry.vue +60 -60
- package/src/components/pc/CheckBookSearchArea.vue +560 -560
- package/src/components/pc/CheckBookSearchUnit.vue +229 -229
- package/src/components/pc/CheckBookSearchUser.vue +659 -659
- package/src/components/pc/CheckBookSearchUserList.vue +674 -674
- package/src/components/pc/DefectList.vue +742 -742
- package/src/components/pc/DeviceChange.vue +1068 -1068
- package/src/components/pc/PaperDefectMain.vue +880 -880
- package/src/components/pc/SafeVisitInfo.vue +261 -261
- package/src/components/querycheckpaper/CheckPaperList.vue +130 -130
- package/src/components/report/HiddenSituation.vue +165 -165
- package/src/components/rongcheng/AspiratedOrderV.vue +2377 -2377
- package/src/components/rongcheng/CurrentCreateOnline.vue +906 -906
- package/src/components/rongcheng/DefectList.vue +560 -560
- package/src/components/rongcheng/SafecheckOrderVCli.vue +2641 -2641
- package/src/components/safecheckNew/android/AddPlanItem.vue +419 -419
- package/src/components/safecheckNew/android/CurrentCreate.vue +1050 -1050
- package/src/components/safecheckNew/android/Recheck.vue +379 -379
- 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/components/userfile/SecurityAudit.vue +243 -243
- package/src/filiale/ALshan/pc/DefectListWeixiu.vue +476 -476
- package/src/filiale/ancheng/android/SafecheckOrderV.vue +2703 -2703
- package/src/filiale/ancheng/android/SafecheckUserInfo.vue +737 -737
- 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/DefectListWeixiu.vue +491 -491
- package/src/filiale/baiyin/android/SafecheckOrderV.vue +2785 -2785
- package/src/filiale/baiyin/pc/DefectListNew.vue +597 -597
- package/src/filiale/bayan/android/Edit.vue +132 -132
- package/src/filiale/bayan/pc/DefectListNew.vue +597 -597
- package/src/filiale/bayan/pc/DeviceChange.vue +1838 -1838
- package/src/filiale/bayan/pc/HiddenSituation.vue +295 -295
- package/src/filiale/dexin/android/CasualSave.vue +1050 -1050
- package/src/filiale/dexin/android/SafecheckOrderV.vue +2950 -2950
- package/src/filiale/fugou/android/AddPlanItem.vue +413 -413
- package/src/filiale/fugou/android/SafecheckOrderV.vue +2796 -2796
- package/src/filiale/fugou/pc/CheckBookSearchUser.vue +830 -830
- package/src/filiale/fugu/android/SafecheckOrderV.vue +2484 -2484
- 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/NewCheckpaper.vue +1354 -1354
- package/src/filiale/guangxi/pc/DefectListNew.vue +518 -518
- package/src/filiale/hanzhong/android/SafecheckOrderV.vue +2683 -2683
- package/src/filiale/hanzhong/android/SafecheckUserInfo.vue +786 -786
- package/src/filiale/huaran/android/SafecheckOrderV.vue +2803 -2803
- package/src/filiale/huatong/android/SafecheckOrderV.vue +2426 -2426
- package/src/filiale/huatong/android/SafecheckUserInfo.vue +749 -749
- package/src/filiale/huayin/pc/NewCheckpaper.vue +1307 -1307
- package/src/filiale/jiaocheng/android/AddPlanItem.vue +435 -435
- package/src/filiale/jiaocheng/android/SafecheckUserInfo.vue +737 -737
- package/src/filiale/jiaocheng/pc/DefectListNew.vue +576 -576
- package/src/filiale/jiaxian/android/AddPlanItem.vue +447 -447
- package/src/filiale/jiaxian/android/SafecheckOrderV.vue +2807 -2807
- package/src/filiale/jiaxian/android/SafecheckUserInfo.vue +784 -784
- package/src/filiale/jinbin/pc/DefectListWeixiu.vue +478 -478
- package/src/filiale/jingyang/android/AddPlanItem.vue +458 -458
- package/src/filiale/jingyang/android/SafecheckOrderV.vue +2734 -2734
- package/src/filiale/jingyang/android/SafecheckUserInfo.vue +781 -781
- package/src/filiale/kelai/android/AddPlanItem.vue +488 -488
- package/src/filiale/kelai/android/SafecheckUserInfo.vue +774 -774
- package/src/filiale/kelai/android/SafecheckUserInfo1.vue +618 -618
- package/src/filiale/kelai/pc/DefectListNew.vue +688 -688
- package/src/filiale/kelai/pc/FaultLimitGas/FaultLimitGasList.vue +518 -518
- package/src/filiale/kelai/pc/NewCheckpaper.vue +1454 -1454
- package/src/filiale/liaoyuan/android/AddPlanItem.vue +412 -412
- package/src/filiale/liaoyuan/android/CurrentCreate.vue +1066 -1066
- package/src/filiale/liaoyuan/android/SafecheckOrderV.vue +2388 -2388
- package/src/filiale/liaoyuan/android/SafecheckUserInfo.vue +557 -557
- package/src/filiale/liaoyuan/pc/DefectListWeixiu.vue +489 -489
- package/src/filiale/liaoyuan/pc/NewCheckpaper.vue +1020 -1020
- package/src/filiale/lixian/android/SafecheckOrderV.vue +2404 -2404
- package/src/filiale/lixian/android/SafecheckUserInfo.vue +578 -578
- package/src/filiale/lixian/pc/NewCheckpaper.vue +1211 -1211
- package/src/filiale/meihekou/android/AreaPlan.vue +577 -577
- package/src/filiale/meihekou/android/CheckPlanList.vue +198 -198
- package/src/filiale/meihekou/android/CheckPlanListArea.vue +190 -190
- package/src/filiale/meihekou/android/CurrentCreate.vue +1038 -1038
- package/src/filiale/meihekou/android/MeterReading.vue +110 -110
- package/src/filiale/meihekou/android/PaperFeedback.vue +1542 -1542
- package/src/filiale/meihekou/android/PhoneUpUserinfo.vue +1307 -1307
- package/src/filiale/meihekou/android/SafecheckDevices.vue +1340 -1340
- package/src/filiale/meihekou/android/SafecheckOrderV.vue +301 -287
- package/src/filiale/meihekou/android/SafecheckUserInfo.vue +785 -785
- package/src/filiale/meihekou/android.js +22 -22
- package/src/filiale/meihekou/pc/NewCheckpaperNew.vue +2050 -0
- package/src/filiale/meihekou/pc/NewCheckpaperTemp.vue +1288 -1288
- package/src/filiale/meihekou/pc/PaperList.vue +810 -0
- package/src/filiale/meihekou/pc.js +2 -0
- package/src/filiale/minsheng/android/SafecheckUserInfo.vue +754 -754
- package/src/filiale/minsheng/pc/DefectListNew.vue +535 -535
- 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/NewCheckpaper.vue +1294 -1294
- package/src/filiale/qianneng/android/AddPlanItem.vue +482 -482
- 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/NewCheckpaper.vue +1546 -1546
- package/src/filiale/qingjian/android/SafecheckOrderV.vue +2844 -2844
- package/src/filiale/qingjian/android/SafecheckUserInfo.vue +800 -800
- package/src/filiale/qingjian/pc/NewCheckpaper.vue +1871 -1871
- package/src/filiale/qingjian/pc.js +15 -15
- package/src/filiale/qingtongxia/android/AddPlanItem.vue +450 -450
- package/src/filiale/qingtongxia/android/SafecheckOrderV.vue +2726 -2726
- package/src/filiale/qingtongxia/android/SafecheckUserInfo.vue +782 -782
- package/src/filiale/qingtongxia/pc/DefectListNew.vue +594 -594
- package/src/filiale/rizhao/android/AddPlanItem.vue +446 -446
- 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/rongchuang/android/SafecheckOrderV.vue +2696 -2696
- package/src/filiale/rongchuang/android/checkpapermsg.vue +209 -209
- package/src/filiale/ruihua/android/SafecheckOrderV.vue +2747 -2747
- package/src/filiale/ruihua/android/SafecheckUserInfo.vue +804 -804
- package/src/filiale/shanggao/android/SafecheckOrderV.vue +2426 -2426
- package/src/filiale/shanxian/android/SafecheckUserInfo.vue +749 -749
- package/src/filiale/shanxian/pc/HiddenSituation.vue +121 -121
- package/src/filiale/shanxian/pc/NewCheckpaper.vue +1526 -1526
- package/src/filiale/shexian/android/AddPlanItem.vue +444 -444
- package/src/filiale/shexian/android/SafecheckOrderV.vue +2879 -2879
- package/src/filiale/shexian/pc/DefectListNew.vue +593 -593
- package/src/filiale/shexian/pc/NewCheckpaper.vue +1469 -1469
- package/src/filiale/shimen/android/SafecheckUserInfo.vue +547 -547
- package/src/filiale/shimen/pc/DefectList.vue +473 -473
- package/src/filiale/shimen/pc/NewCheckpaper.vue +1275 -1275
- package/src/filiale/siyang/android/AddPlanItem.vue +450 -450
- package/src/filiale/siyang/android/CurrentCreate.vue +1051 -1051
- package/src/filiale/siyang/android/PhoneRecordInfo.vue +214 -214
- package/src/filiale/siyang/android/SafecheckOrderV.vue +2796 -2796
- package/src/filiale/siyang/android/SafecheckUserInfo.vue +789 -789
- package/src/filiale/siyang/pc/HiddenSituation.vue +167 -167
- package/src/filiale/taiyuan/pc/DefectDeal.vue +1033 -1033
- package/src/filiale/taiyuan/pc/NewCheckpaper.vue +1976 -1976
- package/src/filiale/taiyuan/pc/PlanManage.vue +891 -891
- package/src/filiale/taiyuan/pc/checkUserList.vue +798 -798
- package/src/filiale/taiyuan/pc.js +15 -15
- 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/tongchuan/android/AddPlanItem.vue +483 -483
- package/src/filiale/tongchuan/android/PhoneRecordInfo.vue +191 -191
- package/src/filiale/tongchuan/android/PhoneSellInfo.vue +113 -113
- package/src/filiale/tongchuan/android/SafecheckUserInfo.vue +720 -720
- package/src/filiale/tongchuan/pc/CheckBookDetails.vue +209 -209
- package/src/filiale/tongchuan/pc/DefectListWeixiu.vue +484 -484
- package/src/filiale/tongchuan/pc/HiddenSituation.vue +166 -166
- 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/SafePlanItem.vue +440 -440
- package/src/filiale/weinan/android/SafecheckUserInfo.vue +778 -778
- package/src/filiale/weinan/pc/DefectListNew.vue +617 -617
- package/src/filiale/weinan/pc/DeviceChange.vue +1088 -1088
- package/src/filiale/weinan/pc/HiddenSituation.vue +167 -167
- package/src/filiale/weinan/pc/checkScreen.vue +1094 -1094
- package/src/filiale/weinanct/android/SafecheckOrderV.vue +2730 -2730
- package/src/filiale/weinanct/pc/NewCheckpaper.vue +1315 -1315
- 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/DefectListNew.vue +735 -735
- package/src/filiale/wenxi/android/AddPlanItem.vue +431 -431
- package/src/filiale/wenxi/android/SafecheckOrderV.vue +2671 -2671
- package/src/filiale/wenxi/android/SafecheckUserInfo.vue +673 -673
- package/src/filiale/wenxi/pc/DefectList.vue +653 -653
- package/src/filiale/wenxi/pc/NewCheckpaper.vue +1358 -1358
- 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/NewCheckpaper.vue +1169 -1169
- package/src/filiale/wuhai/android/SafecheckOrderV.vue +2456 -2456
- package/src/filiale/wuhai/android/SafecheckUserInfo.vue +573 -573
- package/src/filiale/wuhai/pc/NewCheckpaper.vue +1281 -1281
- package/src/filiale/xiangyuanzhongai/android/PhoneUpUserinfo.vue +1251 -1251
- package/src/filiale/xinkang/android/AddPlanItem.vue +413 -413
- package/src/filiale/xinkang/pc/DefectListWeixiu.vue +475 -475
- package/src/filiale/xinkang/pc/NewCheckpaper.vue +1474 -1474
- package/src/filiale/xinkang/pc/PaperList.vue +596 -596
- package/src/filiale/yangchunboneng/android/AddPlanItem.vue +496 -496
- package/src/filiale/yangchunboneng/android/SafecheckOrderV.vue +2865 -2865
- package/src/filiale/yangchunboneng/android/SafecheckUserInfo.vue +887 -887
- package/src/filiale/yangchunboneng/pc/DefectListNew.vue +576 -576
- package/src/filiale/yongzhou/android/SafecheckOrderV.vue +2774 -2774
- package/src/filiale/yongzhou/android/SafecheckUserInfo.vue +776 -776
- package/src/filiale/yuansheng/android/SafecheckOrderV.vue +2758 -2758
- package/src/filiale/yuansheng/android/SafecheckUserInfo.vue +797 -797
- package/src/filiale/yuansheng/pc/DefectListNew.vue +524 -524
- package/src/filiale/yuansheng/pc/NewCheckpaper.vue +1371 -1371
- package/src/filiale/yuansheng/pc/checkmsg.vue +464 -464
- package/src/filiale/yunchengminsheng/android/DailyworkloadQuery.vue +491 -491
- package/src/filiale/yunchengminsheng/android/PaperFeedback.vue +1509 -1509
- package/src/filiale/yunchengminsheng/android/PhoneSellInfo.vue +113 -113
- package/src/filiale/yunchengminsheng/android/SafecheckDevices.vue +1270 -1270
- package/src/filiale/yunchengminsheng/android/SafecheckUserInfo.vue +785 -785
- package/src/filiale/yunchengminsheng/android.js +15 -15
- package/src/filiale/yunchengminsheng/pc/PaperList.vue +811 -811
- package/src/filiale/yunchengminsheng/pc.js +15 -15
- package/src/filiale/zhongsheng/android/BuyRecords.vue +122 -122
- 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/NewCheckpaper.vue +1322 -1322
- package/src/filiale/zhongyi/android/SafecheckOrderV.vue +2431 -2431
- package/src/filiale/zhongyi/pc/DefectListNew.vue +514 -514
- package/src/filiale/zhoukou/android/SafecheckOrderV.vue +2502 -2502
- package/src/filiale/zhoukou/android/SafecheckUserInfo.vue +588 -588
- package/src/main.js +2 -1
@@ -149,23 +149,6 @@ export default {
|
|
149
149
|
// props: ['f_plan_id', 'role'],
|
150
150
|
data() {
|
151
151
|
return {
|
152
|
-
//测试数据
|
153
|
-
// f_plan_id:'',
|
154
|
-
// role:'inspect',
|
155
|
-
// item:{"f_approved_time":null,"f_user_family_remarks":null,"f_street":"测试街道","f_repair_approved_time":null,
|
156
|
-
// "f_user_type":null,"f_approved_by":null,"f_card_id":null,"f_remark":null,"f_building":"1","f_batch_number":null,
|
157
|
-
// "f_idnumber":null,"f_state":"未检","id":"0EFE0EE2-B155-46F9-8DE0-38C022664A4D","f_complete":null,"f_check_state":null,"f_last_check_state":"拒检",
|
158
|
-
// "f_user_inhome_time":null,"f_residential_area":"测试小区1","version":1,"f_processid":null,"f_last_check_result":"{\"result\":\"正常\",\"data\":[]}",
|
159
|
-
// "f_area":null,"f_usegas":null,"f_user_phone":"16566546548","f_slice_area":"营业大区","f_approved":"未审核","f_upload_state":"未传","f_user_check_time":null,
|
160
|
-
// "f_unit":"1","f_user_spare_phone":null,"f_last_check_date":null,"f_userproperties":null,"f_userfile_id":null,"f_prearranged_date":null,"f_filialeid":"453",
|
161
|
-
// "f_branch":null,"f_orgstr":null,"f_plan_year":2020,"f_orgid":null,"f_approval_notified":null,"f_plan_month":4,"f_approved_note":null,"f_filialeids":null,
|
162
|
-
// "f_floor":"1","f_flag":null,"f_repair_approved_note":null,"f_userinfo_code":"00000002","f_create_time":"2020-05-10 18:56:03","f_meter_no":"","f_station":null,
|
163
|
-
// "f_repair_approved":"未审核","f_no_checkplan":"有计划安检","f_plan_name":"关于","f_repair_approved_by":null,"f_room":"1","f_office":null,"f_comments":null,
|
164
|
-
// "f_address":"兰山街道泰盛小区1栋1单元1层1室","id_back":null,"f_userinfoid":"2","f_subcompany":null,"f_addressid":null,"f_user_phone2":null,
|
165
|
-
// "f_user_equipment_remarks":null,"f_plan_id":"0819ea6707ad4d9dad217c06a87f4227","f_user_name":"用户二",
|
166
|
-
// "f_plan_meters":[{"f_weizhi":null,"f_flow_direction":"右表","f_metertitles":"","f_prior_reading":0,"f_meter_no":"2119035714","f_collection_type":"按金额","f_aliasname":"先锋系统结算物联网表","f_meter_type":"物联网表","version":3,"f_maker":null,"f_metergasnums":0,"f_total_fee":100,"f_diaphgram_size":"G2.5","f_total_gas":0,"id":18663},{"f_weizhi":null,"f_flow_direction":"右表","f_metertitles":"","f_prior_reading":0,"f_meter_no":"2118999901","f_collection_type":"按金额","f_aliasname":"先锋系统结算物联网表","f_meter_type":"物联网表","version":1,"f_maker":null,"f_metergasnums":0,"f_total_fee":0,"f_diaphgram_size":"G2.5","f_total_gas":0,"id":18663}]
|
167
|
-
// },
|
168
|
-
|
169
152
|
data: {
|
170
153
|
f_devices: [],
|
171
154
|
f_defect_content:'',
|
@@ -221,6 +204,7 @@ export default {
|
|
221
204
|
f_meetunit:'维修站',
|
222
205
|
f_outlets:'维修站'
|
223
206
|
},
|
207
|
+
serverConfig: undefined,
|
224
208
|
model: { //转维修数据
|
225
209
|
// 一次派单
|
226
210
|
serviceacitivity: [{
|
@@ -254,49 +238,38 @@ export default {
|
|
254
238
|
repairitems:[],
|
255
239
|
meading:'转站点',
|
256
240
|
repairTypeOptions:this.$appdata.getParam('报修类型'),
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
"
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
241
|
+
f_security_check_type_id: '',
|
242
|
+
config: [
|
243
|
+
{
|
244
|
+
"itemname": "燃气表",
|
245
|
+
"checkmust": true,
|
246
|
+
"index": 1,
|
247
|
+
"items": [
|
248
|
+
{"itemname": "基表编号", "index": 1, "type": "string", "readonly": true},
|
249
|
+
{"itemname": "气表型号", "index": 2, "type": "string", "readonly": true},
|
250
|
+
{"itemname": "气表品牌", "index": 3, "type": "string", "readonly": true},
|
251
|
+
{"itemname": "表向", "index": 4, "type": "string", "readonly": true},
|
252
|
+
{"itemname": "初始表底", "index": 5, "type": "number", "readonly": true},
|
253
|
+
{"itemname": "上期表读数", "index": 6, "type": "number", "readonly": true},
|
254
|
+
|
255
|
+
{"itemname": "累购气量", "index": 7, "type": "number", "readonly": true,unique: true,collectionType:"按气量"},
|
256
|
+
{"itemname": "已用气量", "index": 8, "type": "number", "checkmust": false,unique: true,collectionType:"按气量"},
|
257
|
+
{"itemname": "剩余气量", "index": 9, "type": "number", "checkmust": false,unique: true,collectionType:"按气量"},
|
258
|
+
{"itemname": "气量异常差值", "index": 10, "type": "number", "readonly": true,unique: true,collectionType:"按气量"},
|
259
|
+
|
260
|
+
|
261
|
+
{"itemname": "累购金额", "index": 7, "type": "number", "readonly": true,unique: true,collectionType:"按金额"},
|
262
|
+
{"itemname": "已用金额", "index": 8, "type": "number", "checkmust": false,unique: true,collectionType:"按金额"},
|
263
|
+
{"itemname": "剩余金额", "index": 9, "type": "number", "checkmust": false,unique: true,collectionType:"按金额"},
|
264
|
+
{"itemname": "金额异常差值", "index": 10, "type": "number", "readonly": true,unique: true,collectionType:"按金额"},
|
265
|
+
|
266
|
+
{"itemname": "系统余额", "index": 10, "type": "number", "readonly": true},
|
267
|
+
|
268
|
+
{"itemname": "表封号", "index": 11, "type": "string", "readonly": true},
|
269
|
+
{"itemname": "燃气表照片", "index": 12, "type": "picture", "checkmust": false}
|
270
|
+
]
|
281
271
|
}
|
282
|
-
|
283
|
-
},
|
284
|
-
// "燃气表2":{
|
285
|
-
// "checkmust":true,
|
286
|
-
// "index":2,src
|
287
|
-
// "items":{
|
288
|
-
// "燃气表照片":{"index":1,"type":"picture"},
|
289
|
-
// "表品牌":{"index":2,"type":"string","readonly":true},
|
290
|
-
// "表号":{"index":3,"type":"string","readonly":true},
|
291
|
-
// "表封号":{"index":4,"type":"number","readonly":true},
|
292
|
-
// "表型号":{"index":5,"type":"string","readonly":true},
|
293
|
-
// "位置":{"index":6,"type":"string","readonly":true},
|
294
|
-
// "表底数":{"index":7,"type":"number","readonly":true},
|
295
|
-
// "累购气量":{"index":8,"type":"number","readonly":true},
|
296
|
-
// "累购金额":{"index":8,"type":"number","readonly":true}
|
297
|
-
// }
|
298
|
-
// }
|
299
|
-
},
|
272
|
+
],
|
300
273
|
// 维修项
|
301
274
|
isneedDate:'',
|
302
275
|
days: this.$appdata.getParam('截止天数'),
|
@@ -753,14 +726,14 @@ export default {
|
|
753
726
|
for(let device in this.data) {
|
754
727
|
if (device.startsWith("device")) {
|
755
728
|
for (let item in this.data[device]) {
|
756
|
-
if (this.data[device].length != 0 && this.data[device][item].f_device_type == dev) {
|
729
|
+
if (this.data[device].length != 0 && this.data[device][item].f_device_type == this.config[dev].itemname) {
|
757
730
|
error = false
|
758
731
|
}
|
759
732
|
}
|
760
733
|
}
|
761
734
|
}
|
762
735
|
if (error) {
|
763
|
-
return "请检查" + dev
|
736
|
+
return "请检查" + this.config[dev].itemname
|
764
737
|
}
|
765
738
|
}
|
766
739
|
}
|
@@ -770,23 +743,22 @@ export default {
|
|
770
743
|
if (device.startsWith("device")) {
|
771
744
|
for (let item in this.data[device]) {
|
772
745
|
//检查每一条安检结果
|
773
|
-
if (this.data[device].length != 0 && this.data[device][item].f_device_type == dev) {
|
746
|
+
if (this.data[device].length != 0 && this.data[device][item].f_device_type == this.config[dev].itemname) {
|
774
747
|
for (let i in this.data[device][item].f_items) {
|
775
748
|
for (let it in this.config[dev].items) {
|
776
|
-
if (it == this.data[device][item].f_items[i].f_item_name) {
|
777
|
-
let check=false
|
778
|
-
if (!this.data[device][item].f_items[i].f_item_value){
|
779
|
-
check=true
|
780
|
-
}else if (Array.isArray(this.data[device][item].f_items[i].f_item_value)){
|
781
|
-
if (this.data[device][item].f_items[i].f_item_value.length==0){
|
782
|
-
check=true
|
749
|
+
if (this.config[dev].items[it].itemname == this.data[device][item].f_items[i].f_item_name) {
|
750
|
+
let check = false
|
751
|
+
if (!this.data[device][item].f_items[i].f_item_value) {
|
752
|
+
check = true
|
753
|
+
} else if (Array.isArray(this.data[device][item].f_items[i].f_item_value)) {
|
754
|
+
if (this.data[device][item].f_items[i].f_item_value.length == 0) {
|
755
|
+
check = true
|
783
756
|
}
|
784
757
|
}
|
785
|
-
|
786
|
-
if(this.config[dev].items[it].type=='picture' && this.config[dev].items[it].checkmust == true && !this.data[device][item].f_items[i].f_path){
|
758
|
+
if (this.config[dev].items[it].type == 'picture' && this.config[dev].items[it].checkmust == true && !this.data[device][item].f_items[i].f_path) {
|
787
759
|
return dev + (this.data[device].indexOf(this.data[device][item]) + 1) + this.data[device][item].f_items[i].f_item_name + "未检查"
|
788
760
|
}
|
789
|
-
if (this.config[dev].items[it].type !='picture' && this.config[dev].items[it].checkmust == true && check) {
|
761
|
+
if (this.config[dev].items[it].type != 'picture' && this.config[dev].items[it].checkmust == true && check) {
|
790
762
|
return dev + (this.data[device].indexOf(this.data[device][item]) + 1) + this.data[device][item].f_items[i].f_item_name + "未检查"
|
791
763
|
}
|
792
764
|
}
|
@@ -832,7 +804,7 @@ export default {
|
|
832
804
|
let hasOther = ''
|
833
805
|
let otherValue = null
|
834
806
|
for (let item in codata[device]) {
|
835
|
-
if(typeof codata[device][item]=='function'){
|
807
|
+
if (typeof codata[device][item] == 'function') {
|
836
808
|
continue
|
837
809
|
}
|
838
810
|
codata[device][item].f_create_time = Util.toStandardTimeString()
|
@@ -842,17 +814,18 @@ export default {
|
|
842
814
|
} else {
|
843
815
|
f_device_type = codata[device][item].f_device_type
|
844
816
|
}
|
845
|
-
if(item == 'sum' || item == 'removeEmpty'){
|
817
|
+
if (item == 'sum' || item == 'removeEmpty') {
|
846
818
|
continue
|
847
819
|
}
|
848
|
-
for (let i = 0; i < codata[device][item].f_items.length
|
820
|
+
for (let i = 0; i < codata[device][item].f_items.length; i++) {
|
849
821
|
//tag
|
850
|
-
if(i == 'sum' || i == 'removeEmpty'){
|
822
|
+
if (i == 'sum' || i == 'removeEmpty') {
|
851
823
|
continue
|
852
824
|
}
|
853
825
|
var items = codata[device][item].f_items[i]
|
854
826
|
items.f_create_time = Util.toStandardTimeString()
|
855
827
|
items.f_item_lists = []
|
828
|
+
|
856
829
|
if (items.type == 'selector') {
|
857
830
|
items.selected = []
|
858
831
|
} else if (items.type == 'inputSelector') {
|
@@ -865,62 +838,74 @@ export default {
|
|
865
838
|
let f_item_value
|
866
839
|
if (items.type == 'selector' || items.type == 'checkbox' || items.type == 'radio') {
|
867
840
|
for (let i in items.f_item_value) {
|
868
|
-
if(typeof items.f_item_value[i]=='function'){
|
841
|
+
if (typeof items.f_item_value[i] == 'function') {
|
869
842
|
continue
|
870
843
|
}
|
871
|
-
let configItems = this.config[codata[device][item].f_device_type].items[f_item_name]
|
844
|
+
// let configItems = this.config[codata[device][item].f_device_type].items[f_item_name]
|
845
|
+
let configItems = ''
|
846
|
+
this.config.forEach(e => {
|
847
|
+
if (e.itemname == f_device_type)
|
848
|
+
e.items.forEach(item => {
|
849
|
+
if (item.itemname == f_item_name) {
|
850
|
+
configItems = item
|
851
|
+
}
|
852
|
+
})
|
853
|
+
})
|
854
|
+
items.f_defect_level = configItems.level
|
872
855
|
//tag)
|
873
856
|
for (let k in configItems.options) {
|
874
|
-
if(typeof configItems.options[k]=='function'){
|
857
|
+
if (typeof configItems.options[k] == 'function') {
|
875
858
|
continue
|
876
859
|
}
|
877
860
|
//tag)
|
878
861
|
if (items.f_item_value[i] === configItems.options[k].data) {
|
879
|
-
|
880
862
|
f_is_defect = configItems.options[k].isdefect
|
881
863
|
f_item_value = items.f_item_value[i]
|
882
|
-
f_defect_level = configItems.
|
864
|
+
f_defect_level = configItems.level
|
883
865
|
if (f_is_defect) {
|
884
866
|
if (checkResults.result !== '有隐患') {
|
885
867
|
checkResults.result = '有隐患'
|
886
868
|
}
|
887
|
-
console.log('items'+items)
|
888
|
-
if(items.f_deal_dispose=='报修'){
|
869
|
+
console.log('items' + items)
|
870
|
+
if (items.f_deal_dispose == '报修') {
|
889
871
|
console.log("检测到需要转维修++++++++++++")
|
890
|
-
this.repairDefect.result='未处理'
|
872
|
+
this.repairDefect.result = '未处理'
|
891
873
|
this.repairDefect.data.push(`${f_item_name} : ${f_item_value}`)
|
892
874
|
}
|
893
|
-
if (!this.checkResult.hasOwnProperty(f_device_type+'-'+f_item_name)) {
|
894
|
-
this.checkResult[f_device_type+'-'+f_item_name] = []
|
875
|
+
if (!this.checkResult.hasOwnProperty(f_device_type + '-' + f_item_name)) {
|
876
|
+
this.checkResult[f_device_type + '-' + f_item_name] = []
|
895
877
|
}
|
896
|
-
this.checkResult[f_device_type+'-'+f_item_name].push(f_item_value)
|
878
|
+
this.checkResult[f_device_type + '-' + f_item_name].push(f_item_value)
|
897
879
|
|
898
880
|
}
|
899
881
|
|
900
|
-
let
|
901
|
-
|
902
|
-
|
903
|
-
|
904
|
-
f_is_eliminate: null,
|
905
|
-
f_create_time: Util.toStandardTimeString()
|
906
|
-
}
|
907
|
-
if (!items.f_item_lists) {
|
908
|
-
items.f_item_lists = []
|
909
|
-
if (JSON.stringify(items_list) !== '{}') {
|
910
|
-
items.f_item_lists.push(items_list)
|
911
|
-
}
|
882
|
+
let f_selected = f_item_value
|
883
|
+
if (!items.f_selected) {
|
884
|
+
items.f_selected = []
|
885
|
+
items.f_selected.push(f_item_value)
|
912
886
|
} else {
|
913
|
-
|
914
|
-
items.f_item_lists.push(items_list)
|
915
|
-
}
|
887
|
+
items.f_selected.push(f_item_value)
|
916
888
|
}
|
917
889
|
}
|
918
890
|
}
|
919
891
|
}
|
892
|
+
//
|
893
|
+
items.f_selected = JSON.stringify(items.f_selected);
|
894
|
+
items.f_item_value = items.f_item_value ? items.f_item_value.toString() : undefined
|
920
895
|
} else {
|
921
|
-
let configItems = this.config[codata[device][item].f_device_type].items[items.f_item_name]
|
896
|
+
// let configItems = this.config[codata[device][item].f_device_type].items[items.f_item_name]
|
897
|
+
let configItems = ''
|
898
|
+
this.config.forEach(e => {
|
899
|
+
if (e.itemname == f_device_type)
|
900
|
+
e.items.forEach(item => {
|
901
|
+
if (item.itemname == f_item_name) {
|
902
|
+
configItems = item
|
903
|
+
}
|
904
|
+
})
|
905
|
+
})
|
906
|
+
|
922
907
|
f_is_defect = items.f_is_defect
|
923
|
-
f_defect_level =
|
908
|
+
f_defect_level = configItems.level
|
924
909
|
f_item_value = items.f_item_value
|
925
910
|
let items_list = {
|
926
911
|
f_is_defect: f_is_defect,
|
@@ -964,7 +949,7 @@ export default {
|
|
964
949
|
}
|
965
950
|
if (this.checkResult) {
|
966
951
|
for (let key in this.checkResult) {
|
967
|
-
if(typeof this.checkResult[key]=='function'){
|
952
|
+
if (typeof this.checkResult[key] == 'function') {
|
968
953
|
continue
|
969
954
|
}
|
970
955
|
// 上次安检结果数据组织
|
@@ -1010,7 +995,6 @@ export default {
|
|
1010
995
|
return this.$showMessage('有隐患的处理方式为转维修,请点击转维修')
|
1011
996
|
}
|
1012
997
|
this.save()
|
1013
|
-
|
1014
998
|
},
|
1015
999
|
//将数据组装提出
|
1016
1000
|
assemblyCodata(){
|
@@ -1029,21 +1013,21 @@ export default {
|
|
1029
1013
|
save(type) {
|
1030
1014
|
if (type == 'temp' || type == 'finish') {
|
1031
1015
|
this.assemblyCodata()
|
1032
|
-
|
1016
|
+
}
|
1033
1017
|
//禁用事件
|
1034
1018
|
this.saveNoclick()
|
1035
|
-
if(type == 'temp'){
|
1019
|
+
if (type == 'temp') {
|
1036
1020
|
this.data.f_complete = '未完成'
|
1037
1021
|
this.rowCodata.f_complete = '未完成'
|
1038
1022
|
// 关闭录音方法
|
1039
1023
|
this.closely(true) //临时保存,删除录音文件并暂停录音
|
1040
1024
|
this.disableTimer()
|
1041
|
-
}else {
|
1025
|
+
} else {
|
1042
1026
|
// 关闭录音方法
|
1043
1027
|
this.closely(false) // 保存本地,不删除录音文件暂停录音
|
1044
1028
|
let errString = this.errorVerify()
|
1045
1029
|
if (errString) {
|
1046
|
-
if (Vue.android){
|
1030
|
+
if (Vue.android) {
|
1047
1031
|
this.$showMessage(errString)
|
1048
1032
|
}
|
1049
1033
|
return
|
@@ -1055,7 +1039,7 @@ export default {
|
|
1055
1039
|
this.disableTimer()
|
1056
1040
|
}
|
1057
1041
|
}
|
1058
|
-
if(this.data.f_blacklist!='是'){
|
1042
|
+
if (this.data.f_blacklist != '是') {
|
1059
1043
|
delete this.data.f_blocking_cause
|
1060
1044
|
}
|
1061
1045
|
if (this.data.f_entry_status == '入户') {
|
@@ -1063,17 +1047,17 @@ export default {
|
|
1063
1047
|
this.data.f_rejectcheck_path = null
|
1064
1048
|
this.data.f_rejectcheck1_path = null
|
1065
1049
|
this.data.f_rejectcheck2_path = null
|
1066
|
-
this.data.f_noanswers_path=[]
|
1050
|
+
this.data.f_noanswers_path = []
|
1067
1051
|
this.data.f_noanswer_path = null
|
1068
1052
|
this.data.f_noanswer1_path = null
|
1069
1053
|
this.data.f_noanswer2_path = null
|
1070
|
-
}else if (this.data.f_entry_status == '到访不遇') {
|
1054
|
+
} else if (this.data.f_entry_status == '到访不遇') {
|
1071
1055
|
this.data.f_rejectchecks_path = []
|
1072
1056
|
this.data.f_rejectcheck_path = null
|
1073
1057
|
this.data.f_rejectcheck1_path = null
|
1074
1058
|
this.data.f_rejectcheck2_path = null
|
1075
|
-
}else if (this.data.f_entry_status == '拒检') {
|
1076
|
-
this.data.f_noanswers_path=[]
|
1059
|
+
} else if (this.data.f_entry_status == '拒检') {
|
1060
|
+
this.data.f_noanswers_path = []
|
1077
1061
|
this.data.f_noanswer_path = null
|
1078
1062
|
this.data.f_noanswer1_path = null
|
1079
1063
|
this.data.f_noanswer2_path = null
|
@@ -1092,8 +1076,8 @@ export default {
|
|
1092
1076
|
})
|
1093
1077
|
if ((this.item.f_no_checkplan == '无计划安检' || this.item.f_no_checkplan == '复检') && this.item.f_no_checkplan != '打回') {
|
1094
1078
|
codata.f_devices = this.f_devices
|
1095
|
-
if (this.rowCodata && this.rowCodata.istoRepair=='转维修') {
|
1096
|
-
this.rowCodata = Object.assign({},this.rowCodata,codata)
|
1079
|
+
if (this.rowCodata && this.rowCodata.istoRepair == '转维修') {
|
1080
|
+
this.rowCodata = Object.assign({}, this.rowCodata, codata)
|
1097
1081
|
} else {
|
1098
1082
|
this.rowCodata = codata
|
1099
1083
|
}
|
@@ -1158,8 +1142,8 @@ export default {
|
|
1158
1142
|
alias: 'getUserinfomation',
|
1159
1143
|
data: {condition: "f_userinfoid = '" + this.item.f_userinfoid + "' and f_no_checkplan in ('无计划安检','复检')"}
|
1160
1144
|
})
|
1161
|
-
if (this.rowCodata && this.rowCodata.istoRepair=='转维修') {
|
1162
|
-
this.rowCodata = Object.assign({},this.rowCodata,codata)
|
1145
|
+
if (this.rowCodata && this.rowCodata.istoRepair == '转维修') {
|
1146
|
+
this.rowCodata = Object.assign({}, this.rowCodata, codata)
|
1163
1147
|
} else {
|
1164
1148
|
this.rowCodata = codata
|
1165
1149
|
}
|
@@ -1176,6 +1160,7 @@ export default {
|
|
1176
1160
|
f_check_item_id: this.data.f_check_item_id
|
1177
1161
|
}).then((res) => {
|
1178
1162
|
if (res.data.code == 200) {
|
1163
|
+
|
1179
1164
|
let f_paper_id = res.data.data[0].id
|
1180
1165
|
for (let device of this.f_devices) {
|
1181
1166
|
device.f_paper_id = f_paper_id
|
@@ -1198,8 +1183,7 @@ export default {
|
|
1198
1183
|
return false
|
1199
1184
|
}
|
1200
1185
|
})
|
1201
|
-
}
|
1202
|
-
else {
|
1186
|
+
} else {
|
1203
1187
|
this.$androidUtil.bzLogic('保存安检单信息', {
|
1204
1188
|
f_check_item_id: this.data.f_check_item_id,
|
1205
1189
|
f_checker_id: this.data.f_checker_id,
|
@@ -1316,23 +1300,23 @@ export default {
|
|
1316
1300
|
// 如需额外拼接参数,写在logic返回值的params,例如xxlogic返回:{"params": "success"}
|
1317
1301
|
'backresult': 1
|
1318
1302
|
})
|
1319
|
-
}else{
|
1303
|
+
} else {
|
1320
1304
|
this.$showMessage('保存成功!')
|
1321
|
-
if(this.clickBack){
|
1305
|
+
if (this.clickBack) {
|
1322
1306
|
this.isStrat = false
|
1323
1307
|
this.$dispatch('confirm')
|
1324
1308
|
}
|
1325
1309
|
}
|
1326
|
-
}else{
|
1310
|
+
} else {
|
1327
1311
|
this.$showMessage('保存失败!')
|
1328
1312
|
return
|
1329
1313
|
}
|
1330
|
-
}else{
|
1314
|
+
} else {
|
1331
1315
|
this.$showMessage('服务器内部错误,保存失败!')
|
1332
1316
|
return
|
1333
1317
|
}
|
1334
1318
|
},
|
1335
|
-
uploadCallBack(jo){
|
1319
|
+
uploadCallBack(jo) {
|
1336
1320
|
//获取微信推送路径
|
1337
1321
|
let url = ""
|
1338
1322
|
if(Vue.config.safecheck != undefined) {
|
@@ -1342,13 +1326,13 @@ export default {
|
|
1342
1326
|
}
|
1343
1327
|
}
|
1344
1328
|
}
|
1345
|
-
if(jo.state == 'ok'){
|
1329
|
+
if (jo.state == 'ok') {
|
1346
1330
|
let res = JSON.parse(jo.result)
|
1347
|
-
if(res.code == 200){
|
1331
|
+
if (res.code == 200) {
|
1348
1332
|
this.$set('data.f_paper_id', res.id)
|
1349
|
-
this.isStrat=false
|
1350
|
-
if(url != ""){
|
1351
|
-
this.$resetpost(`${url}`,{data:WxResult})
|
1333
|
+
this.isStrat = false
|
1334
|
+
if (url != "") {
|
1335
|
+
this.$resetpost(`${url}`, {data: WxResult})
|
1352
1336
|
}
|
1353
1337
|
// 预约安检回更预约安检单
|
1354
1338
|
if(this.data.isupdateplanitem == 'true' && this.data.f_SafeToRepair_id){
|
@@ -1362,27 +1346,27 @@ export default {
|
|
1362
1346
|
}
|
1363
1347
|
})
|
1364
1348
|
}
|
1365
|
-
if(this.isToRepair){
|
1366
|
-
for (let device in this.data){
|
1367
|
-
if(device.startsWith("device")){
|
1349
|
+
if (this.isToRepair) {
|
1350
|
+
for (let device in this.data) {
|
1351
|
+
if (device.startsWith("device")) {
|
1368
1352
|
this.data[device] = []
|
1369
|
-
if(res.data.length > 0){
|
1370
|
-
for(let i in res.data[0].f_devices){
|
1371
|
-
if(this.data[device].length > 0){
|
1372
|
-
if(this.data[device][0].f_device_type == res.data[0].f_devices[i].f_device_type){
|
1353
|
+
if (res.data.length > 0) {
|
1354
|
+
for (let i in res.data[0].f_devices) {
|
1355
|
+
if (this.data[device].length > 0) {
|
1356
|
+
if (this.data[device][0].f_device_type == res.data[0].f_devices[i].f_device_type) {
|
1373
1357
|
this.data[device].push(res.data[0].f_devices[i])
|
1374
|
-
res.data[0].f_devices.splice(i,1)
|
1358
|
+
res.data[0].f_devices.splice(i, 1)
|
1375
1359
|
}
|
1376
|
-
}else{
|
1360
|
+
} else {
|
1377
1361
|
this.data[device].push(res.data[0].f_devices[i])
|
1378
|
-
res.data[0].f_devices.splice(i,1)
|
1362
|
+
res.data[0].f_devices.splice(i, 1)
|
1379
1363
|
}
|
1380
1364
|
}
|
1381
1365
|
}
|
1382
1366
|
}
|
1383
1367
|
}
|
1384
1368
|
this.todo()
|
1385
|
-
}else{
|
1369
|
+
} else {
|
1386
1370
|
this.$showMessage('安检上传成功!')
|
1387
1371
|
if (this.data.f_userinfoid){
|
1388
1372
|
let http = new HttpResetClass()
|
@@ -1447,8 +1431,7 @@ export default {
|
|
1447
1431
|
this.$showMessage('网络异常,请缓存后重新尝试上传,多次上传失败请联系管理员!')
|
1448
1432
|
this.onlySave = true
|
1449
1433
|
return
|
1450
|
-
}
|
1451
|
-
else{
|
1434
|
+
} else {
|
1452
1435
|
this.$showMessage('上传失败!')
|
1453
1436
|
}
|
1454
1437
|
}else {
|
@@ -1456,31 +1439,31 @@ export default {
|
|
1456
1439
|
}
|
1457
1440
|
this.onlySave = true
|
1458
1441
|
},
|
1459
|
-
safecheckToRepairCallBack(jo){
|
1442
|
+
safecheckToRepairCallBack(jo) {
|
1460
1443
|
//获取微信推送路径
|
1461
|
-
if(jo.state == 'ok'){
|
1444
|
+
if (jo.state == 'ok') {
|
1462
1445
|
let res = JSON.parse(jo.result)
|
1463
|
-
if(res.code == 200){
|
1464
|
-
if(res.data.code == 200){
|
1446
|
+
if (res.code == 200) {
|
1447
|
+
if (res.data.code == 200) {
|
1465
1448
|
this.$showMessage('上传并转维修成功!')
|
1466
|
-
}else{
|
1449
|
+
} else {
|
1467
1450
|
this.$showMessage('上传并转维修成功,回写安检单失败!')
|
1468
1451
|
}
|
1469
1452
|
this.$dispatch('confirm')
|
1470
|
-
}else{
|
1453
|
+
} else {
|
1471
1454
|
this.$showMessage('上传失败!')
|
1472
1455
|
this.onlySave = true
|
1473
1456
|
}
|
1474
|
-
}else{
|
1457
|
+
} else {
|
1475
1458
|
this.$showMessage('网络异常,上传失败!')
|
1476
1459
|
this.onlySave = true
|
1477
1460
|
}
|
1478
1461
|
},
|
1479
|
-
todo(){
|
1462
|
+
todo() {
|
1480
1463
|
let gen = getRepairParam(this)
|
1481
1464
|
co(gen)
|
1482
1465
|
},
|
1483
|
-
undo(){
|
1466
|
+
undo() {
|
1484
1467
|
this.showCheckToRepair = !this.showCheckToRepair
|
1485
1468
|
this.model.serviceacitivity[0].f_reciever = ''
|
1486
1469
|
this.model.serviceacitivity[0].f_meetunit = ''
|
@@ -1516,26 +1499,60 @@ export default {
|
|
1516
1499
|
return (((1+Math.random())*0x10000)|0).toString(16).substring(1);
|
1517
1500
|
},
|
1518
1501
|
extend(initalObj, finalObj) {
|
1519
|
-
|
1520
|
-
|
1521
|
-
|
1502
|
+
initalObj.forEach(item2 => {
|
1503
|
+
const item1 = finalObj.find(item => item.itemname === item2.itemname);
|
1504
|
+
|
1505
|
+
if (!item1) {
|
1506
|
+
finalObj.push(item2);
|
1507
|
+
} else {
|
1508
|
+
// 对 item2 的 items 进行逆序遍历
|
1509
|
+
item2.items.slice().forEach(subItem2 => {
|
1510
|
+
const subItem1Index = item1.items.findIndex(subItem => subItem.itemname === subItem2.itemname);
|
1511
|
+
|
1512
|
+
if (subItem1Index > -1) {
|
1513
|
+
// 如果找到匹配的 subItem1,用 subItem2 替换它
|
1514
|
+
item1.items[subItem1Index] = subItem2;
|
1515
|
+
} else {
|
1516
|
+
// 如果没有找到,将 subItem2 插入到 item1.items 的前面
|
1517
|
+
item1.items.push(subItem2);
|
1518
|
+
}
|
1519
|
+
});
|
1520
|
+
}
|
1521
|
+
});
|
1522
1522
|
|
1523
|
-
|
1524
|
-
|
1525
|
-
|
1523
|
+
return finalObj;
|
1524
|
+
},
|
1525
|
+
removeNestedItem(arr, itemname1, itemname2) {
|
1526
|
+
// 创建一个新数组以避免修改原始数组
|
1527
|
+
const newArr = arr.map(item => {
|
1528
|
+
// 复制每个项目以避免直接修改它们
|
1529
|
+
const newItem = { ...item };
|
1530
|
+
|
1531
|
+
// 检查外层itemname是否匹配
|
1532
|
+
if (newItem.itemname === itemname1 && Array.isArray(newItem.items)) {
|
1533
|
+
// 过滤掉匹配的内层itemname
|
1534
|
+
newItem.items = newItem.items.filter(subItem => subItem.itemname !== itemname2);
|
1526
1535
|
}
|
1536
|
+
return newItem;
|
1537
|
+
});
|
1538
|
+
return newArr;
|
1539
|
+
},
|
1540
|
+
removeByCollectionType(arr, collectionType) {
|
1541
|
+
// 创建一个新数组以避免修改原始数组
|
1542
|
+
const newArr = arr.map(item => {
|
1543
|
+
// 复制每个项目以避免直接修改它们
|
1544
|
+
const newItem = {...item};
|
1527
1545
|
|
1528
|
-
|
1529
|
-
|
1530
|
-
|
1531
|
-
|
1532
|
-
obj[i] = prop;
|
1533
|
-
}
|
1546
|
+
// 检查外层itemname是否匹配
|
1547
|
+
if (newItem.itemname === '燃气表' && Array.isArray(newItem.items)) {
|
1548
|
+
// 过滤掉匹配的内层itemname
|
1549
|
+
newItem.items = newItem.items.filter(subItem => !subItem.unique || subItem.collectionType == collectionType);
|
1534
1550
|
}
|
1535
|
-
|
1536
|
-
|
1551
|
+
return newItem;
|
1552
|
+
});
|
1553
|
+
return newArr;
|
1537
1554
|
},
|
1538
|
-
putDevices() {
|
1555
|
+
async putDevices() {
|
1539
1556
|
this.$set('data.approve', "true")
|
1540
1557
|
this.$set('data.writeback', "false")
|
1541
1558
|
if (Vue.config.safecheck != undefined) {
|
@@ -1559,46 +1576,60 @@ export default {
|
|
1559
1576
|
this.refuseinspection = Vue.config.safecheck.ApproveConfig.refuseinspection
|
1560
1577
|
}
|
1561
1578
|
}
|
1562
|
-
if(this.item.f_user_type == '非民用'){
|
1563
|
-
// 非民用
|
1564
|
-
if (Vue.config.safecheck.DevicesSetConfig != undefined){
|
1565
|
-
if(this.item.f_safecheck_type == undefined || this.item.f_safecheck_type == '' || Vue.config.safecheck.SafecheckType == undefined) {
|
1566
|
-
this.config = this.extend(this.config, Vue.config.safecheck.DevicesSetConfig)
|
1567
|
-
}else{
|
1568
|
-
this.config = this.extend(this.config, Vue.config.safecheck[Vue.config.safecheck.SafecheckType[this.item.f_safecheck_type][this.item.f_user_type]])
|
1569
|
-
}
|
1570
|
-
}
|
1571
1579
|
|
1572
|
-
|
1573
|
-
|
1574
|
-
|
1575
|
-
|
1576
|
-
|
1577
|
-
|
1578
|
-
|
1579
|
-
|
1580
|
+
if (this.item.f_security_check_type_id && this.item.f_security_check_type_id != null) {
|
1581
|
+
try {
|
1582
|
+
await this.getSecurityCheckType(`${this.$androidUtil.getProxyUrl()}/api/af-safecheck/logic/getSecurityCheckTypeHistoryById`, {id: this.item.f_security_check_type_id})
|
1583
|
+
this.f_security_check_type_id = this.serverConfig.data.id
|
1584
|
+
} catch (e) {
|
1585
|
+
return this.$showMessage('获取配置文件失败,请返回后重新进入!多次失败请联系管理员')
|
1586
|
+
}
|
1587
|
+
this.config = this.extend(JSON.parse(this.serverConfig.data.f_json), this.config)
|
1588
|
+
this.initConfig()
|
1589
|
+
} else {
|
1590
|
+
try {
|
1591
|
+
await this.getSecurityCheckType(`${this.$androidUtil.getProxyUrl()}/api/af-safecheck/logic/getSecurityCheckTypeByType`, {
|
1592
|
+
f_safecheck_type: this.item.f_safecheck_type || '年度普检',
|
1593
|
+
f_user_type: this.item.f_user_type
|
1594
|
+
})
|
1595
|
+
this.f_security_check_type_id = this.serverConfig.data[0].id
|
1596
|
+
this.config = this.extend(JSON.parse(this.serverConfig.data[0].f_json), this.config)
|
1597
|
+
this.initConfig()
|
1598
|
+
} catch (e) {
|
1599
|
+
return this.$showMessage('获取配置文件失败,请返回后重新进入!多次失败请联系管理员')
|
1580
1600
|
}
|
1581
1601
|
}
|
1582
|
-
|
1583
1602
|
}
|
1584
|
-
|
1603
|
+
},
|
1604
|
+
async getSecurityCheckType(url, data) {
|
1605
|
+
let res = await new HttpResetClass().http('POST', url,
|
1606
|
+
data,
|
1607
|
+
{resolveMsg: null, rejectMsg: '网络异常'})
|
1608
|
+
if (typeof res === 'object') {
|
1609
|
+
this.serverConfig = res
|
1610
|
+
} else {
|
1611
|
+
this.serverConfig = JSON.parse(res)
|
1612
|
+
}
|
1613
|
+
},
|
1614
|
+
initConfig() {
|
1585
1615
|
for (let i in this.config) {
|
1586
|
-
this.tabs.splice(1,0,null)
|
1616
|
+
this.tabs.splice(1, 0, null)
|
1587
1617
|
}
|
1588
|
-
//遍历安检项配置
|
1589
1618
|
for (let i in this.config) {
|
1590
1619
|
//取得安检项索引值
|
1591
|
-
let n =
|
1592
|
-
|
1620
|
+
let n = parseInt(i) + 1
|
1621
|
+
//tag
|
1622
|
+
this.devices[n - 1] = {device: parseInt(i), n: n, checkmust: this.config[i].checkmust}
|
1593
1623
|
this.$set('data.' + 'device' + n, [])
|
1594
1624
|
this.tabs[n] = {
|
1595
|
-
header: i,
|
1625
|
+
header: this.config[i].itemname,
|
1596
1626
|
complete: 'safecheck-devices',
|
1597
1627
|
class: 'repair-details-class',
|
1598
1628
|
number: n
|
1599
1629
|
}
|
1600
1630
|
|
1601
|
-
if(this.config[i].quantity &&
|
1631
|
+
if (this.config[i].quantity && this.config[i].quantity > 0) {
|
1632
|
+
|
1602
1633
|
let items = []
|
1603
1634
|
for (let it in this.config[i].items) {
|
1604
1635
|
//赋值下拉选项
|
@@ -1606,9 +1637,9 @@ export default {
|
|
1606
1637
|
for (let op in this.config[i].items[it].options) {
|
1607
1638
|
if (this.config[i].items[it].options[op].isdefault == true) {
|
1608
1639
|
items.push({
|
1609
|
-
f_defect_level: this.config[i].items[it].
|
1640
|
+
f_defect_level: this.config[i].items[it].level,
|
1610
1641
|
f_is_defect: this.config[i].items[it].options[op].isdefect,
|
1611
|
-
f_item_name: it,
|
1642
|
+
f_item_name: this.config[i].items[it].itemname,
|
1612
1643
|
f_item_value: this.config[i].items[it].options[op].data,
|
1613
1644
|
f_path: "",
|
1614
1645
|
type: "selector"
|
@@ -1617,9 +1648,11 @@ export default {
|
|
1617
1648
|
}
|
1618
1649
|
}
|
1619
1650
|
}
|
1620
|
-
for(let q =0;q<this.config[i].quantity;q++) {
|
1651
|
+
for (let q = 0; q < this.config[i].quantity; q++) {
|
1621
1652
|
this.data['device' + n].push(
|
1622
|
-
{
|
1653
|
+
{
|
1654
|
+
f_device_type: this.config[i].itemname, f_items: items
|
1655
|
+
}
|
1623
1656
|
)
|
1624
1657
|
}
|
1625
1658
|
}
|
@@ -1707,7 +1740,7 @@ export default {
|
|
1707
1740
|
if (this.item.f_plan_meters[i].f_meter_type) {
|
1708
1741
|
this.data.f_meter_type=this.item.f_plan_meters[i].f_meter_type
|
1709
1742
|
//tag)
|
1710
|
-
if (this.devices[de].device == "燃气表" && this.item.f_plan_meters[i].f_meter_type.indexOf('机表')
|
1743
|
+
if (this.config[this.devices[de].device].itemname == "燃气表" && this.item.f_plan_meters[i].f_meter_type.indexOf('机表') > 0) {
|
1711
1744
|
this.data['device' + this.devices[de].n].push({
|
1712
1745
|
f_device_type: "燃气表",
|
1713
1746
|
f_items: [
|
@@ -1767,8 +1800,7 @@ export default {
|
|
1767
1800
|
}
|
1768
1801
|
]
|
1769
1802
|
})
|
1770
|
-
}
|
1771
|
-
else if (this.devices[de].device == "燃气表") {
|
1803
|
+
} else if (this.config[this.devices[de].device].itemname == "燃气表") {
|
1772
1804
|
this.data['device' + this.devices[de].n].push({
|
1773
1805
|
f_device_type: "燃气表",
|
1774
1806
|
f_items: [
|
@@ -1829,15 +1861,15 @@ export default {
|
|
1829
1861
|
]
|
1830
1862
|
})
|
1831
1863
|
}
|
1832
|
-
if(this.devices[de].device == "燃气表" && this.item.f_plan_meters[i].f_meter_type.indexOf('物联网表') >= 0){
|
1864
|
+
if(this.config[this.devices[de].device].itemname == "燃气表" && this.item.f_plan_meters[i].f_meter_type.indexOf('物联网表') >= 0){
|
1833
1865
|
this.data['device' + this.devices[de].n].forEach(device => {
|
1834
1866
|
if (!this.data.f_collection_type) {
|
1835
1867
|
this.data.f_collection_type = this.item.f_plan_meters[i].f_collection_type
|
1836
|
-
|
1837
|
-
|
1838
|
-
|
1839
|
-
|
1840
|
-
|
1868
|
+
this.config = this.removeNestedItem(this.config, '燃气表', '累购气量')
|
1869
|
+
this.config = this.removeNestedItem(this.config, '燃气表', '已用金额')
|
1870
|
+
this.config = this.removeNestedItem(this.config, '燃气表', '剩余气量')
|
1871
|
+
this.config = this.removeNestedItem(this.config, '燃气表', '气量异常差值')
|
1872
|
+
this.config = this.removeNestedItem(this.config, '燃气表', '金额异常差值')
|
1841
1873
|
device.f_items.push(
|
1842
1874
|
{
|
1843
1875
|
f_defect_level: null,
|
@@ -1888,7 +1920,8 @@ export default {
|
|
1888
1920
|
)
|
1889
1921
|
}
|
1890
1922
|
})
|
1891
|
-
}
|
1923
|
+
}
|
1924
|
+
else if (this.devices[de].device == "燃气表" && this.item.f_plan_meters[i].f_collection_type) {
|
1892
1925
|
this.data['device' + this.devices[de].n].forEach(device => {
|
1893
1926
|
/*
|
1894
1927
|
"累购气量":{"index":8,"type":"number","readonly":true},
|
@@ -1903,11 +1936,8 @@ export default {
|
|
1903
1936
|
if (this.item.f_plan_meters[i].f_collection_type == '按金额') {
|
1904
1937
|
if (!this.data.f_collection_type) {
|
1905
1938
|
this.data.f_collection_type = this.item.f_plan_meters[i].f_collection_type
|
1906
|
-
|
1907
|
-
|
1908
|
-
delete this.config['燃气表']['items']['剩余气量']
|
1909
|
-
delete this.config['燃气表']['items']['气量异常差值']
|
1910
|
-
delete this.config['燃气表']['items']['系统余额']
|
1939
|
+
this.config = this.removeNestedItem(this.config, '燃气表', '系统余额')
|
1940
|
+
this.config = this.removeByCollectionType(this.config, this.data.f_collection_type)
|
1911
1941
|
device.f_items.push(
|
1912
1942
|
{
|
1913
1943
|
f_defect_level: null,
|
@@ -1956,16 +1986,14 @@ export default {
|
|
1956
1986
|
type: "number"
|
1957
1987
|
}
|
1958
1988
|
)
|
1989
|
+
//tag)
|
1959
1990
|
}
|
1960
1991
|
} else
|
1961
1992
|
if (this.item.f_plan_meters[i].f_collection_type == '按气量') {
|
1962
1993
|
if (!this.data.f_collection_type) {
|
1963
1994
|
this.data.f_collection_type = this.item.f_plan_meters[i].f_collection_type
|
1964
|
-
|
1965
|
-
|
1966
|
-
delete this.config['燃气表']['items']['剩余金额']
|
1967
|
-
delete this.config['燃气表']['items']['金额异常差值']
|
1968
|
-
delete this.config['燃气表']['items']['系统余额']
|
1995
|
+
this.config = this.removeNestedItem(this.config, '燃气表', '系统余额')
|
1996
|
+
this.config = this.removeByCollectionType(this.config, this.data.f_collection_type)
|
1969
1997
|
device.f_items.push(
|
1970
1998
|
{
|
1971
1999
|
f_defect_level: null,
|
@@ -2017,15 +2045,12 @@ export default {
|
|
2017
2045
|
}
|
2018
2046
|
}
|
2019
2047
|
})
|
2020
|
-
} else if(this.devices[de].device == "燃气表"){
|
2048
|
+
} else if(this.config[this.devices[de].device].itemname == "燃气表"){
|
2021
2049
|
this.data['device' + this.devices[de].n].forEach(device => {
|
2022
2050
|
if (!this.data.f_collection_type) {
|
2023
2051
|
this.data.f_collection_type = this.item.f_plan_meters[i].f_collection_type
|
2024
|
-
|
2025
|
-
|
2026
|
-
delete this.config['燃气表']['items']['剩余金额']
|
2027
|
-
delete this.config['燃气表']['items']['金额异常差值']
|
2028
|
-
delete this.config['燃气表']['items']['系统余额']
|
2052
|
+
this.config = this.removeNestedItem(this.config, '燃气表', '系统余额')
|
2053
|
+
this.config = this.removeByCollectionType(this.config, this.data.f_collection_type)
|
2029
2054
|
device.f_items.push(
|
2030
2055
|
{
|
2031
2056
|
f_defect_level: null,
|
@@ -2086,12 +2111,12 @@ export default {
|
|
2086
2111
|
}
|
2087
2112
|
},
|
2088
2113
|
watch: {
|
2089
|
-
'row'
|
2114
|
+
'row'() {
|
2090
2115
|
//tag
|
2091
2116
|
this.copy()
|
2092
2117
|
}
|
2093
2118
|
},
|
2094
|
-
async ready
|
2119
|
+
async ready() {
|
2095
2120
|
try {
|
2096
2121
|
if (this.item.f_userinfoid){
|
2097
2122
|
let http = new HttpResetClass()
|
@@ -2117,7 +2142,7 @@ export default {
|
|
2117
2142
|
}
|
2118
2143
|
//送气超期功能
|
2119
2144
|
//await this.isoverDate()
|
2120
|
-
this.putDevices()
|
2145
|
+
await this.putDevices()
|
2121
2146
|
//如果已检,则提取安检单
|
2122
2147
|
if (this.item.f_state != '未检') {
|
2123
2148
|
if (this.role == 'inspect' || this.role == 'androidview') {
|
@@ -2137,61 +2162,39 @@ export default {
|
|
2137
2162
|
Util.replaceFalse(value)
|
2138
2163
|
if (value.data.length != 0) {
|
2139
2164
|
that.$set('data', value.data[0])
|
2140
|
-
|
2141
|
-
delete this.config['燃气表']['items']['累购金额']
|
2142
|
-
delete this.config['燃气表']['items']['已用金额']
|
2143
|
-
delete this.config['燃气表']['items']['剩余金额']
|
2144
|
-
delete this.config['燃气表']['items']['金额异常差值']
|
2145
|
-
delete this.config['燃气表']['items']['系统余额']
|
2146
|
-
} else if (this.data.f_collection_type == '按金额') {
|
2147
|
-
delete this.config['燃气表']['items']['累购气量']
|
2148
|
-
delete this.config['燃气表']['items']['已用气量']
|
2149
|
-
delete this.config['燃气表']['items']['剩余气量']
|
2150
|
-
delete this.config['燃气表']['items']['气量异常差值']
|
2151
|
-
delete this.config['燃气表']['items']['系统余额']
|
2152
|
-
}
|
2153
|
-
//tag)
|
2165
|
+
this.config = this.removeByCollectionType(this.config, this.data.f_collection_type)
|
2154
2166
|
if (value.data[0].f_devices) {
|
2155
2167
|
for (let da in that.devices) {
|
2156
|
-
if(typeof that.devices[da]=='function'){
|
2168
|
+
if (typeof that.devices[da] == 'function') {
|
2157
2169
|
continue
|
2158
2170
|
}
|
2159
2171
|
that.$set('data.device' + that.devices[da].n, [])
|
2160
2172
|
}
|
2161
2173
|
value.data[0].f_devices.forEach((item) => {
|
2162
2174
|
for (let i in item.f_items) {
|
2163
|
-
if(typeof item.f_items[i]=='function'){
|
2175
|
+
if (typeof item.f_items[i] == 'function') {
|
2164
2176
|
continue
|
2165
2177
|
}
|
2166
|
-
|
2167
|
-
|
2178
|
+
let items = this.config.find(obj => obj.itemname === item.f_device_type).items;
|
2179
|
+
for (let de in items) {
|
2180
|
+
if (typeof items[de] == 'function') {
|
2168
2181
|
continue
|
2169
2182
|
}
|
2170
|
-
if (item.f_items[i].f_item_name == de) {
|
2171
|
-
if (
|
2183
|
+
if (item.f_items[i].f_item_name == items[de].itemname) {
|
2184
|
+
if (items[de].type == 'selector' || items[de].type == 'checkbox') {
|
2172
2185
|
item.f_items[i].f_item_value = []
|
2173
|
-
} else {
|
2174
|
-
item.f_items[i].f_item_value = ''
|
2175
2186
|
}
|
2176
2187
|
}
|
2177
2188
|
}
|
2178
|
-
|
2179
|
-
|
2180
|
-
continue
|
2181
|
-
}
|
2182
|
-
if (item.f_items[i].f_item_value instanceof Array) {
|
2183
|
-
item.f_items[i].f_item_value.push(item.f_items[i].f_item_lists[j].f_item_value)
|
2184
|
-
} else {
|
2185
|
-
item.f_items[i].f_item_value = item.f_items[i].f_item_lists[j].f_item_value
|
2186
|
-
}
|
2189
|
+
if (item.f_items[i].f_item_value instanceof Array) {
|
2190
|
+
item.f_items[i].f_item_value = JSON.parse(item.f_items[i].f_selected)
|
2187
2191
|
}
|
2188
|
-
|
2189
2192
|
}
|
2190
2193
|
for (let de in that.devices) {
|
2191
|
-
if(typeof that.devices[de]=='function'){
|
2194
|
+
if (typeof that.devices[de] == 'function') {
|
2192
2195
|
continue
|
2193
2196
|
}
|
2194
|
-
if (that.devices[de].device == item.f_device_type) {
|
2197
|
+
if (this.config[that.devices[de].device].itemname == item.f_device_type) {
|
2195
2198
|
that.data['device' + that.devices[de].n].push({
|
2196
2199
|
f_device_type: item.f_device_type,
|
2197
2200
|
f_items: item.f_items
|
@@ -2211,15 +2214,15 @@ export default {
|
|
2211
2214
|
this.init()
|
2212
2215
|
}
|
2213
2216
|
if(this.parentPage && this.parentPage=='CurrentCreate'){
|
2214
|
-
|
2215
|
-
|
2216
|
-
|
2217
|
+
let isRecodr = this.$appdata.getSingleValue('无限制录音'); //单值参数,为true则是开启全程录音
|
2218
|
+
if (isRecodr) {
|
2219
|
+
if (isRecodr == 'true') {
|
2217
2220
|
this.$showMessage("为了保证服务质量,您的电话将会被全程录音!")
|
2218
|
-
|
2219
|
-
|
2220
|
-
}
|
2221
|
+
// 初始化录音
|
2222
|
+
let resse = this.record()
|
2221
2223
|
}
|
2222
2224
|
}
|
2225
|
+
}
|
2223
2226
|
this.$goto('safecheck-userinfo', {userinfo:this.data}, 'repair')
|
2224
2227
|
} else {
|
2225
2228
|
let that = this
|
@@ -2227,10 +2230,10 @@ export default {
|
|
2227
2230
|
if (this.role == 'view') {
|
2228
2231
|
id = this.item.id
|
2229
2232
|
}
|
2230
|
-
this.$resetpost(`${this.$androidUtil.getProxyUrl()}/rs/path/getUserinfomation`, {data:{condition
|
2233
|
+
this.$resetpost(`${this.$androidUtil.getProxyUrl()}/rs/path/getUserinfomation`, {data: {condition: `id = '${id}'`}}).then((respanse) => {
|
2231
2234
|
if (respanse.data.length != 0) {
|
2232
|
-
that.data = Object.assign(that.data,respanse.data[0])
|
2233
|
-
if(respanse.data[0].f_devices) {
|
2235
|
+
that.data = Object.assign(that.data, respanse.data[0])
|
2236
|
+
if (respanse.data[0].f_devices) {
|
2234
2237
|
for (let da in that.devices) {
|
2235
2238
|
that.$set('data.device' + that.devices[da].n, [])
|
2236
2239
|
}
|
@@ -2247,10 +2250,10 @@ export default {
|
|
2247
2250
|
}
|
2248
2251
|
Util.replaceFalse(that.data)
|
2249
2252
|
Util.booleanFilter(that.data)
|
2250
|
-
if(this.role == 'view'){
|
2253
|
+
if (this.role == 'view') {
|
2251
2254
|
Util.ratifyPics(that.data)
|
2252
|
-
}else{
|
2253
|
-
Util.androidRatifyPics(that.data,this.$androidUtil.getProxyUrl())
|
2255
|
+
} else {
|
2256
|
+
Util.androidRatifyPics(that.data, this.$androidUtil.getProxyUrl())
|
2254
2257
|
}
|
2255
2258
|
} else {
|
2256
2259
|
alert("该安检单可能已不在本地!")
|
@@ -2291,6 +2294,7 @@ export default {
|
|
2291
2294
|
.noclickbut {
|
2292
2295
|
pointer-events: none;
|
2293
2296
|
}
|
2297
|
+
|
2294
2298
|
.tab-befor-img (@url) {
|
2295
2299
|
content: '';
|
2296
2300
|
background-image: url("@{url}");
|
@@ -2309,16 +2313,19 @@ export default {
|
|
2309
2313
|
margin: 0.3em 0;
|
2310
2314
|
}
|
2311
2315
|
}
|
2312
|
-
|
2316
|
+
|
2317
|
+
.repair-details-class {
|
2313
2318
|
&::before {
|
2314
2319
|
.tab-befor-img("../../../assets/huneiweixiu1.png");
|
2315
2320
|
}
|
2316
2321
|
}
|
2322
|
+
|
2317
2323
|
.repair-info-class {
|
2318
2324
|
&::before {
|
2319
2325
|
.tab-befor-img("../../../assets/baoxiuxinxi1.png");
|
2320
2326
|
}
|
2321
2327
|
}
|
2328
|
+
|
2322
2329
|
.repair-user-info-class {
|
2323
2330
|
&::before {
|
2324
2331
|
.tab-befor-img("../../../assets/jibenxinxi1.png")
|
@@ -2370,11 +2377,13 @@ export default {
|
|
2370
2377
|
.tab-befor-img("../../../assets/guzhanghuizong1.png")
|
2371
2378
|
}
|
2372
2379
|
}
|
2380
|
+
|
2373
2381
|
.photo-write-class {
|
2374
2382
|
&::before {
|
2375
2383
|
.tab-befor-img("../../../assets/zaoju.png")
|
2376
2384
|
}
|
2377
2385
|
}
|
2386
|
+
|
2378
2387
|
.delay-apply-class {
|
2379
2388
|
&::before {
|
2380
2389
|
.tab-befor-img("../../../assets/yonghubaoxiu.png")
|
@@ -2386,44 +2395,49 @@ export default {
|
|
2386
2395
|
.tab-befor-img("../../../assets/fanhui.png")
|
2387
2396
|
}
|
2388
2397
|
}
|
2398
|
+
|
2389
2399
|
.butt2 {
|
2390
2400
|
display: inline;
|
2391
2401
|
float: right;
|
2392
2402
|
width: 10px;
|
2393
2403
|
text-align: center;
|
2394
|
-
align-items:center;
|
2404
|
+
align-items: center;
|
2395
2405
|
position: absolute;
|
2396
|
-
top:50%;
|
2406
|
+
top: 50%;
|
2397
2407
|
|
2398
|
-
left:90%;
|
2399
|
-
transform: translate(-50
|
2408
|
+
left: 90%;
|
2409
|
+
transform: translate(-50%, -50%);
|
2400
2410
|
}
|
2401
|
-
|
2411
|
+
|
2412
|
+
.linesty {
|
2402
2413
|
display: inline-block;
|
2403
|
-
height:1px;
|
2404
|
-
width:100%;
|
2405
|
-
background
|
2406
|
-
overflow:hidden;
|
2414
|
+
height: 1px;
|
2415
|
+
width: 100%;
|
2416
|
+
background: #d0d0d0;
|
2417
|
+
overflow: hidden;
|
2407
2418
|
vertical-align: middle;
|
2408
2419
|
}
|
2409
|
-
|
2410
|
-
|
2420
|
+
|
2421
|
+
.spanboder {
|
2422
|
+
border-bottom: 2px solid #499edf;
|
2411
2423
|
padding-bottom: 8px
|
2412
2424
|
}
|
2425
|
+
|
2413
2426
|
.app-botton {
|
2414
|
-
position:fixed;
|
2427
|
+
position: fixed;
|
2415
2428
|
background: #87b2dd;
|
2416
|
-
right:8px;
|
2429
|
+
right: 8px;
|
2417
2430
|
color: #FFF;
|
2418
2431
|
padding: 8px;
|
2419
2432
|
text-align: center;
|
2420
2433
|
font-size: 1.2em;
|
2421
2434
|
z-index: 10;
|
2422
|
-
opacity:0.5;
|
2435
|
+
opacity: 0.5;
|
2423
2436
|
bottom: 50px;
|
2424
2437
|
margin-top: -10px;
|
2425
2438
|
height: 40px;
|
2426
2439
|
}
|
2440
|
+
|
2427
2441
|
.android-repair-order > div > ul a {
|
2428
2442
|
font-size: 12px;
|
2429
2443
|
color: #333333;
|