safecheck-client 3.0.32 → 3.0.33-2
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 +133 -133
- package/src/App.vue +31 -31
- package/src/assets//345/215/225/345/205/203/345/217/267.png +0 -0
- package/src/assets//345/234/260/345/235/200.png +0 -0
- package/src/assets//345/247/223/345/220/215.png +0 -0
- package/src/assets//345/260/217/345/214/272.png +0 -0
- package/src/assets//345/260/217/345/214/272/350/223/235/350/211/262.png +0 -0
- package/src/assets//345/272/225/346/225/260.png +0 -0
- package/src/assets//346/210/267/347/274/226/345/217/267.png +0 -0
- package/src/assets//346/245/274/345/217/267.png +0 -0
- package/src/assets//346/245/274/345/261/202.png +0 -0
- package/src/assets//350/241/250/347/261/273/345/236/213.png +0 -0
- package/src/assets//351/227/250/347/211/214/345/217/267.png +0 -0
- package/src/components/android/AndroidDefectDeal.vue +5 -5
- package/src/components/android/PhoneUpUserinfo.vue +6 -0
- package/src/components/android/SafecheckOrderV.vue +4 -1
- package/src/components/map/checkScreen.vue +1 -1
- package/src/components/planmanage/checkPlanList.vue +3 -3
- package/src/components/rongcheng/AspiratedDevices.vue +34 -1
- package/src/components/rongcheng/DefectPaper.vue +4 -1
- package/src/components/rongcheng/SafecheckDevices.vue +34 -1
- package/src/components/rongcheng/SafecheckOrderV.vue +1 -0
- package/src/components/rongcheng/SafecheckUserInfo.vue +17 -0
- package/src/filiale/Util.js +7 -0
- package/src/filiale/ankangyihua/android/AndroidDefectDeal.vue +1 -1
- package/src/filiale/ankangyihua/android/CurrentCreate.vue +1 -1
- package/src/filiale/bayan/pc/NewCheckpaper.vue +1 -1
- package/src/filiale/dexin/android/CasualSave.vue +1050 -0
- package/src/filiale/dexin/android/SafecheckDevices.vue +4 -4
- package/src/filiale/dexin/android/SafecheckOrderV.vue +2407 -2355
- package/src/filiale/dexin/android/WebMeterOpen.vue +377 -0
- package/src/filiale/dexin/android/WebMeterOpenEdit.vue +225 -0
- package/src/filiale/dexin/android.js +4 -1
- package/src/filiale/fugou/pc/AddToCheckBook.vue +160 -0
- package/src/filiale/fugou/pc/CheckBook.vue +301 -0
- package/src/filiale/fugou/pc/CheckBookAll.vue +67 -0
- package/src/filiale/fugou/pc/CheckBookArea.vue +146 -0
- package/src/filiale/fugou/pc/CheckBookCompany.vue +144 -0
- package/src/filiale/fugou/pc/CheckBookDetails.vue +161 -0
- package/src/filiale/fugou/pc/CheckBookEntry.vue +66 -0
- package/src/filiale/fugou/pc/CheckBookList.vue +366 -0
- package/src/filiale/fugou/pc/CheckBookSearchArea.vue +560 -0
- package/src/filiale/fugou/pc/CheckBookSearchUnit.vue +229 -0
- package/src/filiale/fugou/pc/CheckBookSearchUser.vue +651 -0
- package/src/filiale/fugou/pc/CheckBookSearchUserList.vue +674 -0
- package/src/filiale/fugou/pc/CheckBookUser.vue +101 -0
- package/src/filiale/fugou/pc/DefectPaperNew.vue +1 -1
- package/src/filiale/fugou/pc/PaperDefectMain.vue +22 -1
- package/src/filiale/fugou/pc/PlanManage.vue +1007 -0
- package/src/filiale/fugou/pc/checkPlanList.vue +371 -0
- package/src/filiale/fugou/pc/checkUserList.vue +20 -120
- package/src/filiale/fugou/pc.js +60 -5
- package/src/filiale/jingyang/android/AddPlanItem.vue +246 -246
- package/src/filiale/jingyang/android/CurrentCreate.vue +18 -18
- package/src/filiale/jingyang/android/SafecheckOrderV.vue +2281 -2281
- package/src/filiale/jingyang/android/SafecheckUserInfo.vue +1 -0
- package/src/filiale/jingyang/android.js +4 -0
- package/src/filiale/kelai/android/SafecheckDevices.vue +1 -1
- package/src/filiale/qianneng/pc/NewCheckpaper.vue +1 -1
- package/src/filiale/qingjian/android/SafecheckOrderV.vue +1 -0
- package/src/filiale/qingjian/android/SafecheckUserInfo.vue +4 -0
- package/src/filiale/rongchuang/android/SafecheckDevices.vue +1680 -0
- package/src/filiale/rongchuang/android/SafecheckOrderV.vue +975 -488
- package/src/filiale/rongchuang/pc/NewCheckpaper.vue +111 -48
- package/src/filiale/shanxian/android/SafecheckOrderV.vue +1 -1
- package/src/filiale/shexian/pc/PaperList.vue +822 -0
- package/src/filiale/shexian/pc.js +1 -0
- package/src/filiale/tongchuan/pc/CheckPlanCountChartArea.vue +1 -1
- package/src/filiale/wensu/android/CurrentCreate.vue +1 -1
- package/src/filiale/wensu/pc/CheckSearchUser.vue +58 -53
- package/src/filiale/wensu/pc/DefectPaperNew.vue +15 -9
- package/src/filiale/wensu/pc/PlanManage.vue +831 -0
- package/src/filiale/wensu/pc/PrintMaterialBill.vue +28 -11
- package/src/filiale/wensu/pc/RoleSelector.vue +2 -2
- package/src/filiale/wensu/pc/SelectCheckPlan.vue +208 -168
- package/src/filiale/wensu/pc/checkUserList.vue +5 -1
- package/src/filiale/wensu/pc.js +20 -19
- package/src/filiale/yangchunboneng/android/CurrentCreate.vue +6 -2
- package/src/filiale/yangchunboneng/android/SafecheckOrderV.vue +3 -3
- package/src/filiale/yangchunboneng/android/SafecheckUserInfo.vue +1 -1
- package/src/filiale/yangchunboneng/pc/CheckBookUser.vue +3 -3
- package/src/filiale/yongzhou/pc/safeStatistics.vue +1 -0
- package/src/filiale/yongzhou/pc/safeStatisticsYear.vue +1 -0
- package/src/filiale/yunchengminsheng/android/SafecheckDevices.vue +3 -0
- package/src/filiale/zhongyi/pc/DefectListNew.vue +6 -6
- package/src/main.js +33 -33
- package/static/stretch_bottom.png +0 -0
- package/static/stretch_top.png +0 -0
@@ -7,6 +7,7 @@ let specialComp = {
|
|
7
7
|
'safe-defect-paper-new': (resolve) => { require(['./pc/DefectPaperNew'], resolve) },
|
8
8
|
'safe-defect-list-new': (resolve) => { require(['./pc/DefectListNew'], resolve) },
|
9
9
|
'paper-defect-main': (resolve) => { require(['./pc/PaperDefectMain'], resolve) },
|
10
|
+
'paper-main': (resolve) => { require(['./pc/PaperList'], resolve) },
|
10
11
|
}
|
11
12
|
exports.specialComp = specialComp
|
12
13
|
|
@@ -49,15 +49,15 @@
|
|
49
49
|
</div>
|
50
50
|
<div class="row" v-show="!$parent.$parent.$parent.showItem">
|
51
51
|
<div :class="$parent.$parent.style" v-show="$parent.$parent.criteriaShow">
|
52
|
-
<label class="font_normal_body"
|
52
|
+
<label class="font_normal_body">用气类型</label>
|
53
53
|
<v-select id="f_usertype"
|
54
|
-
placeholder='
|
54
|
+
placeholder='用气类型'
|
55
55
|
class="select select_list"
|
56
|
-
:value.sync="model.
|
56
|
+
:value.sync="model.f_gasproperties"
|
57
57
|
:value-single="true"
|
58
|
-
:options='$parent.$parent.
|
59
|
-
v-model="model.
|
60
|
-
condition="
|
58
|
+
:options='$parent.$parent.gasproperties'
|
59
|
+
v-model="model.f_gasproperties"
|
60
|
+
condition="f_gasproperties = '{}'"
|
61
61
|
close-on-select clear-button></v-select>
|
62
62
|
</div>
|
63
63
|
<!-- <div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow && !$parent.$parent.$parent.showItem"></div>-->
|
@@ -183,25 +183,25 @@
|
|
183
183
|
:value-single="true">
|
184
184
|
</v-select>
|
185
185
|
</div>
|
186
|
+
<!-- <div :class="$parent.$parent.style" v-show="$parent.$parent.criteriaShow">-->
|
187
|
+
<!-- <label class="font_normal_body">用户性质</label>-->
|
188
|
+
<!-- <v-select class="select_list select"-->
|
189
|
+
<!-- placeholder='用户性质' style="width: 60%"-->
|
190
|
+
<!-- :value.sync="model.f_gasproperties" v-model="model.f_gasproperties"-->
|
191
|
+
<!-- :options='$parent.$parent.gasproperties'-->
|
192
|
+
<!-- close-on-select clear-button-->
|
193
|
+
<!-- condition="f_gasproperties = '{}'"-->
|
194
|
+
<!-- :value-single="true">-->
|
195
|
+
<!-- </v-select>-->
|
196
|
+
<!-- </div>-->
|
186
197
|
<div :class="$parent.$parent.style" v-show="$parent.$parent.criteriaShow">
|
187
|
-
<label class="font_normal_body"
|
188
|
-
<v-select class="select_list select"
|
189
|
-
placeholder='用户性质' style="width: 60%"
|
190
|
-
:value.sync="model.f_gasproperties" v-model="model.f_gasproperties"
|
191
|
-
:options='$parent.$parent.gasproperties'
|
192
|
-
close-on-select clear-button
|
193
|
-
condition="f_gasproperties = '{}'"
|
194
|
-
:value-single="true">
|
195
|
-
</v-select>
|
196
|
-
</div>
|
197
|
-
<div :class="$parent.$parent.style" v-show="$parent.$parent.criteriaShow">
|
198
|
-
<label class="font_normal_body">片区</label>
|
198
|
+
<label class="font_normal_body">开户网点</label>
|
199
199
|
<v-select class="select_list select"
|
200
|
-
placeholder='
|
200
|
+
placeholder='开户网点' style="width: 60%"
|
201
201
|
:value.sync="model.f_outlets" v-model="model.f_outlets"
|
202
202
|
:options='$parent.$parent.userareas'
|
203
203
|
close-on-select clear-button
|
204
|
-
condition="
|
204
|
+
condition=" f_khwd = '{}'"
|
205
205
|
:value-single="true">
|
206
206
|
</v-select>
|
207
207
|
</div>
|
@@ -251,16 +251,16 @@
|
|
251
251
|
placeholder="地址" condition="f_address like '%{}%'">
|
252
252
|
</div>
|
253
253
|
<div :class="$parent.$parent.style" v-show="$parent.$parent.criteriaShow">
|
254
|
-
<label class="font_normal_body"
|
254
|
+
<label class="font_normal_body">用气类型</label>
|
255
255
|
<v-select
|
256
|
-
placeholder='
|
256
|
+
placeholder='用气类型'
|
257
257
|
class="select select_list"
|
258
258
|
|
259
|
-
:value.sync="model.
|
259
|
+
:value.sync="model.f_gasproperties"
|
260
260
|
:value-single="true"
|
261
|
-
:options='$parent.$parent.
|
262
|
-
v-model="model.
|
263
|
-
condition="
|
261
|
+
:options='$parent.$parent.gasproperties'
|
262
|
+
v-model="model.f_gasproperties"
|
263
|
+
condition="f_gasproperties = '{}'"
|
264
264
|
close-on-select clear-button></v-select>
|
265
265
|
</div>
|
266
266
|
<!-- <div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow && !$parent.$parent.$parent.showItem"></div>-->
|
@@ -362,7 +362,10 @@
|
|
362
362
|
<!-- <nobr>气表品牌</nobr>-->
|
363
363
|
<!-- </th>-->
|
364
364
|
<th>
|
365
|
-
<nobr
|
365
|
+
<nobr>用气类型</nobr>
|
366
|
+
</th>
|
367
|
+
<th>
|
368
|
+
<nobr>开户网点</nobr>
|
366
369
|
</th>
|
367
370
|
<!-- <th>-->
|
368
371
|
<!-- <nobr>壁挂炉</nobr>-->
|
@@ -403,7 +406,8 @@
|
|
403
406
|
<td v-bind:class="{newcolor:row.code==1}" style="text-align: center;">{{ row.f_user_phone }}</td>
|
404
407
|
<td v-bind:class="{newcolor:row.code==1}" style="text-align: center;">{{row.f_meternumber}}</td>
|
405
408
|
<!-- <td v-bind:class="{newcolor:row.code==1}" style="text-align: center;">{{row.f_meter_brand}}</td>-->
|
406
|
-
<td v-bind:class="{newcolor:row.code==1}" style="text-align: center">{{ row.
|
409
|
+
<td v-bind:class="{newcolor:row.code==1}" style="text-align: center">{{ row.f_gasproperties }}</td>
|
410
|
+
<td v-bind:class="{newcolor:row.code==1}" style="text-align: center">{{ row.f_khwd }}</td>
|
407
411
|
<!-- <td v-bind:class="{newcolor:row.code==1}" style="text-align: center">{{ row.f_safe_hasfurnace }}</td>-->
|
408
412
|
<!-- <td v-bind:class="{newcolor:row.code==1}" style="text-align: center">{{ row.f_safe_haskitchen }}</td>-->
|
409
413
|
<td v-bind:class="{newcolor:row.code==1}" style="text-align: center">{{ row.f_residential_area }}</td>
|
@@ -583,13 +587,14 @@ export default {
|
|
583
587
|
f_defect_content: "CASE WHEN CHARINDEX( '\"result\":\"正常\"', tp.f_defect_content ) > 0 THEN '正常' ELSE replace(replace(replace( replace( RIGHT ( tp.f_defect_content, len( tp.f_defect_content ) - 26 ), substring('{}',2,1), '' ), substring('{}',1,1), '' ),']',''),'\"','') END"
|
584
588
|
},
|
585
589
|
excelHeaders: {
|
586
|
-
//用户编号 用户名称 用户电话 安检次数
|
590
|
+
//用户编号 用户名称 用户电话 安检次数 用气类型 小区名称 地址 安检日期 安检状态 安检结果
|
587
591
|
|
588
592
|
'f_userinfo_code': '用户编号',
|
589
593
|
'f_user_name': '用户名称',
|
590
594
|
'f_user_phone': '用户电话',
|
591
595
|
'f_meternumber': '用户表号',
|
592
|
-
'
|
596
|
+
'f_gasproperties': '用气类型',
|
597
|
+
'f_khwd': '开户网点',
|
593
598
|
'f_checker_name': '安检员',
|
594
599
|
'f_residential_area': '小区名称',
|
595
600
|
'f_address': '地址',
|
@@ -606,7 +611,7 @@ export default {
|
|
606
611
|
orgstrs: [{label: '全部', value: ''}],
|
607
612
|
checkersid: [],
|
608
613
|
gasproperties:[],
|
609
|
-
userareas:[],
|
614
|
+
userareas:[{label: '全部', value: ''}, ...this.$appdata.getParam('开户网点')],
|
610
615
|
SafeCheckXZ: '',
|
611
616
|
civil: '', //民用安检周期
|
612
617
|
civilian: '', //非民用安检周期
|
@@ -684,7 +689,7 @@ export default {
|
|
684
689
|
this.Mreadibook(`('${this.$login.f.orgid}')`)
|
685
690
|
this.getAllMeterBook(`('${this.$login.f.orgid}')`)
|
686
691
|
this.getAllGasproperties()
|
687
|
-
this.getAllOutlets()
|
692
|
+
// this.getAllOutlets()
|
688
693
|
},
|
689
694
|
methods: {
|
690
695
|
async blacklist(){
|
@@ -920,10 +925,10 @@ export default {
|
|
920
925
|
}, ...this.$appdata.getParam('安检状态')] : [{label: '全部', value: ''}]
|
921
926
|
},
|
922
927
|
usertypes() {
|
923
|
-
return this.$appdata.getParam('
|
928
|
+
return this.$appdata.getParam('用气类型') ? [{
|
924
929
|
label: '全部',
|
925
930
|
value: ''
|
926
|
-
}, ...this.$appdata.getParam('
|
931
|
+
}, ...this.$appdata.getParam('用气类型')] : [{label: '全部', value: ''}]
|
927
932
|
},
|
928
933
|
userstates() {
|
929
934
|
return this.$appdata.getParam('用户状态') ? [{
|
@@ -1082,25 +1087,25 @@ export default {
|
|
1082
1087
|
})
|
1083
1088
|
})
|
1084
1089
|
},
|
1085
|
-
getAllOutlets(){
|
1086
|
-
|
1087
|
-
|
1088
|
-
|
1089
|
-
|
1090
|
-
|
1091
|
-
|
1092
|
-
|
1093
|
-
|
1094
|
-
|
1095
|
-
|
1096
|
-
|
1097
|
-
|
1098
|
-
|
1099
|
-
|
1100
|
-
|
1101
|
-
|
1102
|
-
|
1103
|
-
},
|
1090
|
+
// getAllOutlets(){
|
1091
|
+
// this.userareas=[{
|
1092
|
+
// label:'全部',
|
1093
|
+
// value:''
|
1094
|
+
// }]
|
1095
|
+
// new HttpResetClass().load('POST',`/rs/sql/tel_singleTable_GroupBy`, {data: {
|
1096
|
+
// items: 'f_outlets',
|
1097
|
+
// tablename: 't_user_address',
|
1098
|
+
// condition: `1=1`,
|
1099
|
+
// groupitem: 'f_outlets'
|
1100
|
+
// }}, {resolveMsg: null, rejectMsg: null}).then((res) => {
|
1101
|
+
// res.data.forEach(ress=>{
|
1102
|
+
// this.userareas.push({
|
1103
|
+
// label:ress.f_outlets,
|
1104
|
+
// value:ress.f_outlets
|
1105
|
+
// })
|
1106
|
+
// })
|
1107
|
+
// })
|
1108
|
+
// },
|
1104
1109
|
getAllMeterBook(val){
|
1105
1110
|
////tag
|
1106
1111
|
////tag
|
@@ -101,9 +101,9 @@
|
|
101
101
|
</v-select>
|
102
102
|
</div>
|
103
103
|
<div :class="$parent.$parent.style">
|
104
|
-
<label class="font_normal_body"
|
104
|
+
<label class="font_normal_body">安检起始时间</label>
|
105
105
|
<datepicker
|
106
|
-
placeholder='
|
106
|
+
placeholder='安检起始时间' style="width:60%"
|
107
107
|
:disabled-days-of-week="[]"
|
108
108
|
:format="'yyyy-MM-dd'"
|
109
109
|
:show-rest-button="reset"
|
@@ -113,9 +113,9 @@
|
|
113
113
|
</datepicker>
|
114
114
|
</div>
|
115
115
|
<div :class="$parent.$parent.style">
|
116
|
-
<label class="font_normal_body"
|
116
|
+
<label class="font_normal_body">安检结束时间</label>
|
117
117
|
<datepicker
|
118
|
-
placeholder='
|
118
|
+
placeholder='安检结束时间' style="width:60%"
|
119
119
|
:disabled-days-of-week="[]"
|
120
120
|
:format="'yyyy-MM-dd'"
|
121
121
|
:show-rest-button="reset"
|
@@ -300,9 +300,9 @@
|
|
300
300
|
</v-select>
|
301
301
|
</div>
|
302
302
|
<div :class="$parent.$parent.style">
|
303
|
-
<label class="font_normal_body"
|
303
|
+
<label class="font_normal_body">安检起始时间</label>
|
304
304
|
<datepicker
|
305
|
-
placeholder='
|
305
|
+
placeholder='安检起始时间' style="width:60%"
|
306
306
|
:disabled-days-of-week="[]"
|
307
307
|
:format="'yyyy-MM-dd'"
|
308
308
|
:show-rest-button="reset"
|
@@ -312,9 +312,9 @@
|
|
312
312
|
</datepicker>
|
313
313
|
</div>
|
314
314
|
<div :class="$parent.$parent.style">
|
315
|
-
<label class="font_normal_body"
|
315
|
+
<label class="font_normal_body">安检结束时间</label>
|
316
316
|
<datepicker
|
317
|
-
placeholder='
|
317
|
+
placeholder='安检结束时间' style="width:60%"
|
318
318
|
:disabled-days-of-week="[]"
|
319
319
|
:format="'yyyy-MM-dd'"
|
320
320
|
:show-rest-button="reset"
|
@@ -430,6 +430,12 @@
|
|
430
430
|
{{row.f_repair_date}}
|
431
431
|
</td>
|
432
432
|
</template>
|
433
|
+
<template partial="foot">
|
434
|
+
<td style="text-align: center" colspan="11"><span><b>合计:</b></span></td>
|
435
|
+
<td style="text-align: center">{{model.sums.f_defect_count}}</td>
|
436
|
+
<td style="text-align: center">{{model.sums.f_deal_count}}</td>
|
437
|
+
<td style="text-align: center">{{model.sums.f_defect_count-model.sums.f_deal_count}}</td>
|
438
|
+
</template>
|
433
439
|
</data-grid>
|
434
440
|
</criteria-paged>
|
435
441
|
|
@@ -553,7 +559,7 @@ export default {
|
|
553
559
|
data () {
|
554
560
|
let model = new PagedList('rs/sql/GetCheckPaperByDefectNew2', 20, {
|
555
561
|
f_filialeids: 'this.f_filialeids', f_defect_content: 'this.f_defect_content'
|
556
|
-
})
|
562
|
+
},{f_defect_count:'',f_deal_count:''})
|
557
563
|
model.f_filialeids = '(' + this.$login.f.orgid + ')'
|
558
564
|
model.f_defect_content = 'CASE WHEN CHARINDEX( \'"result":"正常"\', f_defect_content ) > 0 THEN \'无隐患\' ELSE replace(replace(replace( replace( RIGHT ( f_defect_content, len( f_defect_content ) - 26 ), substring(\'{}\',2,1), \'\' ), substring(\'{}\',1,1), \'\' ),\']\',\'\'),\'"\',\'\') END'
|
559
565
|
return {
|