safecheck-client 3.0.33-13 → 3.0.33-130

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 (145) hide show
  1. package/index.html +6 -2
  2. package/package.json +3 -3
  3. package/src/App.vue +31 -31
  4. package/src/components/Util/ImgSelfSafePlus.vue +12 -10
  5. package/src/components/Util.js +7 -0
  6. package/src/components/android/CurrentCreate.vue +1 -1
  7. package/src/components/android/SafecheckDevices.vue +2 -0
  8. package/src/components/android/SafecheckOrderV.vue +15 -11
  9. package/src/components/android/SwitchValve.vue +1 -1
  10. package/src/components/map/checkScreen.vue +27 -21
  11. package/src/components/paper/PlanChooser.vue +4 -2
  12. package/src/components/planmanage/PlanManage.vue +14 -4
  13. package/src/components/planmanage/checkPlanList.vue +2 -1
  14. package/src/components/planmanage/checkUserList.vue +2 -0
  15. package/src/components/report/CheckPlanCountChartArea.vue +120 -120
  16. package/src/components/report/HiddenSituation.vue +3 -3
  17. package/src/components/rongcheng/AspiratedPaperFeedbackm.vue +28 -1
  18. package/src/components/rongcheng/AspiratedPaperMessage.vue +1 -1
  19. package/src/components/rongcheng/DefectPaper.vue +1 -1
  20. package/src/components/rongcheng/PaperListNPSQ.vue +35 -1
  21. package/src/components/rongcheng/PaperListSQ.vue +32 -11
  22. package/src/components/rongcheng/PhoneUpUserinfo.vue +939 -802
  23. package/src/components/rongcheng/SafecheckOrderV.vue +1 -1
  24. package/src/components/rongcheng/report/CheckPlanAreaList.vue +1 -3
  25. package/src/components/safecheckNew/PaperList.vue +785 -0
  26. package/src/components/safecheckNew/android/AddPlanItem.vue +419 -0
  27. package/src/components/safecheckNew/android/AreaPlan.vue +561 -0
  28. package/src/components/safecheckNew/android/CurrentCreate.vue +1050 -0
  29. package/src/components/safecheckNew/android/Recheck.vue +379 -0
  30. package/src/components/safecheckNew/android/SafecheckDevices.vue +1400 -0
  31. package/src/components/safecheckNew/android/SafecheckOrderV.vue +2692 -0
  32. package/src/filiale/Util.js +5 -0
  33. package/src/filiale/baiyin/android.js +9 -0
  34. package/src/filiale/baiyin/pc/PlanManage.vue +834 -0
  35. package/src/filiale/baiyin/pc.js +13 -0
  36. package/src/filiale/bayan/android/AddPlanItem.vue +7 -2
  37. package/src/filiale/bayan/android/CheckPlanDown.vue +249 -0
  38. package/src/filiale/bayan/android/SafecheckOrderV.vue +2855 -2853
  39. package/src/filiale/bayan/android/SafecheckUserInfo.vue +863 -811
  40. package/src/filiale/bayan/android.js +1 -0
  41. package/src/filiale/bayan/pc/CheckDetail.vue +205 -0
  42. package/src/filiale/bayan/pc/CheckPlan.vue +59 -0
  43. package/src/filiale/bayan/pc/CheckPlanAreaList.vue +565 -0
  44. package/src/filiale/bayan/pc/CheckSearchUser.vue +1110 -0
  45. package/src/filiale/bayan/pc/DefectListNew.vue +597 -0
  46. package/src/filiale/bayan/pc/DefectMainNew.vue +63 -0
  47. package/src/filiale/bayan/pc/DefectPaperNew.vue +1218 -0
  48. package/src/filiale/bayan/pc/HiddenSituation.vue +256 -0
  49. package/src/filiale/bayan/pc/NewCheckpaper.vue +31 -1
  50. package/src/filiale/bayan/pc/PaperList.vue +899 -792
  51. package/src/filiale/bayan/pc/PlanManage.vue +29 -8
  52. package/src/filiale/bayan/pc/SelectCheckPlan.vue +333 -0
  53. package/src/filiale/bayan/pc.js +6 -0
  54. package/src/filiale/dexin/android/SafecheckDevices.vue +1 -1
  55. package/src/filiale/dexin/android/SafecheckOrderV.vue +123 -24
  56. package/src/filiale/dexin/android/WebMeterOpen.vue +1 -1
  57. package/src/filiale/dexin/android/WebMeterOpenEdit.vue +25 -37
  58. package/src/filiale/fugou/android/SafecheckOrderV.vue +2796 -0
  59. package/src/filiale/fugou/android.js +2 -1
  60. package/src/filiale/fugou/pc/AddToCheckBook.vue +56 -119
  61. package/src/filiale/fugou/pc/CheckBook.vue +2 -0
  62. package/src/filiale/fugou/pc/CheckBookEntry.vue +47 -19
  63. package/src/filiale/fugou/pc/CheckBookList.vue +2 -2
  64. package/src/filiale/fugou/pc/CheckBookSearchUser.vue +733 -574
  65. package/src/filiale/fugou/pc/CheckBookUser.vue +102 -45
  66. package/src/filiale/fugou/pc/DefectPaperNew.vue +10 -6
  67. package/src/filiale/fugou/pc/PaperDefectMain.vue +12 -6
  68. package/src/filiale/fugou/pc/PaperList.vue +14 -6
  69. package/src/filiale/fugou/pc/PlanManage.vue +62 -8
  70. package/src/filiale/fugou/pc/checkUserList.vue +222 -42
  71. package/src/filiale/hanzhong/pc/CheckHiddenDanger.vue +15 -5
  72. package/src/filiale/hanzhong/pc/CheckSafeDetail.vue +12 -2
  73. package/src/filiale/hanzhong/pc/CheckSafeStatus.vue +12 -3
  74. package/src/filiale/hanzhong/pc/CheckSearchUser.vue +13 -0
  75. package/src/filiale/hanzhong/pc/CheckUserList.vue +30 -11
  76. package/src/filiale/hanzhong/pc/CheckerSafeDetail.vue +11 -2
  77. package/src/filiale/jingyang/pc/ReportCheckItemList.vue +543 -0
  78. package/src/filiale/jingyang/pc.js +1 -0
  79. package/src/filiale/kelai/pc/CheckPlanAreaList.vue +2 -22
  80. package/src/filiale/liaoyuan/pc/checkPlanList.vue +373 -0
  81. package/src/filiale/liaoyuan/pc.js +2 -1
  82. package/src/filiale/qianneng/pc/PaperList.vue +31 -1
  83. package/src/filiale/rongchuang/android/SafecheckDevices.vue +468 -748
  84. package/src/filiale/rongchuang/android/SafecheckOrderV.vue +984 -1234
  85. package/src/filiale/rongchuang/android.js +1 -0
  86. package/src/filiale/rongchuang/pc/NewCheckpaper.vue +294 -305
  87. package/src/filiale/rongchuang/pc/PaperList.vue +812 -0
  88. package/src/filiale/rongchuang/pc.js +1 -0
  89. package/src/filiale/siyang/android/PhoneRecordInfo.vue +214 -0
  90. package/src/filiale/siyang/android/SafecheckOrderV.vue +2796 -0
  91. package/src/filiale/siyang/android/SafecheckUserInfo.vue +789 -0
  92. package/src/filiale/siyang/android.js +11 -0
  93. package/src/filiale/siyang/pc/PaperDefectMain.vue +864 -0
  94. package/src/filiale/siyang/pc/PaperList.vue +834 -0
  95. package/src/filiale/siyang/pc/PlanManage.vue +839 -0
  96. package/src/filiale/siyang/pc/checkUserList.vue +781 -0
  97. package/src/filiale/siyang/pc.js +15 -0
  98. package/src/filiale/tianke/pc/checkScreen.vue +36 -31
  99. package/src/filiale/tongchuan/pc/NewCheckpaper.vue +1 -1
  100. package/src/filiale/tongchuan/pc/checkUserList.vue +2 -2
  101. package/src/filiale/weinan/android/PaperFeedback.vue +8 -8
  102. package/src/filiale/weinan/android/SafecheckDevices.vue +6 -2
  103. package/src/filiale/weinan/android/SafecheckOrderV.vue +16 -2
  104. package/src/filiale/weinan/android/SafecheckUserInfo.vue +7 -2
  105. package/src/filiale/weinan/pc/CheckSearchUser.vue +1078 -0
  106. package/src/filiale/weinan/pc/DefectPaperNew.vue +7 -1
  107. package/src/filiale/weinan/pc.js +1 -0
  108. package/src/filiale/wenxi/android/PhoneUpUserinfo.vue +1076 -1076
  109. package/src/filiale/wenxi/android/SafecheckUserInfo.vue +84 -63
  110. package/src/filiale/wenxi/pc/NewCheckpaper.vue +1 -1
  111. package/src/filiale/yangchunboneng/android/AddPlanItem.vue +46 -1
  112. package/src/filiale/yangchunboneng/android/CurrentCreate.vue +39 -2
  113. package/src/filiale/yangchunboneng/android/PhoneUpUserinfo.vue +1235 -0
  114. package/src/filiale/yangchunboneng/android/SafecheckDevices.vue +1 -1
  115. package/src/filiale/yangchunboneng/android/SafecheckOrderV.vue +15 -4
  116. package/src/filiale/yangchunboneng/android/SafecheckUserInfo.vue +16 -6
  117. package/src/filiale/yangchunboneng/android.js +1 -0
  118. package/src/filiale/yangchunboneng/pc/CheckBookList.vue +4 -4
  119. package/src/filiale/yangchunboneng/pc/CheckBookSearchUser.vue +76 -32
  120. package/src/filiale/yangchunboneng/pc/CheckBookUser.vue +72 -1
  121. package/src/filiale/yangchunboneng/pc/CheckSearchUser.vue +187 -13
  122. package/src/filiale/yangchunboneng/pc/PaperList.vue +17 -0
  123. package/src/filiale/yongzhou/android/SafecheckOrderV.vue +221 -256
  124. package/src/filiale/yongzhou/pc/CheckPlan.vue +59 -0
  125. package/src/filiale/yongzhou/pc/CheckSearchUser.vue +1 -1
  126. package/src/filiale/yongzhou/pc/DefectPaperNew.vue +1105 -0
  127. package/src/filiale/yongzhou/pc/NoCheckplanSafecheck.vue +412 -107
  128. package/src/filiale/yongzhou/pc/PaperDefectMain.vue +872 -0
  129. package/src/filiale/yongzhou/pc/PaperList.vue +1 -1
  130. package/src/filiale/yongzhou/pc/SelectCheckPlan.vue +364 -0
  131. package/src/filiale/yongzhou/pc/communityTypeDetailG.vue +56 -125
  132. package/src/filiale/yongzhou/pc/communityTypeDetailM.vue +94 -187
  133. package/src/filiale/yongzhou/pc/safeDetail.vue +311 -20
  134. package/src/filiale/yongzhou/pc/safeStatistics.vue +74 -24
  135. package/src/filiale/yongzhou/pc/safeStatisticsDay.vue +2 -2
  136. package/src/filiale/yongzhou/pc/safeStatisticsMonth.vue +2 -2
  137. package/src/filiale/yongzhou/pc/safeStatisticsYear.vue +47 -23
  138. package/src/filiale/yongzhou/pc/safeTable.vue +3 -3
  139. package/src/filiale/yongzhou/pc.js +4 -0
  140. package/src/filiale/zhongsheng/android/CurrentCreate.vue +7 -2
  141. package/src/filiale/zhongsheng/pc/DefectPaperWeiXiu.vue +6 -2
  142. package/src/main.js +33 -33
  143. package/src/rongcheng.js +3 -1
  144. package/src/safecheck-android.js +6 -0
  145. package/src/safecheck.js +3 -0
@@ -0,0 +1,13 @@
1
+ // 分公司特殊组件页面注册
2
+ import Vue from "vue";
3
+
4
+ //手机特殊目录注册到该文件中
5
+ let specialComp = {
6
+ // 计划安检
7
+ 'plan-manage': (resolve) => { require(['./pc/PlanManage'], resolve) },
8
+ }
9
+ exports.specialComp = specialComp
10
+
11
+
12
+
13
+
@@ -304,6 +304,9 @@
304
304
  })
305
305
  //tag
306
306
  },
307
+ selfSearch(){
308
+ this.$refs.paged.$refs.cri.search()
309
+ },
307
310
  inspect (info){
308
311
  if(info.f_last_check_date){
309
312
  this.$showMessage("该用户最后一次安检时间为 "+info.f_last_check_date+" 是否继续对该用户进行安检",['confirm', 'cancel']).then((butt)=>{
@@ -321,7 +324,8 @@
321
324
  safe:true
322
325
  }
323
326
  this.$dispatch('gotoson',pardate)
324
- this.$goto('safecheck-order-v', {item: info, role: 'inspect'}, 'self', this.reload)
327
+ let _this = this
328
+ this.$goto('safecheck-order-v', {item: info, role: 'inspect'}, 'self', function(){_this.selfSearch()})
325
329
 
326
330
  })
327
331
  }
@@ -340,7 +344,8 @@
340
344
  safe:true
341
345
  }
342
346
  this.$dispatch('gotoson',pardate)
343
- this.$goto('safecheck-order-v', {item: info, role: 'inspect'}, 'self', this.reload)
347
+ let _this = this
348
+ this.$goto('safecheck-order-v', {item: info, role: 'inspect'}, 'self', function(){_this.selfSearch()})
344
349
 
345
350
  })
346
351
  }
@@ -0,0 +1,249 @@
1
+ <template>
2
+ <div class="auto">
3
+
4
+ <div class="auto">
5
+ <criteria-paged :model="model" v-ref:paged>
6
+ <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
7
+ <div partial>
8
+ <div class="row app-row">
9
+ <div class="col-xs-4">
10
+ <img src="../../../assets/档案信息.png" style="width: 20px;margin-bottom: 5px" alt="">
11
+ <label for="f_plan_name" class="font text-left">计划名称:</label>
12
+ </div>
13
+ <div class="col-xs-8">
14
+ <input id="f_plan_name" class="search_input input-font" v-model="model.f_plan_name"
15
+ condition="f_plan_name like '%{}%'" />
16
+ </div>
17
+ </div>
18
+ <div class="row text-center" style="margin-top: 20px;">
19
+ <button type="button" class="btn btn-lg btn-font btn-color" style="width: 45%;"
20
+ @click="search">查询</button>
21
+ </div>
22
+ <!--<div class="row app-btn">-->
23
+ <!--<button class="btn btn-primary col-xs-6" type="button" @click="search"><span class="glyphicon glyphicon-search" style="margin-right: 20px;">查询</span></button>-->
24
+ <!--</div>-->
25
+ <div style="height:30px;"></div>
26
+ </div>
27
+ </criteria>
28
+ <list :model="model" partial='list'>
29
+ <div partial>
30
+ <div class="auto app-text" style="margin-top: 5px;">
31
+ <div class="panel" style="padding: 10px 10px 5px 10px;">
32
+ <div class="panel-body panel-self">
33
+ <div class="row">
34
+ <p class="panel-title col-xs-4 text-left font">计划名称</p>
35
+ <p class="panel-title col-xs-8 text-left input-font">{{ row.f_plan_name }}</p>
36
+ </div>
37
+ <div class="row">
38
+ <p class="panel-title col-xs-4 text-left font">计划时间</p>
39
+ <p class="panel-title col-xs-8 text-left input-font">{{ row.f_plan_year }}/{{ row.f_plan_month }}</p>
40
+ </div>
41
+ <!--<div class="row">-->
42
+ <!--<p class="panel-title col-xs-4 text-left font">生成人员</p>-->
43
+ <!--<p class="panel-title col-xs-8 text-left input-font">{{ row.f_create_operator }}/{{row.f_plan_month}}</p>-->
44
+ <!--</div>-->
45
+ <!--<div class="row">-->
46
+ <!--<p class="panel-title col-xs-4 text-left font">下发人员</p>-->
47
+ <!--<p class="panel-title col-xs-8 text-left input-font">{{ row.f_send_operator }}/{{row.f_plan_month}}</p>-->
48
+ <!--</div>-->
49
+ <div class="row text-right">
50
+ <button type="button" class="btn yybtn-color"
51
+ v-on:click.stop.prevent='$parent.$parent.$parent.downloadHand(row)'
52
+ v-if="$parent.$parent.$parent.isDown(row)">下载</button>&nbsp;
53
+ </div>
54
+ </div>
55
+ </div>
56
+
57
+ </div>
58
+ </div>
59
+ </list>
60
+ </criteria-paged>
61
+ </div>
62
+ <!--<div class="row text-center" style="margin-top: 20px;">-->
63
+ <!--<button type="' 正在进行共享计划下载,请确认!' btn-lg btn-font btn-color" style="width: 45%;" @click="downHand()">共享计划下载</button>-->
64
+ <!--&lt;!&ndash;<button type="button" class="btn btn-lg btn-font btn-color" style="width: 45%;" @click="database()">数据库导出</button>&ndash;&gt;-->
65
+ <!--</div>-->
66
+ <!-- <div class="auto" style="padding-top: 20px;" v-if='show'>
67
+ <p class="text-warning" style="padding: 0 10px">正在下载抄表单...</p>
68
+ </div> -->
69
+ <!-- <hand-info v-if="show" :data="handinfo"></hand-info> -->
70
+ <!-- <div class="auto" v-if="!show">
71
+ <p class="text-warning" style="padding: 0 10px">
72
+ 暂无可操作的抄表信息
73
+ </p>
74
+ </div> -->
75
+ </div>
76
+ <!-- <back-page :need-back='true' @flag="$back()"></back-page>-->
77
+ </template>
78
+ <script>
79
+
80
+ import { PagedList,HttpResetClass } from 'vue-client'
81
+
82
+ import Vue from 'vue'
83
+
84
+
85
+ export default {
86
+ title: '共享计划下载',
87
+ data() {
88
+ return {
89
+ model: new PagedList(`${this.$androidUtil.getProxyUrl()}/rs/sql/getShareCheckPlan`, 5, { f_fengongsi: `'${Vue.user.orgid}'` }),
90
+ checkPlanInfo: [],
91
+ condition: ' and 1=1 ',
92
+ localcheckPlanInfo: []
93
+ }
94
+ },
95
+ async ready() {
96
+
97
+ await this.init()
98
+ this.getlocalCheckPlan()
99
+ },
100
+ methods: {
101
+ selfSearch(args) {
102
+ args.condition += this.condition
103
+ this.model.search(args.condition, args.model)
104
+ },
105
+ async init() {
106
+ this.condition = ' and 1=1 '
107
+ let classes_arr = await new HttpResetClass().load('POST', `${this.$androidUtil.getProxyUrl()}/rs/sql/tel_singleTable_OrderBy`, {
108
+ data: {
109
+ items: 'name', tablename: 't_parameter', condition: `id in (select processid from t_paramvalue where name = '${Vue.user.name}') and name like '%组'`, orderitem: 'id'
110
+ }
111
+ })
112
+ let classes_str = classes_arr.data.map(item => { return `'${item.name}'` }).join()
113
+ if (classes_arr.data && classes_arr.data.length >0){
114
+ this.condition += ` and f_class in (${classes_str})`
115
+ }
116
+ let outlets_arr = await new HttpResetClass().load('POST', `${this.$androidUtil.getProxyUrl()}/rs/sql/tel_singleTable_OrderBy`, {
117
+ data: {
118
+ items: 'name', tablename: 't_parameter', condition: `id in (select processid from t_paramvalue where name in (${classes_str})) and name like '%厅%'`, orderitem: 'id'
119
+ }
120
+ })
121
+ if (outlets_arr.data && outlets_arr.data.length >0){
122
+ this.condition += ` and f_outlets in (${outlets_arr.data.map(outlets => { return `'${outlets.name.substring(3)}'` }).join()})`
123
+ }
124
+ },
125
+ reload() {
126
+ //tag
127
+ this.$refs.paged.loadPage(this.$refs.paged.model.pageIndex)
128
+ },
129
+ getlocalCheckPlan() {
130
+ let value = this.$androidUtil.path({ alias: 'getLocalCheckPlan', data: {} })
131
+ //tag
132
+ this.localcheckPlanInfo = value.data
133
+ // this.$androidUtil.path({alias: 'getLocalCheckPlan', data:{}}).then((value)=>{
134
+ // //tag
135
+ // this.localcheckPlanInfo = value.data
136
+ // })
137
+ },
138
+ downloadHand(row) {
139
+ HostApp.__this__ = this
140
+ this.$showMessage('正在进行共享计划下载,请确认!', ['confirm', 'cancel']).then((res) => {
141
+ if (res === 'confirm') {
142
+ HostApp.logicWithHint({
143
+ 'logic': 'DownCheckPlanInfo',
144
+ 'callback': 'javascript: HostApp.__this__.downloadHandCallback()',
145
+ 'data': { id: row.id },
146
+ 'backresult': 1
147
+ })
148
+ }
149
+ })
150
+ },
151
+ downloadHandCallback(jo) {
152
+ // 安卓端
153
+ //tag
154
+ if (jo.state == 'ok') {
155
+ let result = JSON.parse(jo.result)
156
+ if (result.state == 0) {
157
+ if (result.data.length > 0) {
158
+ this.getlocalCheckPlan()
159
+ this.$showMessage('下载成功,您可前往计划导航进行查看!')
160
+ } else {
161
+ this.$showMessage('无可下载的共享计划!')
162
+ }
163
+ } else {
164
+ this.$showMessage('下载失败!')
165
+ }
166
+ } else {
167
+ this.$showMessage('下载失败,请重试!')
168
+ }
169
+ }
170
+ },
171
+ computed: {
172
+ isDown() {
173
+ return function (row) {
174
+ for (let info of this.localcheckPlanInfo) {
175
+ if (info.id == row.id) {
176
+ return false
177
+ }
178
+ }
179
+ return true
180
+ }
181
+ }
182
+ }
183
+ }
184
+ </script>
185
+ <style>
186
+ .bg {
187
+ background-color: blue;
188
+ height: 1px;
189
+ border: 0;
190
+ }
191
+
192
+ .app-row {
193
+ background-color: white;
194
+ padding: 10px 10px 0 10px;
195
+ border-bottom: 1px solid rgba(235, 235, 235, 0.5);
196
+ }
197
+
198
+ .search_input {
199
+ border: 0;
200
+ outline: none;
201
+ }
202
+
203
+ .font {
204
+ font: 15px PingFang-SC-Medium;
205
+ color: #666666;
206
+ }
207
+
208
+ .input-font {
209
+ font: 15px PingFang-SC-Medium;
210
+ color: #333333;
211
+ }
212
+
213
+ .btn-font {
214
+ font: 600 16px PingFang-SC-Bold;
215
+ color: #499EDF;
216
+ }
217
+
218
+ .btn-color {
219
+ background-color: #FFFFFF;
220
+ border-radius: 10px;
221
+ border: 1px solid #499EDF;
222
+ }
223
+
224
+ .app-text {
225
+ font-size: 12px;
226
+ }
227
+
228
+ .panel-self {
229
+ border-radius: 10px;
230
+ border: 1px solid #499EDF;
231
+ background-color: #F8F8F8;
232
+ }
233
+
234
+ .yybtn-color {
235
+ background-color: #499edf;
236
+ border-radius: 4px;
237
+ border: 1px solid #499EDF;
238
+ color: #FFFFFF;
239
+ font: 14px PingFang-SC-Bold;
240
+ }
241
+
242
+ .qxbtn-color {
243
+ background-color: #FFFFFF;
244
+ border-radius: 4px;
245
+ color: #499edf;
246
+ font: 14px PingFang-SC-Bold;
247
+ border: 1px solid #499EDF;
248
+ }
249
+ </style>