safecheck-client 3.0.33-16 → 3.0.33-160
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/index.html +6 -2
- package/package.json +133 -133
- package/src/App.vue +2 -2
- package/src/components/Util/ImgSelfSafePlus.vue +19 -10
- package/src/components/Util.js +7 -0
- package/src/components/android/AreaPlan.vue +2 -1
- package/src/components/android/CurrentCreate.vue +1 -1
- package/src/components/android/ImgSelfAndroid.vue +1 -1
- package/src/components/android/SafecheckDevices.vue +5 -1
- package/src/components/android/SafecheckOrderV.vue +18 -12
- package/src/components/map/checkScreen.vue +27 -21
- package/src/components/paper/PlanChooser.vue +4 -2
- package/src/components/pc/NewCheckpaper.vue +11 -8
- package/src/components/planmanage/PlanManage.vue +14 -4
- package/src/components/planmanage/checkPlanList.vue +2 -1
- package/src/components/planmanage/checkUserList.vue +2 -0
- package/src/components/report/HiddenSituation.vue +3 -3
- package/src/components/rongcheng/AspiratedPaperFeedbackm.vue +28 -2
- package/src/components/rongcheng/AspiratedPaperMessage.vue +1 -1
- package/src/components/rongcheng/DefectPaper.vue +1 -1
- package/src/components/rongcheng/PaperListNPSQ.vue +36 -1
- package/src/components/rongcheng/PaperListSQ.vue +32 -11
- package/src/components/rongcheng/PhoneUpUserinfo.vue +939 -802
- package/src/components/rongcheng/SafecheckOrderV.vue +1 -1
- package/src/components/rongcheng/report/CheckPlanAreaList.vue +1 -3
- package/src/components/safecheckNew/PaperList.vue +785 -0
- package/src/components/safecheckNew/android/AddPlanItem.vue +419 -0
- package/src/components/safecheckNew/android/AreaPlan.vue +561 -0
- package/src/components/safecheckNew/android/CurrentCreate.vue +1050 -0
- package/src/components/safecheckNew/android/Recheck.vue +379 -0
- package/src/components/safecheckNew/android/SafecheckDevices.vue +1400 -0
- package/src/components/safecheckNew/android/SafecheckOrderV.vue +2692 -0
- package/src/filiale/Util.js +5 -0
- package/src/filiale/baiyin/android/AndroidDefectDeal.vue +633 -0
- package/src/filiale/baiyin/android.js +10 -0
- package/src/filiale/baiyin/pc/PaperList.vue +790 -0
- package/src/filiale/baiyin/pc/PlanChooser.vue +167 -0
- package/src/filiale/baiyin/pc/PlanManage.vue +834 -0
- package/src/filiale/baiyin/pc/RightTreeSafe.vue +348 -0
- package/src/filiale/baiyin/pc/RoleSelector.vue +160 -0
- package/src/filiale/baiyin/pc.js +17 -0
- package/src/filiale/bayan/android/AddPlanItem.vue +7 -2
- package/src/filiale/bayan/android/CheckPlanDown.vue +249 -0
- package/src/filiale/bayan/android/SafecheckOrderV.vue +20 -7
- package/src/filiale/bayan/android/SafecheckUserInfo.vue +566 -514
- package/src/filiale/bayan/android.js +1 -0
- package/src/filiale/bayan/pc/CheckDetail.vue +205 -0
- package/src/filiale/bayan/pc/CheckPlan.vue +59 -0
- package/src/filiale/bayan/pc/CheckPlanAreaList.vue +565 -0
- package/src/filiale/bayan/pc/CheckSearchUser.vue +1110 -0
- package/src/filiale/bayan/pc/DefectListNew.vue +597 -0
- package/src/filiale/bayan/pc/DefectMainNew.vue +63 -0
- package/src/filiale/bayan/pc/DefectPaperNew.vue +1218 -0
- package/src/filiale/bayan/pc/DeviceChange.vue +1838 -0
- package/src/filiale/bayan/pc/HiddenSituation.vue +256 -0
- package/src/filiale/bayan/pc/NewCheckpaper.vue +31 -1
- package/src/filiale/bayan/pc/PaperList.vue +119 -12
- package/src/filiale/bayan/pc/PlanManage.vue +29 -8
- package/src/filiale/bayan/pc/SelectCheckPlan.vue +333 -0
- package/src/filiale/bayan/pc.js +7 -0
- package/src/filiale/dexin/android/SafecheckOrderV.vue +123 -24
- package/src/filiale/fugou/android/SafecheckOrderV.vue +2796 -0
- package/src/filiale/fugou/android.js +2 -1
- package/src/filiale/fugou/pc/AddToCheckBook.vue +13 -14
- package/src/filiale/fugou/pc/CheckBook.vue +2 -0
- package/src/filiale/fugou/pc/CheckBookEntry.vue +2 -6
- package/src/filiale/fugou/pc/CheckBookList.vue +2 -2
- package/src/filiale/fugou/pc/CheckBookSearchUser.vue +35 -18
- package/src/filiale/fugou/pc/CheckBookUser.vue +102 -45
- package/src/filiale/fugou/pc/DefectPaperNew.vue +10 -6
- package/src/filiale/fugou/pc/PaperDefectMain.vue +12 -6
- package/src/filiale/fugou/pc/PaperList.vue +14 -6
- package/src/filiale/fugou/pc/PlanManage.vue +62 -8
- package/src/filiale/fugou/pc/checkUserList.vue +36 -35
- package/src/filiale/hanzhong/pc/CheckHiddenDanger.vue +15 -5
- package/src/filiale/hanzhong/pc/CheckSafeDetail.vue +12 -2
- package/src/filiale/hanzhong/pc/CheckSafeStatus.vue +12 -3
- package/src/filiale/hanzhong/pc/CheckSearchUser.vue +13 -0
- package/src/filiale/hanzhong/pc/CheckUserList.vue +30 -11
- package/src/filiale/hanzhong/pc/CheckerSafeDetail.vue +11 -2
- package/src/filiale/jingyang/pc/ReportCheckItemList.vue +543 -0
- package/src/filiale/jingyang/pc.js +1 -0
- package/src/filiale/kelai/pc/CheckPlanAreaList.vue +2 -22
- package/src/filiale/liaoyuan/pc/checkPlanList.vue +373 -0
- package/src/filiale/liaoyuan/pc.js +2 -1
- package/src/filiale/qianneng/pc/PaperList.vue +31 -1
- package/src/filiale/qingjian/android/PhoneUpUserinfo.vue +7 -5
- package/src/filiale/qingjian/android/SafecheckOrderV.vue +66 -1
- package/src/filiale/rongchuang/android/SafecheckDevices.vue +468 -748
- package/src/filiale/rongchuang/android/SafecheckOrderV.vue +984 -1234
- package/src/filiale/rongchuang/android.js +1 -0
- package/src/filiale/rongchuang/pc/NewCheckpaper.vue +294 -305
- package/src/filiale/rongchuang/pc/PaperList.vue +812 -0
- package/src/filiale/rongchuang/pc.js +1 -0
- package/src/filiale/siyang/android/PhoneRecordInfo.vue +214 -0
- package/src/filiale/siyang/android/SafecheckOrderV.vue +2796 -0
- package/src/filiale/siyang/android/SafecheckUserInfo.vue +789 -0
- package/src/filiale/siyang/android.js +11 -0
- package/src/filiale/siyang/pc/PaperDefectMain.vue +864 -0
- package/src/filiale/siyang/pc/PaperList.vue +834 -0
- package/src/filiale/siyang/pc/PlanManage.vue +839 -0
- package/src/filiale/siyang/pc/checkUserList.vue +781 -0
- package/src/filiale/siyang/pc.js +15 -0
- package/src/filiale/tianke/pc/checkScreen.vue +36 -31
- package/src/filiale/tongchuan/android/PhoneUpUserinfo.vue +60 -2
- package/src/filiale/tongchuan/android/SafecheckOrderV.vue +2 -3
- package/src/filiale/tongchuan/pc/NewCheckpaper.vue +1 -1
- package/src/filiale/tongchuan/pc/checkUserList.vue +2 -2
- package/src/filiale/weinan/android/PaperFeedback.vue +8 -8
- package/src/filiale/weinan/android/SafecheckDevices.vue +6 -2
- package/src/filiale/weinan/android/SafecheckOrderV.vue +16 -2
- package/src/filiale/weinan/android/SafecheckUserInfo.vue +7 -2
- package/src/filiale/weinan/pc/CheckSearchUser.vue +1078 -0
- package/src/filiale/weinan/pc/DefectListNew.vue +617 -0
- package/src/filiale/weinan/pc/DefectMainNew.vue +1 -1
- package/src/filiale/weinan/pc/DefectPaperNew.vue +7 -1
- package/src/filiale/weinan/pc.js +2 -0
- package/src/filiale/wenxi/android/CurrentCreate.vue +1055 -1055
- package/src/filiale/wenxi/android/PhoneUpUserinfo.vue +1 -1
- package/src/filiale/wenxi/android/SafecheckUserInfo.vue +85 -63
- package/src/filiale/wenxi/pc/NewCheckpaper.vue +1358 -1358
- package/src/filiale/wenxi/pc/PaperDefectMain.vue +790 -790
- package/src/filiale/yangchunboneng/android/AddPlanItem.vue +46 -1
- package/src/filiale/yangchunboneng/android/CurrentCreate.vue +45 -4
- package/src/filiale/yangchunboneng/android/DailyworkloadQuery.vue +2 -2
- package/src/filiale/yangchunboneng/android/NewCheckpaperAndroid.vue +20 -20
- package/src/filiale/yangchunboneng/android/PaperFeedback.vue +3 -3
- package/src/filiale/yangchunboneng/android/PhoneUpUserinfo.vue +1235 -0
- package/src/filiale/yangchunboneng/android/SafecheckDevices.vue +5 -5
- package/src/filiale/yangchunboneng/android/SafecheckOrderV.vue +17 -4
- package/src/filiale/yangchunboneng/android/SafecheckUserInfo.vue +30 -12
- package/src/filiale/yangchunboneng/android/safeHistoryLook.vue +2 -1
- package/src/filiale/yangchunboneng/android.js +1 -0
- package/src/filiale/yangchunboneng/pc/CheckBookList.vue +4 -4
- package/src/filiale/yangchunboneng/pc/CheckBookSearchUser.vue +76 -32
- package/src/filiale/yangchunboneng/pc/CheckBookUser.vue +72 -1
- package/src/filiale/yangchunboneng/pc/CheckSearchUser.vue +187 -13
- package/src/filiale/yangchunboneng/pc/PaperDefectMain.vue +98 -3
- package/src/filiale/yangchunboneng/pc/PaperList.vue +17 -0
- package/src/filiale/yongzhou/android/PaperFeedback.vue +1 -1
- package/src/filiale/yongzhou/android/SafecheckOrderV.vue +221 -256
- package/src/filiale/yongzhou/pc/CheckPlan.vue +59 -0
- package/src/filiale/yongzhou/pc/CheckSearchUser.vue +1 -1
- package/src/filiale/yongzhou/pc/DefectPaperNew.vue +1105 -0
- package/src/filiale/yongzhou/pc/NoCheckplanSafecheck.vue +412 -107
- package/src/filiale/yongzhou/pc/PaperDefectMain.vue +872 -0
- package/src/filiale/yongzhou/pc/PaperList.vue +1 -1
- package/src/filiale/yongzhou/pc/SelectCheckPlan.vue +364 -0
- package/src/filiale/yongzhou/pc/communityTypeDetailG.vue +56 -125
- package/src/filiale/yongzhou/pc/communityTypeDetailM.vue +94 -187
- package/src/filiale/yongzhou/pc/safeDetail.vue +311 -20
- package/src/filiale/yongzhou/pc/safeStatistics.vue +74 -24
- package/src/filiale/yongzhou/pc/safeStatisticsDay.vue +2 -2
- package/src/filiale/yongzhou/pc/safeStatisticsMonth.vue +2 -2
- package/src/filiale/yongzhou/pc/safeStatisticsYear.vue +47 -23
- package/src/filiale/yongzhou/pc/safeTable.vue +3 -3
- package/src/filiale/yongzhou/pc.js +4 -0
- package/src/filiale/yuansheng/android/AndroidDefectDeal.vue +652 -0
- package/src/filiale/yuansheng/android.js +1 -0
- package/src/filiale/zhongsheng/android/CurrentCreate.vue +7 -2
- package/src/filiale/zhongsheng/pc/DefectPaperWeiXiu.vue +6 -2
- package/src/main.js +33 -33
- package/src/rongcheng.js +3 -1
- package/src/safecheck-android.js +6 -0
- package/src/safecheck.js +3 -0
@@ -0,0 +1,333 @@
|
|
1
|
+
<template>
|
2
|
+
<div>
|
3
|
+
<criteria-paged :model="model" v-ref:paged>
|
4
|
+
<criteria partial='criteria' class="search_area" @condition-changed='$parent.search' v-ref:cri>
|
5
|
+
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
6
|
+
<div class="row">
|
7
|
+
<div :class="{'form-group col-sm-6':$parent.$parent.$parent.showItem,'form-group col-sm-4':!$parent.$parent.$parent.showItem}" style="margin: 0">
|
8
|
+
<role-selector-safe
|
9
|
+
role-name="安检员"
|
10
|
+
role-lable="安 检 员"
|
11
|
+
@re-res="$parent.$parent.getRes"
|
12
|
+
:value.sync="model.f_checker_id"
|
13
|
+
v-model="model.f_checker_id">
|
14
|
+
</role-selector-safe>
|
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
|
+
<datepicker
|
19
|
+
:value.sync="$parent.$parent.f_check_start"
|
20
|
+
placeholder='起始月份' style="width:60%"
|
21
|
+
:disabled-days-of-week="[]"
|
22
|
+
:format="'yyyy-MM'"
|
23
|
+
:select-month="true"
|
24
|
+
:show-rest-button="reset">
|
25
|
+
</datepicker>
|
26
|
+
</div>
|
27
|
+
<div :class="{'form-group col-sm-3':$parent.$parent.$parent.showItem,'form-group col-sm-2':!$parent.$parent.$parent.showItem}">
|
28
|
+
<label class="font_normal_body">计划截止</label>
|
29
|
+
<datepicker
|
30
|
+
:value.sync="$parent.$parent.f_check_end"
|
31
|
+
placeholder='结束月份' style="width:60%"
|
32
|
+
:disabled-days-of-week="[]"
|
33
|
+
:format="'yyyy-MM'"
|
34
|
+
:select-month="true"
|
35
|
+
:show-rest-button="reset">
|
36
|
+
</datepicker>
|
37
|
+
</div>
|
38
|
+
<!--<div :class="{'form-group col-sm-3':$parent.$parent.$parent.showItem,'form-group col-sm-2':!$parent.$parent.$parent.showItem}" >
|
39
|
+
<label class="font_normal_body">安检状态</label>
|
40
|
+
<v-select :value.sync="model.f_last_check_state" :options='$parent.$parent.checkStates' placeholder='上次安检状态' close-on-select
|
41
|
+
style="width:60% " class="select select_list" v-model='model.f_last_check_state' condition="i.f_last_check_state = '{}'">
|
42
|
+
</v-select>
|
43
|
+
</div>-->
|
44
|
+
<div :class="{'form-group col-sm-3':$parent.$parent.$parent.showItem,'form-group col-sm-2':!$parent.$parent.$parent.showItem}">
|
45
|
+
<label class="font_normal_body">安检起始</label>
|
46
|
+
<datepicker
|
47
|
+
:value.sync="$parent.$parent.f_start_time"
|
48
|
+
placeholder='安检起始' style="width:60%"
|
49
|
+
:show-rest-button="reset">
|
50
|
+
</datepicker>
|
51
|
+
</div>
|
52
|
+
<div :class="{'form-group col-sm-3':$parent.$parent.$parent.showItem,'form-group col-sm-2':!$parent.$parent.$parent.showItem}">
|
53
|
+
<label class="font_normal_body">安检截止</label>
|
54
|
+
<datepicker
|
55
|
+
:value.sync="$parent.$parent.f_end_time"
|
56
|
+
placeholder='安检截止' style="width:60%"
|
57
|
+
:show-rest-button="reset">
|
58
|
+
</datepicker>
|
59
|
+
</div>
|
60
|
+
<div :class="{'form-group col-sm-3':$parent.$parent.$parent.isdetail,'form-group col-sm-2':!$parent.$parent.$parent.isdetail}">
|
61
|
+
<label class="font_normal_body">用户类型</label>
|
62
|
+
<v-select :value.sync="model.f_check_type" v-model='model.f_check_type'
|
63
|
+
:value-single="true" style="width: 60%"
|
64
|
+
class="select_list select"
|
65
|
+
:options='$parent.$parent.checktype' placeholder='客户类型'
|
66
|
+
close-on-select
|
67
|
+
condition="f_check_type = '{}'"></v-select>
|
68
|
+
</div>
|
69
|
+
<!--<div :class="{'form-group col-sm-3':$parent.$parent.$parent.showItem,'form-group col-sm-2':!$parent.$parent.$parent.showItem}" v-if="$parent.$parent.criteriaShow">-->
|
70
|
+
<!--<label class="font_normal_body">安检起始</label>-->
|
71
|
+
<!--<datepicker-->
|
72
|
+
<!--:value.sync="$parent.$parent.f_start_time"-->
|
73
|
+
<!--placeholder='起始时间' style="width:60%"-->
|
74
|
+
<!--:disabled-days-of-week="[]"-->
|
75
|
+
<!--:format="'yyyy-MM-dd'"-->
|
76
|
+
<!--:show-rest-button="reset">-->
|
77
|
+
<!--</datepicker>-->
|
78
|
+
<!--</div>-->
|
79
|
+
<!--<div :class="{'form-group col-sm-3':$parent.$parent.$parent.showItem,'form-group col-sm-2':!$parent.$parent.$parent.showItem}" v-if="$parent.$parent.criteriaShow">-->
|
80
|
+
<!--<label class="font_normal_body">安检结束</label>-->
|
81
|
+
<!--<datepicker-->
|
82
|
+
<!--:value.sync="$parent.$parent.f_end_time"-->
|
83
|
+
<!--placeholder='结束时间' style="width:60%"-->
|
84
|
+
<!--:disabled-days-of-week="[]"-->
|
85
|
+
<!--:format="'yyyy-MM-dd'"-->
|
86
|
+
<!--:show-rest-button="reset">-->
|
87
|
+
<!--</datepicker>-->
|
88
|
+
<!--</div>-->
|
89
|
+
<div style="width: auto;margin-top:8px;float: right" :class="{'form-group col-sm-3':$parent.$parent.$parent.showItem,'form-group col-sm-2':!$parent.$parent.$parent.showItem}">
|
90
|
+
<export-excel-safe :data="$parent.$parent.searchData"
|
91
|
+
:field="$parent.$parent.excelHeaders"
|
92
|
+
progress="safeGetExportProgress"
|
93
|
+
sqlurl="rs/logic/SafeExportExcel" sql-name="planCount" template-name='安检计划明细' ></export-excel-safe>
|
94
|
+
<button type="button" class="button_search button_spacing" @click="search()">查询</button>
|
95
|
+
<!--<div class="button_spacing"-->
|
96
|
+
<!--:class="{'button_shrink_top':$parent.criteriaShow,'button_shrink_bottom':!$parent.criteriaShow}"-->
|
97
|
+
<!--@click="$parent.$parent.hidden()">-->
|
98
|
+
<!--</div>-->
|
99
|
+
<div class="button_spacing"
|
100
|
+
:class="{'button_shrink_left':$parent.$parent.$parent.showItem,'button_shrink_right':!$parent.$parent.$parent.showItem}"
|
101
|
+
@click="$parent.$parent.hiddenr()"></div>
|
102
|
+
</div>
|
103
|
+
</div>
|
104
|
+
</div>
|
105
|
+
</criteria>
|
106
|
+
<data-grid :model="model" partial='list' v-ref:grid class="list_area table_sy">
|
107
|
+
<template partial='head'>
|
108
|
+
<tr>
|
109
|
+
<th>安检员</th>
|
110
|
+
<th>总入户量</th>
|
111
|
+
<th>总到访不遇量</th>
|
112
|
+
<th>总拒检量</th>
|
113
|
+
<th>安检总量</th>
|
114
|
+
<th>计划总数</th>
|
115
|
+
<th>入户</th>
|
116
|
+
<th>到访不遇</th>
|
117
|
+
<th>拒检</th>
|
118
|
+
<th>无计划总数</th>
|
119
|
+
<th>无计划入户</th>
|
120
|
+
<th>无计划到访不遇</th>
|
121
|
+
<th>无计划拒检</th>
|
122
|
+
<th>入户率</th>
|
123
|
+
<th>维修率</th>
|
124
|
+
<th>隐患消除率</th>
|
125
|
+
</tr>
|
126
|
+
</template>
|
127
|
+
<template partial='body'>
|
128
|
+
<td style="text-align: center">{{row.f_checker}}</td>
|
129
|
+
<td style="text-align: center">{{row.ruhu_total}}</td>
|
130
|
+
<td style="text-align: center">{{row.daofang_total}}</td>
|
131
|
+
<td style="text-align: center">{{row.jujian_total}}</td>
|
132
|
+
<td style="text-align: center">{{row.total_sum}}</td>
|
133
|
+
<td style="text-align: center">{{row.plannum}}</td>
|
134
|
+
<td style="text-align: center">{{row.ruhu}}</td>
|
135
|
+
<td style="text-align: center">{{row.daofang}}</td>
|
136
|
+
<td style="text-align: center">{{row.jujian}}</td>
|
137
|
+
<td style="text-align: center">{{row.no_plan_num}}</td>
|
138
|
+
<td style="text-align: center">{{row.noruhu}}</td>
|
139
|
+
<td style="text-align: center">{{row.nodaofang}}</td>
|
140
|
+
<td style="text-align: center">{{row.nojujian}}</td>
|
141
|
+
<td style="text-align: center">{{row.rhl}}%</td>
|
142
|
+
<td style="text-align: center">{{row.wxl}}%</td>
|
143
|
+
<td style="text-align: center">{{row.cll}}%</td>
|
144
|
+
</template>
|
145
|
+
<template partial="foot">
|
146
|
+
<td style="text-align: center"><span><b>合计:</b></span></td>
|
147
|
+
<td style="text-align: center">{{model.sums.ruhu_total}}</td>
|
148
|
+
<td style="text-align: center">{{model.sums.daofang_total}}</td>
|
149
|
+
<td style="text-align: center">{{model.sums.jujian_total}}</td>
|
150
|
+
<td style="text-align: center">{{model.sums.total_sum}}</td>
|
151
|
+
<td style="text-align: center">{{model.sums.plannum}}</td>
|
152
|
+
<td style="text-align: center">{{model.sums.ruhu}}</td>
|
153
|
+
<td style="text-align: center">{{model.sums.daofang}}</td>
|
154
|
+
<td style="text-align: center">{{model.sums.jujian}}</td>
|
155
|
+
<td style="text-align: center">{{model.sums.no_plan_num}}</td>
|
156
|
+
<td style="text-align: center">{{model.sums.noruhu}}</td>
|
157
|
+
<td style="text-align: center">{{model.sums.nodaofang}}</td>
|
158
|
+
<td style="text-align: center">{{model.sums.nojujian}}</td>
|
159
|
+
<td style="text-align: center"></td>
|
160
|
+
<td style="text-align: center"></td>
|
161
|
+
<td style="text-align: center"></td>
|
162
|
+
</template>
|
163
|
+
</data-grid>
|
164
|
+
</criteria-paged>
|
165
|
+
</div>
|
166
|
+
</template>
|
167
|
+
<script>
|
168
|
+
import {PagedList} from 'vue-client'
|
169
|
+
|
170
|
+
|
171
|
+
export default {
|
172
|
+
title: '安检计划查询',
|
173
|
+
data() {
|
174
|
+
let options = []
|
175
|
+
let year = (new Date()).getFullYear()
|
176
|
+
for (let i = year - 8; i <= year + 1; i++)
|
177
|
+
options.push({label: i + '', value: i + ''})
|
178
|
+
let model = new PagedList('rs/sql/planCount', 20, {
|
179
|
+
f_filialeids: 'this.f_filialeids',
|
180
|
+
f_start_time: 'this.f_start_time',
|
181
|
+
condition1:'this.condition1',
|
182
|
+
condition2:'this.condition2',
|
183
|
+
condition3:'this.condition3',
|
184
|
+
f_end_time: 'this.f_end_time'
|
185
|
+
}, {plannum: '', ruhu: '', jujian: '', daofang: '',no_plan_num:'',noruhu:'',nodaofang:'',nojujian:'',ruhu_total:'',daofang_total:'',jujian_total:'',total_sum:''})
|
186
|
+
model.f_filialeids = '('+this.$login.f.orgid+')'
|
187
|
+
return {
|
188
|
+
checktype: this.$appdata.getParam('用户类型')?[{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]:[{label: '全部', value: ''}],
|
189
|
+
excelHeaders:{
|
190
|
+
'f_checker': '安检员',
|
191
|
+
'plannum': '计划总数',
|
192
|
+
// 'yrj': '计划中已入户',
|
193
|
+
// 'wrj': '计划中未入户',
|
194
|
+
'ruhu': '入户',
|
195
|
+
'jujian': '拒检',
|
196
|
+
'daofang': '到访不遇',
|
197
|
+
'no_plan_num': '无计划总数',
|
198
|
+
'noruhu': '无计划入户',
|
199
|
+
'nojujian': '无计划拒检',
|
200
|
+
'nodaofang': '无计划到访不遇',
|
201
|
+
'rhl':'入户率',
|
202
|
+
'wxl':'维修率',
|
203
|
+
'cll':'隐患消除率'
|
204
|
+
},
|
205
|
+
searchData:{
|
206
|
+
condition:"1=1",
|
207
|
+
condition1:"1=1",
|
208
|
+
condition2:"1=1",
|
209
|
+
condition3:"and 1=1",
|
210
|
+
f_plan_year:year[0],
|
211
|
+
f_checker:'',
|
212
|
+
f_filialeids:'('+this.$login.f.orgid+')',
|
213
|
+
f_start_time:'',
|
214
|
+
f_end_time:''
|
215
|
+
},
|
216
|
+
checker: this.$login.f,
|
217
|
+
checkers: [],
|
218
|
+
checkersname: [],
|
219
|
+
checkStates: this.$appdata.getParam('安检状态'),
|
220
|
+
f: this.$login.f,
|
221
|
+
criteriaShow: false,
|
222
|
+
model: model,
|
223
|
+
c_year_list: options,
|
224
|
+
f_check_start:'',
|
225
|
+
f_check_end: '',
|
226
|
+
f_start_time:'',
|
227
|
+
f_end_time:''
|
228
|
+
}
|
229
|
+
},
|
230
|
+
methods: {
|
231
|
+
hidden() {
|
232
|
+
this.criteriaShow = !this.criteriaShow
|
233
|
+
},
|
234
|
+
hiddenr() {
|
235
|
+
this.$parent.showItem = !this.$parent.showItem
|
236
|
+
},
|
237
|
+
search(args) {
|
238
|
+
let tempStr = args.condition
|
239
|
+
let condition1 =tempStr
|
240
|
+
let condition2 =tempStr
|
241
|
+
let condition3 = ' and 1=1 '
|
242
|
+
if (this.f_check_start) {
|
243
|
+
condition1 += ` AND f_plan_year >= ${this.f_check_start.substr(0,4)} `
|
244
|
+
condition1 += ` AND f_plan_month >= ${this.f_check_start.substr(5,2)} `
|
245
|
+
}
|
246
|
+
if (this.f_check_end) {
|
247
|
+
condition1 += ` AND f_plan_year <= ${this.f_check_end.substr(0,4)} `
|
248
|
+
condition1 += ` AND f_plan_month <= ${this.f_check_end.substr(5,2)} `
|
249
|
+
}
|
250
|
+
if(this.f_start_time){
|
251
|
+
condition2 += ` AND f_offsite_time >= '${this.f_start_time} 00:00:00'`
|
252
|
+
}
|
253
|
+
if (this.f_end_time){
|
254
|
+
condition2 += ` AND f_offsite_time <= '${this.f_end_time} 23:59:59'`
|
255
|
+
}
|
256
|
+
if (this.$refs.paged.$refs.cri.model.f_checker_id){
|
257
|
+
condition3 += ` AND f_checker = '${this.$refs.paged.$refs.cri.model.f_checker_id}' `
|
258
|
+
condition2 += ` AND f_checker_name = '${this.$refs.paged.$refs.cri.model.f_checker_id}' `
|
259
|
+
}
|
260
|
+
this.model.f_start_time=this.f_start_time
|
261
|
+
this.model.f_end_time=this.f_end_time
|
262
|
+
this.model.condition1=condition1
|
263
|
+
this.model.condition2=condition2
|
264
|
+
this.model.condition3=condition3
|
265
|
+
|
266
|
+
this.searchData.condition1=condition1
|
267
|
+
this.searchData.condition2=condition2
|
268
|
+
this.searchData.condition3=condition3
|
269
|
+
|
270
|
+
this.model.search(args.condition, args.model)
|
271
|
+
},
|
272
|
+
getRes(obj){
|
273
|
+
this.model.f_filialeids = this.$login.convertToIn(obj.resids);
|
274
|
+
//tag
|
275
|
+
}
|
276
|
+
},
|
277
|
+
ready() {
|
278
|
+
this.model.id = this.$login.f.id
|
279
|
+
this.model.f_subcompany = this.$login.f.f_fengongsi
|
280
|
+
this.model.f_filialeid = this.$login.f.orgid
|
281
|
+
},
|
282
|
+
|
283
|
+
watch: {
|
284
|
+
'model.condition'(val) {
|
285
|
+
if(val){
|
286
|
+
this.searchData.condition = val
|
287
|
+
}
|
288
|
+
},
|
289
|
+
'model.f_checker'(val) {
|
290
|
+
if(val){
|
291
|
+
this.searchData.f_checker = val
|
292
|
+
}
|
293
|
+
},
|
294
|
+
'f_start_time'(val) {
|
295
|
+
if(val){
|
296
|
+
this.searchData.f_start_time = val
|
297
|
+
}
|
298
|
+
},
|
299
|
+
'f_end_time'(val) {
|
300
|
+
if(val){
|
301
|
+
this.searchData.f_end_time = val
|
302
|
+
}
|
303
|
+
},
|
304
|
+
'checker'() {
|
305
|
+
// //tag
|
306
|
+
//tag
|
307
|
+
this.model.chosenOrg = this.checker[0]
|
308
|
+
},
|
309
|
+
'model.rows.length'() {
|
310
|
+
// 如果查询无结果,将合计置为0
|
311
|
+
if(this.model.rows.length < 1 &&this. model.sums){
|
312
|
+
this.model.sums.yrj = 0
|
313
|
+
this.model.sums.no_plan_num = 0
|
314
|
+
this.model.sums.wrj = 0
|
315
|
+
this.model.sums.ruhu = 0
|
316
|
+
this.model.sums.jujian = 0
|
317
|
+
this.model.sums.daofang = 0
|
318
|
+
this.model.sums.ruhu_total=0
|
319
|
+
this.model.sums.daofang_total=0
|
320
|
+
this.model.sums.jujian_total=0
|
321
|
+
this.model.sums.total_sum=0
|
322
|
+
}
|
323
|
+
}
|
324
|
+
},
|
325
|
+
computed: {
|
326
|
+
selected() {
|
327
|
+
// //tag
|
328
|
+
// this.$parent.showItem=!this.$parent.showItem
|
329
|
+
return this.$refs.paged.$refs.grid.selected
|
330
|
+
}
|
331
|
+
}
|
332
|
+
}
|
333
|
+
</script>
|
package/src/filiale/bayan/pc.js
CHANGED
@@ -7,6 +7,13 @@ let specialComp = {
|
|
7
7
|
'plan-manage': (resolve) => { require(['./pc/PlanManage'], resolve) },
|
8
8
|
'new-check-paper': (resolve) => { require(['./pc/NewCheckpaper.vue'], resolve) },
|
9
9
|
'paper-main': (resolve) => { require(['./pc/PaperList'], resolve) },
|
10
|
+
'check-plan-area-list': (resolve) => { require(['./pc/CheckPlanAreaList'], resolve) },
|
11
|
+
'hiddensituation': (resolve) => { require(['./pc/HiddenSituation'], resolve) },
|
12
|
+
'check-search-user': (resolve) => { require(['./pc/CheckSearchUser'], resolve) },
|
13
|
+
'check-plan': (resolve) => { require(['./pc/CheckPlan'], resolve) },
|
14
|
+
'select-check-plan': (resolve) => { require(['./pc/SelectCheckPlan'], resolve) },
|
15
|
+
'defect-main-new2': (resolve) => { require(['./pc/DefectMainNew'], resolve) },
|
16
|
+
'device-change': (resolve) => { require(['./pc/DeviceChange'], resolve) },
|
10
17
|
}
|
11
18
|
exports.specialComp = specialComp
|
12
19
|
|
@@ -269,15 +269,17 @@ export default {
|
|
269
269
|
"上期表读数":{"index":6,"type":"number","readonly":true,isshow:false},
|
270
270
|
"累购气量":{"index":7,"type":"number","readonly":true},
|
271
271
|
"累购金额":{"index":7,"type":"number","readonly":true},
|
272
|
-
"
|
273
|
-
"
|
274
|
-
"
|
275
|
-
"
|
272
|
+
"用户累购气量":{"index":8,"type":"number","readonly":true,isshow:false},
|
273
|
+
"已用气量":{"index":10,"type":"number","checkmust": false},//基表数
|
274
|
+
"已用金额":{"index":10,"type":"number","checkmust": false},
|
275
|
+
"系统表底数":{"index":9,"type":"number","checkmust": false,isshow:false},
|
276
|
+
"表底数":{"index":10,"type":"number","checkmust": false},
|
277
|
+
"剩余气量":{"index":11,"type":"number","checkmust": false},//累购-已用
|
276
278
|
//显示屏数 --实际剩余气量
|
277
|
-
"剩余金额":{"index":
|
278
|
-
"气量异常差值":{"index":
|
279
|
-
"金额异常差值":{"index":
|
280
|
-
"差值是否异常":{"index":
|
279
|
+
"剩余金额":{"index":11,"type":"number","checkmust": false},
|
280
|
+
"气量异常差值":{"index":12,"type":"number","readonly": true},
|
281
|
+
"金额异常差值":{"index":12,"type":"number","readonly": true},
|
282
|
+
"差值是否异常":{"index":12,"type":"selector",
|
281
283
|
"multiple": false,
|
282
284
|
"checkmust":true,
|
283
285
|
"options": [
|
@@ -293,8 +295,8 @@ export default {
|
|
293
295
|
}
|
294
296
|
]
|
295
297
|
},
|
296
|
-
"表箱号":{"index":
|
297
|
-
"燃气表照片":{"index":
|
298
|
+
"表箱号":{"index":13,"type":"string","readonly": true},
|
299
|
+
"燃气表照片":{"index":14,"type":"picture","checkmust": false},
|
298
300
|
}
|
299
301
|
// 注意,配置项的index必须与上面的固定配置保持'顺序'
|
300
302
|
},
|
@@ -2176,6 +2178,16 @@ export default {
|
|
2176
2178
|
f_path: "",
|
2177
2179
|
type: "number"
|
2178
2180
|
},
|
2181
|
+
{
|
2182
|
+
f_defect_level: null,
|
2183
|
+
f_device_id: "",
|
2184
|
+
f_is_defect: "",
|
2185
|
+
f_item_name: "用户累购气量",
|
2186
|
+
f_item_value: this.item.f_plan_meters[i].f_pregas,
|
2187
|
+
f_path: "",
|
2188
|
+
type: "number",
|
2189
|
+
isshow:false
|
2190
|
+
},
|
2179
2191
|
{
|
2180
2192
|
f_defect_level: null,
|
2181
2193
|
f_device_id: "",
|
@@ -2194,6 +2206,16 @@ export default {
|
|
2194
2206
|
f_path: "",
|
2195
2207
|
type: "number"
|
2196
2208
|
},
|
2209
|
+
{
|
2210
|
+
f_defect_level: null,
|
2211
|
+
f_device_id: "",
|
2212
|
+
f_is_defect: "",
|
2213
|
+
f_item_name: "系统表底数",
|
2214
|
+
f_item_value: this.item.f_plan_meters[i].f_metergasnums,
|
2215
|
+
isshow:false,
|
2216
|
+
f_path: "",
|
2217
|
+
type: "number"
|
2218
|
+
},
|
2197
2219
|
{
|
2198
2220
|
f_defect_level: null,
|
2199
2221
|
f_device_id: "",
|
@@ -2224,7 +2246,7 @@ export default {
|
|
2224
2246
|
delete this.config['燃气表']['items']['表底数']
|
2225
2247
|
delete this.config['燃气表']['items']['剩余金额']
|
2226
2248
|
delete this.config['燃气表']['items']['金额异常差值']
|
2227
|
-
delete this.config['燃气表']['items']['
|
2249
|
+
delete this.config['燃气表']['items']['气量异常差值']
|
2228
2250
|
device.f_items.push(
|
2229
2251
|
{
|
2230
2252
|
f_defect_level: null,
|
@@ -2245,12 +2267,32 @@ export default {
|
|
2245
2267
|
f_path: "",
|
2246
2268
|
type: "number"
|
2247
2269
|
},
|
2270
|
+
{
|
2271
|
+
f_defect_level: null,
|
2272
|
+
f_device_id: "",
|
2273
|
+
f_is_defect: "",
|
2274
|
+
f_item_name: "用户累购气量",
|
2275
|
+
f_item_value: this.item.f_plan_meters[i].f_pregas,
|
2276
|
+
f_path: "",
|
2277
|
+
type: "number",
|
2278
|
+
isshow:true
|
2279
|
+
},
|
2248
2280
|
{
|
2249
2281
|
f_defect_level: null,
|
2250
2282
|
f_device_id: "",
|
2251
2283
|
f_is_defect: "",
|
2252
2284
|
f_item_name: "已用气量",
|
2253
|
-
f_item_value: this.item.f_plan_meters[i].
|
2285
|
+
f_item_value: this.item.f_plan_meters[i].f_metergasnums,
|
2286
|
+
f_path: "",
|
2287
|
+
type: "number"
|
2288
|
+
},
|
2289
|
+
{
|
2290
|
+
f_defect_level: null,
|
2291
|
+
f_device_id: "",
|
2292
|
+
f_is_defect: "",
|
2293
|
+
f_item_name: "系统表底数",
|
2294
|
+
f_item_value: this.item.f_plan_meters[i].f_metergasnums,
|
2295
|
+
isshow:false,
|
2254
2296
|
f_path: "",
|
2255
2297
|
type: "number"
|
2256
2298
|
},
|
@@ -2267,10 +2309,23 @@ export default {
|
|
2267
2309
|
f_defect_level: null,
|
2268
2310
|
f_device_id: "",
|
2269
2311
|
f_is_defect: "",
|
2270
|
-
f_item_name: "
|
2312
|
+
f_item_name: "差值是否异常",
|
2313
|
+
checkmust:true,
|
2271
2314
|
f_item_value: null,
|
2272
2315
|
f_path: "",
|
2273
|
-
type: "
|
2316
|
+
type: "selector",
|
2317
|
+
options: [
|
2318
|
+
{
|
2319
|
+
"data": "是",
|
2320
|
+
"isdefect": true,
|
2321
|
+
"isdefault": false
|
2322
|
+
},
|
2323
|
+
{
|
2324
|
+
"data": "否",
|
2325
|
+
"isdefect": false,
|
2326
|
+
"isdefault": false
|
2327
|
+
}
|
2328
|
+
]
|
2274
2329
|
}
|
2275
2330
|
)
|
2276
2331
|
//tag)
|
@@ -2299,6 +2354,16 @@ export default {
|
|
2299
2354
|
f_path: "",
|
2300
2355
|
type: "number"
|
2301
2356
|
},
|
2357
|
+
{
|
2358
|
+
f_defect_level: null,
|
2359
|
+
f_device_id: "",
|
2360
|
+
f_is_defect: "",
|
2361
|
+
f_item_name: "用户累购气量",
|
2362
|
+
f_item_value: this.item.f_plan_meters[i].f_pregas,
|
2363
|
+
f_path: "",
|
2364
|
+
type: "number",
|
2365
|
+
isshow:false
|
2366
|
+
},
|
2302
2367
|
{
|
2303
2368
|
f_defect_level: null,
|
2304
2369
|
f_device_id: "",
|
@@ -2308,6 +2373,16 @@ export default {
|
|
2308
2373
|
f_path: "",
|
2309
2374
|
type: "number"
|
2310
2375
|
},
|
2376
|
+
{
|
2377
|
+
f_defect_level: null,
|
2378
|
+
f_device_id: "",
|
2379
|
+
f_is_defect: "",
|
2380
|
+
f_item_name: "系统表底数",
|
2381
|
+
f_item_value: this.item.f_plan_meters[i].f_metergasnums,
|
2382
|
+
isshow:true,
|
2383
|
+
f_path: "",
|
2384
|
+
type: "number"
|
2385
|
+
},
|
2311
2386
|
{
|
2312
2387
|
f_defect_level: null,
|
2313
2388
|
f_device_id: "",
|
@@ -2381,12 +2456,32 @@ export default {
|
|
2381
2456
|
f_path: "",
|
2382
2457
|
type: "number"
|
2383
2458
|
},
|
2459
|
+
{
|
2460
|
+
f_defect_level: null,
|
2461
|
+
f_device_id: "",
|
2462
|
+
f_is_defect: "",
|
2463
|
+
f_item_name: "用户累购气量",
|
2464
|
+
f_item_value: this.item.f_plan_meters[i].f_pregas,
|
2465
|
+
f_path: "",
|
2466
|
+
type: "number",
|
2467
|
+
isshow:false
|
2468
|
+
},
|
2384
2469
|
{
|
2385
2470
|
f_defect_level: null,
|
2386
2471
|
f_device_id: "",
|
2387
2472
|
f_is_defect: "",
|
2388
2473
|
f_item_name: "表底数",
|
2389
|
-
f_item_value: this.item.f_plan_meters[i].
|
2474
|
+
f_item_value: this.item.f_plan_meters[i].f_metergasnums,
|
2475
|
+
f_path: "",
|
2476
|
+
type: "number"
|
2477
|
+
},
|
2478
|
+
{
|
2479
|
+
f_defect_level: null,
|
2480
|
+
f_device_id: "",
|
2481
|
+
f_is_defect: "",
|
2482
|
+
f_item_name: "系统表底数",
|
2483
|
+
f_item_value: this.item.f_plan_meters[i].f_metergasnums,
|
2484
|
+
isshow:false,
|
2390
2485
|
f_path: "",
|
2391
2486
|
type: "number"
|
2392
2487
|
},
|
@@ -2463,7 +2558,7 @@ export default {
|
|
2463
2558
|
f_device_id: "",
|
2464
2559
|
f_is_defect: "",
|
2465
2560
|
f_item_name: "已用气量",
|
2466
|
-
f_item_value: this.item.f_plan_meters[i].
|
2561
|
+
f_item_value: this.item.f_plan_meters[i].f_metergasnums,
|
2467
2562
|
f_path: "",
|
2468
2563
|
type: "number"
|
2469
2564
|
},
|
@@ -2520,13 +2615,17 @@ export default {
|
|
2520
2615
|
let that = this
|
2521
2616
|
let value = {}
|
2522
2617
|
if (this.role == 'inspect') {
|
2523
|
-
if
|
2524
|
-
|
2525
|
-
|
2526
|
-
|
2527
|
-
|
2528
|
-
|
2529
|
-
|
2618
|
+
if(this.item.f_no_checkplan != '无计划安检' ){
|
2619
|
+
if (this.item.f_no_checkplan == '复检') {
|
2620
|
+
value = this.$androidUtil.path({
|
2621
|
+
alias: 'getUserinfomation',
|
2622
|
+
data: {condition: "f_check_item_id = '" + this.item.id + "' and f_no_checkplan in ('无计划安检','复检')"}
|
2623
|
+
})
|
2624
|
+
} else {
|
2625
|
+
value = this.$androidUtil.bzLogic('FetchCheckPaper', {id: this.item.id})
|
2626
|
+
}
|
2627
|
+
}else {
|
2628
|
+
value.data =[]
|
2530
2629
|
}
|
2531
2630
|
} else {
|
2532
2631
|
value = await this.$resetpost(`${this.$androidUtil.getProxyUrl()}/rs/path/getUserinfomation`, {data: {condition: `id = '${this.item.f_paper_id}'`}})
|
@@ -2673,7 +2772,7 @@ export default {
|
|
2673
2772
|
})
|
2674
2773
|
}
|
2675
2774
|
}else{
|
2676
|
-
if(
|
2775
|
+
if(this.parentPage && this.parentPage=='AddPlanItem'){
|
2677
2776
|
//tag
|
2678
2777
|
let isRecodr = this.$appdata.getSingleValue('无限制录音'); //单值参数,为true则是开启全程录音
|
2679
2778
|
if (isRecodr) {
|