safecheck-client 3.0.33-16 → 3.0.33-161
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.
- package/index.html +6 -2
- package/package.json +133 -133
- package/src/App.vue +2 -2
- package/src/components/Util/ImgSelfSafePlus.vue +19 -10
- package/src/components/Util.js +7 -0
- package/src/components/android/AreaPlan.vue +2 -1
- package/src/components/android/CurrentCreate.vue +1 -1
- package/src/components/android/ImgSelfAndroid.vue +181 -181
- package/src/components/android/SafecheckDevices.vue +5 -1
- package/src/components/android/SafecheckOrderV.vue +18 -12
- package/src/components/map/checkScreen.vue +27 -21
- package/src/components/paper/PlanChooser.vue +4 -2
- package/src/components/pc/NewCheckpaper.vue +11 -8
- package/src/components/planmanage/PlanManage.vue +14 -4
- package/src/components/planmanage/checkPlanList.vue +2 -1
- package/src/components/planmanage/checkUserList.vue +2 -0
- package/src/components/report/HiddenSituation.vue +3 -3
- package/src/components/rongcheng/AspiratedPaperFeedbackm.vue +28 -2
- package/src/components/rongcheng/AspiratedPaperMessage.vue +1 -1
- package/src/components/rongcheng/DefectPaper.vue +1 -1
- package/src/components/rongcheng/PaperListNPSQ.vue +36 -1
- package/src/components/rongcheng/PaperListSQ.vue +32 -11
- package/src/components/rongcheng/PhoneUpUserinfo.vue +939 -802
- package/src/components/rongcheng/SafecheckOrderV.vue +1 -1
- package/src/components/rongcheng/report/CheckPlanAreaList.vue +1 -3
- package/src/components/safecheckNew/PaperList.vue +785 -0
- package/src/components/safecheckNew/android/AddPlanItem.vue +419 -0
- package/src/components/safecheckNew/android/AreaPlan.vue +561 -0
- package/src/components/safecheckNew/android/CurrentCreate.vue +1050 -0
- package/src/components/safecheckNew/android/Recheck.vue +379 -0
- package/src/components/safecheckNew/android/SafecheckDevices.vue +1400 -0
- package/src/components/safecheckNew/android/SafecheckOrderV.vue +2692 -0
- package/src/filiale/Util.js +5 -0
- package/src/filiale/baiyin/android/AndroidDefectDeal.vue +633 -0
- package/src/filiale/baiyin/android.js +10 -0
- package/src/filiale/baiyin/pc/CheckPlanAreaList.vue +485 -0
- package/src/filiale/baiyin/pc/CheckSearchUser.vue +1067 -0
- package/src/filiale/baiyin/pc/DefectListNew.vue +597 -0
- package/src/filiale/baiyin/pc/DefectMainNew.vue +63 -0
- package/src/filiale/baiyin/pc/DefectPaperNew.vue +1052 -0
- package/src/filiale/baiyin/pc/PaperList.vue +790 -0
- package/src/filiale/baiyin/pc/PlanChooser.vue +167 -0
- package/src/filiale/baiyin/pc/PlanManage.vue +834 -0
- package/src/filiale/baiyin/pc/RightTreeSafe.vue +348 -0
- package/src/filiale/baiyin/pc/RoleSelector.vue +160 -0
- package/src/filiale/baiyin/pc.js +20 -0
- package/src/filiale/bayan/android/AddPlanItem.vue +7 -2
- package/src/filiale/bayan/android/CheckPlanDown.vue +249 -0
- package/src/filiale/bayan/android/SafecheckOrderV.vue +20 -7
- package/src/filiale/bayan/android/SafecheckUserInfo.vue +566 -514
- package/src/filiale/bayan/android.js +1 -0
- package/src/filiale/bayan/pc/CheckDetail.vue +205 -0
- package/src/filiale/bayan/pc/CheckPlan.vue +59 -0
- package/src/filiale/bayan/pc/CheckPlanAreaList.vue +565 -0
- package/src/filiale/bayan/pc/CheckSearchUser.vue +1110 -0
- package/src/filiale/bayan/pc/DefectListNew.vue +597 -0
- package/src/filiale/bayan/pc/DefectMainNew.vue +63 -0
- package/src/filiale/bayan/pc/DefectPaperNew.vue +1218 -0
- package/src/filiale/bayan/pc/DeviceChange.vue +1838 -0
- package/src/filiale/bayan/pc/HiddenSituation.vue +256 -0
- package/src/filiale/bayan/pc/NewCheckpaper.vue +31 -1
- package/src/filiale/bayan/pc/PaperList.vue +119 -12
- package/src/filiale/bayan/pc/PlanManage.vue +29 -8
- package/src/filiale/bayan/pc/SelectCheckPlan.vue +333 -0
- package/src/filiale/bayan/pc.js +7 -0
- package/src/filiale/dexin/android/SafecheckOrderV.vue +123 -24
- package/src/filiale/fugou/android/SafecheckOrderV.vue +2796 -0
- package/src/filiale/fugou/android.js +2 -1
- package/src/filiale/fugou/pc/AddToCheckBook.vue +13 -14
- package/src/filiale/fugou/pc/CheckBook.vue +2 -0
- package/src/filiale/fugou/pc/CheckBookEntry.vue +2 -6
- package/src/filiale/fugou/pc/CheckBookList.vue +2 -2
- package/src/filiale/fugou/pc/CheckBookSearchUser.vue +35 -18
- package/src/filiale/fugou/pc/CheckBookUser.vue +102 -45
- package/src/filiale/fugou/pc/DefectPaperNew.vue +10 -6
- package/src/filiale/fugou/pc/PaperDefectMain.vue +12 -6
- package/src/filiale/fugou/pc/PaperList.vue +14 -6
- package/src/filiale/fugou/pc/PlanManage.vue +62 -8
- package/src/filiale/fugou/pc/checkUserList.vue +36 -35
- package/src/filiale/hanzhong/pc/CheckHiddenDanger.vue +15 -5
- package/src/filiale/hanzhong/pc/CheckSafeDetail.vue +12 -2
- package/src/filiale/hanzhong/pc/CheckSafeStatus.vue +12 -3
- package/src/filiale/hanzhong/pc/CheckSearchUser.vue +13 -0
- package/src/filiale/hanzhong/pc/CheckUserList.vue +30 -11
- package/src/filiale/hanzhong/pc/CheckerSafeDetail.vue +11 -2
- package/src/filiale/jingyang/pc/ReportCheckItemList.vue +543 -0
- package/src/filiale/jingyang/pc.js +1 -0
- package/src/filiale/kelai/pc/CheckPlanAreaList.vue +2 -22
- package/src/filiale/liaoyuan/pc/checkPlanList.vue +373 -0
- package/src/filiale/liaoyuan/pc.js +2 -1
- package/src/filiale/qianneng/pc/PaperList.vue +31 -1
- package/src/filiale/qingjian/android/PhoneUpUserinfo.vue +1270 -1268
- package/src/filiale/qingjian/android/SafecheckOrderV.vue +2844 -2779
- package/src/filiale/rongchuang/android/SafecheckDevices.vue +468 -748
- package/src/filiale/rongchuang/android/SafecheckOrderV.vue +984 -1234
- package/src/filiale/rongchuang/android.js +1 -0
- package/src/filiale/rongchuang/pc/NewCheckpaper.vue +294 -305
- package/src/filiale/rongchuang/pc/PaperList.vue +812 -0
- package/src/filiale/rongchuang/pc.js +1 -0
- package/src/filiale/siyang/android/PhoneRecordInfo.vue +214 -0
- package/src/filiale/siyang/android/SafecheckOrderV.vue +2796 -0
- package/src/filiale/siyang/android/SafecheckUserInfo.vue +789 -0
- package/src/filiale/siyang/android.js +11 -0
- package/src/filiale/siyang/pc/PaperDefectMain.vue +864 -0
- package/src/filiale/siyang/pc/PaperList.vue +834 -0
- package/src/filiale/siyang/pc/PlanManage.vue +839 -0
- package/src/filiale/siyang/pc/checkUserList.vue +781 -0
- package/src/filiale/siyang/pc.js +15 -0
- package/src/filiale/tianke/pc/checkScreen.vue +36 -31
- package/src/filiale/tongchuan/android/PhoneUpUserinfo.vue +60 -2
- package/src/filiale/tongchuan/android/SafecheckOrderV.vue +2 -3
- package/src/filiale/tongchuan/pc/NewCheckpaper.vue +1 -1
- package/src/filiale/tongchuan/pc/checkUserList.vue +2 -2
- package/src/filiale/weinan/android/PaperFeedback.vue +8 -8
- package/src/filiale/weinan/android/SafecheckDevices.vue +6 -2
- package/src/filiale/weinan/android/SafecheckOrderV.vue +16 -2
- package/src/filiale/weinan/android/SafecheckUserInfo.vue +7 -2
- package/src/filiale/weinan/pc/CheckSearchUser.vue +1078 -0
- package/src/filiale/weinan/pc/DefectListNew.vue +617 -0
- package/src/filiale/weinan/pc/DefectMainNew.vue +1 -1
- package/src/filiale/weinan/pc/DefectPaperNew.vue +7 -1
- package/src/filiale/weinan/pc.js +2 -0
- package/src/filiale/wenxi/android/CurrentCreate.vue +1 -1
- package/src/filiale/wenxi/android/PhoneUpUserinfo.vue +1 -1
- package/src/filiale/wenxi/android/SafecheckUserInfo.vue +85 -63
- package/src/filiale/wenxi/pc/NewCheckpaper.vue +1 -1
- package/src/filiale/yangchunboneng/android/AddPlanItem.vue +46 -1
- package/src/filiale/yangchunboneng/android/CurrentCreate.vue +45 -4
- package/src/filiale/yangchunboneng/android/DailyworkloadQuery.vue +2 -2
- package/src/filiale/yangchunboneng/android/NewCheckpaperAndroid.vue +1362 -1362
- package/src/filiale/yangchunboneng/android/PaperFeedback.vue +1731 -1731
- package/src/filiale/yangchunboneng/android/PhoneUpUserinfo.vue +1235 -0
- package/src/filiale/yangchunboneng/android/SafecheckDevices.vue +1332 -1332
- package/src/filiale/yangchunboneng/android/SafecheckOrderV.vue +2845 -2832
- package/src/filiale/yangchunboneng/android/SafecheckUserInfo.vue +887 -869
- package/src/filiale/yangchunboneng/android/safeHistoryLook.vue +2 -1
- package/src/filiale/yangchunboneng/android.js +1 -0
- package/src/filiale/yangchunboneng/pc/CheckBookList.vue +4 -4
- package/src/filiale/yangchunboneng/pc/CheckBookSearchUser.vue +76 -32
- package/src/filiale/yangchunboneng/pc/CheckBookUser.vue +72 -1
- package/src/filiale/yangchunboneng/pc/CheckSearchUser.vue +1192 -1018
- package/src/filiale/yangchunboneng/pc/PaperDefectMain.vue +944 -849
- package/src/filiale/yangchunboneng/pc/PaperList.vue +17 -0
- package/src/filiale/yongzhou/android/PaperFeedback.vue +1 -1
- package/src/filiale/yongzhou/android/SafecheckOrderV.vue +221 -256
- package/src/filiale/yongzhou/pc/CheckPlan.vue +59 -0
- package/src/filiale/yongzhou/pc/CheckSearchUser.vue +1 -1
- package/src/filiale/yongzhou/pc/DefectPaperNew.vue +1105 -0
- package/src/filiale/yongzhou/pc/NoCheckplanSafecheck.vue +412 -107
- package/src/filiale/yongzhou/pc/PaperDefectMain.vue +872 -0
- package/src/filiale/yongzhou/pc/PaperList.vue +1 -1
- package/src/filiale/yongzhou/pc/SelectCheckPlan.vue +364 -0
- package/src/filiale/yongzhou/pc/communityTypeDetailG.vue +56 -125
- package/src/filiale/yongzhou/pc/communityTypeDetailM.vue +94 -187
- package/src/filiale/yongzhou/pc/safeDetail.vue +311 -20
- package/src/filiale/yongzhou/pc/safeStatistics.vue +74 -24
- package/src/filiale/yongzhou/pc/safeStatisticsDay.vue +2 -2
- package/src/filiale/yongzhou/pc/safeStatisticsMonth.vue +2 -2
- package/src/filiale/yongzhou/pc/safeStatisticsYear.vue +47 -23
- package/src/filiale/yongzhou/pc/safeTable.vue +3 -3
- package/src/filiale/yongzhou/pc.js +4 -0
- package/src/filiale/yuansheng/android/AndroidDefectDeal.vue +652 -0
- package/src/filiale/yuansheng/android.js +1 -0
- package/src/filiale/zhongsheng/android/CurrentCreate.vue +7 -2
- package/src/filiale/zhongsheng/pc/DefectPaperWeiXiu.vue +6 -2
- package/src/main.js +33 -33
- package/src/rongcheng.js +3 -1
- package/src/safecheck-android.js +6 -0
- package/src/safecheck.js +3 -0
@@ -27,7 +27,7 @@
|
|
27
27
|
v-for="row in checkplan.list.data" @click="selectPlanChange(row)">
|
28
28
|
<table style="width:100%;table-layout:fixed">
|
29
29
|
<tr class="safe-planfont">
|
30
|
-
<td rowspan="
|
30
|
+
<td rowspan="7"><input type="checkbox" style="pointer-events:auto"
|
31
31
|
v-show="row.plan_count==0 || row.f_issued=='未下发'"
|
32
32
|
onClick="event.cancelBubble = true"
|
33
33
|
:checked="checkplan.check.isChecked(row.f_check_item_id)"
|
@@ -59,6 +59,18 @@
|
|
59
59
|
:title="row.f_create_time">{{ row.f_create_time }}
|
60
60
|
</td>
|
61
61
|
</tr>
|
62
|
+
<tr class="safe-bodyfont" v-if="row.f_end_time">
|
63
|
+
<td colspan="3">结束时间 :</td>
|
64
|
+
<td colspan="5" style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;"
|
65
|
+
:title="row.f_end_time">{{ row.f_end_time }}
|
66
|
+
</td>
|
67
|
+
</tr>
|
68
|
+
<tr class="safe-bodyfont" >
|
69
|
+
<td colspan="3">计划状态:</td>
|
70
|
+
<td colspan="5" style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;"
|
71
|
+
>{{ checkState(row.f_end_time,row.unchecked)}}
|
72
|
+
</td>
|
73
|
+
</tr>
|
62
74
|
<tr class="safe-bodyfont" v-if="row.f_safecheck_type">
|
63
75
|
<td colspan="3">安检类型 :</td>
|
64
76
|
<td colspan="5" style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;"
|
@@ -66,7 +78,7 @@
|
|
66
78
|
</td>
|
67
79
|
</tr>
|
68
80
|
<tr class="safe-bodyfont" v-if="row.f_safecheck_type">
|
69
|
-
<td >
|
81
|
+
<td colspan="8">
|
70
82
|
<input type="button" style="pointer-events:auto"
|
71
83
|
@click="showPlanHistory(row)"
|
72
84
|
onClick="event.cancelBubble = true"/>变更记录
|
@@ -139,18 +151,20 @@
|
|
139
151
|
<label class="font_normal_body">开始时间</label>
|
140
152
|
<datepicker
|
141
153
|
:value.sync="planCondition.f_start_time"
|
154
|
+
style="width: 60%;margin-bottom: 8px"
|
142
155
|
:format="'yyyy-MM-dd HH:mm:ss'"
|
143
156
|
v-model="planCondition.f_start_time"
|
144
|
-
:show-reset-button="reset" placeholder="请输入开始时间"
|
157
|
+
:show-reset-button="reset" placeholder="请输入开始时间">
|
145
158
|
</datepicker>
|
146
159
|
</div>
|
147
160
|
<div class="form-group col-sm-4">
|
148
161
|
<label class="font_normal_body">结束时间:</label>
|
149
162
|
<datepicker
|
150
163
|
:value.sync="planCondition.f_end_time"
|
164
|
+
style="width: 60%;margin-bottom: 8px"
|
151
165
|
:format="'yyyy-MM-dd HH:mm:ss'"
|
152
166
|
v-model="planCondition.f_end_time"
|
153
|
-
:show-reset-button="reset" placeholder="请输入结束时间"
|
167
|
+
:show-reset-button="reset" placeholder="请输入结束时间">
|
154
168
|
</datepicker>
|
155
169
|
</div>
|
156
170
|
<div class="form-group col-sm-4">
|
@@ -231,6 +245,21 @@
|
|
231
245
|
>
|
232
246
|
</v-select>
|
233
247
|
</div>
|
248
|
+
<div class="form-group col-sm-4">
|
249
|
+
<label class="font_normal_body">计划类型:</label>
|
250
|
+
<v-select
|
251
|
+
class="select select_list"
|
252
|
+
:value.sync="planCondition.f_plan_type"
|
253
|
+
v-model="planCondition.f_plan_type"
|
254
|
+
@change="setProperty('checkplan','f_plan_type',planCondition.f_plan_type)"
|
255
|
+
:search="false"
|
256
|
+
:options='planType'
|
257
|
+
placeholder='请选择'
|
258
|
+
close-on-select
|
259
|
+
value-single
|
260
|
+
>
|
261
|
+
</v-select>
|
262
|
+
</div>
|
234
263
|
</div>
|
235
264
|
</div>
|
236
265
|
<div slot="modal-footer" class="modal-footer" style="text-align: center">
|
@@ -397,7 +426,7 @@
|
|
397
426
|
value-single>
|
398
427
|
</v-select>
|
399
428
|
</div>
|
400
|
-
<div class="form-group col-sm-4"
|
429
|
+
<div class="form-group col-sm-4" >
|
401
430
|
<label class="font_normal_body">结束时间:</label>
|
402
431
|
<datepicker
|
403
432
|
:value.sync="upCheckPlan.f_end_time"
|
@@ -602,6 +631,29 @@ export default {
|
|
602
631
|
|
603
632
|
},
|
604
633
|
methods: {
|
634
|
+
//判断计划状态
|
635
|
+
checkState(time,unchecked) {
|
636
|
+
//判断当前时间与time的大小,time格式为 yyyy-MM-dd HH:mm:ss
|
637
|
+
let now = new Date()
|
638
|
+
let last = new Date(time)
|
639
|
+
if(time==undefined || time==''){
|
640
|
+
return '无'
|
641
|
+
}else{
|
642
|
+
if(last.getTime() >now.getTime() ){
|
643
|
+
return '安检中'
|
644
|
+
}else if(last.getTime() <now.getTime()){
|
645
|
+
//结束时间小于当前时间,
|
646
|
+
//判断未检数,未检大于0,则逾期
|
647
|
+
if(unchecked>0){
|
648
|
+
return '逾期'
|
649
|
+
}
|
650
|
+
if(unchecked<=0){
|
651
|
+
return '已完成'
|
652
|
+
}
|
653
|
+
}
|
654
|
+
}
|
655
|
+
|
656
|
+
},
|
605
657
|
showPlanHistory(row){
|
606
658
|
this.showPlanHistoryButton = true
|
607
659
|
this.planHistory = JSON.parse(row.f_update_check_plan)
|
@@ -776,7 +828,8 @@ export default {
|
|
776
828
|
"isAndNot": "f_checker {}",
|
777
829
|
"safechecktype": "f_safecheck_type='{}'",
|
778
830
|
"issude": "f_issued = '{}'",
|
779
|
-
"f_create_operator": "f_create_operator like '%{}%'"
|
831
|
+
"f_create_operator": "f_create_operator like '%{}%'",
|
832
|
+
"f_plan_type": "f_plan_type = '{}'"
|
780
833
|
},
|
781
834
|
{
|
782
835
|
orderitem: fieldValue,
|
@@ -807,10 +860,10 @@ export default {
|
|
807
860
|
this.showUpPlan = true
|
808
861
|
},
|
809
862
|
async upPlan() {
|
810
|
-
if (this.upCheckPlan.f_issued == '已下发') {
|
863
|
+
/*if (this.upCheckPlan.f_issued == '已下发') {
|
811
864
|
this.$showMessage("该计划已下发,无法进行修改!")
|
812
865
|
return
|
813
|
-
}
|
866
|
+
}*/
|
814
867
|
if (!this.upCheckPlan.f_plan_name) {
|
815
868
|
Vue.showMessage("请输入安检计划名称!")
|
816
869
|
return false
|
@@ -849,6 +902,7 @@ export default {
|
|
849
902
|
f_end_time: this.upCheckPlan.f_end_time,
|
850
903
|
f_operetiom_name:this.upCheckPlan.f_operetiom_name,
|
851
904
|
f_update_message:this.upCheckPlan.f_update_message,
|
905
|
+
issued: '是' // 修改已下发计划
|
852
906
|
}
|
853
907
|
}, {resolveMsg: null, rejectMsg: null})
|
854
908
|
if (res.data.code == 200) {
|
@@ -28,7 +28,7 @@
|
|
28
28
|
:timeout="500"
|
29
29
|
@select-search="$parent.$parent.select_search"
|
30
30
|
placeholder='安检册筛选'
|
31
|
-
condition="f_check_book_id ='{}'"
|
31
|
+
condition="ua.f_check_book_id ='{}'"
|
32
32
|
close-on-select
|
33
33
|
value-single
|
34
34
|
>
|
@@ -81,32 +81,32 @@
|
|
81
81
|
>
|
82
82
|
</v-select>
|
83
83
|
</div>
|
84
|
-
<div class="
|
84
|
+
<div class="col-sm-3 form-group">
|
85
85
|
<label class="font_normal_body">街道/乡镇</label>
|
86
|
-
<v-select :value.sync="model.
|
86
|
+
<v-select :value.sync="model.f_street_id" :value-single="true"
|
87
87
|
:options='$parent.$parent.streetslist' placeholder='请选择'
|
88
|
-
condition="
|
89
|
-
v-model='model.
|
88
|
+
condition=" area.f_street_id = '{}'"
|
89
|
+
v-model='model.f_street_id'
|
90
90
|
@change="$parent.$parent.streetChange"
|
91
91
|
close-on-select :search="true" >
|
92
92
|
</v-select>
|
93
93
|
</div>
|
94
|
-
<div class="
|
94
|
+
<div class="col-sm-3 form-group">
|
95
95
|
<label class="font_normal_body">片区/行政村</label>
|
96
|
-
<v-select :value.sync="model.
|
96
|
+
<v-select :value.sync="model.f_community_id" v-model='model.f_community_id'
|
97
97
|
:options='$parent.$parent.communitylist' placeholder='片区/管理站' filer-key="name"
|
98
|
-
condition="
|
98
|
+
condition="ua.f_community_id = '{}'"
|
99
99
|
@change="$parent.$parent.communityChange"
|
100
|
-
close-on-select >
|
100
|
+
close-on-select v-ref:slice>
|
101
101
|
</v-select>
|
102
102
|
</div>
|
103
|
-
<div class="
|
103
|
+
<div class="col-sm-3 form-group">
|
104
104
|
<label class="font_normal_body">小区/自然村</label>
|
105
|
-
<v-select :value.sync="model.
|
105
|
+
<v-select :value.sync="model.f_residential_area_id" :value-single="true"
|
106
106
|
:options='$parent.$parent.areaslist' placeholder='请选择'
|
107
|
-
condition="
|
108
|
-
v-model='model.
|
109
|
-
close-on-select
|
107
|
+
condition="ua.f_residential_area_id = '{}'"
|
108
|
+
v-model='model.f_residential_area_id'
|
109
|
+
close-on-select>
|
110
110
|
</v-select>
|
111
111
|
</div>
|
112
112
|
<div class="form-group col-sm-4" >
|
@@ -382,7 +382,8 @@
|
|
382
382
|
uploadCodeCondition:'',
|
383
383
|
streetslist:[],
|
384
384
|
communitylist:[],
|
385
|
-
areaslist:[]
|
385
|
+
areaslist:[],
|
386
|
+
f_filialeids: this.$login.f.orgid,
|
386
387
|
}
|
387
388
|
},
|
388
389
|
props:["selectplan","userlogin"],
|
@@ -416,7 +417,7 @@
|
|
416
417
|
req.data.forEach((row, n) => {
|
417
418
|
redata[n] = {
|
418
419
|
label: row.f_pcd,
|
419
|
-
value: row.
|
420
|
+
value: row.id,
|
420
421
|
data: row,
|
421
422
|
id: row.id
|
422
423
|
}
|
@@ -442,7 +443,7 @@
|
|
442
443
|
req.data.forEach((row, n) => {
|
443
444
|
redata[n] = {
|
444
445
|
label: row.f_street,
|
445
|
-
value: row.
|
446
|
+
value: row.id,
|
446
447
|
data: row,
|
447
448
|
id: row.id
|
448
449
|
}
|
@@ -471,7 +472,7 @@
|
|
471
472
|
req.data.forEach((row) => {
|
472
473
|
redata.push({
|
473
474
|
label: row.f_residential_area,
|
474
|
-
value: row.
|
475
|
+
value: row.id,
|
475
476
|
data: row,
|
476
477
|
id: row.id
|
477
478
|
})
|
@@ -490,20 +491,20 @@
|
|
490
491
|
}
|
491
492
|
}
|
492
493
|
if (selectArea) {
|
493
|
-
this.model.
|
494
|
-
this.model.
|
495
|
-
this.model.
|
496
|
-
console.log( this.model.
|
494
|
+
this.model.f_street_id = selectArea.f_street_id
|
495
|
+
this.model.f_pcd_id = selectArea.f_pcd_id
|
496
|
+
this.model.f_community_id = selectArea.f_community_id
|
497
|
+
console.log( this.model.f_community_id)
|
497
498
|
|
498
|
-
this.initstreets(` f_filialeid = '${this.
|
499
|
-
this.initpcds(` f_filialeid = '${this.
|
500
|
-
if(selectArea.
|
501
|
-
this.initcommunity(` f_filialeid = '${this.
|
499
|
+
this.initstreets(` f_filialeid = '${this.f_filialeids}' and id ='${selectArea.f_street_id}' `)
|
500
|
+
this.initpcds(` f_filialeid = '${this.f_filialeids}' and id ='${selectArea.f_pcd_id}' `)
|
501
|
+
if(selectArea.f_community_id){
|
502
|
+
this.initcommunity(` f_filialeid = '${this.f_filialeids}' and id ='${selectArea.f_community_id}' `)
|
502
503
|
}
|
503
504
|
// this.model.f_slice_area = selectArea.f_slice_area
|
504
505
|
// 拼接地址
|
505
506
|
this.model.f_address = `${selectArea.f_street}${selectArea.f_community}${selectArea.f_residential_area}`
|
506
|
-
console.log( this.model.
|
507
|
+
console.log( this.model.f_community_id)
|
507
508
|
}
|
508
509
|
this.$nextTick(() => {
|
509
510
|
this.$resetValidation()
|
@@ -524,14 +525,14 @@
|
|
524
525
|
if (val) {
|
525
526
|
// 那就把[小区]重新组织一下
|
526
527
|
await this.initareas(` f_area_code ='${val}' `)
|
527
|
-
if (this.$refs.paged.$refs.criteria.model.
|
528
|
-
if (this.findbyid(this.areaslist, this.$refs.paged.$refs.criteria.model.
|
529
|
-
let
|
530
|
-
if (
|
531
|
-
this.$refs.paged.$refs.criteria.model.
|
528
|
+
if (this.$refs.paged.$refs.criteria.model.f_residential_area_id) {
|
529
|
+
if (this.findbyid(this.areaslist, this.$refs.paged.$refs.criteria.model.f_residential_area_id)) {
|
530
|
+
let street_id = this.findbyid(this.areaslist,this.$refs.paged.$refs.criteria.model.f_residential_area_id).f_street_id
|
531
|
+
if (street_id != val) {
|
532
|
+
this.$refs.paged.$refs.criteria.model.f_residential_area_id = ''
|
532
533
|
}
|
533
534
|
} else {
|
534
|
-
this.$refs.paged.$refs.criteria.model.
|
535
|
+
this.$refs.paged.$refs.criteria.model.f_residential_area_id = ''
|
535
536
|
}
|
536
537
|
}
|
537
538
|
}
|
@@ -562,13 +563,13 @@
|
|
562
563
|
},
|
563
564
|
async streetChange(val){
|
564
565
|
if(val){
|
565
|
-
await this.initcommunity(` f_filialeid = '${this.
|
566
|
+
await this.initcommunity(` f_filialeid = '${this.f_filialeids}' and f_street_id ='${val}' `)
|
566
567
|
}
|
567
568
|
},
|
568
569
|
async communityChange(val){
|
569
570
|
console.log(val)
|
570
571
|
if(val){
|
571
|
-
await this.initareas(` f_filialeid = '${this.
|
572
|
+
await this.initareas(` f_filialeid = '${this.f_filialeids}' and f_community_id ='${val}' `)
|
572
573
|
}
|
573
574
|
},
|
574
575
|
getCommunity(){
|
@@ -183,7 +183,7 @@
|
|
183
183
|
//后台查询数据
|
184
184
|
let getData = function* (self) {
|
185
185
|
let load = new HttpResetClass()
|
186
|
-
load.load('POST', 'rs/sql/CheckStatusQuery', {data: {startDate:self.startDate,f_orgstr: self.orgid, endDate: self.endDate,plan_type:self.plan_type}},
|
186
|
+
load.load('POST', 'rs/sql/CheckStatusQuery', {data: {startDate:self.startDate,f_orgstr: self.orgid, endDate: self.endDate,plan_type:self.plan_type,f_safecheck_type:self.f_safecheck_type}},
|
187
187
|
{resolveMsg: null, rejectMsg: null})
|
188
188
|
.then((res) => {
|
189
189
|
let echartData = res.data
|
@@ -202,7 +202,7 @@
|
|
202
202
|
|
203
203
|
let getData1 = function* (self) {
|
204
204
|
let Http = new HttpResetClass()
|
205
|
-
Http.load('POST','rs/sql/HiddenLevel', {data: {startDate:self.startDate,f_orgstr: self.orgid, endDate: self.endDate,plan_type:self.plan_type}},
|
205
|
+
Http.load('POST','rs/sql/HiddenLevel', {data: {startDate:self.startDate,f_orgstr: self.orgid, endDate: self.endDate,plan_type:self.plan_type,f_safecheck_type:self.f_safecheck_type}},
|
206
206
|
{resolveMsg: null, rejectMsg: null})
|
207
207
|
.then((res) => {
|
208
208
|
let legendname = [] //分类名,横坐标分类,隐患级别
|
@@ -259,7 +259,8 @@
|
|
259
259
|
endDate: Util.toStandardDateString(),
|
260
260
|
xc: '',
|
261
261
|
plan_types:[{label:'全部',value:''},{label:'年度安检单',value:'false'},{label:'首次通气单',value:'true'}],
|
262
|
-
plan_type:''
|
262
|
+
plan_type:'',
|
263
|
+
f_safecheck_type:''
|
263
264
|
}
|
264
265
|
},
|
265
266
|
props:{
|
@@ -304,19 +305,21 @@
|
|
304
305
|
this.$emit('echarts-changed', this.echarts)
|
305
306
|
},
|
306
307
|
setstatustable() {
|
307
|
-
this.model = new PagedList('rs/sql/QueryCheckStatus', 20, {startDate: 'this.startDate',endDate: 'this.endDate', orgid: 'this.orgid',plan_type:'this.plan_type'},{rh:'',dfby:'',wsy:'',jj:''})
|
308
|
+
this.model = new PagedList('rs/sql/QueryCheckStatus', 20, {startDate: 'this.startDate',endDate: 'this.endDate', orgid: 'this.orgid',plan_type:'this.plan_type',f_safecheck_type: 'this.f_safecheck_type'},{rh:'',dfby:'',wsy:'',jj:''})
|
308
309
|
this.model.startDate = this.startDate
|
309
310
|
this.model.endDate = this.endDate
|
310
311
|
this.model.orgid = this.orgid
|
311
312
|
this.model.plan_type = this.plan_type
|
313
|
+
this.model.f_safecheck_type = this.f_safecheck_type
|
312
314
|
this.model.search('1=1')
|
313
315
|
},
|
314
316
|
setleveltable() {
|
315
|
-
this.model1 = new PagedList('rs/sql/QueryHiddenLevel', 20, {startDate: 'this.startDate',endDate: 'this.endDate', orgid: 'this.orgid',plan_type:'this.plan_type'},{a:'',b:'',c:'',ac:'',bc:'',cc:''})
|
317
|
+
this.model1 = new PagedList('rs/sql/QueryHiddenLevel', 20, {startDate: 'this.startDate',endDate: 'this.endDate', orgid: 'this.orgid',plan_type:'this.plan_type',f_safecheck_type: 'this.f_safecheck_type'},{a:'',b:'',c:'',ac:'',bc:'',cc:''})
|
316
318
|
this.model1.startDate = this.startDate
|
317
319
|
this.model1.endDate = this.endDate
|
318
320
|
this.model1.orgid = this.orgid
|
319
321
|
this.model1.plan_type = this.plan_type
|
322
|
+
this.model1.f_safecheck_type = this.f_safecheck_type
|
320
323
|
this.model1.search('1=1')
|
321
324
|
},
|
322
325
|
//隐患饼状图
|
@@ -575,6 +578,13 @@
|
|
575
578
|
},
|
576
579
|
'plan_type' (val) {
|
577
580
|
console.log("我是watch")
|
581
|
+
this.f_safecheck_type = ''
|
582
|
+
if (this.plan_type == 'false') {
|
583
|
+
this.f_safecheck_type = '年度普检'
|
584
|
+
}
|
585
|
+
if (this.plan_type == 'true') {
|
586
|
+
this.f_safecheck_type = '首次通气'
|
587
|
+
}
|
578
588
|
this.searchdata()
|
579
589
|
this.searchdata1()
|
580
590
|
},
|
@@ -149,7 +149,7 @@ let getData = function* (self) {
|
|
149
149
|
console.log('self.plan_type', self.plan_type)
|
150
150
|
console.log('self.orgid', self.orgid)
|
151
151
|
self.set()
|
152
|
-
load.load('POST', 'rs/sql/YearCountRate', {data: {year: self.year, orgid: self.orgid, plan_type: self.plan_type}},
|
152
|
+
load.load('POST', 'rs/sql/YearCountRate', {data: {year: self.year, orgid: self.orgid, plan_type: self.plan_type,f_safecheck_type:self.f_safecheck_type}},
|
153
153
|
{resolveMsg: null, rejectMsg: null})
|
154
154
|
.then((res) => {
|
155
155
|
let legendname = []
|
@@ -222,6 +222,7 @@ export default {
|
|
222
222
|
// orgid:'2586252.6314787',
|
223
223
|
year: (new Date()).getFullYear(),
|
224
224
|
plan_type: '',
|
225
|
+
f_safecheck_type:'',
|
225
226
|
xc: '',
|
226
227
|
plan_types: [{label: '全部', value: ''}, {label: '年度安检单', value: 'false'}, {label: '首次通气单', value: 'true'}]
|
227
228
|
}
|
@@ -271,11 +272,13 @@ export default {
|
|
271
272
|
this.model = new PagedList('rs/sql/YearCountRate', 20, {
|
272
273
|
year: 'this.year',
|
273
274
|
orgid: 'this.orgid',
|
274
|
-
plan_type: 'this.plan_type'
|
275
|
+
plan_type: 'this.plan_type',
|
276
|
+
f_safecheck_type: 'this.f_safecheck_type'
|
275
277
|
})
|
276
278
|
this.model.year = this.year
|
277
279
|
this.model.orgid = this.orgid
|
278
280
|
this.model.plan_type = this.plan_type
|
281
|
+
this.model.f_safecheck_type = this.f_safecheck_type
|
279
282
|
this.model.search('1=1')
|
280
283
|
},
|
281
284
|
set(legendname, zongliangArray, yijianArray) {
|
@@ -435,6 +438,13 @@ export default {
|
|
435
438
|
},
|
436
439
|
'plan_type'(val) {
|
437
440
|
console.log("我是plan_type")
|
441
|
+
this.f_safecheck_type = ''
|
442
|
+
if (this.plan_type == 'false') {
|
443
|
+
this.f_safecheck_type = '年度普检'
|
444
|
+
}
|
445
|
+
if (this.plan_type == 'true') {
|
446
|
+
this.f_safecheck_type = '首次通气'
|
447
|
+
}
|
438
448
|
this.searchdata()
|
439
449
|
},
|
440
450
|
'f_filialeids'(){
|
@@ -92,7 +92,7 @@
|
|
92
92
|
let getData = function * (self) {
|
93
93
|
let load = new HttpResetClass()
|
94
94
|
self.set()
|
95
|
-
load.load('POST','rs/sql/CheckComplete', {data: {year:self.year,orgid:self.orgid,plan_type:self.plan_type}},
|
95
|
+
load.load('POST','rs/sql/CheckComplete', {data: {year:self.year,orgid:self.orgid,plan_type:self.plan_type,f_safecheck_type:self.f_safecheck_type}},
|
96
96
|
{resolveMsg: null, rejectMsg: null})
|
97
97
|
.then((res) => {
|
98
98
|
let legendname = []
|
@@ -158,7 +158,8 @@
|
|
158
158
|
year:(new Date()).getFullYear(),
|
159
159
|
xc: '',
|
160
160
|
plan_types:[{label:'全部',value:''},{label:'年度安检单',value:'false'},{label:'首次通气单',value:'true'}],
|
161
|
-
plan_type:''
|
161
|
+
plan_type:'',
|
162
|
+
f_safecheck_type:''
|
162
163
|
}
|
163
164
|
},
|
164
165
|
props:{
|
@@ -203,10 +204,11 @@
|
|
203
204
|
this.$emit('echarts-changed', this.echarts)
|
204
205
|
},
|
205
206
|
settable() {
|
206
|
-
this.model= new PagedList('rs/sql/CheckComplete',20, {year:'this.year',orgid:'this.orgid',plan_type:'this.plan_type'})
|
207
|
+
this.model= new PagedList('rs/sql/CheckComplete',20, {year:'this.year',orgid:'this.orgid',plan_type:'this.plan_type',f_safecheck_type: 'this.f_safecheck_type'})
|
207
208
|
this.model.year = this.year
|
208
209
|
this.model.orgid = this.orgid
|
209
210
|
this.model.plan_type = this.plan_type
|
211
|
+
this.model.f_safecheck_type = this.f_safecheck_type
|
210
212
|
this.model.search('1=1')
|
211
213
|
},
|
212
214
|
set(scaledata,legendname,zongliangArray,yijianArray) {
|
@@ -370,6 +372,13 @@
|
|
370
372
|
this.searchdata()
|
371
373
|
},
|
372
374
|
'plan_type' (val) {
|
375
|
+
this.f_safecheck_type = ''
|
376
|
+
if (this.plan_type == 'false') {
|
377
|
+
this.f_safecheck_type = '年度普检'
|
378
|
+
}
|
379
|
+
if (this.plan_type == 'true') {
|
380
|
+
this.f_safecheck_type = '首次通气'
|
381
|
+
}
|
373
382
|
console.log("我是plan_type")
|
374
383
|
this.searchdata()
|
375
384
|
},
|
@@ -218,6 +218,18 @@
|
|
218
218
|
:options='$parent.$parent.entry_status'
|
219
219
|
></v-select>
|
220
220
|
</div>
|
221
|
+
<div :class="$parent.$parent.style" v-show="$parent.$parent.criteriaShow">
|
222
|
+
<label class="font_normal_body">计划类型</label>
|
223
|
+
<v-select class="select_list select"
|
224
|
+
placeholder='请选择'
|
225
|
+
:value.sync="model.f_safe_type" v-model="model.f_safe_type"
|
226
|
+
:options='$parent.$parent.safe_types'
|
227
|
+
filer-key="name"
|
228
|
+
condition="f_safe_type = '{}'"
|
229
|
+
close-on-select clear-button
|
230
|
+
:value-single="true">
|
231
|
+
</v-select>
|
232
|
+
</div>
|
221
233
|
</div>
|
222
234
|
|
223
235
|
<div class="row" v-show="$parent.$parent.$parent.showItem">
|
@@ -520,6 +532,7 @@ export default {
|
|
520
532
|
f_defect_content: 'this.f_defect_content'
|
521
533
|
}),
|
522
534
|
entry_status:[{label: '入户', value: '入户'}, {label: '拒检', value: '拒检'}, {label: '到访不遇', value: '到访不遇'}],
|
535
|
+
safe_types:this.$appdata.getParam('计划类型')?[{label: '全部', value: ''}, ...this.$appdata.getParam('计划类型')]:[{label: '全部', value: ''}],
|
523
536
|
f_defect_content:"CASE WHEN CHARINDEX( '\"result\":\"正常\"', tp.f_defect_content ) > 0 THEN '无隐患' ELSE replace(replace(replace( replace( RIGHT ( tp.f_defect_content, len( tp.f_defect_content ) - 26 ), substring('{}',2,1), '' ), substring('{}',1,1), '' ),']',''),'\"','') END",
|
524
537
|
orgstrs: [{label: '全部', value: ''}],
|
525
538
|
checkersid: [],
|
@@ -221,7 +221,7 @@
|
|
221
221
|
:show-rest-button="reset"
|
222
222
|
:value.sync="model.f_start_time"
|
223
223
|
v-model="model.f_start_time"
|
224
|
-
|
224
|
+
|
225
225
|
</datepicker>
|
226
226
|
</div>
|
227
227
|
<div class="form-group col-sm-4" >
|
@@ -234,7 +234,7 @@
|
|
234
234
|
:show-rest-button="reset"
|
235
235
|
:value.sync="model.f_end_time"
|
236
236
|
v-model="model.f_end_time"
|
237
|
-
|
237
|
+
|
238
238
|
</datepicker>
|
239
239
|
</div>
|
240
240
|
<div class="form-group col-sm-4">
|
@@ -246,7 +246,6 @@
|
|
246
246
|
v-model="model.f_last_check_state"
|
247
247
|
:options='$parent.$parent.entry_status'
|
248
248
|
placeholder='请选择'
|
249
|
-
condition="ui.f_last_check_state = '{}'"
|
250
249
|
:search="false"
|
251
250
|
close-on-select
|
252
251
|
value-single
|
@@ -485,13 +484,7 @@
|
|
485
484
|
this.excelUserCondtion=true
|
486
485
|
},
|
487
486
|
selfSearch (args) {
|
488
|
-
//tag)
|
489
487
|
args.condition += ` and ui.f_filialeid='${this.userlogin.orgid}'`
|
490
|
-
/*if(args.model.f_hasHousehold=='已入户'){
|
491
|
-
args.condition +=` and Extract(year from TO_DATE(ua.f_last_check_date,'yyyy-mm-dd hh24:mi:ss'))=2021 and ua.F_LAST_CHECK_STATE='入户'`
|
492
|
-
}else if(args.model.f_hasHousehold=='未入户'){
|
493
|
-
args.condition +=` and (Extract(year from nvl(TO_DATE(ua.f_last_check_date,'yyyy-mm-dd hh24:mi:ss'),'1990-01-01 00:00:00'))!=2021 or nvl(ua.F_LAST_CHECK_STATE,'未入户')!='入户')`
|
494
|
-
}*/
|
495
488
|
if(args.model.checkBook){
|
496
489
|
let arr=args.model.checkBook.split('-')
|
497
490
|
if(arr[1] == '用户'){
|
@@ -500,8 +493,34 @@
|
|
500
493
|
args.condition +=` and area.f_check_book_id=${arr[0]} and ua.f_check_book_id is null`
|
501
494
|
}
|
502
495
|
}
|
503
|
-
if (args.model.f_last_check_state == '未检'){
|
504
|
-
|
496
|
+
// if (args.model.f_last_check_state == '未检'){
|
497
|
+
// args.condition += ` and ui.f_last_check_date <='${args.model.f_start_time}' or ui.f_last_check_date >='${args.model.f_start_time}' and ( ui.f_last_check_date is null or ui.f_last_check_state is null or ui.f_last_check_date ='' ) `
|
498
|
+
// }else if(args.model.f_last_check_state == '') {
|
499
|
+
// args.model.f_start_time ==''?
|
500
|
+
// args.condition +=` and ui.f_last_check_date >='${args.model.f_start_time}' and ui.f_last_check_date <='${args.model.f_start_time}' `
|
501
|
+
// }else {
|
502
|
+
// args.condition +=` and ui.f_last_check_state = ${args.model.f_last_check_state?args.model.f_last_check_state:''} and ui.f_last_check_date >='${args.model.f_start_time}' and ui.f_last_check_date <='${args.model.f_start_time}' `
|
503
|
+
// }
|
504
|
+
if (!Util.isEmpty(args.model.f_last_check_state) && (!Util.isEmpty(args.model.f_start_time) || !Util.isEmpty(args.model.f_end_time) )){
|
505
|
+
if (args.model.f_last_check_state == '未检'){
|
506
|
+
var lscon = args.model.f_start_time ? ` or ui.f_last_check_date <= '${args.model.f_start_time} 00:00:00'` :''
|
507
|
+
lscon += lscon ? (args.model.f_end_time ? ` or ui.f_last_check_date >= '${args.model.f_end_time} 23:59:59'` :''): (args.model.f_end_time ? `ui.f_last_check_date >= '${args.model.f_end_time} 23:59:59'` :'')
|
508
|
+
args.condition +=`and (ui.f_last_check_state is null or ui.f_last_check_state ='' ${lscon} ) `
|
509
|
+
}else {
|
510
|
+
var lscon = args.model.f_start_time ? ` and ui.f_last_check_date >= '${args.model.f_start_time} 00:00:00'` :''
|
511
|
+
lscon += lscon ? (args.model.f_end_time ? ` and ui.f_last_check_date <= '${args.model.f_end_time} 23:59:59'` :'') : (args.model.f_end_time ? ` ui.f_last_check_date <= '${args.model.f_end_time} 23:59:59'` :'')
|
512
|
+
args.condition += `and ui.f_last_check_state = '${args.model.f_last_check_state}' ${lscon}`
|
513
|
+
}
|
514
|
+
|
515
|
+
}else if (Util.isEmpty(args.model.f_last_check_state) && (!Util.isEmpty(args.model.f_start_time) || !Util.isEmpty(args.model.f_end_time) )) {
|
516
|
+
var lscon = args.model.f_start_time ? ` and ui.f_last_check_date >= '${args.model.f_start_time} 00:00:00'` :''
|
517
|
+
lscon += lscon ? (args.model.f_end_time ? ` and ui.f_last_check_date <= '${args.model.f_end_time} 23:59:59'` :'') : (args.model.f_end_time ? ` ui.f_last_check_date <= '${args.model.f_end_time} 23:59:59'` :'')
|
518
|
+
args.condition += lscon
|
519
|
+
}else if (!Util.isEmpty(args.model.f_last_check_state) && Util.isEmpty(args.model.f_start_time) && Util.isEmpty(args.model.f_end_time)){
|
520
|
+
this.$showMessage("选择安检状态时,需要选择安检时间区间!")
|
521
|
+
return
|
522
|
+
}else{
|
523
|
+
console.log('这块无条件')
|
505
524
|
}
|
506
525
|
if(this.uploadCodeCondition){
|
507
526
|
args.condition +=` and ${this.uploadCodeCondition}`
|
@@ -129,7 +129,7 @@
|
|
129
129
|
console.log('self.plan_type',self.plan_type)
|
130
130
|
console.log('self.orgid',self.orgid)
|
131
131
|
self.set()
|
132
|
-
load.load('POST','rs/sql/YearCheckerCountRate', {data: {orgid:self.orgid,plan_type:self.plan_type,f_start_time:self.f_start_time,f_end_time:self.f_end_time}},
|
132
|
+
load.load('POST','rs/sql/YearCheckerCountRate', {data: {orgid:self.orgid,plan_type:self.plan_type,f_start_time:self.f_start_time,f_end_time:self.f_end_time,f_safecheck_type:self.f_safecheck_type}},
|
133
133
|
{resolveMsg: null, rejectMsg: null})
|
134
134
|
.then((res) => {
|
135
135
|
let checkerArrray = []
|
@@ -202,6 +202,7 @@
|
|
202
202
|
// orgid:'2586252.6314787',
|
203
203
|
year:(new Date()).getFullYear(),
|
204
204
|
plan_type:'',
|
205
|
+
f_safecheck_type:'',
|
205
206
|
f_start_time:'',
|
206
207
|
f_end_time:'',
|
207
208
|
xc: '',
|
@@ -250,12 +251,13 @@
|
|
250
251
|
this.$emit('echarts-changed', this.echarts)
|
251
252
|
},
|
252
253
|
settable() {
|
253
|
-
this.model= new PagedList('rs/sql/YearCheckerCountRate',20, {year:'this.year',orgid:'this.orgid',plan_type:'this.plan_type',f_start_time:'this.f_start_time',f_end_time:'this.f_end_time'})
|
254
|
+
this.model= new PagedList('rs/sql/YearCheckerCountRate',20, {year:'this.year',orgid:'this.orgid',plan_type:'this.plan_type',f_start_time:'this.f_start_time',f_end_time:'this.f_end_time',f_safecheck_type: 'this.f_safecheck_type'})
|
254
255
|
this.model.year = this.year
|
255
256
|
this.model.orgid = this.orgid
|
256
257
|
this.model.f_start_time = this.f_start_time
|
257
258
|
this.model.f_end_time = this.f_end_time
|
258
259
|
this.model.plan_type = this.plan_type
|
260
|
+
this.model.f_safecheck_type = this.f_safecheck_type
|
259
261
|
this.model.search('1=1')
|
260
262
|
},
|
261
263
|
set(checkerArrray,ruhuArray,dfbyArray,jjArray,wsytrqArray) {
|
@@ -458,6 +460,13 @@
|
|
458
460
|
},
|
459
461
|
'plan_type' (val) {
|
460
462
|
console.log("我是plan_type")
|
463
|
+
this.f_safecheck_type = ''
|
464
|
+
if (this.plan_type == 'false') {
|
465
|
+
this.f_safecheck_type = '年度普检'
|
466
|
+
}
|
467
|
+
if (this.plan_type == 'true') {
|
468
|
+
this.f_safecheck_type = '首次通气'
|
469
|
+
}
|
461
470
|
this.searchdata()
|
462
471
|
},
|
463
472
|
'f_filialeids'(){
|