safecheck-client 3.0.34-9 → 3.0.34-90
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/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/AddPlanItemYy.vue +451 -0
- package/src/components/android/AndroidDefectDeal.vue +634 -634
- 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/CurrentCreateYy.vue +1051 -0
- package/src/components/android/PaperFeedback.vue +33 -0
- package/src/components/android/QRCode/QRCodeBinding.vue +300 -0
- package/src/components/android/QRCode/QRCodePage.vue +212 -0
- package/src/components/android/SafecheckDevices.vue +2 -2
- package/src/components/android/SafecheckOrderV.vue +8 -12
- package/src/components/android/UserinfoSelect.vue +714 -0
- package/src/components/android/examples/410.png +0 -0
- package/src/components/android/examples/SafeListExamples.vue +279 -0
- package/src/components/android/examples/UserExamples.vue +137 -0
- package/src/components/android/examples/ViewDetailsExamples.vue +1235 -0
- package/src/components/android/examples/touxiang.png +0 -0
- package/src/components/pc/SafeVisitInfo.vue +261 -0
- package/src/components/rongcheng/AddPlanItem.vue +8 -0
- package/src/components/rongcheng/AspiratedUserInfo.vue +1 -1
- package/src/components/rongcheng/CheckSearchUser.vue +46 -16
- 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/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/AddPlanItem.vue +8 -0
- package/src/filiale/bayan/android/PaperFeedback.vue +63 -49
- package/src/filiale/bayan/android/PhoneUpUserinfo.vue +40 -40
- package/src/filiale/bayan/android/SafecheckOrderV.vue +58 -58
- package/src/filiale/bayan/android/SafecheckUserInfo.vue +5 -0
- package/src/filiale/bayan/pc/PaperList.vue +1 -0
- package/src/filiale/fugou/pc/CheckBookSearchUser.vue +35 -15
- 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 +6 -6
- 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/SafecheckOrderV.vue +2734 -2734
- package/src/filiale/jingyang/android.js +15 -15
- package/src/filiale/kelai/pc/CheckPlanAreaList.vue +15 -7
- package/src/filiale/qianneng/android/SafecheckOrderV.vue +1 -1
- 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/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/android/SafecheckOrderV.vue +1 -1
- package/src/filiale/shanxian/pc/checkUserList.vue +4 -4
- package/src/filiale/siyang/android/AddPlanItem.vue +450 -0
- package/src/filiale/siyang/android/AppCheckPlan.vue +246 -0
- package/src/filiale/siyang/android/CurrentCreate.vue +1051 -0
- package/src/filiale/siyang/android.js +15 -11
- package/src/filiale/siyang/pc/CheckBookList.vue +396 -0
- package/src/filiale/siyang/pc/CheckBookSearchArea.vue +667 -0
- package/src/filiale/siyang/pc/CheckPlanAreaList.vue +512 -0
- package/src/filiale/siyang/pc/CheckSearchUser.vue +1035 -0
- package/src/filiale/siyang/pc/HiddenSituation.vue +167 -0
- package/src/filiale/siyang/pc/checkPlanList.vue +367 -0
- package/src/filiale/siyang/pc/checkUserList.vue +22 -18
- package/src/filiale/siyang/pc.js +22 -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 +1 -1
- package/src/filiale/weinan/android/SafecheckOrderV.vue +6 -2
- 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 +2241 -2240
- package/src/filiale/wuan/android/SafecheckUserInfo.vue +596 -592
- package/src/filiale/xilan/pc/checkUserList.vue +772 -0
- package/src/filiale/xilan/pc.js +12 -0
- package/src/filiale/yangchunboneng/android/SafecheckDevices.vue +10 -6
- package/src/filiale/yangchunboneng/android/SafecheckOrderV.vue +21 -1
- package/src/filiale/yangchunboneng/pc/CheckBookSearchUser.vue +23 -11
- package/src/filiale/yangchunboneng/pc/CheckBookUser.vue +6 -6
- 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 +10 -10
- package/src/filiale/yangchunboneng/pc/PaperDefectMain.vue +84 -10
- package/src/filiale/yangchunboneng/pc/PaperList.vue +6 -6
- package/src/filiale/yuansheng/android/SafecheckDevices.vue +11 -1
- package/src/filiale/yuansheng/pc/NewCheckpaper.vue +10 -2
- 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 +34 -33
- package/src/safecheck-android.js +11 -0
- package/src/safecheck-page.js +12 -0
- package/src/safecheck.js +3 -0
@@ -659,15 +659,15 @@ export default {
|
|
659
659
|
if (options[i].value == val) {
|
660
660
|
// 如果有隐患,拍图片
|
661
661
|
if (options[i].isdefect) {
|
662
|
-
let value = '未处理'
|
663
|
-
if (this.device.device == '热水器' || this.device.device == '燃具连接管' || this.device.device == '灶具'){
|
664
|
-
|
665
|
-
}
|
662
|
+
// let value = '未处理'
|
663
|
+
// if (this.device.device == '热水器' || this.device.device == '燃具连接管' || this.device.device == '灶具'){
|
664
|
+
// value = '自行处理'
|
665
|
+
// }
|
666
666
|
this.f_items[n].f_is_defect = true
|
667
667
|
this.f_items[n].f_defect_level = options[i].level
|
668
668
|
this.f_items[n].f_path = Vue.nopic
|
669
669
|
this.f_items[n].f_live_dispose = '否'
|
670
|
-
this.f_items[n].f_deal_dispose = value
|
670
|
+
// this.f_items[n].f_deal_dispose = value
|
671
671
|
this.f_items[n].tooltip = options[i].tooltip
|
672
672
|
//tag)
|
673
673
|
return
|
@@ -1022,6 +1022,11 @@ export default {
|
|
1022
1022
|
checkmust: this.config[this.device.device].items[item].checkmust,
|
1023
1023
|
f_item_value: f_item_value,
|
1024
1024
|
f_is_defect: '',
|
1025
|
+
dispatchType: this.config[this.device.device].items[item].dispatchType ? this.config[this.device.device].items[item].dispatchType : '',
|
1026
|
+
f_repairman: this.config[this.device.device].items[item].f_repairman ? this.config[this.device.device].items[item].f_repairman : '',
|
1027
|
+
f_meetunit: this.config[this.device.device].items[item].f_meetunit ? this.config[this.device.device].items[item].f_meetunit : '',
|
1028
|
+
f_reciever: this.config[this.device.device].items[item].f_reciever ? this.config[this.device.device].items[item].f_reciever : '',
|
1029
|
+
f_deal_dispose: this.config[this.device.device].items[item].dealDispose ? this.config[this.device.device].items[item].dealDispose : '',
|
1025
1030
|
multiple:this.config[this.device.device].items[item].multiple == true?this.config[this.device.device].items[item].multiple:false,
|
1026
1031
|
isshow:this.config[this.device.device].items[item].isshow == false?this.config[this.device.device].items[item].isshow:true,
|
1027
1032
|
readonly: this.config[this.device.device].items[item].readonly == true?true:false,
|
@@ -1030,7 +1035,6 @@ export default {
|
|
1030
1035
|
unit: this.config[this.device.device].items[item].unit ? this.config[this.device.device].items[item].unit : '',
|
1031
1036
|
tooltip:'',
|
1032
1037
|
f_live_dispose:'',
|
1033
|
-
f_deal_dispose:'',
|
1034
1038
|
f_else: this.config[this.device.device].items[item].f_else ? this.config[this.device.device].items[item].f_else : '',
|
1035
1039
|
f_p1_path: '',
|
1036
1040
|
f_p2_path: '',
|
@@ -401,6 +401,7 @@ export default {
|
|
401
401
|
}
|
402
402
|
},
|
403
403
|
rectification() {
|
404
|
+
this.repairData = []
|
404
405
|
for (let i = 0; i < this.repairDefect.data.length; i++) {
|
405
406
|
if (this.repairDefect.data[i].f_repair_data.dispatchType == '派发给站点') {
|
406
407
|
if (!this.repairDefect.data[i].f_repair_data.f_reciever) {
|
@@ -894,7 +895,26 @@ export default {
|
|
894
895
|
if (items.f_deal_dispose == '报修') {
|
895
896
|
console.log("检测到需要转维修++++++++++++")
|
896
897
|
this.repairDefect.result = '未处理'
|
897
|
-
|
898
|
+
let f_repair_data = {}
|
899
|
+
if (items.dispatchType == '派发给维修员'){
|
900
|
+
f_repair_data = {
|
901
|
+
dispatchType:'派发给维修员',
|
902
|
+
f_repairman: items.f_repairman
|
903
|
+
}
|
904
|
+
}else if (items.dispatchType == '派发给站点'){
|
905
|
+
f_repair_data = {
|
906
|
+
dispatchType:'派发给站点',
|
907
|
+
f_meetunit: items.f_meetunit,
|
908
|
+
f_outlets: items.f_meetunit,
|
909
|
+
f_reciever: items.f_reciever
|
910
|
+
}
|
911
|
+
}
|
912
|
+
this.repairDefect.data.push(
|
913
|
+
{
|
914
|
+
f_defect_name: `${f_item_name} : ${f_item_value}`,
|
915
|
+
f_repair_data: f_repair_data,
|
916
|
+
f_item_name: f_item_name
|
917
|
+
})
|
898
918
|
}
|
899
919
|
if (!this.checkResult.hasOwnProperty(f_device_type + '-' + f_item_name)) {
|
900
920
|
//tag
|
@@ -68,10 +68,11 @@
|
|
68
68
|
</div>
|
69
69
|
<div class="row">
|
70
70
|
<div class="form-group col-sm-4" v-show="$parent.$parent.criteriaShow">
|
71
|
-
<label class="font_normal_body"
|
71
|
+
<label class="font_normal_body">首次通气开始</label>
|
72
72
|
<datepicker
|
73
73
|
:value.sync="model.f_gas_date_str"
|
74
74
|
style="width: 60%"
|
75
|
+
placeholder='首次通气开始日期'
|
75
76
|
:format="'yyyy-MM-dd 00:00:00'"
|
76
77
|
v-model="model.f_gas_date_str"
|
77
78
|
condition="f_uservent_date > '{}'"
|
@@ -79,40 +80,50 @@
|
|
79
80
|
</datepicker>
|
80
81
|
</div>
|
81
82
|
<div class="form-group col-sm-4" v-show="$parent.$parent.criteriaShow">
|
82
|
-
<label class="font_normal_body"
|
83
|
+
<label class="font_normal_body">首次通气结束</label>
|
83
84
|
<datepicker
|
84
85
|
:value.sync="model.f_gas_date_end"
|
85
86
|
style="width: 60%"
|
87
|
+
placeholder='首次通气结束日期'
|
86
88
|
:format="'yyyy-MM-dd 23:59:59'"
|
87
89
|
v-model="model.f_gas_date_end"
|
88
90
|
condition="f_uservent_date < '{}'"
|
89
91
|
>
|
90
92
|
</datepicker>
|
91
93
|
</div>
|
92
|
-
<div class="form-group col-sm-
|
93
|
-
<label class="font_normal_body"
|
94
|
+
<div class="form-group col-sm-4" v-show="$parent.$parent.criteriaShow" >
|
95
|
+
<label class="font_normal_body">表具通气开始</label>
|
94
96
|
<datepicker
|
95
97
|
:value.sync="model.f_check_start"
|
96
|
-
placeholder='
|
98
|
+
placeholder='表具通气开始时间' style="width: 60%"
|
97
99
|
:disabled-days-of-week="[]"
|
98
100
|
:format="'yyyy-MM-dd'"
|
99
101
|
:show-rest-button="reset"
|
100
102
|
v-model="model.f_check_start"
|
101
|
-
condition="
|
103
|
+
condition="f_gas_date > ='{} 00:00:00'">
|
102
104
|
</datepicker>
|
103
105
|
</div>
|
104
|
-
<div class="form-group col-sm-
|
105
|
-
<label class="font_normal_body"
|
106
|
+
<div class="form-group col-sm-4" v-show="$parent.$parent.criteriaShow" >
|
107
|
+
<label class="font_normal_body">表具通气结束</label>
|
106
108
|
<datepicker
|
107
109
|
:value.sync="model.f_check_end"
|
108
|
-
placeholder='
|
110
|
+
placeholder='表具通气结束时间' style="width: 60%"
|
109
111
|
:disabled-days-of-week="[]"
|
110
112
|
:format="'yyyy-MM-dd'"
|
111
113
|
:show-rest-button="reset"
|
112
114
|
v-model="model.f_check_end"
|
113
|
-
condition="
|
115
|
+
condition="f_gas_date <= '{} 23:59:59'">
|
114
116
|
</datepicker>
|
115
117
|
</div>
|
118
|
+
<div class="form-group col-sm-4" v-show="$parent.$parent.criteriaShow">
|
119
|
+
<label class="font_normal_body">用户状态</label>
|
120
|
+
<v-select :value.sync="model.f_user_state" v-model='model.f_user_state'
|
121
|
+
:value-single="true" style="width: 60%"
|
122
|
+
class="select_list select"
|
123
|
+
:options='$parent.$parent.userstates'
|
124
|
+
close-on-select
|
125
|
+
condition="f_user_state = '{}'"></v-select>
|
126
|
+
</div>
|
116
127
|
</div>
|
117
128
|
</div>
|
118
129
|
</criteria>
|
@@ -291,6 +302,7 @@ export default {
|
|
291
302
|
f_orgid: '',
|
292
303
|
bookAll: false,
|
293
304
|
bookList: [],
|
305
|
+
userstates:[{label: '全部', value: ''}, ...this.$appdata.getParam('用户状态')],
|
294
306
|
selectBook:'',
|
295
307
|
userTypes: [{label: '全部', value: ''},{label: '民用', value: '民用'}, {label: '非民用', value: '非民用'}],
|
296
308
|
// init:false,
|
@@ -635,7 +647,7 @@ export default {
|
|
635
647
|
// this.$refs.paged.$refs.criteria.model.f_is_checkbook = 'f_check_book_name is null'
|
636
648
|
// //tag
|
637
649
|
// // this.init=true
|
638
|
-
|
650
|
+
this.freshCheckBook()
|
639
651
|
}
|
640
652
|
}
|
641
653
|
</script>
|
@@ -36,10 +36,10 @@
|
|
36
36
|
condition="tuf.f_user_type ='{}'"></v-select>
|
37
37
|
</div>
|
38
38
|
<div class="form-group col-sm-3">
|
39
|
-
<label class="font_normal_body"
|
39
|
+
<label class="font_normal_body">首次通气开始</label>
|
40
40
|
<datepicker
|
41
41
|
:value.sync="model.f_gas_start"
|
42
|
-
placeholder='
|
42
|
+
placeholder='首次通气开始' style="width: 60%"
|
43
43
|
:disabled-days-of-week="[]"
|
44
44
|
:format="'yyyy-MM-dd'"
|
45
45
|
:show-rest-button="reset"
|
@@ -48,10 +48,10 @@
|
|
48
48
|
</datepicker>
|
49
49
|
</div>
|
50
50
|
<div class="form-group col-sm-3">
|
51
|
-
<label class="font_normal_body"
|
51
|
+
<label class="font_normal_body">首次通气结束</label>
|
52
52
|
<datepicker
|
53
53
|
:value.sync="model.f_gas_end"
|
54
|
-
placeholder='
|
54
|
+
placeholder='首次通气结束' style="width: 60%"
|
55
55
|
:disabled-days-of-week="[]"
|
56
56
|
:format="'yyyy-MM-dd'"
|
57
57
|
:show-rest-button="reset"
|
@@ -83,7 +83,7 @@
|
|
83
83
|
<th><nobr>用户姓名</nobr></th>
|
84
84
|
<th><nobr>用户电话</nobr></th>
|
85
85
|
<th><nobr>用户地址</nobr></th>
|
86
|
-
<th><nobr
|
86
|
+
<th><nobr>首次通气日期</nobr></th>
|
87
87
|
<th><nobr>操作</nobr></th>
|
88
88
|
</tr>
|
89
89
|
</template>
|
@@ -131,7 +131,7 @@ export default {
|
|
131
131
|
'f_user_name': '客户姓名',
|
132
132
|
'f_user_phone':'客户电话',
|
133
133
|
'f_address': '客户地址',
|
134
|
-
'f_uservent_date': '
|
134
|
+
'f_uservent_date': '首次通气日期'
|
135
135
|
},
|
136
136
|
userTypes: [{label: '全部', value: ''},{label: '民用', value: '民用'}, {label: '非民用', value: '非民用'}],
|
137
137
|
model: new PagedList('rs/sql/getUserByCheckBook', 50)
|
@@ -161,19 +161,22 @@
|
|
161
161
|
<nobr>计划总数</nobr>
|
162
162
|
</th>
|
163
163
|
<th>
|
164
|
-
<nobr
|
164
|
+
<nobr>未上门</nobr>
|
165
165
|
</th>
|
166
166
|
<th>
|
167
|
-
<nobr
|
167
|
+
<nobr>未安检</nobr>
|
168
168
|
</th>
|
169
169
|
<th>
|
170
|
-
<nobr
|
170
|
+
<nobr>已上门</nobr>
|
171
171
|
</th>
|
172
172
|
<th>
|
173
|
-
<nobr
|
173
|
+
<nobr>已安检</nobr>
|
174
174
|
</th>
|
175
175
|
<th>
|
176
|
-
<nobr
|
176
|
+
<nobr>已完成</nobr>
|
177
|
+
</th>
|
178
|
+
<th>
|
179
|
+
<nobr>入户</nobr>
|
177
180
|
</th>
|
178
181
|
<th>
|
179
182
|
<nobr>拆除</nobr>
|
@@ -184,9 +187,30 @@
|
|
184
187
|
<th>
|
185
188
|
<nobr>未通气</nobr>
|
186
189
|
</th>
|
190
|
+
<th>
|
191
|
+
<nobr>拒检</nobr>
|
192
|
+
</th>
|
193
|
+
<th>
|
194
|
+
<nobr>到访不遇1</nobr>
|
195
|
+
</th>
|
196
|
+
<th>
|
197
|
+
<nobr>到访不遇2</nobr>
|
198
|
+
</th>
|
199
|
+
<th>
|
200
|
+
<nobr>到访不遇3</nobr>
|
201
|
+
</th>
|
202
|
+
<th>
|
203
|
+
<nobr>到访不遇3+</nobr>
|
204
|
+
</th>
|
205
|
+
<th>
|
206
|
+
<nobr>上门率</nobr>
|
207
|
+
</th>
|
187
208
|
<th>
|
188
209
|
<nobr>安检率</nobr>
|
189
210
|
</th>
|
211
|
+
<th>
|
212
|
+
<nobr>完成率</nobr>
|
213
|
+
</th>
|
190
214
|
<!--<th>-->
|
191
215
|
<!--<nobr>查看</nobr>-->
|
192
216
|
<!--</th>-->
|
@@ -209,15 +233,23 @@
|
|
209
233
|
<td style="text-align:center" :class="{'td-0':row && !row.department,'td-1':model.rows && model.rows.length!=($index+1)&&row.department && row.department.indexOf('*&')==-1,'td-2':model.rows && model.rows.length!=($index+1)&&row.department &&row.department.indexOf('*&')!=-1,'td-3':model.rows && model.rows.length==($index+1)&&row.department &&row.department.indexOf('*&')!=-1,'td-4':model.rows && model.rows.length==($index+1)&&row.department &&row.department.indexOf('*&')==-1}" v-if="$parent.$parent.$parent.nameForSql && $parent.$parent.$parent.nameForSql.includes('department')">{{row.department && row.department.indexOf('*&')!=-1?'':row.department}}</td>
|
210
234
|
<td style="text-align:center" v-if="$parent.$parent.$parent.nameForSql.includes('f_user_number')">{{row.f_user_number}}</td>
|
211
235
|
<td style="text-align:center">{{row.f_plan_total}}</td>
|
236
|
+
<td style="text-align:center">{{row.f_weishangmen}}</td>
|
212
237
|
<td style="text-align:center">{{row.f_weijian}}</td>
|
213
|
-
<td style="text-align:center"
|
238
|
+
<td style="text-align:center">{{row.f_yishangmen}}</td>
|
239
|
+
<td style="text-align:center">{{row.f_yijian}}</td>
|
240
|
+
<td style="text-align:center"><nobr>{{row.f_yiwancheng}}</nobr></td>
|
214
241
|
<td style="text-align:center"><nobr>{{row.f_ruhu}}</nobr></td>
|
215
|
-
<td style="text-align:center">{{row.f_buyu}}</td>
|
216
|
-
<td style="text-align:center"><nobr>{{row.f_jujian}}</nobr></td>
|
217
242
|
<td style="text-align:center"><nobr>{{row.f_chaichu}}</nobr></td>
|
218
243
|
<td style="text-align:center"><nobr>{{row.f_tingyong}}</nobr></td>
|
219
244
|
<td style="text-align:center"><nobr>{{row.f_weitongqi}}</nobr></td>
|
245
|
+
<td style="text-align:center"><nobr>{{row.f_jujian}}</nobr></td>
|
246
|
+
<td style="text-align:center">{{row.f_buyu}}</td>
|
247
|
+
<td style="text-align:center">{{row.f_buyu2}}</td>
|
248
|
+
<td style="text-align:center">{{row.f_buyu3}}</td>
|
249
|
+
<td style="text-align:center">{{row.f_buyu4}}</td>
|
250
|
+
<td style="text-align:center"><nobr>{{row.f_shangmen_bv}}</nobr></td>
|
220
251
|
<td style="text-align:center"><nobr>{{row.f_check_bv}}</nobr></td>
|
252
|
+
<td style="text-align:center"><nobr>{{row.f_wangcheng_bv}}</nobr></td>
|
221
253
|
<!--<td style="text-align: center;">-->
|
222
254
|
<!--<button class="btn btn-link" @click.stop="$parent.$parent.$parent.showhistory(row)">查看</button>-->
|
223
255
|
<!--</td>-->
|
@@ -234,15 +266,23 @@
|
|
234
266
|
<th v-if="$parent.$parent.$parent.nameForSql.includes('department')"></th>
|
235
267
|
<th v-if="$parent.$parent.$parent.nameForSql.includes('f_user_number')"></th>
|
236
268
|
<td style="text-align: center">{{model.sums.f_plan_total}}</td>
|
269
|
+
<td style="text-align: center">{{model.sums.f_weishangmen}}</td>
|
237
270
|
<td style="text-align: center">{{model.sums.f_weijian}}</td>
|
271
|
+
<td style="text-align: center">{{model.sums.f_yishangmen}}</td>
|
238
272
|
<td style="text-align: center">{{model.sums.f_yijian}}</td>
|
273
|
+
<td style="text-align: center">{{model.sums.f_yiwancheng}}</td>
|
239
274
|
<td style="text-align: center">{{model.sums.f_ruhu}}</td>
|
240
|
-
<td style="text-align: center">{{model.sums.f_buyu}}</td>
|
241
|
-
<td style="text-align: center">{{model.sums.f_jujian}}</td>
|
242
275
|
<td style="text-align: center">{{model.sums.f_chaichu}}</td>
|
243
276
|
<td style="text-align: center">{{model.sums.f_tingyong}}</td>
|
244
277
|
<td style="text-align: center">{{model.sums.f_weitongqi}}</td>
|
245
|
-
<td style="text-align: center">{{
|
278
|
+
<td style="text-align: center">{{model.sums.f_tingyong}}</td>
|
279
|
+
<td style="text-align: center">{{model.sums.f_buyu}}</td>
|
280
|
+
<td style="text-align: center">{{model.sums.f_buyu2}}</td>
|
281
|
+
<td style="text-align: center">{{model.sums.f_buyu3}}</td>
|
282
|
+
<td style="text-align: center">{{model.sums.f_buyu4}}</td>
|
283
|
+
<td style="text-align: center">{{(parseFloat(model.sums.f_yishangmen) / parseFloat(model.sums.f_plan_total) * 100).toFixed(2) + '%'}}</td>
|
284
|
+
<td style="text-align: center">{{(parseFloat(model.sums.f_ruhu) / parseFloat(model.sums.f_plan_total) * 100).toFixed(2) + '%'}}</td>
|
285
|
+
<td style="text-align: center">{{(parseFloat(model.sums.f_yiwancheng) / parseFloat(model.sums.f_plan_total) * 100).toFixed(2) + '%'}}</td>
|
246
286
|
|
247
287
|
</template>
|
248
288
|
</data-grid>
|
@@ -262,14 +302,20 @@
|
|
262
302
|
return {
|
263
303
|
model: new PagedList('rs/sql/getCheckPlanAreaList', 99999,{},{
|
264
304
|
f_plan_total:'',
|
305
|
+
f_weishangmen:'',
|
265
306
|
f_weijian:'',
|
307
|
+
f_yishangmen:'',
|
266
308
|
f_yijian:'',
|
309
|
+
f_yiwancheng:'',
|
267
310
|
f_ruhu:'',
|
268
|
-
f_buyu:'',
|
269
|
-
f_jujian:'',
|
270
311
|
f_chaichu:'',
|
271
312
|
f_tingyong:'',
|
272
|
-
f_weitongqi:''
|
313
|
+
f_weitongqi:'',
|
314
|
+
f_jujian:'',
|
315
|
+
f_buyu:'',
|
316
|
+
f_buyu2:'',
|
317
|
+
f_buyu3:'',
|
318
|
+
f_buyu4:'',
|
273
319
|
}),
|
274
320
|
// 公司下拉
|
275
321
|
curorgid: [this.$login.f.orgid],
|
@@ -286,15 +332,24 @@
|
|
286
332
|
f_safe_end:'',
|
287
333
|
planName:[{label: '全部', value: ''}],
|
288
334
|
exportExcelField: {
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
|
335
|
+
f_plan_total:'计划总数',
|
336
|
+
f_weishangmen:'未上门',
|
337
|
+
f_weijian:'未安检',
|
338
|
+
f_yishangmen:'已上门',
|
339
|
+
f_yijian:'已安检',
|
340
|
+
f_yiwancheng:'已完成',
|
341
|
+
f_ruhu:'入户',
|
342
|
+
f_chaichu:'拆除',
|
343
|
+
f_tingyong:'停用',
|
344
|
+
f_weitongqi:'未通气',
|
345
|
+
f_jujian:'拒检',
|
346
|
+
f_buyu:'到访不遇1',
|
347
|
+
f_buyu2:'到访不遇2',
|
348
|
+
f_buyu3:'到访不遇3',
|
349
|
+
f_buyu4:'到访不遇3+',
|
350
|
+
f_shangmen_bv:'上门率',
|
351
|
+
f_check_bv:'安检率',
|
352
|
+
f_wangcheng_bv:'完成率'
|
298
353
|
}
|
299
354
|
}
|
300
355
|
},
|
@@ -329,13 +384,24 @@
|
|
329
384
|
// 获取导出列
|
330
385
|
getexportExcelField(){
|
331
386
|
this.exportExcelField = {
|
332
|
-
|
333
|
-
|
334
|
-
|
335
|
-
|
336
|
-
|
337
|
-
|
338
|
-
|
387
|
+
f_plan_total:'计划总数',
|
388
|
+
f_weishangmen:'未上门',
|
389
|
+
f_weijian:'未安检',
|
390
|
+
f_yishangmen:'已上门',
|
391
|
+
f_yijian:'已安检',
|
392
|
+
f_yiwancheng:'已完成',
|
393
|
+
f_ruhu:'入户',
|
394
|
+
f_chaichu:'拆除',
|
395
|
+
f_tingyong:'停用',
|
396
|
+
f_weitongqi:'未通气',
|
397
|
+
f_jujian:'拒检',
|
398
|
+
f_buyu:'到访不遇1',
|
399
|
+
f_buyu2:'到访不遇2',
|
400
|
+
f_buyu3:'到访不遇3',
|
401
|
+
f_buyu4:'到访不遇3+',
|
402
|
+
f_shangmen_bv:'上门率',
|
403
|
+
f_check_bv:'安检率',
|
404
|
+
f_wangcheng_bv:'完成率'
|
339
405
|
}
|
340
406
|
let forName = this.groupNameForSql.split(",")
|
341
407
|
for (let i = 0; i < forName.length; i++) {
|
@@ -193,10 +193,10 @@
|
|
193
193
|
</v-select>
|
194
194
|
</div>
|
195
195
|
<div :class="$parent.$parent.style" v-show="$parent.$parent.criteriaShow">
|
196
|
-
<label class="font_normal_body"
|
196
|
+
<label class="font_normal_body">首次通气开始</label>
|
197
197
|
<datepicker
|
198
198
|
:value.sync="model.f_gas_start"
|
199
|
-
placeholder='
|
199
|
+
placeholder='首次通气开始'
|
200
200
|
:disabled-days-of-week="[]"
|
201
201
|
style="width: 60%"
|
202
202
|
:format="'yyyy-MM-dd'"
|
@@ -207,10 +207,10 @@
|
|
207
207
|
</datepicker>
|
208
208
|
</div>
|
209
209
|
<div :class="$parent.$parent.style" v-show="$parent.$parent.criteriaShow">
|
210
|
-
<label class="font_normal_body"
|
210
|
+
<label class="font_normal_body">首次通气结束</label>
|
211
211
|
<datepicker
|
212
212
|
:value.sync="model.f_gas_end"
|
213
|
-
placeholder='
|
213
|
+
placeholder='首次通气结束'
|
214
214
|
style="width: 60%"
|
215
215
|
:disabled-days-of-week="[]"
|
216
216
|
:format="'yyyy-MM-dd'"
|
@@ -374,10 +374,10 @@
|
|
374
374
|
close-on-select clear-button></v-select>
|
375
375
|
</div>
|
376
376
|
<div :class="$parent.$parent.style" v-show="$parent.$parent.criteriaShow">
|
377
|
-
<label class="font_normal_body"
|
377
|
+
<label class="font_normal_body">首次通气开始</label>
|
378
378
|
<datepicker
|
379
379
|
:value.sync="model.f_gas_start"
|
380
|
-
placeholder='
|
380
|
+
placeholder='首次通气开始'
|
381
381
|
:disabled-days-of-week="[]"
|
382
382
|
style="width: 60%"
|
383
383
|
:format="'yyyy-MM-dd'"
|
@@ -388,10 +388,10 @@
|
|
388
388
|
</datepicker>
|
389
389
|
</div>
|
390
390
|
<div :class="$parent.$parent.style" v-show="$parent.$parent.criteriaShow">
|
391
|
-
<label class="font_normal_body"
|
391
|
+
<label class="font_normal_body">首次通气结束</label>
|
392
392
|
<datepicker
|
393
393
|
:value.sync="model.f_gas_end"
|
394
|
-
placeholder='
|
394
|
+
placeholder='首次通气结束'
|
395
395
|
style="width: 60%"
|
396
396
|
:disabled-days-of-week="[]"
|
397
397
|
:format="'yyyy-MM-dd'"
|
@@ -496,7 +496,7 @@
|
|
496
496
|
<nobr>建档日期</nobr>
|
497
497
|
</th>
|
498
498
|
<th>
|
499
|
-
<nobr
|
499
|
+
<nobr>首次通气日期</nobr>
|
500
500
|
</th>
|
501
501
|
<th v-show="$parent.$parent.$parent.showcode">
|
502
502
|
<nobr>二维码</nobr>
|
@@ -605,7 +605,7 @@ export default {
|
|
605
605
|
'f_last_check_state': '安检状态',
|
606
606
|
'f_last_check_result': '安检结果',
|
607
607
|
'f_createfile_date': '建档日期',
|
608
|
-
'f_uservent_date': '
|
608
|
+
'f_uservent_date': '首次通气日期'
|
609
609
|
},
|
610
610
|
model: new PagedList('rs/sql/根据安检员查询用户档案', 20, {
|
611
611
|
orderitem: "'f_last_check_date'",
|
@@ -159,10 +159,10 @@
|
|
159
159
|
style="width: 60%" placeholder="用户名称">
|
160
160
|
</div>
|
161
161
|
<div :class="$parent.$parent.style" >
|
162
|
-
<label class="font_normal_body"
|
162
|
+
<label class="font_normal_body">首次通气开始</label>
|
163
163
|
<datepicker
|
164
164
|
:value.sync="model.f_gas_start"
|
165
|
-
placeholder='
|
165
|
+
placeholder='首次通气开始时间' style="width: 60%"
|
166
166
|
:disabled-days-of-week="[]"
|
167
167
|
:format="'yyyy-MM-dd'"
|
168
168
|
:show-rest-button="reset"
|
@@ -171,10 +171,10 @@
|
|
171
171
|
</datepicker>
|
172
172
|
</div>
|
173
173
|
<div :class="$parent.$parent.style" >
|
174
|
-
<label class="font_normal_body"
|
174
|
+
<label class="font_normal_body">首次通气结束</label>
|
175
175
|
<datepicker
|
176
176
|
:value.sync="model.f_gas_end"
|
177
|
-
placeholder='
|
177
|
+
placeholder='首次通气结束时间' style="width: 60%"
|
178
178
|
:disabled-days-of-week="[]"
|
179
179
|
:format="'yyyy-MM-dd'"
|
180
180
|
:show-rest-button="reset"
|
@@ -335,10 +335,10 @@
|
|
335
335
|
style="width: 60%" placeholder="用户名称">
|
336
336
|
</div>
|
337
337
|
<div :class="$parent.$parent.style" >
|
338
|
-
<label class="font_normal_body"
|
338
|
+
<label class="font_normal_body">首次通气开始</label>
|
339
339
|
<datepicker
|
340
340
|
:value.sync="model.f_gas_start"
|
341
|
-
placeholder='
|
341
|
+
placeholder='首次通气开始时间' style="width: 60%"
|
342
342
|
:disabled-days-of-week="[]"
|
343
343
|
:format="'yyyy-MM-dd'"
|
344
344
|
:show-rest-button="reset"
|
@@ -347,10 +347,10 @@
|
|
347
347
|
</datepicker>
|
348
348
|
</div>
|
349
349
|
<div :class="$parent.$parent.style" >
|
350
|
-
<label class="font_normal_body"
|
350
|
+
<label class="font_normal_body">首次通气结束</label>
|
351
351
|
<datepicker
|
352
352
|
:value.sync="model.f_gas_end"
|
353
|
-
placeholder='
|
353
|
+
placeholder='首次通气结束时间' style="width: 60%"
|
354
354
|
:disabled-days-of-week="[]"
|
355
355
|
:format="'yyyy-MM-dd'"
|
356
356
|
:show-rest-button="reset"
|
@@ -372,7 +372,7 @@
|
|
372
372
|
<th><nobr>用户小区</nobr></th>
|
373
373
|
<th><nobr>用户地址</nobr></th>
|
374
374
|
<th>
|
375
|
-
<nobr
|
375
|
+
<nobr>首次通气时间</nobr>
|
376
376
|
</th>
|
377
377
|
<th><nobr>安检时间</nobr></th>
|
378
378
|
<th><nobr>安检员</nobr></th>
|
@@ -574,7 +574,7 @@ export default {
|
|
574
574
|
repairers:[],
|
575
575
|
cbcs:[],
|
576
576
|
thead: '',
|
577
|
-
headData: ['入户状态','用户编号','用户名','用户电话','用户小区','用户地址','
|
577
|
+
headData: ['入户状态','用户编号','用户名','用户电话','用户小区','用户地址','首次通气时间','安检时间','安检员','计划名','是否有隐患','隐患数','隐患明细','处理数','完成数','处理情况','完成情况','维修员'],
|
578
578
|
bodyData: ['f_entry_status','f_userinfo_code','f_user_name','f_user_phone','f_residential_area','f_address','f_uservent_date','f_offsite_time','f_checker_name','f_plan_name','f_has_defect','f_defect_count','f_defect_content','f_deal_count','f_repair_count','f_is_deal','f_is_repair','f_repairman'],
|
579
579
|
}
|
580
580
|
},
|