safecheck-client 3.0.39-3 → 3.0.39-30

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 (56) hide show
  1. package/package.json +6 -6
  2. package/src/App.vue +26 -26
  3. package/src/assets//345/256/232/344/275/215.png +0 -0
  4. package/src/components/android/AndroidDefectDeal.vue +2 -2
  5. package/src/components/android/AreaPlan.vue +567 -567
  6. package/src/components/android/SafecheckOrderV.vue +1 -1
  7. package/src/components/pc/AddPlanItemYyChange.vue +5 -1
  8. package/src/components/pc/SafeCheckOrder/SafeCheckOrderList.vue +34 -0
  9. package/src/filiale/BFshiye/android/PhoneUpUserinfo.vue +3 -1
  10. package/src/filiale/BFshiye/android/SafecheckUserInfo.vue +2 -8
  11. package/src/filiale/bayan/pc/NewCheckpaper.vue +2 -2
  12. package/src/filiale/bayan/pc/SummaryOfSecurityInspectionProgress.vue +7 -7
  13. package/src/filiale/dexin/android/AreaPlan.vue +567 -567
  14. package/src/filiale/dexin/android.js +21 -21
  15. package/src/filiale/hanzhong/pc/CheckHiddenDanger.vue +2 -2
  16. package/src/filiale/hanzhong/pc/CheckNumberStatistics.vue +1 -1
  17. package/src/filiale/hanzhong/pc/CheckSafeDetail.vue +6 -1
  18. package/src/filiale/hanzhong/pc/CheckSafeStatus.vue +1 -1
  19. package/src/filiale/hanzhong/pc/CheckerSafeDetail.vue +1 -1
  20. package/src/filiale/huatong/android/SafecheckOrderV.vue +2 -2
  21. package/src/filiale/jinhuang/android/AddPlanItem.vue +430 -0
  22. package/src/filiale/jinhuang/android/PhoneUpUserinfo.vue +1278 -1252
  23. package/src/filiale/jinhuang/android.js +2 -1
  24. package/src/filiale/kelai/android/PaperFeedback.vue +1384 -1370
  25. package/src/filiale/kelai/android/SafecheckOrderV.vue +1 -1
  26. package/src/filiale/kelai/android/SafecheckUserInfo.vue +1 -1
  27. package/src/filiale/kelai/pc/UserInfoAudit.vue +126 -90
  28. package/src/filiale/liaoyuan/pc/NewCheckpaper.vue +7 -7
  29. package/src/filiale/qingjian/android/PhoneUpUserinfo.vue +104 -38
  30. package/src/filiale/qingjian/android/SafecheckDevices.vue +1 -1
  31. package/src/filiale/qingjian/android/SafecheckOrderV.vue +3 -0
  32. package/src/filiale/qingjian/android/SafecheckUserInfo.vue +42 -19
  33. package/src/filiale/qingjian/pc/NewCheckpaper.vue +1 -0
  34. package/src/filiale/rongchuang/android/PhoneUpUserinfo.vue +1262 -0
  35. package/src/filiale/rongchuang/android/SafecheckDevices.vue +1 -1
  36. package/src/filiale/rongchuang/android.js +1 -0
  37. package/src/filiale/rongchuang/pc/checkPlanList.vue +398 -0
  38. package/src/filiale/rongchuang/pc.js +1 -0
  39. package/src/filiale/siyang/android/PhoneInsurancePurchaseDetail.vue +57 -24
  40. package/src/filiale/siyang/android/SafecheckDevices.vue +1 -1
  41. package/src/filiale/siyang/android/SafecheckUserInfo.vue +8 -2
  42. package/src/filiale/tongchuan/pc/AMapTrailShowZk.vue +226 -0
  43. package/src/filiale/tongchuan/pc/CheckSearchUser.vue +47 -1
  44. package/src/filiale/tongchuan/pc/DefectPaperWeiXiu.vue +46 -0
  45. package/src/filiale/tongchuan/pc/NoCheckplanSafecheck.vue +34 -0
  46. package/src/filiale/tongchuan/pc/PaperDefectMain.vue +34 -0
  47. package/src/filiale/tongchuan/pc/PaperList.vue +44 -10
  48. package/src/filiale/tongchuan/pc/PersonTrack.vue +269 -0
  49. package/src/filiale/tongchuan/pc/SelectCheckPlan.vue +42 -2
  50. package/src/filiale/tongchuan/pc.js +2 -0
  51. package/src/filiale/wenxi/android/SafecheckOrderV.vue +2682 -2682
  52. package/src/filiale/wuan/android/SafecheckOrderV.vue +1 -0
  53. package/src/filiale/wuan/android/SafecheckUserInfo.vue +79 -16
  54. package/src/filiale/wuan/pc/NewCheckpaper.vue +16 -1
  55. package/src/filiale/yangchunboneng/pc/CheckPlanAreaList.vue +3 -3
  56. package/src/main.js +33 -33
@@ -259,7 +259,7 @@
259
259
  "金额异常差值":{"index":10,"type":"number","readonly": true},
260
260
  "系统余额":{"index":10,"type":"number","readonly": true},
261
261
  "表封号":{"index":11,"type":"string","readonly": true},
262
- "燃气表照片":{"index":12,"type":"picture","checkmust": false}
262
+ "燃气表照片":{"index":12,"type":"picture","checkmust": true}
263
263
  }
264
264
  // 注意,配置项的index必须与上面的固定配置保持'顺序'
265
265
  },
@@ -96,6 +96,9 @@
96
96
  <th>
97
97
  <nobr>安检员</nobr>
98
98
  </th>
99
+ <th>
100
+ <nobr>派单员</nobr>
101
+ </th>
99
102
  <th>
100
103
  <nobr>备注</nobr>
101
104
  </th>
@@ -109,6 +112,7 @@
109
112
  <td style="text-align: center;white-space:nowrap;">{{ row.f_user_name }}</td>
110
113
  <td style="text-align: center;white-space:nowrap;">{{ row.f_handler_time }}</td>
111
114
  <td style="text-align: center;white-space:nowrap;">{{ row.f_handlercheck_name }}</td>
115
+ <td style="text-align: center;white-space:nowrap;">{{ row.operator }}</td>
112
116
  <td style="text-align: center;white-space:nowrap;">{{ row.f_safe_remark }}</td>
113
117
  </template>
114
118
  </data-grid>
@@ -156,7 +160,7 @@ let select = function* (self) {
156
160
  })
157
161
  }
158
162
  export default {
159
- title: '隐患查询',
163
+ title: '预约安检',
160
164
  data() {
161
165
  let model = new PagedList('rs/sql/safe_singleTable_OrderBy', 20, {
162
166
  items: "'*'",
@@ -68,6 +68,18 @@
68
68
  condition="f_userinfo_code = '{}'"
69
69
  placeholder="用户编号"/>
70
70
  </div>
71
+ <div class="col-sm-2 form-group">
72
+ <label class="font_normal_body">网&ensp;格&ensp;员</label>
73
+ <v-select class="select_list select"
74
+ placeholder='请选择' style="width: 60%"
75
+ :value.sync="model.f_book_checker" v-model="model.f_book_checker"
76
+ :options='$parent.$parent.users'
77
+ filer-key="name"
78
+ close-on-select clear-button
79
+ condition="f_book_checker like '%{}%' and f_checker_name = '{}'"
80
+ :value-single="true">
81
+ </v-select>
82
+ </div>
71
83
  </div>
72
84
  </div>
73
85
  </div>
@@ -145,6 +157,7 @@ import {HttpResetClass, PagedList} from 'vue-client'
145
157
  // f_orgids: '1522.255', //测试使用
146
158
  suggetsShow: false,
147
159
  f_suggest: '',
160
+ users:[{label: '全部', value: ''}],
148
161
 
149
162
  curorgid: [this.$login.f.orgid],
150
163
  f_orgid: '',
@@ -155,8 +168,29 @@ import {HttpResetClass, PagedList} from 'vue-client'
155
168
  ready(){
156
169
  // 默认查询待处理状态预约
157
170
  this.search()
171
+ this.initBookChecker()
158
172
  },
159
173
  methods: {
174
+ initBookChecker(){
175
+ new HttpResetClass().load('POST', '/rs/search', {
176
+ data: {
177
+ source: `root.getResourceById($${this.$login.f.orgid}$,$organization$).getSpecialResByType($user$).where(row.getAttributes().get($rolestr$).indexOf($网格员$) != -1)`,
178
+ userid: this.$login.f.id
179
+ }
180
+ }, {resolveMsg: null, rejectMsg: null}).then(res=>{
181
+ let data = res.data
182
+ const addedNames = new Set()
183
+ this.users = []
184
+ data.forEach(user => {
185
+ if (user.state === '在职') {
186
+ if (!addedNames.has(user.name)) {
187
+ this.users.push({ label: user.name, value: user.name })
188
+ addedNames.add(user.name)
189
+ }
190
+ }
191
+ });
192
+ })
193
+ },
160
194
  getPcds(val) {
161
195
  this.pcds = [{label: '全部', value: ''}]
162
196
  new HttpResetClass().load("POST", `/rs/sql/safe_singleTable_OrderBy`,
@@ -829,7 +829,9 @@
829
829
 
830
830
  },
831
831
  changeNewAddress() {
832
- this.userinfo.addressinfo.f_address = this.addressType == '普通地址' ? this.getAddress : this.getAddressTS
832
+ // this.userinfo.addressinfo.f_address = this.addressType == '普通地址' ? this.getAddress : this.getAddressTS
833
+ const f_address = this.addressType == '普通地址' ? this.getAddress : this.getAddressTS
834
+ console.log(f_address)
833
835
  },
834
836
  area_change() {
835
837
  //tag
@@ -23,10 +23,7 @@
23
23
  </div>
24
24
  <div class="col-xs-12" style="padding: 2px 0">
25
25
  <p class="panel-title col-xs-5 text-left font" style="width: 21%;float: left"><b>用户电话:</b></p>
26
- <input class="panel-title text-left input-font" style="width: 53%"
27
- value="{{ userinfo.f_user_phone2 ? userinfo.f_user_phone2 : userinfo.f_user_phone }}"
28
- v-model="userinfo.f_user_phone"/>
29
-
26
+ <p class="panel-title text-left input-font" style="width: 79%">{{ userinfo.f_user_phone2 ? userinfo.f_user_phone2 : userinfo.f_user_phone }}</p>
30
27
  </div>
31
28
  <!-- <div class="col-xs-12" style="padding: 2px 0" v-if="updateuserphone&&(userinfo.planmeterss.f_aliasname=='机表')">-->
32
29
  <!-- <p class="panel-title text-left font" style="width: 23%;float: left"><b>机表表号:</b></p>-->
@@ -39,10 +36,7 @@
39
36
  </div>
40
37
  <div class="col-xs-12" style="padding: 2px 0">
41
38
  <p class="panel-title col-xs-5 text-left font" style="width: 21%;float: left"><b>用户地址:</b></p>
42
- <!-- <p class="panel-title text-left input-font" style="width: 79%;float: left">{{ userinfo.f_address }}</p>-->
43
- <input class="panel-title text-left input-font" style="width: 53%"
44
- value="{{userinfo.f_address }}"
45
- v-model="userinfo.f_address"/>
39
+ <p class="panel-title text-left input-font" style="width: 79%">{{ userinfo.f_address }}</p>
46
40
  </div>
47
41
  <div class="col-xs-12" style="padding: 2px 0">
48
42
  <p class="panel-title col-xs-5 text-left font" style="width: 30%;float: left"><b>租户电话:</b></p>
@@ -219,9 +219,9 @@ div {
219
219
  <td style="text-align: center;border: #E9E9E9 solid 1px;width: 33%">
220
220
  {{ paperdata.f_visit_number }}
221
221
  </td>
222
- <td style="text-align: center;border: #E9E9E9 solid 1px;width: 17%">备注:</td>
222
+ <td style="text-align: center;border: #E9E9E9 solid 1px;width: 17%">预约备注:</td>
223
223
  <td style="text-align: center;border: #E9E9E9 solid 1px;width: 33%">
224
- {{ paperdata.f_remark }}
224
+ {{ item.f_remark }}
225
225
  </td>
226
226
  </tr>
227
227
  <tr>
@@ -6,7 +6,7 @@
6
6
  <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
7
7
  <div class="row">
8
8
  <div class="form-group col-sm-2">
9
- <label class="font_normal_body">计划时间</label>
9
+ <label class="font_normal_body">安检时间</label>
10
10
  <datepicker
11
11
  :value.sync="model.f_start_time"
12
12
  placeholder='开始时间' style="width: 60%"
@@ -18,7 +18,7 @@
18
18
  </datepicker>
19
19
  </div>
20
20
  <div class="form-group col-sm-2">
21
- <label class="font_normal_body">计划时间</label>
21
+ <label class="font_normal_body">安检时间</label>
22
22
  <datepicker
23
23
  :value.sync="model.f_end_time"
24
24
  placeholder='结束时间' style="width: 60%"
@@ -85,7 +85,7 @@
85
85
  <nobr>入户率</nobr>
86
86
  </th>
87
87
  <th>
88
- <nobr>未安检</nobr>
88
+ <nobr>无计划安检数</nobr>
89
89
  </th>
90
90
  <th>
91
91
  <nobr>完成率</nobr>
@@ -99,7 +99,7 @@
99
99
  <td style="text-align: center" >{{row.f_safe_name}}</td>
100
100
  <td style="text-align: center" >{{row.f_ruhu_name}}</td>
101
101
  <td style="text-align: center" >{{row.f_ruhu_bv}}</td>
102
- <td style="text-align: center" >{{row.f_wj_num}}</td>
102
+ <td style="text-align: center" >{{row.f_nosafe_num}}</td>
103
103
  <td style="text-align: center" >{{row.f_wc_bv}}</td>
104
104
  </template>
105
105
  </data-grid>
@@ -132,7 +132,7 @@ export default {
132
132
  'f_safe_name': '已安检',
133
133
  'f_ruhu_name': '已入户',
134
134
  'f_ruhu_bv': '入户率',
135
- 'f_wj_num': '未安检',
135
+ 'f_nosafe_num': '无计划安检数',
136
136
  'f_wc_bv': '完成率'
137
137
  }
138
138
  }
@@ -143,10 +143,10 @@ export default {
143
143
  let condition1 = tempStr
144
144
  let condition2 = ' 1=1 '
145
145
  if (this.da_starttime){
146
- condition2 += ` and f_open_date >= '${this.da_starttime}' `
146
+ condition2 += ` and tu.f_open_date >= '${this.da_starttime}' `
147
147
  }
148
148
  if (this.da_endtime){
149
- condition2 += ` and f_open_date <= '${this.da_endtime}' `
149
+ condition2 += ` and tu.f_open_date <= '${this.da_endtime}' `
150
150
  }
151
151
 
152
152
  this.model.condition1=condition1