safecheck-client 4.0.2-7 → 4.0.2-71
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/build/reports/problems/problems-report.html +663 -0
- package/package.json +132 -132
- package/src/components/NewDefectList/DefectPaperNew.vue +1184 -1184
- package/src/components/android/AndroidNotifiedDeal.vue +417 -0
- package/src/components/android/PhoneUpUserinfo.vue +1249 -1249
- package/src/components/android/SafeRightTree.vue +218 -218
- package/src/components/android/SafecheckDevices.vue +1340 -1340
- package/src/components/android/week/CheckResultSimple.vue +258 -0
- package/src/components/android/week/FirstWeekCheck.vue +301 -0
- package/src/components/android/week/StepHeaderBar.vue +485 -0
- package/src/components/android/week/WeekCheck.vue +267 -0
- package/src/components/android/week/WeekCheckPaper.vue +274 -0
- package/src/components/android/week/WeekCheckPlan.vue +145 -0
- package/src/components/android/week/WeekCheckUserInfo.vue +99 -0
- package/src/components/checkplan/CheckDetail.vue +1 -1
- package/src/components/checkplan/SelectCheckPlan.vue +39 -0
- package/src/components/paper/safetyledger.vue +198 -0
- package/src/components/pc/CheckBook.vue +303 -303
- package/src/components/pc/CheckBookArea.vue +146 -146
- package/src/components/pc/CheckBookCompany.vue +144 -144
- package/src/components/pc/CheckBookDetails.vue +161 -161
- package/src/components/pc/CheckBookEntry.vue +60 -60
- package/src/components/pc/CheckBookSearchArea.vue +560 -560
- package/src/components/pc/CheckBookSearchUnit.vue +229 -229
- package/src/components/pc/CheckBookSearchUser.vue +659 -659
- package/src/components/pc/CheckBookSearchUserList.vue +674 -674
- package/src/components/pc/DefectDeal.vue +22 -7
- package/src/components/pc/PaperDefectMain.vue +22 -0
- package/src/components/planmanage/checkUserList.vue +1 -1
- package/src/components/querycheckpaper/CheckSearchUser.vue +2 -1
- package/src/components/report/CheckPlanAreaList.vue +53 -7
- package/src/components/report/CheckPlanUserList.vue +12 -2
- package/src/filiale/jinhong/android/AddPlanItem.vue +481 -0
- package/src/filiale/jinhong/android/AndroidDefectDeal.vue +748 -0
- package/src/filiale/jinhong/android/AndroidNotifiedDeal.vue +569 -0
- package/src/filiale/jinhong/android/CurrentCreate.vue +63 -21
- package/src/filiale/jinhong/android/PhoneInsurancePurchaseDetail.vue +28 -3
- package/src/filiale/jinhong/android/SafecheckOrderV.vue +2300 -0
- package/src/filiale/jinhong/android.js +5 -1
- package/src/filiale/jinhong/pc/CheckBookList.vue +28 -18
- package/src/filiale/jinhong/pc/CheckSearchUser.vue +45 -2
- package/src/filiale/jinhong/pc/NewCheckpaper.vue +1958 -0
- package/src/filiale/jinhong/pc/PaperList.vue +8 -1
- package/src/filiale/jinhong/pc/PlanManage.vue +9 -3
- package/src/filiale/jinhong/pc/checkPlanList.vue +73 -24
- package/src/filiale/jinhong/pc/checkUserList.vue +36 -0
- package/src/filiale/jinhong/pc.js +1 -0
- package/src/filiale/meihekou/android/CheckPlanList.vue +198 -198
- package/src/filiale/meihekou/android/CheckPlanListArea.vue +190 -190
- package/src/filiale/meihekou/android/CurrentCreate.vue +16 -0
- package/src/filiale/meihekou/android/PaperFeedback.vue +1545 -1542
- package/src/filiale/meihekou/android/SafecheckDevices.vue +1343 -1340
- package/src/filiale/meihekou/android/SafecheckOrderV.vue +70 -54
- package/src/filiale/meihekou/android.js +22 -22
- package/src/filiale/meihekou/pc/CheckDetail.vue +217 -0
- package/src/filiale/meihekou/pc/CheckPlan.vue +52 -0
- package/src/filiale/meihekou/pc/CheckPlanAreaList.vue +505 -0
- package/src/filiale/meihekou/pc/NewCheckpaper.vue +249 -280
- package/src/filiale/meihekou/pc/NewCheckpaperNew.vue +2051 -2050
- package/src/filiale/meihekou/pc/NewCheckpaperTemp.vue +1 -0
- package/src/filiale/meihekou/pc/PaperList.vue +9 -23
- package/src/filiale/meihekou/pc/SelectCheckPlan.vue +262 -0
- package/src/filiale/meihekou/pc/checkUserList.vue +790 -0
- package/src/filiale/meihekou/pc.js +19 -15
- package/src/filiale/qingjian/pc/SecurityCheckCoordinates.vue +2 -2
- package/src/filiale/taiyuan/android/AddPlanItem.vue +1 -0
- package/src/filiale/taiyuan/android/SafecheckDevices.vue +1343 -0
- package/src/filiale/taiyuan/android/SafecheckOrderV.vue +17 -17
- package/src/filiale/taiyuan/android.js +1 -0
- package/src/filiale/taiyuan/pc/NewCheckpaper.vue +22 -0
- package/src/filiale/xinkang/android/SafecheckDevices.vue +2 -2
- package/src/filiale/xinkang/android/SafecheckOrderV.vue +9 -2
- package/src/filiale/xinkang/pc/NewCheckpaper.vue +17 -46
- package/src/filiale/xinliansihui/pc/PaperList.vue +814 -0
- package/src/filiale/xinliansihui/pc/PaperVisitMain.vue +206 -0
- package/src/filiale/xinliansihui/pc.js +13 -0
- package/src/safecheck-android.js +12 -0
- package/src/safecheck.js +3 -0
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
:format="'yyyy-MM-dd'"
|
|
42
42
|
:show-rest-button="reset"
|
|
43
43
|
v-model="model.f_check_start"
|
|
44
|
-
condition="f_offsite_time
|
|
44
|
+
condition="f_offsite_time >= '{} 00:00:00'">
|
|
45
45
|
</datepicker>
|
|
46
46
|
</div>
|
|
47
47
|
<div class="form-group col-sm-2" >
|
|
@@ -340,6 +340,9 @@
|
|
|
340
340
|
<th>
|
|
341
341
|
<nobr>备注</nobr>
|
|
342
342
|
</th>
|
|
343
|
+
<th>
|
|
344
|
+
<nobr>安检备注</nobr>
|
|
345
|
+
</th>
|
|
343
346
|
<th>
|
|
344
347
|
<nobr>开户时间</nobr>
|
|
345
348
|
</th>
|
|
@@ -382,6 +385,7 @@
|
|
|
382
385
|
<td style="text-align: center">{{ row.f_offsite_time }}</td>
|
|
383
386
|
<td style="text-align: center">{{ row.f_checker_name }}</td>
|
|
384
387
|
<td style="text-align: center">{{ row.f_repair_approved_note }}</td>
|
|
388
|
+
<td style="text-align: center">{{ row.f_comments }}</td>
|
|
385
389
|
<td style="text-align: center">{{ row.f_gas_date }}</td>
|
|
386
390
|
<td style="text-align: center" v-show="$parent.$parent.$parent.safeAudit">{{ row.f_approved_by }}</td>
|
|
387
391
|
<td style="text-align: center" v-show="$parent.$parent.$parent.safeAudit">{{ row.f_approvedstart_time }}</td>
|
|
@@ -601,6 +605,9 @@ export default {
|
|
|
601
605
|
},
|
|
602
606
|
//获取省市区列表
|
|
603
607
|
getPcd(val){
|
|
608
|
+
if (!val){
|
|
609
|
+
return
|
|
610
|
+
}
|
|
604
611
|
this.pcds = [{label:'全部',value:''}]
|
|
605
612
|
new HttpResetClass().load("POST", `/api/af-safecheck/sql/safe_singleTable_OrderBy`,
|
|
606
613
|
{data:{items:"*",tablename:"t_pcd",orderitem:"id",condition:`f_orgid in ${val}`}},
|
|
@@ -165,7 +165,7 @@
|
|
|
165
165
|
class="select select_list"
|
|
166
166
|
:value.sync="planCondition.f_checker"
|
|
167
167
|
v-model="planCondition.f_checker"
|
|
168
|
-
@change="setProperty('checkplan','checkerid',planCondition.f_checker.id)"
|
|
168
|
+
@change="setProperty('checkplan','checkerid',planCondition.f_checker ? planCondition.f_checker.id : '')"
|
|
169
169
|
:options='getConList("checker")'
|
|
170
170
|
placeholder='请选择'
|
|
171
171
|
close-on-select
|
|
@@ -602,8 +602,14 @@
|
|
|
602
602
|
this.createPlan.f_checker_id=null
|
|
603
603
|
this.createPlan.f_checker=null
|
|
604
604
|
}else{
|
|
605
|
-
this.createPlan.
|
|
606
|
-
|
|
605
|
+
if(this.createPlan.checker && this.createPlan.checker.id){
|
|
606
|
+
this.createPlan.f_checker_id=this.createPlan.checker.id
|
|
607
|
+
this.createPlan.f_checker=this.createPlan.checker.name
|
|
608
|
+
}else{
|
|
609
|
+
Vue.showMessage("请选择安检人员!")
|
|
610
|
+
this.isSend=false
|
|
611
|
+
return
|
|
612
|
+
}
|
|
607
613
|
}
|
|
608
614
|
console.log("this.createPlan.f_checker:"+this.createPlan.f_checker)
|
|
609
615
|
this.createPlan.f_plan_type='预约计划'
|
|
@@ -22,29 +22,18 @@
|
|
|
22
22
|
<input type="text" class="input_search" v-model="model.f_address"
|
|
23
23
|
style="width: 95%" placeholder="客户地址" condition="i.f_address like '%{}%'">
|
|
24
24
|
</div>
|
|
25
|
-
<div class="form-group col-sm-1" >
|
|
26
|
-
<
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
</
|
|
36
|
-
|
|
37
|
-
<div class="form-group col-sm-1" style="margin-left: 6px;margin-right: 6px;">
|
|
38
|
-
<datepicker
|
|
39
|
-
placeholder='创建结束'
|
|
40
|
-
:disabled-days-of-week="[]"
|
|
41
|
-
style="width:100%"
|
|
42
|
-
:format="'yyyy-MM-dd'"
|
|
43
|
-
:show-rest-button="reset"
|
|
44
|
-
:value.sync="model.f_endcreate_time"
|
|
45
|
-
v-model="model.f_endcreate_time"
|
|
46
|
-
condition="i.f_create_time <='{} 00:00:00'">
|
|
47
|
-
</datepicker>
|
|
25
|
+
<div class="form-group col-sm-1 upuserinfo_sel" >
|
|
26
|
+
<v-select v-model="model.f_meter_book_num"
|
|
27
|
+
:multiple="true" :options='$parent.$parent.checkBooks'
|
|
28
|
+
:value.sync="model.f_meter_book_num"
|
|
29
|
+
class="select select_list"
|
|
30
|
+
@select-search="$parent.$parent.select_book"
|
|
31
|
+
:width="'95%'"
|
|
32
|
+
:timeout="500"
|
|
33
|
+
placeholder='安检册选择'
|
|
34
|
+
condition="i.f_check_book_id in {}" >
|
|
35
|
+
</v-select>
|
|
36
|
+
|
|
48
37
|
</div>
|
|
49
38
|
<!--<div class="form-group col-sm-1" >
|
|
50
39
|
<v-select :width="'95%'"
|
|
@@ -137,6 +126,33 @@
|
|
|
137
126
|
condition="i.f_last_check_date <='{} 00:00:00'">
|
|
138
127
|
</datepicker>
|
|
139
128
|
</div>
|
|
129
|
+
<div class="form-group col-sm-4" >
|
|
130
|
+
<label class="font_normal_body">创建起始:</label>
|
|
131
|
+
<datepicker
|
|
132
|
+
placeholder='创建起始'
|
|
133
|
+
style="width:60%"
|
|
134
|
+
:disabled-days-of-week="[]"
|
|
135
|
+
:format="'yyyy-MM-dd'"
|
|
136
|
+
:show-rest-button="reset"
|
|
137
|
+
:value.sync="model.f_starcreate_time"
|
|
138
|
+
v-model="model.f_starcreate_time"
|
|
139
|
+
condition="i.f_create_time >='{} 00:00:00'">
|
|
140
|
+
</datepicker>
|
|
141
|
+
</div>
|
|
142
|
+
<div class="form-group col-sm-4" >
|
|
143
|
+
<label class="font_normal_body">创建起始:</label>
|
|
144
|
+
<datepicker
|
|
145
|
+
placeholder='创建起始'
|
|
146
|
+
:disabled-days-of-week="[]"
|
|
147
|
+
style="width:60%"
|
|
148
|
+
:format="'yyyy-MM-dd'"
|
|
149
|
+
:show-rest-button="reset"
|
|
150
|
+
:value.sync="model.f_endcreate_time"
|
|
151
|
+
v-model="model.f_endcreate_time"
|
|
152
|
+
condition="i.f_create_time <='{} 00:00:00'">
|
|
153
|
+
</datepicker>
|
|
154
|
+
</div>
|
|
155
|
+
|
|
140
156
|
<!-- <div class="form-group col-sm-4" >-->
|
|
141
157
|
<!-- <label class="font_normal_body">创建起始:</label>-->
|
|
142
158
|
<!-- <datepicker-->
|
|
@@ -235,6 +251,7 @@
|
|
|
235
251
|
opt:[{label:"测试",value:"测试"}],
|
|
236
252
|
showCondtion:false,
|
|
237
253
|
checkAll:false,
|
|
254
|
+
checkBooks:[],
|
|
238
255
|
checkes:[],
|
|
239
256
|
checkResults:[{label:'到访不遇',value:'到访不遇'},{label:'拒检',value:'拒检'},{label:'入户',value:'入户'}],
|
|
240
257
|
checkState:[{label:'全部',value:''},{label:'未检',value:'未检'},{label:'已检',value:'已检'}],
|
|
@@ -253,7 +270,7 @@
|
|
|
253
270
|
},
|
|
254
271
|
props:["selectplan","userlogin"],
|
|
255
272
|
ready(){
|
|
256
|
-
|
|
273
|
+
this.getCheckBook()
|
|
257
274
|
},
|
|
258
275
|
computed:{
|
|
259
276
|
exportParameter(){
|
|
@@ -265,6 +282,38 @@
|
|
|
265
282
|
}
|
|
266
283
|
},
|
|
267
284
|
methods:{
|
|
285
|
+
select_book(text){
|
|
286
|
+
//tag
|
|
287
|
+
let pcdText=text?` and f_check_book_name like '%${text}%'`:''
|
|
288
|
+
new HttpResetClass().load("POST", `${this.$androidUtil.getProxyUrl()}/api/af-safecheck/sql/safe_singleTable_OrderBy`, {data:{items:"*",tablename:"t_check_book",orderitem:"id",condition:`f_orgid = '${this.userlogin.orgid}' ${pcdText} `}}, {resolveMsg: null, rejectMsg: null}).then((res)=>{
|
|
289
|
+
//tag)
|
|
290
|
+
if(res.data.length>0){
|
|
291
|
+
this.checkBooks = []
|
|
292
|
+
res.data.forEach((result)=>{
|
|
293
|
+
this.checkBooks.push({label:result.f_check_book_name,value:result.id})
|
|
294
|
+
})
|
|
295
|
+
}
|
|
296
|
+
//tag)
|
|
297
|
+
})
|
|
298
|
+
},
|
|
299
|
+
getCheckBook(){
|
|
300
|
+
this.checkBooks=[]
|
|
301
|
+
new HttpResetClass().load('POST', `/api/af-safecheck/sql/safe_singleTable_OrderBy?pageNo=1&pageSize=1000`, {
|
|
302
|
+
data: {
|
|
303
|
+
items: 'id,f_check_book_name,f_check_book_type',
|
|
304
|
+
tablename: 't_check_book',
|
|
305
|
+
condition: `f_orgid = '${this.userlogin.orgid}'`,
|
|
306
|
+
orderitem: 'id desc'
|
|
307
|
+
}
|
|
308
|
+
}, {resolveMsg: null, rejectMsg: null}).then(res => {
|
|
309
|
+
res.data.forEach(ress => {
|
|
310
|
+
this.checkBooks.push({
|
|
311
|
+
label: ress.f_check_book_name,
|
|
312
|
+
value: ress.id
|
|
313
|
+
})
|
|
314
|
+
})
|
|
315
|
+
})
|
|
316
|
+
},
|
|
268
317
|
clear(){
|
|
269
318
|
this.model.f_plan_id = '';
|
|
270
319
|
this.model.f_userinfo_code = '';
|
|
@@ -290,6 +290,21 @@
|
|
|
290
290
|
condition="ui.f_uservent_date <= '{} 23:59:59'">
|
|
291
291
|
</datepicker>
|
|
292
292
|
</div>
|
|
293
|
+
<div class="form-group col-sm-4">
|
|
294
|
+
<label class="font_normal_body">单位名称:</label>
|
|
295
|
+
<v-select
|
|
296
|
+
class="select select_list"
|
|
297
|
+
:value.sync="model.civill_name"
|
|
298
|
+
v-model="model.civill_name"
|
|
299
|
+
:options='$parent.$parent.civill_names'
|
|
300
|
+
placeholder='请选择'
|
|
301
|
+
condition="ci.f_user_name = '{}'"
|
|
302
|
+
:search="true"
|
|
303
|
+
close-on-select
|
|
304
|
+
value-single
|
|
305
|
+
>
|
|
306
|
+
</v-select>
|
|
307
|
+
</div>
|
|
293
308
|
</div>
|
|
294
309
|
</div>
|
|
295
310
|
<div slot="modal-footer" class="modal-footer" style="text-align: center">
|
|
@@ -334,6 +349,7 @@
|
|
|
334
349
|
<th title="最后一次安检日期"><nobr>安检日期</nobr></th>
|
|
335
350
|
<th><nobr>首次通气时间</nobr></th>
|
|
336
351
|
<th><nobr>详细地址</nobr></th>
|
|
352
|
+
<th><nobr>单位名称</nobr></th>
|
|
337
353
|
</tr>
|
|
338
354
|
</template>
|
|
339
355
|
<template partial='body'>
|
|
@@ -351,6 +367,7 @@
|
|
|
351
367
|
<td style="text-align: center"><nobr>{{row.f_last_check_date}}</nobr></td>
|
|
352
368
|
<td style="text-align: center"><nobr>{{row.f_uservent_date}}</nobr></td>
|
|
353
369
|
<td style="text-align: center"><nobr>{{row.f_address}}</nobr></td>
|
|
370
|
+
<td style="text-align: center"><nobr>{{row.civill_name}}</nobr></td>
|
|
354
371
|
</template>
|
|
355
372
|
</data-grid>
|
|
356
373
|
</criteria-paged>
|
|
@@ -382,6 +399,7 @@
|
|
|
382
399
|
gasproperties:[],//用气性质
|
|
383
400
|
meter_classifys:[],//气表类型
|
|
384
401
|
hasHousehold:[{label:"全部",value:""},{label:"已入户",value:"已入户"},{label:"未入户",value:"未入户"}],
|
|
402
|
+
civill_names:[{label:"全部",value:""}],
|
|
385
403
|
yearCheckList:[{label:"全部",value:""},{label:"已在计划中",value:"ua.f_plan_id is not null"},{label:"未在计划中",value:"ua.f_plan_id is null"}],
|
|
386
404
|
entry_status: this.$appdata.getParam('安检状态')?[{label: '全部', value: ''}, ...this.$appdata.getParam('安检状态')]:[{label: '全部', value: ''}],
|
|
387
405
|
sliceArea:[],
|
|
@@ -399,11 +417,29 @@
|
|
|
399
417
|
props:["selectplan","userlogin"],
|
|
400
418
|
ready(){
|
|
401
419
|
this.getCheckBook()
|
|
420
|
+
this.getCivillNames()
|
|
402
421
|
this.setConList()
|
|
403
422
|
this.loadpage()
|
|
404
423
|
document.addEventListener('keydown', this.handleEnter, true);
|
|
405
424
|
},
|
|
406
425
|
methods: {
|
|
426
|
+
getCivillNames(){
|
|
427
|
+
new HttpResetClass().load('POST', `/api/af-safecheck/sql/safe_singleTable_OrderBy?pageNo=1&pageSize=1000`, {
|
|
428
|
+
data: {
|
|
429
|
+
items: 'f_user_name',
|
|
430
|
+
tablename: 't_civill',
|
|
431
|
+
condition: `f_orgid = '${this.userlogin.orgid}'`,
|
|
432
|
+
orderitem: 'id desc'
|
|
433
|
+
}
|
|
434
|
+
}, {resolveMsg: null, rejectMsg: null}).then(res => {
|
|
435
|
+
res.data.forEach(ress => {
|
|
436
|
+
this.civill_names.push({
|
|
437
|
+
label: ress.f_user_name,
|
|
438
|
+
value: ress.f_user_name
|
|
439
|
+
})
|
|
440
|
+
})
|
|
441
|
+
})
|
|
442
|
+
},
|
|
407
443
|
clearcon(){
|
|
408
444
|
this.$refs.paged.$refs.criteria.model.f_userinfo_code = ''
|
|
409
445
|
this.$refs.paged.$refs.criteria.model.f_meternumber = ''
|
|
@@ -8,6 +8,7 @@ let specialComp = {
|
|
|
8
8
|
'check-plan-list': (resolve) => {require(['./pc/checkPlanList.vue'], resolve)},
|
|
9
9
|
'plan-manage': (resolve) => {require(['./pc/PlanManage.vue'], resolve)},
|
|
10
10
|
'check-book-list': (resolve) => {require(['./pc/CheckBookList.vue'], resolve)},
|
|
11
|
+
'new-check-paper': (resolve) => {require(['./pc/NewCheckpaper'], resolve)},
|
|
11
12
|
'select-check-plan': (resolve) => {require(['./pc/SelectCheckPlan.vue'], resolve)}
|
|
12
13
|
|
|
13
14
|
}
|