safecheck-client 3.0.33-gongyi → 3.0.35-gongyi-1
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +119 -119
- package/src/components/Util/RightTreeSafe.vue +6 -1
- package/src/components/android/AreaPlan.vue +3 -3
- package/src/components/android/CurrentCreate.vue +8 -6
- package/src/components/android/SafecheckOrderV.vue +2408 -2408
- package/src/components/android/userinfo/SafecheckUserInfo.vue +611 -611
- package/src/components/defect/DefectListWeixiu.vue +479 -479
- package/src/components/defect/DefectPaper.vue +277 -165
- package/src/components/defect/DefectPaperWeiXiu.vue +157 -10
- package/src/components/paper/PaperList.vue +797 -733
- package/src/components/pc/CheckBookList.vue +590 -539
- package/src/components/pc/CheckBookManage.vue +71 -10
- package/src/components/pc/NewCheckpaper.vue +1333 -1306
- package/src/components/planmanage/PlanManage.vue +34 -5
- package/src/components/planmanage/checkUserList.vue +691 -691
- package/src/components/querycheckpaper/CheckSearchUser.vue +1037 -1035
- package/src/components/report/CheckPlanAreaList.vue +81 -9
- package/src/components/report/CheckPlanUserList.vue +3 -2
- package/src/components/report/HiddenSituation.vue +100 -2
- package/src/safecheck.js +1 -1
@@ -23,12 +23,12 @@
|
|
23
23
|
<table style="width:100%;table-layout:fixed" >
|
24
24
|
<tr class="safe-planfont">
|
25
25
|
<td rowspan="4"><input type="checkbox" style="pointer-events:auto" v-show="row.plan_count==0 || row.f_issued=='未下发'" onClick="event.cancelBubble = true" :checked="checkplan.check.isChecked(row.f_check_item_id)" @change="checkplan.check.setCheckes(row.id)"/></td>
|
26
|
-
<td colspan="6" class="safe_p">{{row.f_plan_name}}</td>
|
26
|
+
<td colspan="6" class="safe_p"><span :title="row.f_plan_name">{{row.f_plan_name}}</span></td>
|
27
27
|
<td colspan="2" style="text-align: center"><img width="20px" style="pointer-events:auto" onClick="event.cancelBubble = true" @click="showUpPlans(row)" src="../../../static/images/edit.png"/></td>
|
28
28
|
</tr>
|
29
29
|
<tr class="safe-bodyfont" style="color:#4792de">
|
30
30
|
<td colspan="6">{{row.f_issued}}</td>
|
31
|
-
<td colspan="2" class="safe_p">{{row.f_checker?row.f_checker:'共享'}}</td>
|
31
|
+
<td colspan="2" class="safe_p"><span :title="row.f_checker">{{row.f_checker?row.f_checker:'共享'}}</span></td>
|
32
32
|
</tr>
|
33
33
|
<tr class="safe-bodyfont">
|
34
34
|
<td colspan="4">{{row.f_plan_year}}-{{row.f_plan_month}}</td>
|
@@ -59,7 +59,7 @@
|
|
59
59
|
</div>
|
60
60
|
</div>
|
61
61
|
<!--右侧列表**************************************************************************-->
|
62
|
-
<div class="binary-right" style="width: 84%;overflow:
|
62
|
+
<div class="binary-right" style="width: 84%;overflow: hidden">
|
63
63
|
<div style="height: 5%">
|
64
64
|
<div class="col-sm-4">
|
65
65
|
<label class="font_normal_body">公  司</label>
|
@@ -266,6 +266,12 @@
|
|
266
266
|
>
|
267
267
|
</v-select>
|
268
268
|
</div>
|
269
|
+
<div class="form-group col-sm-4" >
|
270
|
+
<label class="font_normal_body">所属科室:</label>
|
271
|
+
<right-tree islist :source="source" v-on:re-res="reres" :textContent="'选择科室'" v-ref:f_reciever>
|
272
|
+
</right-tree>
|
273
|
+
</div>
|
274
|
+
|
269
275
|
</div>
|
270
276
|
</div>
|
271
277
|
<div slot="modal-footer" class="modal-footer" style="text-align: center">
|
@@ -367,6 +373,8 @@
|
|
367
373
|
checker:{},
|
368
374
|
f_checker:null,
|
369
375
|
f_safecheck_type:'',
|
376
|
+
f_depid:'',
|
377
|
+
f_dep:''
|
370
378
|
},
|
371
379
|
planCondition:{},
|
372
380
|
showCondtion:false,
|
@@ -384,7 +392,10 @@
|
|
384
392
|
name:this.$login.f.name,
|
385
393
|
orgid:this.$login.f.orgid,
|
386
394
|
orgstr:this.$login.f.orgs,
|
387
|
-
}
|
395
|
+
},
|
396
|
+
source:
|
397
|
+
'dep=this.getParentByType($organization$).getSpecialResByType($department$),' +
|
398
|
+
'tool.getFullTree(dep.where(row.hasSpecialRole($安检册二次分配$)))',
|
388
399
|
//需要测试直接把下面放开即可
|
389
400
|
/*userlogin:{
|
390
401
|
id:'141701',
|
@@ -398,6 +409,18 @@
|
|
398
409
|
await this.loadpage()
|
399
410
|
},
|
400
411
|
methods:{
|
412
|
+
reres(val) {
|
413
|
+
if (!val.resids || val.resids.length === 0 || val.resids[0] ==='undefined' || val.resids.length>1){
|
414
|
+
return
|
415
|
+
}
|
416
|
+
console.log('val2',val)
|
417
|
+
const resids = val.orgobj.filter(res=>res.resourcetype==='department')
|
418
|
+
console.log('val2',resids)
|
419
|
+
if (resids.length>0){
|
420
|
+
this.createPlan.f_depid = resids[0].id
|
421
|
+
this.createPlan.f_dep = resids[0].name
|
422
|
+
}
|
423
|
+
},
|
401
424
|
async loadpage(){
|
402
425
|
//await this.checkplan.searchList("/rs/sql/预约计划下发", {},{groupitem:"",f_filialeids:"('"+this.userlogin.orgid+"')",orderitem:"f_create_time desc"})
|
403
426
|
await this.loadCheckPlan()
|
@@ -473,7 +496,9 @@
|
|
473
496
|
f_checker_id:null,
|
474
497
|
checker:{},
|
475
498
|
f_checker:null,
|
476
|
-
f_safecheck_type:''
|
499
|
+
f_safecheck_type:'',
|
500
|
+
f_depid:'',
|
501
|
+
f_dep:''
|
477
502
|
}
|
478
503
|
await this.loadCheckPlan()
|
479
504
|
this.isSend=false
|
@@ -504,6 +529,10 @@
|
|
504
529
|
Vue.showMessage("请选择安检类型!")
|
505
530
|
return false
|
506
531
|
}
|
532
|
+
if(!this.createPlan.f_depid){
|
533
|
+
Vue.showMessage("请选择所属安检科室!")
|
534
|
+
return false
|
535
|
+
}
|
507
536
|
return true
|
508
537
|
},
|
509
538
|
//查询安检员selectChanged
|