safecheck-client 4.0.0-65 → 4.0.0-66
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/package.json +132 -132
- package/src/components/NewDefectList/DefectListNew.vue +12 -12
- package/src/components/NewDefectList/DefectPaperNew.vue +28 -8
- package/src/components/android/Insurance/PhoneInsurancePurchaseDetail.vue +280 -280
- package/src/components/paper/PaperList.vue +32 -5
- package/src/components/planmanage/PlanManage.vue +14 -7
- package/src/components/planmanage/checkUserList.vue +21 -16
- package/src/components/querycheckpaper/CheckSearchUser.vue +30 -4
- package/src/components/report/CheckPlanAreaList.vue +10 -4
- package/src/filiale/jinhong/pc/CheckPlanAreaList.vue +511 -0
- package/src/filiale/jinhong/pc/CheckSearchUser.vue +1094 -0
- package/src/filiale/jinhong/pc/DefectListNew.vue +663 -0
- package/src/filiale/jinhong/pc/DefectPaperNew.vue +1100 -0
- package/src/filiale/jinhong/pc/PaperList.vue +823 -0
- package/src/filiale/jinhong/pc/PlanManage.vue +891 -0
- package/src/filiale/jinhong/pc/checkUserList.vue +778 -0
- package/src/filiale/jinhong/pc.js +11 -0
- package/src/filiale/meihekou/android/PhoneInsurancePurchaseDetail.vue +293 -293
- package/src/filiale/meihekou/android.js +20 -20
- package/src/main.js +1 -1
@@ -320,7 +320,7 @@
|
|
320
320
|
:search="false"
|
321
321
|
:value="upCheckPlan.f_plan_year"
|
322
322
|
:options='yearList'
|
323
|
-
|
323
|
+
:disabled="true"
|
324
324
|
close-on-select
|
325
325
|
value-single>
|
326
326
|
|
@@ -342,7 +342,7 @@
|
|
342
342
|
class="select select_list"
|
343
343
|
:value.sync="upCheckPlan.f_plan_month"
|
344
344
|
v-model="upCheckPlan.f_plan_month"
|
345
|
-
|
345
|
+
:disabled="true"
|
346
346
|
:options='monthList'
|
347
347
|
close-on-select
|
348
348
|
value-single>
|
@@ -357,6 +357,7 @@
|
|
357
357
|
v-model="upCheckPlan.isShare"
|
358
358
|
:options='isAndNot'
|
359
359
|
placeholder='请选择'
|
360
|
+
:disabled="true"
|
360
361
|
close-on-select
|
361
362
|
value-single
|
362
363
|
>
|
@@ -395,6 +396,7 @@
|
|
395
396
|
v-model="upCheckPlan.f_safecheck_type"
|
396
397
|
:options='ntoway'
|
397
398
|
close-on-select
|
399
|
+
:disabled="true"
|
398
400
|
value-single
|
399
401
|
>
|
400
402
|
</v-select>
|
@@ -480,6 +482,7 @@
|
|
480
482
|
}
|
481
483
|
},
|
482
484
|
async ready(){
|
485
|
+
document.addEventListener('keydown', this.handleEnter, true);
|
483
486
|
await this.loadpage()
|
484
487
|
if (!this.userlogin.orgid){
|
485
488
|
if (this.$login.f.f_orgids){
|
@@ -496,6 +499,13 @@
|
|
496
499
|
}
|
497
500
|
},
|
498
501
|
methods:{
|
502
|
+
handleEnter(e) {
|
503
|
+
if (e.key === 'Enter') {
|
504
|
+
this.loadCheckPlan();
|
505
|
+
this.$refs.item.model.search()
|
506
|
+
this.$refs.user.model.search()
|
507
|
+
}
|
508
|
+
},
|
499
509
|
/* ntoway() {
|
500
510
|
/!* return AppData.getParam('安检类型')*!/
|
501
511
|
return Vue.$appdata.getParam('安检类型')
|
@@ -693,10 +703,6 @@
|
|
693
703
|
this.showUpPlan=true
|
694
704
|
},
|
695
705
|
async upPlan(){
|
696
|
-
if(this.upCheckPlan.f_issued=='已下发'){
|
697
|
-
this.$showMessage("该计划已下发,无法进行修改!")
|
698
|
-
return
|
699
|
-
}
|
700
706
|
if(!this.upCheckPlan.f_plan_name){
|
701
707
|
Vue.showMessage("请输入安检计划名称!")
|
702
708
|
return false
|
@@ -735,7 +741,8 @@
|
|
735
741
|
f_plan_name:this.upCheckPlan.f_plan_name,
|
736
742
|
f_plan_year:this.upCheckPlan.f_plan_year,
|
737
743
|
f_plan_month:this.upCheckPlan.f_plan_month,
|
738
|
-
f_plan_id:this.upCheckPlan.id
|
744
|
+
f_plan_id:this.upCheckPlan.id,
|
745
|
+
issued:'否'
|
739
746
|
}
|
740
747
|
}, {resolveMsg: null, rejectMsg: null})
|
741
748
|
if(res.data.code==200){
|
@@ -196,20 +196,20 @@
|
|
196
196
|
>
|
197
197
|
</v-select>
|
198
198
|
</div>
|
199
|
-
<div class="form-group col-sm-4"
|
200
|
-
<label class="font_normal_body">抄 表 册:</label
|
201
|
-
<v-select
|
202
|
-
class="select select_list"
|
203
|
-
:value.sync="model.f_meter_book_num"
|
204
|
-
v-model="model.f_meter_book_num"
|
205
|
-
:options='$parent.$parent.cbc'
|
206
|
-
placeholder='请选择'
|
207
|
-
condition="uf.f_meter_book_num='{}'"
|
208
|
-
close-on-select
|
209
|
-
value-single
|
210
|
-
|
211
|
-
</v-select
|
212
|
-
</div
|
199
|
+
<!-- <div class="form-group col-sm-4" >-->
|
200
|
+
<!-- <label class="font_normal_body">抄 表 册:</label>-->
|
201
|
+
<!-- <v-select-->
|
202
|
+
<!-- class="select select_list"-->
|
203
|
+
<!-- :value.sync="model.f_meter_book_num"-->
|
204
|
+
<!-- v-model="model.f_meter_book_num"-->
|
205
|
+
<!-- :options='$parent.$parent.cbc'-->
|
206
|
+
<!-- placeholder='请选择'-->
|
207
|
+
<!-- condition="uf.f_meter_book_num='{}'"-->
|
208
|
+
<!-- close-on-select-->
|
209
|
+
<!-- value-single-->
|
210
|
+
<!-- >-->
|
211
|
+
<!-- </v-select>-->
|
212
|
+
<!-- </div>-->
|
213
213
|
<div class="form-group col-sm-4" >
|
214
214
|
<label class="font_normal_body">派发情况:</label>
|
215
215
|
<v-select
|
@@ -265,7 +265,7 @@
|
|
265
265
|
>
|
266
266
|
</v-select>
|
267
267
|
</div>
|
268
|
-
<div class="form-group col-sm-4"
|
268
|
+
<div class="form-group col-sm-4">
|
269
269
|
<label class="font_normal_body">安检册:</label>
|
270
270
|
<v-select
|
271
271
|
class="select select_list"
|
@@ -445,9 +445,14 @@
|
|
445
445
|
this.getCheckBook()
|
446
446
|
this.setConList()
|
447
447
|
this.loadpage()
|
448
|
-
|
448
|
+
document.addEventListener('keydown', this.handleEnter, true);
|
449
449
|
},
|
450
450
|
methods: {
|
451
|
+
handleEnter(e) {
|
452
|
+
if (e.key === 'Enter') {
|
453
|
+
this.$refs.paged.$refs.criteria.search()
|
454
|
+
}
|
455
|
+
},
|
451
456
|
getCheckBook(){
|
452
457
|
this.checkBooks=[]
|
453
458
|
new HttpResetClass().load('POST', `/api/af-safecheck/sql/safe_singleTable_OrderBy`, {
|
@@ -149,10 +149,10 @@
|
|
149
149
|
<v-select class="select_list select"
|
150
150
|
placeholder='抄表册' style="width: 60%"
|
151
151
|
:value.sync="model.f_meter_book_num" v-model="model.f_meter_book_num"
|
152
|
-
:options='$parent.$parent.
|
152
|
+
:options='$parent.$parent.checkBooks'
|
153
153
|
filer-key="name"
|
154
154
|
close-on-select clear-button
|
155
|
-
condition="
|
155
|
+
condition="f_check_book_name like '%{}%'"
|
156
156
|
:value-single="true">
|
157
157
|
</v-select>
|
158
158
|
</div>
|
@@ -529,7 +529,8 @@ export default {
|
|
529
529
|
sliceArea: [],
|
530
530
|
cbcs:[],
|
531
531
|
cbc:[],
|
532
|
-
pcds:[]
|
532
|
+
pcds:[],
|
533
|
+
checkBooks:[]
|
533
534
|
}
|
534
535
|
},
|
535
536
|
props: {
|
@@ -560,8 +561,33 @@ export default {
|
|
560
561
|
this.model.f_OrgStr = this.$login.f.orgpathstr
|
561
562
|
this.Mreadibook(`('${this.$login.f.orgid}')`)
|
562
563
|
this.getAllMeterBook(`('${this.$login.f.orgid}')`)
|
564
|
+
document.addEventListener('keydown', this.handleEnter, true);
|
563
565
|
},
|
564
566
|
methods: {
|
567
|
+
handleEnter(e) {
|
568
|
+
if (e.key === 'Enter') {
|
569
|
+
this.$refs.paged.$refs.criteria.search()
|
570
|
+
}
|
571
|
+
},
|
572
|
+
getCheckBook(){
|
573
|
+
this.checkBooks=[]
|
574
|
+
new HttpResetClass().load('POST', `/api/af-safecheck/sql/safe_singleTable_OrderBy`, {
|
575
|
+
data: {
|
576
|
+
items: 'id,f_check_book_name,f_check_book_type',
|
577
|
+
tablename: 't_check_book',
|
578
|
+
condition: `f_orgid = '${this.$login.f.orgid}'`,
|
579
|
+
orderitem: 'id desc'
|
580
|
+
}
|
581
|
+
}, {resolveMsg: null, rejectMsg: null}).then(res => {
|
582
|
+
this.checkBooks.push({label: '全部', value: ''})
|
583
|
+
res.data.forEach(ress => {
|
584
|
+
this.checkBooks.push({
|
585
|
+
label: ress.f_check_book_name,
|
586
|
+
value: ress.f_check_book_name
|
587
|
+
})
|
588
|
+
})
|
589
|
+
})
|
590
|
+
},
|
565
591
|
|
566
592
|
dateDiff(date1Str) {
|
567
593
|
// 确保传入的date1Str是有效的字符串格式
|
@@ -836,7 +862,7 @@ export default {
|
|
836
862
|
changeStates() {
|
837
863
|
if (this.checkedAll) {//实现反选/
|
838
864
|
this.checkrows = [];
|
839
|
-
for (let i = 0; i <
|
865
|
+
for (let i = 0; i < c.rows.length; i++) {
|
840
866
|
this.$set('$refs.paged.model.rows[' + i + '].checked', false)
|
841
867
|
}
|
842
868
|
} else {//实现全选
|
@@ -107,7 +107,9 @@
|
|
107
107
|
<input type="checkbox" id="f_checker_name" value="f_checker_name" v-model="$parent.$parent.nameForSql"/>
|
108
108
|
<label for="f_checker_name">安检员</label>
|
109
109
|
<input type="checkbox" id="f_user_number" value="f_user_number" v-model="$parent.$parent.nameForSql"/>
|
110
|
-
<label for="
|
110
|
+
<label for="f_user_number">档案数量</label>
|
111
|
+
<input type="checkbox" id="f_issue_time" value="f_issue_time" v-model="$parent.$parent.nameForSql"/>
|
112
|
+
<label for="f_issue_time">下发时间</label>
|
111
113
|
</div>
|
112
114
|
</div>
|
113
115
|
</div>
|
@@ -125,6 +127,7 @@
|
|
125
127
|
<th v-if="$parent.$parent.$parent.nameForSql.includes('f_plan_name')"><nobr>计划名称</nobr></th>
|
126
128
|
<th v-if="$parent.$parent.$parent.nameForSql.includes('f_checker_name')"><nobr>安检员</nobr></th>
|
127
129
|
<th v-if="$parent.$parent.$parent.nameForSql.includes('f_user_number')"><nobr>档案数量</nobr></th>
|
130
|
+
<th v-if="$parent.$parent.$parent.nameForSql.includes('f_issue_time')"><nobr>下发时间</nobr></th>
|
128
131
|
<th>
|
129
132
|
<nobr>计划总数</nobr>
|
130
133
|
</th>
|
@@ -165,6 +168,7 @@
|
|
165
168
|
<td style="text-align:center" :class="{'td-0':row.f_plan_name==undefined,'td-1':model.rows && model.rows.length!=($index+1)&&row.f_plan_name.indexOf('*&')==-1,'td-2':model.rows && model.rows.length!=($index+1)&&row.f_plan_name.indexOf('*&')!=-1,'td-3':model.rows && model.rows.length==($index+1)&&row.f_plan_name.indexOf('*&')!=-1,'td-4':model.rows && model.rows.length==($index+1)&&row.f_plan_name.indexOf('*&')==-1}" v-if="$parent.$parent.$parent.nameForSql.includes('f_plan_name')">{{row.f_plan_name.indexOf('*&')!=-1?'':row.f_plan_name}}</td>
|
166
169
|
<td style="text-align:center" :class="{'td-0':row && !row.f_checker_name,'td-1':model.rows && model.rows.length!=($index+1)&&row.f_checker_name && row.f_checker_name.indexOf('*&')==-1,'td-2':model.rows && model.rows.length!=($index+1)&&row.f_checker_name &&row.f_checker_name.indexOf('*&')!=-1,'td-3':model.rows && model.rows.length==($index+1)&&row.f_checker_name &&row.f_checker_name.indexOf('*&')!=-1,'td-4':model.rows && model.rows.length==($index+1)&&row.f_checker_name &&row.f_checker_name.indexOf('*&')==-1}" v-if="$parent.$parent.$parent.nameForSql && $parent.$parent.$parent.nameForSql.includes('f_checker_name')">{{row.f_checker_name && row.f_checker_name.indexOf('*&')!=-1?'':row.f_checker_name}}</td>
|
167
170
|
<td style="text-align:center" v-if="$parent.$parent.$parent.nameForSql.includes('f_user_number')">{{row.f_user_number}}</td>
|
171
|
+
<td style="text-align:center" v-if="$parent.$parent.$parent.nameForSql.includes('f_issue_time')">{{row.f_issue_time}}</td>
|
168
172
|
<td style="text-align:center">{{row.f_plan_total}}</td>
|
169
173
|
<td style="text-align:center">{{row.f_weijian}}</td>
|
170
174
|
<td style="text-align:center"><nobr>{{row.f_yijian}}</nobr></td>
|
@@ -235,7 +239,7 @@
|
|
235
239
|
}
|
236
240
|
},
|
237
241
|
ready () {
|
238
|
-
this.nameForSql = ['f_plan_month', 'f_plan_name','f_checker_name']
|
242
|
+
this.nameForSql = ['f_plan_month', 'f_plan_name','f_checker_name', 'f_issue_time']
|
239
243
|
this.groupNameForSql = 'f_plan_month', 'f_plan_name','f_checker_name'
|
240
244
|
this.pl()
|
241
245
|
// this.search()
|
@@ -283,6 +287,8 @@
|
|
283
287
|
this.exportExcelField.f_residential_area='小区名称'
|
284
288
|
}if (ff==='f_user_number') {
|
285
289
|
this.exportExcelField.f_user_number='档案数量'
|
290
|
+
}if (ff==='f_issue_time') {
|
291
|
+
this.exportExcelField.f_issue_time='下发时间'
|
286
292
|
}
|
287
293
|
}
|
288
294
|
},
|
@@ -359,7 +365,7 @@
|
|
359
365
|
|
360
366
|
// 拼接groupName1
|
361
367
|
getGroupName1 () {
|
362
|
-
var temp=['f_plan_month','f_no_checkplan','f_residential_area','f_plan_name','f_checker_name','f_user_number']
|
368
|
+
var temp=['f_plan_month','f_no_checkplan','f_residential_area','f_plan_name','f_checker_name','f_user_number','f_issue_time']
|
363
369
|
var newtemp=[]
|
364
370
|
|
365
371
|
for (var i=0;i<temp.length;i++){
|
@@ -396,7 +402,7 @@
|
|
396
402
|
}
|
397
403
|
this.listflag=true
|
398
404
|
//tag
|
399
|
-
var temp=['f_plan_month','f_no_checkplan','f_residential_area','f_plan_name','f_checker_name','f_user_number']
|
405
|
+
var temp=['f_plan_month','f_no_checkplan','f_residential_area','f_plan_name','f_checker_name','f_user_number','f_issue_time']
|
400
406
|
var newtemp=[]
|
401
407
|
for (var i=0;i<temp.length;i++){
|
402
408
|
for (var j=0;j<this.nameForSql.length;j++){
|