manage-client 3.2.8 → 3.2.12

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 (28) hide show
  1. package/build/dev-server.js +2 -2
  2. package/package.json +2 -2
  3. package/src/components/SellReport/BonSummary.vue +178 -244
  4. package/src/components/SellReport/DepartmentPrick.vue +1 -1
  5. package/src/components/SellReport/ManageBusSummary.vue +219 -242
  6. package/src/components/SellReport/ManageGasPrice.vue +176 -241
  7. package/src/components/SellReport/NonResidentGas.vue +203 -244
  8. package/src/components/SellReport/OutletTable.vue +258 -258
  9. package/src/components/SellReport/ReportComponrnt/TieAnAccount.vue +501 -499
  10. package/src/components/SellReport/SaleMonthReport.vue +153 -227
  11. package/src/components/SellReport/UserSellingGas.vue +177 -251
  12. package/src/components/TelReport/ZhiHuanservice.vue +162 -161
  13. package/src/components/sale/businessquery/BusinesQuery.vue +2 -2
  14. package/src/components/sale/businessquery/NoBusinessQuery.vue +4 -4
  15. package/src/components/sale/config/exportConfig.js +887 -885
  16. package/src/components/statistical/StatisticalAnalysis.vue +252 -247
  17. package/src/components/webmeter/instruction/NewQueryInstruct.vue +2 -2
  18. package/src/filiale/WEINAN/UserGasAll.vue +579 -0
  19. package/src/filiale/WEINAN/UserGasEcharts.vue +281 -0
  20. package/src/filiale/WEINAN/UserGasList.vue +438 -0
  21. package/src/filiale/WEINAN/sale.js +36 -29
  22. package/src/filiale/meihekou/UserQuery.vue +4 -4
  23. package/src/filiale/shaoguan/sale/businessquery/oldMeterList.vue +5 -0
  24. package/src/filiale/tongchuan/sale.js +16 -19
  25. package/src/filiale/wuhai/ChargeQuery.vue +1247 -0
  26. package/src/filiale/wuhai/sale.js +10 -0
  27. package/src/main.js +1 -1
  28. package/src/filiale/tongchuan/CriteriaPaged.vue +0 -49
@@ -1,247 +1,252 @@
1
- <template lang="html">
2
- <div :class="classname" :style="{width:width,height:height}">
3
- <div style="height: 97%;">
4
- <div class="col-sm-3" style="height: 97%">
5
- <div class="row form-group" style="height: 5%">
6
- <label class="font_normal_body" >使用公司:</label>
7
- <res-select :initresid='model.orgid'
8
- @res-select="getorg"
9
- :is-mul="false"
10
- class="select select_list"
11
- restype='organization'
12
- style="width: 60%">
13
- </res-select>
14
- </div>
15
- <div class="row" style="margin-left: 5%;margin-right: 5%;height: 15%;text-align:center;" >
16
- <h4 style="font-size: 18px;">用户数量</h4>
17
- <table class="col-sm-12 table table-bordered table-striped" style="font-size: 16px;">
18
- <tr class="text-center">
19
- <th style="text-align:center;"><nobr>现有户数</nobr></th>
20
- <th style="text-align:center;"><nobr>年度新增</nobr></th>
21
- <th style="text-align:center;"><nobr>本月新增</nobr></th>
22
- </tr>
23
- <tr>
24
- <td style="text-align:center;"><nobr>{{num}}</nobr></td>
25
- <td style="text-align:center;"><nobr>{{year}}</nobr></td>
26
- <td style="text-align:center;"><nobr>{{month}}</nobr></td>
27
- </tr>
28
- </table>
29
- </div>
30
- <div style="width: 100%;height: 40%;margin-top: 10%;text-align:center;">
31
- <h4 style="font-size: 18px;">民用分类实有户数</h4>
32
- <ring-chart :sdata="sdata2" ></ring-chart>
33
- </div>
34
- <div style="width: 100%;height: 40%;text-align:center;">
35
- <h4 style="font-size: 18px;">工商业分类实有户数</h4>
36
- <ring-chart :sdata="sdata1" ></ring-chart>
37
- </div>
38
- </div>
39
- <div class="col-sm-6" style="height: 97%;text-align:center;">
40
- <h3>营收系统数据统计信息</h3>
41
- <div style="width: 100%;height: 50%">
42
- <div>
43
- <bar-chart :xdata="xdata" :sdata="sdata" :legend="legendData" :xname="xname" :yname="yname"> </bar-chart>
44
- </div>
45
- </div>
46
- <div style="width: 100%;height: 50%">
47
- <div>
48
- <!-- <bussiness-type :orgid='model.orgid[0]' v-ref:pay ></bussiness-type>-->
49
- <bar-chart :xdata="xdata3" :sdata="sdata3" :legend="legendData1" :xname="xname" :yname="yname"> </bar-chart>
50
- </div>
51
- </div>
52
- </div>
53
- <div class="col-sm-3" style="height: 97%">
54
- <div style="width: 100%;height: 95%;margin-top: 10%;margin-right: 5%;" align="center">
55
- <h4 style="font-size: 18px;">各类表具在用用户数量</h4>
56
- <data-grid :model=mood class="table_sy" partial='list' >
57
- <template partial='head' >
58
- <tr>
59
- <th><nobr>气表品牌</nobr></th>
60
- <th><nobr>使用户数</nobr></th>
61
- <th><nobr>异常户数</nobr></th>
62
- </tr>
63
- </template>
64
- <template partial='body' >
65
- <tr>
66
- <td><nobr>{{row.f_meter_brand}}</nobr></td>
67
- <td><nobr>{{row.num}}</nobr></td>
68
- <td><nobr>{{row.c}}</nobr></td>
69
- </tr>
70
- </template>
71
- </data-grid>
72
- </div>
73
- </div>
74
- </div>
75
- </div>
76
-
77
- </template>
78
-
79
- <script>
80
- import * as Util from '../../Util'
81
- import { HttpResetClass } from 'vue-client'
82
-
83
- export default {
84
- title: '分析统计',
85
- props: {
86
- classname: {
87
- type: String,
88
- default: 'basic-main'
89
- },
90
- width: {
91
- type: String,
92
- default: '98.5%'
93
- },
94
- height: {
95
- type: String,
96
- default: '98%'
97
- }
98
- },
99
- watch:{
100
- 'f_orgid'(val) {
101
- // if (val) {
102
- this.ks()
103
- // }
104
- }
105
- },
106
- data() {
107
- return {
108
- jurisdiction: this.$login.r,
109
- model: {
110
- orgid: [this.$login.f.orgid],
111
- startDate: Util.toStandardDateString(),
112
- endDate: Util.toStandardDateString()
113
- },
114
- f_orgid: '',
115
- xdata:[],
116
- sdata: [],
117
- legendData: ['民用'],
118
- sdata1:[],
119
- sdata2:[],
120
- legendData1: ['非民用'],
121
- xdata3: [],
122
- sdata3: [],
123
- xname:"年份",
124
- yname:"户数",
125
- num:'',
126
- year:'',
127
- month:'',
128
- arr:[],
129
- arrs:[],
130
- mood:'',
131
- resoptions: []
132
- }
133
-
134
- },
135
- ready() {
136
-
137
- },
138
- methods: {
139
- ks(){
140
- this.xdata = []
141
- this.sdata = []
142
- this.sdata1 = []
143
- this.sdata2 = []
144
- this.xdata3 = []
145
- this.sdata3 = []
146
- this.num = ''
147
- this.year = ''
148
- this.month = ''
149
- this.arr = []
150
- this.arrs = []
151
- this.mood = ''
152
- this.getuser()
153
- this.getType()
154
- this.getType1()
155
- this.getnumber()
156
- this.getnumber1()
157
- this.getmeterbrand()
158
- console.log("7777777777777",this.sdata)
159
- },
160
- getorg (val) {
161
- this.f_orgid = this.$login.convertToIn(val)
162
- // this.$parent.f_orgid = this.f_orgid
163
- },
164
- async getuser (){
165
- let load = new HttpResetClass()
166
- // let id = this.model.orgid.toString()
167
- await load.load('POST','rs/sql/getUser', {data: {f_orgid: this.f_orgid}}).then((res) => {
168
- console.log("加载res",res)
169
- for (var i = 0; i < res.data.length; i++) {
170
- this.num = res.data[i].number
171
- this.year = res.data[i].year
172
- this.month = res.data[i].month
173
- }
174
- })
175
- },
176
- async getType (){
177
- let load = new HttpResetClass()
178
- // let id = this.model.orgid.toString()
179
- await load.load('POST','rs/sql/getTypess', {data: {f_orgid: this.f_orgid}}).then((res) => {
180
- const rdata = res.data
181
- for (let i = 0; i < rdata.length; i++) {
182
- const object={
183
- value: rdata[i].f_type,
184
- name: rdata[i].f_devices_type
185
- }
186
- this.sdata2.push(object)
187
- }
188
- })
189
- },
190
- async getType1 (){
191
- let load = new HttpResetClass()
192
- // let id = this.model.orgid.toString()
193
- await load.load('POST','rs/sql/getTypek', {data: {f_orgid: this.f_orgid}}).then((res) => {
194
- const rdata = res.data
195
- for (let i = 0; i < rdata.length; i++) {
196
- const object = {
197
- value:rdata[i].f_type,
198
- name:rdata[i].f_devices_type
199
- }
200
- this.sdata1.push(object)
201
- }
202
- })
203
- },
204
- async getnumber (){
205
- let load = new HttpResetClass()
206
- // let id = this.model.orgid.toString()
207
- await load.load('POST','rs/sql/getNumberss', {data: {f_orgid: this.f_orgid}}).then((res) => {
208
- const rdata=res.data
209
- for (let i = 0; i < rdata.length; i++) {
210
- this.arr.push(rdata[i].num)
211
- this.xdata.push(rdata[i].f_gas_date)
212
- }
213
- this.sdata.push(this.arr)
214
- })
215
- },
216
- async getnumber1 (){
217
- let load = new HttpResetClass()
218
- // let id = this.model.orgid.toString()
219
- await load.load('POST','rs/sql/getNumbers', {data: {f_orgid: this.f_orgid}}).then((res) => {
220
- console.log("加载res3",res)
221
- const rdata=res.data
222
- for (let i = 0; i < rdata.length; i++) {
223
- console.log(rdata[i].f_gas_date)
224
- console.log(rdata[i].num)
225
- this.arrs.push(rdata[i].num)
226
- this.xdata3.push(rdata[i].f_gas_date)
227
- }
228
- console.log("222222222222222222222222",this.xdata3)
229
- this.sdata3.push(this.arrs)
230
- })
231
- },
232
- async getmeterbrand (){
233
- let load = new HttpResetClass()
234
- // let id = this.model.orgid.toString()
235
- await load.load('POST','rs/sql/getMeterbrand', {data: {f_orgid: this.f_orgid}}).then((res) => {
236
- this.mood=res
237
- })
238
- }
239
- // searchdata () {
240
- // this.$refs.pay.searchdata()
241
- // },
242
- }
243
- }
244
- </script>
245
-
246
- <style lang="css">
247
- </style>
1
+ <template lang="html">
2
+ <div :class="classname" :style="{width:width,height:height}">
3
+ <div style="height: 97%;">
4
+ <div class="col-sm-3" style="height: 97%">
5
+ <div class="row form-group" style="height: 5%">
6
+ <label class="font_normal_body" >使用公司:</label>
7
+ <res-select :initresid='model.orgid'
8
+ @res-select="getorg"
9
+ :is-mul="false"
10
+ class="select select_list"
11
+ restype='organization'
12
+ style="width: 60%">
13
+ </res-select>
14
+ </div>
15
+ <div class="row" style="margin-left: 5%;margin-right: 5%;height: 15%;text-align:center;" >
16
+ <h4 style="font-size: 18px;">用户数量</h4>
17
+ <table class="col-sm-12 table table-bordered table-striped" style="font-size: 16px;">
18
+ <tr class="text-center">
19
+ <th style="text-align:center;"><nobr>现有户数</nobr></th>
20
+ <th style="text-align:center;"><nobr>年度新增</nobr></th>
21
+ <th style="text-align:center;"><nobr>本月新增</nobr></th>
22
+ <th style="text-align:center;"><nobr>未开户数</nobr></th>
23
+ </tr>
24
+ <tr>
25
+ <td style="text-align:center;"><nobr>{{num}}</nobr></td>
26
+ <td style="text-align:center;"><nobr>{{year}}</nobr></td>
27
+ <td style="text-align:center;"><nobr>{{month}}</nobr></td>
28
+ <td style="text-align:center;"><nobr>{{noopen}}</nobr></td>
29
+ </tr>
30
+ </table>
31
+ </div>
32
+ <div style="width: 100%;height: 40%;margin-top: 10%;text-align:center;">
33
+ <h4 style="font-size: 18px;">民用分类实有户数</h4>
34
+ <ring-chart :sdata="sdata2" ></ring-chart>
35
+ </div>
36
+ <div style="width: 100%;height: 40%;text-align:center;">
37
+ <h4 style="font-size: 18px;">工商业分类实有户数</h4>
38
+ <ring-chart :sdata="sdata1" ></ring-chart>
39
+ </div>
40
+ </div>
41
+ <div class="col-sm-6" style="height: 97%;text-align:center;">
42
+ <h3>营收系统数据统计信息</h3>
43
+ <div style="width: 100%;height: 50%">
44
+ <div>
45
+ <bar-chart :xdata="xdata" :sdata="sdata" :legend="legendData" :xname="xname" :yname="yname"> </bar-chart>
46
+ </div>
47
+ </div>
48
+ <div style="width: 100%;height: 50%">
49
+ <div>
50
+ <!-- <bussiness-type :orgid='model.orgid[0]' v-ref:pay ></bussiness-type>-->
51
+ <bar-chart :xdata="xdata3" :sdata="sdata3" :legend="legendData1" :xname="xname" :yname="yname"> </bar-chart>
52
+ </div>
53
+ </div>
54
+ </div>
55
+ <div class="col-sm-3" style="height: 97%">
56
+ <div style="width: 100%;height: 95%;margin-top: 10%;margin-right: 5%;" align="center">
57
+ <h4 style="font-size: 18px;">各类表具在用用户数量</h4>
58
+ <data-grid :model=mood class="table_sy" partial='list' >
59
+ <template partial='head' >
60
+ <tr>
61
+ <th><nobr>气表品牌</nobr></th>
62
+ <th><nobr>使用户数</nobr></th>
63
+ <th><nobr>异常户数</nobr></th>
64
+ </tr>
65
+ </template>
66
+ <template partial='body' >
67
+ <tr>
68
+ <td><nobr>{{row.f_meter_brand}}</nobr></td>
69
+ <td><nobr>{{row.num}}</nobr></td>
70
+ <td><nobr>{{row.c}}</nobr></td>
71
+ </tr>
72
+ </template>
73
+ </data-grid>
74
+ </div>
75
+ </div>
76
+ </div>
77
+ </div>
78
+
79
+ </template>
80
+
81
+ <script>
82
+ import * as Util from '../../Util'
83
+ import { HttpResetClass } from 'vue-client'
84
+
85
+ export default {
86
+ title: '分析统计',
87
+ props: {
88
+ classname: {
89
+ type: String,
90
+ default: 'basic-main'
91
+ },
92
+ width: {
93
+ type: String,
94
+ default: '98.5%'
95
+ },
96
+ height: {
97
+ type: String,
98
+ default: '98%'
99
+ }
100
+ },
101
+ watch:{
102
+ 'f_orgid'(val) {
103
+ // if (val) {
104
+ this.ks()
105
+ // }
106
+ }
107
+ },
108
+ data() {
109
+ return {
110
+ jurisdiction: this.$login.r,
111
+ model: {
112
+ orgid: [this.$login.f.orgid],
113
+ startDate: Util.toStandardDateString(),
114
+ endDate: Util.toStandardDateString()
115
+ },
116
+ f_orgid: '',
117
+ xdata:[],
118
+ sdata: [],
119
+ legendData: ['民用'],
120
+ sdata1:[],
121
+ sdata2:[],
122
+ legendData1: ['非民用'],
123
+ xdata3: [],
124
+ sdata3: [],
125
+ xname:"年份",
126
+ yname:"户数",
127
+ num:'',
128
+ year:'',
129
+ month:'',
130
+ noopen:'',
131
+ arr:[],
132
+ arrs:[],
133
+ mood:'',
134
+ resoptions: []
135
+ }
136
+
137
+ },
138
+ ready() {
139
+
140
+ },
141
+ methods: {
142
+ ks(){
143
+ this.xdata = []
144
+ this.sdata = []
145
+ this.sdata1 = []
146
+ this.sdata2 = []
147
+ this.xdata3 = []
148
+ this.sdata3 = []
149
+ this.num = ''
150
+ this.year = ''
151
+ this.month = ''
152
+ this.noopen = ''
153
+ this.arr = []
154
+ this.arrs = []
155
+ this.mood = ''
156
+ this.getuser()
157
+ this.getType()
158
+ this.getType1()
159
+ this.getnumber()
160
+ this.getnumber1()
161
+ this.getmeterbrand()
162
+ console.log("7777777777777",this.sdata)
163
+ },
164
+ getorg (val) {
165
+ this.f_orgid = this.$login.convertToIn(val)
166
+ // this.$parent.f_orgid = this.f_orgid
167
+ },
168
+ async getuser (){
169
+ let load = new HttpResetClass()
170
+ // let id = this.model.orgid.toString()
171
+ await load.load('POST','rs/sql/getUser', {data: {f_orgid: this.f_orgid}}).then((res) => {
172
+ console.log("加载res",res)
173
+ for (var i = 0; i < res.data.length; i++) {
174
+ this.num = res.data[i].number
175
+ this.year = res.data[i].year
176
+ this.month = res.data[i].month
177
+ this.noopen = res.data[i].noopen
178
+ }
179
+ })
180
+ },
181
+ async getType (){
182
+ let load = new HttpResetClass()
183
+ // let id = this.model.orgid.toString()
184
+ await load.load('POST','rs/sql/getTypess', {data: {f_orgid: this.f_orgid}}).then((res) => {
185
+ const rdata = res.data
186
+ for (let i = 0; i < rdata.length; i++) {
187
+ const object={
188
+ value: rdata[i].f_type,
189
+ name: rdata[i].f_devices_type
190
+ }
191
+ this.sdata2.push(object)
192
+ }
193
+ })
194
+ },
195
+ async getType1 (){
196
+ let load = new HttpResetClass()
197
+ // let id = this.model.orgid.toString()
198
+ await load.load('POST','rs/sql/getTypek', {data: {f_orgid: this.f_orgid}}).then((res) => {
199
+ const rdata = res.data
200
+ for (let i = 0; i < rdata.length; i++) {
201
+ const object = {
202
+ value:rdata[i].f_type,
203
+ name:rdata[i].f_devices_type
204
+ }
205
+ this.sdata1.push(object)
206
+ }
207
+ })
208
+ },
209
+ async getnumber (){
210
+ let load = new HttpResetClass()
211
+ // let id = this.model.orgid.toString()
212
+ await load.load('POST','rs/sql/getNumberss', {data: {f_orgid: this.f_orgid}}).then((res) => {
213
+ const rdata=res.data
214
+ for (let i = 0; i < rdata.length; i++) {
215
+ this.arr.push(rdata[i].num)
216
+ this.xdata.push(rdata[i].f_gas_date)
217
+ }
218
+ this.sdata.push(this.arr)
219
+ })
220
+ },
221
+ async getnumber1 (){
222
+ let load = new HttpResetClass()
223
+ // let id = this.model.orgid.toString()
224
+ await load.load('POST','rs/sql/getNumbers', {data: {f_orgid: this.f_orgid}}).then((res) => {
225
+ console.log("加载res3",res)
226
+ const rdata=res.data
227
+ for (let i = 0; i < rdata.length; i++) {
228
+ console.log(rdata[i].f_gas_date)
229
+ console.log(rdata[i].num)
230
+ this.arrs.push(rdata[i].num)
231
+ this.xdata3.push(rdata[i].f_gas_date)
232
+ }
233
+ console.log("222222222222222222222222",this.xdata3)
234
+ this.sdata3.push(this.arrs)
235
+ })
236
+ },
237
+ async getmeterbrand (){
238
+ let load = new HttpResetClass()
239
+ // let id = this.model.orgid.toString()
240
+ await load.load('POST','rs/sql/getMeterbrand', {data: {f_orgid: this.f_orgid}}).then((res) => {
241
+ this.mood=res
242
+ })
243
+ }
244
+ // searchdata () {
245
+ // this.$refs.pay.searchdata()
246
+ // },
247
+ }
248
+ }
249
+ </script>
250
+
251
+ <style lang="css">
252
+ </style>
@@ -11,7 +11,7 @@
11
11
  <div class="col-sm-2 form-group ">
12
12
  <label class="font_normal_body">客户编号</label>
13
13
  <input
14
- class="input_search" condition="f_userinfo_code like '%{}%'"
14
+ class="input_search" condition="f_userinfo_code = '{}'"
15
15
  placeholder='客户编号'
16
16
  style="width:60%"
17
17
  type="text"
@@ -87,7 +87,7 @@
87
87
  <div class="col-sm-2 form-group">
88
88
  <label class="font_normal_body">表&ensp;&ensp;&ensp;&ensp;号</label>
89
89
  <input
90
- class="input_search" condition="f_meternumber like '%{}%'"
90
+ class="input_search" condition="f_meternumber = '{}'"
91
91
  placeholder='表号'
92
92
  style="width:60%"
93
93
  type="text"