manage-client 3.3.210 → 3.3.211

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.
Files changed (33) hide show
  1. package/package.json +1 -1
  2. package/src/components/SellReport/yangchun/YcBusSummaryes.vue +229 -0
  3. package/src/components/sale/businessquery/ChargeQuery.vue +8 -8
  4. package/src/components/sale/businessquery/HandplanQuery.vue +33 -33
  5. package/src/components/sale/businessquery/WebHandplanQuery.vue +24 -4
  6. package/src/components/sale/common/PrintTableManage.vue +242 -0
  7. package/src/components/sale/config/exportConfig.js +0 -1
  8. package/src/components/sale/config/tableConfig.js +2 -1
  9. package/src/components/sale/filesquery/FireQuery.vue +20 -1
  10. package/src/components/webmeter/DrillData/GetNoMetereadData.vue +25 -1
  11. package/src/components/webmeter/newwebmeter/NewException/MeterExceptionList.vue +59 -94
  12. package/src/components/webmeter/report/ReportList.vue +2 -2
  13. package/src/filiale/bayan/config/DefaultPrint.js +6 -0
  14. package/src/filiale/bayan/config/exportConfig.js +2642 -0
  15. package/src/filiale/bayan/config/tableConfig.js +59 -0
  16. package/src/filiale/bayan/webmeter/GetNoMetereadData.vue +425 -0
  17. package/src/filiale/bayan/webmeter/LostContactAnalysisList.vue +719 -0
  18. package/src/filiale/bayan/webmeter/MeterExceptionList.vue +591 -0
  19. package/src/filiale/bayan/webmeter/NewGasStatistics.vue +665 -0
  20. package/src/filiale/bayan/webmeter/NewQueryInstruct.vue +650 -0
  21. package/src/filiale/bayan/webmeter/NewWebmeterSettlementAnalysis.vue +464 -0
  22. package/src/filiale/bayan/webmeter/RechargeList.vue +430 -0
  23. package/src/filiale/bayan/webmeter/ReportDataQuery.vue +343 -0
  24. package/src/filiale/bayan/webmeter/ReportList.vue +555 -0
  25. package/src/filiale/bayan/webmeter/UserLostContactAnalysis.vue +674 -0
  26. package/src/filiale/bayan/webmeterManage.js +26 -0
  27. package/src/filiale/kelai/feimin_style_kl.vue +1 -1
  28. package/src/filiale/yuncheng/ChangeMeterQuery.vue +17 -0
  29. package/src/filiale/yuncheng/MeterQuery.vue +995 -0
  30. package/src/filiale/yuncheng/config/exportConfig.js +4 -0
  31. package/src/filiale/yuncheng/sale.js +4 -0
  32. package/src/reportManage.js +5 -0
  33. package/src/saleManage.js +2 -0
@@ -0,0 +1,59 @@
1
+ export default {
2
+ // 查询页面的字段名和中文对应
3
+ ReportDataQuery: {
4
+ '用户编号': 'f_userinfo_code',
5
+ '用户名称': 'f_user_name',
6
+ '用户地址': 'f_address',
7
+ '小区': 'f_residential_area',
8
+ '用户类型': 'f_user_type',
9
+ '用气类型': 'f_user_nature',
10
+ '用气性质': 'f_gasproperties',
11
+ '表号': 'f_meternumber',
12
+ '本次抄表底数': 'f_tablebase',
13
+ '上次抄表底数': 'f_last_tablebase',
14
+ '表上余额': 'f_jval',
15
+ '抄表日期': 'f_hand_date',
16
+
17
+ '上次抄表日期': 'f_last_hand_date',
18
+ '开户日期': 'f_gas_date',
19
+ '软件版本号': 'f_software_version',
20
+ '表状态信息': 'f_table_msg',
21
+ '上次表状态信息': 'f_last_meter_state_msg',
22
+
23
+ '插入日期': 'f_insert_date',
24
+ '上次插入日期': 'f_last_insertdate',
25
+ '是否结算': 'f_whether_clear',
26
+ '超用气量': 'f_super_gas',
27
+ '电量等级': 'f_electricity',
28
+
29
+ '购气次数': 'f_times',
30
+ '单价': 'f_price',
31
+ '信号强度': 'f_signal',
32
+ '信噪比': 'f_snr',
33
+ '电压': 'f_batterylevel',
34
+
35
+ '阀门强制状态': 'f_networkshutvalve',
36
+ '阀门状态': 'f_valvestate',
37
+ '计量类型': 'f_wmprepaytype',
38
+ '上报类型': 'f_upload_type',
39
+ '金额状态': 'f_moneystate',
40
+
41
+ '增加工况瞬时': 'operatingModeFlow',
42
+ '标况瞬时': 'standardConditionFlow',
43
+ '开盖状态': 'f_SplitAlarm',
44
+ '液晶状态': 'f_XTIpllStopFlag',
45
+ '声速': 'soundVelocity',
46
+
47
+ '外电低电': 'f_lowlithiumbattery',
48
+ '磁干扰异常': 'f_magneticinterference',
49
+ '表内剩余金额': 'f_meterbalanceamt',
50
+ '表内累计充值金额': 'f_meterdebitamt',
51
+ '补偿状态': 'f_compensatestate',
52
+ '气表品牌': 'f_meter_brand',
53
+ '气表型号': 'f_meter_style',
54
+ '分公司': 'f_orgname',
55
+ '部门': 'f_depname'
56
+
57
+ }
58
+
59
+ }
@@ -0,0 +1,425 @@
1
+ <template>
2
+ <div class="flex-row" v-show="!showdetail">
3
+ <div id='app1' class="basic-main">
4
+ <criteria-paged :model="model" :pager='true' v-ref:paged>
5
+ <criteria partial='criteria' @condition-changed='$parent.search' v-ref:cri>
6
+ <div novalidate class="form-horizontal select-overspread container-fluid auto" novalidate partial>
7
+ <div class="row">
8
+ <div class="col-sm-2 form-group">
9
+ <label class="font_normal_body">客户编号</label>
10
+ <input @keyup.enter="search" style="width:60%" type="text" class="input_search"
11
+ v-model="model.f_userinfo_code" placeholder='客户编号'
12
+ condition="f_userinfo_code like '%{}%'" v-el:xq v-next-el='userinfocode' v-el:username
13
+ >
14
+ </div>
15
+ <div class="col-sm-2 form-group">
16
+ <label class="font_normal_body">客户名称</label>
17
+ <input @keyup.enter="search" style="width:60%" type="text" class="input_search"
18
+ v-model="model.f_user_name" placeholder='客户名称'
19
+ condition="f_user_name like '%{}%'" v-el:xq v-next-el='username' v-el:username
20
+ >
21
+ </div>
22
+ <div class="col-sm-2 form-group">
23
+ <label class="font_normal_body">客户地址</label>
24
+ <input @keyup.enter="search" style="width:60%" type="text" class="input_search" v-model="model.f_area"
25
+ placeholder='地址'
26
+ condition="f_address like '%{}%'" v-el:xq v-next-el='address' v-el:area
27
+ >
28
+ </div>
29
+ <div class="col-sm-2 form-group">
30
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;表号&nbsp;&nbsp;&nbsp;</label>
31
+ <input @keyup.enter="search" style="width:60%" type="text" class="input_search"
32
+ v-model="model.f_meternumber" placeholder='表号'
33
+ condition="f_meternumber like '%{}%'" v-next-el='meternumber' v-el:meternumber
34
+ >
35
+ </div>
36
+ <div style="float:right">
37
+ <button class="button_search button_spacing" @click="search()">查询</button>
38
+ <button class="button_clear button_spacing" @click="clear">清空</button>
39
+ <export-excel :data="$parent.$parent.getCondition" class="button_export button_spacing"
40
+ :field="$parent.$parent.getfield" :sumname="$parent.$parent.sumName"
41
+ :header="$parent.$parent.other"
42
+ sqlurl="api/af-revenue/logic/openapi/exportfile" sql-name="webmeter_getNoMetereadData"
43
+ template-name='未上报查询'
44
+ :choose-col="true"></export-excel>
45
+
46
+ <div style="float: right" class="button_spacing"
47
+ :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
48
+ @click="$parent.$parent.hidden()"></div>
49
+ </div>
50
+ </div>
51
+ <div class="row" v-show="$parent.$parent.criteriaShow">
52
+ <res-select-group :show-component="['company','department']"
53
+ :initres="$parent.$parent.org"
54
+ @re-res="$parent.$parent.getorg">
55
+ </res-select-group>
56
+ <div class="col-sm-2 form-group">
57
+ <label class="font_normal_body">客户类型</label>
58
+ <v-select style="width:60%" id="f_user_type"
59
+ v-model="model.f_user_type"
60
+ placeholder='客户类型'
61
+ :value.sync="model.f_user_type"
62
+ @change="$parent.$parent.userTypeChange()"
63
+ :options='$parent.$parent.usertypes'
64
+ condition="f_user_type = '{}'"
65
+ close-on-select>
66
+ </v-select>
67
+ </div>
68
+ <div class="col-sm-2 form-group">
69
+ <label class="font_normal_body">用气性质</label>
70
+ <v-select style="width:60%" id="f_gasproperties"
71
+ v-model="model.f_gasproperties"
72
+ placeholder='用气性质'
73
+ :value.sync="model.f_gasproperties"
74
+ :options='$parent.$parent.gasproperties'
75
+ condition="f_gasproperties = '{}'"
76
+ close-on-select>
77
+ </v-select>
78
+ </div>
79
+ <div class="col-sm-2 form-group">
80
+ <label class="font_normal_body">气表品牌</label>
81
+ <v-select
82
+ placeholder='气表品牌'
83
+ :value.sync="model.f_meter_brand"
84
+ v-model="model.f_meter_brand"
85
+ :options='$parent.$parent.meterbrands'
86
+ close-on-select
87
+ condition="f_meter_brand='{}'">
88
+ </v-select>
89
+ </div>
90
+ <div class="col-sm-2 form-group">
91
+ <label class="font_normal_body">气表型号</label>
92
+ <v-select
93
+ placeholder='气表型号'
94
+ :value.sync="model.f_meter_style"
95
+ v-model="model.f_meter_style"
96
+ :options='$parent.$parent.meterstyle[model.f_meter_brand]'
97
+ close-on-select
98
+ condition="f_meter_style='{}'">
99
+ </v-select>
100
+ </div>
101
+ <div class="col-sm-2 form-group">
102
+ <label class="font_normal_body">用户状态</label>
103
+ <v-select
104
+ placeholder='用户状态'
105
+ value-single="true"
106
+ style="width:60%"
107
+ :value.sync="model.f_user_state"
108
+ v-model="model.f_user_state"
109
+ :options='$parent.$parent.userstate'
110
+ close-on-select condition="f_user_state ='{}'">
111
+ </v-select>
112
+ </div>
113
+ <div class="col-sm-2 form-group">
114
+ <label class="font_normal_body">开始时间</label>
115
+ <datepicker style="width:60%" id="startdate" placeholder="开始时间"
116
+ v-model="model.startDate"
117
+ :value.sync="model.startDate"
118
+ :disabled-days-of-Week="[]"
119
+ :format="'yyyy-MM-dd 00:00:00'"
120
+ :show-reset-button="reset">
121
+ </datepicker>
122
+ </div>
123
+ <div class="col-sm-2 form-group">
124
+ <label class="font_normal_body">结束时间</label>
125
+ <datepicker style="width:60%" id="enddate" placeholder="结束日期"
126
+ v-model="model.endDate"
127
+ :value.sync="model.endDate"
128
+ :disabled-days-of-Week="[]"
129
+ :format="'yyyy-MM-dd 23:59:59'"
130
+ :show-reset-button="reset">
131
+ </datepicker>
132
+ </div>
133
+ </div>
134
+ </div>
135
+ </criteria>
136
+ <data-grid id="lostuserlist" :model="model" partial='list' v-ref:grid class="list_area table_sy">
137
+ <template partial='head'>
138
+ <tr>
139
+ <th style="text-align:center">
140
+ <nobr>序号</nobr>
141
+ </th>
142
+ <th style="text-align:center">
143
+ <nobr>未上报日期</nobr>
144
+ </th>
145
+ <th style="text-align:center">
146
+ <nobr>客户编号</nobr>
147
+ </th>
148
+ <th style="text-align:center">
149
+ <nobr>客户名称</nobr>
150
+ </th>
151
+ <th style="text-align:center">
152
+ <nobr>客户电话</nobr>
153
+ </th>
154
+ <th style="text-align:center">
155
+ <nobr>客户地址</nobr>
156
+ </th>
157
+ <th style="text-align:center">
158
+ <nobr>客户类型</nobr>
159
+ </th>
160
+ <th style="text-align:center">
161
+ <nobr>用气性质</nobr>
162
+ </th>
163
+ <th style="text-align:center">
164
+ <nobr>表号</nobr>
165
+ </th>
166
+ <th style="text-align:center">
167
+ <nobr>气表厂家</nobr>
168
+ </th>
169
+ <th style="text-align:center">
170
+ <nobr>气表型号</nobr>
171
+ </th>
172
+ <th style="text-align:center">
173
+ <nobr>用户状态</nobr>
174
+ </th>
175
+ <th style="text-align:center">
176
+ <nobr>组织机构</nobr>
177
+ </th>
178
+ <th style="text-align:center">
179
+ <nobr>部门</nobr>
180
+ </th>
181
+ </tr>
182
+ </template>
183
+ <template partial='body'>
184
+ <td style="text-align:center">{{ $index + 1 }}</td>
185
+ <td style="text-align:center">{{ row.f_date }}</td>
186
+ <td style="text-align: center;">
187
+ <nobr>
188
+ <span @click="$parent.$parent.$parent.showmsg(row)"><a>{{ row.f_userinfo_code }}</a></span>
189
+ </nobr>
190
+ </td>
191
+ <td style="text-align:center">
192
+ <nobr>{{ row.f_user_name }}</nobr>
193
+ </td>
194
+ <td style="text-align:center">
195
+ <nobr>{{ row.f_user_phone }}</nobr>
196
+ </td>
197
+ <td>
198
+ <nobr>{{ row.f_address }}</nobr>
199
+ </td>
200
+ <td style="text-align:center">{{ row.f_user_type }}</td>
201
+ <td style="text-align:center">{{ row.f_gasproperties }}</td>
202
+ <td style="text-align:center">
203
+ <nobr>{{ row.f_meternumber }}</nobr>
204
+ </td>
205
+ <td style="text-align:center">
206
+ <nobr>{{ row.f_meter_brand }}</nobr>
207
+ </td>
208
+ <td style="text-align:center">
209
+ <nobr>{{ row.f_meter_style }}</nobr>
210
+ </td>
211
+ <td style="text-align:center">
212
+ <nobr>{{ row.f_user_state }}</nobr>
213
+ </td>
214
+ <td style="text-align:center">
215
+ <nobr>{{ row.f_orgname }}</nobr>
216
+ </td>
217
+ <td style="text-align:center">
218
+ <nobr>{{ row.f_depname }}</nobr>
219
+ </td>
220
+
221
+ </template>
222
+ </data-grid>
223
+ </criteria-paged>
224
+ </div>
225
+ </div>
226
+ <div class="flex-row" v-if="showdetail">
227
+ <user-info-detail-manage-new :f_userinfo_id="rowdata.f_userinfo_id"
228
+ @cancel-main="cancel"></user-info-detail-manage-new>
229
+ </div>
230
+ </template>
231
+
232
+ <script>
233
+ import {PagedList} from 'vue-client'
234
+ import * as Util from '../../../Util'
235
+ import plugin from 'system-clients/src/plugins/GetLoginInfoService'
236
+
237
+ let readySomething = async function (self) {
238
+
239
+ await self.$MagLoadParams.loadParam()
240
+ self.initParams()
241
+ self.$refs.paged.$refs.cri.model.startDate = Util.toStandardDateString() + ' 00:00:00'
242
+ self.$refs.paged.$refs.cri.model.endDate = Util.toStandardDateString() + ' 23:59:59'
243
+ self.sumsmodel = self.$refs.paged.$refs.grid.model.sums;
244
+
245
+ }
246
+ export default {
247
+ title: '未上报查询',
248
+ props: ['data'],
249
+ data() {
250
+ return {
251
+ model: new PagedList('api/af-revenue/sql/webmeter_getNoMetereadData', 20, {
252
+ startDate: 'this.model.startDate',
253
+ endDate: 'this.model.endDate'
254
+ }),
255
+ getfield: {
256
+ 'f_userinfo_code': '客户编号',
257
+ 'f_user_name': '客户名称',
258
+ 'f_date': '未上报日期',
259
+ 'f_address': '客户地址',
260
+ 'f_user_type': '客户类型',
261
+ 'f_gasproperties': '用气性质',
262
+ 'f_meternumber': '表号',
263
+ 'f_meter_brand': '气表厂家',
264
+ 'f_orgname': '组织机构',
265
+ 'f_depname': '部门'
266
+ },
267
+ showdetail: false,
268
+ rowdata: {},
269
+ startDate: '',
270
+ endDate: '',
271
+ criteriaShow: false,
272
+ outlets: [],
273
+ other: [],
274
+ sumsmodel: {},
275
+ gasproperties: [{label: '全部', value: ''}],
276
+ operator: [],
277
+ meterbrands: [],
278
+ meterstyle: {},
279
+ orgCondtionStr: '',
280
+ orgid: [this.$login.f.orgid],
281
+ condition: '1=1',
282
+ org: [this.$login.f.orgid]
283
+
284
+ }
285
+ },
286
+ ready() {
287
+ readySomething(this)
288
+ },
289
+ methods: {
290
+ getotherfooter() {
291
+ this.other = [];
292
+
293
+ let firstLine = [`导出时间: ${this.$login.toStandardTimeString()}`];
294
+
295
+
296
+ let secondLine = [
297
+ `开始时间: ${this.$refs.paged.$refs.cri.model.startDate}`,
298
+ `结束时间: ${this.$refs.paged.$refs.cri.model.endDate}`
299
+ ];
300
+
301
+ this.other.push(firstLine);
302
+ this.other.push(secondLine);
303
+
304
+ console.log('Header Data:', this.other);
305
+ },
306
+ userTypeChange() {
307
+ this.gasproperties = [{label: '全部', value: ''}]
308
+ if (this.$refs.paged.$refs.cri.model && this.$refs.paged.$refs.cri.model.f_user_type) {
309
+ this.$refs.paged.$refs.cri.model.f_gasproperties = ''
310
+ console.log(this.$refs.paged.$refs.cri.model.f_user_type[0])
311
+ this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.cri.model.f_user_type[0])
312
+ } else {
313
+ this.gasproperties = [{label: '全部', value: ''}]
314
+ }
315
+ },
316
+ hidden() {
317
+ this.criteriaShow = !this.criteriaShow
318
+ },
319
+ showmsg(obj) {
320
+ this.rowdata = obj
321
+ this.showdetail = true
322
+ },
323
+ cancel() {
324
+ this.showdetail = false
325
+ },
326
+ initParams() {
327
+ // 初始化气表品牌
328
+ let brandArr = []
329
+ this.$MagGetSaleParam.getGasbrand().forEach((item) => {
330
+ if (item.value.f_meter_type === '物联网表') {
331
+ let temp = {}
332
+ temp.label = item.label
333
+ temp.value = item.value.f_meter_brand
334
+ brandArr.push(temp)
335
+
336
+ let styleArr = [{label: '全部', value: ''}]
337
+ for (let row of item.value.gasmodel) {
338
+ styleArr.push({label: row.label, value: row.value.f_meter_style})
339
+ }
340
+ this.meterstyle[temp.value] = styleArr
341
+ }
342
+
343
+ })
344
+ this.meterbrands = [{label: '全部', value: ''}, ...brandArr]
345
+ },
346
+ search(args) {
347
+ this.startDate = this.$refs.paged.$refs.cri.model.startDate
348
+ this.endDate = this.$refs.paged.$refs.cri.model.endDate
349
+ if (this.endDate == '' || this.startDate == '') {
350
+ return this.$showMessage("时间区间的开始和结束时间不能为空!")
351
+ }
352
+ if (this.orgCondtionStr) {
353
+ this.condition = args.condition = `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr
354
+ } else {
355
+ this.condition = args.condition = `${this.$refs.paged.$refs.cri.condition} and f_orgid = '${this.$login.f.orgid}'`
356
+ }
357
+ this.model.search(args.condition, args.model)
358
+ },
359
+ getorg(condition, obj) {
360
+ this.orgCondtionStr = condition
361
+ this.orgname = obj.orgnames[0]
362
+ },
363
+ clearmsg() {
364
+ this.$refs.paged.$refs.cri.model = {}
365
+ }
366
+ },
367
+ watch: {
368
+ sumsmodel: {
369
+ handler: function (val) {
370
+ this.getotherfooter();
371
+ },
372
+ deep: true
373
+ },
374
+ },
375
+ computed: {
376
+ getCondition() {
377
+ let condition = this.$refs.paged.$refs.cri.condition + this.orgCondtionStr
378
+ return {
379
+ condition: condition,
380
+ startDate: `${this.$refs.paged.$refs.cri.model.startDate}`,
381
+ endDate: `${this.$refs.paged.$refs.cri.model.endDate}`
382
+ }
383
+
384
+ },
385
+ usertypes() {
386
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
387
+ },
388
+ userstate() {
389
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户状态')]
390
+ }
391
+ }
392
+ }
393
+ </script>
394
+ <style>
395
+ .form-input-group label {
396
+ text-align: right;
397
+ width: auto;
398
+ }
399
+
400
+ .mystyle {
401
+ float: right;
402
+ padding-right: 10%;
403
+ }
404
+
405
+ .mystyle1 {
406
+ padding-top: 10px;
407
+
408
+ }
409
+
410
+ .mystyle2 {
411
+ width: 100%;
412
+ height: 35px;
413
+ /*background: #00A3F0;*/
414
+ padding-left: 15px;
415
+ float: left;
416
+ }
417
+
418
+ .datapanel {
419
+ color: #333;
420
+ background-color: white;
421
+ box-shadow: darkgrey 0.5px 0.5px 0.5px 0.5px;
422
+ padding: 10px 30px 10px 30px;
423
+ border-radius: 15px;
424
+ }
425
+ </style>