safecheck-client 3.0.34-7 → 3.0.34-70
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +1 -1
- package/src/App-/345/215/225/351/241/265/351/235/242/346/211/223/345/214/205/347/224/250.vue +55 -0
- package/src/App.vue +31 -31
- package/src/assets/123.png +0 -0
- package/src/assets/f8632d3c8c4c1cb68e99da754cab1a7.png +0 -0
- package/src/components/LoadData.vue +62 -0
- package/src/components/NewDefectList/DefectListNew.vue +1 -0
- package/src/components/android/AndroidDefectDeal.vue +1 -0
- package/src/components/android/AndroidDefectDealBeforeSafe.vue +502 -0
- package/src/components/android/AreaSelect.vue +198 -0
- package/src/components/android/BuildingSelect.vue +192 -0
- package/src/components/android/CheckPlanSelect.vue +229 -0
- package/src/components/android/PaperFeedback.vue +1514 -1481
- package/src/components/android/PaperFeedbackTemp.vue +1470 -1470
- package/src/components/android/QRCode/QRCodeBinding.vue +300 -0
- package/src/components/android/QRCode/QRCodePage.vue +212 -0
- package/src/components/android/SafePlanItem.vue +509 -509
- package/src/components/android/SafecheckDevices.vue +1298 -1298
- package/src/components/android/SafecheckDevicesTemp.vue +1333 -1333
- package/src/components/android/SafecheckOrderV.vue +8 -12
- package/src/components/android/UserinfoSelect.vue +702 -0
- package/src/components/android/examples/SafeListExamples.vue +96 -0
- package/src/components/android/examples/UserExamples.vue +130 -0
- package/src/components/android/userinfo/SafecheckUserInfo.vue +776 -776
- package/src/components/rongcheng/AddPlanItem.vue +4 -0
- package/src/components/rongcheng/AspiratedUserInfo.vue +1 -1
- package/src/components/rongcheng/CheckSearchUser.vue +40 -14
- package/src/components/rongcheng/PaperStatem.vue +6 -1
- package/src/components/rongcheng/PhoneDevicesInfo.vue +16 -1
- package/src/components/rongcheng/PhoneUpUserinfo.vue +0 -92
- package/src/components/rongcheng/SafecheckOrderV.vue +12 -3
- package/src/components/rongcheng/SafecheckOrderVCli.vue +9 -0
- package/src/components/safecheckNew/android/SafecheckOrderV.vue +2731 -2731
- package/src/filiale/baiyin/android/AndroidDefectDeal.vue +4 -4
- package/src/filiale/baiyin/android/SafecheckOrderV.vue +2785 -0
- package/src/filiale/baiyin/android.js +1 -0
- package/src/filiale/baiyin/pc/CheckSearchUser.vue +2 -2
- package/src/filiale/baiyin/pc/DefectListNew.vue +3 -3
- package/src/filiale/baiyin/pc/PaperList.vue +7 -7
- package/src/filiale/bayan/android/PaperFeedback.vue +1651 -1651
- package/src/filiale/bayan/android/SafecheckDevices.vue +1303 -1303
- package/src/filiale/bayan/android/SafecheckOrderV.vue +52 -29
- package/src/filiale/bayan/android/SafecheckUserInfo.vue +863 -863
- package/src/filiale/bayan/pc/PaperList.vue +1 -0
- package/src/filiale/dexin/android/SafecheckDevices.vue +1305 -1305
- package/src/filiale/fugou/pc/CheckBookSearchUser.vue +35 -15
- package/src/filiale/hanzhong/android/PaperFeedback.vue +1477 -1477
- package/src/filiale/hanzhong/android/SafecheckDevices.vue +1313 -1313
- package/src/filiale/hanzhong/android/SafecheckUserInfo.vue +786 -786
- package/src/filiale/huaran/android/SafecheckOrderV.vue +2803 -0
- package/src/filiale/huaran/android.js +12 -0
- package/src/filiale/huaran/pc/CheckBook.vue +313 -0
- package/src/filiale/huaran/pc/CheckBookAll.vue +69 -0
- package/src/filiale/huaran/pc/CheckBookArea.vue +170 -0
- package/src/filiale/huaran/pc/CheckBookCompany.vue +166 -0
- package/src/filiale/huaran/pc/CheckBookDetails.vue +196 -0
- package/src/filiale/huaran/pc/CheckBookEntry.vue +61 -0
- package/src/filiale/huaran/pc/CheckBookList.vue +386 -0
- package/src/filiale/huaran/pc/CheckBookSearchArea.vue +564 -0
- package/src/filiale/huaran/pc/CheckBookSearchUnit.vue +229 -0
- package/src/filiale/huaran/pc/CheckBookSearchUser.vue +604 -0
- package/src/filiale/huaran/pc/CheckBookUser.vue +112 -0
- package/src/filiale/huaran/pc/PaperList.vue +822 -0
- package/src/filiale/huaran/pc/PlanManage.vue +887 -0
- package/src/filiale/huaran/pc/checkPlanList.vue +419 -0
- package/src/filiale/huaran/pc/checkUserList.vue +867 -0
- package/src/filiale/huaran/pc.js +27 -0
- package/src/filiale/jiaxian/android/AddPlanItem.vue +447 -0
- package/src/filiale/jiaxian/android/PhoneUpUserinfo.vue +1229 -0
- package/src/filiale/jiaxian/android/SafecheckDevices.vue +1298 -1298
- package/src/filiale/jiaxian/android/SafecheckOrderV.vue +2807 -0
- package/src/filiale/jiaxian/android/SafecheckUserInfo.vue +784 -0
- package/src/filiale/jiaxian/android.js +4 -0
- package/src/filiale/jingyang/android/AddPlanItem.vue +458 -458
- package/src/filiale/jingyang/android/CurrentCreate.vue +1080 -1080
- package/src/filiale/jingyang/android/PaperFeedback.vue +1493 -1493
- package/src/filiale/jingyang/android/SafecheckOrderV.vue +2734 -2734
- package/src/filiale/jingyang/android/SafecheckUserInfo.vue +781 -781
- package/src/filiale/jingyang/android.js +15 -15
- package/src/filiale/kelai/pc/CheckPlanAreaList.vue +15 -7
- package/src/filiale/pingxiang/android/PaperFeedback.vue +1399 -1399
- package/src/filiale/qingjian/android/SafecheckDevices.vue +1269 -1269
- package/src/filiale/qingjian/android/SafecheckUserInfo.vue +800 -800
- package/src/filiale/qingtongxia/android/AddPlanItem.vue +450 -0
- package/src/filiale/qingtongxia/android/CurrentCreate.vue +1053 -0
- package/src/filiale/qingtongxia/android/PhoneUpUserinfo.vue +1230 -0
- package/src/filiale/qingtongxia/android/SafecheckUserInfo.vue +782 -0
- package/src/filiale/qingtongxia/android.js +14 -10
- package/src/filiale/rongchuang/android/SafecheckOrderV.vue +2696 -2696
- package/src/filiale/ruihua/android/SafecheckOrderV.vue +2747 -0
- package/src/filiale/ruihua/android/SafecheckUserInfo.vue +804 -0
- package/src/filiale/ruihua/android.js +11 -0
- package/src/filiale/shanxian/pc/checkUserList.vue +4 -4
- package/src/filiale/shiquan/android/SafecheckDevices.vue +1269 -1269
- package/src/filiale/siyang/android/AddPlanItem.vue +446 -0
- package/src/filiale/siyang/android/SafecheckUserInfo.vue +789 -789
- package/src/filiale/siyang/android.js +1 -0
- package/src/filiale/siyang/pc/CheckBookSearchArea.vue +645 -0
- package/src/filiale/siyang/pc/CheckPlanAreaList.vue +512 -0
- package/src/filiale/siyang/pc/CheckSearchUser.vue +982 -0
- package/src/filiale/siyang/pc/HiddenSituation.vue +167 -0
- package/src/filiale/siyang/pc/NewCheckpaper.vue +1938 -1938
- package/src/filiale/siyang/pc/checkPlanList.vue +367 -0
- package/src/filiale/siyang/pc/checkUserList.vue +790 -786
- package/src/filiale/siyang/pc.js +21 -16
- package/src/filiale/tongchuan/android/Select.vue +421 -0
- package/src/filiale/tongchuan/android.js +1 -0
- package/src/filiale/tongchuan/pc/CheckPlanCountChartArea.vue +3 -1
- package/src/filiale/tongchuan/pc/DefectPaperWeiXiu.vue +6 -2
- package/src/filiale/tongchuan/pc/HiddenSituation.vue +3 -1
- package/src/filiale/tongchuan/pc/NewCheckpaper.vue +13 -22
- package/src/filiale/tongchuan/pc/PaperDefectMain.vue +1 -1
- package/src/filiale/tongchuan/pc/SelectCheckPlan.vue +5 -2
- package/src/filiale/tongchuan/utils/EventListener.js +29 -0
- package/src/filiale/tongchuan/utils/coerceBoolean.js +7 -0
- package/src/filiale/weinan/android/SafecheckDevices.vue +1295 -1295
- package/src/filiale/weinan/android/SafecheckOrderV.vue +1 -1
- package/src/filiale/weinan/pc/CheckBookSearchUserList.vue +75 -62
- package/src/filiale/weinan/pc/CheckDetail.vue +11 -11
- package/src/filiale/weinan/pc/DefectPaperNew.vue +31 -0
- package/src/filiale/weinan/pc/DeviceChange.vue +1088 -0
- package/src/filiale/weinan/pc/checkUserList.vue +49 -113
- package/src/filiale/weinan/pc.js +1 -0
- package/src/filiale/wuan/android/SafecheckOrderV.vue +1 -0
- package/src/filiale/wuan/android/SafecheckUserInfo.vue +4 -0
- package/src/filiale/yangchunboneng/android/PaperFeedback.vue +1731 -1731
- package/src/filiale/yangchunboneng/android/SafecheckDevices.vue +1332 -1332
- package/src/filiale/yangchunboneng/android/SafecheckUserInfo.vue +887 -887
- package/src/filiale/yangchunboneng/pc/CheckBookSearchUser.vue +13 -11
- package/src/filiale/yangchunboneng/pc/CheckBookUser.vue +269 -269
- package/src/filiale/yangchunboneng/pc/CheckPlanAreaList.vue +96 -30
- package/src/filiale/yangchunboneng/pc/CheckSearchUser.vue +10 -10
- package/src/filiale/yangchunboneng/pc/DefectPaperNew.vue +1128 -1128
- package/src/filiale/yangchunboneng/pc/PaperDefectMain.vue +972 -972
- package/src/filiale/yangchunboneng/pc/PaperList.vue +773 -773
- package/src/filiale/yongzhou/android/PaperFeedback.vue +1519 -1519
- package/src/filiale/yongzhou/android/SafecheckDevices.vue +1294 -1294
- package/src/filiale/yongzhou/android/SafecheckUserInfo.vue +776 -776
- package/src/filiale/yuansheng/android/SafecheckDevices.vue +11 -1
- package/src/filiale/yuansheng/android/SwitchValve.vue +322 -322
- package/src/filiale/yuansheng/android.js +17 -17
- package/src/filiale/yuansheng/pc/NewCheckpaper.vue +10 -2
- package/src/filiale/yunchengminsheng/android/PaperFeedback.vue +1508 -1508
- package/src/filiale/yunchengminsheng/android/SafecheckDevices.vue +1270 -1270
- package/src/filiale/yunchengminsheng/android/SafecheckUserInfo.vue +784 -784
- package/src/main-/345/215/225/351/241/265/351/235/242/346/211/223/345/214/205/347/224/250.js +24 -0
- package/src/main.js +33 -33
- package/src/safecheck-android.js +9 -0
- package/src/safecheck-page.js +10 -0
@@ -1082,7 +1082,7 @@ export default {
|
|
1082
1082
|
let msg = ''
|
1083
1083
|
for (let a = 0; a < checkResults.data.length; a++) {
|
1084
1084
|
for (let datumKey in checkResults.data[a]) {
|
1085
|
-
msg += datumKey + '
|
1085
|
+
msg += datumKey + ','
|
1086
1086
|
}
|
1087
1087
|
}
|
1088
1088
|
this.data.f_defect_text = msg
|
@@ -56,6 +56,10 @@
|
|
56
56
|
</div>
|
57
57
|
<div class="form-group col-sm-4" >
|
58
58
|
<button class="button_new" style="margin-right: 10px" @click="$parent.$parent.showUserCondition()">更多条件</button>
|
59
|
+
<export-excel-safe :data="$parent.$parent.searchData"
|
60
|
+
:field="$parent.$parent.excelHeaders"
|
61
|
+
:choose-col="true"
|
62
|
+
sqlurl="rs/logic/SafeExportExcel" sql-name="FetchUserFileByOrgNoRuHuSXQ" template-name='安检筛选用户信息导出'></export-excel-safe>
|
59
63
|
<button class="button_search" style="margin-right: 10px" @click="search()">查询</button>
|
60
64
|
<button class="button_search" style="margin-right: 10px" @click="$parent.$parent.createAndSend()">下发</button>
|
61
65
|
</div>
|
@@ -111,7 +115,7 @@
|
|
111
115
|
placeholder='请选择'
|
112
116
|
style="width:60%;text-align: center"
|
113
117
|
:disabled-days-of-week="[]"
|
114
|
-
:format="'yyyy-MM-dd'"
|
118
|
+
:format="'yyyy-MM-dd 00:00:00'"
|
115
119
|
:show-rest-button="reset"
|
116
120
|
:value.sync="model.f_check_start"
|
117
121
|
v-model="model.f_check_start">
|
@@ -123,12 +127,24 @@
|
|
123
127
|
placeholder='请选择'
|
124
128
|
:disabled-days-of-week="[]"
|
125
129
|
style="width:60%;text-align: center"
|
126
|
-
:format="'yyyy-MM-dd'"
|
130
|
+
:format="'yyyy-MM-dd 23:59:59'"
|
127
131
|
:show-rest-button="reset"
|
128
132
|
:value.sync="model.f_check_end"
|
129
133
|
v-model="model.f_check_end">
|
130
134
|
</datepicker>
|
131
135
|
</div>
|
136
|
+
<div class="form-group col-sm-4" >
|
137
|
+
<label class="font_normal_body">入户截止:</label>
|
138
|
+
<datepicker
|
139
|
+
placeholder='请选择'
|
140
|
+
:disabled-days-of-week="[]"
|
141
|
+
style="width:60%;text-align: center"
|
142
|
+
:format="'yyyy-MM-dd 23:59:59'"
|
143
|
+
:show-rest-button="reset"
|
144
|
+
:value.sync="model.f_ruhu_end"
|
145
|
+
v-model="model.f_ruhu_end">
|
146
|
+
</datepicker>
|
147
|
+
</div>
|
132
148
|
|
133
149
|
</div>
|
134
150
|
</div>
|
@@ -269,7 +285,31 @@ import {toStandardDateString} from "../../../components/Util";
|
|
269
285
|
export default {
|
270
286
|
title: '计划管理',
|
271
287
|
data() {
|
288
|
+
let model = new PagedList('/rs/sql/FetchUserFileByOrgNoRuHuSXQ', 20, {
|
289
|
+
"orderitem": "'f_residential_area,f_building,f_unit,f_floor,f_room'",
|
290
|
+
"f_usertype": "''",
|
291
|
+
"month": "''",
|
292
|
+
"SafeCheckSX": 'this.SafeCheckSX',
|
293
|
+
"SafeCheckCQ": "''",
|
294
|
+
"startday":"''",
|
295
|
+
"endday":"''"})
|
296
|
+
model.SafeCheckSX = '1 = 1'
|
272
297
|
return {
|
298
|
+
searchData: {
|
299
|
+
condition: "1=1",
|
300
|
+
orderitem: "f_residential_area,f_building,f_unit,f_floor,f_room",
|
301
|
+
SafeCheckSX:""
|
302
|
+
},
|
303
|
+
excelHeaders: {
|
304
|
+
'f_userinfo_code': '用户编号',
|
305
|
+
'f_user_name': '用户姓名',
|
306
|
+
'f_user_type': '用户类型',
|
307
|
+
'f_residential_area': '小区名称',
|
308
|
+
'f_last_check_date': '最后一次安检日期',
|
309
|
+
'f_last_check_state': '最后一次安检状态',
|
310
|
+
'f_address': '详细地址'
|
311
|
+
},
|
312
|
+
model: model,
|
273
313
|
createPlan:{
|
274
314
|
f_safecheck_type:"年度普检",
|
275
315
|
checker:"",
|
@@ -285,14 +325,6 @@ export default {
|
|
285
325
|
yearList:[{label:"2020",value:"2020"},{label:"2021",value:"2021"},{label:"2022",value:"2022"},{label:"2023",value:"2023"},{label:"2024",value:"2024"},{label:"2025",value:"2025"},{label:"2026",value:"2026"},{label:"2027",value:"2027"},{label:"2028",value:"2028"},{label:"2029",value:"2029"},{label:"2030",value:"2030"}],
|
286
326
|
monthList:[{label:"1",value:"1"},{label:"2",value:"2"},{label:"3",value:"3"},{label:"4",value:"4"},{label:"5",value:"5"},{label:"6",value:"6"},{label:"7",value:"7"},{label:"8",value:"8"},{label:"9",value:"9"},{label:"10",value:"10"},{label:"11",value:"11"},{label:"12",value:"12"}],
|
287
327
|
showCreatePlan:false,
|
288
|
-
model:new PagedList('/rs/sql/FetchUserFileByOrgNoRuHuSXQ', 20, {
|
289
|
-
"orderitem": "'f_residential_area,f_building,f_unit,f_floor,f_room'",
|
290
|
-
"f_usertype": "''",
|
291
|
-
"month": "''",
|
292
|
-
"SafeCheckSX": {"f_check_start": '', "f_check_end": ''},
|
293
|
-
"SafeCheckCQ": "''",
|
294
|
-
"startday":"''",
|
295
|
-
"endday":"''"}),
|
296
328
|
a:'1',
|
297
329
|
opt:[{label:"测试",value:"测试"}],
|
298
330
|
showCondtion:false,
|
@@ -357,6 +389,7 @@ export default {
|
|
357
389
|
f_filialeid:this.userlogin.orgid,
|
358
390
|
f_subscribe_date:'',
|
359
391
|
condition:this.model.condition,
|
392
|
+
SafeCheckSX: this.model.SafeCheckSX,
|
360
393
|
switchCheckAll:true,
|
361
394
|
checkAll:this.checkAll,
|
362
395
|
param:this.checkes,
|
@@ -398,66 +431,45 @@ export default {
|
|
398
431
|
this.excelUserCondtion=true
|
399
432
|
},
|
400
433
|
selfSearch (args) {
|
401
|
-
|
402
|
-
|
403
|
-
|
404
|
-
|
405
|
-
|
406
|
-
|
434
|
+
if(args.model.f_last_check_state.length == 1 && args.model.f_last_check_state[0] == '入户' && args.model.f_ruhu_end) {
|
435
|
+
args.condition += `and DATEADD(YEAR, 2, CAST(ruhuend.f_offsite_time AS datetime)) < '${args.model.f_ruhu_end}'`
|
436
|
+
}
|
437
|
+
if(args.model.f_last_check_state.length > 0 && Util.isEmpty(args.model.f_ruhu_end) && (Util.isEmpty(args.model.f_check_start) || Util.isEmpty(args.model.f_check_end))) {
|
438
|
+
this.$showMessage("选择安检状态时,需要选择安检时间区间!")
|
439
|
+
return
|
440
|
+
}
|
441
|
+
if(args.model.f_last_check_state.length > 0 && Util.isEmpty(args.model.f_ruhu_end)) {
|
407
442
|
let zzcon = ''
|
408
|
-
|
409
|
-
|
410
|
-
|
411
|
-
|
412
|
-
|
413
|
-
|
414
|
-
let lscon = args.model.f_check_start ? ` or ui.f_last_check_date <= '${args.model.f_check_start} 00:00:00'` :''
|
415
|
-
lscon += lscon ? (args.model.f_check_end ? ` or ui.f_last_check_date >= '${args.model.f_check_end} 23:59:59'` :''): (args.model.f_check_end ? `ui.f_last_check_date >= '${args.model.f_check_end} 23:59:59'` :'')
|
416
|
-
if(i == args.model.f_last_check_state.length-1){
|
417
|
-
zzcon += `( ui.f_last_check_state is null or ua.f_last_check_state ='' ${lscon} ) `
|
418
|
-
}else{
|
419
|
-
zzcon += `( ui.f_last_check_state is null or ua.f_last_check_state ='' ${lscon} ) or `
|
443
|
+
this.model.SafeCheckSX = ` f_offsite_time > '${args.model.f_check_start}' and f_offsite_time < '${args.model.f_check_end}'`
|
444
|
+
for (let i = 0; i < args.model.f_last_check_state.length; i++) {
|
445
|
+
if (args.model.f_last_check_state[i] == '未检') {
|
446
|
+
zzcon += ' tcp.ruhu is null '
|
447
|
+
if (i != args.model.f_last_check_state.length - 1) {
|
448
|
+
zzcon += ' or'
|
420
449
|
}
|
421
|
-
} else{
|
422
|
-
|
423
|
-
|
424
|
-
|
425
|
-
|
426
|
-
|
427
|
-
|
450
|
+
} else if (args.model.f_last_check_state[i] == '入户') {
|
451
|
+
zzcon += `tcp.ruhu > 0`
|
452
|
+
if (i != args.model.f_last_check_state.length - 1) {
|
453
|
+
zzcon += ' or'
|
454
|
+
}
|
455
|
+
} else if (args.model.f_last_check_state[i] == '拒检') {
|
456
|
+
zzcon += `(tcp.jujian > 0 and tcp.ruhu = 0 and tcp.daofang >= 0) `
|
457
|
+
if (i != args.model.f_last_check_state.length - 1) {
|
458
|
+
zzcon += ' or'
|
459
|
+
}
|
460
|
+
} else if (args.model.f_last_check_state[i] == '到访不遇') {
|
461
|
+
zzcon += `(tcp.daofang > 0 and tcp.ruhu = 0 and tcp.jujian = 0) `
|
462
|
+
if (i != args.model.f_last_check_state.length - 1) {
|
463
|
+
zzcon += ' or'
|
428
464
|
}
|
429
465
|
}
|
430
466
|
}
|
431
467
|
args.condition += `and ( ${zzcon} )`
|
432
|
-
}else if(args.model.f_last_check_state.length == 0 && (!Util.isEmpty(args.model.f_check_start) || !Util.isEmpty(args.model.f_check_end) )){
|
433
|
-
let lscon = args.model.f_check_start ? ` and ui.f_last_check_date >= '${args.model.f_check_start} 00:00:00'` :''
|
434
|
-
lscon += lscon ? (args.model.f_check_end ? ` and ui.f_last_check_date <= '${args.model.f_check_end} 23:59:59'` :'') : (args.model.f_check_end ? ` ui.f_last_check_date <= '${args.model.f_check_end} 23:59:59'` :'')
|
435
|
-
args.condition += lscon
|
436
468
|
}else{
|
437
|
-
|
469
|
+
//无条件
|
470
|
+
this.model.SafeCheckSX = ` 1 != 1 `
|
438
471
|
}
|
439
|
-
|
440
|
-
// if (!Util.isEmpty(args.model.f_last_check_state) && (!Util.isEmpty(args.model.f_check_start) || !Util.isEmpty(args.model.f_check_end) )){
|
441
|
-
// if (args.model.f_last_check_state == '未检'){
|
442
|
-
// var lscon = args.model.f_check_start ? ` or ua.f_last_check_date <= '${args.model.f_check_start} 00:00:00'` :''
|
443
|
-
// lscon += lscon ? (args.model.f_check_end ? ` or ua.f_last_check_date >= '${args.model.f_check_end} 23:59:59'` :''): (args.model.f_check_end ? `ua.f_last_check_date >= '${args.model.f_check_end} 23:59:59'` :'')
|
444
|
-
// args.condition +=`and (ua.f_last_check_state is null or ua.f_last_check_state ='' ${lscon} ) `
|
445
|
-
// }else {
|
446
|
-
// var lscon = args.model.f_check_start ? ` and ua.f_last_check_date >= '${args.model.f_check_start} 00:00:00'` :''
|
447
|
-
// lscon += lscon ? (args.model.f_check_end ? ` and ua.f_last_check_date <= '${args.model.f_check_end} 23:59:59'` :'') : (args.model.f_check_end ? ` ua.f_last_check_date <= '${args.model.f_check_end} 23:59:59'` :'')
|
448
|
-
// args.condition += `and ua.f_last_check_state = '${args.model.f_last_check_state}' ${lscon}`
|
449
|
-
// }
|
450
|
-
//
|
451
|
-
// }else if (Util.isEmpty(args.model.f_last_check_state) && (!Util.isEmpty(args.model.f_check_start) || !Util.isEmpty(args.model.f_check_end) )) {
|
452
|
-
// var lscon = args.model.f_check_start ? ` and ua.f_last_check_date >= '${args.model.f_check_start} 00:00:00'` :''
|
453
|
-
// lscon += lscon ? (args.model.f_check_end ? ` and ua.f_last_check_date <= '${args.model.f_check_end} 23:59:59'` :'') : (args.model.f_check_end ? ` ua.f_last_check_date <= '${args.model.f_check_end} 23:59:59'` :'')
|
454
|
-
// args.condition += lscon
|
455
|
-
// }else if (!Util.isEmpty(args.model.f_last_check_state) && Util.isEmpty(args.model.f_check_start) && Util.isEmpty(args.model.f_check_end)){
|
456
|
-
// this.$showMessage("选择安检状态时,需要选择安检时间区间!")
|
457
|
-
// return
|
458
|
-
// }else{
|
459
|
-
// console.log('这块无条件')
|
460
|
-
// }
|
472
|
+
this.searchData.SafeCheckSX = this.model.SafeCheckSX
|
461
473
|
let condition1=`(ui.f_last_check_date is null or ui.f_last_check_date ='')`
|
462
474
|
let arge = args.condition.replace('从未安检',condition1)
|
463
475
|
args.condition = arge
|
@@ -517,6 +529,7 @@ export default {
|
|
517
529
|
this.cancel()
|
518
530
|
this.checkes=[]
|
519
531
|
this.checkAll=false
|
532
|
+
this.searchData.condition = args.condition
|
520
533
|
this.model.search(args.condition, args.model, args.condValue)
|
521
534
|
},
|
522
535
|
showUserCondition(){
|
@@ -220,42 +220,42 @@ methods:{
|
|
220
220
|
//
|
221
221
|
if( this.f_state){
|
222
222
|
if(this.f_state=='入户'){
|
223
|
-
args.condition=args.condition+" and i.f_state='已检' and f_last_check_state='入户'"
|
223
|
+
args.condition=args.condition+" and i.f_state='已检' and i.f_last_check_state='入户'"
|
224
224
|
}else if(this.f_state=='未入户'){
|
225
225
|
if(this.f_noruhu && this.f_noruhu.length==1){
|
226
226
|
if(this.f_noruhu[0]=='复访不遇'){
|
227
|
-
args.condition += "and i.f_state='已检' and f_last_check_state='到访不遇' and f_check_version > 1 "
|
227
|
+
args.condition += "and i.f_state='已检' and i.f_last_check_state='到访不遇' and i.f_check_version > 1 "
|
228
228
|
}else{
|
229
|
-
args.condition += this.f_noruhu[0]=='未检'?" and i.f_state='未检'":` and i.f_state='已检' and f_last_check_state='${this.f_noruhu[0]}'`
|
229
|
+
args.condition += this.f_noruhu[0]=='未检'?" and i.f_state='未检'":` and i.f_state='已检' and i.f_last_check_state='${this.f_noruhu[0]}'`
|
230
230
|
}
|
231
231
|
}else if(this.f_noruhu && this.f_noruhu.length==2){
|
232
232
|
if(this.f_noruhu.indexOf('未检')!=-1){
|
233
233
|
//
|
234
234
|
if(this.f_noruhu.indexOf('到访不遇')!=-1){
|
235
|
-
args.condition=args.condition+" and (i.f_state='未检' or (i.f_state='已检' and f_last_check_state='到访不遇'))"
|
235
|
+
args.condition=args.condition+" and (i.f_state='未检' or (i.f_state='已检' and i.f_last_check_state='到访不遇'))"
|
236
236
|
}else if(this.f_noruhu.indexOf('复访不遇')!=-1) {
|
237
|
-
args.condition=args.condition + " and (i.f_state='未检' or (i.f_state='已检' and f_last_check_state = '到访不遇' AND f_check_version >2))"
|
237
|
+
args.condition=args.condition + " and (i.f_state='未检' or (i.f_state='已检' and i.f_last_check_state = '到访不遇' AND i.f_check_version >2))"
|
238
238
|
}else{
|
239
|
-
args.condition=args.condition+" and (i.f_state='未检' or (i.f_state='已检' and f_last_check_state='拒检'))"
|
239
|
+
args.condition=args.condition+" and (i.f_state='未检' or (i.f_state='已检' and i.f_last_check_state='拒检'))"
|
240
240
|
}
|
241
241
|
|
242
242
|
}else{
|
243
243
|
if(this.f_noruhu.indexOf('复访不遇')!=-1){
|
244
244
|
if(this.f_noruhu.indexOf('到访不遇')!=-1){
|
245
|
-
args.condition=args.condition + " and (i.f_state='已检' and (f_last_check_state='到访不遇'))"
|
245
|
+
args.condition=args.condition + " and (i.f_state='已检' and (i.f_last_check_state='到访不遇'))"
|
246
246
|
}else{
|
247
|
-
args.condition=args.condition + " and i.f_state='已检' and ((f_last_check_state='到访不遇' and f_check_version >2) or f_last_check_state='拒检' )"
|
247
|
+
args.condition=args.condition + " and i.f_state='已检' and ((i.f_last_check_state='到访不遇' and f_check_version >2) or i.f_last_check_state='拒检' )"
|
248
248
|
}
|
249
249
|
}else{
|
250
|
-
args.condition=args.condition+" and (i.f_state='已检' and (f_last_check_state='到访不遇' or f_last_check_state='拒检'))"
|
250
|
+
args.condition=args.condition+" and (i.f_state='已检' and (i.f_last_check_state='到访不遇' or i.f_last_check_state='拒检'))"
|
251
251
|
}
|
252
252
|
}
|
253
253
|
}else{
|
254
254
|
if(this.f_noruhu.indexOf('未检')!=-1){
|
255
|
-
args.condition=args.condition+" and (i.f_state='未检' or (i.f_state='已检' and (f_last_check_state='到访不遇' or f_last_check_state='拒检')))"
|
255
|
+
args.condition=args.condition+" and (i.f_state='未检' or (i.f_state='已检' and (i.f_last_check_state='到访不遇' or i.f_last_check_state='拒检')))"
|
256
256
|
}
|
257
257
|
else{
|
258
|
-
args.condition=args.condition+" and (i.f_state='已检' and (f_last_check_state='到访不遇' or f_last_check_state='拒检'))"
|
258
|
+
args.condition=args.condition+" and (i.f_state='已检' and (i.f_last_check_state='到访不遇' or i.f_last_check_state='拒检'))"
|
259
259
|
}
|
260
260
|
}
|
261
261
|
|
@@ -175,6 +175,18 @@
|
|
175
175
|
:multiple="true">
|
176
176
|
</v-select>
|
177
177
|
</div>
|
178
|
+
<div :class="$parent.$parent.style">
|
179
|
+
<label class="font_normal_body">是否限购</label>
|
180
|
+
<v-select style="width:60% "
|
181
|
+
class="select select_list"
|
182
|
+
:options='$parent.$parent.isOrNo'
|
183
|
+
v-model='model.f_is_black'
|
184
|
+
:value.sync="model.f_is_black"
|
185
|
+
placeholder='是否限购'
|
186
|
+
condition="f_is_black = '{}'"
|
187
|
+
:multiple="false">
|
188
|
+
</v-select>
|
189
|
+
</div>
|
178
190
|
</div>
|
179
191
|
<div class="row" v-show="$parent.$parent.$parent.showItem">
|
180
192
|
<div :class="$parent.$parent.style">
|
@@ -329,6 +341,18 @@
|
|
329
341
|
placeholder='隐患类型'
|
330
342
|
:multiple="true">
|
331
343
|
</v-select>
|
344
|
+
</div>
|
345
|
+
<div :class="$parent.$parent.style">
|
346
|
+
<label class="font_normal_body">是否限购</label>
|
347
|
+
<v-select style="width:60% "
|
348
|
+
class="select select_list"
|
349
|
+
:options='$parent.$parent.isOrNo'
|
350
|
+
v-model='model.f_is_black'
|
351
|
+
:value.sync="model.f_is_black"
|
352
|
+
placeholder='是否限购'
|
353
|
+
condition="f_is_black = '{}'"
|
354
|
+
:multiple="false">
|
355
|
+
</v-select>
|
332
356
|
</div>
|
333
357
|
<div :class="$parent.$parent.style">
|
334
358
|
<label class="font_normal_body">维 修 员</label>
|
@@ -371,6 +395,7 @@
|
|
371
395
|
<th><nobr>完成情况</nobr></th>
|
372
396
|
<th><nobr>维修情况</nobr></th>
|
373
397
|
<th><nobr>维修员</nobr></th>
|
398
|
+
<th><nobr>限购状态</nobr></th>
|
374
399
|
<th><nobr>隐患明细</nobr></th>
|
375
400
|
</tr>
|
376
401
|
</template>
|
@@ -392,6 +417,7 @@
|
|
392
417
|
<td style="text-align: center;white-space:nowrap;">{{row.f_is_repair}}</td>
|
393
418
|
<td style="text-align: center;white-space:nowrap;">{{row.f_repaired}}</td>
|
394
419
|
<td style="text-align: center;white-space:nowrap;">{{row.f_repairman}}</td>
|
420
|
+
<td style="text-align: center;white-space:nowrap;">{{row.f_is_black}}</td>
|
395
421
|
<td style="text-align: center;white-space:nowrap;">{{ $parent.$parent.$parent.trouble(row.f_defect_content)}}</td>
|
396
422
|
</template>
|
397
423
|
</data-grid>
|
@@ -522,7 +548,9 @@ export default {
|
|
522
548
|
checker_name:'',
|
523
549
|
defectType:[],
|
524
550
|
defectLeave:'',
|
551
|
+
is_black:'',
|
525
552
|
defectLeaveList:[{label:'全部',value:''},{label:'重大',value:'重大'},{label:'一般',value:'一般'}],
|
553
|
+
isOrNo:[{label:'全部',value:''},{label:'是',value:'是'},{label:'否',value:'否'}],
|
526
554
|
repaired:[{label: '全部', value: ''},{label: '未完成', value: '未完成'}, {label: '已完成', value: '已完成'}],
|
527
555
|
deals:[{label: '全部', value: ''},{label: '未处理', value: '未处理'}, {label: '已处理', value: '已处理'}],
|
528
556
|
f: this.$login.f,
|
@@ -990,6 +1018,9 @@ export default {
|
|
990
1018
|
}
|
991
1019
|
}
|
992
1020
|
args.condition += ` )`
|
1021
|
+
}
|
1022
|
+
if (this.is_black){
|
1023
|
+
|
993
1024
|
}
|
994
1025
|
this.model.search(args.condition, args.model)
|
995
1026
|
console.log('zzz',args.condition)
|