safecheck-client 4.0.2-6 → 4.0.2-60

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 (67) 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/AndroidDefectDeal.vue +722 -0
  29. package/src/filiale/jinhong/android/AndroidNotifiedDeal.vue +521 -0
  30. package/src/filiale/jinhong/android/CurrentCreate.vue +35 -13
  31. package/src/filiale/jinhong/android/PhoneInsurancePurchaseDetail.vue +28 -3
  32. package/src/filiale/jinhong/android/SafecheckOrderV.vue +2300 -0
  33. package/src/filiale/jinhong/android.js +4 -1
  34. package/src/filiale/jinhong/pc/CheckBookList.vue +28 -18
  35. package/src/filiale/jinhong/pc/CheckSearchUser.vue +42 -2
  36. package/src/filiale/jinhong/pc/NewCheckpaper.vue +1958 -0
  37. package/src/filiale/jinhong/pc/PaperList.vue +5 -1
  38. package/src/filiale/jinhong/pc/checkPlanList.vue +73 -24
  39. package/src/filiale/jinhong/pc.js +1 -0
  40. package/src/filiale/meihekou/android/CheckPlanList.vue +198 -198
  41. package/src/filiale/meihekou/android/CheckPlanListArea.vue +190 -190
  42. package/src/filiale/meihekou/android/CurrentCreate.vue +16 -0
  43. package/src/filiale/meihekou/android/PaperFeedback.vue +1545 -1542
  44. package/src/filiale/meihekou/android/SafecheckDevices.vue +1343 -1340
  45. package/src/filiale/meihekou/android/SafecheckOrderV.vue +27 -28
  46. package/src/filiale/meihekou/android.js +22 -22
  47. package/src/filiale/meihekou/pc/CheckDetail.vue +217 -0
  48. package/src/filiale/meihekou/pc/CheckPlan.vue +52 -0
  49. package/src/filiale/meihekou/pc/CheckPlanAreaList.vue +505 -0
  50. package/src/filiale/meihekou/pc/NewCheckpaper.vue +2 -1
  51. package/src/filiale/meihekou/pc/NewCheckpaperNew.vue +2051 -2050
  52. package/src/filiale/meihekou/pc/NewCheckpaperTemp.vue +1 -0
  53. package/src/filiale/meihekou/pc/SelectCheckPlan.vue +262 -0
  54. package/src/filiale/meihekou/pc.js +18 -15
  55. package/src/filiale/qingjian/pc/SecurityCheckCoordinates.vue +2 -2
  56. package/src/filiale/taiyuan/android/AddPlanItem.vue +457 -456
  57. package/src/filiale/taiyuan/android/SafecheckDevices.vue +1343 -0
  58. package/src/filiale/taiyuan/android/SafecheckOrderV.vue +2347 -2347
  59. package/src/filiale/taiyuan/android.js +1 -0
  60. package/src/filiale/xinkang/android/SafecheckDevices.vue +2 -2
  61. package/src/filiale/xinkang/android/SafecheckOrderV.vue +9 -2
  62. package/src/filiale/xinkang/pc/NewCheckpaper.vue +17 -46
  63. package/src/filiale/xinliansihui/pc/PaperList.vue +814 -0
  64. package/src/filiale/xinliansihui/pc/PaperVisitMain.vue +206 -0
  65. package/src/filiale/xinliansihui/pc.js +13 -0
  66. package/src/safecheck-android.js +12 -0
  67. package/src/safecheck.js +3 -0
@@ -5,7 +5,10 @@ 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
+ 'android-defect-deal': (resolve) => { require(['./android/AndroidDefectDeal.vue'], resolve) },
11
+ 'android-notified-deal': (resolve) => { require(['./android/AndroidNotifiedDeal'], resolve) }
9
12
  }
10
13
  exports.specialComp = specialComp
11
14
 
@@ -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: '否',
@@ -807,9 +827,29 @@ export default {
807
827
  con+= ` and f_check_version = '${args.model.f_check_version}'`
808
828
  }
809
829
  con += args.model.f_checker_id ? ` and f_checker_name in ${args.model.f_checker_id}` : ' and 1=1'
830
+ let condition3 = `1=1`
831
+ if (args.model.is_no_ruhu){
832
+ if (!this.f_year){
833
+ this.$showMessage('选择未入户时,需选择指定年限')
834
+ return
835
+ }
836
+ if (this.f_year <=0){
837
+ this.$showMessage('年份输入错误')
838
+ return
839
+ }
840
+ if (args.model.is_no_ruhu == '否'){
841
+ condition3 += ` and f_entry_status = '入户' and f_offsite_time >= DATEADD(YEAR, -${this.f_year}, GETDATE()) AND f_offsite_time < GETDATE()`
842
+ args.condition += ` and aj_count > 0`
843
+ }else {
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 is null`
846
+ }
847
+ }
848
+
810
849
  let condition = {
811
850
  condition1: args.condition,
812
- condition2: con
851
+ condition2: con,
852
+ condition3: condition3
813
853
  }
814
854
  this.searchData.condition = condition
815
855
  return this.model.search(condition, args.model)