manage-client 3.2.22 → 3.2.26

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