manage-client 3.2.253 → 3.2.255
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.
- package/package.json +1 -1
- package/src/filiale/ningjin/ChargeQuery.vue +1340 -0
- package/src/filiale/ningjin/GasStatistics.vue +513 -0
- package/src/filiale/ningjin/MeterExceptionList.vue +571 -0
- package/src/filiale/ningjin/config/DefaultPrint.js +6 -0
- package/src/filiale/ningjin/config/exportConfig.js +1990 -0
- package/src/filiale/ningjin/config/tableConfig.js +54 -0
- package/src/filiale/ningjin/sale.js +6 -0
- package/src/filiale/ningjin/webmeterManage.js +9 -0
- package/src/filiale/shanxian/BankManager.vue +20 -28
- package/src/filiale/shanxian/BussinessType.vue +16 -23
- package/src/filiale/shanxian/Paymentpie.vue +9 -9
- package/src/filiale/shanxian/SiteManager.vue +6 -6
- package/src/filiale/wuhai/ChargeQuery.vue +6 -0
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
export default{
|
|
2
|
+
//查询页面的字段名和中文对应
|
|
3
|
+
ReportDataQuery:
|
|
4
|
+
{
|
|
5
|
+
"用户编号":"f_userinfo_code",
|
|
6
|
+
"用户名称":"f_user_name",
|
|
7
|
+
"表号":"f_meternumber",
|
|
8
|
+
"本次抄表底数":"f_tablebase",
|
|
9
|
+
"上次抄表底数":"f_last_tablebase",
|
|
10
|
+
"表上余额":"f_jval",
|
|
11
|
+
"抄表日期":"f_hand_date",
|
|
12
|
+
|
|
13
|
+
"上次抄表日期":"f_last_hand_date",
|
|
14
|
+
"开户日期":"f_gas_date",
|
|
15
|
+
"软件版本号":"f_software_version",
|
|
16
|
+
"表状态信息":"f_table_msg",
|
|
17
|
+
"上次表状态信息":"f_last_meter_state_msg",
|
|
18
|
+
|
|
19
|
+
"插入日期":"f_insert_date",
|
|
20
|
+
"上次插入日期":"f_last_insertdate",
|
|
21
|
+
"是否结算":"f_whether_clear",
|
|
22
|
+
"超用气量":"f_super_gas",
|
|
23
|
+
"电量等级":"f_electricity",
|
|
24
|
+
|
|
25
|
+
"购气次数":"f_times",
|
|
26
|
+
"单价":"f_price",
|
|
27
|
+
"信号强度":"f_signal",
|
|
28
|
+
"信噪比":"f_snr",
|
|
29
|
+
"电压":"f_batterylevel",
|
|
30
|
+
|
|
31
|
+
"阀门强制状态":"f_networkshutvalve",
|
|
32
|
+
"阀门状态":"f_valvestate",
|
|
33
|
+
"计量类型":"f_wmprepaytype",
|
|
34
|
+
"上报类型":"f_upload_type",
|
|
35
|
+
"金额状态":"f_moneystate",
|
|
36
|
+
|
|
37
|
+
"增加工况瞬时":"operatingModeFlow",
|
|
38
|
+
"标况瞬时":"standardConditionFlow",
|
|
39
|
+
"开盖状态" :"f_SplitAlarm",
|
|
40
|
+
"液晶状态" : "f_XTIpllStopFlag",
|
|
41
|
+
"声速" :"soundVelocity",
|
|
42
|
+
|
|
43
|
+
"外电低电":"f_lowlithiumbattery",
|
|
44
|
+
"磁干扰异常":"f_magneticinterference",
|
|
45
|
+
"表内剩余金额":"f_meterbalanceamt",
|
|
46
|
+
"表内累计充值金额":"f_meterdebitamt",
|
|
47
|
+
"补偿状态":"f_compensatestate",
|
|
48
|
+
"气表品牌":"f_meter_brand",
|
|
49
|
+
"气表型号":"f_meter_style",
|
|
50
|
+
"分公司":"f_orgname"
|
|
51
|
+
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
// 分公司特殊组件页面注册
|
|
2
|
+
import Vue from 'vue'
|
|
3
|
+
export default function () {
|
|
4
|
+
// 异常汇总分析
|
|
5
|
+
Vue.component('meter-exception-list', (resolve) => { require(['./MeterExceptionList'], resolve) })
|
|
6
|
+
// 物联网表用气量统计表
|
|
7
|
+
Vue.component('use-gas-statistics', (resolve) => { require(['./GasStatistics'], resolve) })
|
|
8
|
+
}
|
|
9
|
+
|
|
@@ -19,21 +19,13 @@ let getData = function* (self) {
|
|
|
19
19
|
self.texttile = '用户类型'
|
|
20
20
|
// let arrparams = []
|
|
21
21
|
console.log('获取数据。。', res.data)
|
|
22
|
-
let
|
|
23
|
-
|
|
24
|
-
let minyongvalue = []
|
|
25
|
-
let feiminyongvalue = []
|
|
22
|
+
let naturedata = []
|
|
23
|
+
let num = []
|
|
26
24
|
for (var i = 0; i < res.data.length; i++) {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
}
|
|
30
|
-
if (res.data[i].name === '民用') {
|
|
31
|
-
minyongvalue[org.indexOf(res.data[i].org)] = res.data[i].number
|
|
32
|
-
} else {
|
|
33
|
-
feiminyongvalue[org.indexOf(res.data[i].org)] = res.data[i].number
|
|
34
|
-
}
|
|
25
|
+
naturedata[i] = res.data[i].f_user_nature
|
|
26
|
+
num[i] = res.data[i].number
|
|
35
27
|
}
|
|
36
|
-
self.set(
|
|
28
|
+
self.set(naturedata, num)
|
|
37
29
|
})
|
|
38
30
|
}
|
|
39
31
|
export default {
|
|
@@ -61,7 +53,7 @@ export default {
|
|
|
61
53
|
}
|
|
62
54
|
},
|
|
63
55
|
methods: {
|
|
64
|
-
set (
|
|
56
|
+
set (naturedata, num) {
|
|
65
57
|
this.xc = echarts.init(document.getElementById('bm'))
|
|
66
58
|
this.xc.setOption({
|
|
67
59
|
color: ['#FE974B', '#3D72FF'],
|
|
@@ -84,7 +76,7 @@ export default {
|
|
|
84
76
|
legend: {
|
|
85
77
|
x: 'left',
|
|
86
78
|
y: 'bottom',
|
|
87
|
-
data: ['
|
|
79
|
+
data: ['户数']
|
|
88
80
|
},
|
|
89
81
|
toolbox: {
|
|
90
82
|
show: true,
|
|
@@ -99,7 +91,7 @@ export default {
|
|
|
99
91
|
xAxis: [
|
|
100
92
|
{
|
|
101
93
|
type: 'category',
|
|
102
|
-
data:
|
|
94
|
+
data: naturedata
|
|
103
95
|
}
|
|
104
96
|
],
|
|
105
97
|
yAxis: [
|
|
@@ -109,23 +101,23 @@ export default {
|
|
|
109
101
|
],
|
|
110
102
|
series: [
|
|
111
103
|
{
|
|
112
|
-
name: '
|
|
104
|
+
name: '户数',
|
|
113
105
|
type: 'bar',
|
|
114
|
-
data:
|
|
115
|
-
markLine: {
|
|
116
|
-
data: [
|
|
117
|
-
{type: 'average', name: '平均值'}
|
|
118
|
-
]
|
|
119
|
-
}
|
|
120
|
-
},
|
|
121
|
-
{
|
|
122
|
-
name: '非民用',
|
|
123
|
-
type: 'bar',
|
|
124
|
-
data: feiminyongvalue,
|
|
106
|
+
data: num,
|
|
125
107
|
markLine: {
|
|
126
108
|
data: [
|
|
127
109
|
{type: 'average', name: '平均值'}
|
|
128
110
|
]
|
|
111
|
+
},
|
|
112
|
+
itemStyle: {
|
|
113
|
+
normal: {
|
|
114
|
+
color: function (params) {
|
|
115
|
+
// 给出颜色组
|
|
116
|
+
var colorList = ['#FE974B', '#3D72FF', '#00C953']
|
|
117
|
+
// 循环调用
|
|
118
|
+
return colorList[params.dataIndex % colorList.length]
|
|
119
|
+
}
|
|
120
|
+
}
|
|
129
121
|
}
|
|
130
122
|
}
|
|
131
123
|
]
|
|
@@ -14,20 +14,16 @@ import {HttpResetClass} from 'vue-client'
|
|
|
14
14
|
|
|
15
15
|
let getData = function* (self) {
|
|
16
16
|
let load = new HttpResetClass()
|
|
17
|
-
load.load('POST', 'rs/
|
|
17
|
+
load.load('POST', 'rs/logic/BusinessType',
|
|
18
18
|
{data: {startDate: self.startdate, endDate: self.enddate, f_orgid: self.orgid}},
|
|
19
19
|
{resolveMsg: null, rejectMsg: null})
|
|
20
20
|
.then((res) => {
|
|
21
21
|
self.texttile = '用户类型'
|
|
22
|
-
let arrparams = []
|
|
23
22
|
let numdata = []
|
|
24
23
|
let pricedata = []
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
pricedata[i] = res.data[i].money
|
|
29
|
-
}
|
|
30
|
-
self.set(arrparams, numdata, pricedata)
|
|
24
|
+
numdata[0] = res.data.num
|
|
25
|
+
pricedata[0] = res.data.money
|
|
26
|
+
self.set(numdata, pricedata)
|
|
31
27
|
})
|
|
32
28
|
}
|
|
33
29
|
export default {
|
|
@@ -52,26 +48,23 @@ export default {
|
|
|
52
48
|
}
|
|
53
49
|
},
|
|
54
50
|
methods: {
|
|
55
|
-
set (
|
|
51
|
+
set (numdata, pricedata) {
|
|
56
52
|
this.xc = echarts.init(document.getElementById('sm'))
|
|
57
53
|
this.xc.setOption({
|
|
58
|
-
color: ['#
|
|
54
|
+
color: ['#894BE5', '#FFC0CB'],
|
|
59
55
|
title: {
|
|
60
|
-
text: '
|
|
56
|
+
text: '增值业务散列图',
|
|
61
57
|
subtext: '数据查询来源',
|
|
62
58
|
x: 'left'
|
|
63
59
|
},
|
|
64
60
|
tooltip: {
|
|
65
|
-
trigger: '
|
|
61
|
+
trigger: 'item',
|
|
66
62
|
formatter: function (params) {
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
} else {
|
|
73
|
-
str += params[i].marker + params[i].seriesName + ': ' + params[i].data + '元' + '</br>'
|
|
74
|
-
}
|
|
63
|
+
let str = ''
|
|
64
|
+
if (params.seriesName.includes('笔数')) {
|
|
65
|
+
str += params.seriesName + ': ' + params.value + '笔'
|
|
66
|
+
} else {
|
|
67
|
+
str += params.seriesName + ': ' + params.value + '元'
|
|
75
68
|
}
|
|
76
69
|
return str
|
|
77
70
|
}
|
|
@@ -79,7 +72,7 @@ export default {
|
|
|
79
72
|
legend: {
|
|
80
73
|
x: 'left',
|
|
81
74
|
y: 'bottom',
|
|
82
|
-
data: ['
|
|
75
|
+
data: ['笔数', '金额']
|
|
83
76
|
},
|
|
84
77
|
toolbox: {
|
|
85
78
|
show: true,
|
|
@@ -94,7 +87,7 @@ export default {
|
|
|
94
87
|
xAxis: [
|
|
95
88
|
{
|
|
96
89
|
type: 'category',
|
|
97
|
-
data:
|
|
90
|
+
data: ['增值业务数据']
|
|
98
91
|
}
|
|
99
92
|
],
|
|
100
93
|
yAxis: [
|
|
@@ -104,7 +97,7 @@ export default {
|
|
|
104
97
|
],
|
|
105
98
|
series: [
|
|
106
99
|
{
|
|
107
|
-
name: '
|
|
100
|
+
name: '笔数',
|
|
108
101
|
type: 'bar',
|
|
109
102
|
data: numdata,
|
|
110
103
|
markLine: {
|
|
@@ -14,7 +14,7 @@ import {HttpResetClass} from 'vue-client'
|
|
|
14
14
|
let getData = function* (self) {
|
|
15
15
|
let load = new HttpResetClass()
|
|
16
16
|
load.load('POST', 'rs/sql/sellinggasvalue',
|
|
17
|
-
{data: {startDate: self.startdate, endDate: self.enddate, key: 'f_user_nature', f_orgid:
|
|
17
|
+
{data: {startDate: self.startdate, endDate: self.enddate, key: 'f_user_nature', f_orgid: self.orgid}},
|
|
18
18
|
{resolveMsg: null, rejectMsg: null})
|
|
19
19
|
.then((res) => {
|
|
20
20
|
let arrparams = []
|
|
@@ -23,15 +23,15 @@ let getData = function* (self) {
|
|
|
23
23
|
let item = {}
|
|
24
24
|
arrparams[i] = res.data[i].name
|
|
25
25
|
item.name = res.data[i].name
|
|
26
|
-
item.value = res.data[i].
|
|
26
|
+
item.value = res.data[i].money_value
|
|
27
27
|
gasdata.push(item)
|
|
28
28
|
}
|
|
29
29
|
console.log('加载echars组件')
|
|
30
30
|
self.setGas(arrparams, gasdata)
|
|
31
31
|
})
|
|
32
32
|
let load1 = new HttpResetClass()
|
|
33
|
-
load1.load('POST', 'rs/sql/
|
|
34
|
-
{data: {startDate: self.startdate, endDate: self.enddate, key: 'f_payment', f_orgid:
|
|
33
|
+
load1.load('POST', 'rs/sql/sellinggasvalueroute',
|
|
34
|
+
{data: {startDate: self.startdate, endDate: self.enddate, key: 'f_payment', f_orgid: self.orgid}},
|
|
35
35
|
{resolveMsg: null, rejectMsg: null})
|
|
36
36
|
.then((res) => {
|
|
37
37
|
let arrparams = []
|
|
@@ -75,7 +75,7 @@ export default {
|
|
|
75
75
|
color: ['#FE974B', '#3D72FF', '#00C953'],
|
|
76
76
|
title: [
|
|
77
77
|
{
|
|
78
|
-
text: '
|
|
78
|
+
text: '售气金额饼状图',
|
|
79
79
|
x: '0%',
|
|
80
80
|
y: '0%',
|
|
81
81
|
textStyle: {
|
|
@@ -83,7 +83,7 @@ export default {
|
|
|
83
83
|
fontSize: 18
|
|
84
84
|
}
|
|
85
85
|
}, {
|
|
86
|
-
text: '
|
|
86
|
+
text: '金额分布',
|
|
87
87
|
x: '40%',
|
|
88
88
|
y: '18%',
|
|
89
89
|
textStyle: {
|
|
@@ -93,7 +93,7 @@ export default {
|
|
|
93
93
|
}],
|
|
94
94
|
tooltip: {
|
|
95
95
|
trigger: 'item',
|
|
96
|
-
formatter: '{a} <br/>{b}: ({c}
|
|
96
|
+
formatter: '{a} <br/>{b}: ({c}元) ({d}%)'
|
|
97
97
|
},
|
|
98
98
|
legend: {
|
|
99
99
|
orient: 'horizontal',
|
|
@@ -109,7 +109,7 @@ export default {
|
|
|
109
109
|
},
|
|
110
110
|
series: [
|
|
111
111
|
{
|
|
112
|
-
name: '
|
|
112
|
+
name: '金额',
|
|
113
113
|
type: 'pie',
|
|
114
114
|
radius: ['0%', '40%'],
|
|
115
115
|
center: ['50%', '50%'],
|
|
@@ -139,7 +139,7 @@ export default {
|
|
|
139
139
|
fontSize: 18
|
|
140
140
|
}
|
|
141
141
|
}, {
|
|
142
|
-
text: '
|
|
142
|
+
text: '渠道分布',
|
|
143
143
|
x: '40%',
|
|
144
144
|
y: '18%',
|
|
145
145
|
textStyle: {
|
|
@@ -53,9 +53,9 @@ export default {
|
|
|
53
53
|
set (arrparams, numdata, gasdata) {
|
|
54
54
|
this.xc = echarts.init(document.getElementById('gph'))
|
|
55
55
|
this.xc.setOption({
|
|
56
|
-
color: ['#894BE5', '#
|
|
56
|
+
color: ['#894BE5', '#00C957'],
|
|
57
57
|
title: {
|
|
58
|
-
text: '
|
|
58
|
+
text: '销售气量散列图',
|
|
59
59
|
subtext: '数据查询来源',
|
|
60
60
|
x: 'left'
|
|
61
61
|
},
|
|
@@ -65,8 +65,8 @@ export default {
|
|
|
65
65
|
var str = ''
|
|
66
66
|
str += params[0].name + '</br>'
|
|
67
67
|
for (var i = 0; i < params.length; i++) {
|
|
68
|
-
if (i
|
|
69
|
-
str += params[i].marker + params[i].seriesName + ': ' + params[i].data + '
|
|
68
|
+
if (params[i].seriesName.includes('笔数')) {
|
|
69
|
+
str += params[i].marker + params[i].seriesName + ': ' + params[i].data + '笔' + '</br>'
|
|
70
70
|
} else {
|
|
71
71
|
str += params[i].marker + params[i].seriesName + ': ' + params[i].data + 'm³' + '</br>'
|
|
72
72
|
}
|
|
@@ -77,7 +77,7 @@ export default {
|
|
|
77
77
|
legend: {
|
|
78
78
|
x: 'left',
|
|
79
79
|
y: 'bottom',
|
|
80
|
-
data: ['
|
|
80
|
+
data: ['笔数', '气量']
|
|
81
81
|
},
|
|
82
82
|
toolbox: {
|
|
83
83
|
show: true,
|
|
@@ -102,7 +102,7 @@ export default {
|
|
|
102
102
|
],
|
|
103
103
|
series: [
|
|
104
104
|
{
|
|
105
|
-
name: '
|
|
105
|
+
name: '笔数',
|
|
106
106
|
type: 'bar',
|
|
107
107
|
data: numdata,
|
|
108
108
|
barMinHeight: 5,
|
|
@@ -312,6 +312,12 @@
|
|
|
312
312
|
close-on-select :search="false">
|
|
313
313
|
</v-select>
|
|
314
314
|
</div>
|
|
315
|
+
<div class="col-sm-2 form-group">
|
|
316
|
+
<label class="font_normal_body" style="margin-left: 25px">
|
|
317
|
+
备注
|
|
318
|
+
</label>
|
|
319
|
+
<input type="text" style="width:60%" class="input_search" placeholder="备注" v-model="model.f_comments" condition="f_comments like '%{}%'">
|
|
320
|
+
</div>
|
|
315
321
|
</div>
|
|
316
322
|
</div>
|
|
317
323
|
</criteria>
|