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
@@ -7,8 +7,8 @@
7
7
  <div class="row">
8
8
  <div class="form-group col-sm-2" >
9
9
  <label class="font_normal_body">客户编号</label>
10
- <input type="text" class="input_search" v-model="model.f_userinfo_id"
11
- style="width: 60%" placeholder="客户编号" condition="f_userinfo_id='{}'">
10
+ <input type="text" class="input_search" v-model="model.f_userinfo_code"
11
+ style="width: 60%" placeholder="客户编号" condition="f_userinfo_code like '%{}%'">
12
12
  </div>
13
13
  <div class="form-group col-sm-2" >
14
14
  <label class="font_normal_body">客户名称</label>
@@ -110,6 +110,14 @@
110
110
  close-on-select
111
111
  condition="f_check_type = '{}'"></v-select>
112
112
  </div>
113
+ <div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow">
114
+ <label class="font_normal_body">处理方式</label>
115
+ <v-select :value.sync="model.f_deal_dispose" v-model='model.f_deal_dispose'
116
+ :value-single="true" style="width: 60%"
117
+ :options='$parent.$parent.deal_dispose' placeholder='请选择'
118
+ close-on-select
119
+ condition="f_deal_dispose = '{}'"></v-select>
120
+ </div>
113
121
  <div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow">
114
122
  <label class="font_normal_body">详细地址</label>
115
123
  <input type="text" class="input_search" v-model="model.f_address"
@@ -179,6 +187,9 @@
179
187
  <th>
180
188
  <nobr>是否处理</nobr>
181
189
  </th>
190
+ <th>
191
+ <nobr>处理方式</nobr>
192
+ </th>
182
193
  <th style="width: 188px">
183
194
  <nobr>到期时间</nobr>
184
195
  </th>
@@ -192,7 +203,7 @@
192
203
  <td style="text-align: center">{{row.f_device_type}}</td>
193
204
  <td style="text-align: center">{{row.f_item_name}}/{{row.f_item_value}}</td>
194
205
  <td style="text-align: center">{{row.f_defect_level}}</td>
195
- <td style="text-align: center">{{row.f_userinfo_id}}</td>
206
+ <td style="text-align: center">{{row.f_userinfo_code}}</td>
196
207
  <td style="text-align: center">{{row.f_user_name}}</td>
197
208
  <td style="text-align: center">{{row.f_user_phone}}</td>
198
209
  <td style="text-align: center">{{row.f_check_type}}</td>
@@ -201,6 +212,7 @@
201
212
  <td style="text-align: center">{{row.f_offsite_time}}</td>
202
213
  <td style="text-align: center">{{row.f_checker_name}}</td>
203
214
  <td style="text-align: center">{{row.f_is_repaired}}</td>
215
+ <td style="text-align: center">{{row.f_deal_dispose}}</td>
204
216
  <td style="" v-if="row.f_is_repaired == '未处理'">
205
217
  <datepicker
206
218
  :value.sync="row.f_handle_date"
@@ -248,7 +260,10 @@
248
260
  <img-self-plus v-if="solveModal.preData.defectImg1" :width="200" :height="200" :src="solveModal.preData.defectImg1"></img-self-plus>
249
261
  <img-self-plus v-if="solveModal.preData.defectImg2" :width="200" :height="200" :src="solveModal.preData.defectImg2"></img-self-plus>
250
262
  </div>
251
-
263
+ <div class="col-sm-12" style="margin-bottom: 10px; display: flex; gap: 10px" v-if="solveModal.preData.f_repaired_path">
264
+ <label class="font_normal_body">隐患通知单照片</label>
265
+ <img-self-plus v-if="solveModal.preData.f_repaired_path" :width="200" :height="200" :src="solveModal.preData.f_repaired_path"></img-self-plus>
266
+ </div>
252
267
  <div style="width: 100%;height: 36px;background-color: #f1f8ff;float: left">
253
268
  <div style="width: 8px;height: 100%;background-color: #6aa6e2;margin-right: 20px;float: left"></div>
254
269
  <div style="width: auto;height:100%;float: left;"><p class="title-font" style="margin-top: 5px">处理后</p></div>
@@ -446,7 +461,6 @@
446
461
  model.f_check_type=''
447
462
  return {
448
463
  audioshow:false,
449
-
450
464
  model: model,
451
465
  deal_dispose:[{label:'全部',value:''},{label:'报修',value:'报修'},{label:'现场整改',value:'现场整改'},{label:'自行处理',value:'自行处理'},{label:'未处理',value:'未处理'}],
452
466
  repairStateOptions: [{label:'全部',value:''}, {label:'转维修',value:'转维修'}, {label:'维修已处理',value:'维修已处理'}, {label: '隐患未处理', value: '隐患未处理'}, {label:'现场已处理',value:'现场已处理'}, {label:'用户自行整改',value:'用户自行整改'}],
@@ -456,7 +470,7 @@
456
470
  'f_item_name': '隐患名称',
457
471
  'f_item_value': '隐患内容',
458
472
  'f_defect_level': '隐患级别',
459
- 'f_userinfo_id': '客户编号',
473
+ 'f_userinfo_code': '客户编号',
460
474
  'f_user_name': '客户姓名',
461
475
  'f_user_phone': '客户电话',
462
476
  'f_check_type': '客户类型',
@@ -506,6 +520,7 @@
506
520
  type: '',
507
521
  defectImg: '',
508
522
  defectImg1: '',
523
+ f_repaired_path: '',
509
524
  defectImg2: '',
510
525
  repairedImg: '',
511
526
  repairedImg1: '',
@@ -619,7 +634,7 @@
619
634
  this.solveModal.preData.defectImg = row.f_path ? '/rs/image/file/' + row.f_path : ''
620
635
  this.solveModal.preData.defectImg1 = row.f_p1_path ? '/rs/image/file/' + row.f_p1_path : ''
621
636
  this.solveModal.preData.defectImg2 = row.f_p2_path ? '/rs/image/file/' + row.f_p2_path : ''
622
-
637
+ this.solveModal.preData.f_repaired_path=row.f_repaired_path ? '/rs/image/file/' + row.f_repaired_path : ''
623
638
  this.solveModal.preData.repairedImg = row.f_repair_path ? (row.f_repair_path.startsWith('/resource') ? row.f_repair_path : '/rs/image/file/' + row.f_repair_path) : ''
624
639
  this.solveModal.preData.repairedImg1 = row.f_repair1_path ? (row.f_repair1_path.startsWith('/resource') ? row.f_repair1_path : '/rs/image/file/' + row.f_repair1_path) : ''
625
640
  this.solveModal.preData.repairedImg2 = row.f_repair2_path ? (row.f_repair2_path.startsWith('/resource') ? row.f_repair2_path : '/rs/image/file/' + row.f_repair2_path) : ''
@@ -136,6 +136,14 @@
136
136
  :multiple="true"
137
137
  condition="f_is_repaired in {}"></v-select>
138
138
  </div>
139
+ <div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow">
140
+ <label class="font_normal_body">完成状态</label>
141
+ <v-select :value.sync="model.f_is_repair" v-model='model.f_is_repair'
142
+ :value-single="true" style="width: 60%"
143
+ :options='$parent.$parent.is_repair' placeholder='请选择'
144
+ close-on-select
145
+ ></v-select>
146
+ </div>
139
147
  <div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow" >
140
148
  <label class="font_normal_body">处理人</label>
141
149
  <input type="text" class="input_search" v-model="model.f_repairman"
@@ -249,6 +257,9 @@
249
257
  <th>
250
258
  <nobr>处理时间</nobr>
251
259
  </th>
260
+ <th>
261
+ <nobr>完成状态</nobr>
262
+ </th>
252
263
  <th>
253
264
  <nobr>工单编号</nobr>
254
265
  </th>
@@ -279,6 +290,7 @@
279
290
  <td style="text-align: center">{{row.f_repairman}}</td>
280
291
  <td style="text-align: center">{{row.f_deal_dispose}}</td>
281
292
  <td style="text-align: center">{{row.f_repair_date}}</td>
293
+ <td style="text-align: center">{{$parent.$parent.$parent.is_repair_arr.includes(row.f_is_repaired) ? '已完成' : '未完成'}}</td>
282
294
  <td style="text-align: center">{{row.f_service_id}}</td>
283
295
  <td style="text-align: center">{{row.f_handlingtype}}</td>
284
296
  <td style="text-align: center">{{row.f_order_man}}</td>
@@ -442,6 +454,9 @@
442
454
  showmaterial: false,
443
455
  selectdata: {},
444
456
  model: model,
457
+ is_repair_arr :['维修已处理','现场已处理','用户自行整改','无隐患'],
458
+ no_repair_arr :['隐患未处理','转维修'],
459
+ is_repair:[{label:'全部',value:''},{label:'已完成',value:'已完成'},{label:'未完成',value:'未完成'}],
445
460
  deal_dispose:[{label:'全部',value:''},{label:'报修',value:'报修'},{label:'现场整改',value:'现场整改'},{label:'自行处理',value:'自行处理'},{label:'未处理',value:'未处理'}],
446
461
  repairStateOptions: this.getSafeParam('隐患状态'),
447
462
  //searchData:searchData,
@@ -884,6 +899,13 @@
884
899
  },
885
900
  selfSearch(args) {
886
901
  ////tag
902
+ if (args.model.f_is_repair){
903
+ if (args.model.f_is_repair == '已完成'){
904
+ args.condition += ` and f_is_repaired in (${this.is_repair_arr.map(item=>{return `'${item}'`}).join(',')})`
905
+ }else {
906
+ args.condition += ` and f_is_repaired in (${this.no_repair_arr.map(item=>{return `'${item}'`}).join(',')})`
907
+ }
908
+ }
887
909
  args.condition += ` and f_filialeid in ${this.model.f_filialeid}`
888
910
  this.model.search(args.condition, args.model, args.condValue)
889
911
  }
@@ -406,7 +406,7 @@ export default {
406
406
  data() {
407
407
  return {
408
408
  model:new PagedList('/api/af-safecheck/sql/FetchUserFileByOrgNoRuHuSXQ', 100, {
409
- "orderitem": "'f_residential_area,f_building,f_unit,f_floor,f_room'",
409
+ "orderitem": "'f_address desc'",
410
410
  "f_usertype": "''",
411
411
  "month": "''",
412
412
  "SafeCheckSX": {"f_check_start": '', "f_check_end": ''},
@@ -787,7 +787,8 @@ export default {
787
787
  con += args.model.f_checker_id ? ` and f_checker_name in ${args.model.f_checker_id}` : ' and 1=1'
788
788
  let condition = {
789
789
  condition1: args.condition,
790
- condition2: con
790
+ condition2: con,
791
+ condition3: '1 = 1'
791
792
  }
792
793
  this.searchData.condition = condition
793
794
  return this.model.search(condition, args.model)
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <div class="flex">
3
- <criteria-paged :model="model" v-ref:paged :pager="false">
3
+ <criteria-paged :model="model" v-ref:paged>
4
4
  <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
5
5
  <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
6
6
  <div class="row">
@@ -41,6 +41,18 @@
41
41
  close-on-select clear-button></v-select>
42
42
 
43
43
  </div>
44
+ <div :class="{'form-group col-sm-3':$parent.$parent.$parent.isdetail,'form-group col-sm-2':!$parent.$parent.$parent.isdetail}">
45
+ <label class="font_normal_body">片&emsp;&emsp;区</label>
46
+ <v-select class="select_list select"
47
+ placeholder='片区/管理站' style="width: 60%"
48
+ :value.sync="model.f_slice_area" v-model="model.f_slice_area"
49
+ :options='$parent.$parent.sliceArea'
50
+ filer-key="name"
51
+ close-on-select clear-button
52
+ condition="f_slice_area='{}'"
53
+ :value-single="true">
54
+ </v-select>
55
+ </div>
44
56
  <!--<div :class="{
45
57
  'form-group col-sm-3':$parent.$parent.$parent.isdetail,'form-group col-sm-2':!$parent.$parent.$parent.isdetail}">
46
58
  <label class="font_normal_body">安&ensp;检&ensp;员</label>
@@ -62,9 +74,12 @@
62
74
  sqlurl="api/af-safecheck/logic/exportfile" sql-name="getCheckPlanAreaList"
63
75
  template-name='安检汇总' :choose-col="true">
64
76
  </export-excel>-->
65
- <button id="btnaaaa" style="float: right" class="button_search"
66
- @click="$parent.$parent.exportexcel()"
67
- v-el:cx>导出</button>
77
+ <export-excel :data="$parent.$parent.exportParameter"
78
+ :field="$parent.$parent.exportExcelField"
79
+ sqlurl="api/af-safecheck/logic/exportfile"
80
+ sql-name="getCheckPlanAreaList"
81
+ template-name='安检汇总' :choose-col="true">
82
+ </export-excel>
68
83
  <button id="btnaaa" style="float: right" class="button_search"
69
84
  @click="$parent.$parent.getGroupName1(),search(),$parent.$parent.getexportExcelField(),$parent.$parent.$parent.isdetail=false,$parent.$parent.listflag=false"
70
85
  v-el:cx>查询</button>
@@ -108,6 +123,8 @@
108
123
  <label for="f_checker_name">安检员</label>
109
124
  <input type="checkbox" id="f_user_number" value="f_user_number" v-model="$parent.$parent.nameForSql"/>
110
125
  <label for="f_checker_name">档案数量</label>
126
+ <input type="checkbox" id="f_safecheck_type" value="f_safecheck_type" v-model="$parent.$parent.nameForSql"/>
127
+ <label for="f_checker_name">安检类型</label>
111
128
  </div>
112
129
  </div>
113
130
  </div>
@@ -125,6 +142,7 @@
125
142
  <th v-if="$parent.$parent.$parent.nameForSql.includes('f_plan_name')"><nobr>计划名称</nobr></th>
126
143
  <th v-if="$parent.$parent.$parent.nameForSql.includes('f_checker_name')"><nobr>安检员</nobr></th>
127
144
  <th v-if="$parent.$parent.$parent.nameForSql.includes('f_user_number')"><nobr>档案数量</nobr></th>
145
+ <th v-if="$parent.$parent.$parent.nameForSql.includes('f_safecheck_type')"><nobr>安检类型</nobr></th>
128
146
  <th>
129
147
  <nobr>计划总数</nobr>
130
148
  </th>
@@ -165,6 +183,7 @@
165
183
  <td style="text-align:center" :class="{'td-0':row.f_plan_name==undefined,'td-1':model.rows && model.rows.length!=($index+1)&&row.f_plan_name.indexOf('*&')==-1,'td-2':model.rows && model.rows.length!=($index+1)&&row.f_plan_name.indexOf('*&')!=-1,'td-3':model.rows && model.rows.length==($index+1)&&row.f_plan_name.indexOf('*&')!=-1,'td-4':model.rows && model.rows.length==($index+1)&&row.f_plan_name.indexOf('*&')==-1}" v-if="$parent.$parent.$parent.nameForSql.includes('f_plan_name')">{{row.f_plan_name.indexOf('*&')!=-1?'':row.f_plan_name}}</td>
166
184
  <td style="text-align:center" :class="{'td-0':row && !row.f_checker_name,'td-1':model.rows && model.rows.length!=($index+1)&&row.f_checker_name && row.f_checker_name.indexOf('*&')==-1,'td-2':model.rows && model.rows.length!=($index+1)&&row.f_checker_name &&row.f_checker_name.indexOf('*&')!=-1,'td-3':model.rows && model.rows.length==($index+1)&&row.f_checker_name &&row.f_checker_name.indexOf('*&')!=-1,'td-4':model.rows && model.rows.length==($index+1)&&row.f_checker_name &&row.f_checker_name.indexOf('*&')==-1}" v-if="$parent.$parent.$parent.nameForSql && $parent.$parent.$parent.nameForSql.includes('f_checker_name')">{{row.f_checker_name && row.f_checker_name.indexOf('*&')!=-1?'':row.f_checker_name}}</td>
167
185
  <td style="text-align:center" v-if="$parent.$parent.$parent.nameForSql.includes('f_user_number')">{{row.f_user_number}}</td>
186
+ <td style="text-align:center" v-if="$parent.$parent.$parent.nameForSql.includes('f_safecheck_type')">{{row.f_safecheck_type}}</td>
168
187
  <td style="text-align:center">{{row.f_plan_total}}</td>
169
188
  <td style="text-align:center">{{row.f_weijian}}</td>
170
189
  <td style="text-align:center"><nobr>{{row.f_yijian}}</nobr></td>
@@ -203,12 +222,13 @@ import XLSX from 'xlsx'
203
222
  export default {
204
223
  data () {
205
224
  return {
206
- model: new PagedList('api/af-safecheck/sql/getCheckPlanAreaList', 99999,{},{f_plan_total:'',f_weijian:'',f_yijian:'',f_ruhu:'',f_buyu:'',f_jujian:''}),
225
+ model: new PagedList('api/af-safecheck/sql/getCheckPlanAreaList', 50,{},{f_plan_total:'',f_weijian:'',f_yijian:'',f_ruhu:'',f_buyu:'',f_jujian:''}),
207
226
  // 公司下拉
208
227
  curorgid: [this.$login.f.orgid],
209
228
  row: {},
210
229
  f_orgid: '',
211
230
  nameForSql: [],
231
+ sliceArea: [],
212
232
  groupNameForSql: '',
213
233
  listflag:false,
214
234
  nameflag:false,
@@ -239,9 +259,32 @@ export default {
239
259
  this.groupNameForSql = 'f_plan_month', 'f_plan_name','f_checker_name'
240
260
  this.pl()
241
261
  // this.search()
262
+ this.Mreadibook(this.$login.f.orgid)
242
263
 
243
264
  },
244
265
  methods: {
266
+ Mreadibook(val){
267
+ if (val){
268
+ new HttpResetClass().load('POST',`/api/af-safecheck/sql/safe_singleTable_OrderBy`, {data: {
269
+ items: 'name',
270
+ tablename: 't_zone',
271
+ condition: `parentid = '${val}'`,
272
+ orderitem: 'id'
273
+ }}, {resolveMsg: null, rejectMsg: null}).then((res) => {
274
+ this.sliceArea=[]
275
+ this.sliceArea.push({
276
+ label:'全部',
277
+ value:''
278
+ })
279
+ res.data.forEach(ress=>{
280
+ this.sliceArea.push({
281
+ label:ress.name,
282
+ value:ress.name
283
+ })
284
+ })
285
+ })
286
+ }
287
+ },
245
288
  exportexcel(){
246
289
  //tag
247
290
  // 以上四行也可以直接一行搞定,如果不需要对表格数据进行修改的话
@@ -284,6 +327,9 @@ export default {
284
327
  }if (ff==='f_user_number') {
285
328
  this.exportExcelField.f_user_number='档案数量'
286
329
  }
330
+ if (ff==='f_safecheck_type') {
331
+ this.exportExcelField.f_safecheck_type='安检类型'
332
+ }
287
333
  }
288
334
  },
289
335
  pl() {
@@ -359,7 +405,7 @@ export default {
359
405
 
360
406
  // 拼接groupName1
361
407
  getGroupName1 () {
362
- var temp=['f_plan_month','f_no_checkplan','f_residential_area','f_plan_name','f_checker_name','f_user_number']
408
+ var temp=['f_plan_month','f_no_checkplan','f_residential_area','f_plan_name','f_checker_name','f_user_number','f_safecheck_type']
363
409
  var newtemp=[]
364
410
 
365
411
  for (var i=0;i<temp.length;i++){
@@ -396,7 +442,7 @@ export default {
396
442
  }
397
443
  this.listflag=true
398
444
  //tag
399
- var temp=['f_plan_month','f_no_checkplan','f_residential_area','f_plan_name','f_checker_name','f_user_number']
445
+ var temp=['f_plan_month','f_no_checkplan','f_residential_area','f_plan_name','f_checker_name','f_user_number','f_safecheck_type']
400
446
  var newtemp=[]
401
447
  for (var i=0;i<temp.length;i++){
402
448
  for (var j=0;j<this.nameForSql.length;j++){
@@ -33,6 +33,8 @@
33
33
  close-on-select>
34
34
  </v-select>
35
35
  </div>
36
+ </div>
37
+ <div class="row" v-show="$parent.$parent.criteriaShow">
36
38
  <div class="form-group col-sm-4" >
37
39
  <label class="font_normal_body">安检状态</label>
38
40
  <v-select style="width:60% "
@@ -45,8 +47,6 @@
45
47
  close-on-select>
46
48
  </v-select>
47
49
  </div>
48
- </div>
49
- <div class="row" v-show="$parent.$parent.criteriaShow">
50
50
  <div class="form-group col-sm-4" >
51
51
  <label class="font_normal_body">气表编号</label>
52
52
  <input type="text" class="input_search" style="width:60%" v-model="model.f_meternumber" placeholder='气表编号'
@@ -57,6 +57,16 @@
57
57
  <input type="text" class="input_search" style="width:60%" v-model="model.f_meter_brand" placeholder='气表品牌'
58
58
  condition="f_meter_brand like '%{}%'" @keyup.enter="search()">
59
59
  </div>
60
+ <div class="form-group col-sm-4" >
61
+ <label class="font_normal_body">小&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;区</label>
62
+ <input type="text" class="input_search" style="width:60%" v-model="model.f_residential_area" placeholder='小区'
63
+ condition="f_residential_area like '%{}%'" @keyup.enter="search()">
64
+ </div>
65
+ <div class="form-group col-sm-4" >
66
+ <label class="font_normal_body">楼&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;号</label>
67
+ <input type="text" class="input_search" style="width:60%" v-model="model.f_building" placeholder='楼号'
68
+ condition="f_building like '%{}%'" @keyup.enter="search()">
69
+ </div>
60
70
  </div>
61
71
  <div class="row">
62
72
  <div class="form-group col-sm-2 button-range" >