manage-client 3.1.13 → 3.1.15

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 (50) hide show
  1. package/build/dev-server.js +5 -9
  2. package/hs_err_pid20908.log +199 -0
  3. package/hs_err_pid29444.log +199 -0
  4. package/node_modules.7z +0 -0
  5. package/package.json +1 -1
  6. package/src/App.vue +29 -28
  7. package/src/components/SellReport/GasBaozhuangFee.vue +237 -237
  8. package/src/components/SellReport/ManageSellType.vue +284 -284
  9. package/src/components/SellReport/ManageUserCount.vue +347 -347
  10. package/src/components/SellReport/SellingTable.vue +220 -220
  11. package/src/components/SellReport/UserSellingGas.vue +251 -251
  12. package/src/components/daping/CallCenter.vue +366 -368
  13. package/src/components/daping/DataManagement.vue +703 -697
  14. package/src/components/daping/GMap.vue +636 -636
  15. package/src/components/daping/ManageMain.vue +255 -255
  16. package/src/components/sale/businessquery/AreaSellCount.vue +408 -0
  17. package/src/components/sale/businessquery/FMYGasQuery.vue +713 -713
  18. package/src/components/sale/businessquery/MonthGasQuery.vue +467 -467
  19. package/src/components/sale/businessquery/OtherChargeQuery.vue +619 -613
  20. package/src/components/sale/businessquery/YingShouMingXi.vue +525 -502
  21. package/src/components/sale/config/exportConfig.js +864 -864
  22. package/src/components/sale/filesquery/UserQuery.vue +905 -884
  23. package/src/components/webmeter/DrillData/LostContactAnalysisList.vue +633 -633
  24. package/src/components/webmeter/DrillData/LostContactEcharts.vue +177 -177
  25. package/src/components/webmeter/DrillData/UserGasAll.vue +596 -596
  26. package/src/components/webmeter/DrillData/UserGasEcharts.vue +210 -210
  27. package/src/components/webmeter/DrillData/UserGasEform.vue +227 -227
  28. package/src/components/webmeter/DrillData/UserLostContactAnalysis.vue +585 -585
  29. package/src/components/webmeter/instruction/NewQueryInstruct.vue +399 -399
  30. package/src/components/webmeter/newwebmeter/NewException/NewExceptionEcharsTotal.vue +899 -899
  31. package/src/components/webmeter/newwebmeter/NewException/TotalExceptionByMeter.vue +606 -606
  32. package/src/components/webmeter/newwebmeter/UserGasEchartsList.vue +252 -252
  33. package/src/components/webmeter/newwebmeter/UserGasList.vue +440 -440
  34. package/src/components/webmeter/newwebmeter/UserInstructList.vue +332 -332
  35. package/src/components/webmeter/newwebmeter/signAnalysisEcharts.vue +266 -266
  36. package/src/components/webmeter/newwebmeter/signAnalysisEform.vue +175 -175
  37. package/src/components/webmeter/newwebmeter/signAnalysisListMain.vue +387 -387
  38. package/src/filiale/alashan/SellingTable.vue +231 -0
  39. package/src/filiale/alashan/reportManage.js +10 -0
  40. package/src/filiale/jingzhou/ChargeQuery.vue +1243 -1243
  41. package/src/filiale/jingzhou/config/exportConfig.js +861 -861
  42. package/src/filiale/meihekou/UserGasEform.vue +267 -267
  43. package/src/filiale/meihekou/sale.js +26 -26
  44. package/src/filiale/rongchuang/SellingTable.vue +250 -250
  45. package/src/filiale/rongchuang/reportManage.js +11 -11
  46. package/src/filiale/zhoukou/CardHandplanQuery.vue +457 -457
  47. package/src/filiale/zhoukou/sale.js +11 -11
  48. package/src/main.js +6 -6
  49. package/src/reportManage.js +438 -438
  50. package/static/images/mainicon/jiezhang.png +0 -0
@@ -0,0 +1,408 @@
1
+ <template>
2
+ <div id="unit" class="flex-row">
3
+ <div class="basic-main" @keyup.enter="search">
4
+ <div class="flex" v-if="!show">
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 for="startDate" class="font_normal_body">开始日期</label>
11
+ <datepicker id="startDate" placeholder="开始日期" style="width:60%"
12
+ v-model="model.startDate"
13
+ :value.sync="model.startDate"
14
+ :format="'yyyy-MM-dd'"
15
+ :show-reset-button="true"
16
+ condition="f_operate_date >= '{} 00:00:00'">
17
+ </datepicker>
18
+ </div>
19
+ <div class="col-sm-2 form-group">
20
+ <label for="endDate" class="font_normal_body">结束日期</label>
21
+ <datepicker id="endDate" placeholder="结束日期" style="width:60%"
22
+ v-model="model.endDate"
23
+ :value.sync="model.endDate"
24
+ :format="'yyyy-MM-dd'"
25
+ :show-reset-button="true"
26
+ condition="f_operate_date <= '{} 23:59:59'">
27
+ </datepicker>
28
+ </div>
29
+ <div class="col-sm-2 form-group">
30
+ <label class="font_normal_body">客户编号</label>
31
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_userinfo_code"
32
+ condition="f_userinfo_code = '{}' " placeholder="客户编号">
33
+ </div>
34
+ <div class="col-sm-2 form-group">
35
+ <label class="font_normal_body">收费票据id</label>
36
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_bill_sell_id"
37
+ condition="f_bill_sell_id = '{}' " placeholder="票据id">
38
+ </div>
39
+
40
+
41
+ <div class="span" style="float:right;">
42
+ <button class="button_search button_spacing" @click="search()">查询</button>
43
+ <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
44
+
45
+ <export-excel :data="$parent.$parent.getCondition"
46
+ :field="$parent.$parent.getfield"
47
+ :footer="$parent.$parent.footer"
48
+ :header="$parent.$parent.other"
49
+ sqlurl="rs/logic/exportfile"
50
+ sql-name="getSellingHand"
51
+ template-name='小区收费汇总'
52
+ :choose-col="true"></export-excel>
53
+ <print-data :model="$parent.model" :field="$parent.$parent.getfield" :sum-field="$parent.$parent.getfield"
54
+ :defaultfield="$parent.$parent.defaultfield" print-name="小区收费汇总打印"
55
+ :sumsmodel="$parent.$parent.sumsmodel"></print-data>
56
+ <div style="float: right" class="button_spacing" :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.hidden()"></div>
57
+ </div>
58
+ </div>
59
+
60
+ <div class="row" v-show="$parent.$parent.criteriaShow">
61
+ <res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
62
+ <div class="col-sm-2 form-group">
63
+ <label class="font_normal_body">收费状态</label>
64
+ <v-select :value.sync="model.f_state"
65
+ v-model="model.f_state"
66
+ :options='$parent.$parent.charge_state' placeholder='请选择'
67
+ condition="f_state = '{}'"
68
+ close-on-select></v-select>
69
+ </div>
70
+ <div class="col-sm-2 form-group">
71
+ <label for="inputStartDate" class="font_normal_body">抄表日期</label>
72
+ <datepicker id="inputStartDate" placeholder="开始日期" style="width:60%"
73
+ v-model="model.inputStartDate"
74
+ :value.sync="model.inputStartDate"
75
+ :format="'yyyy-MM-dd'"
76
+ :show-reset-button="true"
77
+ condition="f_input_date >= '{} 00:00:00'">
78
+ </datepicker>
79
+ </div>
80
+ <div class="col-sm-2 form-group">
81
+ <label for="inputEndDate" class="font_normal_body">&nbsp;&nbsp;&nbsp;&nbsp;至&nbsp;&nbsp;&nbsp;&nbsp;</label>
82
+ <datepicker id="inputEndDate" placeholder="结束日期" style="width:60%"
83
+ v-model="model.inputEndDate"
84
+ :value.sync="model.inputEndDate"
85
+ :format="'yyyy-MM-dd'"
86
+ :show-reset-button="true"
87
+ condition="f_input_date <= '{} 23:59:59'">
88
+ </datepicker>
89
+ </div>
90
+ <div class="col-sm-2 form-group">
91
+ <label for="handStartDate" class="font_normal_body">下发日期</label>
92
+ <datepicker id="handStartDate" placeholder="开始日期" style="width:60%"
93
+ v-model="model.handStartDate"
94
+ :value.sync="model.handStartDate"
95
+ :format="'yyyy-MM-dd'"
96
+ :show-reset-button="true"
97
+ condition="f_hand_date >= '{} 00:00:00'">
98
+ </datepicker>
99
+ </div>
100
+ <div class="col-sm-2 form-group">
101
+ <label for="handEndDate" class="font_normal_body">&nbsp;&nbsp;&nbsp;&nbsp;至&nbsp;&nbsp;&nbsp;&nbsp;</label>
102
+ <datepicker id="handEndDate" placeholder="结束日期" style="width:60%"
103
+ v-model="model.handEndDate"
104
+ :value.sync="model.handEndDate"
105
+ :format="'yyyy-MM-dd'"
106
+ :show-reset-button="true"
107
+ condition="f_hand_date <= '{} 23:59:59'">
108
+ </datepicker>
109
+ </div>
110
+ <div class="col-sm-2 form-group">
111
+ <label class="font_normal_body">抄表状态</label>
112
+ <v-select :value.sync="model.f_hand_state"
113
+ v-model="model.f_hand_state"
114
+ :options='$parent.$parent.f_hand_state' placeholder='请选择'
115
+ condition="f_hand_state = '{}'"
116
+ close-on-select></v-select>
117
+ </div>
118
+ </div>
119
+ </div>
120
+ </criteria>
121
+
122
+ <data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid>
123
+ <template partial='head'>
124
+ <tr>
125
+ <th>
126
+ <nobr>客户编号</nobr>
127
+ </th>
128
+ <th>
129
+ <nobr>客户名称</nobr>
130
+ </th>
131
+ <th>
132
+ <nobr>上期结余</nobr>
133
+ </th>
134
+ <th>
135
+ <nobr>本期结余</nobr>
136
+ </th>
137
+ <th>
138
+ <nobr>气量</nobr>
139
+ </th>
140
+ <th>
141
+ <nobr>气费</nobr>
142
+ </th>
143
+ <th>
144
+ <nobr>收费金额</nobr>
145
+ </th>
146
+ <th>
147
+ <nobr>清欠金额</nobr>
148
+ </th>
149
+ <th>
150
+ <nobr>违约金金额</nobr>
151
+ </th>
152
+ <th>
153
+ <nobr>收费类型</nobr>
154
+ </th>
155
+ <th>
156
+ <nobr>收费状态</nobr>
157
+ </th>
158
+ <th>
159
+ <nobr>操作时间</nobr>
160
+ </th>
161
+ <th>
162
+ <nobr>公司</nobr>
163
+ </th>
164
+ </tr>
165
+ </template>
166
+ <template partial='body'>
167
+ <td style="text-align: center;"><nobr>
168
+ <span @click="$parent.$parent.$parent.showmsg(row)"><a>{{row.f_userinfo_code}}</a></span>
169
+ </nobr> </td>
170
+ <td style="text-align: center;">{{row.f_user_name}}</td>
171
+ <td style="text-align: center;">{{row.f_last_balance}}</td>
172
+ <th style="text-align: center;">{{row.f_balance}}</th>
173
+ <th style="text-align: center;">{{row.f_pregas}}</th>
174
+ <th style="text-align: center;">{{row.f_preamount}}</th>
175
+ <th style="text-align: center;">{{row.f_charge_money}}</th>
176
+ <th style="text-align: center;">{{row.f_debt_money}}</th>
177
+ <th style="text-align: center;">{{row.f_overdue}}</th>
178
+ <th style="text-align: center;">{{row.f_type}}</th>
179
+ <th style="text-align: center;">{{row.f_state}}</th>
180
+ <th style="text-align: center;">{{row.f_operate_date}}</th>
181
+ <td style="text-align: center;">{{row.f_orgname}}</td>
182
+ </template>
183
+ </data-grid>
184
+ </criteria-paged>
185
+ <table class="table-hover">
186
+ <tr style="position: relative" class="table-bordered">
187
+ <td
188
+ style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">
189
+ 汇总信息
190
+ </td>
191
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
192
+ 收费金额合计:&emsp;{{sumsmodel.f_charge_money}}
193
+ </td>
194
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
195
+ 清欠金额合计:&emsp;{{sumsmodel.f_debt_money}}
196
+ </td>
197
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
198
+ 违约金金额合计:&emsp;{{sumsmodel.f_overdue}}
199
+ </td>
200
+ </tr>
201
+ </table>
202
+ </div>
203
+ <div class="basic-main" v-if="show">
204
+ <user-info-detail-manage-new :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage-new>
205
+ </div>
206
+ </div>
207
+ </div>
208
+
209
+ </template>
210
+ <script>
211
+ /**
212
+ *用户档案查询列表以及添加操作组件
213
+ */
214
+ import {PagedList} from 'vue-client'
215
+ import defaultPrint from '../config/DefaultPrint'
216
+ import exportConfig from '../config/exportConfig'
217
+
218
+ let readySomething = async function (self) {
219
+ self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString()
220
+ self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString()
221
+ // await self.$refs.paged.$refs.cri.search()
222
+ await self.$getConfig(self, 'SellingHand')
223
+ self.defaultfield = [...self.defaultfield, ...self.config.defaultPrint]
224
+
225
+ await self.$MagLoadParams.loadParam()
226
+
227
+ self.sumsmodel = self.$refs.paged.$refs.grid.model.sums
228
+ console.log('self.sumsmodel', self.sumsmodel)
229
+ }
230
+
231
+
232
+ export default {
233
+ title: '小区收费汇总',
234
+ data() {
235
+ return {
236
+ rows: null,
237
+ other: [],
238
+ footer: [],
239
+ criteriaShow: false,
240
+ model: new PagedList('rs/sql/getSellingHand', 50, {}, {f_charge_money: 0, f_debt_money: 0, f_overdue: 0}),
241
+ orgCondtionStr: '',
242
+ charge_state: this.$appdata.getParam('收费状态') ? [{
243
+ label: '全部',
244
+ value: ''
245
+ }, ...this.$appdata.getParam('收费状态')] : [],
246
+ f_hand_state: this.$appdata.getParam('抄表状态') ? [{
247
+ label: '全部',
248
+ value: ''
249
+ }, ...this.$appdata.getParam('抄表状态')] : [],
250
+
251
+ getfield: '',
252
+ show:false,
253
+ rowdata:{},
254
+ config: {
255
+ defaultPrint: ['f_userinfo_code', 'f_user_name', 'f_last_balance', 'f_balance']
256
+ },
257
+ initres: {
258
+ org:[this.$login.f.orgid],
259
+ dep:[],
260
+ user:[],
261
+ },
262
+ defaultfield: [],
263
+ sumsmodel: {}
264
+ }
265
+ },
266
+ ready() {
267
+ readySomething(this).then(() => {
268
+ this.$emit('ready')
269
+ }).catch((error) => {
270
+ this.$emit('error', error)
271
+ })
272
+ },
273
+ methods: {
274
+ getotherfooter() {
275
+ // this.$refs.paged.$refs.cri.$refs.exports.otherData=[];
276
+ // this.$refs.paged.$refs.cri.$refs.exports.footerData=[];
277
+ this.other = [];
278
+ this.footer = [];
279
+ // let exportdata = this.getCondition;
280
+ let otherInData = [];
281
+ otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`);
282
+ let footerData = [], exportfield = this.getfield;
283
+ footerData.push("合计");
284
+ let self = this;
285
+ for (var field in self.sumsmodel) {
286
+ footerData.push(`${exportfield[field]}合计:${self.sumsmodel[field]}`);
287
+ }
288
+ this.footer.push(footerData);
289
+ this.other.push(otherInData);
290
+ },
291
+ search(){
292
+ this.$refs.paged.$refs.cri.search()
293
+ },
294
+ selfSearch(args) {
295
+ this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
296
+ args.condition = `${args.condition}` + this.orgCondtionStr
297
+ this.model.search(args.condition, args.model)
298
+ },
299
+ show() {
300
+ this.criteriaShow = true
301
+ },
302
+ cancel() {
303
+ this.show = false
304
+ },
305
+ showmsg(obj){
306
+ this.rowdata=obj
307
+ this.show=true
308
+ },
309
+ dealmsg(val) {
310
+ console.log('---------------dealmsg')
311
+ val.model = this.model.model
312
+ this.$dispatch('deal-msg', val)
313
+ },
314
+ hidden() {
315
+ this.criteriaShow = !this.criteriaShow
316
+ },
317
+ clear() {
318
+ //清空部门和人员
319
+ this.$refs.paged.$refs.cri.$refs.sel.$children[1].selectres = []
320
+ //部门和人员变为全选
321
+ this.$refs.paged.$refs.cri.$refs.sel.$children[1].$children[0].isSelectAll = false
322
+ this.$refs.paged.$refs.cri.$refs.sel.$children[2].$children[0].isSelectAll = false
323
+ Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
324
+ this.$refs.paged.$refs.cri.model[key] = []
325
+ })
326
+ },
327
+ getRes(obj) {
328
+ this.orgCondtionStr = obj
329
+ },
330
+ stamp() {
331
+ this.all = false
332
+ //默认选择要打印的列
333
+ this.modelval = defaultPrint.config
334
+ this.fields = this.getfield
335
+ console.log('所有打印字段', this.fields)
336
+ this.printshow = true
337
+ this.put()
338
+ },
339
+ put() {
340
+ // 对Modelval进行排序
341
+ this.sortModelval()
342
+ this.thead = `<tr><th colspan=${this.modelval.length}>抄表收费统计报表</th></tr><tr>`
343
+ for (let key of this.modelval) {
344
+ this.thead += '<th>' + this.fields[key] + '</th>'
345
+ }
346
+ this.thead += '</tr>'
347
+ },
348
+ print() {
349
+ this.$refs.print.PrintAsFile()
350
+ this.printshow = false
351
+ },
352
+ close() {
353
+ this.printshow = false
354
+ this.all = false
355
+ },
356
+ // 对选择的列进行排序
357
+ sortModelval() {
358
+ let sortModel = []
359
+ Object.keys(this.fields).forEach((key) => {
360
+ if (this.modelval.includes(key)) {
361
+ sortModel.push(key)
362
+ }
363
+ })
364
+ this.modelval = sortModel
365
+ console.log('选择的打印的字段', this.modelval)
366
+ }
367
+ },
368
+ watch: {
369
+ 'all'(val) {
370
+ if (val) {
371
+ this.modelval = this.bodyData
372
+ } else {
373
+ this.modelval = defaultPrint.config
374
+ this.put()
375
+ }
376
+ },
377
+ 'modelval.length'() {
378
+ this.put()
379
+ },
380
+ sumsmodel: {
381
+ handler: function (val) {
382
+ this.getotherfooter();
383
+ },
384
+ deep: true
385
+ }
386
+ },
387
+ computed: {
388
+ getCondition() {
389
+ let result = {
390
+ condition: ''
391
+ }
392
+ result.condition = this.$refs.paged.$refs.cri.condition + this.orgCondtionStr
393
+ return result
394
+ },
395
+ getfield() {
396
+ return exportConfig.sellingHandConfig
397
+ },
398
+ }
399
+ }
400
+ </script>
401
+ <style media="screen">
402
+ .divtext {
403
+ min-width: 50px;
404
+ max-width: 200px;
405
+ border: 1px solid green;
406
+ display: inline-block;
407
+ }
408
+ </style>