safecheck-client 3.0.33-1 → 3.0.33-101

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 (113) hide show
  1. package/index.html +6 -2
  2. package/package.json +4 -3
  3. package/src/components/Util/ImgSelfSafePlus.vue +12 -10
  4. package/src/components/android/CurrentCreate.vue +1 -1
  5. package/src/components/android/SafecheckDevices.vue +2 -0
  6. package/src/components/android/SafecheckOrderV.vue +3 -3
  7. package/src/components/android/SwitchValve.vue +1 -1
  8. package/src/components/map/checkScreen.vue +886 -880
  9. package/src/components/paper/PaperList.vue +5 -4
  10. package/src/components/paper/PlanChooser.vue +4 -2
  11. package/src/components/planmanage/PlanManage.vue +7 -4
  12. package/src/components/planmanage/checkPlanList.vue +2 -1
  13. package/src/components/planmanage/checkUserList.vue +36 -2
  14. package/src/components/report/CheckPlanCountChartArea.vue +5 -0
  15. package/src/components/report/HiddenSituation.vue +3 -3
  16. package/src/components/rongcheng/AspiratedPaperFeedbackm.vue +28 -1
  17. package/src/components/rongcheng/AspiratedPaperMessage.vue +1 -1
  18. package/src/components/rongcheng/DefectPaper.vue +1 -1
  19. package/src/components/rongcheng/PaperListNPSQ.vue +35 -1
  20. package/src/components/rongcheng/PaperListSQ.vue +32 -11
  21. package/src/components/rongcheng/PhoneUpUserinfo.vue +939 -802
  22. package/src/components/rongcheng/SafecheckOrderV.vue +1 -1
  23. package/src/components/rongcheng/report/CheckPlanAreaList.vue +1 -3
  24. package/src/filiale/Util.js +5 -0
  25. package/src/filiale/bayan/android/AddPlanItem.vue +12 -3
  26. package/src/filiale/bayan/android/SafecheckOrderV.vue +9 -5
  27. package/src/filiale/bayan/android/SafecheckUserInfo.vue +532 -508
  28. package/src/filiale/bayan/pc/NewCheckpaper.vue +6 -0
  29. package/src/filiale/dexin/android/SafecheckDevices.vue +1 -1
  30. package/src/filiale/dexin/android/WebMeterOpen.vue +1 -1
  31. package/src/filiale/dexin/android/WebMeterOpenEdit.vue +25 -37
  32. package/src/filiale/fugou/android/SafecheckOrderV.vue +2796 -0
  33. package/src/filiale/fugou/android.js +2 -1
  34. package/src/filiale/fugou/pc/AddToCheckBook.vue +56 -119
  35. package/src/filiale/fugou/pc/CheckBook.vue +2 -0
  36. package/src/filiale/fugou/pc/CheckBookEntry.vue +47 -19
  37. package/src/filiale/fugou/pc/CheckBookList.vue +2 -2
  38. package/src/filiale/fugou/pc/CheckBookSearchUser.vue +733 -574
  39. package/src/filiale/fugou/pc/CheckBookUser.vue +102 -45
  40. package/src/filiale/fugou/pc/DefectPaperNew.vue +10 -6
  41. package/src/filiale/fugou/pc/PaperDefectMain.vue +12 -6
  42. package/src/filiale/fugou/pc/PaperList.vue +14 -6
  43. package/src/filiale/fugou/pc/PlanManage.vue +62 -8
  44. package/src/filiale/fugou/pc/checkUserList.vue +222 -42
  45. package/src/filiale/hanzhong/pc/CheckHiddenDanger.vue +15 -5
  46. package/src/filiale/hanzhong/pc/CheckSafeDetail.vue +12 -2
  47. package/src/filiale/hanzhong/pc/CheckSafeStatus.vue +12 -3
  48. package/src/filiale/hanzhong/pc/CheckSearchUser.vue +13 -0
  49. package/src/filiale/hanzhong/pc/CheckUserList.vue +30 -11
  50. package/src/filiale/hanzhong/pc/CheckerSafeDetail.vue +11 -2
  51. package/src/filiale/jingyang/pc/ReportCheckItemList.vue +543 -0
  52. package/src/filiale/jingyang/pc.js +1 -0
  53. package/src/filiale/kelai/pc/CheckPlanAreaList.vue +2 -22
  54. package/src/filiale/liaoyuan/pc/checkPlanList.vue +373 -0
  55. package/src/filiale/liaoyuan/pc.js +2 -1
  56. package/src/filiale/rongchuang/android/SafecheckDevices.vue +468 -748
  57. package/src/filiale/rongchuang/android/SafecheckOrderV.vue +984 -1234
  58. package/src/filiale/rongchuang/android.js +1 -0
  59. package/src/filiale/rongchuang/pc/NewCheckpaper.vue +294 -305
  60. package/src/filiale/rongchuang/pc/PaperList.vue +812 -0
  61. package/src/filiale/rongchuang/pc.js +1 -0
  62. package/src/filiale/tianke/pc/checkScreen.vue +786 -781
  63. package/src/filiale/tongchuan/pc/checkUserList.vue +2 -2
  64. package/src/filiale/weinan/android/PaperFeedback.vue +8 -8
  65. package/src/filiale/weinan/android/SafecheckDevices.vue +1086 -1025
  66. package/src/filiale/weinan/android/SafecheckOrderV.vue +75 -26
  67. package/src/filiale/weinan/pc/CheckSearchUser.vue +1078 -0
  68. package/src/filiale/weinan/pc/DefectPaperNew.vue +7 -1
  69. package/src/filiale/weinan/pc.js +1 -0
  70. package/src/filiale/wensu/pc/CheckSearchUser.vue +2 -0
  71. package/src/filiale/wensu/pc/DefectPaperNew.vue +1 -1
  72. package/src/filiale/wensu/pc/PlanManage.vue +831 -0
  73. package/src/filiale/wensu/pc/checkUserList.vue +8 -8
  74. package/src/filiale/wensu/pc.js +1 -0
  75. package/src/filiale/wenxi/android/PhoneUpUserinfo.vue +1 -1
  76. package/src/filiale/wenxi/android/SafecheckUserInfo.vue +1 -1
  77. package/src/filiale/wenxi/pc/NewCheckpaper.vue +1 -1
  78. package/src/filiale/wuhai/pc/PaperList.vue +785 -0
  79. package/src/filiale/wuhai/pc.js +1 -0
  80. package/src/filiale/yangchunboneng/android/AddPlanItem.vue +46 -1
  81. package/src/filiale/yangchunboneng/android/CurrentCreate.vue +1191 -1154
  82. package/src/filiale/yangchunboneng/android/PhoneUpUserinfo.vue +1235 -0
  83. package/src/filiale/yangchunboneng/android/SafecheckDevices.vue +1 -1
  84. package/src/filiale/yangchunboneng/android/SafecheckOrderV.vue +15 -4
  85. package/src/filiale/yangchunboneng/android/SafecheckUserInfo.vue +879 -869
  86. package/src/filiale/yangchunboneng/android.js +21 -20
  87. package/src/filiale/yangchunboneng/pc/CheckBookList.vue +4 -4
  88. package/src/filiale/yangchunboneng/pc/CheckBookSearchUser.vue +76 -32
  89. package/src/filiale/yangchunboneng/pc/CheckBookUser.vue +72 -1
  90. package/src/filiale/yangchunboneng/pc/CheckSearchUser.vue +178 -4
  91. package/src/filiale/yangchunboneng/pc/PaperList.vue +17 -0
  92. package/src/filiale/yongzhou/android/SafecheckOrderV.vue +221 -256
  93. package/src/filiale/yongzhou/pc/CheckPlan.vue +59 -0
  94. package/src/filiale/yongzhou/pc/CheckSearchUser.vue +1 -1
  95. package/src/filiale/yongzhou/pc/DefectPaperNew.vue +1105 -0
  96. package/src/filiale/yongzhou/pc/NoCheckplanSafecheck.vue +412 -107
  97. package/src/filiale/yongzhou/pc/PaperDefectMain.vue +872 -0
  98. package/src/filiale/yongzhou/pc/PaperList.vue +1 -1
  99. package/src/filiale/yongzhou/pc/SelectCheckPlan.vue +364 -0
  100. package/src/filiale/yongzhou/pc/communityTypeDetailG.vue +56 -125
  101. package/src/filiale/yongzhou/pc/communityTypeDetailM.vue +94 -187
  102. package/src/filiale/yongzhou/pc/safeDetail.vue +311 -20
  103. package/src/filiale/yongzhou/pc/safeStatistics.vue +74 -24
  104. package/src/filiale/yongzhou/pc/safeStatisticsDay.vue +2 -2
  105. package/src/filiale/yongzhou/pc/safeStatisticsMonth.vue +2 -2
  106. package/src/filiale/yongzhou/pc/safeStatisticsYear.vue +47 -23
  107. package/src/filiale/yongzhou/pc/safeTable.vue +3 -3
  108. package/src/filiale/yongzhou/pc.js +4 -0
  109. package/src/filiale/yunchengminsheng/pc/checkUserList.vue +18 -1
  110. package/src/filiale/zhongsheng/android/CurrentCreate.vue +7 -2
  111. package/src/filiale/zhongsheng/pc/DefectPaperWeiXiu.vue +6 -2
  112. package/src/main.js +1 -1
  113. package/src/rongcheng.js +3 -1
@@ -1,12 +1,28 @@
1
1
  <template>
2
2
  <div id='app' class="basic-main" style="height: 100%">
3
3
  <criteria-paged :model="model" :pager='false'>
4
- <criteria partial='criteria' @condition-changed='search' class="search_area">
4
+ <criteria partial='criteria' @condition-changed='$parent.selfSearch' class="search_area">
5
5
  <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
6
6
  <div class="row">
7
- <div class="col-sm-2 form-group">
8
- <label for="startDate" class="font_normal_body">开始日期:</label>
9
- <datepicker id="startDate" placeholder="开始日期"
7
+ <div class="form-group col-sm-4" >
8
+ <label class="font_normal_body">小&emsp;&emsp;区</label>
9
+ <input type="text" class="input_search" v-model="model.f_residential_area"
10
+ style="width: 60%" placeholder="小区" condition="tcpi.f_residential_area like '%{}%'">
11
+ </div>
12
+ <div class="form-group col-sm-4">
13
+ <label class="font_normal_body">用户类型</label>
14
+ <v-select :value.sync="model.f_user_type" v-model='model.f_user_type'
15
+ :value-single="true" style="width: 60%"
16
+ class="select_list select"
17
+ :options='$parent.$parent.user_types' placeholder='用户类型'
18
+ close-on-select
19
+ condition="tcpi.f_user_type = '{}'"></v-select>
20
+ </div>
21
+ </div>
22
+ <div class="row">
23
+ <div class="col-sm-4 form-group">
24
+ <label for="startDate" class="font_normal_body">计划开始:</label>
25
+ <datepicker id="startDate" placeholder="计划开始"
10
26
  v-model="model.startDate"
11
27
  :value.sync="model.startDate"
12
28
  style="width: 60%;"
@@ -17,9 +33,9 @@
17
33
  :show-reset-button="reset">
18
34
  </datepicker>
19
35
  </div>
20
- <div class="col-sm-2 form-group">
21
- <label for="endDate" class="font_normal_body">结束日期:</label>
22
- <datepicker id="endDate" placeholder="结束日期"
36
+ <div class="col-sm-4 form-group">
37
+ <label for="endDate" class="font_normal_body">计划结束:</label>
38
+ <datepicker id="endDate" placeholder="计划结束"
23
39
  v-model="model.endDate"
24
40
  :select-year="true"
25
41
  :value.sync="model.endDate"
@@ -30,20 +46,6 @@
30
46
  :show-reset-button="reset">
31
47
  </datepicker>
32
48
  </div>
33
- <div class="form-group col-sm-2" >
34
- <label class="font_normal_body">小&emsp;&emsp;区</label>
35
- <input type="text" class="input_search" v-model="model.f_residential_area"
36
- style="width: 60%" placeholder="小区" condition="f_residential_area like '%{}%'">
37
- </div>
38
- <div class="form-group col-sm-2">
39
- <label class="font_normal_body">用户类型</label>
40
- <v-select :value.sync="model.f_user_type" v-model='model.f_user_type'
41
- :value-single="true" style="width: 60%"
42
- class="select_list select"
43
- :options='$parent.$parent.user_types' placeholder='用户类型'
44
- close-on-select
45
- condition="tcpi.f_user_type = '{}'"></v-select>
46
- </div>
47
49
  <div class="col-sm-4 form-group" style="margin-top: 8px">
48
50
  <button class="button_search button_spacing" @click="search()">查询</button>
49
51
  <report-print id='yearPrint' top='3cm' left='0' width='100%' height='100%' :preview="true"></report-print>
@@ -62,8 +64,8 @@
62
64
  </tr>
63
65
  <tr>
64
66
  <th colspan='12' style="font-weight: normal; text-align: center;">
65
- 开始时间:{{model.model.startDate}}&nbsp;&nbsp;&nbsp;
66
- 结束时间:{{ model.model.endDate }}
67
+ 计划开始日期:{{model.model.startDate}}&nbsp;&nbsp;&nbsp;
68
+ 计划结束日期:{{ model.model.endDate }}
67
69
  </th>
68
70
  </tr>
69
71
  </thead>
@@ -99,6 +101,28 @@
99
101
  getRes (obj) {
100
102
  this.model.f_filialeid = this.$login.convertToIn(obj.resids)
101
103
  },
104
+ selfSearch (args) {
105
+ let condition = {
106
+ condition1 : args.condition,
107
+ condition2 : `1=1 and f_entry_status = '入户'`
108
+ }
109
+ if (args.model.f_checker_id){
110
+ condition.condition2 += ` and f_checker_name = '${args.model.f_checker_id}'`
111
+ }
112
+ if (args.model.f_user_type){
113
+ condition.condition2 += ` and f_check_type = '${args.model.f_user_type}'`
114
+ }
115
+ if (args.model.f_residential_area){
116
+ condition.condition2 += ` and f_residential_area = '${args.model.f_residential_area}'`
117
+ }
118
+ if (args.model.checkstart){
119
+ condition.condition2 += ` and f_offsite_time >= '${args.model.checkstart}'`
120
+ }
121
+ if (args.model.checkend){
122
+ condition.condition2 += ` and f_offsite_time <= '${args.model.checkend}'`
123
+ }
124
+ this.model.search(condition, args.model)
125
+ }
102
126
  },
103
127
  ready () {
104
128
  },
@@ -8,16 +8,16 @@
8
8
  小区隐患明细表
9
9
  </button>
10
10
  <button class="button_spacing button_search" @click="showaudio(3)" :class="{color:searchs.search3}">
11
- 隐患类型明细表工商
11
+ 工商情况明细表
12
12
  </button>
13
13
  <button class="button_spacing button_search" @click="showaudio(4)" :class="{color:searchs.search4}">
14
14
  隐患类型明细表民用
15
15
  </button>
16
16
  <button class="button_spacing button_search" @click="showaudio(5)" :class="{color:searchs.search5}">
17
- 安检员明细(有计划)
17
+ 安检员明细
18
18
  </button>
19
19
  <button class="button_spacing button_search" @click="showaudio(9)" :class="{color:searchs.search9}">
20
- 安检员明细(无计划)
20
+ 安检员考核
21
21
  </button>
22
22
  <button class="button_spacing button_search" @click="showaudio(6)" :class="{color:searchs.search6}">
23
23
  安检日报表
@@ -4,11 +4,15 @@ import Vue from "vue";
4
4
  //手机特殊目录注册到该文件中
5
5
  let specialComp = {
6
6
  "plan-manage":(resolve) => { require(['./pc/PlanManage'], resolve) },
7
+ "paper-defect-main":(resolve) => { require(['./pc/PaperDefectMain'], resolve) },
7
8
  "role-selector-safe":(resolve) => { require(['./pc/RoleSelector'], resolve) },
9
+ "select-check-plan":(resolve) => { require(['./pc/SelectCheckPlan.vue'], resolve) },
10
+ "check-plan":(resolve) => { require(['./pc/CheckPlan.vue'], resolve) },
8
11
  "check-user-list":(resolve) => { require(['./pc/checkUserList'], resolve) },
9
12
  'paper-main': (resolve) => { require(['./pc/PaperList'], resolve) },
10
13
  "safe-table":(resolve) => { require(['./pc/safeTable'], resolve) },
11
14
  "safe-detail":(resolve) => { require(['./pc/safeDetail'], resolve) },
15
+ "safe-defect-paper-new":(resolve) => { require(['./pc/DefectPaperNew.vue'], resolve) },
12
16
  'check-search-user':(resolve) => {require(['./pc/CheckSearchUser'], resolve)},
13
17
  "community-detail":(resolve) => { require(['./pc/communityDetail'], resolve) },
14
18
  "community-type-detail-g":(resolve) => { require(['./pc/communityTypeDetailG'], resolve) },
@@ -81,6 +81,21 @@
81
81
  >
82
82
  </v-select>
83
83
  </div>
84
+ <div class="form-group col-sm-4" >
85
+ <label class="font_normal_body">表具状态:</label>
86
+ <v-select
87
+ class="select select_list"
88
+ :value.sync="model.f_table_state"
89
+ v-model="model.f_table_state"
90
+ :options='$parent.$parent.tableStates'
91
+ placeholder='请选择'
92
+ condition="uf.f_table_state='{}'"
93
+ :search="false"
94
+ close-on-select
95
+ value-single
96
+ >
97
+ </v-select>
98
+ </div>
84
99
  <div class="form-group col-sm-4" >
85
100
  <label class="font_normal_body">用气性质:</label>
86
101
  <v-select
@@ -402,6 +417,7 @@
402
417
  showCondtion:false,
403
418
  userTypes:[],//用户类型
404
419
  userStates:[],//用户状态
420
+ tableStates:[],//表具状态
405
421
  gasproperties:[],//用气性质
406
422
  meter_classifys:[],//气表类型
407
423
  hasHousehold:[{label:"全部",value:""},{label:"已入户",value:"已入户"},{label:"未入户",value:"未入户"}],
@@ -520,7 +536,8 @@
520
536
  value: ''
521
537
  }, ...this.$appdata.getParam('用户类型')] : [{label: '全部', value: ''}]
522
538
 
523
- this.userStates=this.$appdata.getParam('安检用户状态') ? [...this.$appdata.getParam('安检用户状态')] : []
539
+ this.userStates=this.$appdata.getParam('安检用户状态') ? [{label: '全部', value: ''},...this.$appdata.getParam('安检用户状态')] : [{label: '全部', value: ''}]
540
+ this.tableStates=this.$appdata.getParam('安检表具状态') ? [{label: '全部', value: ''},...this.$appdata.getParam('安检表具状态')] : [{label: '全部', value: ''}]
524
541
  this.gasproperties=this.$appdata.getParam('用气性质') ? [{
525
542
  label: '全部',
526
543
  value: ''
@@ -809,8 +809,13 @@
809
809
  condition += " and ti.f_address like '%"+this.$refs.paged.$refs.cri.model.f_keyword+"%'"
810
810
  if(this.$refs.paged.$refs.cri.model.f_user_name)
811
811
  condition += " and ti.f_user_name like '%"+this.$refs.paged.$refs.cri.model.f_user_name+"%'"
812
- if(this.$refs.paged.$refs.cri.model.f_state[0])
812
+ if(this.$refs.paged.$refs.cri.model.f_state[0] == '未检' ){
813
+ condition += " and (ti.f_state='"+this.$refs.paged.$refs.cri.model.f_state[0]+"' or ti.f_last_check_state = '到访不遇' ) "
814
+ }
815
+ if(this.$refs.paged.$refs.cri.model.f_state[0] == '已检' ){
813
816
  condition += " and ti.f_state='"+this.$refs.paged.$refs.cri.model.f_state[0]+"'"
817
+ }
818
+
814
819
  // if(this.$refs.paged.$refs.cri.model.f_last_state[0])
815
820
  // condition += " and ti.f_last_check_state='"+this.$refs.paged.$refs.cri.model.f_last_state[0]+"'"
816
821
  if(this.$refs.paged.$refs.cri.model.f_user_type[0])
@@ -823,7 +828,7 @@
823
828
  condition += " and ti.f_enter_number like '%"+this.$refs.paged.$refs.cri.model.f_enter_number+"%'"
824
829
 
825
830
  //tag
826
- this.model.search("((f_complete = '' or f_complete = null or f_complete = '未完成') or (f_state = '未检')) and ti.f_no_checkplan = '有计划安检'" + condition)
831
+ this.model.search("((f_complete = '' or f_complete = null or f_complete = '未完成') or (f_state = '未检') or ti.f_last_check_state = '到访不遇') and ti.f_no_checkplan = '有计划安检'" + condition)
827
832
  },
828
833
  getNewOrder(){
829
834
  HostApp.__this__ = this
@@ -37,7 +37,6 @@
37
37
  v-model='model.f_repaired'
38
38
  :value.sync="model.f_repaired"
39
39
  :options='$parent.$parent.repaired'
40
- condition="f_repaired = '{}'"
41
40
  close-on-select clear-button> </v-select>
42
41
  </div>
43
42
  <div class=" col-sm-4 form-group button-range" >
@@ -179,7 +178,6 @@
179
178
  v-model='model.f_repaired'
180
179
  :value.sync="model.f_repaired"
181
180
  :options='$parent.$parent.repaired'
182
- condition="f_repaired = '{}'"
183
181
  close-on-select clear-button> </v-select>
184
182
  </div>
185
183
 
@@ -457,6 +455,12 @@
457
455
  if (this.f_check_plan.f_plan_name) {
458
456
  args.condition += ` and f_check_plan_id = '${this.f_check_plan.id}'`
459
457
  }
458
+ if(args.model.f_repaired == '未修'){
459
+ args.condition += ` and f_defect_count != f_is_repaired `
460
+ }
461
+ if(args.model.f_repaired == '已处理'){
462
+ args.condition += ` and f_defect_count = f_is_repaired `
463
+ }
460
464
  this.model.search(args.condition, args.model)
461
465
  },
462
466
  getRes(obj) {
package/src/main.js CHANGED
@@ -11,7 +11,7 @@ all()
11
11
  var Verificationfalg = false
12
12
  system(Verificationfalg)
13
13
  // system()
14
- safecheck('yangchunboneng');
14
+ safecheck('tianke')
15
15
  // safecheck('rizhao')
16
16
  require('./bootstrap/less/bootstrap.less')
17
17
  require('./expandcss.less')
package/src/rongcheng.js CHANGED
@@ -262,7 +262,9 @@ export default function () {
262
262
  require(['./components/rongcheng/report/CheckPlanUserList'], resolve)
263
263
  })
264
264
 
265
-
265
+ Vue.component('safecheck-file-upload', (resolve) => {
266
+ require(['./components/Util/SafecheckUpload'], resolve)
267
+ })
266
268
 
267
269
  //隐患报表
268
270
  Vue.component('hiddensituation', (resolve) => { require(['./components/report/HiddenSituation'], resolve) })