safecheck-client 3.0.33-8 → 3.0.33-81
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 +3 -3
- package/src/App.vue +31 -31
- package/src/components/Util/ImgSelfSafePlus.vue +12 -10
- package/src/components/android/CurrentCreate.vue +1 -1
- package/src/components/android/SafecheckOrderV.vue +3 -3
- package/src/components/paper/PaperList.vue +5 -4
- package/src/components/planmanage/PlanManage.vue +3 -2
- package/src/components/planmanage/checkPlanList.vue +2 -1
- package/src/components/planmanage/checkUserList.vue +34 -2
- package/src/components/report/CheckPlanCountChartArea.vue +5 -0
- package/src/components/report/HiddenSituation.vue +3 -3
- package/src/components/rongcheng/AspiratedPaperFeedbackm.vue +28 -1
- package/src/components/rongcheng/AspiratedPaperMessage.vue +1 -1
- package/src/components/rongcheng/DefectPaper.vue +1 -1
- package/src/components/rongcheng/PaperListNPSQ.vue +35 -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/filiale/Util.js +5 -0
- package/src/filiale/bayan/android/AddPlanItem.vue +12 -3
- package/src/filiale/bayan/android/SafecheckOrderV.vue +9 -5
- package/src/filiale/bayan/android/SafecheckUserInfo.vue +532 -508
- package/src/filiale/dexin/android/SafecheckDevices.vue +1 -1
- package/src/filiale/dexin/android/WebMeterOpen.vue +1 -1
- package/src/filiale/dexin/android/WebMeterOpenEdit.vue +25 -37
- package/src/filiale/fugou/android/SafecheckOrderV.vue +2796 -0
- package/src/filiale/fugou/android.js +2 -1
- package/src/filiale/fugou/pc/AddToCheckBook.vue +56 -119
- package/src/filiale/fugou/pc/CheckBook.vue +2 -0
- package/src/filiale/fugou/pc/CheckBookEntry.vue +47 -19
- package/src/filiale/fugou/pc/CheckBookList.vue +2 -2
- package/src/filiale/fugou/pc/CheckBookSearchUser.vue +733 -574
- 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 +222 -42
- 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/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/tongchuan/pc/checkUserList.vue +2 -2
- package/src/filiale/weinan/android/PaperFeedback.vue +8 -8
- package/src/filiale/weinan/android/SafecheckDevices.vue +1 -1
- package/src/filiale/weinan/android/SafecheckOrderV.vue +75 -26
- package/src/filiale/weinan/pc/CheckSearchUser.vue +1078 -0
- package/src/filiale/weinan/pc/DefectPaperNew.vue +7 -1
- package/src/filiale/weinan/pc.js +1 -0
- package/src/filiale/wensu/pc/CheckSearchUser.vue +2 -0
- package/src/filiale/wensu/pc/PrintMaterialBill.vue +172 -172
- package/src/filiale/wensu/pc/SelectCheckPlan.vue +342 -342
- package/src/filiale/wenxi/android/SafecheckUserInfo.vue +651 -651
- package/src/filiale/yangchunboneng/android/CurrentCreate.vue +1 -1
- package/src/filiale/yangchunboneng/android/PhoneUpUserinfo.vue +1230 -0
- package/src/filiale/yangchunboneng/android/SafecheckOrderV.vue +2832 -2832
- package/src/filiale/yangchunboneng/android.js +1 -0
- package/src/filiale/yangchunboneng/pc/CheckBookUser.vue +28 -1
- package/src/filiale/yangchunboneng/pc/CheckSearchUser.vue +1168 -1018
- 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 +55 -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/yunchengminsheng/pc/checkUserList.vue +753 -753
- package/src/main.js +2 -2
- package/src/rongcheng.js +3 -1
@@ -1,207 +1,114 @@
|
|
1
1
|
<template>
|
2
|
-
<div class="
|
3
|
-
<
|
4
|
-
<criteria-
|
5
|
-
<
|
6
|
-
<div
|
7
|
-
<div class="
|
8
|
-
<
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
<div style="float: right">
|
51
|
-
<export-excel-safe :data="$parent.$parent.searchData"
|
52
|
-
:field="$parent.$parent.excelHeaders"
|
53
|
-
progress="safeGetExportProgress"
|
54
|
-
sqlurl="rs/logic/SafeExportExcel" sql-name="communityTypeDetailM"
|
55
|
-
template-name='居民隐患类型明细' :choose-col="true"></export-excel-safe>
|
56
|
-
</div>
|
57
|
-
<print-data-safe :sum-field="$parent.$parent.excelHeaders" :model="$parent.$parent.print_model" :field="$parent.$parent.excelHeaders"
|
58
|
-
:defaultfield="$parent.$parent.defaultPrint" :chooserow="true"
|
59
|
-
:titletable="'居民隐患类型明细'" :starthead="$parent.$parent.getstart"
|
60
|
-
></print-data-safe>
|
61
|
-
<button class="button_spacing button_search" @click="search()">查询</button>
|
2
|
+
<div id='app' class="basic-main" style="height: 100%">
|
3
|
+
<criteria-paged :model="model" :pager='false'>
|
4
|
+
<criteria partial='criteria' @condition-changed='$parent.reSearch' class="search_area">
|
5
|
+
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
6
|
+
<div class="row">
|
7
|
+
<div class="col-sm-4 form-group">
|
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
|
+
condition="tcp.f_checker_name = '{}'">
|
15
|
+
</role-selector-safe>
|
16
|
+
</div>
|
17
|
+
<div class="col-sm-2 form-group">
|
18
|
+
<label for="startDate" class="font_normal_body">开始日期:</label>
|
19
|
+
<datepicker id="startDate" placeholder="开始日期"
|
20
|
+
v-model="model.startDate"
|
21
|
+
:value.sync="model.startDate"
|
22
|
+
style="width: 60%;"
|
23
|
+
:disabled-days-of-Week="[]"
|
24
|
+
:format="'yyyy-MM-dd 00:00:00'"
|
25
|
+
condition="tcp.f_upload_date >= '{}'"
|
26
|
+
:show-reset-button="reset">
|
27
|
+
</datepicker>
|
28
|
+
</div>
|
29
|
+
<div class="col-sm-2 form-group">
|
30
|
+
<label for="endDate" class="font_normal_body">结束日期:</label>
|
31
|
+
<datepicker id="endDate" placeholder="结束日期"
|
32
|
+
v-model="model.endDate"
|
33
|
+
:value.sync="model.endDate"
|
34
|
+
:disabled-days-of-Week="[]"
|
35
|
+
style="width: 60%;"
|
36
|
+
condition="tcp.f_upload_date <= '{}'"
|
37
|
+
:format="'yyyy-MM-dd 23:59:59'"
|
38
|
+
:show-reset-button="reset">
|
39
|
+
</datepicker>
|
40
|
+
</div>
|
41
|
+
<div class="form-group col-sm-2" >
|
42
|
+
<label class="font_normal_body">小  区</label>
|
43
|
+
<input type="text" class="input_search" v-model="model.f_residential_area"
|
44
|
+
style="width: 60%" placeholder="小区" condition="tcp.f_residential_area like '%{}%'">
|
45
|
+
</div>
|
46
|
+
<div class="col-sm-4 form-group" style="margin-top: 8px">
|
47
|
+
<button class="button_search button_spacing" @click="search()">查询</button>
|
48
|
+
<report-print id='checkerPrint' top='3cm' left='0' width='100%' height='100%' :preview="true"></report-print>
|
49
|
+
<report-excel id='checkerPrint'></report-excel>
|
62
50
|
</div>
|
63
51
|
</div>
|
64
|
-
</
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
<
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
<nobr>处理中户数</nobr>
|
91
|
-
</th>
|
92
|
-
<th>
|
93
|
-
<nobr>未处理户数</nobr>
|
94
|
-
</th>
|
95
|
-
</tr>
|
96
|
-
</template>
|
97
|
-
<template partial='body'>
|
98
|
-
|
99
|
-
<td style="text-align: center">{{ $index + 1 }}</td>
|
100
|
-
<td style="text-align: center">{{ row.f_residential_area }}</td>
|
101
|
-
<td style="text-align: center">{{ row.ljcount }}</td>
|
102
|
-
<td style="text-align: center">{{ row.jgcount }}</td>
|
103
|
-
<td style="text-align: center">{{ row.rqjcount }}</td>
|
104
|
-
<td style="text-align: center">{{ row.yhhs }}</td>
|
105
|
-
<td style="text-align: center">{{ row.yclyh }}</td>
|
106
|
-
<td style="text-align: center">{{ row.clzyh }}</td>
|
107
|
-
<td style="text-align: center">{{ row.wcl }}</td>
|
108
|
-
</template>
|
109
|
-
<template partial="foot">
|
110
|
-
<td style="text-align: center" colspan="2"><span><b>合计:</b></span></td>
|
111
|
-
<td style="text-align: center">{{ model.sums.yhhs }}</td>
|
112
|
-
<td style="text-align: center">{{ model.sums.ljcount }}</td>
|
113
|
-
<td style="text-align: center">{{ model.sums.jgcount }}</td>
|
114
|
-
<td style="text-align: center">{{ model.sums.rqjcount }}</td>
|
115
|
-
<td style="text-align: center">{{ model.sums.yclyh }}</td>
|
116
|
-
<td style="text-align: center">{{ model.sums.clzyh }}</td>
|
117
|
-
<td style="text-align: center">{{ model.sums.wcl }}</td>
|
118
|
-
</template>
|
119
|
-
</data-grid>
|
120
|
-
</criteria-paged>
|
121
|
-
</div>
|
52
|
+
</div>
|
53
|
+
</criteria>
|
54
|
+
<div partial='list' id='checkerPrint' class="list_area" style="overflow-y: scroll">
|
55
|
+
<table class='tableprint' style="margin: 0px auto">
|
56
|
+
<thead>
|
57
|
+
<tr>
|
58
|
+
<th colspan='9' style="font-weight: normal; text-align: left;">
|
59
|
+
<h3 style="text-align: center">隐患类型明细表(民用)</h3>
|
60
|
+
</th>
|
61
|
+
</tr>
|
62
|
+
<tr>
|
63
|
+
<th colspan='9' style="font-weight: normal; text-align: center;">
|
64
|
+
开始时间:{{model.model.startDate}}
|
65
|
+
结束时间:{{ model.model.endDate }}
|
66
|
+
</th>
|
67
|
+
</tr>
|
68
|
+
</thead>
|
69
|
+
<tr>
|
70
|
+
<th colspan='9' style="font-weight: normal;">
|
71
|
+
{{{ model.data.substring(26,model.data.length-8) }}}
|
72
|
+
</th>
|
73
|
+
</tr>
|
74
|
+
<tr style="height: 100px"></tr>
|
75
|
+
</table>
|
76
|
+
</div>
|
77
|
+
</criteria-paged>
|
122
78
|
</div>
|
79
|
+
|
123
80
|
</template>
|
124
81
|
|
125
82
|
<script>
|
126
|
-
import {
|
83
|
+
import {DataModel, HttpResetClass} from 'vue-client'
|
127
84
|
|
128
85
|
export default {
|
129
|
-
|
130
|
-
|
131
|
-
|
86
|
+
title: '隐患类型明细表',
|
87
|
+
data () {
|
88
|
+
let model = new DataModel('rs/report/areaPitfallReport', {})
|
89
|
+
// model.f_filialeid = '(' + this.$login.f.orgid + ')'
|
132
90
|
return {
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
rqjcount: '',
|
138
|
-
ljcount: '',
|
139
|
-
wcl:'',
|
140
|
-
jgcount: ''
|
141
|
-
}),
|
142
|
-
resids: {},
|
143
|
-
print_model:{},
|
144
|
-
searchData: {
|
145
|
-
condition: "1=1",
|
146
|
-
orgid: this.$login.f.orgid
|
147
|
-
},
|
148
|
-
excelHeaders: {
|
149
|
-
'f_residential_area': '小区名称',
|
150
|
-
'ljcount': '隐患类型-漏气',
|
151
|
-
'jgcount': '隐患类型-胶管',
|
152
|
-
'rqjcount': '隐患类型-燃气具老化',
|
153
|
-
'yhhs': '存在隐患户数',
|
154
|
-
'yclyh': '已处理户数',
|
155
|
-
'clzyh': '处理中户数',
|
156
|
-
'wcl' : '未处理户数'
|
157
|
-
},
|
158
|
-
printshow: false,
|
159
|
-
defaultPrint: ['f_residential_area', 'ljcount','jgcount','rqjcount','yhhs', 'yclyh', 'clzyh','wcl'],
|
160
|
-
sumsmodel: {},
|
91
|
+
user_types: [{label:'全部',value:''},{label:'民用',value:'民用'},{label:'非民用',value:'非民用'}],
|
92
|
+
userid: this.$login.f.id,
|
93
|
+
source: `tool.getFullTree(this.getRights().where(row.getType() != $zone$).where(row.getType() == $organization$))`,
|
94
|
+
model: model
|
161
95
|
}
|
162
96
|
},
|
163
|
-
ready() {
|
164
|
-
// this.model.search('1=1')
|
165
|
-
},
|
166
97
|
methods: {
|
167
|
-
|
168
|
-
|
169
|
-
this.searchData.condition = args.condition
|
170
|
-
this.print_model = JSON.parse(JSON.stringify(this.$refs.paged.$refs.grid.model))
|
171
|
-
this.sumsmodel = this.$refs.paged.$refs.grid.model.sums;
|
172
|
-
this.print_model.rows.push({
|
173
|
-
f_residential_area: '合计',
|
174
|
-
ljcount : this.sumsmodel.ljcount,
|
175
|
-
jgcount : this.sumsmodel.jgcount,
|
176
|
-
rqjcount : this.sumsmodel.rqjcount,
|
177
|
-
yhhs: this.sumsmodel.yhhs,
|
178
|
-
yclyh: this.sumsmodel.yclyh,
|
179
|
-
clzyh: this.sumsmodel.clzyh,
|
180
|
-
wcl: this.sumsmodel.wcl,
|
181
|
-
})
|
182
|
-
this.print_model.totalPage = 0
|
98
|
+
getRes (obj) {
|
99
|
+
this.model.f_filialeid = this.$login.convertToIn(obj.resids)
|
183
100
|
},
|
184
|
-
|
185
|
-
|
186
|
-
this.
|
187
|
-
this.model.f_filialeids = this.$login.convertToIn(obj.resids);
|
188
|
-
},
|
189
|
-
// 打印
|
190
|
-
stamp() {
|
191
|
-
this.printshow = true
|
192
|
-
},
|
193
|
-
close() {
|
194
|
-
this.printshow = false
|
101
|
+
reSearch(args){
|
102
|
+
args.condition += ` and tcp.f_check_type = '民用' `
|
103
|
+
this.model.search(args.condition, args.model)
|
195
104
|
}
|
196
105
|
},
|
106
|
+
ready () {
|
107
|
+
},
|
197
108
|
computed: {
|
198
|
-
|
199
|
-
return
|
200
|
-
}
|
109
|
+
selected () {
|
110
|
+
return this.$refs.grid.selected
|
111
|
+
}
|
201
112
|
}
|
202
113
|
}
|
203
114
|
</script>
|
204
|
-
|
205
|
-
<style scoped>
|
206
|
-
|
207
|
-
</style>
|