manage-client 3.2.20 → 3.2.24

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 (71) hide show
  1. package/build/dev-server.js +8 -8
  2. package/gradle/wrapper/gradle-wrapper.properties +5 -5
  3. package/package.json +1 -1
  4. package/src/components/BasisEcharts/BarChart.vue +247 -247
  5. package/src/components/SellReport/BonSummary.vue +178 -178
  6. package/src/components/SellReport/GasBaozhuangFee.vue +237 -237
  7. package/src/components/SellReport/GasMoneyPublicReport.vue +263 -0
  8. package/src/components/SellReport/ManageBusSummary.vue +219 -219
  9. package/src/components/SellReport/ManageGasPrice.vue +176 -176
  10. package/src/components/SellReport/NonResidentGas.vue +203 -203
  11. package/src/components/SellReport/OtherChargePublicReport.vue +262 -0
  12. package/src/components/SellReport/OutletTable.vue +258 -258
  13. package/src/components/SellReport/QibiaoShouqi.vue +58 -98
  14. package/src/components/SellReport/ReportComponrnt/TieAnAccount.vue +501 -501
  15. package/src/components/SellReport/SaleMonthReport.vue +153 -153
  16. package/src/components/SellReport/SellingTable.vue +220 -220
  17. package/src/components/SellReport/UserSellingGas.vue +228 -177
  18. package/src/components/TelReport/ZhiHuanservice.vue +162 -162
  19. package/src/components/daping/GMap.vue +636 -636
  20. package/src/components/sale/businessquery/AccountQuery/ExpectGasList.vue +504 -504
  21. package/src/components/sale/businessquery/AccountQuery/PreGasList.vue +371 -371
  22. package/src/components/sale/businessquery/AccountQuery/SellingGasList.vue +404 -404
  23. package/src/components/sale/businessquery/FMYGasQuery.vue +713 -713
  24. package/src/components/sale/businessquery/MonthGasQuery.vue +467 -467
  25. package/src/components/sale/businessquery/OtherChargeQuery.vue +619 -619
  26. package/src/components/sale/businessquery/ProceedsOper.vue +417 -417
  27. package/src/components/sale/businessquery/YingShouMingXi.vue +525 -525
  28. package/src/components/sale/businessquery/usergas.vue +1 -3
  29. package/src/components/sale/config/exportConfig.js +4 -1
  30. package/src/components/statistical/StatisticalAnalysis.vue +252 -252
  31. package/src/components/webmeter/DrillData/LostContactAnalysisList.vue +633 -633
  32. package/src/components/webmeter/DrillData/LostContactEcharts.vue +177 -177
  33. package/src/components/webmeter/DrillData/UserGasEform.vue +227 -227
  34. package/src/components/webmeter/DrillData/UserLostContactAnalysis.vue +585 -585
  35. package/src/components/webmeter/newwebmeter/NewException/NewGasEcharts.vue +208 -208
  36. package/src/components/webmeter/newwebmeter/NewException/TotalExceptionByMeter.vue +607 -607
  37. package/src/components/webmeter/newwebmeter/PriceInstructDetail.vue +374 -0
  38. package/src/components/webmeter/newwebmeter/PriceInstructList.vue +332 -0
  39. package/src/components/webmeter/newwebmeter/PriceInstructManage.vue +44 -0
  40. package/src/components/webmeter/newwebmeter/UserGasEchartsList.vue +284 -284
  41. package/src/components/webmeter/newwebmeter/UserGasList.vue +438 -438
  42. package/src/components/webmeter/newwebmeter/UserInstructEchartsList.vue +242 -242
  43. package/src/components/webmeter/newwebmeter/signAnalysisEcharts.vue +266 -266
  44. package/src/components/webmeter/newwebmeter/signAnalysisEform.vue +175 -175
  45. package/src/components/webmeter/newwebmeter/signAnalysisListMain.vue +387 -387
  46. package/src/components/webmeter/recharge/RechargeList.vue +345 -0
  47. package/src/components/webmeter/report/ReportList.vue +434 -436
  48. package/src/filiale/WEINAN/EchartsBox.vue +110 -110
  49. package/src/filiale/WEINAN/ReportDataQuery.vue +50 -1
  50. package/src/filiale/WEINAN/SiteManager.vue +191 -191
  51. package/src/filiale/WEINAN/UserGasAll.vue +577 -577
  52. package/src/filiale/WEINAN/UserGasEcharts.vue +281 -281
  53. package/src/filiale/WEINAN/UserGasList.vue +438 -438
  54. package/src/filiale/WEINAN/reportManage.js +12 -12
  55. package/src/filiale/WEINAN/sale.js +36 -36
  56. package/src/filiale/alashan/reportManage.js +10 -10
  57. package/src/filiale/jingzhou/ChargeQuery.vue +1243 -1243
  58. package/src/filiale/jingzhou/config/exportConfig.js +861 -861
  59. package/src/filiale/liaoyuan/ReportList.vue +421 -421
  60. package/src/filiale/meihekou/UserGasEform.vue +267 -267
  61. package/src/filiale/meihekou/YingShouMingXi.vue +538 -538
  62. package/src/filiale/meihekou/config/exportConfig.js +831 -831
  63. package/src/filiale/meihekou/sale.js +29 -29
  64. package/src/filiale/rongchuang/SellingTable.vue +250 -250
  65. package/src/filiale/rongchuang/reportManage.js +11 -11
  66. package/src/filiale/tongchuan/ManageBusSummary.vue +240 -240
  67. package/src/filiale/tongchuan/reportManage.js +5 -5
  68. package/src/main.js +1 -1
  69. package/src/reportManage.js +8 -0
  70. package/src/webmeterManage.js +8 -0
  71. package/static/wuhai.json +1610 -1610
@@ -0,0 +1,345 @@
1
+ <template>
2
+ <div id="unit" class="flex-row">
3
+ <div class="basic-main">
4
+ <div class="flex" v-if="!show">
5
+ <criteria-paged :model="model" v-ref:paged>
6
+ <criteria partial='criteria' v-ref:criteria @condition-changed='$parent.search'>
7
+ <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
8
+ <div class="row" >
9
+ <div class="col-sm-2">
10
+ <label class="font_normal_body">组织机构</label>
11
+ <res-select :initresid="$parent.$parent.org"
12
+ style="width:60%"
13
+ @res-select="$parent.$parent.getorg"
14
+ :is-mul=false
15
+ restype='organization'>
16
+ </res-select>
17
+
18
+ </div>
19
+ <div class="col-sm-2">
20
+ <label class="font_normal_body">表&nbsp;钢&nbsp;号&nbsp;</label>
21
+ <input @keyup.enter="search" style="width:60%" type="text" class="input_search" v-model="model.f_meternumber" placeholder='表钢号'
22
+ condition="s.f_meternumber like '%{}%'" v-next-el='meternumber' v-el:meternumber
23
+ >
24
+ </div>
25
+ <!-- <div class="col-sm-2">-->
26
+ <!-- <label class="font_normal_body">组织机构</label>-->
27
+ <!-- <res-select :initresid="$parent.$parent.orgid"-->
28
+ <!-- style="width:60%"-->
29
+ <!-- @res-select="$parent.$parent.getRes"-->
30
+ <!-- restype='organization'>-->
31
+ <!-- </res-select>-->
32
+ <!-- </div>-->
33
+ <div class="col-sm-2">
34
+ <label class="font_normal_body">客户编号</label>
35
+ <input @keyup.enter="search" style="width:60%" type="text" class="input_search" v-model="model.f_userinfo_code" placeholder='客户编号'
36
+ condition="u.f_userinfo_code like '%{}%'" v-next-el='f_userinfo_code' v-el:meternumber
37
+ >
38
+ </div>
39
+ <div class="col-sm-2">
40
+ <label class="font_normal_body">客户名称</label>
41
+ <input @keyup.enter="search" style="width:60%" type="text" class="input_search" v-model="model.f_username" placeholder='客户名称'
42
+ condition="s.f_user_name like '%{}%'" v-next-el='userid' v-el:username>
43
+ </div>
44
+
45
+ <div class="span" style="float:right;margin-top:10px">
46
+ <button class="button_search button_spacing" @click="search()">查询</button>
47
+ <button class="button_clear button_spacing" @click="$parent.$parent.clearmsg">清空</button>
48
+ <export-excel :data="$parent.$parent.getCondition" class="button_export button_spacing"
49
+ :field="$parent.$parent.getfield"
50
+ sqlurl="rs/logic/exportfile" sql-name="rechargeInstruct" template-name='充值指令查询'
51
+ :choose-col="true"></export-excel>
52
+ <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>
53
+ </div>
54
+ </div>
55
+ <div class="row" v-show="$parent.$parent.criteriaShow">
56
+ <div class="col-sm-2">
57
+ <label class="font_normal_body">客户地址</label>
58
+ <input @keyup.enter="search" style="width:60%" type="text" class="input_search" v-model="model.f_address" placeholder='客户地址'
59
+ condition="u.f_address like '%{}%'" v-next-el='userid' v-el:username>
60
+ </div>
61
+ <div class="col-sm-2 form-group">
62
+ <label class="font_normal_body">客户类型</label>
63
+ <v-select :value.sync="model.f_user_type"
64
+ @change="$parent.$parent.userTypeChange()"
65
+ :options='$parent.$parent.usertypes' placeholder='请选择' v-model="model.f_user_type"
66
+ condition="s.f_user_type = '{}'"
67
+ close-on-select></v-select>
68
+ </div>
69
+ <div class="col-sm-2 form-group">
70
+ <label class="font_normal_body">用气性质</label>
71
+ <v-select :value.sync="model.f_gasproperties" v-model="model.f_gasproperties"
72
+ :options='$parent.$parent.gasproperties' placeholder='请选择'
73
+ condition="s.f_gasproperties = '{}'"
74
+ closfe-on-select></v-select>
75
+ </div>
76
+ <div class="col-sm-2 form-group">
77
+ <label class="font_normal_body">气表品牌</label>
78
+ <v-select :value.sync="model.f_meter_brand"
79
+ v-model="model.f_meter_brand"
80
+ :options="$parent.$parent.meterbrands"
81
+ condition="s.f_meter_brand = '{}'"
82
+ close-on-select></v-select>
83
+ </div>
84
+ <div class="col-sm-2 form-group" >
85
+ <label class="font_normal_body" >生成指令时间</label>
86
+ <datepicker style="width: 60%" placeholder="生成指令时间"
87
+ :value.sync="model.f_start1_date"
88
+ v-model="model.f_start1_date"
89
+ :format="'yyyy-MM-dd HH:mm:ss'"
90
+ condition="i.f_instruct_date >= '{}'"
91
+ ></datepicker>
92
+ </div>
93
+ <div class="col-sm-2 form-group" >
94
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;至&nbsp;&nbsp;&nbsp;&nbsp;</label>
95
+ <datepicker style="width: 60%" placeholder="生成指令时间"
96
+ :value.sync="model.f_end1_date"
97
+ v-model="model.f_end1_date"
98
+ :format="'yyyy-MM-dd HH:mm:ss'"
99
+ condition="i.f_instruct_date <= '{}'"
100
+ ></datepicker>
101
+ </div>
102
+ <div class="col-sm-2 form-group" >
103
+ <label class="font_normal_body" >充值时间</label>
104
+ <datepicker style="width: 60%" placeholder="充值时间"
105
+ :value.sync="model.f_start_date"
106
+ v-model="model.f_start_date"
107
+ :format="'yyyy-MM-dd HH:mm:ss'"
108
+ condition="s.f_operate_date >= '{}'"
109
+ ></datepicker>
110
+ </div>
111
+ <div class="col-sm-2 form-group" >
112
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;至&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</label>
113
+ <datepicker style="width: 60%" placeholder="充值时间"
114
+ :value.sync="model.f_end_date"
115
+ v-model="model.f_end_date"
116
+ :format="'yyyy-MM-dd HH:mm:ss'"
117
+ condition="s.f_operate_date <= '{}'"
118
+ ></datepicker>
119
+ </div>
120
+ </div>
121
+ </div>
122
+ </criteria>
123
+ <data-grid :model="model" partial='list' v-ref:grid class="list_area table_sy">
124
+ <template partial='head'>
125
+ <tr>
126
+ <th><nobr>客户编号</nobr></th>
127
+ <th><nobr>表号</nobr></th>
128
+ <th><nobr>客户姓名</nobr></th>
129
+ <th><nobr>客户电话</nobr></th>
130
+ <th><nobr>客户地址</nobr></th>
131
+
132
+ <th><nobr>收费类型</nobr></th>
133
+ <th><nobr>收费状态</nobr></th>
134
+ <th><nobr>实收金额</nobr></th>
135
+
136
+ <th><nobr>指令状态</nobr></th>
137
+ <th><nobr>表返回状态</nobr></th>
138
+ <th><nobr>生成指令时间</nobr></th>
139
+
140
+ </tr>
141
+ </template>
142
+ <template partial='body' partial='list'>
143
+ <tr >
144
+ <td style="text-align: left;"><nobr> <span @click="$parent.$parent.$parent.showmsg(row)"><a>{{row.f_userinfo_code}}</a></span></nobr></td>
145
+ <td style="text-align: left;"><nobr>{{row.f_meternumber}}</nobr></td>
146
+ <td style="text-align: left;"><nobr>{{row.f_user_name}}</nobr></td>
147
+ <td style="text-align: left;"><nobr>{{row.f_user_phone}}</nobr></td>
148
+ <td style="text-align: center;"><nobr>{{row.f_address}}</nobr></td>
149
+
150
+ <td style="text-align:center"><nobr>{{row.f_type}}</nobr></td>
151
+ <td style="text-align:center"><nobr>{{row.f_state}}</nobr></td>
152
+ <th style="text-align:center"><nobr>{{row.f_collection}}</nobr></th>
153
+ <th style="text-align:center"><nobr>{{row.f_instruct_state}}</nobr></th>
154
+ <th style="text-align:center"><nobr>{{row.f_receive_state}}</nobr></th>
155
+ <th style="text-align:center"><nobr>{{row.f_instruct_date}}</nobr></th>
156
+
157
+ <!-- <th style="text-align:center"><nobr>{{row.f_nsturalgas_data}}</nobr></th>-->
158
+ <!-- <th style="text-align:center"><nobr><span @click="$parent.$parent.$parent.showdetail(row.f_nsturalgas_data)"><a>查看</a></span></nobr></th>-->
159
+ <!-- <th style="text-align:center">-->
160
+ <!-- <button type="button" class="button_search button_spacing width-60" @click="$parent.$parent.$parent.showdetail(row.f_nsturalgas_data)">查看</button>-->
161
+ <!-- </th>-->
162
+ </tr>
163
+ </template>
164
+ <template partial='foot'></template>
165
+ </data-grid>
166
+ </criteria-paged>
167
+ </div>
168
+ </div>
169
+ </div>
170
+ </template>
171
+
172
+ <script>
173
+ import {HttpResetClass, PagedList} from 'vue-client'
174
+ import exportConfig from '../../sale/config/exportConfig'
175
+ import plugins from '../../../plugins/GetLoginInfoService'
176
+ import defaultPrint from "../../sale/config/DefaultPrint";
177
+ import * as Util from '../../../Util'
178
+
179
+ let readySomething = async function (self) {
180
+ await self.$MagLoadParams.loadParam()
181
+ self.initParams()
182
+ // self.sumsmodel = self.$refs.paged.$refs.grid.model.sums;
183
+ }
184
+ export default {
185
+ title: '充值指令查询',
186
+ data () {
187
+ return {
188
+ show:false,
189
+ detail24: false,
190
+ org:[this.$login.f.orgid],
191
+ orgcondition: ' and s.f_orgid = ' + this.$login.f.orgid,
192
+ //f_filialeid: this.$login.f.f_orgid,
193
+ detaillist: [],
194
+ meterbrands: [],
195
+ prices: [],
196
+ gasproperties:[],
197
+ condition:'',
198
+ rowdata:{},
199
+ sumsmodel: {},
200
+ orgid:[this.$login.f.orgid],
201
+ criteriaShow:false,
202
+ orgCondtionStr: '',
203
+ model: new PagedList('rs/sql/rechargeInstruct', 50,{})
204
+ }
205
+ },
206
+ ready () {
207
+ readySomething(this).then(() => {
208
+ this.$emit('ready')
209
+ }).catch((error) => {
210
+ this.$emit('error', error)
211
+ })
212
+ this.$refs.paged.$refs.criteria.model.f_start_date = Util.addDate(new Date(),-1).substring(0,10) + ' 00:00:00'
213
+ this.$refs.paged.$refs.criteria.model.f_end_date = Util.addDate(new Date(),-1).substring(0,10) + ' 23:59:59'
214
+ this.$refs.paged.$refs.criteria.search()
215
+ },
216
+ methods: {
217
+ initParams() {
218
+ // 初始化气表品牌
219
+ let brandArr = []
220
+ this.$MagGetSaleParam.getGasbrand().forEach((item) => {
221
+ let temp = {}
222
+ temp.label = item.label
223
+ temp.value = item.value.f_meter_brand
224
+ brandArr.push(temp)
225
+ })
226
+ this.meterbrands = [{label: '全部', value: ''}, ...brandArr]
227
+ //初始化气表价格
228
+ this.prices = this.$MagGetSaleParam.getPrices();
229
+ },
230
+ async updateParams() {
231
+ await this.$MagLoadParams.loadParam(this.f_filialeid)
232
+ this.initParams()
233
+ },
234
+ getorg(obj) {
235
+ if(plugins.convertToIn(obj)!==null&&plugins.convertToIn(obj)!==''){
236
+ this.orgcondition = " and s.f_orgid in " + plugins.convertToIn(obj)
237
+ }else{
238
+ this.orgcondition = " and s.f_orgid = " + this.$login.f.orgid
239
+ }
240
+
241
+ },
242
+ userTypeChange () {
243
+ this.gasproperties=[]
244
+ if(this.$refs.paged.$refs.criteria.model !==null) {
245
+ this.$refs.paged.$refs.criteria.model.f_gasproperties=''
246
+ this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.criteria.model.f_user_type[0])
247
+ }
248
+ else{
249
+ this.gasproperties =[{label: '全部', value: ''}]
250
+ }
251
+ },
252
+ showdetail(val) {
253
+ console.log('24detail==', val)
254
+ if(val){
255
+ let detail = eval("("+val+")")
256
+ this.detaillist = detail
257
+ this.detail24 = true
258
+ }else{
259
+ console.log('无数据')
260
+ }
261
+ },
262
+ close() {
263
+ this.detail24 = false
264
+ },
265
+ hidden(){
266
+ this.criteriaShow = !this.criteriaShow
267
+ },
268
+ cancel() {
269
+ this.show = false
270
+ },
271
+ clearmsg () {
272
+ Object.keys(this.$refs.paged.$refs.criteria.model).forEach((key) => {
273
+ this.$refs.paged.$refs.criteria.model[key] = []
274
+ })
275
+ },
276
+ getRes (obj) {
277
+ this.orgCondtionStr = condition
278
+ this.orgname = obj.orgnames[0]
279
+ this.depname = obj.depnames[0]
280
+ },
281
+ showmsg(obj){
282
+ this.rowdata=obj
283
+ this.show=true
284
+ },
285
+
286
+ search (args) {
287
+ args.condition = `${args.condition}`+this.orgcondition
288
+ console.log(args.condition+"args.condition")
289
+ this.condition = args.condition
290
+ this.model.search(args.condition, args.model)
291
+ // console.log(this.$refs.paged.$refs.grid.model.sums+"--this.$refs.paged.$refs.grid.model.sums")
292
+ // this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
293
+ // args.condition = `${args.condition}`
294
+ // if (this.orgcondition)
295
+ // args.condition = `${args.condition}` + this.orgcondition
296
+ // else
297
+ // args.condition = `${args.condition}` + 'and m.f_orgid in ' + '(' + this.$login.f.orgid + ')'
298
+ // this.model.search(args.condition, args.model)
299
+ }
300
+ },
301
+ watch: {
302
+ 'orgCondtionStr'(val) {
303
+ let res = val.match(/'(.*?)'/)
304
+ console.log('正则提取:',res && res[1])
305
+ if (res) {
306
+ this.f_filialeid = res[1]
307
+ // this.updateParams()
308
+ }
309
+ }
310
+ },
311
+ computed: {
312
+ getfield () {
313
+ return exportConfig.RechargeInstruct
314
+ },
315
+ usertypes() {
316
+ return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('用户类型')]
317
+ },
318
+ getCondition () {
319
+ var con = ""
320
+ if (this.orgCondtionStr) {
321
+ con = `${this.$refs.paged.$refs.criteria.condition} and s.f_orgid in (${this.orgCondtionStr})`
322
+ }
323
+ else {
324
+ con = `${this.$refs.paged.$refs.criteria.condition}and s.f_orgid in ('${this.$login.f.orgid}' )`
325
+ }
326
+ return {
327
+ condition: con
328
+ }
329
+ }
330
+ }
331
+ }
332
+ </script>
333
+
334
+ <style>
335
+ .mystyle{
336
+ margin-left:80px;
337
+ }
338
+ .datapanel {
339
+ color: #333;
340
+ background-color: white;
341
+ box-shadow: darkgrey 0.5px 0.5px 0.5px 0.5px ;
342
+ padding: 10px 10px 10px 10px;
343
+ border-radius:15px;
344
+ }
345
+ </style>