safecheck-client 3.0.30-62-t11 → 3.0.30-62-t12

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 (244) hide show
  1. package/examples/SafePlan/comp.js +1527 -1527
  2. package/examples/SafePlan-liaoyuan/comp.js +1432 -1432
  3. package/examples/SafePlan-shaoguan/comp.js +1190 -1190
  4. package/examples/SafePlan-tongchuan/comp.js +1480 -1480
  5. package/examples/SafePlan-wenxi/comp.js +1545 -1545
  6. package/examples/SafePlan-zhoukou/comp.js +1525 -1525
  7. package/examples/SafePlanrongcheng/comp.js +1141 -1141
  8. package/examples/SafePlanrongcheng-gs/comp.js +1140 -1140
  9. package/examples/SafePlanrongcheng-gssq/comp.js +1143 -1143
  10. package/examples/SafePlanrongcheng-mysq/comp.js +1144 -1144
  11. package/package.json +1 -1
  12. package/src/components/CheckerCount/ZhouKouCheckCount.vue +272 -272
  13. package/src/components/DefectDealMain/DefectPaperNew.vue +1052 -1052
  14. package/src/components/NewDefectList/DefectPaperNew.vue +1079 -1079
  15. package/src/components/checkplan/CheckDetail.vue +205 -205
  16. package/src/components/checkplan/SelectCheckPlan.vue +311 -311
  17. package/src/components/createcheckplan/PlanUersList.vue +137 -137
  18. package/src/components/defect/DefectPaper.vue +764 -764
  19. package/src/components/defect/DefectPaperWeiXiu.vue +508 -508
  20. package/src/components/inspections/InspectionList.vue +476 -476
  21. package/src/components/inspections/InspectionLists.vue +478 -478
  22. package/src/components/inspections/InspectionListss.vue +477 -477
  23. package/src/components/noplan/NoPlanSearchUser.vue +300 -300
  24. package/src/components/olddata/OldPaperList.vue +340 -340
  25. package/src/components/paper/PaperList.vue +790 -790
  26. package/src/components/paper/filialeCheckInfo.vue +111 -111
  27. package/src/components/pc/CheckNoDetail.vue +209 -209
  28. package/src/components/pc/DefectDeal.vue +997 -997
  29. package/src/components/pc/NewCheckpaper.vue +1957 -1957
  30. package/src/components/pc/PaperChazhiMain.vue +504 -504
  31. package/src/components/pc/PaperDefectMain.vue +1 -1
  32. package/src/components/pc/PaperEdit.vue +151 -151
  33. package/src/components/pc/PaperVisitMain.vue +179 -179
  34. package/src/components/pc/SafeVisitHistory.vue +208 -208
  35. package/src/components/pc/SafecheckDeviceList.vue +260 -260
  36. package/src/components/pc/SecurityCheckLedger.vue +133 -133
  37. package/src/components/pc/SelectCheckNoPlan.vue +278 -278
  38. package/src/components/pc/SelectCheckPlanAndNoPLan.vue +281 -281
  39. package/src/components/planmanage/checkPlanList.vue +369 -369
  40. package/src/components/planmanage/checkUserList.vue +773 -773
  41. package/src/components/querycheckpaper/CheckSearchUser.vue +1067 -1067
  42. package/src/components/querycheckpaper/CheckSearchUserNew.vue +1109 -1109
  43. package/src/components/querycheckpaper/ShebeiSearchUser.vue +690 -690
  44. package/src/components/report/CheckPlanAreaList.vue +505 -505
  45. package/src/components/report/CheckPlanUserList.vue +216 -216
  46. package/src/components/report/NoCheckplanSafecheck.vue +212 -212
  47. package/src/components/rongcheng/CheckSearchArea.vue +703 -703
  48. package/src/components/rongcheng/CheckSearchUser.vue +936 -936
  49. package/src/components/rongcheng/CheckSearchUserNo.vue +778 -778
  50. package/src/components/rongcheng/CheckUserList.vue +205 -205
  51. package/src/components/rongcheng/DefectPaper.vue +676 -676
  52. package/src/components/rongcheng/PaperListAJ.vue +434 -434
  53. package/src/components/rongcheng/PaperListNPAJ.vue +431 -431
  54. package/src/components/rongcheng/PaperListNPSQ.vue +455 -455
  55. package/src/components/rongcheng/PaperListSQ.vue +444 -444
  56. package/src/components/rongcheng/checkerplan/SelectCheckPlan.vue +271 -271
  57. package/src/components/rongcheng/report/CheckPlanUserList.vue +228 -228
  58. package/src/components/safecheckNew/PaperList.vue +785 -785
  59. package/src/components/shaoguan/DefectPaper.vue +217 -217
  60. package/src/components/shaoguan/PaperList.vue +466 -466
  61. package/src/components/userfile/UserInfoAudit.vue +316 -316
  62. package/src/filiale/ALshan/pc/CheckSearchUser.vue +927 -927
  63. package/src/filiale/ALshan/pc/checkUserList.vue +714 -714
  64. package/src/filiale/ancheng/pc/PaperList.vue +659 -659
  65. package/src/filiale/ankangyihua/pc/CheckPlanAreaList.vue +512 -512
  66. package/src/filiale/ankangyihua/pc/CheckSearchUser.vue +1039 -1039
  67. package/src/filiale/ankangyihua/pc/DefectPaperWeiXiu.vue +545 -545
  68. package/src/filiale/ankangyihua/pc/PaperDefectMain.vue +864 -864
  69. package/src/filiale/ankangyihua/pc/PaperList.vue +656 -656
  70. package/src/filiale/ankangyihua/pc/checkUserList.vue +697 -697
  71. package/src/filiale/baiyin/pc/CheckPlanAreaList.vue +485 -485
  72. package/src/filiale/baiyin/pc/CheckSearchUser.vue +1067 -1067
  73. package/src/filiale/baiyin/pc/DefectPaperNew.vue +1052 -1052
  74. package/src/filiale/baiyin/pc/PaperList.vue +790 -790
  75. package/src/filiale/baiyin/pc/checkUserList.vue +771 -771
  76. package/src/filiale/bayan/pc/CheckDetail.vue +205 -205
  77. package/src/filiale/bayan/pc/CheckSearchUser.vue +1110 -1110
  78. package/src/filiale/bayan/pc/DefectPaperNew.vue +1239 -1239
  79. package/src/filiale/bayan/pc/PaperList.vue +900 -900
  80. package/src/filiale/bayan/pc/SelectCheckPlan.vue +396 -396
  81. package/src/filiale/dexin/pc/DefectPaperNew.vue +1066 -1066
  82. package/src/filiale/dexin/pc/PaperList.vue +805 -805
  83. package/src/filiale/fugou/pc/DefectPaperNew.vue +1085 -1085
  84. package/src/filiale/fugou/pc/PaperDefectMain.vue +928 -928
  85. package/src/filiale/fugou/pc/PaperList.vue +911 -911
  86. package/src/filiale/fugou/pc/checkPlanList.vue +371 -371
  87. package/src/filiale/fugou/pc/checkUserList.vue +904 -904
  88. package/src/filiale/fugu/pc/CheckSearchUser.vue +977 -977
  89. package/src/filiale/fugu/pc/SelectCheckPlan.vue +273 -273
  90. package/src/filiale/fugu/pc/planmanage/checkUserList.vue +688 -688
  91. package/src/filiale/ganquan/pc/DefectPaperNew.vue +1009 -1009
  92. package/src/filiale/ganquan/pc/PaperList.vue +654 -654
  93. package/src/filiale/ganquan/pc/PaperVisitMain.vue +166 -166
  94. package/src/filiale/ganquan/pc/SelectCheckPlan.vue +234 -234
  95. package/src/filiale/ganquan/pc/checkUserList.vue +681 -681
  96. package/src/filiale/gehua/pc/PaperList.vue +558 -558
  97. package/src/filiale/gehua/pc/checkUserList.vue +720 -720
  98. package/src/filiale/guangxi/pc/CheckPlanAreaList.vue +471 -471
  99. package/src/filiale/guangxi/pc/DefectPaperNew.vue +988 -988
  100. package/src/filiale/hanzhong/pc/CheckSearchUser.vue +1127 -1127
  101. package/src/filiale/hanzhong/pc/CheckUserList.vue +755 -755
  102. package/src/filiale/hanzhong/pc/PaperList.vue +702 -702
  103. package/src/filiale/huaran/pc/PaperList.vue +843 -843
  104. package/src/filiale/huaran/pc/checkPlanList.vue +419 -419
  105. package/src/filiale/huaran/pc/checkUserList.vue +900 -900
  106. package/src/filiale/huatong/pc/PaperDefectMain.vue +800 -800
  107. package/src/filiale/huatong/pc/PaperList.vue +789 -789
  108. package/src/filiale/huayin/pc/PaperList.vue +621 -621
  109. package/src/filiale/jiaocheng/pc/CheckSearchUser.vue +1011 -1011
  110. package/src/filiale/jinbin/pc/CheckPlanAreaList.vue +479 -479
  111. package/src/filiale/jingyang/pc/CheckSearchUser.vue +1062 -1062
  112. package/src/filiale/jingyang/pc/PaperList.vue +793 -793
  113. package/src/filiale/jingyang/pc/ReportCheckItemList.vue +543 -543
  114. package/src/filiale/kelai/pc/CheckPlanAreaList.vue +476 -476
  115. package/src/filiale/kelai/pc/CheckSearchUser.vue +1011 -1011
  116. package/src/filiale/kelai/pc/DefectPaperNew.vue +1090 -1090
  117. package/src/filiale/kelai/pc/FaultLimitGas/FaultLimitGasPaper.vue +897 -897
  118. package/src/filiale/kelai/pc/PaperList.vue +596 -596
  119. package/src/filiale/kelai/pc/checkUserList.vue +698 -698
  120. package/src/filiale/liaoyuan/pc/CheckSearchUser.vue +963 -963
  121. package/src/filiale/liaoyuan/pc/DefectPaperWeiXiu.vue +1011 -1011
  122. package/src/filiale/liaoyuan/pc/PaperList.vue +637 -637
  123. package/src/filiale/liaoyuan/pc/checkPlanList.vue +373 -373
  124. package/src/filiale/lixian/pc/CheckPlanAreaList.vue +467 -467
  125. package/src/filiale/lixian/pc/CheckSearchUser.vue +927 -927
  126. package/src/filiale/lixian/pc/PaperChazhiMain.vue +540 -540
  127. package/src/filiale/lixian/pc/PaperDefectMain.vue +551 -551
  128. package/src/filiale/lixian/pc/PaperList.vue +620 -620
  129. package/src/filiale/lixian/pc/checkPlanList.vue +366 -366
  130. package/src/filiale/lixian/pc/checkUserList.vue +761 -761
  131. package/src/filiale/minsheng/pc/CheckSearchUser.vue +976 -976
  132. package/src/filiale/minsheng/pc/checkUserList.vue +806 -806
  133. package/src/filiale/pingxiang/pc/DefectPaperNew.vue +1012 -1012
  134. package/src/filiale/pingxiang/pc/PaperList.vue +595 -595
  135. package/src/filiale/qianneng/pc/DefectPaperNew.vue +1072 -1072
  136. package/src/filiale/qianneng/pc/NoCheckplanSafecheck.vue +220 -220
  137. package/src/filiale/qianneng/pc/PaperList.vue +777 -777
  138. package/src/filiale/qianneng/pc/checkPlanList.vue +429 -429
  139. package/src/filiale/qianneng/pc/checkUserList.vue +871 -871
  140. package/src/filiale/qingjian/pc/PaperDefectMain.vue +895 -895
  141. package/src/filiale/qingtongxia/pc/PaperDefectMain.vue +858 -858
  142. package/src/filiale/rizhao/pc/PaperList.vue +714 -714
  143. package/src/filiale/rongchuang/pc/PaperList.vue +812 -812
  144. package/src/filiale/rongchuang/pc/checkUserList.vue +621 -621
  145. package/src/filiale/shanxian/pc/CheckDetail.vue +205 -205
  146. package/src/filiale/shanxian/pc/CheckSearchUser.vue +1114 -1114
  147. package/src/filiale/shanxian/pc/DefectPaperNew.vue +1096 -1096
  148. package/src/filiale/shanxian/pc/PaperList.vue +785 -785
  149. package/src/filiale/shanxian/pc/SelectCheckPlan.vue +324 -324
  150. package/src/filiale/shanxian/pc/checkUserList.vue +700 -700
  151. package/src/filiale/shaoguan/pc/PaperList.vue +589 -589
  152. package/src/filiale/shexian/pc/DefectPaperNew.vue +1161 -1161
  153. package/src/filiale/shexian/pc/PaperDefectMain.vue +893 -893
  154. package/src/filiale/shexian/pc/PaperList.vue +822 -822
  155. package/src/filiale/shimen/pc/CheckPlanAreaList.vue +463 -463
  156. package/src/filiale/shimen/pc/CheckSearchUser.vue +927 -927
  157. package/src/filiale/shimen/pc/PaperDefectMain.vue +589 -589
  158. package/src/filiale/shimen/pc/PaperList.vue +547 -547
  159. package/src/filiale/shiquan/pc/checkUserList.vue +755 -755
  160. package/src/filiale/siyang/pc/CheckPlanAreaList.vue +512 -512
  161. package/src/filiale/siyang/pc/CheckSearchUser.vue +1035 -1035
  162. package/src/filiale/siyang/pc/PaperDefectMain.vue +864 -864
  163. package/src/filiale/siyang/pc/PaperList.vue +834 -834
  164. package/src/filiale/siyang/pc/checkPlanList.vue +367 -367
  165. package/src/filiale/siyang/pc/checkUserList.vue +765 -765
  166. package/src/filiale/tianke/pc/PaperDefectMain.vue +891 -891
  167. package/src/filiale/tongchuan/pc/CheckDetail.vue +205 -205
  168. package/src/filiale/tongchuan/pc/CheckPlanAreaList.vue +502 -502
  169. package/src/filiale/tongchuan/pc/CheckPlanUserList.vue +246 -246
  170. package/src/filiale/tongchuan/pc/CheckSearchUser.vue +1045 -1045
  171. package/src/filiale/tongchuan/pc/DefectPaper.vue +764 -764
  172. package/src/filiale/tongchuan/pc/DefectPaperWeiXiu.vue +593 -593
  173. package/src/filiale/tongchuan/pc/NoCheckplanSafecheck.vue +213 -213
  174. package/src/filiale/tongchuan/pc/PaperDefectMain.vue +1060 -1060
  175. package/src/filiale/tongchuan/pc/PaperList.vue +670 -670
  176. package/src/filiale/tongchuan/pc/SelectCheckPlan.vue +296 -296
  177. package/src/filiale/tongchuan/pc/checkUserList.vue +639 -639
  178. package/src/filiale/weinan/pc/CheckBookSearchUserList.vue +735 -735
  179. package/src/filiale/weinan/pc/CheckDetail.vue +278 -278
  180. package/src/filiale/weinan/pc/CheckDetailOutHelp.vue +297 -297
  181. package/src/filiale/weinan/pc/CheckNoDetail.vue +259 -259
  182. package/src/filiale/weinan/pc/CheckPlanUserList.vue +338 -338
  183. package/src/filiale/weinan/pc/CheckSearchUser.vue +1078 -1078
  184. package/src/filiale/weinan/pc/DefectPaperNew.vue +1096 -1096
  185. package/src/filiale/weinan/pc/PaperDefectMain.vue +576 -576
  186. package/src/filiale/weinan/pc/PaperList.vue +674 -674
  187. package/src/filiale/weinan/pc/SelectCheckNoPlan.vue +299 -299
  188. package/src/filiale/weinan/pc/SelectCheckPlan.vue +389 -389
  189. package/src/filiale/weinan/pc/SelectCheckPlanOutHelp.vue +446 -446
  190. package/src/filiale/weinan/pc/checkPlanList.vue +456 -456
  191. package/src/filiale/weinan/pc/checkUserList.vue +712 -712
  192. package/src/filiale/weinanct/pc/PaperList.vue +593 -593
  193. package/src/filiale/wensu/pc/CheckDetail.vue +205 -205
  194. package/src/filiale/wensu/pc/CheckSearchUser.vue +1238 -1238
  195. package/src/filiale/wensu/pc/DefectPaperNew.vue +1148 -1148
  196. package/src/filiale/wensu/pc/SelectCheckPlan.vue +342 -342
  197. package/src/filiale/wensu/pc/checkUserList.vue +650 -650
  198. package/src/filiale/wenxi/pc/CheckPlanAreaList.vue +456 -456
  199. package/src/filiale/wenxi/pc/CheckPlanUserList.vue +217 -217
  200. package/src/filiale/wenxi/pc/CheckSearchUser.vue +991 -991
  201. package/src/filiale/wenxi/pc/DefectPaper.vue +663 -663
  202. package/src/filiale/wenxi/pc/PaperDefectMain.vue +790 -790
  203. package/src/filiale/wenxi/pc/PaperList.vue +949 -949
  204. package/src/filiale/wenxi/pc/checkPlanList.vue +517 -517
  205. package/src/filiale/wenxi/pc/checkUserList.vue +695 -695
  206. package/src/filiale/wuan/pc/DefectPaperWeiXiu.vue +515 -515
  207. package/src/filiale/wuan/pc/PaperList.vue +562 -562
  208. package/src/filiale/wuhai/pc/CheckSearchUser.vue +959 -959
  209. package/src/filiale/wuhai/pc/PaperList.vue +785 -785
  210. package/src/filiale/wuhai/pc/checkUserList.vue +611 -611
  211. package/src/filiale/xilan/pc/PaperList.vue +795 -795
  212. package/src/filiale/xilan/pc/checkUserList.vue +772 -772
  213. package/src/filiale/xinkang/pc/CheckPlanAreaList.vue +425 -425
  214. package/src/filiale/xinkang/pc/CheckPlanUserList.vue +216 -216
  215. package/src/filiale/xinkang/pc/CheckSearchUser.vue +1026 -1026
  216. package/src/filiale/xinkang/pc/DefectPaperWeiXiu.vue +538 -538
  217. package/src/filiale/xinkang/pc/PaperDefectMain.vue +525 -525
  218. package/src/filiale/xinkang/pc/PaperList.vue +603 -603
  219. package/src/filiale/xinkang/pc/checkUserList.vue +639 -639
  220. package/src/filiale/yangchunboneng/pc/CheckBookUser.vue +269 -269
  221. package/src/filiale/yangchunboneng/pc/CheckPlanAreaList.vue +642 -642
  222. package/src/filiale/yangchunboneng/pc/CheckSearchUser.vue +1192 -1192
  223. package/src/filiale/yangchunboneng/pc/DefectPaperNew.vue +1128 -1128
  224. package/src/filiale/yangchunboneng/pc/PaperDefectMain.vue +1046 -1046
  225. package/src/filiale/yangchunboneng/pc/PaperList.vue +773 -773
  226. package/src/filiale/yongzhou/pc/CheckSearchUser.vue +1092 -1092
  227. package/src/filiale/yongzhou/pc/DefectPaperNew.vue +1105 -1105
  228. package/src/filiale/yongzhou/pc/NoCheckplanSafecheck.vue +557 -557
  229. package/src/filiale/yongzhou/pc/PaperDefectMain.vue +872 -872
  230. package/src/filiale/yongzhou/pc/PaperList.vue +798 -798
  231. package/src/filiale/yongzhou/pc/SelectCheckPlan.vue +364 -364
  232. package/src/filiale/yongzhou/pc/checkUserList.vue +752 -752
  233. package/src/filiale/yongzhou/pc/communityDetail.vue +194 -194
  234. package/src/filiale/yongzhou/pc/communityTypeDetailG.vue +138 -138
  235. package/src/filiale/yongzhou/pc/safeDetail.vue +539 -539
  236. package/src/filiale/yongzhou/pc/safeStatisticsDay.vue +455 -455
  237. package/src/filiale/yongzhou/pc/safeStatisticsMonth.vue +267 -267
  238. package/src/filiale/yuansheng/pc/PaperList.vue +621 -621
  239. package/src/filiale/yunchengminsheng/pc/checkUserList.vue +753 -753
  240. package/src/filiale/zhongsheng/pc/CheckPlanAreaList.vue +495 -495
  241. package/src/filiale/zhongsheng/pc/DefectPaperWeiXiu.vue +515 -515
  242. package/src/filiale/zhongsheng/pc/PaperList.vue +644 -644
  243. package/src/filiale/zhoukou/pc/CheckSearchUser.vue +923 -923
  244. package/src/filiale/zhoukou/pc/PaperDefectMain.vue +465 -465
@@ -1,895 +1,895 @@
1
- <style scoped>
2
- .p1 {
3
- color: #dc0b12;
4
- font-weight:bold
5
- }
6
- </style>
7
- <template>
8
- <div class="flex-row">
9
- <div class="basic-main">
10
- <criteria-paged :model="model" v-ref:paged @sort="sort">
11
- <criteria partial='criteria' class="search_area" @condition-changed='$parent.selfSearch' v-ref:criteria>
12
- <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
13
- <div class="row">
14
- <div class="form-group col-sm-2" >
15
- <label class="font_normal_body">客户编号</label>
16
- <input type="text" class="input_search" v-model="model.f_userinfo_code"
17
- style="width: 60%" placeholder="客户编号" condition="f_userinfo_code='{}'">
18
- </div>
19
- <div class="form-group col-sm-2" >
20
- <label class="font_normal_body">客户名称</label>
21
- <input type="text" class="input_search" v-model="model.f_user_name"
22
- style="width: 60%" placeholder="客户名称" condition="f_user_name like '%{}%'">
23
- </div>
24
- <div class="form-group col-sm-2" >
25
- <label class="font_normal_body">客户电话</label>
26
- <input type="text" class="input_search" v-model="model.f_user_phone"
27
- style="width: 60%" placeholder="客户电话" condition="f_user_phone like '%{}%'">
28
- </div>
29
- <div class="form-group col-sm-2" >
30
- <label class="font_normal_body">小&emsp;&emsp;区</label>
31
- <input type="text" class="input_search" v-model="model.f_residential_area"
32
- style="width: 60%" placeholder="小区" condition="f_residential_area like '%{}%'">
33
- </div>
34
- <div class="form-group col-sm-4" style="display: flex; gap: 15px">
35
- <export-excel :data="$parent.$parent.searchData"
36
- :field="$parent.$parent.excelHeaders"
37
- progress="safeGetExportProgress"
38
- sqlurl="api/af-safecheck/logic/SafeExportExcel" sql-name="defectDetails" template-name='安检隐患明细'></export-excel>
39
- <button class="button_search" @click="$parent.$parent.showaudio()" v-if="$parent.$parent.audioshow">隐藏</button>
40
- <button class="button_search" @click="$parent.$parent.toRepair" v-if="$parent.$parent.canToRepair == '是'">转维修</button>
41
- <button class="button_search" @click="search()">查询</button>
42
- <div class="button_spacing"
43
- :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
44
- @click="$parent.$parent.hidden()"></div>
45
- </div>
46
-
47
- </div>
48
- <div class="row">
49
- <div class="col-sm-4 form-group" v-show="$parent.$parent.criteriaShow" style="margin: 0">
50
- <role-selector-safe
51
- role-name="安检员"
52
- role-lable="安&nbsp;检&nbsp;员&nbsp;"
53
- @re-res="$parent.$parent.getRes"
54
- :value.sync="model.f_checker_id"
55
- v-model="model.f_checker_id"
56
- :value-multiple="true"
57
- :value-close="false"
58
- condition="f_checker_name in {}">
59
- </role-selector-safe>
60
- </div>
61
- <div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow">
62
- <label class="font_normal_body">检&ensp;查&ensp;项</label>
63
- <v-select :value.sync="model.f_device_type"
64
- v-model="model.f_device_type"
65
- style="width: 60%"
66
- class="select_list select"
67
- :options='$parent.$parent.device_types'
68
- placeholder='检查项'
69
- :multiple="true"
70
- condition="f_device_type in {}"></v-select>
71
- <!--<input type="text" class="input_search" v-model="model.f_device_type"-->
72
- <!--style="width: 60%" placeholder="检&ensp;查&ensp;项" condition="f_device_type like '%{}%'">-->
73
- </div>
74
- <div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow">
75
- <label class="font_normal_body">隐患名称</label>
76
- <v-select :value.sync="model.f_item_name"
77
- v-model='model.f_item_name'
78
- style="width: 60%"
79
- class="select_list select"
80
- :options='$parent.$parent.DefectConfigs'
81
- placeholder='隐患名称'
82
- :multiple="true"
83
- condition="f_item_name in {}"></v-select>
84
- </div>
85
- <div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow">
86
- <label class="font_normal_body">安检起始</label>
87
- <datepicker
88
- class="select_list select"
89
- :value.sync="model.f_check_start"
90
- placeholder='安检起始时间' style="width: 60%"
91
- :disabled-days-of-week="[]"
92
- :format="'yyyy-MM-dd'"
93
- :show-rest-button="reset"
94
- v-model="model.f_check_start"
95
- condition="f_offsite_time > ='{} 00:00:00'">
96
- </datepicker>
97
- </div>
98
- <div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow">
99
- <label class="font_normal_body">安检结束</label>
100
- <datepicker
101
- class="select_list select"
102
- :value.sync="model.f_check_end"
103
- placeholder='安检结束时间' style="width: 60%"
104
- :disabled-days-of-week="[]"
105
- :format="'yyyy-MM-dd'"
106
- :show-rest-button="reset"
107
- v-model="model.f_check_end"
108
- condition="f_offsite_time <= '{} 23:59:59'">
109
- </datepicker>
110
- </div>
111
- <div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow">
112
- <label class="font_normal_body">用户类型</label>
113
- <v-select :value.sync="model.f_check_type" v-model='model.f_check_type'
114
- :value-single="true" style="width: 60%"
115
- class="select_list select"
116
- :options='$parent.$parent.f_check_type' placeholder='请选择'
117
- close-on-select
118
- condition="f_check_type = '{}'"></v-select>
119
- </div>
120
- <div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow">
121
- <label class="font_normal_body">处理方式</label>
122
- <v-select :value.sync="model.f_deal_dispose"
123
- v-model='model.f_deal_dispose'
124
- style="width: 60%"
125
- class="select_list select"
126
- :options='$parent.$parent.deal_dispose' placeholder='请选择'
127
- :multiple="true"
128
- condition="f_deal_dispose in {}"></v-select>
129
- </div>
130
- <div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow">
131
- <label class="font_normal_body">详细地址</label>
132
- <input type="text" class="input_search" v-model="model.f_address"
133
- style="width: 60%" placeholder="详细地址" condition="f_address like '%{}%'">
134
- </div>
135
- <div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow">
136
- <label class="font_normal_body">隐患状态</label>
137
- <v-select :value.sync="model.f_is_repaired"
138
- v-model='model.f_is_repaired'
139
- style="width: 60%"
140
- class="select_list select"
141
- :options='$parent.$parent.repairStateOptions' placeholder='请选择'
142
- :multiple="true"
143
- condition="f_is_repaired in {}"></v-select>
144
- </div>
145
- <div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow" >
146
- <label class="font_normal_body">处理人</label>
147
- <input type="text" class="input_search" v-model="model.f_repairman"
148
- style="width: 60%" placeholder="处理人" condition="f_repairman = '{}'">
149
- </div>
150
- <div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow">
151
- <label for="startDate" class="font_normal_body">处理时间:</label>
152
- <datepicker id="startDate" placeholder="处理开始日期"
153
- style="width: 60%!important;"
154
- v-model="model.sq_startDate"
155
- :value.sync="model.sq_startDate"
156
- :format="'yyyy-MM-dd 00:00:00'"
157
- :show-reset-button="true"
158
- condition="f_repair_date >= '{}'">
159
- </datepicker>
160
- </div>
161
- <div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow">
162
- <label for="endDate" class="font_normal_body">处理时间:</label>
163
- <datepicker id="endDate" placeholder="处理结束日期"
164
- style="width: 60%!important;"
165
- v-model="model.sq_endDate"
166
- :value.sync="model.sq_endDate"
167
- :format="'yyyy-MM-dd 23:59:59'"
168
- :show-reset-button="true"
169
- condition="f_repair_date<= '{}'">
170
- </datepicker>
171
- </div>
172
- <div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow" >
173
- <label class="font_normal_body">开户时间</label>
174
- <datepicker
175
- :value.sync="model.f_check_gasstart"
176
- placeholder='开始时间' style="width: 60%"
177
- :format="'yyyy-MM-dd'"
178
- :show-rest-button="true"
179
- v-model="model.f_check_gasstart"
180
- condition="f_gas_date > ='{} 00:00:00'">
181
- </datepicker>
182
- </div>
183
- <div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow" >
184
- <label class="font_normal_body">开户时间</label>
185
- <datepicker
186
- :value.sync="model.f_check_gasend"
187
- placeholder='结束时间' style="width: 60%"
188
- :format="'yyyy-MM-dd'"
189
- :show-rest-button="true"
190
- v-model="model.f_check_gasend"
191
- condition="f_gas_date <= '{} 23:59:59'">
192
- </datepicker>
193
- </div>
194
- </div>
195
- <modal :show.sync="$parent.$parent.showModal" v-ref:modal>
196
- <div slot="modal-header" class="modal-header">
197
- <h4 class="modal-title">
198
- 选择计划
199
- </h4>
200
- </div>
201
- <div slot="modal-body" class="modal-body">
202
- <plan-chooser :f.sync="$parent.$parent.fun" v-ref:chooser></plan-chooser>
203
- </div>
204
- <div slot="modal-footer" class="modal-footer" style="text-align: center">
205
- <button class="button_search" @click="$parent.$parent.ok">确认</button>
206
- <button class="button_search" @click="$parent.$parent.cancel">取消</button>
207
- </div>
208
- </modal>
209
- </div>
210
- </criteria>
211
- <data-grid class="list_area table_sy" style="overflow: hidden" :model="model" partial='list' v-ref:grid>
212
- <template partial='head'>
213
- <tr>
214
- <th v-if="$parent.$parent.$parent.canToRepair=='是'"><nobr>选择</nobr></th>
215
- <th>
216
- <nobr>检查项</nobr>
217
- </th>
218
- <th>
219
- <nobr>隐患原因</nobr>
220
- </th>
221
- <th>
222
- <nobr>隐患级别</nobr>
223
- </th>
224
- <th>
225
- <nobr>客户编号</nobr>
226
- </th>
227
- <th>
228
- <nobr>客户名称</nobr>
229
- </th>
230
- <th>
231
- <nobr>客户电话</nobr>
232
- </th>
233
- <th>
234
- <nobr>客户小区</nobr>
235
- </th>
236
- <th>
237
- <data-order field="f_address" name="客户地址"></data-order>
238
- </th>
239
-
240
- <th>
241
- <data-order field="f_offsite_time" name="安检时间"></data-order>
242
- </th>
243
- <th>
244
- <nobr>安检员</nobr>
245
- </th>
246
- <th>
247
- <nobr>隐患状态</nobr>
248
- </th>
249
- <th>
250
- <nobr>处理人</nobr>
251
- </th>
252
- <th>
253
- <nobr>处理方式</nobr>
254
- </th>
255
- <th>
256
- <nobr>处理时效</nobr>
257
- </th>
258
- <th>
259
- <nobr>处理时间</nobr>
260
- </th>
261
- <th>
262
- <nobr>工单编号</nobr>
263
- </th>
264
- <th>
265
- <nobr>转单类型</nobr>
266
- </th>
267
- <th>
268
- <nobr>接收人</nobr>
269
- </th>
270
- </tr>
271
- </template>
272
- <template partial='body' >
273
- <tr >
274
- <td v-if="$parent.$parent.$parent.canToRepair=='是'" style="text-align: center;white-space:nowrap;" ><input type="checkbox" v-if="['用户自行整改', '现场已处理', '维修已处理', '转维修'].indexOf(row.f_is_repaired) == -1" @click="$event.cancelBubble=true" :checked="$parent.$parent.$parent.isChecked(row)" @change="$parent.$parent.$parent.setCheckes(row)"></input></td>
275
- <td style="text-align: center" :class="[$parent.$parent.$parent.isRepart(row) ? 'p1' :'' ]" >{{row.f_device_type}}</td>
276
- <td style="text-align: center" :class="[$parent.$parent.$parent.isRepart(row) ? 'p1' :'' ]">{{row.f_item_name}}/{{row.f_item_value}}</td>
277
- <td style="text-align: center" :class="[$parent.$parent.$parent.isRepart(row) ? 'p1' :'' ]">{{row.f_defect_level}}</td>
278
- <td style="text-align: center" :class="[$parent.$parent.$parent.isRepart(row) ? 'p1' :'' ]">{{row.f_userinfo_code}}</td>
279
- <td style="text-align: center" :class="[$parent.$parent.$parent.isRepart(row) ? 'p1' :'' ]">{{row.f_user_name}}</td>
280
- <td style="text-align: center" :class="[$parent.$parent.$parent.isRepart(row) ? 'p1' :'' ]">{{row.f_user_phone}}</td>
281
- <td style="text-align: center" :class="[$parent.$parent.$parent.isRepart(row) ? 'p1' :'' ]">{{row.f_residential_area}}</td>
282
- <td style="text-align: center" :class="[$parent.$parent.$parent.isRepart(row) ? 'p1' :'' ]">{{row.f_address}}</td>
283
- <td style="text-align: center" :class="[$parent.$parent.$parent.isRepart(row) ? 'p1' :'' ]">{{row.f_offsite_time}}</td>
284
- <td style="text-align: center" :class="[$parent.$parent.$parent.isRepart(row) ? 'p1' :'' ]">{{row.f_checker_name}}</td>
285
- <td style="text-align: center" :class="[$parent.$parent.$parent.isRepart(row) ? 'p1' :'' ]">{{row.f_is_repaired}}</td>
286
- <td style="text-align: center" :class="[$parent.$parent.$parent.isRepart(row) ? 'p1' :'' ]">{{row.f_repairman}}</td>
287
- <td style="text-align: center" :class="[$parent.$parent.$parent.isRepart(row) ? 'p1' :'' ]">{{row.f_deal_dispose}}</td>
288
- <td style="text-align: center" :class="[$parent.$parent.$parent.isRepart(row) ? 'p1' :'' ]">{{row.f_handle_date}}</td>
289
- <td style="text-align: center" :class="[$parent.$parent.$parent.isRepart(row) ? 'p1' :'' ]">{{row.f_repair_date}}</td>
290
- <td style="text-align: center" :class="[$parent.$parent.$parent.isRepart(row) ? 'p1' :'' ]">{{row.f_service_id}}</td>
291
- <td style="text-align: center" :class="[$parent.$parent.$parent.isRepart(row) ? 'p1' :'' ]">{{row.f_handlingtype}}</td>
292
- <td style="text-align: center" :class="[$parent.$parent.$parent.isRepart(row) ? 'p1' :'' ]">{{row.f_order_man}}</td>
293
- </tr >
294
- </template>
295
- </data-grid>
296
- </criteria-paged>
297
- <check-msg v-if="showcheckmsg" :show="showcheckmsg" :data="checkInfo"></check-msg>
298
- <modal :show.sync="showModal2" :backdrop="false">
299
- <div slot="modal-header" class="modal-header">
300
- <h4 class="modal-title">
301
- 转维修
302
- </h4>
303
- </div>
304
- <div slot="modal-body" class="modal-body">
305
- <div v-if="true">
306
- <div>
307
-
308
- </div>
309
- <!-- <div v-for="(index, item) in dangerGroup">-->
310
-
311
- <!-- </div>-->
312
- <div class="row" style="margin-top: 10px">
313
- <label class="control-label font text-left" style="float:left;margin-left:20%;margin-top:5px">派发类型</label>
314
- <div class="col-xs-8 col-md-8">
315
- <v-select :value.sync="selectData.dispatchType" :value-single="true" v-model="selectData.dispatchType"
316
- :options='dispatchTypeOptions' placeholder='派发类型'
317
- close-on-select>
318
- </v-select>
319
- </div>
320
- </div>
321
- <div class="row" style="margin-top: 10px" v-if="selectData.dispatchType=='派发给维修员'">
322
- <label class="control-label font text-left" style="float:left;margin-left:20%;margin-top:5px">维&ensp;修&ensp;员</label>
323
- <div class="col-xs-8 col-md-8">
324
- <v-select
325
- :value.sync="selectData.f_repairman"
326
- :value-single="true"
327
- :options='repairers'
328
- placeholder='请选择维修员'
329
- close-on-select></v-select>
330
- </div>
331
- </div>
332
- <div class="row" style="margin-top: 10px" v-if="selectData.dispatchType=='派发给站点'">
333
- <label class="control-label font text-left" style="float:left;margin-left:20%;margin-top:5px">站&ensp;&ensp;&ensp;&ensp;点</label>
334
- <div class="col-xs-8 col-md-8">
335
- <right-tree
336
- islist
337
- :userid="userid"
338
- :source="'dep=this.getParentByType($organization$).getSpecialResByType($department$),tool.getFullTree(dep.where(row.hasSpecialRole($派单员$)))'"
339
- @re-res="getSiteRes"></right-tree>
340
- </div>
341
- </div>
342
- <div class="row" style="margin-top: 10px">
343
- <label class="control-label font text-left" style="float:left;margin-left:20%;margin-top:5px">报修类型</label>
344
- <div class="col-xs-8 col-md-8">
345
- <v-select :value.sync="selectData.f_repairtype" style="width:60%"
346
- class="select select_list"
347
- :value-single="true"
348
- :options='repairTypeOptions'
349
- close-on-select>
350
- </v-select>
351
- </div>
352
- </div>
353
- <div class="row" style="margin-top: 10px">
354
- <label class="control-label font text-left" style="float:left;margin-left:20%;margin-top:5px">备&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;注</label>
355
- <div class="col-xs-8 col-md-8">
356
- <textarea style="width: 60%; height: 100px" v-model="selectData.f_remarks"></textarea>
357
- </div>
358
- </div>
359
- </div>
360
- </div>
361
- <div slot="modal-footer" class="modal-footer" style="text-align: center">
362
- <button class="button_search" @click="rectification">转维修</button>
363
- <button class="button_search" @click="cancel1">取消</button>
364
- </div>
365
- </modal>
366
- <modal :show.sync="showModal3">
367
- <div slot="modal-header" class="modal-header">
368
- <h4 class="modal-title">
369
- 转维修进度{{ progressbarWidth }}%
370
- </h4>
371
- </div>
372
- <div slot="modal-body" class="modal-body">
373
- <div class="progress">
374
- <div class="progress-bar" role="progressbar" aria-valuenow="60"
375
- aria-valuemin="0" aria-valuemax="100" :style="'width:'+ progressbarWidth+'%'">
376
- </div>
377
- </div>
378
- </div>
379
- <div slot="modal-footer" class="modal-footer" style="text-align: center" v-show="false"></div>
380
- </modal>
381
- </div>
382
- </div>
383
- </template>
384
-
385
- <script>
386
- import {PagedList} from 'vue-client'
387
- import Vue from 'vue'
388
- import co from 'co'
389
- import HttpResetClass from "vue-client/src/plugins/HttpResetClass";
390
- //获取json配置文件
391
- let asyncReady = async function (self) {
392
- // 获取配置信息
393
- try {
394
- let res = await Vue.resetget(`/phone/rs/vue`, {data: {}}, {resolveMsg: null, rejectMsg: null})
395
- Vue.config = res.data
396
- self.getDefectInfoConfig(res.data)
397
- } catch (error) {
398
- // 忽略704,文件找不到异常R
399
- if (error.status !== 704) {
400
- throw error
401
- }
402
- }
403
- }
404
-
405
- let select = function* (self) {
406
- let http = new HttpResetClass()
407
- let getGasman = yield http.load('POST', '/rs/search', {
408
- source: 'this.getParentByType($department$).getAllChildrens().where(row.getAttributes().get($rolestr$).indexOf($安检员$) != -1))',
409
- userid: self.$login.f.id
410
- }, {resolveMsg: null, rejectMsg: null})
411
- ////tag
412
- self.checkersid.push({label: '全部', value: ''})
413
- getGasman.data.forEach((checker) => {
414
- self.checkersid.push({label: checker.name, value: checker.id})
415
- })
416
- }
417
-
418
- export default {
419
- title: '隐患明细查看',
420
- data() {
421
- let model = new PagedList('api/af-safecheck/sql/defectDetails', 20,{
422
- f_filialeid: 'this.f_filialeid'
423
- })
424
- model.f_plan_id = ''
425
- model.f_approved = ''
426
- model.f_entry = ''
427
- model.f_no_checkplan = ''
428
- model.f_check_type=''
429
- model.f_filialeid = `('${this.$login.f.orgid}')`
430
- return {
431
- audioshow:false,
432
-
433
- model: model,
434
- deal_dispose:[{label:'全部',value:''},{label:'报修',value:'报修'},{label:'现场整改',value:'现场整改'},{label:'自行处理',value:'自行处理'},{label:'未处理',value:'未处理'}],
435
- repairStateOptions: this.getSafeParam('隐患状态'),
436
- //searchData:searchData,
437
- excelHeaders: {
438
- 'f_device_type': '检查项',
439
- 'f_item_name': '隐患名称',
440
- 'f_userinfo_code': '客户编号',
441
- 'f_user_name': '客户姓名',
442
- 'f_user_phone': '客户电话',
443
- 'f_residential_area': '小区',
444
- 'f_address': '客户地址',
445
- 'f_offsite_time': '安检时间',
446
- 'f_checker_name': '安检员',
447
- 'f_deal_dispose': '处理方式',
448
- 'f_is_repaired': '隐患状态',
449
- 'f_repairman':'处理人',
450
- 'f_repair_date':'处理时间'
451
- },
452
- fun: this.$login.f,
453
- checkersid: [],
454
- safetype: this.getSafeParam('安检类型'),
455
- criteriaShow: false,
456
- showModal: false,
457
- f_approval_states: this.getSafeParam('安检单审核状态'),
458
- f_entry_status:this.getSafeParam('安检状态'),
459
- f_checkplans: this.getSafeParam('有无计划'),
460
- showcheckmsg: false,
461
- checkInfo: {},
462
- orderDefault: "'f_offsite_time'",
463
- orderFields: {
464
- f_offsite_time: 'no'
465
- },
466
- sliceArea: [],
467
- cbc:[],
468
- DefectConfig:'' ,
469
- DefectConfigs:[{label:'全部',value:''},{label: '金额异常差值', value: '金额异常差值'},{label: '气量异常差值', value: '气量异常差值'}],
470
- device_types:[{label:'全部',value:''}],
471
- f_check_type:[{label:'全部',value:''},{label:'民用',value:'民用'},{label:'非民用',value:'非民用'}],
472
- showModal2: false,
473
- selectData:{
474
- dispatchType:'',
475
- f_repairman:'',
476
- f_remarks:'',
477
- f_repairtype:''
478
- },
479
- repairers: [],
480
- repairTypeOptions:this.$appdata.getParam('报修类型'),
481
- dispatchTypeOptions: [{label: '派发给站点', value: '派发给站点'},{label: '派发给维修员', value: '派发给维修员'}],
482
- dangerGroups: [],
483
- showModal3: false,
484
- progressbarWidth:'0',
485
- canToRepair: this.$appdata.getSingleValue('隐患明细转维修'),
486
- checkes: []
487
- }
488
- },
489
- computed :{
490
- searchData() {
491
- return {condition: this.model.condition}
492
- }
493
- },
494
- methods: {
495
- isRepart(row) {
496
- if (row.f_deal_dispose === '自行处理' && row.f_repairman === '***') {
497
- // 获取当前时间 yyyy-mm-dd
498
- let now = new Date();
499
- let currentDate = new Date(now.getFullYear(), now.getMonth(), now.getDate());
500
- // 将row.f_handle_date转换为Date对象并提取日期部分(假设row.f_handle_date是一个有效的日期字符串)
501
- let handleDateString = row.f_handle_date.split(' ')[0]; // 提取日期部分(yyyy-mm-dd)
502
- let handleDateParts = handleDateString.split('-');
503
- let handleDate = new Date(handleDateParts[0], handleDateParts[1] - 1, handleDateParts[2]);
504
- // 比较当前日期与row.f_handle_date的日期部分
505
- if (currentDate.getTime() === handleDate.getTime()) {
506
- return true
507
- } else if (currentDate.getTime() > handleDate.getTime()) {
508
- return true
509
- } else if(currentDate.getTime()<handleDate.getTime()) {
510
- return false
511
- }
512
- }else{
513
- return false
514
- }
515
- },
516
- isChecked(row) {
517
- return this.checkes.findIndex(item => item.f_defect_id == row.f_defect_id) != -1
518
- },
519
- setCheckes(row) {
520
- let index=this.checkes.findIndex(item => item.f_defect_id == row.f_defect_id)
521
- if(index<0){
522
- this.checkes.push(row)
523
- }else{
524
- this.checkes.splice(index,1)
525
- }
526
- console.log('this.checkes=', JSON.stringify(this.checkes))
527
- },
528
- toRepair(){
529
- console.log('this.checkes=', JSON.stringify(this.checkes))
530
- if(this.checkes.length==0){
531
- return this.$showMessage('请先选择需要转维修的隐患!')
532
- }
533
-
534
- const dangerGroups = []
535
- for (const danger of this.checkes) {
536
- let i = dangerGroups.findIndex(dangerGroup => dangerGroup.f_userinfo_code === danger.f_userinfo_code)
537
- if (i == -1){
538
- dangerGroups.push({
539
- f_userinfo_code: danger.f_userinfo_code,
540
- dangers: []
541
- })
542
- i = dangerGroups.length - 1
543
- }
544
- dangerGroups[i].dangers.push(danger)
545
- }
546
- this.dangerGroups = dangerGroups
547
- console.log('this.dangerGroups=', JSON.stringify(this.dangerGroups))
548
- this.showModal2=true
549
- },
550
- getEmp() {
551
- let val = {source: 'this.getParentByType($organization$).getSpecialResByType($user$).where(row.getAttributes().get($rolestr$)!=null ).where(row.getAttributes().get($rolestr$).indexOf($维修员$) != -1))', userid: `${this.$login.f.id}`}
552
- let http = new HttpResetClass()
553
- http.load('POST', '/rs/search', {data: val}, {resolveMsg: null, rejectMsg: null}).then((res) => {
554
- if (res.data.length == 0){
555
- this.repairers= []
556
- return
557
- }
558
- let str=``
559
- res.data.forEach((item,idx,arr) => {
560
- if(idx+1==arr.length){
561
- str += item.id
562
- }else{
563
- str += item.id+`','`
564
- }
565
- })
566
- let http1 = new HttpResetClass()
567
- http1.load('POST', 'api/af-safecheck/sql/safe_singleTable_OrderBy', {
568
- data: {
569
- items: 'id,f_user_telephone',
570
- tablename: 't_user',
571
- condition: `id in ('${str}')`,
572
- orderitem: 'id'
573
- }
574
- }, {resolveMsg: null, rejectMsg: null}).then((ress) => {
575
- res.data.forEach((user)=>{
576
- try {
577
- ress.data.forEach((tel,tidx,arr)=>{
578
- if(user.id==tel.id){
579
- this.repairers.push({label: `${user.name}:${tel.f_user_telephone}`, value: user.name})
580
- ress.data.splice(tidx,1)
581
- }
582
- })
583
- }catch (e) {
584
- }
585
- })
586
- }).catch(error=>{
587
- res.data.forEach((user)=>{
588
- this.repairers.push({label: user.name, value: user.name})
589
- })
590
- })
591
-
592
- })
593
- },
594
- getSiteRes(obj) {
595
- console.log('siteRes ---> ')
596
- console.log(obj)
597
- if(obj.resids[0]){
598
- this.selectData.f_meetunit = obj.res.join('.')
599
- this.selectData.f_reciever = obj.resids.join('.')
600
- this.selectData.f_outlets = obj.res[obj.res.length - 1]
601
- }else {
602
- this.selectData.f_meetunit = ''
603
- this.selectData.f_reciever = ''
604
- this.selectData.f_outlets = ''
605
- }
606
- },
607
- cancel1(){
608
- this.showModal2=false
609
- this.selectData={
610
- dispatchType:'',
611
- f_repairman:'',
612
- f_remarks:'',
613
- f_repairtype:''
614
- }
615
- },
616
- async rectification(){
617
- if(this.selectData.dispatchType){
618
- if(this.selectData.dispatchType=='派发给站点'){
619
- if(!this.selectData.f_reciever){
620
- this.$showMessage('请选择部门!')
621
- return
622
- }
623
- }else{
624
- if(!this.selectData.f_repairman){
625
- this.$showMessage('请选择维修员!')
626
- return
627
- }
628
- }
629
- }else {
630
- this.$showMessage('请选择派发类型!')
631
- return
632
- }
633
-
634
- if(!this.selectData.f_repairtype){
635
- this.$showMessage('请选择报修类型!')
636
- return
637
- }
638
- this.showModal3=true
639
- let act={}
640
- let toRepair=''
641
- let successCount=0
642
- if(this.selectData.dispatchType=='派发给站点'){
643
- act={f_meetunit:this.selectData.f_meetunit,f_reciever:this.selectData.f_reciever,f_service_acitivity_type:'派单'}
644
- toRepair=null
645
- }else{
646
- console.log('派发给维修员---------'+this.selectData.f_repairman)
647
- act={f_meetunit:'',f_reciever:this.selectData.f_repairman,f_service_acitivity_type:'派单'}
648
- toRepair='一级派单'
649
- }
650
- let rep={
651
- loginUser: {
652
- name: this.$login.f.name,
653
- ename: this.$login.f.ename
654
- },
655
- f_meetunit: this.$login.f.deps,
656
- f_attendant: this.$login.f.name,
657
- f_outlets: this.$login.f.deps,
658
- f_remarks: this.selectData.f_remarks,
659
- f_repairtype: this.selectData.f_repairtype,
660
- toRepair: toRepair,
661
- activity:act
662
- }
663
- for(let i=0; i<this.dangerGroups.length; i++){
664
- let defectIdStr = ''
665
- const defectIds = []
666
- for (let j = 0; j < this.dangerGroups[i].dangers.length; j++) {
667
- defectIds.push(`'${this.dangerGroups[i].dangers[j].f_defect_id}'`)
668
- }
669
- defectIdStr = `(${defectIds.join(',')})`
670
- const data = {
671
- id:this.dangerGroups[i].dangers[0].f_paper_id,
672
- repData:rep,
673
- source:'pc',
674
- defectIdStr: defectIdStr
675
- }
676
- console.log('data=', JSON.stringify(data))
677
- try {
678
- let result =await new HttpResetClass().load('post','/api/af-safecheck/logic/phoneUploadRectification', data, {resolveMsg: null, rejectMsg: null})
679
- if (result.data.code==200) {
680
- successCount += result.data.successcon
681
- this.progressbarWidth=Math.ceil((i+1)*100/(this.dangerGroups.length))
682
- }
683
- }catch (e) {
684
- this.showModal3=false
685
- this.$showMessage('网络异常,请稍后再试!')
686
- return
687
- }
688
- }
689
- this.showModal3=false
690
- this.cancel1()
691
- this.$showMessage('本次转维修成功'+successCount+'单')
692
- },
693
- getDefectInfoConfig(val){
694
- try {
695
- if (val.safecheck.DevicesSetConfig != undefined) {
696
- this.DefectConfig = val.safecheck.DevicesConfig
697
- // 获取到配置项,进行遍历,获取每个隐患项
698
- for (var Key1 in this.DefectConfig){
699
- this.device_types.push({label:Key1,value:Key1})
700
- for(var Key2 in this.DefectConfig[Key1].items){
701
- this.DefectConfigs.push({label:Key2,value:Key2})
702
- }
703
- }
704
- // 非民用或其他配置项加入,在进行遍历
705
- }
706
- }catch (e) {
707
- //tag
708
- }
709
- },
710
- showaudio(){
711
- //tag
712
- this.audioshow=!this.audioshow
713
- //tag
714
- },
715
- getmeterbook(val){
716
- this.cbc=[]
717
- this.cbc.push({
718
- label:'全部',
719
- value:''
720
- })
721
- if (val==''){
722
-
723
- this.cbcs.forEach(res=>{
724
- this.cbc.push({
725
- label:res.f_book_name,
726
- value:res.id
727
- })
728
- })
729
- }else{
730
- this.cbcs.forEach(res=>{
731
- if (res.f_book_slice_area==val){
732
- this.cbc.push({
733
- label:res.f_book_name,
734
- value:res.id
735
- })
736
- }
737
- })
738
- }
739
- },
740
- getSafeParam(val){
741
- if(this.$appdata.getParam(val)){
742
- return [{label: '全部', value: ''}, ...this.$appdata.getParam(val)]
743
- }else{
744
- return [{label: '全部', value: ''}]
745
- }
746
-
747
- },
748
- Mreadibook(val){
749
- ////tag
750
- ////tag
751
- this.sliceArea=[]
752
- if (val){
753
- new HttpResetClass().load('POST',`/api/af-safecheck/sql/safe_singleTable_OrderBy`, {data: {
754
- items: 'name',
755
- tablename: 't_zone',
756
- condition: `parentid in ${val}`,
757
- orderitem: 'id'
758
- }}, {resolveMsg: null, rejectMsg: null}).then((res) => {
759
- this.sliceArea.push({
760
- label:'全部',
761
- value:''
762
- })
763
- res.data.forEach(ress=>{
764
- this.sliceArea.push({
765
- label:ress.name,
766
- value:ress.name
767
- })
768
- })
769
-
770
- })
771
- }
772
- },
773
- getAllMeterBook(val){
774
- ////tag
775
- ////tag
776
- this.cbcs=[]
777
- if (val){
778
- new HttpResetClass().load('POST',`/api/af-safecheck/sql/safe_singleTable_OrderBy`, {data: {
779
- items: 'f_book_name,f_book_slice_area,id',
780
- tablename: 't_meter_book',
781
- condition: `f_filiale_id in ${val}`,
782
- orderitem: 'id'
783
- }}, {resolveMsg: null, rejectMsg: null}).then((res) => {
784
- res.data.forEach(ress=>{
785
- this.cbcs.push({
786
- id:ress.id,
787
- f_book_name:ress.f_book_name,
788
- f_book_slice_area:ress.f_book_slice_area
789
- })
790
- })
791
- this.cbc=[]
792
- this.cbc.push({
793
- label:'全部',
794
- value:''
795
- })
796
- this.cbcs.forEach(res=>{
797
- this.cbc.push({
798
- label:res.f_book_name,
799
- value:res.id
800
- })
801
- })
802
- })
803
- }
804
- },
805
- getRes(obj) {
806
- this.model.f_filialeid = this.$login.convertToIn(obj.resids);
807
- this.searchData.f_filialeid = this.$login.convertToIn(obj.resids);
808
- this.Mreadibook(this.model.f_filialeid)
809
- this.getAllMeterBook(this.model.f_filialeid)
810
- //this.$refs.paged.$refs.criteria.search()
811
- },
812
-
813
- change(row) {
814
- // Vue.$login = {jwt: row.f_checker_id}
815
- asyncReady(this).then(() => {
816
- ////tag)
817
- row.f_upload_state = '已传'
818
- this.$goto('new-check-paper', {f_plan_id: row.f_check_plan_id, item: row, role: 'view'}, 'self')
819
- }).catch(
820
- (respanse) => {
821
- alert('获取配置文件失败')
822
- })
823
- },
824
- readConfig() {
825
- let gen = asyncReady(this)
826
- return co(gen)
827
- },
828
- showChooser() {
829
- this.showModal = true
830
- },
831
- hidden() {
832
- this.criteriaShow = !this.criteriaShow
833
- },
834
- refresh() {
835
- this.$refs.paged.$refs.criteria.search()
836
- },
837
- ok() {
838
- this.showModal = false
839
- if (this.$refs.paged.$refs.criteria.$refs.modal.$children[0].selectedRow.id) {
840
- this.model.f_plan_id = this.$refs.paged.$refs.criteria.$refs.modal.$children[0].selectedRow.id
841
- this.model.f_check_plan=this.$refs.paged.$refs.criteria.$refs.modal.$children[0].selectedRow
842
- }
843
- },
844
- cancel() {
845
- this.showModal = false
846
- this.model.f_check_plan = {f_plan_name: '', id: ''}
847
- this.model.f_plan_id=''
848
- },
849
- print(row) {
850
- this.showcheckmsg = true
851
- this.checkInfo = row
852
- },
853
-
854
- sort(field, rule) {
855
- // 将所有排序方式设为不排序,实现相互排斥
856
- for (let key in this.orderFields) {
857
- if (key === field) {
858
- this.orderFields[key] = rule
859
- } else {
860
- this.orderFields[key] = 'no'
861
- }
862
- }
863
- // 如果新规则不排序,还原为默认排序
864
- if (rule === 'no') {
865
- this.model.paramSource.orderitem = `'${this.orderDefault}'`
866
- } else {
867
- this.model.paramSource.orderitem = `'${field} ${rule}'`
868
- }
869
- this.search()
870
- },
871
- search() {
872
- this.$refs.paged.$refs.criteria.search()
873
- },
874
- selfSearch(args) {
875
- ////tag
876
- args.condition += ` and f_filialeid in ${this.model.f_filialeid}`
877
- this.model.search(args.condition, args.model, args.condValue)
878
- }
879
- },
880
-
881
- ready() {
882
- this.getEmp()
883
- this.readConfig()
884
- ////tag
885
- this.function = this.f
886
- ////tag
887
-
888
- let gen = select(this)
889
- //this.pianqu()
890
- this.Mreadibook(`('${this.$login.f.orgid}')`)
891
- co(gen)
892
- }
893
- }
894
- </script>
895
-
1
+ <style scoped>
2
+ .p1 {
3
+ color: #dc0b12;
4
+ font-weight:bold
5
+ }
6
+ </style>
7
+ <template>
8
+ <div class="flex-row">
9
+ <div class="basic-main">
10
+ <criteria-paged :model="model" v-ref:paged @sort="sort">
11
+ <criteria partial='criteria' class="search_area" @condition-changed='$parent.selfSearch' v-ref:criteria>
12
+ <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
13
+ <div class="row">
14
+ <div class="form-group col-sm-2" >
15
+ <label class="font_normal_body">客户编号</label>
16
+ <input type="text" class="input_search" v-model="model.f_userinfo_code"
17
+ style="width: 60%" placeholder="客户编号" condition="f_userinfo_code='{}'">
18
+ </div>
19
+ <div class="form-group col-sm-2" >
20
+ <label class="font_normal_body">客户名称</label>
21
+ <input type="text" class="input_search" v-model="model.f_user_name"
22
+ style="width: 60%" placeholder="客户名称" condition="f_user_name like '%{}%'">
23
+ </div>
24
+ <div class="form-group col-sm-2" >
25
+ <label class="font_normal_body">客户电话</label>
26
+ <input type="text" class="input_search" v-model="model.f_user_phone"
27
+ style="width: 60%" placeholder="客户电话" condition="f_user_phone like '%{}%'">
28
+ </div>
29
+ <div class="form-group col-sm-2" >
30
+ <label class="font_normal_body">小&emsp;&emsp;区</label>
31
+ <input type="text" class="input_search" v-model="model.f_residential_area"
32
+ style="width: 60%" placeholder="小区" condition="f_residential_area like '%{}%'">
33
+ </div>
34
+ <div class="form-group col-sm-4" style="display: flex; gap: 15px">
35
+ <export-excel :data="$parent.$parent.searchData"
36
+ :field="$parent.$parent.excelHeaders"
37
+ progress="safeGetExportProgress"
38
+ sqlurl="api/af-safecheck/logic/exportfile" sql-name="defectDetails" template-name='安检隐患明细'></export-excel>
39
+ <button class="button_search" @click="$parent.$parent.showaudio()" v-if="$parent.$parent.audioshow">隐藏</button>
40
+ <button class="button_search" @click="$parent.$parent.toRepair" v-if="$parent.$parent.canToRepair == '是'">转维修</button>
41
+ <button class="button_search" @click="search()">查询</button>
42
+ <div class="button_spacing"
43
+ :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
44
+ @click="$parent.$parent.hidden()"></div>
45
+ </div>
46
+
47
+ </div>
48
+ <div class="row">
49
+ <div class="col-sm-4 form-group" v-show="$parent.$parent.criteriaShow" style="margin: 0">
50
+ <role-selector-safe
51
+ role-name="安检员"
52
+ role-lable="安&nbsp;检&nbsp;员&nbsp;"
53
+ @re-res="$parent.$parent.getRes"
54
+ :value.sync="model.f_checker_id"
55
+ v-model="model.f_checker_id"
56
+ :value-multiple="true"
57
+ :value-close="false"
58
+ condition="f_checker_name in {}">
59
+ </role-selector-safe>
60
+ </div>
61
+ <div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow">
62
+ <label class="font_normal_body">检&ensp;查&ensp;项</label>
63
+ <v-select :value.sync="model.f_device_type"
64
+ v-model="model.f_device_type"
65
+ style="width: 60%"
66
+ class="select_list select"
67
+ :options='$parent.$parent.device_types'
68
+ placeholder='检查项'
69
+ :multiple="true"
70
+ condition="f_device_type in {}"></v-select>
71
+ <!--<input type="text" class="input_search" v-model="model.f_device_type"-->
72
+ <!--style="width: 60%" placeholder="检&ensp;查&ensp;项" condition="f_device_type like '%{}%'">-->
73
+ </div>
74
+ <div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow">
75
+ <label class="font_normal_body">隐患名称</label>
76
+ <v-select :value.sync="model.f_item_name"
77
+ v-model='model.f_item_name'
78
+ style="width: 60%"
79
+ class="select_list select"
80
+ :options='$parent.$parent.DefectConfigs'
81
+ placeholder='隐患名称'
82
+ :multiple="true"
83
+ condition="f_item_name in {}"></v-select>
84
+ </div>
85
+ <div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow">
86
+ <label class="font_normal_body">安检起始</label>
87
+ <datepicker
88
+ class="select_list select"
89
+ :value.sync="model.f_check_start"
90
+ placeholder='安检起始时间' style="width: 60%"
91
+ :disabled-days-of-week="[]"
92
+ :format="'yyyy-MM-dd'"
93
+ :show-rest-button="reset"
94
+ v-model="model.f_check_start"
95
+ condition="f_offsite_time > ='{} 00:00:00'">
96
+ </datepicker>
97
+ </div>
98
+ <div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow">
99
+ <label class="font_normal_body">安检结束</label>
100
+ <datepicker
101
+ class="select_list select"
102
+ :value.sync="model.f_check_end"
103
+ placeholder='安检结束时间' style="width: 60%"
104
+ :disabled-days-of-week="[]"
105
+ :format="'yyyy-MM-dd'"
106
+ :show-rest-button="reset"
107
+ v-model="model.f_check_end"
108
+ condition="f_offsite_time <= '{} 23:59:59'">
109
+ </datepicker>
110
+ </div>
111
+ <div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow">
112
+ <label class="font_normal_body">用户类型</label>
113
+ <v-select :value.sync="model.f_check_type" v-model='model.f_check_type'
114
+ :value-single="true" style="width: 60%"
115
+ class="select_list select"
116
+ :options='$parent.$parent.f_check_type' placeholder='请选择'
117
+ close-on-select
118
+ condition="f_check_type = '{}'"></v-select>
119
+ </div>
120
+ <div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow">
121
+ <label class="font_normal_body">处理方式</label>
122
+ <v-select :value.sync="model.f_deal_dispose"
123
+ v-model='model.f_deal_dispose'
124
+ style="width: 60%"
125
+ class="select_list select"
126
+ :options='$parent.$parent.deal_dispose' placeholder='请选择'
127
+ :multiple="true"
128
+ condition="f_deal_dispose in {}"></v-select>
129
+ </div>
130
+ <div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow">
131
+ <label class="font_normal_body">详细地址</label>
132
+ <input type="text" class="input_search" v-model="model.f_address"
133
+ style="width: 60%" placeholder="详细地址" condition="f_address like '%{}%'">
134
+ </div>
135
+ <div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow">
136
+ <label class="font_normal_body">隐患状态</label>
137
+ <v-select :value.sync="model.f_is_repaired"
138
+ v-model='model.f_is_repaired'
139
+ style="width: 60%"
140
+ class="select_list select"
141
+ :options='$parent.$parent.repairStateOptions' placeholder='请选择'
142
+ :multiple="true"
143
+ condition="f_is_repaired in {}"></v-select>
144
+ </div>
145
+ <div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow" >
146
+ <label class="font_normal_body">处理人</label>
147
+ <input type="text" class="input_search" v-model="model.f_repairman"
148
+ style="width: 60%" placeholder="处理人" condition="f_repairman = '{}'">
149
+ </div>
150
+ <div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow">
151
+ <label for="startDate" class="font_normal_body">处理时间:</label>
152
+ <datepicker id="startDate" placeholder="处理开始日期"
153
+ style="width: 60%!important;"
154
+ v-model="model.sq_startDate"
155
+ :value.sync="model.sq_startDate"
156
+ :format="'yyyy-MM-dd 00:00:00'"
157
+ :show-reset-button="true"
158
+ condition="f_repair_date >= '{}'">
159
+ </datepicker>
160
+ </div>
161
+ <div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow">
162
+ <label for="endDate" class="font_normal_body">处理时间:</label>
163
+ <datepicker id="endDate" placeholder="处理结束日期"
164
+ style="width: 60%!important;"
165
+ v-model="model.sq_endDate"
166
+ :value.sync="model.sq_endDate"
167
+ :format="'yyyy-MM-dd 23:59:59'"
168
+ :show-reset-button="true"
169
+ condition="f_repair_date<= '{}'">
170
+ </datepicker>
171
+ </div>
172
+ <div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow" >
173
+ <label class="font_normal_body">开户时间</label>
174
+ <datepicker
175
+ :value.sync="model.f_check_gasstart"
176
+ placeholder='开始时间' style="width: 60%"
177
+ :format="'yyyy-MM-dd'"
178
+ :show-rest-button="true"
179
+ v-model="model.f_check_gasstart"
180
+ condition="f_gas_date > ='{} 00:00:00'">
181
+ </datepicker>
182
+ </div>
183
+ <div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow" >
184
+ <label class="font_normal_body">开户时间</label>
185
+ <datepicker
186
+ :value.sync="model.f_check_gasend"
187
+ placeholder='结束时间' style="width: 60%"
188
+ :format="'yyyy-MM-dd'"
189
+ :show-rest-button="true"
190
+ v-model="model.f_check_gasend"
191
+ condition="f_gas_date <= '{} 23:59:59'">
192
+ </datepicker>
193
+ </div>
194
+ </div>
195
+ <modal :show.sync="$parent.$parent.showModal" v-ref:modal>
196
+ <div slot="modal-header" class="modal-header">
197
+ <h4 class="modal-title">
198
+ 选择计划
199
+ </h4>
200
+ </div>
201
+ <div slot="modal-body" class="modal-body">
202
+ <plan-chooser :f.sync="$parent.$parent.fun" v-ref:chooser></plan-chooser>
203
+ </div>
204
+ <div slot="modal-footer" class="modal-footer" style="text-align: center">
205
+ <button class="button_search" @click="$parent.$parent.ok">确认</button>
206
+ <button class="button_search" @click="$parent.$parent.cancel">取消</button>
207
+ </div>
208
+ </modal>
209
+ </div>
210
+ </criteria>
211
+ <data-grid class="list_area table_sy" style="overflow: hidden" :model="model" partial='list' v-ref:grid>
212
+ <template partial='head'>
213
+ <tr>
214
+ <th v-if="$parent.$parent.$parent.canToRepair=='是'"><nobr>选择</nobr></th>
215
+ <th>
216
+ <nobr>检查项</nobr>
217
+ </th>
218
+ <th>
219
+ <nobr>隐患原因</nobr>
220
+ </th>
221
+ <th>
222
+ <nobr>隐患级别</nobr>
223
+ </th>
224
+ <th>
225
+ <nobr>客户编号</nobr>
226
+ </th>
227
+ <th>
228
+ <nobr>客户名称</nobr>
229
+ </th>
230
+ <th>
231
+ <nobr>客户电话</nobr>
232
+ </th>
233
+ <th>
234
+ <nobr>客户小区</nobr>
235
+ </th>
236
+ <th>
237
+ <data-order field="f_address" name="客户地址"></data-order>
238
+ </th>
239
+
240
+ <th>
241
+ <data-order field="f_offsite_time" name="安检时间"></data-order>
242
+ </th>
243
+ <th>
244
+ <nobr>安检员</nobr>
245
+ </th>
246
+ <th>
247
+ <nobr>隐患状态</nobr>
248
+ </th>
249
+ <th>
250
+ <nobr>处理人</nobr>
251
+ </th>
252
+ <th>
253
+ <nobr>处理方式</nobr>
254
+ </th>
255
+ <th>
256
+ <nobr>处理时效</nobr>
257
+ </th>
258
+ <th>
259
+ <nobr>处理时间</nobr>
260
+ </th>
261
+ <th>
262
+ <nobr>工单编号</nobr>
263
+ </th>
264
+ <th>
265
+ <nobr>转单类型</nobr>
266
+ </th>
267
+ <th>
268
+ <nobr>接收人</nobr>
269
+ </th>
270
+ </tr>
271
+ </template>
272
+ <template partial='body' >
273
+ <tr >
274
+ <td v-if="$parent.$parent.$parent.canToRepair=='是'" style="text-align: center;white-space:nowrap;" ><input type="checkbox" v-if="['用户自行整改', '现场已处理', '维修已处理', '转维修'].indexOf(row.f_is_repaired) == -1" @click="$event.cancelBubble=true" :checked="$parent.$parent.$parent.isChecked(row)" @change="$parent.$parent.$parent.setCheckes(row)"></input></td>
275
+ <td style="text-align: center" :class="[$parent.$parent.$parent.isRepart(row) ? 'p1' :'' ]" >{{row.f_device_type}}</td>
276
+ <td style="text-align: center" :class="[$parent.$parent.$parent.isRepart(row) ? 'p1' :'' ]">{{row.f_item_name}}/{{row.f_item_value}}</td>
277
+ <td style="text-align: center" :class="[$parent.$parent.$parent.isRepart(row) ? 'p1' :'' ]">{{row.f_defect_level}}</td>
278
+ <td style="text-align: center" :class="[$parent.$parent.$parent.isRepart(row) ? 'p1' :'' ]">{{row.f_userinfo_code}}</td>
279
+ <td style="text-align: center" :class="[$parent.$parent.$parent.isRepart(row) ? 'p1' :'' ]">{{row.f_user_name}}</td>
280
+ <td style="text-align: center" :class="[$parent.$parent.$parent.isRepart(row) ? 'p1' :'' ]">{{row.f_user_phone}}</td>
281
+ <td style="text-align: center" :class="[$parent.$parent.$parent.isRepart(row) ? 'p1' :'' ]">{{row.f_residential_area}}</td>
282
+ <td style="text-align: center" :class="[$parent.$parent.$parent.isRepart(row) ? 'p1' :'' ]">{{row.f_address}}</td>
283
+ <td style="text-align: center" :class="[$parent.$parent.$parent.isRepart(row) ? 'p1' :'' ]">{{row.f_offsite_time}}</td>
284
+ <td style="text-align: center" :class="[$parent.$parent.$parent.isRepart(row) ? 'p1' :'' ]">{{row.f_checker_name}}</td>
285
+ <td style="text-align: center" :class="[$parent.$parent.$parent.isRepart(row) ? 'p1' :'' ]">{{row.f_is_repaired}}</td>
286
+ <td style="text-align: center" :class="[$parent.$parent.$parent.isRepart(row) ? 'p1' :'' ]">{{row.f_repairman}}</td>
287
+ <td style="text-align: center" :class="[$parent.$parent.$parent.isRepart(row) ? 'p1' :'' ]">{{row.f_deal_dispose}}</td>
288
+ <td style="text-align: center" :class="[$parent.$parent.$parent.isRepart(row) ? 'p1' :'' ]">{{row.f_handle_date}}</td>
289
+ <td style="text-align: center" :class="[$parent.$parent.$parent.isRepart(row) ? 'p1' :'' ]">{{row.f_repair_date}}</td>
290
+ <td style="text-align: center" :class="[$parent.$parent.$parent.isRepart(row) ? 'p1' :'' ]">{{row.f_service_id}}</td>
291
+ <td style="text-align: center" :class="[$parent.$parent.$parent.isRepart(row) ? 'p1' :'' ]">{{row.f_handlingtype}}</td>
292
+ <td style="text-align: center" :class="[$parent.$parent.$parent.isRepart(row) ? 'p1' :'' ]">{{row.f_order_man}}</td>
293
+ </tr >
294
+ </template>
295
+ </data-grid>
296
+ </criteria-paged>
297
+ <check-msg v-if="showcheckmsg" :show="showcheckmsg" :data="checkInfo"></check-msg>
298
+ <modal :show.sync="showModal2" :backdrop="false">
299
+ <div slot="modal-header" class="modal-header">
300
+ <h4 class="modal-title">
301
+ 转维修
302
+ </h4>
303
+ </div>
304
+ <div slot="modal-body" class="modal-body">
305
+ <div v-if="true">
306
+ <div>
307
+
308
+ </div>
309
+ <!-- <div v-for="(index, item) in dangerGroup">-->
310
+
311
+ <!-- </div>-->
312
+ <div class="row" style="margin-top: 10px">
313
+ <label class="control-label font text-left" style="float:left;margin-left:20%;margin-top:5px">派发类型</label>
314
+ <div class="col-xs-8 col-md-8">
315
+ <v-select :value.sync="selectData.dispatchType" :value-single="true" v-model="selectData.dispatchType"
316
+ :options='dispatchTypeOptions' placeholder='派发类型'
317
+ close-on-select>
318
+ </v-select>
319
+ </div>
320
+ </div>
321
+ <div class="row" style="margin-top: 10px" v-if="selectData.dispatchType=='派发给维修员'">
322
+ <label class="control-label font text-left" style="float:left;margin-left:20%;margin-top:5px">维&ensp;修&ensp;员</label>
323
+ <div class="col-xs-8 col-md-8">
324
+ <v-select
325
+ :value.sync="selectData.f_repairman"
326
+ :value-single="true"
327
+ :options='repairers'
328
+ placeholder='请选择维修员'
329
+ close-on-select></v-select>
330
+ </div>
331
+ </div>
332
+ <div class="row" style="margin-top: 10px" v-if="selectData.dispatchType=='派发给站点'">
333
+ <label class="control-label font text-left" style="float:left;margin-left:20%;margin-top:5px">站&ensp;&ensp;&ensp;&ensp;点</label>
334
+ <div class="col-xs-8 col-md-8">
335
+ <right-tree
336
+ islist
337
+ :userid="userid"
338
+ :source="'dep=this.getParentByType($organization$).getSpecialResByType($department$),tool.getFullTree(dep.where(row.hasSpecialRole($派单员$)))'"
339
+ @re-res="getSiteRes"></right-tree>
340
+ </div>
341
+ </div>
342
+ <div class="row" style="margin-top: 10px">
343
+ <label class="control-label font text-left" style="float:left;margin-left:20%;margin-top:5px">报修类型</label>
344
+ <div class="col-xs-8 col-md-8">
345
+ <v-select :value.sync="selectData.f_repairtype" style="width:60%"
346
+ class="select select_list"
347
+ :value-single="true"
348
+ :options='repairTypeOptions'
349
+ close-on-select>
350
+ </v-select>
351
+ </div>
352
+ </div>
353
+ <div class="row" style="margin-top: 10px">
354
+ <label class="control-label font text-left" style="float:left;margin-left:20%;margin-top:5px">备&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;注</label>
355
+ <div class="col-xs-8 col-md-8">
356
+ <textarea style="width: 60%; height: 100px" v-model="selectData.f_remarks"></textarea>
357
+ </div>
358
+ </div>
359
+ </div>
360
+ </div>
361
+ <div slot="modal-footer" class="modal-footer" style="text-align: center">
362
+ <button class="button_search" @click="rectification">转维修</button>
363
+ <button class="button_search" @click="cancel1">取消</button>
364
+ </div>
365
+ </modal>
366
+ <modal :show.sync="showModal3">
367
+ <div slot="modal-header" class="modal-header">
368
+ <h4 class="modal-title">
369
+ 转维修进度{{ progressbarWidth }}%
370
+ </h4>
371
+ </div>
372
+ <div slot="modal-body" class="modal-body">
373
+ <div class="progress">
374
+ <div class="progress-bar" role="progressbar" aria-valuenow="60"
375
+ aria-valuemin="0" aria-valuemax="100" :style="'width:'+ progressbarWidth+'%'">
376
+ </div>
377
+ </div>
378
+ </div>
379
+ <div slot="modal-footer" class="modal-footer" style="text-align: center" v-show="false"></div>
380
+ </modal>
381
+ </div>
382
+ </div>
383
+ </template>
384
+
385
+ <script>
386
+ import {PagedList} from 'vue-client'
387
+ import Vue from 'vue'
388
+ import co from 'co'
389
+ import HttpResetClass from "vue-client/src/plugins/HttpResetClass";
390
+ //获取json配置文件
391
+ let asyncReady = async function (self) {
392
+ // 获取配置信息
393
+ try {
394
+ let res = await Vue.resetget(`/phone/rs/vue`, {data: {}}, {resolveMsg: null, rejectMsg: null})
395
+ Vue.config = res.data
396
+ self.getDefectInfoConfig(res.data)
397
+ } catch (error) {
398
+ // 忽略704,文件找不到异常R
399
+ if (error.status !== 704) {
400
+ throw error
401
+ }
402
+ }
403
+ }
404
+
405
+ let select = function* (self) {
406
+ let http = new HttpResetClass()
407
+ let getGasman = yield http.load('POST', '/rs/search', {
408
+ source: 'this.getParentByType($department$).getAllChildrens().where(row.getAttributes().get($rolestr$).indexOf($安检员$) != -1))',
409
+ userid: self.$login.f.id
410
+ }, {resolveMsg: null, rejectMsg: null})
411
+ ////tag
412
+ self.checkersid.push({label: '全部', value: ''})
413
+ getGasman.data.forEach((checker) => {
414
+ self.checkersid.push({label: checker.name, value: checker.id})
415
+ })
416
+ }
417
+
418
+ export default {
419
+ title: '隐患明细查看',
420
+ data() {
421
+ let model = new PagedList('api/af-safecheck/sql/defectDetails', 20,{
422
+ f_filialeid: 'this.f_filialeid'
423
+ })
424
+ model.f_plan_id = ''
425
+ model.f_approved = ''
426
+ model.f_entry = ''
427
+ model.f_no_checkplan = ''
428
+ model.f_check_type=''
429
+ model.f_filialeid = `('${this.$login.f.orgid}')`
430
+ return {
431
+ audioshow:false,
432
+
433
+ model: model,
434
+ deal_dispose:[{label:'全部',value:''},{label:'报修',value:'报修'},{label:'现场整改',value:'现场整改'},{label:'自行处理',value:'自行处理'},{label:'未处理',value:'未处理'}],
435
+ repairStateOptions: this.getSafeParam('隐患状态'),
436
+ //searchData:searchData,
437
+ excelHeaders: {
438
+ 'f_device_type': '检查项',
439
+ 'f_item_name': '隐患名称',
440
+ 'f_userinfo_code': '客户编号',
441
+ 'f_user_name': '客户姓名',
442
+ 'f_user_phone': '客户电话',
443
+ 'f_residential_area': '小区',
444
+ 'f_address': '客户地址',
445
+ 'f_offsite_time': '安检时间',
446
+ 'f_checker_name': '安检员',
447
+ 'f_deal_dispose': '处理方式',
448
+ 'f_is_repaired': '隐患状态',
449
+ 'f_repairman':'处理人',
450
+ 'f_repair_date':'处理时间'
451
+ },
452
+ fun: this.$login.f,
453
+ checkersid: [],
454
+ safetype: this.getSafeParam('安检类型'),
455
+ criteriaShow: false,
456
+ showModal: false,
457
+ f_approval_states: this.getSafeParam('安检单审核状态'),
458
+ f_entry_status:this.getSafeParam('安检状态'),
459
+ f_checkplans: this.getSafeParam('有无计划'),
460
+ showcheckmsg: false,
461
+ checkInfo: {},
462
+ orderDefault: "'f_offsite_time'",
463
+ orderFields: {
464
+ f_offsite_time: 'no'
465
+ },
466
+ sliceArea: [],
467
+ cbc:[],
468
+ DefectConfig:'' ,
469
+ DefectConfigs:[{label:'全部',value:''},{label: '金额异常差值', value: '金额异常差值'},{label: '气量异常差值', value: '气量异常差值'}],
470
+ device_types:[{label:'全部',value:''}],
471
+ f_check_type:[{label:'全部',value:''},{label:'民用',value:'民用'},{label:'非民用',value:'非民用'}],
472
+ showModal2: false,
473
+ selectData:{
474
+ dispatchType:'',
475
+ f_repairman:'',
476
+ f_remarks:'',
477
+ f_repairtype:''
478
+ },
479
+ repairers: [],
480
+ repairTypeOptions:this.$appdata.getParam('报修类型'),
481
+ dispatchTypeOptions: [{label: '派发给站点', value: '派发给站点'},{label: '派发给维修员', value: '派发给维修员'}],
482
+ dangerGroups: [],
483
+ showModal3: false,
484
+ progressbarWidth:'0',
485
+ canToRepair: this.$appdata.getSingleValue('隐患明细转维修'),
486
+ checkes: []
487
+ }
488
+ },
489
+ computed :{
490
+ searchData() {
491
+ return {condition: this.model.condition}
492
+ }
493
+ },
494
+ methods: {
495
+ isRepart(row) {
496
+ if (row.f_deal_dispose === '自行处理' && row.f_repairman === '***') {
497
+ // 获取当前时间 yyyy-mm-dd
498
+ let now = new Date();
499
+ let currentDate = new Date(now.getFullYear(), now.getMonth(), now.getDate());
500
+ // 将row.f_handle_date转换为Date对象并提取日期部分(假设row.f_handle_date是一个有效的日期字符串)
501
+ let handleDateString = row.f_handle_date.split(' ')[0]; // 提取日期部分(yyyy-mm-dd)
502
+ let handleDateParts = handleDateString.split('-');
503
+ let handleDate = new Date(handleDateParts[0], handleDateParts[1] - 1, handleDateParts[2]);
504
+ // 比较当前日期与row.f_handle_date的日期部分
505
+ if (currentDate.getTime() === handleDate.getTime()) {
506
+ return true
507
+ } else if (currentDate.getTime() > handleDate.getTime()) {
508
+ return true
509
+ } else if(currentDate.getTime()<handleDate.getTime()) {
510
+ return false
511
+ }
512
+ }else{
513
+ return false
514
+ }
515
+ },
516
+ isChecked(row) {
517
+ return this.checkes.findIndex(item => item.f_defect_id == row.f_defect_id) != -1
518
+ },
519
+ setCheckes(row) {
520
+ let index=this.checkes.findIndex(item => item.f_defect_id == row.f_defect_id)
521
+ if(index<0){
522
+ this.checkes.push(row)
523
+ }else{
524
+ this.checkes.splice(index,1)
525
+ }
526
+ console.log('this.checkes=', JSON.stringify(this.checkes))
527
+ },
528
+ toRepair(){
529
+ console.log('this.checkes=', JSON.stringify(this.checkes))
530
+ if(this.checkes.length==0){
531
+ return this.$showMessage('请先选择需要转维修的隐患!')
532
+ }
533
+
534
+ const dangerGroups = []
535
+ for (const danger of this.checkes) {
536
+ let i = dangerGroups.findIndex(dangerGroup => dangerGroup.f_userinfo_code === danger.f_userinfo_code)
537
+ if (i == -1){
538
+ dangerGroups.push({
539
+ f_userinfo_code: danger.f_userinfo_code,
540
+ dangers: []
541
+ })
542
+ i = dangerGroups.length - 1
543
+ }
544
+ dangerGroups[i].dangers.push(danger)
545
+ }
546
+ this.dangerGroups = dangerGroups
547
+ console.log('this.dangerGroups=', JSON.stringify(this.dangerGroups))
548
+ this.showModal2=true
549
+ },
550
+ getEmp() {
551
+ let val = {source: 'this.getParentByType($organization$).getSpecialResByType($user$).where(row.getAttributes().get($rolestr$)!=null ).where(row.getAttributes().get($rolestr$).indexOf($维修员$) != -1))', userid: `${this.$login.f.id}`}
552
+ let http = new HttpResetClass()
553
+ http.load('POST', '/rs/search', {data: val}, {resolveMsg: null, rejectMsg: null}).then((res) => {
554
+ if (res.data.length == 0){
555
+ this.repairers= []
556
+ return
557
+ }
558
+ let str=``
559
+ res.data.forEach((item,idx,arr) => {
560
+ if(idx+1==arr.length){
561
+ str += item.id
562
+ }else{
563
+ str += item.id+`','`
564
+ }
565
+ })
566
+ let http1 = new HttpResetClass()
567
+ http1.load('POST', 'api/af-safecheck/sql/safe_singleTable_OrderBy', {
568
+ data: {
569
+ items: 'id,f_user_telephone',
570
+ tablename: 't_user',
571
+ condition: `id in ('${str}')`,
572
+ orderitem: 'id'
573
+ }
574
+ }, {resolveMsg: null, rejectMsg: null}).then((ress) => {
575
+ res.data.forEach((user)=>{
576
+ try {
577
+ ress.data.forEach((tel,tidx,arr)=>{
578
+ if(user.id==tel.id){
579
+ this.repairers.push({label: `${user.name}:${tel.f_user_telephone}`, value: user.name})
580
+ ress.data.splice(tidx,1)
581
+ }
582
+ })
583
+ }catch (e) {
584
+ }
585
+ })
586
+ }).catch(error=>{
587
+ res.data.forEach((user)=>{
588
+ this.repairers.push({label: user.name, value: user.name})
589
+ })
590
+ })
591
+
592
+ })
593
+ },
594
+ getSiteRes(obj) {
595
+ console.log('siteRes ---> ')
596
+ console.log(obj)
597
+ if(obj.resids[0]){
598
+ this.selectData.f_meetunit = obj.res.join('.')
599
+ this.selectData.f_reciever = obj.resids.join('.')
600
+ this.selectData.f_outlets = obj.res[obj.res.length - 1]
601
+ }else {
602
+ this.selectData.f_meetunit = ''
603
+ this.selectData.f_reciever = ''
604
+ this.selectData.f_outlets = ''
605
+ }
606
+ },
607
+ cancel1(){
608
+ this.showModal2=false
609
+ this.selectData={
610
+ dispatchType:'',
611
+ f_repairman:'',
612
+ f_remarks:'',
613
+ f_repairtype:''
614
+ }
615
+ },
616
+ async rectification(){
617
+ if(this.selectData.dispatchType){
618
+ if(this.selectData.dispatchType=='派发给站点'){
619
+ if(!this.selectData.f_reciever){
620
+ this.$showMessage('请选择部门!')
621
+ return
622
+ }
623
+ }else{
624
+ if(!this.selectData.f_repairman){
625
+ this.$showMessage('请选择维修员!')
626
+ return
627
+ }
628
+ }
629
+ }else {
630
+ this.$showMessage('请选择派发类型!')
631
+ return
632
+ }
633
+
634
+ if(!this.selectData.f_repairtype){
635
+ this.$showMessage('请选择报修类型!')
636
+ return
637
+ }
638
+ this.showModal3=true
639
+ let act={}
640
+ let toRepair=''
641
+ let successCount=0
642
+ if(this.selectData.dispatchType=='派发给站点'){
643
+ act={f_meetunit:this.selectData.f_meetunit,f_reciever:this.selectData.f_reciever,f_service_acitivity_type:'派单'}
644
+ toRepair=null
645
+ }else{
646
+ console.log('派发给维修员---------'+this.selectData.f_repairman)
647
+ act={f_meetunit:'',f_reciever:this.selectData.f_repairman,f_service_acitivity_type:'派单'}
648
+ toRepair='一级派单'
649
+ }
650
+ let rep={
651
+ loginUser: {
652
+ name: this.$login.f.name,
653
+ ename: this.$login.f.ename
654
+ },
655
+ f_meetunit: this.$login.f.deps,
656
+ f_attendant: this.$login.f.name,
657
+ f_outlets: this.$login.f.deps,
658
+ f_remarks: this.selectData.f_remarks,
659
+ f_repairtype: this.selectData.f_repairtype,
660
+ toRepair: toRepair,
661
+ activity:act
662
+ }
663
+ for(let i=0; i<this.dangerGroups.length; i++){
664
+ let defectIdStr = ''
665
+ const defectIds = []
666
+ for (let j = 0; j < this.dangerGroups[i].dangers.length; j++) {
667
+ defectIds.push(`'${this.dangerGroups[i].dangers[j].f_defect_id}'`)
668
+ }
669
+ defectIdStr = `(${defectIds.join(',')})`
670
+ const data = {
671
+ id:this.dangerGroups[i].dangers[0].f_paper_id,
672
+ repData:rep,
673
+ source:'pc',
674
+ defectIdStr: defectIdStr
675
+ }
676
+ console.log('data=', JSON.stringify(data))
677
+ try {
678
+ let result =await new HttpResetClass().load('post','/api/af-safecheck/logic/phoneUploadRectification', data, {resolveMsg: null, rejectMsg: null})
679
+ if (result.data.code==200) {
680
+ successCount += result.data.successcon
681
+ this.progressbarWidth=Math.ceil((i+1)*100/(this.dangerGroups.length))
682
+ }
683
+ }catch (e) {
684
+ this.showModal3=false
685
+ this.$showMessage('网络异常,请稍后再试!')
686
+ return
687
+ }
688
+ }
689
+ this.showModal3=false
690
+ this.cancel1()
691
+ this.$showMessage('本次转维修成功'+successCount+'单')
692
+ },
693
+ getDefectInfoConfig(val){
694
+ try {
695
+ if (val.safecheck.DevicesSetConfig != undefined) {
696
+ this.DefectConfig = val.safecheck.DevicesConfig
697
+ // 获取到配置项,进行遍历,获取每个隐患项
698
+ for (var Key1 in this.DefectConfig){
699
+ this.device_types.push({label:Key1,value:Key1})
700
+ for(var Key2 in this.DefectConfig[Key1].items){
701
+ this.DefectConfigs.push({label:Key2,value:Key2})
702
+ }
703
+ }
704
+ // 非民用或其他配置项加入,在进行遍历
705
+ }
706
+ }catch (e) {
707
+ //tag
708
+ }
709
+ },
710
+ showaudio(){
711
+ //tag
712
+ this.audioshow=!this.audioshow
713
+ //tag
714
+ },
715
+ getmeterbook(val){
716
+ this.cbc=[]
717
+ this.cbc.push({
718
+ label:'全部',
719
+ value:''
720
+ })
721
+ if (val==''){
722
+
723
+ this.cbcs.forEach(res=>{
724
+ this.cbc.push({
725
+ label:res.f_book_name,
726
+ value:res.id
727
+ })
728
+ })
729
+ }else{
730
+ this.cbcs.forEach(res=>{
731
+ if (res.f_book_slice_area==val){
732
+ this.cbc.push({
733
+ label:res.f_book_name,
734
+ value:res.id
735
+ })
736
+ }
737
+ })
738
+ }
739
+ },
740
+ getSafeParam(val){
741
+ if(this.$appdata.getParam(val)){
742
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam(val)]
743
+ }else{
744
+ return [{label: '全部', value: ''}]
745
+ }
746
+
747
+ },
748
+ Mreadibook(val){
749
+ ////tag
750
+ ////tag
751
+ this.sliceArea=[]
752
+ if (val){
753
+ new HttpResetClass().load('POST',`/api/af-safecheck/sql/safe_singleTable_OrderBy`, {data: {
754
+ items: 'name',
755
+ tablename: 't_zone',
756
+ condition: `parentid in ${val}`,
757
+ orderitem: 'id'
758
+ }}, {resolveMsg: null, rejectMsg: null}).then((res) => {
759
+ this.sliceArea.push({
760
+ label:'全部',
761
+ value:''
762
+ })
763
+ res.data.forEach(ress=>{
764
+ this.sliceArea.push({
765
+ label:ress.name,
766
+ value:ress.name
767
+ })
768
+ })
769
+
770
+ })
771
+ }
772
+ },
773
+ getAllMeterBook(val){
774
+ ////tag
775
+ ////tag
776
+ this.cbcs=[]
777
+ if (val){
778
+ new HttpResetClass().load('POST',`/api/af-safecheck/sql/safe_singleTable_OrderBy`, {data: {
779
+ items: 'f_book_name,f_book_slice_area,id',
780
+ tablename: 't_meter_book',
781
+ condition: `f_filiale_id in ${val}`,
782
+ orderitem: 'id'
783
+ }}, {resolveMsg: null, rejectMsg: null}).then((res) => {
784
+ res.data.forEach(ress=>{
785
+ this.cbcs.push({
786
+ id:ress.id,
787
+ f_book_name:ress.f_book_name,
788
+ f_book_slice_area:ress.f_book_slice_area
789
+ })
790
+ })
791
+ this.cbc=[]
792
+ this.cbc.push({
793
+ label:'全部',
794
+ value:''
795
+ })
796
+ this.cbcs.forEach(res=>{
797
+ this.cbc.push({
798
+ label:res.f_book_name,
799
+ value:res.id
800
+ })
801
+ })
802
+ })
803
+ }
804
+ },
805
+ getRes(obj) {
806
+ this.model.f_filialeid = this.$login.convertToIn(obj.resids);
807
+ this.searchData.f_filialeid = this.$login.convertToIn(obj.resids);
808
+ this.Mreadibook(this.model.f_filialeid)
809
+ this.getAllMeterBook(this.model.f_filialeid)
810
+ //this.$refs.paged.$refs.criteria.search()
811
+ },
812
+
813
+ change(row) {
814
+ // Vue.$login = {jwt: row.f_checker_id}
815
+ asyncReady(this).then(() => {
816
+ ////tag)
817
+ row.f_upload_state = '已传'
818
+ this.$goto('new-check-paper', {f_plan_id: row.f_check_plan_id, item: row, role: 'view'}, 'self')
819
+ }).catch(
820
+ (respanse) => {
821
+ alert('获取配置文件失败')
822
+ })
823
+ },
824
+ readConfig() {
825
+ let gen = asyncReady(this)
826
+ return co(gen)
827
+ },
828
+ showChooser() {
829
+ this.showModal = true
830
+ },
831
+ hidden() {
832
+ this.criteriaShow = !this.criteriaShow
833
+ },
834
+ refresh() {
835
+ this.$refs.paged.$refs.criteria.search()
836
+ },
837
+ ok() {
838
+ this.showModal = false
839
+ if (this.$refs.paged.$refs.criteria.$refs.modal.$children[0].selectedRow.id) {
840
+ this.model.f_plan_id = this.$refs.paged.$refs.criteria.$refs.modal.$children[0].selectedRow.id
841
+ this.model.f_check_plan=this.$refs.paged.$refs.criteria.$refs.modal.$children[0].selectedRow
842
+ }
843
+ },
844
+ cancel() {
845
+ this.showModal = false
846
+ this.model.f_check_plan = {f_plan_name: '', id: ''}
847
+ this.model.f_plan_id=''
848
+ },
849
+ print(row) {
850
+ this.showcheckmsg = true
851
+ this.checkInfo = row
852
+ },
853
+
854
+ sort(field, rule) {
855
+ // 将所有排序方式设为不排序,实现相互排斥
856
+ for (let key in this.orderFields) {
857
+ if (key === field) {
858
+ this.orderFields[key] = rule
859
+ } else {
860
+ this.orderFields[key] = 'no'
861
+ }
862
+ }
863
+ // 如果新规则不排序,还原为默认排序
864
+ if (rule === 'no') {
865
+ this.model.paramSource.orderitem = `'${this.orderDefault}'`
866
+ } else {
867
+ this.model.paramSource.orderitem = `'${field} ${rule}'`
868
+ }
869
+ this.search()
870
+ },
871
+ search() {
872
+ this.$refs.paged.$refs.criteria.search()
873
+ },
874
+ selfSearch(args) {
875
+ ////tag
876
+ args.condition += ` and f_filialeid in ${this.model.f_filialeid}`
877
+ this.model.search(args.condition, args.model, args.condValue)
878
+ }
879
+ },
880
+
881
+ ready() {
882
+ this.getEmp()
883
+ this.readConfig()
884
+ ////tag
885
+ this.function = this.f
886
+ ////tag
887
+
888
+ let gen = select(this)
889
+ //this.pianqu()
890
+ this.Mreadibook(`('${this.$login.f.orgid}')`)
891
+ co(gen)
892
+ }
893
+ }
894
+ </script>
895
+