manage-client 3.2.201 → 3.2.202
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/dev-server.js +190 -190
- package/package.json +1 -1
- package/src/filiale/WEINAN/BusinessManage.vue +163 -163
- package/src/filiale/WEINAN/MergeFileQuery.vue +185 -185
- package/src/filiale/WEINAN/sale.js +48 -48
- package/src/filiale/gehua/ReportDataQuery.vue +279 -0
- package/src/filiale/gehua/config/exportConfig.js +1084 -0
- package/src/filiale/gehua/config/tableConfig.js +56 -0
- package/src/filiale/gehua/webmeterManage.js +1 -0
- package/src/filiale/qingtongxia/NewWebMeterHandPlan.vue +724 -0
- package/src/filiale/qingtongxia/webmeterManage.js +9 -0
- package/yarn-error.log +7659 -0
- package/.gradle/4.4/fileHashes/fileHashes.bin +0 -0
- package/.gradle/4.4/fileHashes/fileHashes.lock +0 -0
- package/.gradle/7.1/dependencies-accessors/dependencies-accessors.lock +0 -0
- package/.gradle/7.1/dependencies-accessors/gc.properties +0 -0
- package/.gradle/7.1/executionHistory/executionHistory.bin +0 -0
- package/.gradle/7.1/executionHistory/executionHistory.lock +0 -0
- package/.gradle/7.1/fileChanges/last-build.bin +0 -0
- package/.gradle/7.1/fileHashes/fileHashes.bin +0 -0
- package/.gradle/7.1/fileHashes/fileHashes.lock +0 -0
- package/.gradle/7.1/gc.properties +0 -0
- package/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
|
@@ -0,0 +1,724 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="flex" style="flex:1;" @keyup.enter="search1">
|
|
3
|
+
<criteria-paged :model="model" v-ref:paged>
|
|
4
|
+
<criteria @condition-changed='$parent.search' partial='criteria' v-ref:criteria>
|
|
5
|
+
<div class="form-horizontal select-overspread container-fluid auto" novalidate partial
|
|
6
|
+
v-show="$parent.$parent.isdeal">
|
|
7
|
+
<div class="row" width="100%">
|
|
8
|
+
<div class="col-sm-2 form-group">
|
|
9
|
+
<label class="font_normal_body">表  号</label>
|
|
10
|
+
<input style="width:60%" class="input_search" condition="mr.f_meternumber like '%{}%'"
|
|
11
|
+
placeholder='表号'
|
|
12
|
+
type="text"
|
|
13
|
+
v-model="model.f_meternumber"
|
|
14
|
+
>
|
|
15
|
+
</div>
|
|
16
|
+
<div class="col-sm-2 form-group">
|
|
17
|
+
<label class="font_normal_body">客户编号</label>
|
|
18
|
+
<input style="width:60%" class="input_search" condition="u.f_userinfo_code like '%{}%'"
|
|
19
|
+
placeholder='客户编号'
|
|
20
|
+
type="text"
|
|
21
|
+
v-model="model.f_userinfo_code">
|
|
22
|
+
</div>
|
|
23
|
+
<div class="col-sm-2 form-group">
|
|
24
|
+
<label class="font_normal_body">客户名称</label>
|
|
25
|
+
<input style="width:60%" class="input_search" condition="mr.f_user_name like '%{}%'" placeholder='客户名称'
|
|
26
|
+
type="text"
|
|
27
|
+
v-model="model.f_user_name">
|
|
28
|
+
</div>
|
|
29
|
+
<div class="col-sm-2 form-group">
|
|
30
|
+
<label class="font_normal_body">气表品牌</label>
|
|
31
|
+
<v-select
|
|
32
|
+
:options='$parent.$parent.meterbrands'
|
|
33
|
+
:value.sync="model.f_meter_brand"
|
|
34
|
+
close-on-select
|
|
35
|
+
condition="gb.f_meter_brand='{}'"
|
|
36
|
+
placeholder='气表品牌'
|
|
37
|
+
style="width:60%"
|
|
38
|
+
v-model="model.f_meter_brand">
|
|
39
|
+
</v-select>
|
|
40
|
+
</div>
|
|
41
|
+
<div class="col-sm-3 form-group button-range">
|
|
42
|
+
<button @click="search()" class="button_search button_spacing" v-el:cba>查询</button>
|
|
43
|
+
<button @click="$parent.$parent.clearmsg" class="button_clear button_spacing">清空</button>
|
|
44
|
+
<!--<label class="font_normal_body"></label>
|
|
45
|
+
<button class="btn btn-success width-100" @click="$parent.$parent.SaveAsFile('webmeterhandplan')">导出</button>-->
|
|
46
|
+
<!-- </div>-->
|
|
47
|
+
<!-- <div class="col-sm-2 form-group form-group">-->
|
|
48
|
+
<export-excel
|
|
49
|
+
:choose-col="true"
|
|
50
|
+
:data="$parent.$parent.getCondition"
|
|
51
|
+
:field="$parent.$parent.getfield" sql-name="manage_getNewAllWebHandPlan" sqlurl="rs/logic/exportfile"
|
|
52
|
+
template-name='数据采集'></export-excel>
|
|
53
|
+
<div style="float: right" class="button_spacing"
|
|
54
|
+
:class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
|
|
55
|
+
@click="$parent.$parent.hidden()"></div>
|
|
56
|
+
<!-- <span style="padding-left: 30px; ">-->
|
|
57
|
+
<!-- <report-excel class="btn btn-success" id="grid"></report-excel>-->
|
|
58
|
+
<!-- </span>-->
|
|
59
|
+
</div>
|
|
60
|
+
</div>
|
|
61
|
+
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
62
|
+
<div class="col-sm-2 form-group">
|
|
63
|
+
<label class="font_normal_body">用气地址</label>
|
|
64
|
+
<input style="width:60%" class="input_search" condition="u.f_address like '%{}%'" placeholder='用气地址'
|
|
65
|
+
type="text"
|
|
66
|
+
v-model="model.f_address"
|
|
67
|
+
>
|
|
68
|
+
</div>
|
|
69
|
+
<div class="col-sm-2 form-group">
|
|
70
|
+
<label class="font_normal_body">用户类型</label>
|
|
71
|
+
<v-select :options="$parent.$parent.Gasusertype" :value.sync="model.f_user_type"
|
|
72
|
+
close-on-select
|
|
73
|
+
style="width:60%"
|
|
74
|
+
condition="ui.f_user_type = '{}'"
|
|
75
|
+
placeholder='用户类型'
|
|
76
|
+
v-model="model.f_user_type"
|
|
77
|
+
value-single="true"
|
|
78
|
+
>
|
|
79
|
+
</v-select>
|
|
80
|
+
</div>
|
|
81
|
+
<div class="col-sm-2 form-group">
|
|
82
|
+
<label class="font_normal_body">用气性质</label>
|
|
83
|
+
<v-select :options="$parent.$parent.Gasproperties" :value.sync="model.f_gasproperties"
|
|
84
|
+
close-on-select
|
|
85
|
+
style="width:60%"
|
|
86
|
+
condition="ui.f_gasproperties = '{}'"
|
|
87
|
+
placeholder='用气性质'
|
|
88
|
+
v-model="model.f_gasproperties"
|
|
89
|
+
value-single="true">
|
|
90
|
+
</v-select>
|
|
91
|
+
</div>
|
|
92
|
+
<!--<div class="col-sm-2 form-group">
|
|
93
|
+
<label class="font_normal_body">阀门状态</label>
|
|
94
|
+
<v-select placeholder='阀门状态' close-on-select
|
|
95
|
+
v-model="model.f_valvestate"
|
|
96
|
+
:value.sync="model.f_valvestate"
|
|
97
|
+
condition="mr.f_valvestate like '%{}%'"
|
|
98
|
+
:options="$parent.$parent.Valvestates">
|
|
99
|
+
</v-select>
|
|
100
|
+
</div>-->
|
|
101
|
+
<!--<div class="col-sm-2 form-group">
|
|
102
|
+
<label class="font_normal_body">上报类型</label>
|
|
103
|
+
<v-select placeholder='上报类型' close-on-select
|
|
104
|
+
v-model="model.f_upload_type"
|
|
105
|
+
:value.sync="model.f_upload_type"
|
|
106
|
+
:options="$parent.$parent.Getuploadtype"
|
|
107
|
+
condition="mr.f_upload_type = '{}'"
|
|
108
|
+
>
|
|
109
|
+
</v-select>
|
|
110
|
+
</div>-->
|
|
111
|
+
<div class="col-sm-2 form-group">
|
|
112
|
+
<label class="font_normal_body" style="word-break:keep-all;">上报时间</label>
|
|
113
|
+
<datepicker :format="'yyyy-MM-dd HH:mm:ss'"
|
|
114
|
+
:value.sync="model.startDate"
|
|
115
|
+
style="width:60%"
|
|
116
|
+
condition="mr.f_insert_date >= '{}'"
|
|
117
|
+
placeholder="起始时间"
|
|
118
|
+
v-model="model.startDate"
|
|
119
|
+
></datepicker>
|
|
120
|
+
</div>
|
|
121
|
+
<div class="col-sm-2 form-group">
|
|
122
|
+
<label class="font_normal_body" style="word-break:keep-all;">  至 </label>
|
|
123
|
+
<datepicker :format="'yyyy-MM-dd HH:mm:ss'"
|
|
124
|
+
:value.sync="model.endDate"
|
|
125
|
+
style="width:60%"
|
|
126
|
+
condition="mr.f_insert_date <= '{}'"
|
|
127
|
+
placeholder="结束时间"
|
|
128
|
+
v-model="model.endDate"
|
|
129
|
+
></datepicker>
|
|
130
|
+
</div>
|
|
131
|
+
<div class="col-sm-2 form-group">
|
|
132
|
+
<label class="font_normal_body" style="word-break:keep-all;">安装时间</label>
|
|
133
|
+
<datepicker :format="'yyyy-MM-dd HH:mm:ss'"
|
|
134
|
+
:value.sync="model.startDate1"
|
|
135
|
+
style="width:60%"
|
|
136
|
+
condition="ui.f_gas_date >= '{}'"
|
|
137
|
+
placeholder="起始时间"
|
|
138
|
+
v-model="model.startDate1"
|
|
139
|
+
></datepicker>
|
|
140
|
+
</div>
|
|
141
|
+
<div class="col-sm-2 form-group">
|
|
142
|
+
<label class="font_normal_body" style="word-break:keep-all;">  至 </label>
|
|
143
|
+
<datepicker :format="'yyyy-MM-dd HH:mm:ss'"
|
|
144
|
+
:value.sync="model.endDate1"
|
|
145
|
+
style="width:60%"
|
|
146
|
+
condition="ui.f_gas_date <= '{}'"
|
|
147
|
+
placeholder="结束时间"
|
|
148
|
+
v-model="model.endDate1"
|
|
149
|
+
></datepicker>
|
|
150
|
+
</div>
|
|
151
|
+
<!--<div class="col-sm-2 form-group">-->
|
|
152
|
+
<!--<label class="font_normal_body">故障状态</label>-->
|
|
153
|
+
<!--<v-select placeholder='故障状态'-->
|
|
154
|
+
<!--v-model="model.faultstate"-->
|
|
155
|
+
<!--multiple-->
|
|
156
|
+
<!--:value.sync="model.faultstate"-->
|
|
157
|
+
<!--:options="$parent.$parent.FaultStates">-->
|
|
158
|
+
<!--</v-select>-->
|
|
159
|
+
<!--</div>-->
|
|
160
|
+
<div class="col-sm-2 form-group">
|
|
161
|
+
<label class="font_normal_body">用 气 量</label>
|
|
162
|
+
<input style="width:60%" class="input_search" condition="h.f_oughtamount >= '{}'" placeholder='最小气量' type="text"
|
|
163
|
+
v-el:start_gas v-model="model.start_gas" v-next-el='start_gas'>
|
|
164
|
+
</div>
|
|
165
|
+
<div class="col-sm-2 form-group">
|
|
166
|
+
<label class="font_normal_body" style="word-break:keep-all;">  至 </label>
|
|
167
|
+
<input style="width:60%" class="input_search" condition="h.f_oughtamount <= '{}'" placeholder='最大气量' type="text"
|
|
168
|
+
v-el:end_gas v-el:xq v-model="model.end_gas" v-next-el='end_gas'
|
|
169
|
+
>
|
|
170
|
+
</div>
|
|
171
|
+
<div class="col-sm-2 form-group">
|
|
172
|
+
<label class="font_normal_body">剩余金额</label>
|
|
173
|
+
<input style="width:60%" class="input_search" condition="h.f_curbalance >= '{}'"
|
|
174
|
+
placeholder='最小金额'
|
|
175
|
+
type="text"
|
|
176
|
+
v-model="model.start_f_balance">
|
|
177
|
+
</div>
|
|
178
|
+
<div class="col-sm-2 form-group">
|
|
179
|
+
<label class="font_normal_body">  至 </label>
|
|
180
|
+
<input style="width:60%" class="input_search" condition="h.f_curbalance <= '{}'"
|
|
181
|
+
placeholder='最大金额'
|
|
182
|
+
type="text"
|
|
183
|
+
v-model="model.end_f_balance"
|
|
184
|
+
>
|
|
185
|
+
</div>
|
|
186
|
+
<!--<div class="col-sm-2 form-group" >
|
|
187
|
+
<label class="font_normal_body">标记名称</label>
|
|
188
|
+
<v-select placeholder='标记名称' close-on-select
|
|
189
|
+
v-model="model.f_parameter_name"
|
|
190
|
+
:value.sync="model.f_parameter_name"
|
|
191
|
+
:options="$parent.$parent.parameterName"
|
|
192
|
+
condition="p.f_parameter_name = '{}'">
|
|
193
|
+
</v-select>
|
|
194
|
+
</div>-->
|
|
195
|
+
<!--<div class="col-sm-2 form-group" >
|
|
196
|
+
<label class="font_normal_body" style="word-break:keep-all;">操作时间</label>
|
|
197
|
+
<datepicker placeholder="起始时间"
|
|
198
|
+
:value.sync="model.startDate2"
|
|
199
|
+
v-model="model.startDate2"
|
|
200
|
+
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
201
|
+
condition="p.f_parameter_date >= '{}'"
|
|
202
|
+
></datepicker>
|
|
203
|
+
</div>
|
|
204
|
+
<div class="col-sm-2 form-group" >
|
|
205
|
+
<label class="font_normal_body" style="word-break:keep-all;"> 至 </label>
|
|
206
|
+
<datepicker placeholder="结束时间"
|
|
207
|
+
:value.sync="model.endDate2"
|
|
208
|
+
v-model="model.endDate2"
|
|
209
|
+
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
210
|
+
condition="p.f_parameter_date <= '{}'"
|
|
211
|
+
></datepicker>
|
|
212
|
+
</div>-->
|
|
213
|
+
<!--<div class="col-sm-2 form-group" >
|
|
214
|
+
<label class="font_normal_body">标记状态</label>
|
|
215
|
+
<v-select placeholder='标记状态' close-on-select
|
|
216
|
+
v-model="model.f_parameter_state"
|
|
217
|
+
:value.sync="model.f_parameter_state"
|
|
218
|
+
:options="$parent.$parent.getSignStatus"
|
|
219
|
+
condition="p.f_parameter_state {}">
|
|
220
|
+
</v-select>
|
|
221
|
+
</div>-->
|
|
222
|
+
<div class="col-sm-2 form-group form-fix-width">
|
|
223
|
+
<label class="font_normal_body" >使用公司</label>
|
|
224
|
+
<res-select :initresid="$parent.$parent.orgid"
|
|
225
|
+
style="width:60%"
|
|
226
|
+
@res-select="$parent.$parent.getRes"
|
|
227
|
+
restype='organization'>
|
|
228
|
+
</res-select>
|
|
229
|
+
</div>
|
|
230
|
+
</div>
|
|
231
|
+
</div>
|
|
232
|
+
</criteria>
|
|
233
|
+
<data-grid :model="model" class="list_area table_sy" id="webmeterhandplan" partial='list' v-ref:grid>
|
|
234
|
+
<template partial='head'>
|
|
235
|
+
<tr>
|
|
236
|
+
<th style="text-align:center" v-show="!$parent.$parent.$parent.isdeal">
|
|
237
|
+
<nobr>操作</nobr>
|
|
238
|
+
</th>
|
|
239
|
+
<th style="text-align:center">
|
|
240
|
+
<nobr>组织机构</nobr>
|
|
241
|
+
</th>
|
|
242
|
+
<th style="text-align:center">
|
|
243
|
+
<nobr>客户编号</nobr>
|
|
244
|
+
</th>
|
|
245
|
+
<th style="text-align:center">
|
|
246
|
+
<nobr>用户类型</nobr>
|
|
247
|
+
</th>
|
|
248
|
+
<th style="text-align:center">
|
|
249
|
+
<nobr>用气性质</nobr>
|
|
250
|
+
</th>
|
|
251
|
+
<!--<th style="text-align:center"><nobr>用气属性</nobr></th>-->
|
|
252
|
+
<th style="text-align:center">
|
|
253
|
+
<nobr>客户名称</nobr>
|
|
254
|
+
</th>
|
|
255
|
+
<th style="text-align:center">
|
|
256
|
+
<nobr>用气地址</nobr>
|
|
257
|
+
</th>
|
|
258
|
+
<th style="text-align:center">
|
|
259
|
+
<nobr>安装时间</nobr>
|
|
260
|
+
</th>
|
|
261
|
+
<th style="text-align:center">
|
|
262
|
+
<nobr>表号</nobr>
|
|
263
|
+
</th>
|
|
264
|
+
<th style="text-align:center">
|
|
265
|
+
<nobr>气表品牌</nobr>
|
|
266
|
+
</th>
|
|
267
|
+
<th style="text-align:center">
|
|
268
|
+
<nobr>气表型号</nobr>
|
|
269
|
+
</th>
|
|
270
|
+
<!--<th style="text-align:center"><nobr>期初余额</nobr></th>-->
|
|
271
|
+
<th style="text-align:center">
|
|
272
|
+
<nobr>上次抄表底数</nobr>
|
|
273
|
+
</th>
|
|
274
|
+
<th style="text-align:center">
|
|
275
|
+
<nobr>本次抄表底数</nobr>
|
|
276
|
+
</th>
|
|
277
|
+
<th style="text-align:center">
|
|
278
|
+
<nobr>本次用气量(m³)</nobr>
|
|
279
|
+
</th>
|
|
280
|
+
<!--<th style="text-align:center"><nobr>气价(元/m³)</nobr></th>-->
|
|
281
|
+
<!--<th style="text-align:center"><nobr>24小时用气量</nobr></th>-->
|
|
282
|
+
<th style="text-align:center">
|
|
283
|
+
<nobr>本次用气金额(元)</nobr>
|
|
284
|
+
</th>
|
|
285
|
+
<th style="text-align:center">
|
|
286
|
+
<nobr>剩余金额</nobr>
|
|
287
|
+
</th>
|
|
288
|
+
<!--<th style="text-align:center"><nobr>上报类型</nobr></th>-->
|
|
289
|
+
<th style="text-align:center">
|
|
290
|
+
<nobr>上报时间</nobr>
|
|
291
|
+
</th>
|
|
292
|
+
<th style="text-align:center"><nobr>信号强度</nobr></th>
|
|
293
|
+
<th style="text-align:center"><nobr>电压</nobr></th>
|
|
294
|
+
<!--<th style="text-align:center"><nobr>信噪比</nobr></th>-->
|
|
295
|
+
<th style="text-align:center"><nobr>阀门状态</nobr></th>
|
|
296
|
+
<!--<th style="text-align:center"><nobr>磁干扰</nobr></th>
|
|
297
|
+
<th style="text-align:center"><nobr>周期关阀</nobr></th>
|
|
298
|
+
<th style="text-align:center"><nobr>过流保护关阀</nobr></th>
|
|
299
|
+
<th style="text-align:center"><nobr>关阀走气</nobr></th>
|
|
300
|
+
<th style="text-align:center"><nobr>拆表报警</nobr></th>
|
|
301
|
+
<th style="text-align:center"><nobr>外部晶振标志</nobr></th>
|
|
302
|
+
<th style="text-align:center"><nobr>软件版本号</nobr></th>-->
|
|
303
|
+
<!--<th style="text-align:center"><nobr>本次上报日期</nobr></th>
|
|
304
|
+
<th style="text-align:center"><nobr>上次上报日期</nobr></th>-->
|
|
305
|
+
<!--<th style="text-align:center"><nobr>上次表状态</nobr></th>
|
|
306
|
+
<th style="text-align:center"><nobr>本次表状态</nobr></th>
|
|
307
|
+
<th style="text-align:center"><nobr>标记状态</nobr></th>
|
|
308
|
+
<th style="text-align:center"><nobr>标记时间</nobr></th>-->
|
|
309
|
+
</tr>
|
|
310
|
+
</template>
|
|
311
|
+
<template partial='body' partial='list' v-ref:grid>
|
|
312
|
+
<tr>
|
|
313
|
+
<td style="text-align:center" v-show="!$parent.$parent.$parent.isdeal">
|
|
314
|
+
<button-link @click="$parent.$parent.$parent.handchange(row)" class="btn btn-link" type="button">处理
|
|
315
|
+
</button-link>
|
|
316
|
+
</td>
|
|
317
|
+
<td style="text-align:center">
|
|
318
|
+
<nobr>{{row.f_orgname}}</nobr>
|
|
319
|
+
</td>
|
|
320
|
+
<td style="text-align:center">
|
|
321
|
+
<nobr>{{row.f_userinfo_code}}</nobr>
|
|
322
|
+
</td>
|
|
323
|
+
<td style="text-align:center">
|
|
324
|
+
<nobr>{{row.f_user_type}}</nobr>
|
|
325
|
+
</td>
|
|
326
|
+
<td style="text-align:center">
|
|
327
|
+
<nobr>{{row.f_gasproperties}}</nobr>
|
|
328
|
+
</td>
|
|
329
|
+
<td style="text-align:center">
|
|
330
|
+
<nobr>{{row.f_user_name}}</nobr>
|
|
331
|
+
</td>
|
|
332
|
+
<td>
|
|
333
|
+
<nobr>{{row.f_address}}</nobr>
|
|
334
|
+
</td>
|
|
335
|
+
<td style="text-align:center">
|
|
336
|
+
<nobr>{{row.f_gas_date}}</nobr>
|
|
337
|
+
</td>
|
|
338
|
+
<td style="text-align:center">
|
|
339
|
+
<nobr>{{row.f_meternumber}}</nobr>
|
|
340
|
+
</td>
|
|
341
|
+
<td style="text-align:center">
|
|
342
|
+
<nobr>{{row.f_meter_brand}}</nobr>
|
|
343
|
+
</td>
|
|
344
|
+
<td style="text-align:center">
|
|
345
|
+
<nobr>{{row.f_meter_style}}</nobr>
|
|
346
|
+
</td>
|
|
347
|
+
<!--<td style="text-align:center"><nobr>{{row.f_curbalance}}</nobr></td>-->
|
|
348
|
+
<td style="text-align:center">{{row.f_last_tablebase}}</td>
|
|
349
|
+
<td style="text-align:center">{{row.f_tablebase}}</td>
|
|
350
|
+
<td style="text-align:center">{{row.f_oughtamount}}</td>
|
|
351
|
+
<!--<td style="text-align:center"><nobr>{{row.f_price}}</nobr></td>-->
|
|
352
|
+
<td style="text-align:center">{{row.f_oughtfee}}</td>
|
|
353
|
+
<td style="text-align:center">
|
|
354
|
+
<nobr>{{row.f_curbalance}}</nobr>
|
|
355
|
+
</td>
|
|
356
|
+
<!--<td style="text-align:center;width: 170px;"><nobr>{{row.f_upload_type}}</nobr></td>-->
|
|
357
|
+
|
|
358
|
+
<td style="text-align:center">
|
|
359
|
+
<nobr>{{row.f_insert_date}}</nobr>
|
|
360
|
+
</td>
|
|
361
|
+
<td style="text-align:center" >
|
|
362
|
+
<img :title='row.f_signal' v-if="row.f_signal>-80"
|
|
363
|
+
src="../../../static/WebMetericon/1.png"
|
|
364
|
+
height="12" width="24"/>
|
|
365
|
+
<img :title='row.f_signal' v-if="row.f_signal>-100&&row.f_signal<=-80"
|
|
366
|
+
src="../../../static/WebMetericon/2.png"
|
|
367
|
+
height="12" width="24"/>
|
|
368
|
+
<img :title='row.f_signal' v-if="row.f_signal>-120&&row.f_signal<=-100"
|
|
369
|
+
src="../../../static/WebMetericon/3.png"
|
|
370
|
+
height="12" width="24"/>
|
|
371
|
+
<img :title='row.f_signal' v-if="row.f_signal<=-120"
|
|
372
|
+
src="../../../static/WebMetericon/4.png"
|
|
373
|
+
height="12" width="24"/>
|
|
374
|
+
</td>
|
|
375
|
+
<td style="text-align:center" >
|
|
376
|
+
<img :title='row.f_batterylevel' v-if="row.f_batterylevel>=6.00"
|
|
377
|
+
src="../../../static/WebMetericon/01.png"
|
|
378
|
+
height="12" width="24"/>
|
|
379
|
+
<img :title='row.f_batterylevel' v-if="row.f_batterylevel>=5.00&&row.f_batterylevel<6.00"
|
|
380
|
+
src="../../../static/WebMetericon/02.png"
|
|
381
|
+
height="12" width="24"/>
|
|
382
|
+
<img :title='row.f_batterylevel' v-if="row.f_batterylevel>=4.00&&row.f_batterylevel<5.00"
|
|
383
|
+
src="../../../static/WebMetericon/03.png"
|
|
384
|
+
height="12" width="24"/>
|
|
385
|
+
<img :title='row.f_batterylevel' v-if="row.f_batterylevel<4.00"
|
|
386
|
+
src="../../../static/WebMetericon/04.png"
|
|
387
|
+
height="12" width="24"/>
|
|
388
|
+
</td>
|
|
389
|
+
<td style="text-align:center;width: 51px">{{row.f_valvestate==1?'关阀':'开阀'}}</td>
|
|
390
|
+
</tr>
|
|
391
|
+
</template>
|
|
392
|
+
<template partial='foot'></template>
|
|
393
|
+
</data-grid>
|
|
394
|
+
</criteria-paged>
|
|
395
|
+
</div>
|
|
396
|
+
<!--异常抄表录入-->
|
|
397
|
+
<modal :show.sync="handshow" backdrop="false" v-ref:modal>
|
|
398
|
+
<header class="modal-header" slot="modal-header">
|
|
399
|
+
<button @click="handchange()" class="close" type="button"><span>×</span></button>
|
|
400
|
+
<h4 class="modal-title">表号{{handExce.exceobj.f_meternumber}}</h4>
|
|
401
|
+
</header>
|
|
402
|
+
<article class="modal-body" slot="modal-body">
|
|
403
|
+
<div class="col-sm-12">
|
|
404
|
+
<label class="font_normal_body">上报异常类型</label>
|
|
405
|
+
<textarea class="ver-textarea" style="width:60%" class="input_search" name="name"
|
|
406
|
+
placeholder='上报异常类型' rows="2"
|
|
407
|
+
style="width: 100%"
|
|
408
|
+
v-model='handExce.f_error_type'></textarea>
|
|
409
|
+
</div>
|
|
410
|
+
<div class="col-sm-12 form-group form-fix-width">
|
|
411
|
+
<label class="font_normal_body">异常描述</label>
|
|
412
|
+
<textarea class="ver-textarea" style="width:60%" class="input_search" name="name"
|
|
413
|
+
placeholder='上报异常类型'
|
|
414
|
+
rows="2" style="width: 100%"
|
|
415
|
+
v-model='handExce.f_error_msg'></textarea>
|
|
416
|
+
</div>
|
|
417
|
+
</article>
|
|
418
|
+
<footer class="modal-footer" slot="modal-footer">
|
|
419
|
+
<button @click='handchange()' class="btn btn-default" type="button" v-show="handshow">取消</button>
|
|
420
|
+
<button @click='saveException' class="btn btn-success" type="button" v-show="handshow">确认</button>
|
|
421
|
+
</footer>
|
|
422
|
+
</modal>
|
|
423
|
+
</template>
|
|
424
|
+
|
|
425
|
+
<script>
|
|
426
|
+
import {PagedList} from 'vue-client'
|
|
427
|
+
import getLodop from '../../plugins/LodopFuncs'
|
|
428
|
+
import plugins from '../../plugins/GetLoginInfoService'
|
|
429
|
+
|
|
430
|
+
let readyGen = async function (self) {
|
|
431
|
+
await self.$getConfig(self, 'HandManager')
|
|
432
|
+
console.log('指令查看config', self.config)
|
|
433
|
+
self.getfield = self.config.excelHeaders
|
|
434
|
+
// self.reflash()
|
|
435
|
+
await self.$MagLoadParams.loadParam()
|
|
436
|
+
self.initQueryParam()
|
|
437
|
+
}
|
|
438
|
+
|
|
439
|
+
export default {
|
|
440
|
+
title: '数据采集',
|
|
441
|
+
data() {
|
|
442
|
+
return {
|
|
443
|
+
model: new PagedList('rs/sql/manage_getNewAllWebHandPlan', 50),
|
|
444
|
+
meterbrands:[],
|
|
445
|
+
row: null,
|
|
446
|
+
// 搜索显示开关
|
|
447
|
+
searchshow: true,
|
|
448
|
+
// 抄表录入开关
|
|
449
|
+
handshow: false,
|
|
450
|
+
condition: '',
|
|
451
|
+
criteriaShow: false,
|
|
452
|
+
orgCondtionStr: '(' + this.$login.f.orgid + ')',
|
|
453
|
+
orgid: [this.$login.f.orgid],
|
|
454
|
+
getfield: {},
|
|
455
|
+
config: {
|
|
456
|
+
excelHeaders: {
|
|
457
|
+
'f_orgname': '公司',
|
|
458
|
+
'f_userinfo_code': '客户编号',
|
|
459
|
+
'f_address': '客户地址',
|
|
460
|
+
'f_user_name': '客户名称',
|
|
461
|
+
'f_user_type': '用户类型',
|
|
462
|
+
'f_gasproperties': '用气性质',
|
|
463
|
+
'f_gas_date': '安装时间',
|
|
464
|
+
'f_meternumber': '表号',
|
|
465
|
+
'f_meter_brand': '气表品牌',
|
|
466
|
+
// 'f_position': '安装位置',
|
|
467
|
+
'f_meter_style': '气表型号',
|
|
468
|
+
/*'f_curbalance': '期初余额',*/
|
|
469
|
+
'f_last_tablebase': '上次抄表底数',
|
|
470
|
+
'f_tablebase': '本次抄表底数',
|
|
471
|
+
'f_oughtamount': '本次用气量(m³)',
|
|
472
|
+
'f_oughtfee': '本次用气金额(元)',
|
|
473
|
+
'f_curbalance': '剩余金额',
|
|
474
|
+
'f_insert_date': '上报时间',
|
|
475
|
+
'f_signal': '信号强度',
|
|
476
|
+
'f_batterylevel': '电压',
|
|
477
|
+
'f_valvestate': '阀门状态'
|
|
478
|
+
|
|
479
|
+
}
|
|
480
|
+
},
|
|
481
|
+
Gasproperties: [],
|
|
482
|
+
isdeal: true,
|
|
483
|
+
getSignStatus: [
|
|
484
|
+
{label: '全部', value: ''},
|
|
485
|
+
{label: '已标记', value: 'is not null'},
|
|
486
|
+
{label: '未标记', value: 'is null'}
|
|
487
|
+
],
|
|
488
|
+
|
|
489
|
+
handExce: {
|
|
490
|
+
//异常对象
|
|
491
|
+
exceobj: {},
|
|
492
|
+
//异常类型
|
|
493
|
+
f_error_type: "",
|
|
494
|
+
//异常描述
|
|
495
|
+
f_error_msg: '',
|
|
496
|
+
},
|
|
497
|
+
show: false
|
|
498
|
+
}
|
|
499
|
+
},
|
|
500
|
+
props: ['searchobj', 'isdeal'],
|
|
501
|
+
ready() {
|
|
502
|
+
/*this.$refs.paged.$refs.criteria.model.startDate = Util.toStandardDateString() + ' 00:00:00'
|
|
503
|
+
this.$refs.paged.$refs.criteria.model.endDate = Util.toStandardDateString() + ' 23:59:59'*/
|
|
504
|
+
// this.$refs.paged.$refs.criteria.model.startDate1 = Util.toStandardDateString() + ' 00:00:00'
|
|
505
|
+
// this.$refs.paged.$refs.criteria.model.endDate1 = Util.toStandardDateString() + ' 23:59:59'
|
|
506
|
+
//初始化用户类型,用气性质,用气属性下拉框
|
|
507
|
+
this.search({'condition': '1=1'})
|
|
508
|
+
readyGen(this)
|
|
509
|
+
},
|
|
510
|
+
methods: {
|
|
511
|
+
initQueryParam () {
|
|
512
|
+
let meters = this.$MagGetSaleParam.getGasbrand().filter(item => item.value.f_meter_type==='物联网表')
|
|
513
|
+
console.log('表品牌------->',meters)
|
|
514
|
+
let arr = meters.map(res => {
|
|
515
|
+
return {
|
|
516
|
+
label: res.label,
|
|
517
|
+
value: res.value.f_meter_brand
|
|
518
|
+
}
|
|
519
|
+
})
|
|
520
|
+
this.meterbrands = [{label: '全部', value: ''}, ...arr]
|
|
521
|
+
console.log('ready气表品牌---------->',this.meterbrands)
|
|
522
|
+
},
|
|
523
|
+
search1(){
|
|
524
|
+
this.$refs.paged.$refs.criteria.search()
|
|
525
|
+
},
|
|
526
|
+
// 跳转处理页面
|
|
527
|
+
dealmsg(val) {
|
|
528
|
+
val.model = this.model.model
|
|
529
|
+
this.$emit('deal-msg', val)
|
|
530
|
+
},
|
|
531
|
+
// 查询开关
|
|
532
|
+
hidden() {
|
|
533
|
+
this.criteriaShow = !this.criteriaShow
|
|
534
|
+
},
|
|
535
|
+
// 异常开关
|
|
536
|
+
handchange(val) {
|
|
537
|
+
if (val) {
|
|
538
|
+
console.log("开启弹窗")
|
|
539
|
+
this.handExce.exceobj = val
|
|
540
|
+
} else {
|
|
541
|
+
console.log("返回置空")
|
|
542
|
+
this.handExce = {}
|
|
543
|
+
}
|
|
544
|
+
this.handshow = !this.handshow
|
|
545
|
+
},
|
|
546
|
+
// 保存输入
|
|
547
|
+
saveException() {
|
|
548
|
+
// 准备数据
|
|
549
|
+
var Exejson = {}
|
|
550
|
+
// 抄表记录id
|
|
551
|
+
Exejson.data_id = this.handExce.exceobj.id
|
|
552
|
+
// 异常表档案ID
|
|
553
|
+
Exejson.f_userfiles_id = this.handExce.exceobj.f_userfiles_id
|
|
554
|
+
// 异常户档案ID
|
|
555
|
+
Exejson.f_userinfo_id = this.handExce.exceobj.f_userinfo_id
|
|
556
|
+
// 异常表号
|
|
557
|
+
Exejson.f_meternumber = this.handExce.exceobj.f_meternumber
|
|
558
|
+
// 分公司
|
|
559
|
+
Exejson.f_orgname = this.handExce.exceobj.f_orgname
|
|
560
|
+
// 分公司编号
|
|
561
|
+
Exejson.f_orgid = this.handExce.exceobj.f_orgid
|
|
562
|
+
// 营业网点
|
|
563
|
+
Exejson.f_outlets = this.handExce.exceobj.f_outlets
|
|
564
|
+
// 组织机构
|
|
565
|
+
Exejson.f_orgstr = this.handExce.exceobj.f_orgstr
|
|
566
|
+
// 异常类型
|
|
567
|
+
Exejson.f_error_type = this.handExce.f_error_type
|
|
568
|
+
// 异常说明
|
|
569
|
+
Exejson.f_error_msg = this.handExce.f_error_msg
|
|
570
|
+
console.log("提交异常数据")
|
|
571
|
+
console.log(Exejson)
|
|
572
|
+
let param = {
|
|
573
|
+
tablename: 't_exception',
|
|
574
|
+
basedata: Exejson
|
|
575
|
+
}
|
|
576
|
+
try {
|
|
577
|
+
this.$resetpost('rs/logic/saveTable', param, {resolveMsg: null, rejectMsg: null}).then((req) => {
|
|
578
|
+
console.log(val)
|
|
579
|
+
this.handExce = {}
|
|
580
|
+
console.log("提交成功")
|
|
581
|
+
}).then(() => {
|
|
582
|
+
this.$showMessage("异常保存成功!")
|
|
583
|
+
})
|
|
584
|
+
} catch (e) {
|
|
585
|
+
this.handExce = {}
|
|
586
|
+
console.log("提交失败")
|
|
587
|
+
this.$showMessage("异常保存失败!")
|
|
588
|
+
}
|
|
589
|
+
this.handshow = false
|
|
590
|
+
},
|
|
591
|
+
/*DealSignal(val){
|
|
592
|
+
console.log(val.model.f_signal)
|
|
593
|
+
if(val.model&&val.model.f_signal) {
|
|
594
|
+
if (val.model.f_signal == '信号正常') {
|
|
595
|
+
val.condition = val.condition + " and " + "f_signal>-100 "
|
|
596
|
+
}
|
|
597
|
+
if (val.model.f_signal == '信号异常') {
|
|
598
|
+
val.condition = val.condition + " and " + "f_signal<-100 "
|
|
599
|
+
}
|
|
600
|
+
}
|
|
601
|
+
return val
|
|
602
|
+
},*/
|
|
603
|
+
/*DealFaults(val){
|
|
604
|
+
if (val.model&&val.model.faultstate){
|
|
605
|
+
console.log(val.model.faultstate)
|
|
606
|
+
val.model.faultstate.forEach((item) =>{
|
|
607
|
+
if (item=='磁干扰'){
|
|
608
|
+
val.condition=val.condition+" and "+"f_magneticInterference=1 "
|
|
609
|
+
}
|
|
610
|
+
if (item=='周期关阀'){
|
|
611
|
+
val.condition=val.condition+" and "+"f_cycleShutValue=1 "
|
|
612
|
+
}
|
|
613
|
+
if (item=='过流保护关阀'){
|
|
614
|
+
val.condition=val.condition+" and "+"f_overCurrentProtection=1 "
|
|
615
|
+
}
|
|
616
|
+
if (item=='关阀走气'){
|
|
617
|
+
val.condition=val.condition+" and "+"f_leakageFlag=1 "
|
|
618
|
+
}
|
|
619
|
+
if(item=='拆表报警'){
|
|
620
|
+
val.condition=val.condition+" and "+"f_SplitAlarm=1 "
|
|
621
|
+
}
|
|
622
|
+
})
|
|
623
|
+
}
|
|
624
|
+
return val
|
|
625
|
+
},*/
|
|
626
|
+
SaveAsFile(str) {
|
|
627
|
+
this.$showMessage('您是否需要导出本页数据?', ['confirm', 'cancel']).then((res) => {
|
|
628
|
+
if (res === 'confirm') {
|
|
629
|
+
let style = '<style>' +
|
|
630
|
+
'td {border-width: 1px;padding: 2px;border-style: solid; border-color:black; border-collapse:collapse;} .tdright{text-align: right;} .tdcenter{text-align: center;}</style>';
|
|
631
|
+
let strHtml = style + document.getElementById(str).innerHTML;
|
|
632
|
+
console.log(strHtml);
|
|
633
|
+
let LODOP = getLodop();
|
|
634
|
+
LODOP.PRINT_INIT('');
|
|
635
|
+
LODOP.ADD_PRINT_TABLE(5, 5, '99%', '100%', strHtml);
|
|
636
|
+
LODOP.SAVE_TO_FILE('抄表查看.xls')
|
|
637
|
+
}
|
|
638
|
+
})
|
|
639
|
+
},
|
|
640
|
+
clearmsg() {
|
|
641
|
+
this.$refs.paged.$refs.criteria.model = {}
|
|
642
|
+
},
|
|
643
|
+
search(args) {
|
|
644
|
+
if (this.orgCondtionStr)
|
|
645
|
+
args.condition = args.condition + `and ui.f_orgid in ${this.orgCondtionStr}`
|
|
646
|
+
this.model.search(args.condition, args.model)
|
|
647
|
+
},
|
|
648
|
+
getRes(obj) {
|
|
649
|
+
this.orgCondtionStr = plugins.convertToIn(obj)
|
|
650
|
+
|
|
651
|
+
console.log('++++++++++++++++++', this.orgCondtionStr)
|
|
652
|
+
},
|
|
653
|
+
},
|
|
654
|
+
|
|
655
|
+
watch: {
|
|
656
|
+
// 监听查询对象
|
|
657
|
+
'searchobj'(val) {
|
|
658
|
+
if (this.searchobj != null) {
|
|
659
|
+
this.$refs.paged.$refs.criteria.model.f_meternumber = this.searchobj.f_meternumber
|
|
660
|
+
/* this.$refs.paged.$refs.criteria.model.startDate = this.searchobj.model.startDate
|
|
661
|
+
this.$refs.paged.$refs.criteria.model.endDate = this.searchobj.model.endDate*/
|
|
662
|
+
this.$refs.paged.$refs.criteria.search()
|
|
663
|
+
}
|
|
664
|
+
}
|
|
665
|
+
},
|
|
666
|
+
computed: {
|
|
667
|
+
getCondition() {
|
|
668
|
+
let condition=this.$refs.paged.$refs.criteria.condition + this.orgCondtionStr
|
|
669
|
+
return {
|
|
670
|
+
condition: condition
|
|
671
|
+
}
|
|
672
|
+
|
|
673
|
+
},
|
|
674
|
+
// 上报异常类型
|
|
675
|
+
Excestates() {
|
|
676
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('上报异常类型')]
|
|
677
|
+
},
|
|
678
|
+
Gasproperties() {
|
|
679
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('用气性质')]
|
|
680
|
+
},
|
|
681
|
+
Gasusertype() {
|
|
682
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
|
|
683
|
+
},
|
|
684
|
+
Getuploadtype() {
|
|
685
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('上报类型')]
|
|
686
|
+
},
|
|
687
|
+
//标记状态
|
|
688
|
+
parameterState() {
|
|
689
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('标记状态')]
|
|
690
|
+
},
|
|
691
|
+
//标记名称
|
|
692
|
+
parameterName() {
|
|
693
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('标记名称')]
|
|
694
|
+
},
|
|
695
|
+
// 故障状态
|
|
696
|
+
FaultStates() {
|
|
697
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('故障状态')]
|
|
698
|
+
// return [
|
|
699
|
+
// {label: '磁干扰', value: '磁干扰'},
|
|
700
|
+
// {label: '周期关阀', value: '周期关阀'},
|
|
701
|
+
// {label: '过流保护关阀', value: '过流保护关阀'},
|
|
702
|
+
// {label: '关阀走气', value: '关阀走气'},
|
|
703
|
+
// {label: '拆表报警', value: '拆表报警'},
|
|
704
|
+
// ]
|
|
705
|
+
},
|
|
706
|
+
SignalStates() {
|
|
707
|
+
return [
|
|
708
|
+
{label: '全部', value: '全部'},
|
|
709
|
+
{label: '信号正常', value: '信号正常'},
|
|
710
|
+
{label: '信号异常', value: '信号异常'},
|
|
711
|
+
]
|
|
712
|
+
}
|
|
713
|
+
}
|
|
714
|
+
}
|
|
715
|
+
</script>
|
|
716
|
+
<style>
|
|
717
|
+
.datapanel {
|
|
718
|
+
color: #333;
|
|
719
|
+
background-color: white;
|
|
720
|
+
box-shadow: darkgrey 0.5px 0.5px 0.5px 0.5px;
|
|
721
|
+
padding: 10px 30px 10px 30px;
|
|
722
|
+
border-radius: 15px;
|
|
723
|
+
}
|
|
724
|
+
</style>
|