safecheck-client 4.0.2-6 → 4.0.2-62

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 (69) hide show
  1. package/package.json +1 -1
  2. package/src/components/NewDefectList/DefectPaperNew.vue +1184 -1184
  3. package/src/components/android/AndroidNotifiedDeal.vue +417 -0
  4. package/src/components/android/PhoneUpUserinfo.vue +1249 -1249
  5. package/src/components/android/SafeRightTree.vue +218 -218
  6. package/src/components/android/SafecheckDevices.vue +1340 -1340
  7. package/src/components/android/week/CheckResultSimple.vue +251 -0
  8. package/src/components/android/week/FirstWeekCheck.vue +275 -0
  9. package/src/components/android/week/StepHeaderBar.vue +457 -0
  10. package/src/components/android/week/WeekCheck.vue +209 -0
  11. package/src/components/android/week/WeekCheckPaper.vue +219 -0
  12. package/src/components/android/week/WeekCheckPlan.vue +145 -0
  13. package/src/components/checkplan/SelectCheckPlan.vue +39 -0
  14. package/src/components/paper/safetyledger.vue +198 -0
  15. package/src/components/pc/CheckBook.vue +303 -303
  16. package/src/components/pc/CheckBookArea.vue +146 -146
  17. package/src/components/pc/CheckBookCompany.vue +144 -144
  18. package/src/components/pc/CheckBookDetails.vue +161 -161
  19. package/src/components/pc/CheckBookEntry.vue +60 -60
  20. package/src/components/pc/CheckBookSearchArea.vue +560 -560
  21. package/src/components/pc/CheckBookSearchUnit.vue +229 -229
  22. package/src/components/pc/CheckBookSearchUser.vue +659 -659
  23. package/src/components/pc/CheckBookSearchUserList.vue +674 -674
  24. package/src/components/pc/DefectDeal.vue +6 -2
  25. package/src/components/planmanage/checkUserList.vue +1 -1
  26. package/src/components/querycheckpaper/CheckSearchUser.vue +2 -1
  27. package/src/components/report/CheckPlanAreaList.vue +53 -7
  28. package/src/filiale/jinhong/android/AddPlanItem.vue +481 -0
  29. package/src/filiale/jinhong/android/AndroidDefectDeal.vue +722 -0
  30. package/src/filiale/jinhong/android/AndroidNotifiedDeal.vue +521 -0
  31. package/src/filiale/jinhong/android/CurrentCreate.vue +1355 -1313
  32. package/src/filiale/jinhong/android/PhoneInsurancePurchaseDetail.vue +28 -3
  33. package/src/filiale/jinhong/android/SafecheckOrderV.vue +2300 -0
  34. package/src/filiale/jinhong/android.js +15 -11
  35. package/src/filiale/jinhong/pc/CheckBookList.vue +28 -18
  36. package/src/filiale/jinhong/pc/CheckSearchUser.vue +42 -2
  37. package/src/filiale/jinhong/pc/NewCheckpaper.vue +1958 -0
  38. package/src/filiale/jinhong/pc/PaperList.vue +5 -1
  39. package/src/filiale/jinhong/pc/checkPlanList.vue +73 -24
  40. package/src/filiale/jinhong/pc/checkUserList.vue +806 -770
  41. package/src/filiale/jinhong/pc.js +1 -0
  42. package/src/filiale/meihekou/android/CheckPlanList.vue +198 -198
  43. package/src/filiale/meihekou/android/CheckPlanListArea.vue +190 -190
  44. package/src/filiale/meihekou/android/CurrentCreate.vue +16 -0
  45. package/src/filiale/meihekou/android/PaperFeedback.vue +1545 -1542
  46. package/src/filiale/meihekou/android/SafecheckDevices.vue +1343 -1340
  47. package/src/filiale/meihekou/android/SafecheckOrderV.vue +27 -28
  48. package/src/filiale/meihekou/android.js +22 -22
  49. package/src/filiale/meihekou/pc/CheckDetail.vue +217 -0
  50. package/src/filiale/meihekou/pc/CheckPlan.vue +52 -0
  51. package/src/filiale/meihekou/pc/CheckPlanAreaList.vue +505 -0
  52. package/src/filiale/meihekou/pc/NewCheckpaper.vue +2 -1
  53. package/src/filiale/meihekou/pc/NewCheckpaperNew.vue +2051 -2050
  54. package/src/filiale/meihekou/pc/NewCheckpaperTemp.vue +1 -0
  55. package/src/filiale/meihekou/pc/SelectCheckPlan.vue +262 -0
  56. package/src/filiale/meihekou/pc.js +18 -15
  57. package/src/filiale/qingjian/pc/SecurityCheckCoordinates.vue +2 -2
  58. package/src/filiale/taiyuan/android/AddPlanItem.vue +1 -0
  59. package/src/filiale/taiyuan/android/SafecheckDevices.vue +1343 -0
  60. package/src/filiale/taiyuan/android/SafecheckOrderV.vue +17 -17
  61. package/src/filiale/taiyuan/android.js +1 -0
  62. package/src/filiale/xinkang/android/SafecheckDevices.vue +2 -2
  63. package/src/filiale/xinkang/android/SafecheckOrderV.vue +9 -2
  64. package/src/filiale/xinkang/pc/NewCheckpaper.vue +17 -46
  65. package/src/filiale/xinliansihui/pc/PaperList.vue +814 -0
  66. package/src/filiale/xinliansihui/pc/PaperVisitMain.vue +206 -0
  67. package/src/filiale/xinliansihui/pc.js +13 -0
  68. package/src/safecheck-android.js +12 -0
  69. package/src/safecheck.js +3 -0
@@ -41,7 +41,7 @@
41
41
  :format="'yyyy-MM-dd'"
42
42
  :show-rest-button="reset"
43
43
  v-model="model.f_check_start"
44
- condition="f_offsite_time > ='{} 00:00:00'">
44
+ condition="f_offsite_time >= '{} 00:00:00'">
45
45
  </datepicker>
46
46
  </div>
47
47
  <div class="form-group col-sm-2" >
@@ -340,6 +340,9 @@
340
340
  <th>
341
341
  <nobr>备注</nobr>
342
342
  </th>
343
+ <th>
344
+ <nobr>安检备注</nobr>
345
+ </th>
343
346
  <th>
344
347
  <nobr>开户时间</nobr>
345
348
  </th>
@@ -382,6 +385,7 @@
382
385
  <td style="text-align: center">{{ row.f_offsite_time }}</td>
383
386
  <td style="text-align: center">{{ row.f_checker_name }}</td>
384
387
  <td style="text-align: center">{{ row.f_repair_approved_note }}</td>
388
+ <td style="text-align: center">{{ row.f_comments }}</td>
385
389
  <td style="text-align: center">{{ row.f_gas_date }}</td>
386
390
  <td style="text-align: center" v-show="$parent.$parent.$parent.safeAudit">{{ row.f_approved_by }}</td>
387
391
  <td style="text-align: center" v-show="$parent.$parent.$parent.safeAudit">{{ row.f_approvedstart_time }}</td>
@@ -22,29 +22,18 @@
22
22
  <input type="text" class="input_search" v-model="model.f_address"
23
23
  style="width: 95%" placeholder="客户地址" condition="i.f_address like '%{}%'">
24
24
  </div>
25
- <div class="form-group col-sm-1" >
26
- <datepicker
27
- placeholder='创建起始'
28
- style="width:100%"
29
- :disabled-days-of-week="[]"
30
- :format="'yyyy-MM-dd'"
31
- :show-rest-button="reset"
32
- :value.sync="model.f_starcreate_time"
33
- v-model="model.f_starcreate_time"
34
- condition="i.f_create_time >='{} 00:00:00'">
35
- </datepicker>
36
- </div>
37
- <div class="form-group col-sm-1" style="margin-left: 6px;margin-right: 6px;">
38
- <datepicker
39
- placeholder='创建结束'
40
- :disabled-days-of-week="[]"
41
- style="width:100%"
42
- :format="'yyyy-MM-dd'"
43
- :show-rest-button="reset"
44
- :value.sync="model.f_endcreate_time"
45
- v-model="model.f_endcreate_time"
46
- condition="i.f_create_time <='{} 00:00:00'">
47
- </datepicker>
25
+ <div class="form-group col-sm-1 upuserinfo_sel" >
26
+ <v-select v-model="model.f_meter_book_num"
27
+ :multiple="true" :options='$parent.$parent.checkBooks'
28
+ :value.sync="model.f_meter_book_num"
29
+ class="select select_list"
30
+ @select-search="$parent.$parent.select_book"
31
+ :width="'95%'"
32
+ :timeout="500"
33
+ placeholder='安检册选择'
34
+ condition="i.f_check_book_id in {}" >
35
+ </v-select>
36
+
48
37
  </div>
49
38
  <!--<div class="form-group col-sm-1" >
50
39
  <v-select :width="'95%'"
@@ -137,6 +126,33 @@
137
126
  condition="i.f_last_check_date <='{} 00:00:00'">
138
127
  </datepicker>
139
128
  </div>
129
+ <div class="form-group col-sm-4" >
130
+ <label class="font_normal_body">创建起始:</label>
131
+ <datepicker
132
+ placeholder='创建起始'
133
+ style="width:60%"
134
+ :disabled-days-of-week="[]"
135
+ :format="'yyyy-MM-dd'"
136
+ :show-rest-button="reset"
137
+ :value.sync="model.f_starcreate_time"
138
+ v-model="model.f_starcreate_time"
139
+ condition="i.f_create_time >='{} 00:00:00'">
140
+ </datepicker>
141
+ </div>
142
+ <div class="form-group col-sm-4" >
143
+ <label class="font_normal_body">创建起始:</label>
144
+ <datepicker
145
+ placeholder='创建起始'
146
+ :disabled-days-of-week="[]"
147
+ style="width:60%"
148
+ :format="'yyyy-MM-dd'"
149
+ :show-rest-button="reset"
150
+ :value.sync="model.f_endcreate_time"
151
+ v-model="model.f_endcreate_time"
152
+ condition="i.f_create_time <='{} 00:00:00'">
153
+ </datepicker>
154
+ </div>
155
+
140
156
  <!-- <div class="form-group col-sm-4" >-->
141
157
  <!-- <label class="font_normal_body">创建起始:</label>-->
142
158
  <!-- <datepicker-->
@@ -235,6 +251,7 @@
235
251
  opt:[{label:"测试",value:"测试"}],
236
252
  showCondtion:false,
237
253
  checkAll:false,
254
+ checkBooks:[],
238
255
  checkes:[],
239
256
  checkResults:[{label:'到访不遇',value:'到访不遇'},{label:'拒检',value:'拒检'},{label:'入户',value:'入户'}],
240
257
  checkState:[{label:'全部',value:''},{label:'未检',value:'未检'},{label:'已检',value:'已检'}],
@@ -253,7 +270,7 @@
253
270
  },
254
271
  props:["selectplan","userlogin"],
255
272
  ready(){
256
-
273
+ this.getCheckBook()
257
274
  },
258
275
  computed:{
259
276
  exportParameter(){
@@ -265,6 +282,38 @@
265
282
  }
266
283
  },
267
284
  methods:{
285
+ select_book(text){
286
+ //tag
287
+ let pcdText=text?` and f_check_book_name like '%${text}%'`:''
288
+ new HttpResetClass().load("POST", `${this.$androidUtil.getProxyUrl()}/api/af-safecheck/sql/safe_singleTable_OrderBy`, {data:{items:"*",tablename:"t_check_book",orderitem:"id",condition:`f_orgid = '${this.userlogin.orgid}' ${pcdText} `}}, {resolveMsg: null, rejectMsg: null}).then((res)=>{
289
+ //tag)
290
+ if(res.data.length>0){
291
+ this.checkBooks = []
292
+ res.data.forEach((result)=>{
293
+ this.checkBooks.push({label:result.f_check_book_name,value:result.id})
294
+ })
295
+ }
296
+ //tag)
297
+ })
298
+ },
299
+ getCheckBook(){
300
+ this.checkBooks=[]
301
+ new HttpResetClass().load('POST', `/api/af-safecheck/sql/safe_singleTable_OrderBy?pageNo=1&pageSize=1000`, {
302
+ data: {
303
+ items: 'id,f_check_book_name,f_check_book_type',
304
+ tablename: 't_check_book',
305
+ condition: `f_orgid = '${this.userlogin.orgid}'`,
306
+ orderitem: 'id desc'
307
+ }
308
+ }, {resolveMsg: null, rejectMsg: null}).then(res => {
309
+ res.data.forEach(ress => {
310
+ this.checkBooks.push({
311
+ label: ress.f_check_book_name,
312
+ value: ress.id
313
+ })
314
+ })
315
+ })
316
+ },
268
317
  clear(){
269
318
  this.model.f_plan_id = '';
270
319
  this.model.f_userinfo_code = '';