safecheck-client 4.0.2-7 → 4.0.2-71

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 (78) hide show
  1. package/build/reports/problems/problems-report.html +663 -0
  2. package/package.json +132 -132
  3. package/src/components/NewDefectList/DefectPaperNew.vue +1184 -1184
  4. package/src/components/android/AndroidNotifiedDeal.vue +417 -0
  5. package/src/components/android/PhoneUpUserinfo.vue +1249 -1249
  6. package/src/components/android/SafeRightTree.vue +218 -218
  7. package/src/components/android/SafecheckDevices.vue +1340 -1340
  8. package/src/components/android/week/CheckResultSimple.vue +258 -0
  9. package/src/components/android/week/FirstWeekCheck.vue +301 -0
  10. package/src/components/android/week/StepHeaderBar.vue +485 -0
  11. package/src/components/android/week/WeekCheck.vue +267 -0
  12. package/src/components/android/week/WeekCheckPaper.vue +274 -0
  13. package/src/components/android/week/WeekCheckPlan.vue +145 -0
  14. package/src/components/android/week/WeekCheckUserInfo.vue +99 -0
  15. package/src/components/checkplan/CheckDetail.vue +1 -1
  16. package/src/components/checkplan/SelectCheckPlan.vue +39 -0
  17. package/src/components/paper/safetyledger.vue +198 -0
  18. package/src/components/pc/CheckBook.vue +303 -303
  19. package/src/components/pc/CheckBookArea.vue +146 -146
  20. package/src/components/pc/CheckBookCompany.vue +144 -144
  21. package/src/components/pc/CheckBookDetails.vue +161 -161
  22. package/src/components/pc/CheckBookEntry.vue +60 -60
  23. package/src/components/pc/CheckBookSearchArea.vue +560 -560
  24. package/src/components/pc/CheckBookSearchUnit.vue +229 -229
  25. package/src/components/pc/CheckBookSearchUser.vue +659 -659
  26. package/src/components/pc/CheckBookSearchUserList.vue +674 -674
  27. package/src/components/pc/DefectDeal.vue +22 -7
  28. package/src/components/pc/PaperDefectMain.vue +22 -0
  29. package/src/components/planmanage/checkUserList.vue +1 -1
  30. package/src/components/querycheckpaper/CheckSearchUser.vue +2 -1
  31. package/src/components/report/CheckPlanAreaList.vue +53 -7
  32. package/src/components/report/CheckPlanUserList.vue +12 -2
  33. package/src/filiale/jinhong/android/AddPlanItem.vue +481 -0
  34. package/src/filiale/jinhong/android/AndroidDefectDeal.vue +748 -0
  35. package/src/filiale/jinhong/android/AndroidNotifiedDeal.vue +569 -0
  36. package/src/filiale/jinhong/android/CurrentCreate.vue +63 -21
  37. package/src/filiale/jinhong/android/PhoneInsurancePurchaseDetail.vue +28 -3
  38. package/src/filiale/jinhong/android/SafecheckOrderV.vue +2300 -0
  39. package/src/filiale/jinhong/android.js +5 -1
  40. package/src/filiale/jinhong/pc/CheckBookList.vue +28 -18
  41. package/src/filiale/jinhong/pc/CheckSearchUser.vue +45 -2
  42. package/src/filiale/jinhong/pc/NewCheckpaper.vue +1958 -0
  43. package/src/filiale/jinhong/pc/PaperList.vue +8 -1
  44. package/src/filiale/jinhong/pc/PlanManage.vue +9 -3
  45. package/src/filiale/jinhong/pc/checkPlanList.vue +73 -24
  46. package/src/filiale/jinhong/pc/checkUserList.vue +36 -0
  47. package/src/filiale/jinhong/pc.js +1 -0
  48. package/src/filiale/meihekou/android/CheckPlanList.vue +198 -198
  49. package/src/filiale/meihekou/android/CheckPlanListArea.vue +190 -190
  50. package/src/filiale/meihekou/android/CurrentCreate.vue +16 -0
  51. package/src/filiale/meihekou/android/PaperFeedback.vue +1545 -1542
  52. package/src/filiale/meihekou/android/SafecheckDevices.vue +1343 -1340
  53. package/src/filiale/meihekou/android/SafecheckOrderV.vue +70 -54
  54. package/src/filiale/meihekou/android.js +22 -22
  55. package/src/filiale/meihekou/pc/CheckDetail.vue +217 -0
  56. package/src/filiale/meihekou/pc/CheckPlan.vue +52 -0
  57. package/src/filiale/meihekou/pc/CheckPlanAreaList.vue +505 -0
  58. package/src/filiale/meihekou/pc/NewCheckpaper.vue +249 -280
  59. package/src/filiale/meihekou/pc/NewCheckpaperNew.vue +2051 -2050
  60. package/src/filiale/meihekou/pc/NewCheckpaperTemp.vue +1 -0
  61. package/src/filiale/meihekou/pc/PaperList.vue +9 -23
  62. package/src/filiale/meihekou/pc/SelectCheckPlan.vue +262 -0
  63. package/src/filiale/meihekou/pc/checkUserList.vue +790 -0
  64. package/src/filiale/meihekou/pc.js +19 -15
  65. package/src/filiale/qingjian/pc/SecurityCheckCoordinates.vue +2 -2
  66. package/src/filiale/taiyuan/android/AddPlanItem.vue +1 -0
  67. package/src/filiale/taiyuan/android/SafecheckDevices.vue +1343 -0
  68. package/src/filiale/taiyuan/android/SafecheckOrderV.vue +17 -17
  69. package/src/filiale/taiyuan/android.js +1 -0
  70. package/src/filiale/taiyuan/pc/NewCheckpaper.vue +22 -0
  71. package/src/filiale/xinkang/android/SafecheckDevices.vue +2 -2
  72. package/src/filiale/xinkang/android/SafecheckOrderV.vue +9 -2
  73. package/src/filiale/xinkang/pc/NewCheckpaper.vue +17 -46
  74. package/src/filiale/xinliansihui/pc/PaperList.vue +814 -0
  75. package/src/filiale/xinliansihui/pc/PaperVisitMain.vue +206 -0
  76. package/src/filiale/xinliansihui/pc.js +13 -0
  77. package/src/safecheck-android.js +12 -0
  78. package/src/safecheck.js +3 -0
@@ -5,7 +5,11 @@ import Vue from "vue";
5
5
  let specialComp = {
6
6
  'phone-insurance-record-list': (resolve) => { require(['./android/PhoneInsuranceRecordList.vue'], resolve) },
7
7
  'phone-insurance-purchase-detail': (resolve) => { require(['./android/PhoneInsurancePurchaseDetail'], resolve) },
8
- 'current-create': (resolve) => { require(['./android/CurrentCreate'], resolve) }
8
+ 'safecheck-order-v': (resolve) => { require(['./android/SafecheckOrderV'], resolve) },
9
+ 'current-create': (resolve) => { require(['./android/CurrentCreate'], resolve) },
10
+ 'add-plan-item': (resolve) => { require(['./android/AddPlanItem'], resolve) },
11
+ 'android-defect-deal': (resolve) => { require(['./android/AndroidDefectDeal.vue'], resolve) },
12
+ 'android-notified-deal': (resolve) => { require(['./android/AndroidNotifiedDeal'], resolve) }
9
13
  }
10
14
  exports.specialComp = specialComp
11
15
 
@@ -26,24 +26,30 @@
26
26
  :options='$parent.$parent.checkBooks' placeholder='安检册名称'
27
27
  condition="tcb.id in {}"></v-select>
28
28
  </div>
29
- <!-- <div :class="$parent.$parent.style">-->
30
- <!-- <label class="font_normal_body">表册类型</label>-->
31
- <!-- <v-select :value.sync="model.f_check_book_type" v-model='model.f_check_book_type'-->
32
- <!-- :value-single="true" style="width: 60%"-->
33
- <!-- class="select_list select"-->
34
- <!-- :options='$parent.$parent.bookTypes' placeholder='表册类型'-->
35
- <!-- close-on-select-->
36
- <!-- condition="tcb.f_check_book_type ='{}'"></v-select>-->
37
- <!-- </div>-->
38
- <!-- <div :class="$parent.$parent.style">-->
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.userTypes' placeholder='用户类型'-->
44
- <!-- close-on-select-->
45
- <!-- condition="tcb.f_user_type ='{}'"></v-select>-->
46
- <!-- </div>-->
29
+ <div :class="$parent.$parent.style">
30
+ <label class="font_normal_body">开始时间</label>
31
+ <datepicker
32
+ :value.sync="model.f_check_start"
33
+ placeholder='最后一次下发开始时间'
34
+ style="width: 60%"
35
+ :format="'yyyy-MM-dd 00:00:00'"
36
+ :show-rest-button="reset"
37
+ v-model="model.f_check_start"
38
+ condition="lasttime.last_check_time > '{}'">
39
+ </datepicker>
40
+ </div>
41
+ <div :class="$parent.$parent.style" >
42
+ <label class="font_normal_body">结束时间</label>
43
+ <datepicker
44
+ :value.sync="model.f_check_end"
45
+ placeholder='最后一次下发截止时间'
46
+ style="width: 60%"
47
+ :format="'yyyy-MM-dd 23:59:59'"
48
+ :show-rest-button="reset"
49
+ v-model="model.f_check_end"
50
+ condition="lasttime.last_check_time < '{}'">
51
+ </datepicker>
52
+ </div>
47
53
  <div :class="$parent.$parent.style" style="width: auto;margin-top:8px;float: right">
48
54
  <button type="button" class="button_search button_spacing" @click="search()">查询</button>
49
55
  <button type="button" class="button_search button_spacing" @click="$parent.$parent.clean()">重置</button>
@@ -129,6 +135,9 @@
129
135
  <th>
130
136
  <nobr>未下发</nobr>
131
137
  </th>
138
+ <th>
139
+ <nobr>最后下发时间</nobr>
140
+ </th>
132
141
  <!-- <th>
133
142
  <nobr>已检</nobr>
134
143
  </th>
@@ -150,6 +159,7 @@
150
159
  <td style="text-align: center;"><button @click.stop="$parent.$parent.$parent.details(row)" class="btn btn-link"><b>{{row.num}}</b></button></td>
151
160
  <td style="text-align: center;">{{ row.xiafa }}</td>
152
161
  <td style="text-align: center;">{{ row.f_user_type =='民用'?row.num-row.xiafa:row.num4-row.xiafa }}</td>
162
+ <td style="text-align: center;">{{ row.last_check_time }}</td>
153
163
  <!-- <td style="text-align: center;">{{ row.yijian }}</td>
154
164
  <td style="text-align: center;">{{ row.weijian }}</td>-->
155
165
  <!-- <td v-show="row.f_check_book_type!='小区'" style="text-align: center;"><button class="button_spacing button_search-1" @click.stop='$parent.$parent.$parent.send(row)'>下发</button></td>-->
@@ -179,6 +179,21 @@
179
179
  :value-single="true">
180
180
  </v-select>
181
181
  </div>
182
+ <div :class="$parent.$parent.style" v-show="$parent.$parent.criteriaShow">
183
+ <label class="font_normal_body">年份</label>
184
+ <input type="number" class="input_search" v-model="$parent.$parent.f_year"
185
+ style="width: 60%" placeholder="年份">
186
+ </div>
187
+ <div :class="$parent.$parent.style" v-show="$parent.$parent.criteriaShow">
188
+ <label class="font_normal_body">{{$parent.$parent.f_year}}年未入户</label>
189
+ <v-select class="select_list select"
190
+ :placeholder="$parent.$parent.f_year + '年未入户'" style="width: 60%"
191
+ :value.sync="model.is_no_ruhu" v-model="model.is_no_ruhu"
192
+ :options='$parent.$parent.SafeCheckSXs'
193
+ close-on-select clear-button
194
+ :value-single="true">
195
+ </v-select>
196
+ </div>
182
197
  <div :class="$parent.$parent.style" v-show="$parent.$parent.criteriaShow">
183
198
  <label class="font_normal_body">距上次安检天数</label>
184
199
  <input type="number" class="input_search" v-model="model.f_check_date"
@@ -378,6 +393,9 @@
378
393
  <th>
379
394
  <nobr>通气日期</nobr>
380
395
  </th>
396
+ <th>
397
+ <nobr>最后一次入户时间</nobr>
398
+ </th>
381
399
  <th v-show="$parent.$parent.$parent.showcode">
382
400
  <nobr>二维码</nobr>
383
401
  </th>
@@ -403,6 +421,7 @@
403
421
  </td>
404
422
  <td v-bind:class="{newcolor:row.code==1}" style="text-align: center">{{ row.f_createfile_date }}</td>
405
423
  <td v-bind:class="{newcolor:row.code==1}" style="text-align: center">{{ row.f_gas_date }}</td>
424
+ <td v-bind:class="{newcolor:row.code==1}" style="text-align: center">{{ row.last_ruhu_f_offsite_time }}</td>
406
425
  <td v-bind:class="{newcolor:row.code==1}" style="text-align: center" v-show="$parent.$parent.$parent.showcode">
407
426
  <button class="button_spacing button_search-1" @click.stop='$parent.$parent.$parent.searchInfo(row.f_userinfo_code)' >点击</button>
408
427
  </td>
@@ -494,11 +513,12 @@ export default {
494
513
  orgstrs: [{label: '全部', value: ''}],
495
514
  checkersid: [],
496
515
  checkStates:[],
516
+ f_year:2,
497
517
  SafeCheckXZ: '',
498
518
  civil: '', //民用安检周期
499
519
  civilian: '', //非民用安检周期
500
520
  SafeCheckXZs: [{label: '全部', value: ''}, {label: '未安检', value: '未安检'}, {label: '已安检', value: '已安检'}], // 安检筛选选项
501
- SafeCheckSXs: [{label: '', value: ''}, {label: '', value: ''}, {label: '全部', value: ''}],
521
+ SafeCheckSXs: [ {label: '全部', value: ''},{label: '', value: ''}, {label: '', value: ''}],
502
522
  // user_states:[{label: '全部', value: ''}, ...this.$appdata.getParam('用户状态')],
503
523
  IsShares: [{label: '是', value: '是'}, {label: '否', value: '否'}],
504
524
  IsShare: '否',
@@ -636,6 +656,9 @@ export default {
636
656
  },
637
657
  //获取省市区列表
638
658
  getPcd(val){
659
+ if (!val){
660
+ return
661
+ }
639
662
  this.pcds = [{label:'全部',value:''}]
640
663
  new HttpResetClass().load("POST", `/api/af-safecheck/sql/safe_singleTable_OrderBy`,
641
664
  {data:{items:"*",tablename:"t_pcd",orderitem:"id",condition:`f_orgid in ${val}`}},
@@ -807,9 +830,29 @@ export default {
807
830
  con+= ` and f_check_version = '${args.model.f_check_version}'`
808
831
  }
809
832
  con += args.model.f_checker_id ? ` and f_checker_name in ${args.model.f_checker_id}` : ' and 1=1'
833
+ let condition3 = `1=1`
834
+ if (args.model.is_no_ruhu){
835
+ if (!this.f_year){
836
+ this.$showMessage('选择未入户时,需选择指定年限')
837
+ return
838
+ }
839
+ if (this.f_year <=0){
840
+ this.$showMessage('年份输入错误')
841
+ return
842
+ }
843
+ if (args.model.is_no_ruhu == '否'){
844
+ condition3 += ` and f_entry_status = '入户' and f_offsite_time >= DATEADD(YEAR, -${this.f_year}, GETDATE()) AND f_offsite_time < GETDATE()`
845
+ args.condition += ` and aj_count > 0`
846
+ }else {
847
+ condition3 += ` and f_entry_status = '入户' and f_offsite_time >= DATEADD(YEAR, -${this.f_year}, GETDATE()) AND f_offsite_time < GETDATE()`
848
+ args.condition += ` and aj_count is null`
849
+ }
850
+ }
851
+
810
852
  let condition = {
811
853
  condition1: args.condition,
812
- condition2: con
854
+ condition2: con,
855
+ condition3: condition3
813
856
  }
814
857
  this.searchData.condition = condition
815
858
  return this.model.search(condition, args.model)