safecheck-client 3.0.33-16 → 3.0.33-160

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 (165) hide show
  1. package/index.html +6 -2
  2. package/package.json +133 -133
  3. package/src/App.vue +2 -2
  4. package/src/components/Util/ImgSelfSafePlus.vue +19 -10
  5. package/src/components/Util.js +7 -0
  6. package/src/components/android/AreaPlan.vue +2 -1
  7. package/src/components/android/CurrentCreate.vue +1 -1
  8. package/src/components/android/ImgSelfAndroid.vue +1 -1
  9. package/src/components/android/SafecheckDevices.vue +5 -1
  10. package/src/components/android/SafecheckOrderV.vue +18 -12
  11. package/src/components/map/checkScreen.vue +27 -21
  12. package/src/components/paper/PlanChooser.vue +4 -2
  13. package/src/components/pc/NewCheckpaper.vue +11 -8
  14. package/src/components/planmanage/PlanManage.vue +14 -4
  15. package/src/components/planmanage/checkPlanList.vue +2 -1
  16. package/src/components/planmanage/checkUserList.vue +2 -0
  17. package/src/components/report/HiddenSituation.vue +3 -3
  18. package/src/components/rongcheng/AspiratedPaperFeedbackm.vue +28 -2
  19. package/src/components/rongcheng/AspiratedPaperMessage.vue +1 -1
  20. package/src/components/rongcheng/DefectPaper.vue +1 -1
  21. package/src/components/rongcheng/PaperListNPSQ.vue +36 -1
  22. package/src/components/rongcheng/PaperListSQ.vue +32 -11
  23. package/src/components/rongcheng/PhoneUpUserinfo.vue +939 -802
  24. package/src/components/rongcheng/SafecheckOrderV.vue +1 -1
  25. package/src/components/rongcheng/report/CheckPlanAreaList.vue +1 -3
  26. package/src/components/safecheckNew/PaperList.vue +785 -0
  27. package/src/components/safecheckNew/android/AddPlanItem.vue +419 -0
  28. package/src/components/safecheckNew/android/AreaPlan.vue +561 -0
  29. package/src/components/safecheckNew/android/CurrentCreate.vue +1050 -0
  30. package/src/components/safecheckNew/android/Recheck.vue +379 -0
  31. package/src/components/safecheckNew/android/SafecheckDevices.vue +1400 -0
  32. package/src/components/safecheckNew/android/SafecheckOrderV.vue +2692 -0
  33. package/src/filiale/Util.js +5 -0
  34. package/src/filiale/baiyin/android/AndroidDefectDeal.vue +633 -0
  35. package/src/filiale/baiyin/android.js +10 -0
  36. package/src/filiale/baiyin/pc/PaperList.vue +790 -0
  37. package/src/filiale/baiyin/pc/PlanChooser.vue +167 -0
  38. package/src/filiale/baiyin/pc/PlanManage.vue +834 -0
  39. package/src/filiale/baiyin/pc/RightTreeSafe.vue +348 -0
  40. package/src/filiale/baiyin/pc/RoleSelector.vue +160 -0
  41. package/src/filiale/baiyin/pc.js +17 -0
  42. package/src/filiale/bayan/android/AddPlanItem.vue +7 -2
  43. package/src/filiale/bayan/android/CheckPlanDown.vue +249 -0
  44. package/src/filiale/bayan/android/SafecheckOrderV.vue +20 -7
  45. package/src/filiale/bayan/android/SafecheckUserInfo.vue +566 -514
  46. package/src/filiale/bayan/android.js +1 -0
  47. package/src/filiale/bayan/pc/CheckDetail.vue +205 -0
  48. package/src/filiale/bayan/pc/CheckPlan.vue +59 -0
  49. package/src/filiale/bayan/pc/CheckPlanAreaList.vue +565 -0
  50. package/src/filiale/bayan/pc/CheckSearchUser.vue +1110 -0
  51. package/src/filiale/bayan/pc/DefectListNew.vue +597 -0
  52. package/src/filiale/bayan/pc/DefectMainNew.vue +63 -0
  53. package/src/filiale/bayan/pc/DefectPaperNew.vue +1218 -0
  54. package/src/filiale/bayan/pc/DeviceChange.vue +1838 -0
  55. package/src/filiale/bayan/pc/HiddenSituation.vue +256 -0
  56. package/src/filiale/bayan/pc/NewCheckpaper.vue +31 -1
  57. package/src/filiale/bayan/pc/PaperList.vue +119 -12
  58. package/src/filiale/bayan/pc/PlanManage.vue +29 -8
  59. package/src/filiale/bayan/pc/SelectCheckPlan.vue +333 -0
  60. package/src/filiale/bayan/pc.js +7 -0
  61. package/src/filiale/dexin/android/SafecheckOrderV.vue +123 -24
  62. package/src/filiale/fugou/android/SafecheckOrderV.vue +2796 -0
  63. package/src/filiale/fugou/android.js +2 -1
  64. package/src/filiale/fugou/pc/AddToCheckBook.vue +13 -14
  65. package/src/filiale/fugou/pc/CheckBook.vue +2 -0
  66. package/src/filiale/fugou/pc/CheckBookEntry.vue +2 -6
  67. package/src/filiale/fugou/pc/CheckBookList.vue +2 -2
  68. package/src/filiale/fugou/pc/CheckBookSearchUser.vue +35 -18
  69. package/src/filiale/fugou/pc/CheckBookUser.vue +102 -45
  70. package/src/filiale/fugou/pc/DefectPaperNew.vue +10 -6
  71. package/src/filiale/fugou/pc/PaperDefectMain.vue +12 -6
  72. package/src/filiale/fugou/pc/PaperList.vue +14 -6
  73. package/src/filiale/fugou/pc/PlanManage.vue +62 -8
  74. package/src/filiale/fugou/pc/checkUserList.vue +36 -35
  75. package/src/filiale/hanzhong/pc/CheckHiddenDanger.vue +15 -5
  76. package/src/filiale/hanzhong/pc/CheckSafeDetail.vue +12 -2
  77. package/src/filiale/hanzhong/pc/CheckSafeStatus.vue +12 -3
  78. package/src/filiale/hanzhong/pc/CheckSearchUser.vue +13 -0
  79. package/src/filiale/hanzhong/pc/CheckUserList.vue +30 -11
  80. package/src/filiale/hanzhong/pc/CheckerSafeDetail.vue +11 -2
  81. package/src/filiale/jingyang/pc/ReportCheckItemList.vue +543 -0
  82. package/src/filiale/jingyang/pc.js +1 -0
  83. package/src/filiale/kelai/pc/CheckPlanAreaList.vue +2 -22
  84. package/src/filiale/liaoyuan/pc/checkPlanList.vue +373 -0
  85. package/src/filiale/liaoyuan/pc.js +2 -1
  86. package/src/filiale/qianneng/pc/PaperList.vue +31 -1
  87. package/src/filiale/qingjian/android/PhoneUpUserinfo.vue +7 -5
  88. package/src/filiale/qingjian/android/SafecheckOrderV.vue +66 -1
  89. package/src/filiale/rongchuang/android/SafecheckDevices.vue +468 -748
  90. package/src/filiale/rongchuang/android/SafecheckOrderV.vue +984 -1234
  91. package/src/filiale/rongchuang/android.js +1 -0
  92. package/src/filiale/rongchuang/pc/NewCheckpaper.vue +294 -305
  93. package/src/filiale/rongchuang/pc/PaperList.vue +812 -0
  94. package/src/filiale/rongchuang/pc.js +1 -0
  95. package/src/filiale/siyang/android/PhoneRecordInfo.vue +214 -0
  96. package/src/filiale/siyang/android/SafecheckOrderV.vue +2796 -0
  97. package/src/filiale/siyang/android/SafecheckUserInfo.vue +789 -0
  98. package/src/filiale/siyang/android.js +11 -0
  99. package/src/filiale/siyang/pc/PaperDefectMain.vue +864 -0
  100. package/src/filiale/siyang/pc/PaperList.vue +834 -0
  101. package/src/filiale/siyang/pc/PlanManage.vue +839 -0
  102. package/src/filiale/siyang/pc/checkUserList.vue +781 -0
  103. package/src/filiale/siyang/pc.js +15 -0
  104. package/src/filiale/tianke/pc/checkScreen.vue +36 -31
  105. package/src/filiale/tongchuan/android/PhoneUpUserinfo.vue +60 -2
  106. package/src/filiale/tongchuan/android/SafecheckOrderV.vue +2 -3
  107. package/src/filiale/tongchuan/pc/NewCheckpaper.vue +1 -1
  108. package/src/filiale/tongchuan/pc/checkUserList.vue +2 -2
  109. package/src/filiale/weinan/android/PaperFeedback.vue +8 -8
  110. package/src/filiale/weinan/android/SafecheckDevices.vue +6 -2
  111. package/src/filiale/weinan/android/SafecheckOrderV.vue +16 -2
  112. package/src/filiale/weinan/android/SafecheckUserInfo.vue +7 -2
  113. package/src/filiale/weinan/pc/CheckSearchUser.vue +1078 -0
  114. package/src/filiale/weinan/pc/DefectListNew.vue +617 -0
  115. package/src/filiale/weinan/pc/DefectMainNew.vue +1 -1
  116. package/src/filiale/weinan/pc/DefectPaperNew.vue +7 -1
  117. package/src/filiale/weinan/pc.js +2 -0
  118. package/src/filiale/wenxi/android/CurrentCreate.vue +1055 -1055
  119. package/src/filiale/wenxi/android/PhoneUpUserinfo.vue +1 -1
  120. package/src/filiale/wenxi/android/SafecheckUserInfo.vue +85 -63
  121. package/src/filiale/wenxi/pc/NewCheckpaper.vue +1358 -1358
  122. package/src/filiale/wenxi/pc/PaperDefectMain.vue +790 -790
  123. package/src/filiale/yangchunboneng/android/AddPlanItem.vue +46 -1
  124. package/src/filiale/yangchunboneng/android/CurrentCreate.vue +45 -4
  125. package/src/filiale/yangchunboneng/android/DailyworkloadQuery.vue +2 -2
  126. package/src/filiale/yangchunboneng/android/NewCheckpaperAndroid.vue +20 -20
  127. package/src/filiale/yangchunboneng/android/PaperFeedback.vue +3 -3
  128. package/src/filiale/yangchunboneng/android/PhoneUpUserinfo.vue +1235 -0
  129. package/src/filiale/yangchunboneng/android/SafecheckDevices.vue +5 -5
  130. package/src/filiale/yangchunboneng/android/SafecheckOrderV.vue +17 -4
  131. package/src/filiale/yangchunboneng/android/SafecheckUserInfo.vue +30 -12
  132. package/src/filiale/yangchunboneng/android/safeHistoryLook.vue +2 -1
  133. package/src/filiale/yangchunboneng/android.js +1 -0
  134. package/src/filiale/yangchunboneng/pc/CheckBookList.vue +4 -4
  135. package/src/filiale/yangchunboneng/pc/CheckBookSearchUser.vue +76 -32
  136. package/src/filiale/yangchunboneng/pc/CheckBookUser.vue +72 -1
  137. package/src/filiale/yangchunboneng/pc/CheckSearchUser.vue +187 -13
  138. package/src/filiale/yangchunboneng/pc/PaperDefectMain.vue +98 -3
  139. package/src/filiale/yangchunboneng/pc/PaperList.vue +17 -0
  140. package/src/filiale/yongzhou/android/PaperFeedback.vue +1 -1
  141. package/src/filiale/yongzhou/android/SafecheckOrderV.vue +221 -256
  142. package/src/filiale/yongzhou/pc/CheckPlan.vue +59 -0
  143. package/src/filiale/yongzhou/pc/CheckSearchUser.vue +1 -1
  144. package/src/filiale/yongzhou/pc/DefectPaperNew.vue +1105 -0
  145. package/src/filiale/yongzhou/pc/NoCheckplanSafecheck.vue +412 -107
  146. package/src/filiale/yongzhou/pc/PaperDefectMain.vue +872 -0
  147. package/src/filiale/yongzhou/pc/PaperList.vue +1 -1
  148. package/src/filiale/yongzhou/pc/SelectCheckPlan.vue +364 -0
  149. package/src/filiale/yongzhou/pc/communityTypeDetailG.vue +56 -125
  150. package/src/filiale/yongzhou/pc/communityTypeDetailM.vue +94 -187
  151. package/src/filiale/yongzhou/pc/safeDetail.vue +311 -20
  152. package/src/filiale/yongzhou/pc/safeStatistics.vue +74 -24
  153. package/src/filiale/yongzhou/pc/safeStatisticsDay.vue +2 -2
  154. package/src/filiale/yongzhou/pc/safeStatisticsMonth.vue +2 -2
  155. package/src/filiale/yongzhou/pc/safeStatisticsYear.vue +47 -23
  156. package/src/filiale/yongzhou/pc/safeTable.vue +3 -3
  157. package/src/filiale/yongzhou/pc.js +4 -0
  158. package/src/filiale/yuansheng/android/AndroidDefectDeal.vue +652 -0
  159. package/src/filiale/yuansheng/android.js +1 -0
  160. package/src/filiale/zhongsheng/android/CurrentCreate.vue +7 -2
  161. package/src/filiale/zhongsheng/pc/DefectPaperWeiXiu.vue +6 -2
  162. package/src/main.js +33 -33
  163. package/src/rongcheng.js +3 -1
  164. package/src/safecheck-android.js +6 -0
  165. package/src/safecheck.js +3 -0
@@ -9,7 +9,7 @@
9
9
  <input style="width: 60%" type="text" class="input_search" v-model="model.f_userinfo"
10
10
  id="f_userinfo"
11
11
  placeholder="编号 名称 电话 表号 地址"
12
- condition="(f_userinfo_code like '%{}%' or f_user_name like '%{}%' or f_user_phone like '%{}%' or f_meternumber like '%{}%' or f_address like '%{}%')">
12
+ condition="(f_userinfo_code like '%{}%' or f_user_name like '%{}%' or f_user_phone like '%{}%' or f_meternumber like '%{}%' or f_address like '%{}%' or f_zuhu_phone like '%${}%' or f_rent_phone like '%${}%')">
13
13
  </div>
14
14
  <div :class="$parent.$parent.style">
15
15
  <label class="font_normal_body">用户编号</label>
@@ -24,9 +24,15 @@
24
24
  </div>
25
25
  <div :class="$parent.$parent.style">
26
26
  <label class="font_normal_body">小&emsp;&emsp;区</label>
27
- <input style="width: 60%" type="text" class="input_search" v-model="model.f_residential_area"
28
- id="f_residential_area"
29
- placeholder="小区" condition="f_residential_area like '%{}%'">
27
+ <v-select id="f_residential_area"
28
+ placeholder='小区'
29
+ class="select select_list"
30
+ :value.sync="model.f_residential_area"
31
+ :options='$parent.$parent.residentialareas'
32
+ :multiple='true'
33
+ v-model="model.f_residential_area"
34
+ condition="f_residential_area in {}"
35
+ ></v-select>
30
36
  </div>
31
37
  <div :class="$parent.$parent.style">
32
38
  <label class="font_normal_body">地&emsp;&emsp;址</label>
@@ -186,6 +192,72 @@
186
192
  :value-single="true">
187
193
  </v-select>
188
194
  </div>
195
+ <div :class="$parent.$parent.style" v-show="$parent.$parent.criteriaShow">
196
+ <label class="font_normal_body">通气起始</label>
197
+ <datepicker
198
+ :value.sync="model.f_gas_start"
199
+ placeholder='通气时间起始'
200
+ :disabled-days-of-week="[]"
201
+ style="width: 60%"
202
+ :format="'yyyy-MM-dd'"
203
+ :show-rest-button="reset"
204
+ v-model="model.f_gas_start"
205
+ condition="f_uservent_date >= '{}'"
206
+ >
207
+ </datepicker>
208
+ </div>
209
+ <div :class="$parent.$parent.style" v-show="$parent.$parent.criteriaShow">
210
+ <label class="font_normal_body">通气结束</label>
211
+ <datepicker
212
+ :value.sync="model.f_gas_end"
213
+ placeholder='通气时间结束'
214
+ style="width: 60%"
215
+ :disabled-days-of-week="[]"
216
+ :format="'yyyy-MM-dd'"
217
+ :show-rest-button="reset"
218
+ condition="f_uservent_date <= '{}'"
219
+ v-model="model.f_gas_end">
220
+ </datepicker>
221
+ </div>
222
+ <div :class="$parent.$parent.style" v-show="$parent.$parent.criteriaShow">
223
+ <label class="font_normal_body">建档起始</label>
224
+ <datepicker
225
+ :value.sync="model.f_createfile_start"
226
+ placeholder='建档时间起始'
227
+ :disabled-days-of-week="[]"
228
+ style="width: 60%"
229
+ :format="'yyyy-MM-dd'"
230
+ :show-rest-button="reset"
231
+ v-model="model.f_createfile_start"
232
+ condition="f_createfile_date >= '{}'"
233
+ >
234
+ </datepicker>
235
+ </div>
236
+ <div :class="$parent.$parent.style" v-show="$parent.$parent.criteriaShow">
237
+ <label class="font_normal_body">建档结束</label>
238
+ <datepicker
239
+ :value.sync="model.f_createfile_end"
240
+ placeholder='建档时间结束'
241
+ style="width: 60%"
242
+ :disabled-days-of-week="[]"
243
+ :format="'yyyy-MM-dd'"
244
+ :show-rest-button="reset"
245
+ condition="f_createfile_date <= '{}'"
246
+ v-model="model.f_createfile_end">
247
+ </datepicker>
248
+ </div>
249
+ <div :class="$parent.$parent.style" v-show="$parent.$parent.criteriaShow">
250
+ <label class="font_normal_body">安&ensp;检&ensp;册</label>
251
+ <v-select id="f_check_book_name"
252
+ placeholder='安检册'
253
+ class="select select_list"
254
+ :value.sync="model.f_check_book_name"
255
+ :options='$parent.$parent.checkbooknames'
256
+ :multiple='true'
257
+ v-model="model.f_check_book_name"
258
+ condition="f_check_book_name in {}"
259
+ ></v-select>
260
+ </div>
189
261
  </div>
190
262
 
191
263
  <div class="row" v-show="$parent.$parent.$parent.showItem">
@@ -218,12 +290,6 @@
218
290
 
219
291
  </div>
220
292
  <div class="row" v-show="$parent.$parent.$parent.showItem">
221
- <div :class="$parent.$parent.style" v-show="$parent.$parent.criteriaShow">
222
- <label class="font_normal_body">小&emsp;&emsp;区</label>
223
- <input style="width: 60%" type="text" class="input_search" v-model="model.f_residential_area"
224
-
225
- placeholder="小区" condition="f_residential_area like '%{}%'">
226
- </div>
227
293
  <div :class="$parent.$parent.style" v-show="$parent.$parent.criteriaShow">
228
294
  <label class="font_normal_body">地&emsp;&emsp;址</label>
229
295
  <input style="width: 60%" type="text" class="input_search" v-model="model.f_address"
@@ -307,7 +373,60 @@
307
373
  condition="f_defect_content like '%{}%'"
308
374
  close-on-select clear-button></v-select>
309
375
  </div>
310
-
376
+ <div :class="$parent.$parent.style" v-show="$parent.$parent.criteriaShow">
377
+ <label class="font_normal_body">通气起始</label>
378
+ <datepicker
379
+ :value.sync="model.f_gas_start"
380
+ placeholder='通气时间起始'
381
+ :disabled-days-of-week="[]"
382
+ style="width: 60%"
383
+ :format="'yyyy-MM-dd'"
384
+ :show-rest-button="reset"
385
+ v-model="model.f_gas_start"
386
+ condition="f_uservent_date >= '{}'"
387
+ >
388
+ </datepicker>
389
+ </div>
390
+ <div :class="$parent.$parent.style" v-show="$parent.$parent.criteriaShow">
391
+ <label class="font_normal_body">通气结束</label>
392
+ <datepicker
393
+ :value.sync="model.f_gas_end"
394
+ placeholder='通气时间结束'
395
+ style="width: 60%"
396
+ :disabled-days-of-week="[]"
397
+ :format="'yyyy-MM-dd'"
398
+ :show-rest-button="reset"
399
+ condition="f_uservent_date <= '{}'"
400
+ v-model="model.f_gas_end">
401
+ </datepicker>
402
+ </div>
403
+ <div :class="$parent.$parent.style" v-show="$parent.$parent.criteriaShow">
404
+ <label class="font_normal_body">建档起始</label>
405
+ <datepicker
406
+ :value.sync="model.f_createfile_start"
407
+ placeholder='建档时间起始'
408
+ :disabled-days-of-week="[]"
409
+ style="width: 60%"
410
+ :format="'yyyy-MM-dd'"
411
+ :show-rest-button="reset"
412
+ v-model="model.f_createfile_start"
413
+ condition="f_createfile_date >= '{}'"
414
+ >
415
+ </datepicker>
416
+ </div>
417
+ <div :class="$parent.$parent.style" v-show="$parent.$parent.criteriaShow">
418
+ <label class="font_normal_body">建档结束</label>
419
+ <datepicker
420
+ :value.sync="model.f_createfile_end"
421
+ placeholder='建档时间结束'
422
+ style="width: 60%"
423
+ :disabled-days-of-week="[]"
424
+ :format="'yyyy-MM-dd'"
425
+ :show-rest-button="reset"
426
+ condition="f_createfile_date <= '{}'"
427
+ v-model="model.f_createfile_end">
428
+ </datepicker>
429
+ </div>
311
430
  </div>
312
431
  <!--<div class="row" v-show="$parent.$parent.$parent.showItem">
313
432
  <div :class="$parent.$parent.style" v-show="$parent.$parent.criteriaShow">
@@ -346,12 +465,18 @@
346
465
  <!-- <th>-->
347
466
  <!-- <nobr>灶具</nobr>-->
348
467
  <!-- </th>-->
468
+ <th>
469
+ <nobr>片区</nobr>
470
+ </th>
349
471
  <th>
350
472
  <nobr>小区名称</nobr>
351
473
  </th>
352
474
  <th style="padding: 0 40px">
353
475
  <nobr>地址</nobr>
354
476
  </th>
477
+ <th>
478
+ <nobr>安检册</nobr>
479
+ </th>
355
480
  <th>
356
481
  <nobr>安检员</nobr>
357
482
  </th>
@@ -387,8 +512,10 @@
387
512
  <td v-bind:class="{newcolor:row.code==1}" style="text-align: center">{{ row.f_user_type }}</td>
388
513
  <!-- <td v-bind:class="{newcolor:row.code==1}" style="text-align: center">{{ row.f_safe_hasfurnace }}</td>-->
389
514
  <!-- <td v-bind:class="{newcolor:row.code==1}" style="text-align: center">{{ row.f_safe_haskitchen }}</td>-->
515
+ <td v-bind:class="{newcolor:row.code==1}" style="text-align: center">{{ row.f_slice_area }}</td>
390
516
  <td v-bind:class="{newcolor:row.code==1}" style="text-align: center">{{ row.f_residential_area }}</td>
391
517
  <td v-bind:class="{newcolor:row.code==1}" style="text-align: center">{{ row.f_address }}</td>
518
+ <td v-bind:class="{newcolor:row.code==1}" style="text-align: center">{{ row.f_check_book_name }}</td>
392
519
  <td v-bind:class="{newcolor:row.code==1}" style="text-align: center">{{ row.f_checker_name }}</td>
393
520
  <td v-bind:class="{newcolor:row.code==1}" style="text-align: center">{{ row.f_last_check_date }}</td>
394
521
  <td v-bind:class="{newcolor:row.code==1}" style="text-align: center">{{ row.f_last_check_state }}</td>
@@ -396,7 +523,7 @@
396
523
  {{row.f_last_check_state!='入户' ? '': (row.f_last_check_result == '无隐患' ? '无问题' : row.f_last_check_result) }}
397
524
  </td>
398
525
  <td v-bind:class="{newcolor:row.code==1}" style="text-align: center">{{ row.f_createfile_date }}</td>
399
- <td v-bind:class="{newcolor:row.code==1}" style="text-align: center">{{ row.f_gas_date }}</td>
526
+ <td v-bind:class="{newcolor:row.code==1}" style="text-align: center">{{ row.f_uservent_date }}</td>
400
527
  <td v-bind:class="{newcolor:row.code==1}" style="text-align: center" v-show="$parent.$parent.$parent.showcode">
401
528
  <button class="button_spacing button_search-1" @click.stop='$parent.$parent.$parent.searchInfo(row.f_userinfo_code)' >点击</button>
402
529
  </td>
@@ -471,13 +598,14 @@ export default {
471
598
  'f_meternumber': '用户表号',
472
599
  'f_user_type': '用户类型',
473
600
  'f_checker_name': '安检员',
601
+ 'f_slice_area': '片区',
474
602
  'f_residential_area': '小区名称',
475
603
  'f_address': '地址',
476
604
  'f_last_check_date': '安检日期',
477
605
  'f_last_check_state': '安检状态',
478
606
  'f_last_check_result': '安检结果',
479
607
  'f_createfile_date': '建档日期',
480
- 'f_gas_date': '通气日期'
608
+ 'f_uservent_date': '通气日期'
481
609
  },
482
610
  model: new PagedList('rs/sql/根据安检员查询用户档案', 20, {
483
611
  orderitem: "'f_last_check_date'",
@@ -521,6 +649,8 @@ export default {
521
649
  f_check_results: [{label: '全部', value: ''}, {label: '正常', value: '正常'}, {label: '有隐患', value: '有隐患'}],
522
650
  creatPlanWay: '',
523
651
  sliceArea: [],
652
+ residentialareas: [],
653
+ checkbooknames: [],
524
654
  cbcs:[],
525
655
  cbc:[],
526
656
  pcds:[]
@@ -554,6 +684,8 @@ export default {
554
684
  this.model.f_OrgStr = this.$login.f.orgpathstr
555
685
  this.Mreadibook(`('${this.$login.f.orgid}')`)
556
686
  this.getAllMeterBook(`('${this.$login.f.orgid}')`)
687
+ this.getresidentialarea()
688
+ this.getcheckbookname()
557
689
  },
558
690
  methods: {
559
691
  //查询二维码
@@ -637,6 +769,48 @@ export default {
637
769
  })
638
770
  }
639
771
  },
772
+ getresidentialarea(){
773
+ new HttpResetClass().load('POST',`/rs/sql/tel_singleTable_GroupBy`, {data: {
774
+ items: 'f_residential_area',
775
+ tablename: 't_user_address',
776
+ condition: `f_residential_area is not null and f_orgid = '${this.$login.f.orgid}'`,
777
+ groupitem: 'f_residential_area',
778
+ }}, {resolveMsg: null, rejectMsg: null}).then((res) => {
779
+ this.residentialareas=[]
780
+ this.residentialareas.push({
781
+ label:'全部',
782
+ value:''
783
+ })
784
+ res.data.forEach(ress=>{
785
+ this.residentialareas.push({
786
+ label:ress.f_residential_area,
787
+ value:ress.f_residential_area
788
+ })
789
+ })
790
+
791
+ })
792
+ },
793
+ getcheckbookname(){
794
+ new HttpResetClass().load('POST',`/rs/sql/tel_singleTable_GroupBy`, {data: {
795
+ items: 'f_check_book_name',
796
+ tablename: 't_check_book',
797
+ condition: ` f_orgid = '${this.$login.f.orgid}'`,
798
+ groupitem: 'f_check_book_name',
799
+ }}, {resolveMsg: null, rejectMsg: null}).then((res) => {
800
+ this.checkbooknames=[]
801
+ this.checkbooknames.push({
802
+ label:'全部',
803
+ value:''
804
+ })
805
+ res.data.forEach(ress=>{
806
+ this.checkbooknames.push({
807
+ label:ress.f_check_book_name,
808
+ value:ress.f_check_book_name
809
+ })
810
+ })
811
+
812
+ })
813
+ },
640
814
  // 获取县域分公司内容
641
815
  getfengongsi() {
642
816
  let val = {
@@ -256,7 +256,8 @@
256
256
  <td style="text-align: center">{{row.f_address}}</td>
257
257
  <td style="text-align: center">{{row.f_offsite_time}}</td>
258
258
  <td style="text-align: center">{{row.f_checker_name}}</td>
259
- <td style="text-align: center">{{row.f_is_repaired}}</td>
259
+ <td style="text-align: center" v-if="row.f_is_repaired == '隐患未处理' && $parent.$parent.$parent.inrole()" @click="$parent.$parent.$parent.showSolve(row)"><a>{{row.f_is_repaired}}</a></td>
260
+ <td style="text-align: center" v-else>{{row.f_is_repaired}}</td>
260
261
  <td style="text-align: center">{{row.f_repairman}}</td>
261
262
  <td style="text-align: center">{{row.f_deal_dispose}}</td>
262
263
  <td style="text-align: center">{{row.f_repair_date}}</td>
@@ -350,6 +351,40 @@
350
351
  </div>
351
352
  <div slot="modal-footer" class="modal-footer" style="text-align: center" v-show="false"></div>
352
353
  </modal>
354
+ <modal :show.sync="showSolveModal" v-ref:solveModal>
355
+ <div slot="modal-header" class="modal-header">
356
+ <h4 class="modal-title">
357
+ 处理隐患
358
+ </h4>
359
+ </div>
360
+ <div slot="modal-body" class="modal-body">
361
+ <div style="width: 100%;height: 36px;background-color: #f1f8ff;float: left">
362
+ <div style="width: 8px;height: 100%;background-color: #6aa6e2;margin-right: 20px;float: left"></div>
363
+ <div style="width: auto;height:100%;float: left;"><p class="title-font" style="margin-top: 5px">处理前</p></div>
364
+ </div>
365
+
366
+ <div class="col-sm-6" style="margin-top: 10px">
367
+ <label class="font_normal_body">安&nbsp;检&nbsp;员</label>
368
+ <input class="input_search" style="width: 60%" type="text" disabled="true" v-model="solve.model.f_checker_name" placeholder="安检员">
369
+ </div>
370
+ <div class="col-sm-6" style="margin-top: 10px">
371
+ <label class="font_normal_body">安检时间</label>
372
+ <input class="input_search" style="width: 60%" type="text" disabled="true" v-model="solve.model.f_offsite_time" placeholder="安检时间">
373
+ </div>
374
+ <div class="col-sm-12" style="margin-bottom: 10px" v-if="solve.model.defectImg">
375
+ <label class="font_normal_body">隐患图片</label>
376
+ <img-self :width="200" :height="200" :src="solve.model.defectImg"></img-self>
377
+ </div>
378
+ <div class="col-sm-12" style="margin-bottom: 10px">
379
+ <label class="font_normal_body">处理后图片</label>
380
+ <avatar-upload :width="200" :height="200" :img-src.sync="solve.imgSrc" :filename.sync="solve.filename" v-ref:imginfo></avatar-upload>
381
+ </div>
382
+ </div>
383
+ <div slot="modal-footer" class="modal-footer" style="text-align: center">
384
+ <button class="button_search" @click="okDefect">确认</button>
385
+ <button class="button_search" @click="cancelsolveDefect">取消</button>
386
+ </div>
387
+ </modal>
353
388
  </div>
354
389
  </div>
355
390
  </template>
@@ -363,7 +398,27 @@
363
398
  import getNowDate from "../../../utils/getNowDate";
364
399
  import HttpResetClass from "vue-client/src/plugins/HttpResetClass";
365
400
  import BenzAMRRecorder from 'benz-amr-recorder'
366
-
401
+ const upSolveDefect = function * (self) {
402
+ self.solve.f_deal_dispose = self.solve.f_deal_dispose || '已处理'
403
+ self.$resetpost('/rs/logic/pcRepairDefectNew', self.solve, {resolveMsg: null, rejectMsg: null})
404
+ .then(res => {
405
+ if (res.data.code === 200) {
406
+ self.$showMessage('隐患已处理。')
407
+ self.showSolveModal = false
408
+ self.search()
409
+ self.solve={
410
+ model:{},
411
+ id: '',
412
+ f_repairman: self.$login.f.name,
413
+ f_repair_date: Util.getNowDate().substr(0, 10),
414
+ f_repair_path: '',
415
+ imgSrc: '',
416
+ filename: '',
417
+ f_defect_remark:''
418
+ }
419
+ }
420
+ })
421
+ }
367
422
  //获取json配置文件
368
423
  let asyncReady = async function (self) {
369
424
  // 获取配置信息
@@ -460,7 +515,18 @@
460
515
  showModal3: false,
461
516
  progressbarWidth:'0',
462
517
  canToRepair: this.$appdata.getSingleValue('隐患明细转维修'),
463
- checkes: []
518
+ checkes: [],
519
+ solve:{
520
+ model:{},
521
+ id: '',
522
+ f_repairman: this.$login.f.name,
523
+ f_repair_date: Util.getNowDate().substr(0, 10),
524
+ f_repair_path: '',
525
+ imgSrc: '',
526
+ filename: '',
527
+ f_defect_remark:''
528
+ },
529
+ showSolveModal:false
464
530
  }
465
531
  },
466
532
  computed :{
@@ -830,6 +896,35 @@
830
896
  ////tag
831
897
  args.condition += ` and f_filialeid in ${this.model.f_filialeid}`
832
898
  this.model.search(args.condition, args.model, args.condValue)
899
+ },
900
+ cancelsolveDefect() {
901
+ this.showSolveModal = false
902
+ this.solve = {
903
+ model:{},
904
+ id: '',
905
+ f_repairman: this.$login.f.name,
906
+ f_repair_date: Util.getNowDate().substr(0, 10),
907
+ f_repair_path: '',
908
+ imgSrc: '',
909
+ filename: '',
910
+ f_defect_remark:''
911
+ }
912
+ },
913
+ okDefect(){
914
+ if (!(this.solve.filename && this.solve.filename.length > 0)) {
915
+ this.$showMessage('请录入处理后照片')
916
+ return
917
+ }
918
+ co(upSolveDefect(this))
919
+ },
920
+ showSolve(row){
921
+ this.showSolveModal = true
922
+ this.solve.model = row
923
+ this.solve.model.defectImg = row.f_path?'/rs/image/file/' + row.f_path:null
924
+ this.solve.id = row.f_defect_id
925
+ },
926
+ inrole(){
927
+ return this.$login.f.rolestr.indexOf('安检隐患处理') != -1
833
928
  }
834
929
  },
835
930
 
@@ -230,6 +230,17 @@
230
230
  :value-single="true">
231
231
  </v-select>
232
232
  </div>
233
+ <div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow">
234
+ <label class="font_normal_body">客户评价</label>
235
+ <v-select class="select_list select"
236
+ placeholder='客户评价' style="width: 60%"
237
+ :value.sync="model.f_client_evaluation" v-model="model.f_client_evaluation"
238
+ :options='$parent.$parent.evaluations'
239
+ close-on-select clear-button
240
+ condition="f_client_evaluation='{}'"
241
+ :value-single="true">
242
+ </v-select>
243
+ </div>
233
244
  </div>
234
245
  <modal :show.sync="$parent.$parent.showModal" v-ref:modal backdrop="false">
235
246
  <div slot="modal-header" class="modal-header">
@@ -298,6 +309,9 @@
298
309
  <th>
299
310
  <nobr>备注</nobr>
300
311
  </th>
312
+ <th>
313
+ <nobr>客户评价</nobr>
314
+ </th>
301
315
  <th>
302
316
  <nobr>操作</nobr>
303
317
  </th>
@@ -325,6 +339,7 @@
325
339
  <td style="text-align: center">{{row.f_remaining_gas_volume}}</td>
326
340
  <td style="text-align: center">{{row.f_remaining_amount}}</td>
327
341
  <td style="text-align: center">{{row.f_repair_approved_note}}</td>
342
+ <td style="text-align: center">{{row.f_client_evaluation}}</td>
328
343
  <td style="text-align: center">
329
344
  <button class="button_spacing button_search-1" @click='$parent.$parent.$parent.change(row)'>查看</button>
330
345
 
@@ -444,6 +459,7 @@ export default {
444
459
  'f_remaining_amount': '剩余金额',
445
460
  'f_safecheck_type':'安检类型',
446
461
  'f_repair_approved_note': '备注',
462
+ 'f_client_evaluation': '评价',
447
463
  'f_plan_name': '计划名称',
448
464
  },
449
465
  fun: this.$login.f,
@@ -461,6 +477,7 @@ export default {
461
477
  f_entry_status: this.$appdata.getParam('安检状态')?[{label: '全部', value: ''}, ...this.$appdata.getParam('安检状态')]:[{label: '全部', value: ''}],
462
478
  f_checkplans: this.$appdata.getParam('有无计划')?[{label: '全部', value: ''}, ...this.$appdata.getParam('有无计划')]:[{label: '全部', value: ''}],
463
479
  showcheckmsg: false,
480
+ evaluations:[{label: '全部', value: ''},{label: '满意', value: '满意'},{label: '基本满意', value: '基本满意'},{label: '不满意', value: '不满意'}],
464
481
  checkInfo: {},
465
482
  orderDefault: "'f_offsite_time'",
466
483
  orderFields: {
@@ -1229,7 +1229,7 @@ export default {
1229
1229
  ////tag)
1230
1230
  ////tag
1231
1231
  let limit_times=1
1232
- let limit_value=3
1232
+ let limit_value=5
1233
1233
  if(Vue.config.safecheck && Vue.config.safecheck.ApproveConfig.limit_times && Vue.config.safecheck.ApproveConfig.limit_value){
1234
1234
  limit_times = Vue.config.safecheck.ApproveConfig.limit_times
1235
1235
  limit_value = Vue.config.safecheck.ApproveConfig.limit_value