safecheck-client 3.0.32 → 3.0.33-2

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 (88) hide show
  1. package/package.json +133 -133
  2. package/src/App.vue +31 -31
  3. package/src/assets//345/215/225/345/205/203/345/217/267.png +0 -0
  4. package/src/assets//345/234/260/345/235/200.png +0 -0
  5. package/src/assets//345/247/223/345/220/215.png +0 -0
  6. package/src/assets//345/260/217/345/214/272.png +0 -0
  7. package/src/assets//345/260/217/345/214/272/350/223/235/350/211/262.png +0 -0
  8. package/src/assets//345/272/225/346/225/260.png +0 -0
  9. package/src/assets//346/210/267/347/274/226/345/217/267.png +0 -0
  10. package/src/assets//346/245/274/345/217/267.png +0 -0
  11. package/src/assets//346/245/274/345/261/202.png +0 -0
  12. package/src/assets//350/241/250/347/261/273/345/236/213.png +0 -0
  13. package/src/assets//351/227/250/347/211/214/345/217/267.png +0 -0
  14. package/src/components/android/AndroidDefectDeal.vue +5 -5
  15. package/src/components/android/PhoneUpUserinfo.vue +6 -0
  16. package/src/components/android/SafecheckOrderV.vue +4 -1
  17. package/src/components/map/checkScreen.vue +1 -1
  18. package/src/components/planmanage/checkPlanList.vue +3 -3
  19. package/src/components/rongcheng/AspiratedDevices.vue +34 -1
  20. package/src/components/rongcheng/DefectPaper.vue +4 -1
  21. package/src/components/rongcheng/SafecheckDevices.vue +34 -1
  22. package/src/components/rongcheng/SafecheckOrderV.vue +1 -0
  23. package/src/components/rongcheng/SafecheckUserInfo.vue +17 -0
  24. package/src/filiale/Util.js +7 -0
  25. package/src/filiale/ankangyihua/android/AndroidDefectDeal.vue +1 -1
  26. package/src/filiale/ankangyihua/android/CurrentCreate.vue +1 -1
  27. package/src/filiale/bayan/pc/NewCheckpaper.vue +1 -1
  28. package/src/filiale/dexin/android/CasualSave.vue +1050 -0
  29. package/src/filiale/dexin/android/SafecheckDevices.vue +4 -4
  30. package/src/filiale/dexin/android/SafecheckOrderV.vue +2407 -2355
  31. package/src/filiale/dexin/android/WebMeterOpen.vue +377 -0
  32. package/src/filiale/dexin/android/WebMeterOpenEdit.vue +225 -0
  33. package/src/filiale/dexin/android.js +4 -1
  34. package/src/filiale/fugou/pc/AddToCheckBook.vue +160 -0
  35. package/src/filiale/fugou/pc/CheckBook.vue +301 -0
  36. package/src/filiale/fugou/pc/CheckBookAll.vue +67 -0
  37. package/src/filiale/fugou/pc/CheckBookArea.vue +146 -0
  38. package/src/filiale/fugou/pc/CheckBookCompany.vue +144 -0
  39. package/src/filiale/fugou/pc/CheckBookDetails.vue +161 -0
  40. package/src/filiale/fugou/pc/CheckBookEntry.vue +66 -0
  41. package/src/filiale/fugou/pc/CheckBookList.vue +366 -0
  42. package/src/filiale/fugou/pc/CheckBookSearchArea.vue +560 -0
  43. package/src/filiale/fugou/pc/CheckBookSearchUnit.vue +229 -0
  44. package/src/filiale/fugou/pc/CheckBookSearchUser.vue +651 -0
  45. package/src/filiale/fugou/pc/CheckBookSearchUserList.vue +674 -0
  46. package/src/filiale/fugou/pc/CheckBookUser.vue +101 -0
  47. package/src/filiale/fugou/pc/DefectPaperNew.vue +1 -1
  48. package/src/filiale/fugou/pc/PaperDefectMain.vue +22 -1
  49. package/src/filiale/fugou/pc/PlanManage.vue +1007 -0
  50. package/src/filiale/fugou/pc/checkPlanList.vue +371 -0
  51. package/src/filiale/fugou/pc/checkUserList.vue +20 -120
  52. package/src/filiale/fugou/pc.js +60 -5
  53. package/src/filiale/jingyang/android/AddPlanItem.vue +246 -246
  54. package/src/filiale/jingyang/android/CurrentCreate.vue +18 -18
  55. package/src/filiale/jingyang/android/SafecheckOrderV.vue +2281 -2281
  56. package/src/filiale/jingyang/android/SafecheckUserInfo.vue +1 -0
  57. package/src/filiale/jingyang/android.js +4 -0
  58. package/src/filiale/kelai/android/SafecheckDevices.vue +1 -1
  59. package/src/filiale/qianneng/pc/NewCheckpaper.vue +1 -1
  60. package/src/filiale/qingjian/android/SafecheckOrderV.vue +1 -0
  61. package/src/filiale/qingjian/android/SafecheckUserInfo.vue +4 -0
  62. package/src/filiale/rongchuang/android/SafecheckDevices.vue +1680 -0
  63. package/src/filiale/rongchuang/android/SafecheckOrderV.vue +975 -488
  64. package/src/filiale/rongchuang/pc/NewCheckpaper.vue +111 -48
  65. package/src/filiale/shanxian/android/SafecheckOrderV.vue +1 -1
  66. package/src/filiale/shexian/pc/PaperList.vue +822 -0
  67. package/src/filiale/shexian/pc.js +1 -0
  68. package/src/filiale/tongchuan/pc/CheckPlanCountChartArea.vue +1 -1
  69. package/src/filiale/wensu/android/CurrentCreate.vue +1 -1
  70. package/src/filiale/wensu/pc/CheckSearchUser.vue +58 -53
  71. package/src/filiale/wensu/pc/DefectPaperNew.vue +15 -9
  72. package/src/filiale/wensu/pc/PlanManage.vue +831 -0
  73. package/src/filiale/wensu/pc/PrintMaterialBill.vue +28 -11
  74. package/src/filiale/wensu/pc/RoleSelector.vue +2 -2
  75. package/src/filiale/wensu/pc/SelectCheckPlan.vue +208 -168
  76. package/src/filiale/wensu/pc/checkUserList.vue +5 -1
  77. package/src/filiale/wensu/pc.js +20 -19
  78. package/src/filiale/yangchunboneng/android/CurrentCreate.vue +6 -2
  79. package/src/filiale/yangchunboneng/android/SafecheckOrderV.vue +3 -3
  80. package/src/filiale/yangchunboneng/android/SafecheckUserInfo.vue +1 -1
  81. package/src/filiale/yangchunboneng/pc/CheckBookUser.vue +3 -3
  82. package/src/filiale/yongzhou/pc/safeStatistics.vue +1 -0
  83. package/src/filiale/yongzhou/pc/safeStatisticsYear.vue +1 -0
  84. package/src/filiale/yunchengminsheng/android/SafecheckDevices.vue +3 -0
  85. package/src/filiale/zhongyi/pc/DefectListNew.vue +6 -6
  86. package/src/main.js +33 -33
  87. package/static/stretch_bottom.png +0 -0
  88. package/static/stretch_top.png +0 -0
@@ -0,0 +1,101 @@
1
+ <template>
2
+ <div class="auto select-overspread">
3
+ <criteria-paged :model="model" v-ref:paged>
4
+ <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:criteria>
5
+ <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
6
+ <div class="row">
7
+ <div class="form-group col-sm-3" >
8
+ <label class="font_normal_body">客户编号</label>
9
+ <input type="text" class="input_search" style="width:60%" v-model="model.f_userinfo_code" placeholder='客户编号'
10
+ condition="f_userinfo_code = '{}'" @keyup.enter="search()">
11
+ </div>
12
+ <div class="form-group col-sm-2 button-range" >
13
+ <button class="button_search" style="margin-right: 10px" @click="search()" v-el:cba>查询</button>
14
+
15
+ </div>
16
+ </div>
17
+ </div>
18
+ </criteria>
19
+ <data-grid :model="model" class="table_sy" partial='list' v-ref:grid >
20
+ <template partial='head' >
21
+ <tr>
22
+ <th><nobr>序号</nobr></th>
23
+ <th><nobr>用户编号</nobr></th>
24
+ <th><nobr>用户姓名</nobr></th>
25
+ <th><nobr>用户电话</nobr></th>
26
+ <th><nobr>用户地址</nobr></th>
27
+
28
+ </tr>
29
+ </template>
30
+ <template partial='body' >
31
+ <tr >
32
+ <td style="text-align:center;">{{$index+1}}</td>
33
+ <td style="text-align:center">{{row.f_userinfo_code}}</td>
34
+ <td style="text-align:center">{{row.f_user_name}}</td>
35
+ <td style="text-align:center">{{row.f_user_phone}}</td>
36
+ <td style="text-align:center">{{row.f_address}}</td>
37
+ </tr>
38
+ </template>
39
+ <template partial='foot'></template>
40
+ </data-grid>
41
+ </criteria-paged>
42
+ </div>
43
+ </template>
44
+
45
+ <script>
46
+ import {PagedList} from 'vue-client'
47
+
48
+ export default {
49
+ title: '安检记录列表',
50
+ props: ['row'],
51
+ data () {
52
+ return {
53
+ rowdata: this.row,
54
+ model: new PagedList('rs/sql/getUserByCheckBook', 50)
55
+ }
56
+ },
57
+ ready(){
58
+ if(this.row){
59
+ let condition=''
60
+ if(this.row.f_check_book_type1=='小区'){
61
+ this.model.url = 'rs/sql/getUserByCheckBook'
62
+ condition = `ta.f_check_book_id =${this.row.f_check_book_id} and ta.id=${this.row.id}`
63
+ }else{
64
+ this.model.url = 'rs/sql/getUserByCheckBookCompany'
65
+ condition = `tc.f_check_book_id =${this.row.f_check_book_id} and tc.id=${this.row.id}`
66
+ }
67
+ this.model.search(condition)
68
+ //只显示用户页面
69
+ this.row.f_check_book_type='用户'
70
+ }
71
+ },
72
+ watch: {
73
+ 'row' (val) {
74
+ if (val) {
75
+ this.rowdata = val
76
+ let condition=''
77
+ if(this.row.f_check_book_type1=='小区'){
78
+ condition = `ta.f_check_book_id =${val.f_check_book_id} and ta.id=${val.id}`
79
+ }else{
80
+ condition = `tc.f_check_book_id =${val.f_check_book_id} and tc.id=${val.id}`
81
+ }
82
+ this.model.search(condition)
83
+ }
84
+ }
85
+ },
86
+ methods: {
87
+ selfSearch (args) {
88
+ if (this.rowdata.id) {
89
+ if(this.rowdata.f_check_book_type1=='小区'){
90
+ args.condition += `and ta.f_check_book_id =${this.rowdata.f_check_book_id} and ta.id=${this.rowdata.id}`
91
+ }else{
92
+ args.condition += `and tc.f_check_book_id =${this.rowdata.f_check_book_id} and tc.id=${this.rowdata.id}`
93
+ }
94
+ this.model.search(args.condition)
95
+ } else {
96
+ this.$showMessage('请选择片区')
97
+ }
98
+ }
99
+ }
100
+ }
101
+ </script>
@@ -1035,7 +1035,7 @@ export default {
1035
1035
  },
1036
1036
  ready() {
1037
1037
  //tag
1038
- debugger
1038
+
1039
1039
  this.$refs.paged.$refs.criteria.model.f_has_defect = '有隐患'
1040
1040
  this.getEmp()
1041
1041
  let gen = select(this)
@@ -211,7 +211,19 @@
211
211
  :value-single="true">
212
212
  </v-select>
213
213
  </div>
214
-
214
+ <div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow" >
215
+ <label class="font_normal_body">用气性质</label>
216
+ <v-select class="select_list select"
217
+ placeholder='请选择' style="width: 60%"
218
+ :value.sync="model.f_gasproperties"
219
+ v-model="model.f_gasproperties"
220
+ :options='$parent.$parent.gasproperties'
221
+ filer-key="name"
222
+ close-on-select clear-button
223
+ condition="f_gasproperties = '{}'"
224
+ :value-single="true">
225
+ </v-select>
226
+ </div>
215
227
 
216
228
  </div>
217
229
  <modal :show.sync="$parent.$parent.showModal" v-ref:modal>
@@ -286,6 +298,9 @@
286
298
  <th>
287
299
  <nobr>接收人</nobr>
288
300
  </th>
301
+ <th>
302
+ <nobr>用气性质</nobr>
303
+ </th>
289
304
  </tr>
290
305
  </template>
291
306
  <template partial='body'>
@@ -307,6 +322,7 @@
307
322
  <td style="text-align: center">{{row.f_service_id}}</td>
308
323
  <td style="text-align: center">{{row.f_handlingtype}}</td>
309
324
  <td style="text-align: center">{{row.f_order_man}}</td>
325
+ <td style="text-align: center">{{row.f_gasproperties}}</td>
310
326
  </template>
311
327
  </data-grid>
312
328
  </criteria-paged>
@@ -464,6 +480,7 @@
464
480
  'f_deal_dispose': '处理方式',
465
481
  'f_is_repaired': '隐患状态',
466
482
  'f_repairman':'处理人',
483
+ 'f_gasproperties':'用气性质',
467
484
  'f_repair_date':'处理时间'
468
485
  },
469
486
  fun: this.$login.f,
@@ -483,6 +500,10 @@
483
500
  sliceArea: [],
484
501
  cbc:[],
485
502
  DefectConfig:'' ,
503
+ gasproperties:this.$appdata.getParam('用气性质') ? [{
504
+ label: '全部',
505
+ value: ''
506
+ }, ...this.$appdata.getParam('用气性质')] : [{label: '全部', value: ''}],
486
507
  DefectConfigs:[{label:'全部',value:''},{label: '金额异常差值', value: '金额异常差值'},{label: '气量异常差值', value: '气量异常差值'}],
487
508
  device_types:[{label:'全部',value:''}],
488
509
  f_check_type:[{label:'全部',value:''},{label:'民用',value:'民用'},{label:'非民用',value:'非民用'}],