manage-client 3.2.52-aode → 3.2.53-aode
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 +6 -6
- package/client.iml +14 -14
- package/package.json +1 -1
- package/src/Util.js +383 -383
- package/src/components/MeterManage/MeterList.vue +336 -336
- package/src/components/WebReport/UserGasAll.vue +214 -214
- package/src/components/sale/businessquery/ChangeMeterQuery.vue +627 -627
- package/src/components/sale/businessquery/ChargeQuery.vue +663 -663
- package/src/components/sale/businessquery/DeductionGas.vue +149 -149
- package/src/components/sale/businessquery/DisableQuery.vue +315 -315
- package/src/components/sale/businessquery/EnableQuery.vue +315 -315
- package/src/components/sale/businessquery/FillCardQuery.vue +436 -436
- package/src/components/sale/businessquery/FillGasQuery.vue +435 -435
- package/src/components/sale/businessquery/HandplanQuery.vue +705 -705
- package/src/components/sale/businessquery/InspectListGas.vue +453 -453
- package/src/components/sale/businessquery/NewAccountQuery.vue +506 -506
- package/src/components/sale/businessquery/OtherChargeQuery.vue +406 -406
- package/src/components/sale/businessquery/QueryUserState.vue +313 -313
- package/src/components/sale/businessquery/ReverseQuery.vue +347 -347
- package/src/components/sale/businessquery/TransferQuery.vue +363 -363
- package/src/components/sale/businessquery/toolCardMakeQuery.vue +340 -340
- package/src/components/sale/config/exportConfig.js +1 -1
- package/src/components/sale/filesquery/DeviceQuery.vue +329 -329
- package/src/components/sale/filesquery/MeterQuery.vue +593 -593
- package/src/components/sale/filesquery/UserQuery.vue +556 -556
- package/src/components/sale/filesquery/filequerydetail/BlackListQueryDetail.vue +219 -219
- package/src/components/sale/filesquery/filequerydetail/DisableQueryDetail.vue +272 -272
- package/src/components/sale/filesquery/filequerydetail/EnableQueryDetail.vue +274 -274
- package/src/components/sale/ncpush/ncUserLoad.vue +176 -176
- package/src/components/sale/ncpush/ncpushmanage/NCpushList.vue +497 -497
- package/src/components/sale/ncpush/ncrecord/pushdaydatalist.vue +298 -298
- package/src/components/sale/ncpush/pushconfirmlist.vue +414 -414
- package/src/components/sale/ncpush/pushconfirmmergelist.vue +480 -480
- package/src/components/sale/report/aode/DayReportList.vue +516 -516
- package/src/components/sale/report/aode/MonthByUserType.vue +562 -562
- package/src/components/sale/report/aode/YearByChargeTpye.vue +254 -254
- package/src/components/sale/report/aode/YearByUserType.vue +342 -342
- package/src/components/sale/report/aode/iot/FarawayQuery.vue +401 -401
- package/src/components/sale/report/aode/iot/ReportQuery.vue +344 -344
- package/src/components/sale/report/aode/userbuyQuery.vue +477 -477
- package/src/components/valueaddinfo/ValueAddinfoQuery.vue +408 -408
- package/src/components/valueaddinfo/renewalvalueAddUserQuery.vue +371 -371
- package/src/components/valueaddinfo/valueAddCountQuery.vue +315 -315
- package/src/components/valueaddinfo/valueAddUserQuery.vue +392 -392
- package/src/components/webmeter/ArreasuserQuery.vue +193 -193
- package/src/components/webmeter/DrillData/LostContactAnalysis.vue +531 -531
- package/src/components/webmeter/DrillData/LostContactAnalysisList.vue +530 -530
- package/src/components/webmeter/DrillData/NewUserGasAll.vue +560 -560
- package/src/components/webmeter/DrillData/UserGasAll.vue +515 -507
- package/src/components/webmeter/DrillData/UserLostContactAnalysis.vue +488 -488
- package/src/components/webmeter/EasyExcelExportCk.vue +396 -396
- package/src/components/webmeter/IOTArrears/arrears.vue +324 -324
- package/src/components/webmeter/IOTArrears/iotRechargeAudit.vue +377 -377
- package/src/components/webmeter/NewWebmeterHandplanQuery.vue +605 -605
- package/src/components/webmeter/WebmeterHandplanQuery.vue +640 -640
- package/src/components/webmeter/WebmeterHandplanQuery2CK.vue +663 -663
- package/src/components/webmeter/dataCollection/DataCollection.vue +630 -630
- package/src/components/webmeter/gasAnalysis/GasAnalysisManage.vue +303 -303
- package/src/components/webmeter/handplan/NewWebMeterHandPlan.vue +745 -745
- package/src/components/webmeter/newwebmeter/NewException/NewMeterException.vue +449 -449
- package/src/components/webmeter/newwebmeter/NewException/TotalExceptionByMeter.vue +492 -492
- package/src/components/webmeter/newwebmeter/ReportDataQuery.vue +283 -283
- package/src/components/webmeter/newwebmeter/UserGasList.vue +293 -293
- package/src/components/webmeter/newwebmeter/UserInstructList.vue +311 -311
- package/src/components/webmeter/newwebmeter/signAnalysisListMain.vue +386 -386
- package/src/components/webmeter/report/ReportList.vue +211 -211
- package/src/main.js +56 -56
- package/src/saleManage.js +256 -256
|
@@ -1,283 +1,283 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div id="unit" class="flex-row">
|
|
3
|
-
<div class="basic-main" @keyup.enter="search">
|
|
4
|
-
<div class="flex">
|
|
5
|
-
<criteria-paged :model="model" v-ref:paged>
|
|
6
|
-
<criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
|
|
7
|
-
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
|
8
|
-
<div class="row">
|
|
9
|
-
<div class="col-sm-2 form-group">
|
|
10
|
-
<label class="font_normal_body">客户编号</label>
|
|
11
|
-
<input type="text" style="width:60%" class="input_search" v-model="model.f_userinfo_code"
|
|
12
|
-
condition="f_userinfo_code = '{}' " placeholder="客户编号">
|
|
13
|
-
</div>
|
|
14
|
-
<div class="col-sm-2 form-group">
|
|
15
|
-
<label class="font_normal_body">客户名称</label>
|
|
16
|
-
<input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
|
|
17
|
-
condition=" f_user_name like '%{}%'" placeholder='客户名称'>
|
|
18
|
-
</div>
|
|
19
|
-
<div class="col-sm-2 form-group">
|
|
20
|
-
<label class="font_normal_body">表号</label>
|
|
21
|
-
<input type="text" style="width:60%" class="input_search" v-model="model.meternumber"
|
|
22
|
-
condition="f_meternumber = '{}' " placeholder="表号">
|
|
23
|
-
</div>
|
|
24
|
-
<div class="col-sm-2 form-group">
|
|
25
|
-
<label class="font_normal_body">气表品牌</label>
|
|
26
|
-
<v-select :value.sync="model.f_meter_brand"
|
|
27
|
-
v-model="model.f_meter_brand"
|
|
28
|
-
@change='$parent.$parent.getmeterstyle'
|
|
29
|
-
:options='$parent.$parent.meterbrands' placeholder='请选择'
|
|
30
|
-
condition="f_meter_brand = '{}'"
|
|
31
|
-
close-on-select></v-select>
|
|
32
|
-
</div>
|
|
33
|
-
<div class="col-sm-2 form-group">
|
|
34
|
-
<label class="font_normal_body">气表型号</label>
|
|
35
|
-
<v-select style="width:60%"
|
|
36
|
-
placeholder='气表型号'
|
|
37
|
-
:value.sync="model.f_meter_style"
|
|
38
|
-
v-model="model.f_meter_style"
|
|
39
|
-
:options='$parent.$parent.metertype'
|
|
40
|
-
close-on-select
|
|
41
|
-
condition="f_meter_style='{}'">
|
|
42
|
-
</v-select>
|
|
43
|
-
</div>
|
|
44
|
-
<div class="span" style="float:right;">
|
|
45
|
-
<button class="button_search button_spacing" @click="search()">查询</button>
|
|
46
|
-
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
47
|
-
<export-excel :data="$parent.$parent.getCondition"
|
|
48
|
-
:field="$parent.$parent.getfield"
|
|
49
|
-
sqlurl="rs/logic/exportfile" sql-name="getReportDataQuery" template-name='上报数据查询' :choose-col="true"
|
|
50
|
-
class="button_export button_spacing"></export-excel>
|
|
51
|
-
<div style="float: right" class="button_spacing"
|
|
52
|
-
:class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
|
|
53
|
-
@click="$parent.$parent.hidden()"></div>
|
|
54
|
-
</div>
|
|
55
|
-
</div>
|
|
56
|
-
<div v-show="$parent.$parent.criteriaShow">
|
|
57
|
-
<res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
|
|
58
|
-
</div>
|
|
59
|
-
</div>
|
|
60
|
-
</criteria>
|
|
61
|
-
|
|
62
|
-
<data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid>
|
|
63
|
-
<template partial='head'>
|
|
64
|
-
<tr>
|
|
65
|
-
<th style="text-align:center"><nobr>用户编号</nobr></th>
|
|
66
|
-
<th style="text-align:center"><nobr>用户名称</nobr></th>
|
|
67
|
-
<th style="text-align:center"><nobr>表号</nobr></th>
|
|
68
|
-
<th style="text-align:center"><nobr>本次抄表底数</nobr></th>
|
|
69
|
-
<th style="text-align:center"><nobr>上次抄表底数</nobr></th>
|
|
70
|
-
<th style="text-align:center"><nobr>表计剩余余额</nobr></th>
|
|
71
|
-
<th style="text-align:center"><nobr>抄表日期</nobr></th>
|
|
72
|
-
|
|
73
|
-
<th style="text-align:center"><nobr>上次抄表日期</nobr></th>
|
|
74
|
-
<th style="text-align:center"><nobr>开户日期</nobr></th>
|
|
75
|
-
<th style="text-align:center"><nobr>软件版本号</nobr></th>
|
|
76
|
-
<th style="text-align:center"><nobr>表状态信息</nobr></th>
|
|
77
|
-
<th style="text-align:center"><nobr>上次表状态信息</nobr></th>
|
|
78
|
-
|
|
79
|
-
<th style="text-align:center"><nobr>插入日期</nobr></th>
|
|
80
|
-
<th style="text-align:center"><nobr>上次插入日期</nobr></th>
|
|
81
|
-
<th style="text-align:center"><nobr>是否结算</nobr></th>
|
|
82
|
-
|
|
83
|
-
<th style="text-align:center"><nobr>超用气量</nobr></th>
|
|
84
|
-
<th style="text-align:center"><nobr>电量等级</nobr></th>
|
|
85
|
-
|
|
86
|
-
<th style="text-align:center"><nobr>购气次数</nobr></th>
|
|
87
|
-
<th style="text-align:center"><nobr>单价</nobr></th>
|
|
88
|
-
<th style="text-align:center"><nobr>信号强度</nobr></th>
|
|
89
|
-
<th style="text-align:center"><nobr>信噪比</nobr></th>
|
|
90
|
-
<th style="text-align:center"><nobr>电压</nobr></th>
|
|
91
|
-
|
|
92
|
-
<th style="text-align:center"><nobr>阀门强制状态</nobr></th>
|
|
93
|
-
<th style="text-align:center"><nobr>阀门状态</nobr></th>
|
|
94
|
-
<th style="text-align:center"><nobr>计量类型</nobr></th>
|
|
95
|
-
<th style="text-align:center"><nobr>上报类型</nobr></th>
|
|
96
|
-
<th style="text-align:center"><nobr>金额状态</nobr></th>
|
|
97
|
-
|
|
98
|
-
<th style="text-align:center"><nobr>电压状态</nobr></th>
|
|
99
|
-
<th style="text-align:center"><nobr>磁干扰异常</nobr></th>
|
|
100
|
-
<th style="text-align:center"><nobr>表内剩余金额</nobr></th>
|
|
101
|
-
<th style="text-align:center"><nobr>表内累计充值金额</nobr></th>
|
|
102
|
-
<th style="text-align:center"><nobr>补偿状态</nobr></th>
|
|
103
|
-
|
|
104
|
-
<th style="text-align:center"><nobr>分公司</nobr></th>
|
|
105
|
-
</tr>
|
|
106
|
-
</template>
|
|
107
|
-
|
|
108
|
-
<template partial='body'>
|
|
109
|
-
<td style="text-align: left;"><nobr>{{row.f_userinfo_code}}</nobr></td>
|
|
110
|
-
<td style="text-align: left;"><nobr>{{row.f_user_name}}</nobr></td>
|
|
111
|
-
<td style="text-align: left;"><nobr>{{row.f_meternumber}}</nobr></td>
|
|
112
|
-
<td style="text-align: left;"><nobr>{{row.f_tablebase}}</nobr></td>
|
|
113
|
-
<td style="text-align: left;"><nobr>{{row.f_last_tablebase}}</nobr></td>
|
|
114
|
-
<td style="text-align: left;"><nobr>{{row.f_jval}}</nobr></td>
|
|
115
|
-
<td style="text-align: left;"><nobr>{{row.f_hand_date}}</nobr></td>
|
|
116
|
-
|
|
117
|
-
<td style="text-align: left;"><nobr>{{row.f_last_hand_date}}</nobr></td>
|
|
118
|
-
<td style="text-align: left;"><nobr>{{row.f_gas_date}}</nobr></td>
|
|
119
|
-
<td style="text-align: left;"><nobr>{{row.f_software_version}}</nobr></td>
|
|
120
|
-
<td style="text-align: left;"><nobr>{{row.f_table_msg}}</nobr></td>
|
|
121
|
-
<td style="text-align: left;"><nobr>{{row.f_last_meter_state_msg}}</nobr></td>
|
|
122
|
-
|
|
123
|
-
<td style="text-align: left;"><nobr>{{row.f_insert_date}}</nobr></td>
|
|
124
|
-
<td style="text-align: left;"><nobr>{{row.f_last_insertdate}}</nobr></td>
|
|
125
|
-
<td style="text-align: left;"><nobr>{{row.f_whether_clear}}</nobr></td>
|
|
126
|
-
|
|
127
|
-
<td style="text-align: left;"><nobr>{{row.f_super_gas}}</nobr></td>
|
|
128
|
-
<td style="text-align: left;"><nobr>{{row.f_electricity}}</nobr></td>
|
|
129
|
-
|
|
130
|
-
<td style="text-align: left;"><nobr>{{row.f_times}}</nobr></td>
|
|
131
|
-
<td style="text-align: left;"><nobr>{{row.f_price}}</nobr></td>
|
|
132
|
-
<td style="text-align: left;"><nobr>{{row.f_signal}}</nobr></td>
|
|
133
|
-
<td style="text-align: left;"><nobr>{{row.f_snr}}</nobr></td>
|
|
134
|
-
<td style="text-align: left;"><nobr>{{row.f_batteryLevel}}</nobr></td>
|
|
135
|
-
|
|
136
|
-
<td style="text-align: left;"><nobr>{{row.f_networkShutValve}}</nobr></td>
|
|
137
|
-
<td style="text-align: left;"><nobr>{{row.f_valveState}}</nobr></td>
|
|
138
|
-
<td style="text-align: left;"><nobr>{{row.f_wmprepaytype}}</nobr></td>
|
|
139
|
-
<td style="text-align: left;"><nobr>{{row.f_upload_type}}</nobr></td>
|
|
140
|
-
<td style="text-align: left;"><nobr>{{row.f_moneyState}}</nobr></td>
|
|
141
|
-
|
|
142
|
-
<td style="text-align: left;"><nobr>{{row.f_LowLithiumBattery}}</nobr></td>
|
|
143
|
-
<td style="text-align: left;"><nobr>{{row.f_magneticInterference}}</nobr></td>
|
|
144
|
-
<td style="text-align: left;"><nobr>{{row.f_meterBalanceAmt}}</nobr></td>
|
|
145
|
-
<td style="text-align: left;"><nobr>{{row.f_meterDebitAmt}}</nobr></td>
|
|
146
|
-
<td style="text-align: left;"><nobr>{{row.f_compensateState}}</nobr></td>
|
|
147
|
-
|
|
148
|
-
<td style="text-align: left;"><nobr>{{row.f_filiale}}</nobr></td>
|
|
149
|
-
</template>
|
|
150
|
-
<template partial='foot'></template>
|
|
151
|
-
</data-grid>
|
|
152
|
-
</criteria-paged>
|
|
153
|
-
</div>
|
|
154
|
-
</div>
|
|
155
|
-
</div>
|
|
156
|
-
</template>
|
|
157
|
-
|
|
158
|
-
<script>
|
|
159
|
-
import {PagedList} from 'vue-client'
|
|
160
|
-
import exportConfig from '../../sale/config/exportConfig'
|
|
161
|
-
let readySomething = async function (self) {
|
|
162
|
-
|
|
163
|
-
await self.$MagLoadParams.loadParam()
|
|
164
|
-
self.initParams()
|
|
165
|
-
}
|
|
166
|
-
export default {
|
|
167
|
-
title: '上报数据查询',
|
|
168
|
-
data() {
|
|
169
|
-
return {
|
|
170
|
-
model: new PagedList('rs/sql/getReportDataQuery', 20, {}),
|
|
171
|
-
criteriaShow: false,
|
|
172
|
-
config: {
|
|
173
|
-
fieldMapping: {
|
|
174
|
-
f_userinfo_id: '客户编号',
|
|
175
|
-
f_user_name: '客户名称'
|
|
176
|
-
}
|
|
177
|
-
},
|
|
178
|
-
meterbrands: [],
|
|
179
|
-
metertype:[],
|
|
180
|
-
headData: [],
|
|
181
|
-
bodyData: [],
|
|
182
|
-
orgCondtionStr: '',
|
|
183
|
-
initres: {
|
|
184
|
-
org: [this.$login.f.orgid],
|
|
185
|
-
dep: [],
|
|
186
|
-
user: [],
|
|
187
|
-
}
|
|
188
|
-
}
|
|
189
|
-
},
|
|
190
|
-
async created () {
|
|
191
|
-
await this.$getConfig(this,'ReportDataQuery')
|
|
192
|
-
},
|
|
193
|
-
ready() {
|
|
194
|
-
readySomething(this).then(() => {
|
|
195
|
-
this.$emit('ready')
|
|
196
|
-
}).catch((error) => {
|
|
197
|
-
this.$emit('error', error)
|
|
198
|
-
})
|
|
199
|
-
},
|
|
200
|
-
methods: {
|
|
201
|
-
search() {
|
|
202
|
-
this.$refs.paged.$refs.cri.search()
|
|
203
|
-
},
|
|
204
|
-
async selfSearch(args) {
|
|
205
|
-
args.condition = `${args.condition}` + this.orgCondtionStr
|
|
206
|
-
await this.model.search(args.condition, args.model)
|
|
207
|
-
// 查询到数据进行处理
|
|
208
|
-
if (this.model.rows.length > 0) {
|
|
209
|
-
this.bodyData = this.headData = Object.keys(this.model.rows[0])
|
|
210
|
-
}
|
|
211
|
-
},
|
|
212
|
-
clear() {
|
|
213
|
-
//清空部门和人员
|
|
214
|
-
this.$refs.paged.$refs.cri.$refs.sel.$children[1].selectres = []
|
|
215
|
-
this.$refs.paged.$refs.cri.$refs.sel.$children[2].selectres = []
|
|
216
|
-
//部门和人员变为全选
|
|
217
|
-
this.$refs.paged.$refs.cri.$refs.sel.$children[1].$children[0].isSelectAll = false
|
|
218
|
-
this.$refs.paged.$refs.cri.$refs.sel.$children[2].$children[0].isSelectAll = false
|
|
219
|
-
Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
|
|
220
|
-
this.$refs.paged.$refs.cri.model[key] = ''
|
|
221
|
-
})
|
|
222
|
-
},
|
|
223
|
-
initParams() {
|
|
224
|
-
// 初始化气表品牌
|
|
225
|
-
let brandArr = []
|
|
226
|
-
this.$MagGetSaleParam.getGasbrand().forEach((item) => {
|
|
227
|
-
if(item.value.f_meter_type=='物联网表'){
|
|
228
|
-
let temp = {}
|
|
229
|
-
temp.label = item.label
|
|
230
|
-
temp.value = item.value.f_meter_brand
|
|
231
|
-
brandArr.push(temp)
|
|
232
|
-
}
|
|
233
|
-
|
|
234
|
-
})
|
|
235
|
-
this.meterbrands = [{label: '全部', value: ''}, ...brandArr]
|
|
236
|
-
},
|
|
237
|
-
hidden() {
|
|
238
|
-
this.criteriaShow = !this.criteriaShow
|
|
239
|
-
},
|
|
240
|
-
getmeterstyle(){
|
|
241
|
-
this.metertype=[]
|
|
242
|
-
this.metertype.push({label:'全部',value:''})
|
|
243
|
-
this.$MagGetSaleParam.getGasbrand().forEach((item) => {
|
|
244
|
-
|
|
245
|
-
if(item.label==this.$refs.paged.$refs.cri.model.f_meter_brand){
|
|
246
|
-
|
|
247
|
-
item.value.gasmodel.forEach((model) => {
|
|
248
|
-
let temp = {}
|
|
249
|
-
|
|
250
|
-
temp.label = model.label
|
|
251
|
-
temp.value = model.value.f_meter_style
|
|
252
|
-
this.metertype.push(temp)
|
|
253
|
-
})
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
}
|
|
257
|
-
|
|
258
|
-
})
|
|
259
|
-
},
|
|
260
|
-
getRes(condition, obj) {
|
|
261
|
-
|
|
262
|
-
this.orgCondtionStr = condition
|
|
263
|
-
// this.orgname = obj.orgnames[0]
|
|
264
|
-
// this.depname = obj.depnames[0]
|
|
265
|
-
},
|
|
266
|
-
},
|
|
267
|
-
watch: {
|
|
268
|
-
},
|
|
269
|
-
computed: {
|
|
270
|
-
getfield() {
|
|
271
|
-
|
|
272
|
-
return exportConfig.ReportDataQueryConfig
|
|
273
|
-
},
|
|
274
|
-
getCondition() {
|
|
275
|
-
|
|
276
|
-
return {
|
|
277
|
-
condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr
|
|
278
|
-
}
|
|
279
|
-
|
|
280
|
-
},
|
|
281
|
-
}
|
|
282
|
-
}
|
|
283
|
-
</script>
|
|
1
|
+
<template>
|
|
2
|
+
<div id="unit" class="flex-row">
|
|
3
|
+
<div class="basic-main" @keyup.enter="search">
|
|
4
|
+
<div class="flex">
|
|
5
|
+
<criteria-paged :model="model" v-ref:paged>
|
|
6
|
+
<criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
|
|
7
|
+
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
|
8
|
+
<div class="row">
|
|
9
|
+
<div class="col-sm-2 form-group">
|
|
10
|
+
<label class="font_normal_body">客户编号</label>
|
|
11
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_userinfo_code"
|
|
12
|
+
condition="f_userinfo_code = '{}' " placeholder="客户编号">
|
|
13
|
+
</div>
|
|
14
|
+
<div class="col-sm-2 form-group">
|
|
15
|
+
<label class="font_normal_body">客户名称</label>
|
|
16
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
|
|
17
|
+
condition=" f_user_name like '%{}%'" placeholder='客户名称'>
|
|
18
|
+
</div>
|
|
19
|
+
<div class="col-sm-2 form-group">
|
|
20
|
+
<label class="font_normal_body">表号</label>
|
|
21
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.meternumber"
|
|
22
|
+
condition="f_meternumber = '{}' " placeholder="表号">
|
|
23
|
+
</div>
|
|
24
|
+
<div class="col-sm-2 form-group">
|
|
25
|
+
<label class="font_normal_body">气表品牌</label>
|
|
26
|
+
<v-select :value.sync="model.f_meter_brand"
|
|
27
|
+
v-model="model.f_meter_brand"
|
|
28
|
+
@change='$parent.$parent.getmeterstyle'
|
|
29
|
+
:options='$parent.$parent.meterbrands' placeholder='请选择'
|
|
30
|
+
condition="f_meter_brand = '{}'"
|
|
31
|
+
close-on-select></v-select>
|
|
32
|
+
</div>
|
|
33
|
+
<div class="col-sm-2 form-group">
|
|
34
|
+
<label class="font_normal_body">气表型号</label>
|
|
35
|
+
<v-select style="width:60%"
|
|
36
|
+
placeholder='气表型号'
|
|
37
|
+
:value.sync="model.f_meter_style"
|
|
38
|
+
v-model="model.f_meter_style"
|
|
39
|
+
:options='$parent.$parent.metertype'
|
|
40
|
+
close-on-select
|
|
41
|
+
condition="f_meter_style='{}'">
|
|
42
|
+
</v-select>
|
|
43
|
+
</div>
|
|
44
|
+
<div class="span" style="float:right;">
|
|
45
|
+
<button class="button_search button_spacing" @click="search()">查询</button>
|
|
46
|
+
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
47
|
+
<export-excel :data="$parent.$parent.getCondition"
|
|
48
|
+
:field="$parent.$parent.getfield"
|
|
49
|
+
sqlurl="rs/logic/exportfile" sql-name="getReportDataQuery" template-name='上报数据查询' :choose-col="true"
|
|
50
|
+
class="button_export button_spacing"></export-excel>
|
|
51
|
+
<div style="float: right" class="button_spacing"
|
|
52
|
+
:class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
|
|
53
|
+
@click="$parent.$parent.hidden()"></div>
|
|
54
|
+
</div>
|
|
55
|
+
</div>
|
|
56
|
+
<div v-show="$parent.$parent.criteriaShow">
|
|
57
|
+
<res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
|
|
58
|
+
</div>
|
|
59
|
+
</div>
|
|
60
|
+
</criteria>
|
|
61
|
+
|
|
62
|
+
<data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid>
|
|
63
|
+
<template partial='head'>
|
|
64
|
+
<tr>
|
|
65
|
+
<th style="text-align:center"><nobr>用户编号</nobr></th>
|
|
66
|
+
<th style="text-align:center"><nobr>用户名称</nobr></th>
|
|
67
|
+
<th style="text-align:center"><nobr>表号</nobr></th>
|
|
68
|
+
<th style="text-align:center"><nobr>本次抄表底数</nobr></th>
|
|
69
|
+
<th style="text-align:center"><nobr>上次抄表底数</nobr></th>
|
|
70
|
+
<th style="text-align:center"><nobr>表计剩余余额</nobr></th>
|
|
71
|
+
<th style="text-align:center"><nobr>抄表日期</nobr></th>
|
|
72
|
+
|
|
73
|
+
<th style="text-align:center"><nobr>上次抄表日期</nobr></th>
|
|
74
|
+
<th style="text-align:center"><nobr>开户日期</nobr></th>
|
|
75
|
+
<th style="text-align:center"><nobr>软件版本号</nobr></th>
|
|
76
|
+
<th style="text-align:center"><nobr>表状态信息</nobr></th>
|
|
77
|
+
<th style="text-align:center"><nobr>上次表状态信息</nobr></th>
|
|
78
|
+
|
|
79
|
+
<th style="text-align:center"><nobr>插入日期</nobr></th>
|
|
80
|
+
<th style="text-align:center"><nobr>上次插入日期</nobr></th>
|
|
81
|
+
<th style="text-align:center"><nobr>是否结算</nobr></th>
|
|
82
|
+
|
|
83
|
+
<th style="text-align:center"><nobr>超用气量</nobr></th>
|
|
84
|
+
<th style="text-align:center"><nobr>电量等级</nobr></th>
|
|
85
|
+
|
|
86
|
+
<th style="text-align:center"><nobr>购气次数</nobr></th>
|
|
87
|
+
<th style="text-align:center"><nobr>单价</nobr></th>
|
|
88
|
+
<th style="text-align:center"><nobr>信号强度</nobr></th>
|
|
89
|
+
<th style="text-align:center"><nobr>信噪比</nobr></th>
|
|
90
|
+
<th style="text-align:center"><nobr>电压</nobr></th>
|
|
91
|
+
|
|
92
|
+
<th style="text-align:center"><nobr>阀门强制状态</nobr></th>
|
|
93
|
+
<th style="text-align:center"><nobr>阀门状态</nobr></th>
|
|
94
|
+
<th style="text-align:center"><nobr>计量类型</nobr></th>
|
|
95
|
+
<th style="text-align:center"><nobr>上报类型</nobr></th>
|
|
96
|
+
<th style="text-align:center"><nobr>金额状态</nobr></th>
|
|
97
|
+
|
|
98
|
+
<th style="text-align:center"><nobr>电压状态</nobr></th>
|
|
99
|
+
<th style="text-align:center"><nobr>磁干扰异常</nobr></th>
|
|
100
|
+
<th style="text-align:center"><nobr>表内剩余金额</nobr></th>
|
|
101
|
+
<th style="text-align:center"><nobr>表内累计充值金额</nobr></th>
|
|
102
|
+
<th style="text-align:center"><nobr>补偿状态</nobr></th>
|
|
103
|
+
|
|
104
|
+
<th style="text-align:center"><nobr>分公司</nobr></th>
|
|
105
|
+
</tr>
|
|
106
|
+
</template>
|
|
107
|
+
|
|
108
|
+
<template partial='body'>
|
|
109
|
+
<td style="text-align: left;"><nobr>{{row.f_userinfo_code}}</nobr></td>
|
|
110
|
+
<td style="text-align: left;"><nobr>{{row.f_user_name}}</nobr></td>
|
|
111
|
+
<td style="text-align: left;"><nobr>{{row.f_meternumber}}</nobr></td>
|
|
112
|
+
<td style="text-align: left;"><nobr>{{row.f_tablebase}}</nobr></td>
|
|
113
|
+
<td style="text-align: left;"><nobr>{{row.f_last_tablebase}}</nobr></td>
|
|
114
|
+
<td style="text-align: left;"><nobr>{{row.f_jval}}</nobr></td>
|
|
115
|
+
<td style="text-align: left;"><nobr>{{row.f_hand_date}}</nobr></td>
|
|
116
|
+
|
|
117
|
+
<td style="text-align: left;"><nobr>{{row.f_last_hand_date}}</nobr></td>
|
|
118
|
+
<td style="text-align: left;"><nobr>{{row.f_gas_date}}</nobr></td>
|
|
119
|
+
<td style="text-align: left;"><nobr>{{row.f_software_version}}</nobr></td>
|
|
120
|
+
<td style="text-align: left;"><nobr>{{row.f_table_msg}}</nobr></td>
|
|
121
|
+
<td style="text-align: left;"><nobr>{{row.f_last_meter_state_msg}}</nobr></td>
|
|
122
|
+
|
|
123
|
+
<td style="text-align: left;"><nobr>{{row.f_insert_date}}</nobr></td>
|
|
124
|
+
<td style="text-align: left;"><nobr>{{row.f_last_insertdate}}</nobr></td>
|
|
125
|
+
<td style="text-align: left;"><nobr>{{row.f_whether_clear}}</nobr></td>
|
|
126
|
+
|
|
127
|
+
<td style="text-align: left;"><nobr>{{row.f_super_gas}}</nobr></td>
|
|
128
|
+
<td style="text-align: left;"><nobr>{{row.f_electricity}}</nobr></td>
|
|
129
|
+
|
|
130
|
+
<td style="text-align: left;"><nobr>{{row.f_times}}</nobr></td>
|
|
131
|
+
<td style="text-align: left;"><nobr>{{row.f_price}}</nobr></td>
|
|
132
|
+
<td style="text-align: left;"><nobr>{{row.f_signal}}</nobr></td>
|
|
133
|
+
<td style="text-align: left;"><nobr>{{row.f_snr}}</nobr></td>
|
|
134
|
+
<td style="text-align: left;"><nobr>{{row.f_batteryLevel}}</nobr></td>
|
|
135
|
+
|
|
136
|
+
<td style="text-align: left;"><nobr>{{row.f_networkShutValve}}</nobr></td>
|
|
137
|
+
<td style="text-align: left;"><nobr>{{row.f_valveState}}</nobr></td>
|
|
138
|
+
<td style="text-align: left;"><nobr>{{row.f_wmprepaytype}}</nobr></td>
|
|
139
|
+
<td style="text-align: left;"><nobr>{{row.f_upload_type}}</nobr></td>
|
|
140
|
+
<td style="text-align: left;"><nobr>{{row.f_moneyState}}</nobr></td>
|
|
141
|
+
|
|
142
|
+
<td style="text-align: left;"><nobr>{{row.f_LowLithiumBattery}}</nobr></td>
|
|
143
|
+
<td style="text-align: left;"><nobr>{{row.f_magneticInterference}}</nobr></td>
|
|
144
|
+
<td style="text-align: left;"><nobr>{{row.f_meterBalanceAmt}}</nobr></td>
|
|
145
|
+
<td style="text-align: left;"><nobr>{{row.f_meterDebitAmt}}</nobr></td>
|
|
146
|
+
<td style="text-align: left;"><nobr>{{row.f_compensateState}}</nobr></td>
|
|
147
|
+
|
|
148
|
+
<td style="text-align: left;"><nobr>{{row.f_filiale}}</nobr></td>
|
|
149
|
+
</template>
|
|
150
|
+
<template partial='foot'></template>
|
|
151
|
+
</data-grid>
|
|
152
|
+
</criteria-paged>
|
|
153
|
+
</div>
|
|
154
|
+
</div>
|
|
155
|
+
</div>
|
|
156
|
+
</template>
|
|
157
|
+
|
|
158
|
+
<script>
|
|
159
|
+
import {PagedList} from 'vue-client'
|
|
160
|
+
import exportConfig from '../../sale/config/exportConfig'
|
|
161
|
+
let readySomething = async function (self) {
|
|
162
|
+
|
|
163
|
+
await self.$MagLoadParams.loadParam()
|
|
164
|
+
self.initParams()
|
|
165
|
+
}
|
|
166
|
+
export default {
|
|
167
|
+
title: '上报数据查询',
|
|
168
|
+
data() {
|
|
169
|
+
return {
|
|
170
|
+
model: new PagedList('rs/sql/getReportDataQuery', 20, {}),
|
|
171
|
+
criteriaShow: false,
|
|
172
|
+
config: {
|
|
173
|
+
fieldMapping: {
|
|
174
|
+
f_userinfo_id: '客户编号',
|
|
175
|
+
f_user_name: '客户名称'
|
|
176
|
+
}
|
|
177
|
+
},
|
|
178
|
+
meterbrands: [],
|
|
179
|
+
metertype:[],
|
|
180
|
+
headData: [],
|
|
181
|
+
bodyData: [],
|
|
182
|
+
orgCondtionStr: '',
|
|
183
|
+
initres: {
|
|
184
|
+
org: [this.$login.f.orgid],
|
|
185
|
+
dep: [],
|
|
186
|
+
user: [],
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
},
|
|
190
|
+
async created () {
|
|
191
|
+
await this.$getConfig(this,'ReportDataQuery')
|
|
192
|
+
},
|
|
193
|
+
ready() {
|
|
194
|
+
readySomething(this).then(() => {
|
|
195
|
+
this.$emit('ready')
|
|
196
|
+
}).catch((error) => {
|
|
197
|
+
this.$emit('error', error)
|
|
198
|
+
})
|
|
199
|
+
},
|
|
200
|
+
methods: {
|
|
201
|
+
search() {
|
|
202
|
+
this.$refs.paged.$refs.cri.search()
|
|
203
|
+
},
|
|
204
|
+
async selfSearch(args) {
|
|
205
|
+
args.condition = `${args.condition}` + this.orgCondtionStr
|
|
206
|
+
await this.model.search(args.condition, args.model)
|
|
207
|
+
// 查询到数据进行处理
|
|
208
|
+
if (this.model.rows.length > 0) {
|
|
209
|
+
this.bodyData = this.headData = Object.keys(this.model.rows[0])
|
|
210
|
+
}
|
|
211
|
+
},
|
|
212
|
+
clear() {
|
|
213
|
+
//清空部门和人员
|
|
214
|
+
this.$refs.paged.$refs.cri.$refs.sel.$children[1].selectres = []
|
|
215
|
+
this.$refs.paged.$refs.cri.$refs.sel.$children[2].selectres = []
|
|
216
|
+
//部门和人员变为全选
|
|
217
|
+
this.$refs.paged.$refs.cri.$refs.sel.$children[1].$children[0].isSelectAll = false
|
|
218
|
+
this.$refs.paged.$refs.cri.$refs.sel.$children[2].$children[0].isSelectAll = false
|
|
219
|
+
Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
|
|
220
|
+
this.$refs.paged.$refs.cri.model[key] = ''
|
|
221
|
+
})
|
|
222
|
+
},
|
|
223
|
+
initParams() {
|
|
224
|
+
// 初始化气表品牌
|
|
225
|
+
let brandArr = []
|
|
226
|
+
this.$MagGetSaleParam.getGasbrand().forEach((item) => {
|
|
227
|
+
if(item.value.f_meter_type=='物联网表'){
|
|
228
|
+
let temp = {}
|
|
229
|
+
temp.label = item.label
|
|
230
|
+
temp.value = item.value.f_meter_brand
|
|
231
|
+
brandArr.push(temp)
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
})
|
|
235
|
+
this.meterbrands = [{label: '全部', value: ''}, ...brandArr]
|
|
236
|
+
},
|
|
237
|
+
hidden() {
|
|
238
|
+
this.criteriaShow = !this.criteriaShow
|
|
239
|
+
},
|
|
240
|
+
getmeterstyle(){
|
|
241
|
+
this.metertype=[]
|
|
242
|
+
this.metertype.push({label:'全部',value:''})
|
|
243
|
+
this.$MagGetSaleParam.getGasbrand().forEach((item) => {
|
|
244
|
+
|
|
245
|
+
if(item.label==this.$refs.paged.$refs.cri.model.f_meter_brand){
|
|
246
|
+
|
|
247
|
+
item.value.gasmodel.forEach((model) => {
|
|
248
|
+
let temp = {}
|
|
249
|
+
|
|
250
|
+
temp.label = model.label
|
|
251
|
+
temp.value = model.value.f_meter_style
|
|
252
|
+
this.metertype.push(temp)
|
|
253
|
+
})
|
|
254
|
+
|
|
255
|
+
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
})
|
|
259
|
+
},
|
|
260
|
+
getRes(condition, obj) {
|
|
261
|
+
|
|
262
|
+
this.orgCondtionStr = condition
|
|
263
|
+
// this.orgname = obj.orgnames[0]
|
|
264
|
+
// this.depname = obj.depnames[0]
|
|
265
|
+
},
|
|
266
|
+
},
|
|
267
|
+
watch: {
|
|
268
|
+
},
|
|
269
|
+
computed: {
|
|
270
|
+
getfield() {
|
|
271
|
+
|
|
272
|
+
return exportConfig.ReportDataQueryConfig
|
|
273
|
+
},
|
|
274
|
+
getCondition() {
|
|
275
|
+
|
|
276
|
+
return {
|
|
277
|
+
condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
},
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
</script>
|