safecheck-client 3.0.35-43 → 3.0.35-46
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +1 -1
- package/src/components/android/PhoneotherInfo.vue +0 -14
- package/src/components/android/PhoneotherInfov3.vue +118 -0
- package/src/filiale/bayan/pc/DefectPaperNew.vue +22 -1
- package/src/filiale/huaran/pc/PlanManage.vue +940 -934
- package/src/filiale/rizhao/pc/NewCheckpaper.vue +9 -4
- package/src/filiale/shanxian/pc/SelectCheckPlan.vue +21 -0
- package/src/filiale/zhongsheng/pc/CheckPlanAreaList.vue +495 -495
- package/src/main.js +1 -1
- package/src/safecheck-android.js +1 -0
@@ -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]}`)
|
@@ -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
|