manage-client 3.2.21 → 3.2.25

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 (75) hide show
  1. package/build/dev-server.js +4 -6
  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/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/UserGasEform.vue +227 -227
  35. package/src/components/webmeter/DrillData/UserLostContactAnalysis.vue +585 -585
  36. package/src/components/webmeter/gasStatistics/GasStatistics.vue +467 -0
  37. package/src/components/webmeter/newwebmeter/ArrearageQuery.vue +307 -0
  38. package/src/components/webmeter/newwebmeter/NewException/NewGasEcharts.vue +208 -208
  39. package/src/components/webmeter/newwebmeter/NewException/TotalExceptionByMeter.vue +607 -607
  40. package/src/components/webmeter/newwebmeter/PriceInstructDetail.vue +374 -0
  41. package/src/components/webmeter/newwebmeter/PriceInstructList.vue +332 -0
  42. package/src/components/webmeter/newwebmeter/PriceInstructManage.vue +44 -0
  43. package/src/components/webmeter/newwebmeter/UserGasEchartsList.vue +284 -284
  44. package/src/components/webmeter/newwebmeter/UserGasList.vue +438 -438
  45. package/src/components/webmeter/newwebmeter/UserInstructEchartsList.vue +242 -242
  46. package/src/components/webmeter/newwebmeter/signAnalysisEcharts.vue +266 -266
  47. package/src/components/webmeter/newwebmeter/signAnalysisEform.vue +175 -175
  48. package/src/components/webmeter/newwebmeter/signAnalysisListMain.vue +387 -387
  49. package/src/components/webmeter/recharge/RechargeList.vue +343 -0
  50. package/src/components/webmeter/report/ReportList.vue +2 -16
  51. package/src/filiale/WEINAN/EchartsBox.vue +110 -110
  52. package/src/filiale/WEINAN/ReportDataQuery.vue +50 -1
  53. package/src/filiale/WEINAN/SiteManager.vue +191 -191
  54. package/src/filiale/WEINAN/UserGasAll.vue +577 -577
  55. package/src/filiale/WEINAN/UserGasEcharts.vue +281 -281
  56. package/src/filiale/WEINAN/UserGasList.vue +438 -438
  57. package/src/filiale/WEINAN/reportManage.js +12 -12
  58. package/src/filiale/WEINAN/sale.js +36 -36
  59. package/src/filiale/alashan/reportManage.js +10 -10
  60. package/src/filiale/jingzhou/ChargeQuery.vue +1243 -1243
  61. package/src/filiale/jingzhou/config/exportConfig.js +861 -861
  62. package/src/filiale/liaoyuan/ReportList.vue +421 -421
  63. package/src/filiale/macheng/RecordInfoQuery.vue +1023 -1029
  64. package/src/filiale/meihekou/UserGasEform.vue +267 -267
  65. package/src/filiale/meihekou/YingShouMingXi.vue +538 -538
  66. package/src/filiale/meihekou/config/exportConfig.js +831 -831
  67. package/src/filiale/meihekou/sale.js +29 -29
  68. package/src/filiale/rongchuang/SellingTable.vue +250 -250
  69. package/src/filiale/rongchuang/reportManage.js +11 -11
  70. package/src/filiale/tongchuan/ManageBusSummary.vue +240 -240
  71. package/src/filiale/tongchuan/reportManage.js +5 -5
  72. package/src/main.js +1 -1
  73. package/src/reportManage.js +8 -0
  74. package/src/webmeterManage.js +12 -0
  75. package/static/wuhai.json +1610 -1610
@@ -0,0 +1,332 @@
1
+ <template>
2
+ <div class="flex-row binary" id="unit">
3
+ <div class="basic-main" @keyup.enter="search1">
4
+ <div class="flex">
5
+ <div class="flex" style="flex:1;" v-show="!echarts">
6
+ <criteria-paged :model="model" :pager='true' v-ref:paged>
7
+ <criteria @condition-changed='$parent.search' partial='criteria' v-ref:cri>
8
+ <div class="form-horizontal select-overspread container-fluid auto" novalidate partial>
9
+ <div class="row" width="100%">
10
+
11
+ <div class="col-sm-2 form-group">
12
+ <label class="font_normal_body">客户编号</label>
13
+ <input style="width:60%" class="input_search" condition="info.f_userinfo_code = '{}'"
14
+ placeholder='客户编号' type="text"
15
+ v-el:meternumber v-model="model.f_userinfo_code" v-next-el='f_userinfo_code'
16
+ >
17
+ </div>
18
+ <div class="col-sm-2 form-group">
19
+ <label class="font_normal_body">客户名称</label>
20
+ <input style="width:60%" class="input_search" condition="info.f_user_name like '%{}%'"
21
+ placeholder='客户名称' type="text"
22
+ v-el:username v-model="model.f_username" v-next-el='userid'>
23
+ </div>
24
+ <div class="col-sm-2 form-group">
25
+ <label class="font_normal_body">客户地址</label>
26
+ <input style="width:60%" class="input_search" condition="a.f_address like '%{}%'" placeholder='地址'
27
+ type="text"
28
+ v-el:area v-el:xq v-model="model.f_address" v-next-el='address'
29
+ >
30
+ </div>
31
+ <div class="col-sm-2 form-group">
32
+ <label class="font_normal_body">表&emsp;&emsp;号</label>
33
+ <input style="width:60%" class="input_search" condition="uf.f_meternumber = '{}'"
34
+ placeholder='表钢号' type="text"
35
+ v-el:meternumber v-model="model.f_meternumber" v-next-el='meternumber'
36
+ >
37
+ </div>
38
+ <div class="span" style="float:right;">
39
+ <button @click="search()" class="button_search button_spacing">查询</button>
40
+ <button @click="$parent.$parent.clearmsg" class="button_clear button_spacing">清空</button>
41
+ <export-excel :data="$parent.$parent.getCondition" class="button_export button_spacing"
42
+ :field="$parent.$parent.getfield"
43
+ sqlurl="rs/logic/exportfile" sql-name="webmeter_PriceInstructList"
44
+ template-name='调价分析'
45
+ :choose-col="true"></export-excel>
46
+ <!-- <button @click="$parent.$parent.showEcharts()" class="button_export button_spacing">显示图表</button>-->
47
+ <div style="float: right" class="button_spacing"
48
+ :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
49
+ @click="$parent.$parent.hidden()"></div>
50
+ </div>
51
+ </div>
52
+ <div class="row" v-show="$parent.$parent.criteriaShow">
53
+
54
+ <div class="col-sm-2 form-group">
55
+ <!-- <label class="font_normal_body">组织机构</label>-->
56
+ <!-- <res-select :initresid="$parent.$parent.orgid"-->
57
+ <!-- @res-select="$parent.$parent.getRes"-->
58
+ <!-- restype='organization'style="width: 60%">-->
59
+ <!-- </res-select>-->
60
+ <label class="font_normal_body">公&emsp;&emsp;司</label>
61
+ <right-tree @re-res="$parent.$parent.getRes"
62
+ :initresid='$parent.$parent.orgid'></right-tree>
63
+ </div>
64
+ <div class="col-sm-2 form-group">
65
+ <label class="font_normal_body">用户类型</label>
66
+ <v-select :options='$parent.$parent.usertypes'
67
+ :value.sync="model.f_user_type"
68
+ close-on-select
69
+ style="width:60%"
70
+ condition="uf.f_user_type = '{}'"
71
+ @change="$parent.$parent.userTypeChange()"
72
+ id="f_user_type"
73
+ placeholder='用户类型'
74
+ v-model="model.f_user_type">
75
+ </v-select>
76
+ </div>
77
+ <div class="col-sm-2 form-group">
78
+ <label class="font_normal_body">用气性质</label>
79
+ <v-select :options='$parent.$parent.gasproperties'
80
+ :value.sync="model.f_gasproperties"
81
+ close-on-select
82
+ style="width:60%"
83
+ condition="uf.f_gasproperties = '{}'"
84
+ id="f_gasproperties"
85
+ placeholder='用气性质'
86
+ v-model="model.f_gasproperties">
87
+ </v-select>
88
+ </div>
89
+ <div class="col-sm-2 form-group">
90
+ <label class="font_normal_body" style="word-break:keep-all;">调价时间</label>
91
+ <datepicker :format="'yyyy-MM-dd HH:mm:ss'"
92
+ :value.sync="model.startDate"
93
+ style="width:60%"
94
+ placeholder="起始时间"
95
+ v-model="model.startDate"
96
+ ></datepicker>
97
+ </div>
98
+ <div class="col-sm-2 form-group">
99
+ <label class="font_normal_body" style="word-break:keep-all;">&emsp;&ensp;至&emsp;</label>
100
+ <datepicker :format="'yyyy-MM-dd HH:mm:ss'"
101
+ :value.sync="model.endDate"
102
+ placeholder="结束时间"
103
+ style="width:60%"
104
+ v-model="model.endDate"
105
+ ></datepicker>
106
+ </div>
107
+
108
+ </div>
109
+ </div>
110
+ </criteria>
111
+ <data-grid :model="model" id="reportgas" partial='list' class="list_area table_sy" v-ref:grid>
112
+ <template partial='head'>
113
+ <tr>
114
+ <th style="text-align:center">序号</th>
115
+ <th style="text-align:center">
116
+ <nobr>调价日期</nobr>
117
+ </th>
118
+ <th style="text-align:center" title="调价户数:调价记录数量">
119
+ <nobr>调价户数</nobr>
120
+ </th>
121
+ <th style="text-align:center" title="指令总数:调价记录生成的指令数量">
122
+ <nobr>指令总数</nobr>
123
+ </th>
124
+ <th style="text-align:center" title="指令总数:未发送指令户数">
125
+ <nobr>未生成指令户数</nobr>
126
+ </th>
127
+ <th style="text-align:center" title="已发送待执行数目">
128
+ <nobr>已发送待执行数目</nobr>
129
+ </th>
130
+ <th style="text-align:center" title="执行失败数目">
131
+ <nobr>执行失败数目</nobr>
132
+ </th>
133
+ <th style="text-align:center" title="成功指令数">
134
+ <nobr>成功指令数</nobr>
135
+ </th>
136
+ <th style="text-align:center" title="指令生成率:指令总数/调价户数">
137
+ <nobr>指令生成率</nobr>
138
+ </th>
139
+ <th style="text-align:center" title="指令待执行率:待执行数目/指令总数">
140
+ <nobr>指令待执行率</nobr>
141
+ </th>
142
+ <th style="text-align:center" title="指令生成率:指令成功数/指令总数">
143
+ <nobr>指令成功率</nobr>
144
+ </th>
145
+ </tr>
146
+ </template>
147
+ <template partial='body' partial='list' v-ref:grid>
148
+ <tr>
149
+ <td style="text-align:center">{{ $index + 1 }}</td>
150
+ <td style="text-align:center;width: 170px;">{{ row.f_operate_date }}</td>
151
+ <td style="text-align:center">{{ row.pricesum }}</td>
152
+ <td style="text-align:center">{{ row.instructsum }}</td>
153
+ <td style="text-align:center">
154
+ <span @click="$parent.$parent.$parent.openDetail(row,' and ins.id is null ',row.noinstructsum)"><a
155
+ style="cursor:pointer;">{{ row.noinstructsum }}</a></span>
156
+ </td>
157
+ <td style="text-align:center">
158
+ <span
159
+ @click="$parent.$parent.$parent.openDetail(row,` and ins.f_instruct_state ='待发送' `,row.awaitsum)"><a
160
+ style="cursor:pointer;">{{ row.awaitsum }}</a></span>
161
+ </td>
162
+ <td style="text-align:center">
163
+ <span
164
+ @click="$parent.$parent.$parent.openDetail(row,` and ins.f_instruct_state ='执行失败'` ,row.failsum)"><a
165
+ style="cursor:pointer;">{{ row.failsum }}</a></span>
166
+ </td>
167
+ <td style="text-align:center">{{ row.succsum }}</td>
168
+ <td style="text-align:center">{{ row.production_rate }}</td>
169
+ <td style="text-align:center">{{ row.await_rate }}</td>
170
+ <td style="text-align:center">{{ row.succ_rate }}</td>
171
+ </tr>
172
+ </template>
173
+ <template partial='foot'></template>
174
+ </data-grid>
175
+ </criteria-paged>
176
+ </div>
177
+ <!-- <div style="height: 40px;width: 100%;" v-show="echarts">-->
178
+ <!-- <button @click="showEcharts()" class="button_search button_spacing">隐藏图表</button>-->
179
+ <!-- </div>-->
180
+ <!-- &lt;!&ndash; 图显示模板&ndash;&gt;-->
181
+ <!-- <div class="span " style="width: 100%;" v-show="echarts">-->
182
+ <!-- <user-instruct-echarts-list :condition="condition" :echarts="echarts"-->
183
+ <!-- :enddate="endDate" :startdate="startDate"></user-instruct-echarts-list>-->
184
+ <!-- </div>-->
185
+ </div>
186
+ </div>
187
+ </div>
188
+ </template>
189
+ <script>
190
+ import {PagedList} from 'vue-client'
191
+ import * as Util from '../../../Util'
192
+ import plugins from '../../../plugins/GetLoginInfoService'
193
+ import plugin from 'system-clients/src/plugins/GetLoginInfoService'
194
+
195
+ export default {
196
+ title: '调价分析',
197
+ data() {
198
+ return {
199
+ model: new PagedList('rs/sql/webmeter_PriceInstructList', 100, {
200
+ startDate: 'this.model.startDate',
201
+ endDate: 'this.model.endDate'
202
+ }),
203
+ condition: '1=1',
204
+ startDate: '',
205
+ gasproperties: [{label: '全部', value: ''}],
206
+ endDate: '',
207
+ getfield: {
208
+ "f_operate_date": "调价日期",
209
+ "pricesum": "调价户数",
210
+ "instructsum": "指令总数",
211
+ "noinstructsum": "未生成指令数",
212
+ "awaitsum": "已发送待执行数目",
213
+ "failsum": "执行失败数目",
214
+ "succsum": "成功指令数",
215
+ "production_rate": "指令生成率",
216
+ "await_rate": "指令待执行率",
217
+ "succ_rate": "指令成功率",
218
+ },
219
+ criteriaShow: false,
220
+ echarts: false,
221
+ searchshow: false,
222
+ orgCondtionStr: '(' + this.$login.f.orgid + ')',
223
+ orgid: [this.$login.f.orgid]
224
+ }
225
+ },
226
+ ready() {
227
+ this.$refs.paged.$refs.cri.model.startDate = Util.addDate(new Date(), -6).substring(0, 10) + ' 00:00:00'
228
+ this.$refs.paged.$refs.cri.model.endDate = Util.toStandardDateString() + ' 23:59:59'
229
+ this.getdata()
230
+ },
231
+ methods: {
232
+ userTypeChange() {
233
+ this.gasproperties = [{label: '全部', value: ''}]
234
+ if (this.$refs.paged.$refs.cri.model !== null) {
235
+ this.$refs.paged.$refs.cri.model.f_gasproperties = ''
236
+
237
+ console.log(this.$refs.paged.$refs.cri.model.f_user_type[0])
238
+ this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.cri.model.f_user_type[0])
239
+ // this.gasproperties.push({label: '全部', value: ''})
240
+ } else {
241
+ this.gasproperties = [{label: '全部', value: ''}]
242
+ }
243
+ },
244
+ openDetail(row, type, num) {
245
+ if (num === 0) {
246
+ console.log('用户数为0')
247
+ }
248
+ this.$dispatch('change-tab', {
249
+ startDate: row.f_operate_date + ' 00:00:00',
250
+ endDate: row.f_operate_date + ' 23:59:59',
251
+ condition: this.condition + type
252
+ })
253
+ },
254
+ search1() {
255
+ this.$refs.paged.$refs.cri.search()
256
+ },
257
+ // 查询开关
258
+ hidden() {
259
+ this.criteriaShow = !this.criteriaShow
260
+ },
261
+ getdata() {
262
+ this.startDate = this.$refs.paged.$refs.cri.model.startDate
263
+ this.endDate = this.$refs.paged.$refs.cri.model.endDate
264
+ if (this.orgCondtionStr)
265
+ this.condition = this.$refs.paged.$refs.cri.condition + 'and uf.f_orgid in ' + this.orgCondtionStr
266
+ this.$refs.paged.$refs.cri.search()
267
+ },
268
+ // 显示柱状图
269
+ showEcharts() {
270
+ this.echarts = !this.echarts
271
+ },
272
+ close() {
273
+ this.show = false
274
+ },
275
+ clearmsg() {
276
+ this.$refs.paged.$refs.cri.model = {}
277
+ },
278
+ search(args) {
279
+ this.startDate = this.$refs.paged.$refs.cri.model.startDate
280
+ this.endDate = this.$refs.paged.$refs.cri.model.endDate
281
+ if (this.endDate == '' || this.startDate == '') {
282
+ return this.$showMessage("时间区间的开始和结束时间不能为空!")
283
+ }
284
+ if (this.orgCondtionStr)
285
+ args.condition = `${args.condition}` + 'and uf.f_orgid in ' + this.orgCondtionStr
286
+ this.condition = args.condition
287
+ this.model.search(args.condition, args.model)
288
+ },
289
+ getRes(obj) {
290
+ this.orgCondtionStr = plugins.convertToIn(obj.resids) ? plugin.convertToIn(obj.resids) : '(' + this.$login.f.orgid + ')'
291
+ }
292
+ // getRes(obj) {
293
+ // this.orgCondtionStr = plugins.convertToIn(obj)
294
+ // }
295
+ },
296
+ computed: {
297
+ getCondition() {
298
+ var con = ""
299
+ if (this.orgCondtionStr) {
300
+ con = `${this.$refs.paged.$refs.cri.condition} and uf.f_orgid in ${this.orgCondtionStr}`
301
+ } else {
302
+ con = `${this.$refs.paged.$refs.cri.condition} `
303
+ }
304
+ return {
305
+ condition: con,
306
+ startDate: `${this.$refs.paged.$refs.cri.model.startDate}`,
307
+ endDate: `${this.$refs.paged.$refs.cri.model.endDate}`
308
+ }
309
+
310
+ },
311
+ usertypes() {
312
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
313
+ },
314
+ Getuserstyle() {
315
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('用气类型')]
316
+ }
317
+ }
318
+ }
319
+ </script>
320
+ <style>
321
+ .mystyle {
322
+ margin-left: 80px;
323
+ }
324
+
325
+ .datapanel {
326
+ color: #333;
327
+ background-color: white;
328
+ box-shadow: darkgrey 0.5px 0.5px 0.5px 0.5px;
329
+ padding: 10px 10px 10px 10px;
330
+ border-radius: 15px;
331
+ }
332
+ </style>
@@ -0,0 +1,44 @@
1
+ <template>
2
+ <tab-button v-ref:list>
3
+ <tabs header="汇总分析">
4
+ <price-instruct-list @change-tab="changelabe" ></price-instruct-list>
5
+ </tabs>
6
+ <tabs header="明细分析">
7
+ <price-instruct-detail v-ref:detail></price-instruct-detail>
8
+ </tabs>
9
+ </tab-button>
10
+ </template>
11
+
12
+ <script>
13
+ import TabButton from '../../sale/common/TabButton'
14
+ import Tabs from '../../sale/common/Tabs'
15
+
16
+ export default {
17
+ name: "PriceInstructManage",
18
+ title: '调价分析',
19
+ data() {
20
+ return {
21
+ show: [],
22
+ data: {
23
+ startDate: this.$login.toStandardDateString() + ' 00:00:00',
24
+ endDate: this.$login.toStandardDateString() + ' 23:59:59',
25
+ condition :''
26
+ }
27
+ }
28
+ },
29
+ components: {Tabs, TabButton},
30
+ ready() {},
31
+ methods: {
32
+ changelabe(val){
33
+ // handleTabListClick
34
+ console.log(this.$refs.list.renderData,'val')
35
+ this.$refs.list.handleTabListClick(1,this.$refs.list.renderData[1])
36
+ this.$refs.detail.wai_search(val)
37
+ }
38
+ }
39
+ }
40
+ </script>
41
+
42
+ <style scoped>
43
+
44
+ </style>