safecheck-client 4.0.0-80 → 4.0.0-82

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.
Files changed (230) hide show
  1. package/package.json +1 -1
  2. package/src/App.vue +31 -31
  3. package/src/components/CheckerCount/CheckCountUserList.vue +144 -144
  4. package/src/components/DefectDealMain/DefectListNew.vue +642 -642
  5. package/src/components/android/AddPlanItem.vue +447 -447
  6. package/src/components/android/AddPlanItemYy.vue +451 -451
  7. package/src/components/android/AddSpecialPlanItem.vue +426 -426
  8. package/src/components/android/AndroidDefectDetails.vue +740 -725
  9. package/src/components/android/CurrentCreateYy.vue +1051 -1051
  10. package/src/components/android/Devices.vue +327 -327
  11. package/src/components/android/Devicesm.vue +327 -327
  12. package/src/components/android/PaperFeedbackm.vue +1026 -1026
  13. package/src/components/android/PhoneRecordInfo.vue +113 -113
  14. package/src/components/android/PhoneSellInfo.vue +113 -113
  15. package/src/components/android/PhoneUpDetail.vue +1040 -1040
  16. package/src/components/android/QRCode/QRCodeBinding.vue +300 -300
  17. package/src/components/android/QRCode/QRCodePage.vue +212 -212
  18. package/src/components/android/SafePlanItem.vue +509 -509
  19. package/src/components/android/examples/SafeListExamples.vue +296 -296
  20. package/src/components/android/old/PaperFeedback.vue +1015 -1015
  21. package/src/components/android/recheck/Recheck.vue +402 -402
  22. package/src/components/android/userinfo/SafecheckUserInfo.vue +776 -776
  23. package/src/components/checkplan/checkmsg.vue +459 -459
  24. package/src/components/defect/DefectList.vue +507 -507
  25. package/src/components/defect/DefectListWeixiu.vue +484 -484
  26. package/src/components/filialCircle/CircleList.vue +139 -139
  27. package/src/components/inspections/AddInspectPlanItem.vue +325 -325
  28. package/src/components/inspections/AddInspectPlanItems.vue +325 -325
  29. package/src/components/inspections/AddInspectPlanItemss.vue +317 -317
  30. package/src/components/inspections/DisplayInspectionList.vue +1224 -1224
  31. package/src/components/inspections/inspectionOrderV.vue +1853 -1853
  32. package/src/components/inspections/inspectionOrderVs.vue +1853 -1853
  33. package/src/components/inspections/inspectionOrderVss.vue +1856 -1856
  34. package/src/components/inspections/inspectionUserInfo.vue +398 -398
  35. package/src/components/pc/AnnouncementPC.vue +524 -524
  36. package/src/components/pc/DefectList.vue +742 -742
  37. package/src/components/pc/DeviceChange.vue +1068 -1068
  38. package/src/components/pc/SafeVisitInfo.vue +261 -261
  39. package/src/components/querycheckpaper/CheckPaperList.vue +130 -130
  40. package/src/components/report/HiddenSituation.vue +165 -165
  41. package/src/components/rongcheng/AspiratedOrderV.vue +2377 -2377
  42. package/src/components/rongcheng/CurrentCreateOnline.vue +906 -906
  43. package/src/components/rongcheng/DefectList.vue +560 -560
  44. package/src/components/rongcheng/SafecheckOrderVCli.vue +2641 -2641
  45. package/src/components/safecheckNew/android/AddPlanItem.vue +419 -419
  46. package/src/components/safecheckNew/android/CurrentCreate.vue +1050 -1050
  47. package/src/components/safecheckNew/android/Recheck.vue +379 -379
  48. package/src/components/sendsingle/EquipmentManagement.vue +727 -727
  49. package/src/components/shaoguan/DefectList.vue +473 -473
  50. package/src/components/shaoguan/SafecheckOrderV.vue +2140 -2140
  51. package/src/components/tongcheng/PaperFeedback.vue +1061 -1061
  52. package/src/components/userfile/SecurityAudit.vue +243 -243
  53. package/src/filiale/ALshan/pc/DefectListWeixiu.vue +476 -476
  54. package/src/filiale/ancheng/android/SafecheckOrderV.vue +2703 -2703
  55. package/src/filiale/ancheng/android/SafecheckUserInfo.vue +737 -737
  56. package/src/filiale/ancheng/pc/checkScreen.vue +923 -923
  57. package/src/filiale/ankangyihua/android/AddPlanItem.vue +446 -446
  58. package/src/filiale/ankangyihua/android/SafecheckOrderV.vue +2908 -2908
  59. package/src/filiale/ankangyihua/pc/DefectListWeixiu.vue +491 -491
  60. package/src/filiale/baiyin/android/SafecheckOrderV.vue +2785 -2785
  61. package/src/filiale/baiyin/pc/DefectListNew.vue +597 -597
  62. package/src/filiale/bayan/android/Edit.vue +132 -132
  63. package/src/filiale/bayan/pc/DefectListNew.vue +597 -597
  64. package/src/filiale/bayan/pc/DeviceChange.vue +1838 -1838
  65. package/src/filiale/bayan/pc/HiddenSituation.vue +295 -295
  66. package/src/filiale/dexin/android/CasualSave.vue +1050 -1050
  67. package/src/filiale/dexin/android/SafecheckOrderV.vue +2950 -2950
  68. package/src/filiale/fugou/android/AddPlanItem.vue +413 -413
  69. package/src/filiale/fugou/android/SafecheckOrderV.vue +2796 -2796
  70. package/src/filiale/fugou/pc/CheckBookSearchUser.vue +830 -830
  71. package/src/filiale/fugu/android/SafecheckOrderV.vue +2484 -2484
  72. package/src/filiale/fugu/pc/NewCheckpaper.vue +1287 -1287
  73. package/src/filiale/ganquan/android/AddPlanItem.vue +444 -444
  74. package/src/filiale/ganquan/android/SafecheckOrderV.vue +2485 -2485
  75. package/src/filiale/ganquan/pc/NewCheckpaper.vue +1354 -1354
  76. package/src/filiale/guangxi/pc/DefectListNew.vue +518 -518
  77. package/src/filiale/hanzhong/android/SafecheckOrderV.vue +2683 -2683
  78. package/src/filiale/hanzhong/android/SafecheckUserInfo.vue +786 -786
  79. package/src/filiale/huaran/android/SafecheckOrderV.vue +2803 -2803
  80. package/src/filiale/huatong/android/SafecheckOrderV.vue +2426 -2426
  81. package/src/filiale/huatong/android/SafecheckUserInfo.vue +749 -749
  82. package/src/filiale/huayin/pc/NewCheckpaper.vue +1307 -1307
  83. package/src/filiale/jiaocheng/android/AddPlanItem.vue +435 -435
  84. package/src/filiale/jiaocheng/android/SafecheckUserInfo.vue +737 -737
  85. package/src/filiale/jiaocheng/pc/DefectListNew.vue +576 -576
  86. package/src/filiale/jiaxian/android/AddPlanItem.vue +447 -447
  87. package/src/filiale/jiaxian/android/SafecheckOrderV.vue +2807 -2807
  88. package/src/filiale/jiaxian/android/SafecheckUserInfo.vue +784 -784
  89. package/src/filiale/jinbin/pc/DefectListWeixiu.vue +478 -478
  90. package/src/filiale/jingyang/android/AddPlanItem.vue +458 -458
  91. package/src/filiale/jingyang/android/SafecheckOrderV.vue +2734 -2734
  92. package/src/filiale/jingyang/android/SafecheckUserInfo.vue +781 -781
  93. package/src/filiale/jinhong/android/CurrentCreate.vue +1 -1
  94. package/src/filiale/jinhong/pc/PaperList.vue +4 -4
  95. package/src/filiale/jinhong/pc/checkUserList.vue +1 -1
  96. package/src/filiale/kelai/android/AddPlanItem.vue +488 -488
  97. package/src/filiale/kelai/android/SafecheckUserInfo.vue +774 -774
  98. package/src/filiale/kelai/android/SafecheckUserInfo1.vue +618 -618
  99. package/src/filiale/kelai/pc/DefectListNew.vue +688 -688
  100. package/src/filiale/kelai/pc/FaultLimitGas/FaultLimitGasList.vue +518 -518
  101. package/src/filiale/kelai/pc/NewCheckpaper.vue +1454 -1454
  102. package/src/filiale/liaoyuan/android/AddPlanItem.vue +412 -412
  103. package/src/filiale/liaoyuan/android/CurrentCreate.vue +1066 -1066
  104. package/src/filiale/liaoyuan/android/SafecheckOrderV.vue +2388 -2388
  105. package/src/filiale/liaoyuan/android/SafecheckUserInfo.vue +557 -557
  106. package/src/filiale/liaoyuan/pc/DefectListWeixiu.vue +489 -489
  107. package/src/filiale/liaoyuan/pc/NewCheckpaper.vue +1020 -1020
  108. package/src/filiale/lixian/android/SafecheckOrderV.vue +2404 -2404
  109. package/src/filiale/lixian/android/SafecheckUserInfo.vue +578 -578
  110. package/src/filiale/lixian/pc/NewCheckpaper.vue +1211 -1211
  111. package/src/filiale/meihekou/android/AreaPlan.vue +571 -569
  112. package/src/filiale/meihekou/android/CurrentCreate.vue +3 -1
  113. package/src/filiale/meihekou/android/MeterReading.vue +106 -106
  114. package/src/filiale/meihekou/android/PhoneUpUserinfo.vue +1306 -1276
  115. package/src/filiale/meihekou/android/SafecheckOrderV.vue +5 -3
  116. package/src/filiale/meihekou/android/SafecheckUserInfo.vue +787 -787
  117. package/src/filiale/meihekou/pc/NewCheckpaper.vue +1960 -0
  118. package/src/filiale/meihekou/pc/NewCheckpaperTemp.vue +1288 -0
  119. package/src/filiale/meihekou/pc.js +13 -12
  120. package/src/filiale/minsheng/android/SafecheckUserInfo.vue +754 -754
  121. package/src/filiale/minsheng/pc/DefectListNew.vue +535 -535
  122. package/src/filiale/pingxiang/android/SafecheckOrderV.vue +2424 -2424
  123. package/src/filiale/pingxiang/android/SafecheckUserInfo.vue +600 -600
  124. package/src/filiale/pingxiang/pc/DefectListNew.vue +519 -519
  125. package/src/filiale/pingxiang/pc/NewCheckpaper.vue +1294 -1294
  126. package/src/filiale/qianneng/android/AddPlanItem.vue +482 -482
  127. package/src/filiale/qianneng/android/SafecheckOrderV.vue +2785 -2785
  128. package/src/filiale/qianneng/android/SafecheckUserInfo.vue +775 -775
  129. package/src/filiale/qianneng/pc/DefectListNew.vue +576 -576
  130. package/src/filiale/qianneng/pc/NewCheckpaper.vue +1546 -1546
  131. package/src/filiale/qingjian/android/SafecheckOrderV.vue +2844 -2844
  132. package/src/filiale/qingjian/android/SafecheckUserInfo.vue +800 -800
  133. package/src/filiale/qingtongxia/android/AddPlanItem.vue +450 -450
  134. package/src/filiale/qingtongxia/android/SafecheckOrderV.vue +2726 -2726
  135. package/src/filiale/qingtongxia/android/SafecheckUserInfo.vue +782 -782
  136. package/src/filiale/qingtongxia/pc/DefectListNew.vue +594 -594
  137. package/src/filiale/rizhao/android/AddPlanItem.vue +446 -446
  138. package/src/filiale/rizhao/android/SafecheckOrderV.vue +2430 -2430
  139. package/src/filiale/rizhao/android/SafecheckUserInfo.vue +640 -640
  140. package/src/filiale/rizhao/pc/DefectList.vue +489 -489
  141. package/src/filiale/rongchuang/android/SafecheckOrderV.vue +2696 -2696
  142. package/src/filiale/rongchuang/android/checkpapermsg.vue +209 -209
  143. package/src/filiale/ruihua/android/SafecheckOrderV.vue +2747 -2747
  144. package/src/filiale/ruihua/android/SafecheckUserInfo.vue +804 -804
  145. package/src/filiale/shanggao/android/SafecheckOrderV.vue +2426 -2426
  146. package/src/filiale/shanxian/android/SafecheckUserInfo.vue +749 -749
  147. package/src/filiale/shanxian/pc/HiddenSituation.vue +121 -121
  148. package/src/filiale/shanxian/pc/NewCheckpaper.vue +1526 -1526
  149. package/src/filiale/shexian/android/AddPlanItem.vue +444 -444
  150. package/src/filiale/shexian/android/SafecheckOrderV.vue +2879 -2879
  151. package/src/filiale/shexian/pc/DefectListNew.vue +593 -593
  152. package/src/filiale/shexian/pc/NewCheckpaper.vue +1469 -1469
  153. package/src/filiale/shimen/android/SafecheckUserInfo.vue +547 -547
  154. package/src/filiale/shimen/pc/DefectList.vue +473 -473
  155. package/src/filiale/shimen/pc/NewCheckpaper.vue +1275 -1275
  156. package/src/filiale/siyang/android/AddPlanItem.vue +450 -450
  157. package/src/filiale/siyang/android/CurrentCreate.vue +1051 -1051
  158. package/src/filiale/siyang/android/PhoneRecordInfo.vue +214 -214
  159. package/src/filiale/siyang/android/SafecheckOrderV.vue +2796 -2796
  160. package/src/filiale/siyang/android/SafecheckUserInfo.vue +789 -789
  161. package/src/filiale/siyang/pc/HiddenSituation.vue +167 -167
  162. package/src/filiale/tianke/android/AddPlanItem.vue +455 -455
  163. package/src/filiale/tianke/android/SafecheckOrderV.vue +2431 -2431
  164. package/src/filiale/tianke/android/SafecheckUserInfo.vue +744 -744
  165. package/src/filiale/tongchuan/android/AddPlanItem.vue +483 -483
  166. package/src/filiale/tongchuan/android/PhoneRecordInfo.vue +191 -191
  167. package/src/filiale/tongchuan/android/PhoneSellInfo.vue +113 -113
  168. package/src/filiale/tongchuan/android/SafecheckUserInfo.vue +720 -720
  169. package/src/filiale/tongchuan/pc/CheckBookDetails.vue +209 -209
  170. package/src/filiale/tongchuan/pc/DefectListWeixiu.vue +484 -484
  171. package/src/filiale/tongchuan/pc/HiddenSituation.vue +166 -166
  172. package/src/filiale/weinan/android/AddPlanItem.vue +438 -438
  173. package/src/filiale/weinan/android/CurrentCreate.vue +1171 -1171
  174. package/src/filiale/weinan/android/CurrentCreateOnline.vue +911 -911
  175. package/src/filiale/weinan/android/SafePlanItem.vue +440 -440
  176. package/src/filiale/weinan/android/SafecheckUserInfo.vue +778 -778
  177. package/src/filiale/weinan/pc/DefectListNew.vue +617 -617
  178. package/src/filiale/weinan/pc/DeviceChange.vue +1088 -1088
  179. package/src/filiale/weinan/pc/HiddenSituation.vue +167 -167
  180. package/src/filiale/weinan/pc/checkScreen.vue +1094 -1094
  181. package/src/filiale/weinanct/android/SafecheckOrderV.vue +2730 -2730
  182. package/src/filiale/weinanct/pc/NewCheckpaper.vue +1315 -1315
  183. package/src/filiale/wensu/android/AddPlanItem.vue +495 -495
  184. package/src/filiale/wensu/android/AndroidDefectDeal.vue +464 -464
  185. package/src/filiale/wensu/android/PaperFeedback.vue +1358 -1358
  186. package/src/filiale/wensu/android/SafecheckOrderV.vue +2430 -2430
  187. package/src/filiale/wensu/android/SafecheckUserInfo.vue +627 -627
  188. package/src/filiale/wensu/pc/DefectListNew.vue +735 -735
  189. package/src/filiale/wenxi/android/AddPlanItem.vue +431 -431
  190. package/src/filiale/wenxi/android/SafecheckOrderV.vue +2671 -2671
  191. package/src/filiale/wenxi/android/SafecheckUserInfo.vue +673 -673
  192. package/src/filiale/wenxi/pc/DefectList.vue +653 -653
  193. package/src/filiale/wenxi/pc/NewCheckpaper.vue +1358 -1358
  194. package/src/filiale/wuan/android/SafecheckOrderV.vue +2241 -2241
  195. package/src/filiale/wuan/android/SafecheckUserInfo.vue +596 -596
  196. package/src/filiale/wuan/pc/DefectListWeixiu.vue +506 -506
  197. package/src/filiale/wuan/pc/NewCheckpaper.vue +1169 -1169
  198. package/src/filiale/wuhai/android/SafecheckOrderV.vue +2456 -2456
  199. package/src/filiale/wuhai/android/SafecheckUserInfo.vue +573 -573
  200. package/src/filiale/wuhai/pc/NewCheckpaper.vue +1281 -1281
  201. package/src/filiale/xiangyuanzhongai/android.js +13 -13
  202. package/src/filiale/xinkang/android/SafecheckOrderV.vue +2732 -2732
  203. package/src/filiale/xinkang/android/SafecheckUserInfo.vue +747 -747
  204. package/src/filiale/xinkang/pc/DefectListWeixiu.vue +475 -475
  205. package/src/filiale/xinkang/pc/NewCheckpaper.vue +1498 -1498
  206. package/src/filiale/yangchunboneng/android/AddPlanItem.vue +496 -496
  207. package/src/filiale/yangchunboneng/android/SafecheckOrderV.vue +2865 -2865
  208. package/src/filiale/yangchunboneng/android/SafecheckUserInfo.vue +887 -887
  209. package/src/filiale/yangchunboneng/pc/DefectListNew.vue +576 -576
  210. package/src/filiale/yongzhou/android/SafecheckOrderV.vue +2774 -2774
  211. package/src/filiale/yongzhou/android/SafecheckUserInfo.vue +776 -776
  212. package/src/filiale/yuansheng/android/SafecheckOrderV.vue +2758 -2758
  213. package/src/filiale/yuansheng/android/SafecheckUserInfo.vue +797 -797
  214. package/src/filiale/yuansheng/pc/DefectListNew.vue +524 -524
  215. package/src/filiale/yuansheng/pc/NewCheckpaper.vue +1371 -1371
  216. package/src/filiale/yuansheng/pc/checkmsg.vue +464 -464
  217. package/src/filiale/yunchengminsheng/android/DailyworkloadQuery.vue +491 -491
  218. package/src/filiale/yunchengminsheng/android/PhoneSellInfo.vue +113 -113
  219. package/src/filiale/yunchengminsheng/android/SafecheckUserInfo.vue +785 -785
  220. package/src/filiale/yunchengminsheng/android.js +15 -15
  221. package/src/filiale/zhongsheng/android/BuyRecords.vue +122 -122
  222. package/src/filiale/zhongsheng/android/SafecheckOrderV.vue +2461 -2461
  223. package/src/filiale/zhongsheng/android/SafecheckUserInfo.vue +690 -690
  224. package/src/filiale/zhongsheng/pc/DefectListWeixiu.vue +514 -514
  225. package/src/filiale/zhongsheng/pc/NewCheckpaper.vue +1322 -1322
  226. package/src/filiale/zhongyi/android/SafecheckOrderV.vue +2431 -2431
  227. package/src/filiale/zhongyi/pc/DefectListNew.vue +514 -514
  228. package/src/filiale/zhoukou/android/SafecheckOrderV.vue +2502 -2502
  229. package/src/filiale/zhoukou/android/SafecheckUserInfo.vue +588 -588
  230. package/src/main.js +32 -33
@@ -1,243 +1,243 @@
1
- <template>
2
- <work-busy :is-busy="excessive"></work-busy>
3
- <div class="basic-main" style="height: 100%">
4
- <criteria-paged :model="model" v-ref:paged>
5
- <criteria class="search_area" partial='criteria' @condition-changed='search' v-ref:cri>
6
- <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
7
- <div class="row">
8
- <div class="form-group col-sm-2" >
9
- <label class="font_normal_body">客户编号</label>
10
- <input type="text" class="input_search" v-model="model.f_userinfo_code"
11
- style="width: 60%" placeholder="客户编号" condition="f_userinfo_code='{}'">
12
- </div>
13
- <div class="form-group col-sm-2" >
14
- <label class="font_normal_body">客户名称</label>
15
- <input type="text" class="input_search" v-model="model.f_username"
16
- style="width: 60%" placeholder="客户名称" condition="f_user_name like '%{}%'">
17
- </div>
18
- <div class="form-group col-sm-2">
19
- <label class="font_normal_body">开始时间</label>
20
- <datepicker
21
- :value.sync="model.f_check_start"
22
- placeholder='提交开始时间'
23
- :disabled-days-of-week="[]" style="width: 60%"
24
- :format="'yyyy-MM-dd'"
25
- :show-rest-button="reset"
26
- v-model = "model.f_check_start"
27
- condition="f_approved_time > ='{} 00:00:00'">
28
- </datepicker>
29
- </div>
30
- <div class="form-group col-sm-2">
31
- <label class="font_normal_body">结束时间</label>
32
- <datepicker
33
- :value.sync="model.f_check_end"
34
- placeholder='提交结束时间'
35
- :disabled-days-of-week="[]"
36
- :format="'yyyy-MM-dd'" style="width: 60%"
37
- :show-rest-button="reset"
38
- v-model = "model.f_check_end"
39
- condition="f_approved_time<= '{} 23:59:59'">
40
- </datepicker>
41
- </div>
42
- <div class="form-group col-sm-2">
43
- <label class="font_normal_body">审核状态</label>
44
- <v-select id="f_approved"
45
- placeholder='审核状态' style="width: 60%"
46
- v-model='model.f_approved'
47
- :value.sync="model.f_approved"
48
- :options='$parent.$parent.f_approval_states'
49
- condition="f_pass_approved = '{}'"
50
- close-on-select clear-button></v-select>
51
- </div>
52
- <div class="col-sm-4 " style="width: auto; margin-top: 8px">
53
- <button class="button_search button_spacing" @click="search">查询</button>
54
- </div>
55
- </div>
56
- </div>
57
- </criteria>
58
- <data-grid class="list_area table_sy" :model="model" partial='list' v-ref:grid>
59
- <template partial='head'>
60
- <tr>
61
- <th><nobr>用户编号</nobr></th>
62
- <th><nobr>用户名称</nobr></th>
63
- <th><nobr>提交人</nobr></th>
64
- <th><nobr>提交时间</nobr></th>
65
- <th><nobr>修改类型</nobr></th>
66
- <th><nobr>备注</nobr></th>
67
- <th><nobr>审核状态</nobr></th>
68
- <th><nobr>审核人</nobr></th>
69
- <th><nobr>审核时间</nobr></th>
70
- <th><nobr>审核</nobr></th>
71
- </tr>
72
- </template>
73
- <template partial='body'>
74
- <td style="text-align: center"><nobr>{{row.f_userinfo_code}}</nobr></td>
75
- <td style="text-align: center"><nobr>{{row.f_user_name}}</nobr></td>
76
- <td style="text-align: center"><nobr>{{row.f_modifier}}</nobr></td>
77
- <td style="text-align: center"><nobr>{{row.f_time}}</nobr></td>
78
- <td style="text-align: center"><nobr>{{row.f_modify_type}}</nobr></td>
79
- <td style="text-align: center"><nobr>{{row.f_remark}}</nobr></td>
80
- <td style="text-align: center"><nobr>{{row.f_approved}}</nobr></td>
81
- <td style="text-align: center"><nobr>{{row.f_approved_by}}</nobr></td>
82
- <td style="text-align: center"><nobr>{{row.f_approved_time}}</nobr></td>
83
- <td style="text-align: center"><nobr>
84
- <button class="button_search-1 button_spacing" @click="$parent.$parent.$parent.change(row)" v-if="row.f_pass_approved== '待审核'">通过</button>
85
- <button class="button_search-1 button_spacing" @click="$parent.$parent.$parent.Nochange(row)" v-if="row.f_pass_approved== '不通过'">不通过</button>
86
- </nobr></td>
87
- </template>
88
- </data-grid>
89
- </criteria-paged>
90
- </div>
91
- </template>
92
-
93
- <script>
94
- import { PagedList,HttpResetClass } from 'vue-client'
95
- import * as Util from '../Util'
96
- import Vue from 'vue'
97
- import InfoModifyModal from "./InfoModifyModal";
98
-
99
- export default {
100
- title: '档案审核',
101
- data() {
102
- let model = new PagedList('api/af-safecheck/sql/SecurityAudit', 20, {})
103
- return {
104
- showModal: false,
105
- model: model,
106
- info: {},
107
- userinfo:{},
108
- context: {},
109
- excessive:false,
110
- userInformation:{},
111
- f_user_nature_arr:this.$appdata.getParam('转发用户类型'),
112
- f_approval_states:this.$appdata.getParam('转发审核状态'),
113
- }
114
- },
115
- methods: {
116
- search(args){
117
- this.model.search(args)
118
- },
119
- Nochange(row){
120
- new HttpResetClass().load('post',`/api/af-safecheck/logic/NoSecurityPass`, {
121
- f_plan_id: row.f_plan_id,
122
- }, {resolveMsg: null, rejectMsg: null}).then((res) => {
123
- this.search()
124
- })
125
- },
126
-
127
- change(row) {
128
- //tag)
129
- new HttpResetClass().load('post',`/api/af-safecheck/logic/SecurityPass`, {
130
- f_newplan_id: row.f_newplan_id,
131
- f_plan_id: row.f_plan_id,
132
- }, {resolveMsg: null, rejectMsg: null}).then((res) => {
133
- this.search()
134
- })
135
-
136
- },
137
- async todo(row){
138
- let r = confirm("确认修改该资料?")
139
- if(r) {
140
- this.excessive=true
141
- let userinfoms=Object.assign({},this.userInformation.baseinfo.base)
142
- //userinfoms.f_user_name=row.f_user_name
143
- userinfoms.f_operator_record=row.f_modifier
144
- userinfoms.f_operatorid_record=row.f_modifier_id
145
- //userinfoms.f_remark=row.f_remark
146
- //tag
147
- if(this.userInformation.meterinfo[0].f_meter_classify!='物联网表'){
148
- this.userInformation.meterinfo[0].f_meternumber=row.f_meternumber
149
- }
150
- if (row.f_defendcard){
151
- this.userInformation.meterinfo[0].f_defendcard = row.f_defendcard
152
- }
153
- userinfoms.userfiles=[]
154
- userinfoms.userfiles.push(this.userInformation.meterinfo[0])
155
- userinfoms.f_orgid_record=null
156
- userinfoms.f_orgname_record=null
157
- userinfoms.f_depid_record=null
158
- userinfoms.f_depname_record=null
159
- let useraddressms=Object.assign({},this.userInformation.addressinfo)
160
- useraddressms.f_pcd=row.f_pcd
161
- useraddressms.f_pcd_id=row.f_pcd_id
162
- useraddressms.f_street=row.f_street
163
- useraddressms.f_street_id=row.f_street_id
164
- useraddressms.f_residential_area=row.f_residential_area
165
- useraddressms.f_residential_area_id=row.f_residential_area_id
166
- useraddressms.f_building=row.f_building?row.f_building:null
167
- useraddressms.f_building_id=row.f_building_id
168
- useraddressms.f_unit=row.f_unit?row.f_unit:null
169
- useraddressms.f_floor=row.f_floor?row.f_floor:null
170
- useraddressms.f_room=row.f_room?row.f_room:null
171
- useraddressms.f_building_suffix= row.f_building_suffix?row.f_building_suffix:null
172
- useraddressms.f_unit_suffix= row.f_unit_suffix?row.f_unit_suffix:null
173
- useraddressms.f_floor_suffix= row.f_floor_suffix?row.f_floor_suffix:null
174
- useraddressms.f_room_suffix= row.f_room_suffix?row.f_room_suffix:null
175
- //useraddressms.f_slice_area=row.f_slice_area
176
- useraddressms.f_address=row.f_address
177
- useraddressms.f_special=row.f_special
178
- useraddressms.f_iscity=row.f_iscity
179
- useraddressms.f_operator=row.f_modifier
180
- useraddressms.f_operatorid=row.f_modifier_id
181
- try{
182
- let res1=await new HttpResetClass().load('POST','/api/af-revenue/logic/filemanage_fileSave', {data: {userinfo: userinfoms,modifyReason:this.f_source?`${this.f_source}审核通过更改档案信息`:'',address:{id:this.userInformation.addressinfo.id,oldid:this.userInformation.addressinfo.id}}},{resolveMsg: null, rejectMsg: null})
183
- //tag)
184
- if(res1.data.status==200){
185
- let res2=await new HttpResetClass().load('POST','/api/af-revenue/logic/address_updateuseraddress', useraddressms,{resolveMsg: null, rejectMsg: null})
186
- //tag)
187
- if(res2.data.id){
188
- //tag)
189
- this.info.f_approved='已审核'
190
- this.info.f_approved_by=this.$login.f.name
191
- this.info.f_approved_time=Util.toStandardTimeString()
192
- //tag)
193
- let res3=await new HttpResetClass().load('POST','/api/af-safecheck/logic/SaveEntity', {data:{row:this.info,tablename:'t_modify_userinfo'}},{resolveMsg: null, rejectMsg: null})
194
- //tag)
195
- if(res3.data.code==200){
196
- this.$showMessage("审核成功,用户信息已更新!")
197
- this.excessive=false
198
- }else{
199
- this.$showMessage("审核失败!")
200
- this.excessive=false
201
- }
202
- }else{
203
- this.$showMessage("更新地址信息失败!")
204
- this.excessive=false
205
- }
206
- }else{
207
- this.$showMessage("修改用户信息失败!")
208
- this.excessive=false
209
- }
210
- }catch(msg){
211
- if( typeof msg == 'object' && msg.data){
212
- this.$showMessage("修改用户信息失败!"+msg.data)
213
- }else{
214
- this.$showMessage("审核失败,可以尝试重新点击审核按钮再次进行审核!!")
215
- }
216
- this.excessive=false
217
- }
218
- }
219
- },
220
- isnull(val){
221
- if(val == null){
222
- return ''
223
- }else{
224
- return val
225
- }
226
- },
227
- undo(row){
228
- this.info.f_approved='未通过'
229
- this.info.f_approved_by=this.$login.f.name
230
- this.info.f_approved_time=Util.toStandardTimeString()
231
- new HttpResetClass().load('POST','/api/af-safecheck/logic/SaveEntity', {data:{row:this.info,tablename:'t_modify_userinfo'}},{resolveMsg: null, rejectMsg: null}).then((res3)=>{
232
- //tag)
233
- if(res3.data.code==200){
234
- this.$showMessage("审核成功,审核结果:未通过!")
235
- }else{
236
- this.$showMessage("审核失败!")
237
- }
238
- })
239
-
240
- }
241
- }
242
- }
243
- </script>
1
+ <template>
2
+ <work-busy :is-busy="excessive"></work-busy>
3
+ <div class="basic-main" style="height: 100%">
4
+ <criteria-paged :model="model" v-ref:paged>
5
+ <criteria class="search_area" partial='criteria' @condition-changed='search' v-ref:cri>
6
+ <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
7
+ <div class="row">
8
+ <div class="form-group col-sm-2" >
9
+ <label class="font_normal_body">客户编号</label>
10
+ <input type="text" class="input_search" v-model="model.f_userinfo_code"
11
+ style="width: 60%" placeholder="客户编号" condition="f_userinfo_code='{}'">
12
+ </div>
13
+ <div class="form-group col-sm-2" >
14
+ <label class="font_normal_body">客户名称</label>
15
+ <input type="text" class="input_search" v-model="model.f_username"
16
+ style="width: 60%" placeholder="客户名称" condition="f_user_name like '%{}%'">
17
+ </div>
18
+ <div class="form-group col-sm-2">
19
+ <label class="font_normal_body">开始时间</label>
20
+ <datepicker
21
+ :value.sync="model.f_check_start"
22
+ placeholder='提交开始时间'
23
+ :disabled-days-of-week="[]" style="width: 60%"
24
+ :format="'yyyy-MM-dd'"
25
+ :show-rest-button="reset"
26
+ v-model = "model.f_check_start"
27
+ condition="f_approved_time > ='{} 00:00:00'">
28
+ </datepicker>
29
+ </div>
30
+ <div class="form-group col-sm-2">
31
+ <label class="font_normal_body">结束时间</label>
32
+ <datepicker
33
+ :value.sync="model.f_check_end"
34
+ placeholder='提交结束时间'
35
+ :disabled-days-of-week="[]"
36
+ :format="'yyyy-MM-dd'" style="width: 60%"
37
+ :show-rest-button="reset"
38
+ v-model = "model.f_check_end"
39
+ condition="f_approved_time<= '{} 23:59:59'">
40
+ </datepicker>
41
+ </div>
42
+ <div class="form-group col-sm-2">
43
+ <label class="font_normal_body">审核状态</label>
44
+ <v-select id="f_approved"
45
+ placeholder='审核状态' style="width: 60%"
46
+ v-model='model.f_approved'
47
+ :value.sync="model.f_approved"
48
+ :options='$parent.$parent.f_approval_states'
49
+ condition="f_pass_approved = '{}'"
50
+ close-on-select clear-button></v-select>
51
+ </div>
52
+ <div class="col-sm-4 " style="width: auto; margin-top: 8px">
53
+ <button class="button_search button_spacing" @click="search">查询</button>
54
+ </div>
55
+ </div>
56
+ </div>
57
+ </criteria>
58
+ <data-grid class="list_area table_sy" :model="model" partial='list' v-ref:grid>
59
+ <template partial='head'>
60
+ <tr>
61
+ <th><nobr>用户编号</nobr></th>
62
+ <th><nobr>用户名称</nobr></th>
63
+ <th><nobr>提交人</nobr></th>
64
+ <th><nobr>提交时间</nobr></th>
65
+ <th><nobr>修改类型</nobr></th>
66
+ <th><nobr>备注</nobr></th>
67
+ <th><nobr>审核状态</nobr></th>
68
+ <th><nobr>审核人</nobr></th>
69
+ <th><nobr>审核时间</nobr></th>
70
+ <th><nobr>审核</nobr></th>
71
+ </tr>
72
+ </template>
73
+ <template partial='body'>
74
+ <td style="text-align: center"><nobr>{{row.f_userinfo_code}}</nobr></td>
75
+ <td style="text-align: center"><nobr>{{row.f_user_name}}</nobr></td>
76
+ <td style="text-align: center"><nobr>{{row.f_modifier}}</nobr></td>
77
+ <td style="text-align: center"><nobr>{{row.f_time}}</nobr></td>
78
+ <td style="text-align: center"><nobr>{{row.f_modify_type}}</nobr></td>
79
+ <td style="text-align: center"><nobr>{{row.f_remark}}</nobr></td>
80
+ <td style="text-align: center"><nobr>{{row.f_approved}}</nobr></td>
81
+ <td style="text-align: center"><nobr>{{row.f_approved_by}}</nobr></td>
82
+ <td style="text-align: center"><nobr>{{row.f_approved_time}}</nobr></td>
83
+ <td style="text-align: center"><nobr>
84
+ <button class="button_search-1 button_spacing" @click="$parent.$parent.$parent.change(row)" v-if="row.f_pass_approved== '待审核'">通过</button>
85
+ <button class="button_search-1 button_spacing" @click="$parent.$parent.$parent.Nochange(row)" v-if="row.f_pass_approved== '不通过'">不通过</button>
86
+ </nobr></td>
87
+ </template>
88
+ </data-grid>
89
+ </criteria-paged>
90
+ </div>
91
+ </template>
92
+
93
+ <script>
94
+ import { PagedList,HttpResetClass } from 'vue-client'
95
+ import * as Util from '../Util'
96
+ import Vue from 'vue'
97
+ import InfoModifyModal from "./InfoModifyModal";
98
+
99
+ export default {
100
+ title: '档案审核',
101
+ data() {
102
+ let model = new PagedList('api/af-safecheck/sql/SecurityAudit', 20, {})
103
+ return {
104
+ showModal: false,
105
+ model: model,
106
+ info: {},
107
+ userinfo:{},
108
+ context: {},
109
+ excessive:false,
110
+ userInformation:{},
111
+ f_user_nature_arr:this.$appdata.getParam('转发用户类型'),
112
+ f_approval_states:this.$appdata.getParam('转发审核状态'),
113
+ }
114
+ },
115
+ methods: {
116
+ search(args){
117
+ this.model.search(args)
118
+ },
119
+ Nochange(row){
120
+ new HttpResetClass().load('post',`/api/af-safecheck/logic/NoSecurityPass`, {
121
+ f_plan_id: row.f_plan_id,
122
+ }, {resolveMsg: null, rejectMsg: null}).then((res) => {
123
+ this.search()
124
+ })
125
+ },
126
+
127
+ change(row) {
128
+ //tag)
129
+ new HttpResetClass().load('post',`/api/af-safecheck/logic/SecurityPass`, {
130
+ f_newplan_id: row.f_newplan_id,
131
+ f_plan_id: row.f_plan_id,
132
+ }, {resolveMsg: null, rejectMsg: null}).then((res) => {
133
+ this.search()
134
+ })
135
+
136
+ },
137
+ async todo(row){
138
+ let r = confirm("确认修改该资料?")
139
+ if(r) {
140
+ this.excessive=true
141
+ let userinfoms=Object.assign({},this.userInformation.baseinfo.base)
142
+ //userinfoms.f_user_name=row.f_user_name
143
+ userinfoms.f_operator_record=row.f_modifier
144
+ userinfoms.f_operatorid_record=row.f_modifier_id
145
+ //userinfoms.f_remark=row.f_remark
146
+ //tag
147
+ if(this.userInformation.meterinfo[0].f_meter_classify!='物联网表'){
148
+ this.userInformation.meterinfo[0].f_meternumber=row.f_meternumber
149
+ }
150
+ if (row.f_defendcard){
151
+ this.userInformation.meterinfo[0].f_defendcard = row.f_defendcard
152
+ }
153
+ userinfoms.userfiles=[]
154
+ userinfoms.userfiles.push(this.userInformation.meterinfo[0])
155
+ userinfoms.f_orgid_record=null
156
+ userinfoms.f_orgname_record=null
157
+ userinfoms.f_depid_record=null
158
+ userinfoms.f_depname_record=null
159
+ let useraddressms=Object.assign({},this.userInformation.addressinfo)
160
+ useraddressms.f_pcd=row.f_pcd
161
+ useraddressms.f_pcd_id=row.f_pcd_id
162
+ useraddressms.f_street=row.f_street
163
+ useraddressms.f_street_id=row.f_street_id
164
+ useraddressms.f_residential_area=row.f_residential_area
165
+ useraddressms.f_residential_area_id=row.f_residential_area_id
166
+ useraddressms.f_building=row.f_building?row.f_building:null
167
+ useraddressms.f_building_id=row.f_building_id
168
+ useraddressms.f_unit=row.f_unit?row.f_unit:null
169
+ useraddressms.f_floor=row.f_floor?row.f_floor:null
170
+ useraddressms.f_room=row.f_room?row.f_room:null
171
+ useraddressms.f_building_suffix= row.f_building_suffix?row.f_building_suffix:null
172
+ useraddressms.f_unit_suffix= row.f_unit_suffix?row.f_unit_suffix:null
173
+ useraddressms.f_floor_suffix= row.f_floor_suffix?row.f_floor_suffix:null
174
+ useraddressms.f_room_suffix= row.f_room_suffix?row.f_room_suffix:null
175
+ //useraddressms.f_slice_area=row.f_slice_area
176
+ useraddressms.f_address=row.f_address
177
+ useraddressms.f_special=row.f_special
178
+ useraddressms.f_iscity=row.f_iscity
179
+ useraddressms.f_operator=row.f_modifier
180
+ useraddressms.f_operatorid=row.f_modifier_id
181
+ try{
182
+ let res1=await new HttpResetClass().load('POST','/api/af-revenue/logic/filemanage_fileSave', {data: {userinfo: userinfoms,modifyReason:this.f_source?`${this.f_source}审核通过更改档案信息`:'',address:{id:this.userInformation.addressinfo.id,oldid:this.userInformation.addressinfo.id}}},{resolveMsg: null, rejectMsg: null})
183
+ //tag)
184
+ if(res1.data.status==200){
185
+ let res2=await new HttpResetClass().load('POST','/api/af-revenue/logic/address_updateuseraddress', useraddressms,{resolveMsg: null, rejectMsg: null})
186
+ //tag)
187
+ if(res2.data.id){
188
+ //tag)
189
+ this.info.f_approved='已审核'
190
+ this.info.f_approved_by=this.$login.f.name
191
+ this.info.f_approved_time=Util.toStandardTimeString()
192
+ //tag)
193
+ let res3=await new HttpResetClass().load('POST','/api/af-safecheck/logic/SaveEntity', {data:{row:this.info,tablename:'t_modify_userinfo'}},{resolveMsg: null, rejectMsg: null})
194
+ //tag)
195
+ if(res3.data.code==200){
196
+ this.$showMessage("审核成功,用户信息已更新!")
197
+ this.excessive=false
198
+ }else{
199
+ this.$showMessage("审核失败!")
200
+ this.excessive=false
201
+ }
202
+ }else{
203
+ this.$showMessage("更新地址信息失败!")
204
+ this.excessive=false
205
+ }
206
+ }else{
207
+ this.$showMessage("修改用户信息失败!")
208
+ this.excessive=false
209
+ }
210
+ }catch(msg){
211
+ if( typeof msg == 'object' && msg.data){
212
+ this.$showMessage("修改用户信息失败!"+msg.data)
213
+ }else{
214
+ this.$showMessage("审核失败,可以尝试重新点击审核按钮再次进行审核!!")
215
+ }
216
+ this.excessive=false
217
+ }
218
+ }
219
+ },
220
+ isnull(val){
221
+ if(val == null){
222
+ return ''
223
+ }else{
224
+ return val
225
+ }
226
+ },
227
+ undo(row){
228
+ this.info.f_approved='未通过'
229
+ this.info.f_approved_by=this.$login.f.name
230
+ this.info.f_approved_time=Util.toStandardTimeString()
231
+ new HttpResetClass().load('POST','/api/af-safecheck/logic/SaveEntity', {data:{row:this.info,tablename:'t_modify_userinfo'}},{resolveMsg: null, rejectMsg: null}).then((res3)=>{
232
+ //tag)
233
+ if(res3.data.code==200){
234
+ this.$showMessage("审核成功,审核结果:未通过!")
235
+ }else{
236
+ this.$showMessage("审核失败!")
237
+ }
238
+ })
239
+
240
+ }
241
+ }
242
+ }
243
+ </script>