safecheck-client 3.0.35-6 → 3.0.35-61
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.vue +31 -31
- package/src/components/NewDefectList/DefectPaperNew.vue +3 -3
- package/src/components/Util/SafecheckUpload.vue +4 -0
- package/src/components/android/AddPlanItemYy.vue +451 -451
- package/src/components/android/CheckPlanDown.vue +1 -1
- package/src/components/android/CivilCurrentCreate.vue +56 -41
- package/src/components/android/Insurance/PhoneInsurancePurchaseDetail.vue +7 -9
- package/src/components/android/NoCivilCurrentCreate.vue +10 -0
- package/src/components/android/PaperFeedback.vue +1 -1
- package/src/components/android/PhoneSellInfo.vue +100 -65
- package/src/components/android/PhoneUpUserinfo.vue +25 -6
- package/src/components/android/PhoneotherInfo.vue +0 -14
- package/src/components/android/PhoneotherInfov3.vue +118 -0
- package/src/components/android/SafecheckDevices.vue +2 -2
- package/src/components/android/SafecheckOrderV.vue +2 -529
- package/src/components/android/examples/SafeListExamples.vue +296 -296
- package/src/components/pc/AddPlanItemYyChange.vue +743 -0
- package/src/components/pc/NewCheckpaper.vue +58 -3
- package/src/components/pc/SecurityCheckLedger.vue +143 -0
- package/src/components/pc/SecurityCheckList.vue +160 -0
- package/src/components/pc/SecurityCheckManage.vue +113 -0
- package/src/components/pc/SecurityCheckUser.vue +440 -0
- package/src/components/planmanage/PlanManage.vue +47 -1
- package/src/components/report/CheckPlanAreaList.vue +25 -5
- package/src/components/rongcheng/AddPlanItem.vue +1 -1
- package/src/components/rongcheng/AspiratedAreaPlan.vue +575 -574
- package/src/components/rongcheng/AspiratedPaperFeedbackm.vue +4 -0
- package/src/components/rongcheng/AspiratedUserInfo.vue +12 -4
- package/src/components/rongcheng/CheckSearchUser.vue +1 -1
- package/src/components/rongcheng/PhoneUpUserinfo.vue +1236 -1236
- package/src/components/rongcheng/SafecheckOrderV.vue +1 -1
- package/src/components/rongcheng/SafecheckUserInfo.vue +12 -12
- package/src/components/userfile/InfoModifyModal.vue +1 -0
- package/src/components/userfile/UserInfoAudit.vue +2 -0
- package/src/components/userfile/UserinfoModify.vue +6 -0
- package/src/filiale/bayan/android/AddPlanItem.vue +450 -430
- package/src/filiale/bayan/android/CurrentCreate.vue +10 -0
- package/src/filiale/bayan/android/PhoneUpUserinfo.vue +1380 -1380
- package/src/filiale/bayan/android/SafecheckOrderV.vue +9 -0
- package/src/filiale/bayan/android/SafecheckUserInfo.vue +882 -868
- package/src/filiale/bayan/pc/DefectPaperNew.vue +22 -1
- package/src/filiale/bayan/pc/SelectCheckPlan.vue +6 -1
- package/src/filiale/bayan/pc/usergashistory.vue +149 -0
- package/src/filiale/bayan/pc/usergashistorynian.vue +149 -0
- package/src/filiale/bayan/pc.js +24 -22
- package/src/filiale/dexin/android/SafecheckOrderV.vue +7 -11
- package/src/filiale/dexin/pc/DefectListNew.vue +643 -0
- package/src/filiale/dexin/pc/DefectMainNew.vue +63 -0
- package/src/filiale/dexin/pc/DefectPaperNew.vue +1066 -0
- package/src/filiale/dexin/pc.js +1 -0
- package/src/filiale/huaran/android/CheckPlanDown.vue +212 -0
- package/src/filiale/huaran/android.js +1 -0
- package/src/filiale/huaran/pc/PaperList.vue +22 -1
- package/src/filiale/huaran/pc/PlanManage.vue +66 -7
- package/src/filiale/huaran/pc/checkUserList.vue +55 -22
- package/src/filiale/huaran/pc.js +1 -0
- package/src/filiale/minsheng/android/PhoneUpUserinfo.vue +21 -1
- package/src/filiale/qianneng/android/SwitchValve.vue +1 -0
- package/src/filiale/rizhao/pc/NewCheckpaper.vue +10 -5
- package/src/filiale/shanxian/android/SafecheckOrderV.vue +1 -1
- package/src/filiale/shanxian/pc/SelectCheckPlan.vue +21 -0
- package/src/filiale/shanxian/pc/checkUserList.vue +1 -1
- package/src/filiale/siyang/android/AddPlanItem.vue +450 -450
- package/src/filiale/siyang/android/PaperFeedback.vue +1514 -0
- package/src/filiale/siyang/android.js +1 -0
- package/src/filiale/siyang/pc/PlanManage.vue +26 -16
- package/src/filiale/siyang/pc/checkUserList.vue +123 -148
- package/src/filiale/tianke/pc/DefectListNew.vue +10 -3
- package/src/filiale/tongchuan/android/SafecheckOrderV.vue +3 -3
- package/src/filiale/tongchuan/pc/CheckSearchUser.vue +5 -13
- package/src/filiale/weinan/android/PaperFeedback.vue +34 -8
- package/src/filiale/weinan/android/SafecheckOrderV.vue +6 -2
- package/src/filiale/weinan/android/SafecheckUserInfo.vue +14 -0
- package/src/filiale/weinan/pc/NewCheckpaper.vue +20 -0
- package/src/filiale/weinan/pc/PaperList.vue +14 -1
- package/src/filiale/xilan/android/CurrentCreate.vue +0 -14
- package/src/filiale/xilan/android.js +10 -11
- package/src/filiale/xilan/pc/PaperList.vue +795 -0
- package/src/filiale/xilan/pc.js +1 -0
- package/src/filiale/yangchunboneng/pc/CheckPlanAreaList.vue +1 -1
- package/src/filiale/zhongsheng/android/SafecheckDevices.vue +4 -4
- package/src/filiale/zhongsheng/pc/CheckPlanAreaList.vue +33 -1
- package/src/main.js +1 -1
- package/src/safecheck-android.js +303 -307
- package/src/safecheck.js +15 -0
- package/src/filiale/xilan/android/AddPlanItem.vue +0 -461
@@ -639,10 +639,15 @@ export default {
|
|
639
639
|
//tag)
|
640
640
|
//tag)
|
641
641
|
//tag)
|
642
|
-
if (!this.config[this.data[device][item].f_device_type].items[items.f_item_name]) {
|
642
|
+
if (!this.config[this.data[device][item].f_device_type].items[items.f_item_name]&& (items.isdefect && (items.isdefect == 'true' || items.isdefect == true))) {
|
643
643
|
continue
|
644
644
|
}
|
645
|
-
|
645
|
+
if (items.f_is_defect == 'true' || items.f_is_defect == true) {
|
646
|
+
checkResult = '有隐患'
|
647
|
+
this.result = '有隐患'
|
648
|
+
defects = `${defects}:${items.f_item_value}/`
|
649
|
+
}
|
650
|
+
/*let options = this.config[this.data[device][item].f_device_type].items[items.f_item_name].options
|
646
651
|
for (let option in options) {
|
647
652
|
if (options[option].data == f_item_value) {
|
648
653
|
if (options[option].isdefect == 'true' || options[option].isdefect == true) {
|
@@ -652,13 +657,13 @@ export default {
|
|
652
657
|
// let level = options[option].level
|
653
658
|
}
|
654
659
|
}
|
655
|
-
}
|
660
|
+
}*/
|
656
661
|
//tag)
|
657
662
|
}
|
658
663
|
if (defects != '') {
|
659
664
|
deviceInfos.push(`${items.f_item_name}${defects.substring(0, defects.length - 1)}`)
|
660
665
|
}
|
661
|
-
} else if (items.type === 'string') {
|
666
|
+
} else if (items.type === 'string' && items.f_is_defect && items.f_item_value[0]) {
|
662
667
|
checkResult = '有隐患'
|
663
668
|
this.result = '有隐患'
|
664
669
|
deviceInfos.push(`${items.f_item_name}:${items.f_item_value[0]}`)
|
@@ -1228,7 +1233,7 @@ export default {
|
|
1228
1233
|
} else if (this.role == 'androidview') {
|
1229
1234
|
id = this.item.f_paper_id
|
1230
1235
|
}
|
1231
|
-
this.$resetpost(`rs/
|
1236
|
+
this.$resetpost(`rs/logic/getUserinfomation`, {data: {condition: `id = '${id}'`}}).then((respanse) => {
|
1232
1237
|
//tag
|
1233
1238
|
if (respanse.data.length != 0) {
|
1234
1239
|
// 包含 其它 特殊处理的数组
|
@@ -13,6 +13,19 @@
|
|
13
13
|
v-model="model.f_checker_id">
|
14
14
|
</role-selector-safe>
|
15
15
|
</div>
|
16
|
+
<div :class="{'form-group col-sm-3':$parent.$parent.$parent.showItem,'form-group col-sm-2':!$parent.$parent.$parent.showItem}" >
|
17
|
+
<label class="font_normal_body">安检员状态</label>
|
18
|
+
<v-select
|
19
|
+
:value.sync="model.f_checker_state"
|
20
|
+
:options='$parent.$parent.checkertates'
|
21
|
+
placeholder='安检员状态'
|
22
|
+
close-on-select
|
23
|
+
style="width:60% "
|
24
|
+
class="select select_list"
|
25
|
+
v-model='model.f_checker_state'
|
26
|
+
>
|
27
|
+
</v-select>
|
28
|
+
</div>
|
16
29
|
<div :class="{'form-group col-sm-3':$parent.$parent.$parent.showItem,'form-group col-sm-2':!$parent.$parent.$parent.showItem}">
|
17
30
|
<label class="font_normal_body">计划起始</label>
|
18
31
|
<datepicker
|
@@ -167,6 +180,7 @@
|
|
167
180
|
}, {plannum: '', ruhu: '', jujian: '', daofang: '',no_plan_num:'',noruhu:'',nodaofang:'',nojujian:'',ruhu_total:'',daofang_total:'',jujian_total:'',total_sum:''})
|
168
181
|
model.f_filialeids = '('+this.$login.f.orgid+')'
|
169
182
|
return {
|
183
|
+
checkertates: [{label: '在职', value: '在职'}, {label: '离职', value: '离职'}],
|
170
184
|
excelHeaders:{
|
171
185
|
'f_checker': '安检员',
|
172
186
|
'plannum': '计划总数',
|
@@ -232,6 +246,13 @@
|
|
232
246
|
condition3 += ` AND f_checker = '${this.$refs.paged.$refs.cri.model.f_checker_id}' `
|
233
247
|
condition2 += ` AND f_checker_name = '${this.$refs.paged.$refs.cri.model.f_checker_id}' `
|
234
248
|
}
|
249
|
+
if (this.$refs.paged.$refs.cri.model.f_checker_state !=''){
|
250
|
+
condition3 += ` AND tu.state= '${this.$refs.paged.$refs.cri.model.f_checker_state}' `
|
251
|
+
condition2 += ` AND tu.state= '${this.$refs.paged.$refs.cri.model.f_checker_state}' `
|
252
|
+
}else{
|
253
|
+
condition3 += ` AND tu.state= '在职' `
|
254
|
+
condition2 += ` AND tu.state= '在职' `
|
255
|
+
}
|
235
256
|
this.model.f_start_time=this.f_start_time
|
236
257
|
this.model.f_end_time=this.f_end_time
|
237
258
|
this.model.condition1=condition1
|
@@ -333,7 +333,7 @@
|
|
333
333
|
<td style="text-align: center"><nobr>{{row.f_user_name}}</nobr></td>
|
334
334
|
<td style="text-align: center"><nobr>{{row.f_user_type}}</nobr></td>
|
335
335
|
<td style="text-align: center"><nobr>{{row.f_residential_area}}</nobr></td>
|
336
|
-
<td style="text-align: center"><nobr>{{row.
|
336
|
+
<td style="text-align: center"><nobr>{{row.f_slice_area}}</nobr></td>
|
337
337
|
<td style="text-align: center"><nobr>{{row.f_book_name}}</nobr></td>
|
338
338
|
<td style="text-align: center"><nobr>{{row.f_plan_name}}</nobr></td>
|
339
339
|
<td style="text-align: center"><nobr>{{row.f_last_check_date}}</nobr></td>
|