manage-client 3.2.203 → 3.2.204

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.
@@ -0,0 +1,6 @@
1
+ export default{
2
+ //把打印需要默认选中的字段名放在config数组中
3
+ config: [
4
+ "f_userinfo_code","f_user_name","f_user_phone","f_pregas","f_preamount","f_collection","f_balance","f_curbalance","f_idnumber"
5
+ ]
6
+ }
@@ -6,7 +6,7 @@ export default{
6
6
  'f_building': '楼栋', 'f_unit': '单元', 'f_floor': '楼层', 'f_room': '门牌号',
7
7
  'f_user_state': '客户状态', 'f_createfile_date': '建档日期', 'f_createfile_person': '建档人', 'f_comments': '备注'
8
8
  , 'f_bank_accopen': '银行户名', 'f_bank_name': '银行名称', 'f_bank_account': '银行账号', 'f_inputtor': '抄表员',
9
- 'f_bank_idnumber': '银行身份证号', 'f_bank_pay_number': '缴费编号', 'f_gas_date': '点火时间'
9
+ 'f_bank_idnumber': '银行身份证号', 'f_bank_pay_number': '缴费编号', 'f_gas_date': '通气时间'
10
10
  },
11
11
 
12
12
  // 操作记录查询
@@ -10,6 +10,9 @@ let specialComp = {
10
10
  },
11
11
  'meter-query':(resolve)=>{
12
12
  require(['./MeterQuery'], resolve)
13
+ },
14
+ 'user-query':(resolve)=>{
15
+ require(['./UserQuery'], resolve)
13
16
  }
14
17
  }
15
18
  exports.specialComp = specialComp
@@ -0,0 +1,147 @@
1
+ <template lang="html">
2
+ <div id="charts">
3
+ <div id="gph" :style="{width:'100%',height:'100%'}"></div>
4
+ </div>
5
+ </template>
6
+
7
+ <script>
8
+ import * as Util from '../../Util'
9
+ import co from 'co'
10
+ import echarts from 'echarts'
11
+ import {HttpResetClass } from 'vue-client'
12
+
13
+ let getData = function * (self) {
14
+ let load = new HttpResetClass()
15
+ load.load('POST','rs/sql/sellinggasvalue',
16
+ {data: {startDate: self.startdate, endDate: self.enddate,key: 'f_user_type',f_orgid: self.orgid}},
17
+ {resolveMsg: null, rejectMsg: null})
18
+ .then((res) => {
19
+ self.texttile = '用户类型'
20
+ let arrparams = []
21
+ let numdata = []
22
+ let gasdata = []
23
+ let pricedata = []
24
+ for (var i = 0; i < res.data.length; i++) {
25
+ arrparams[i] = res.data[i].name
26
+ numdata[i] = res.data[i].num_value
27
+ gasdata[i] = res.data[i].gas_value
28
+ pricedata[i] = res.data[i].money_value
29
+ }
30
+ self.set(arrparams,numdata,gasdata,pricedata)
31
+ })
32
+ }
33
+ export default {
34
+ props: {
35
+ startdate: {
36
+ type: String,
37
+ default: Util.toStandardDateString()
38
+ },
39
+ enddate: {
40
+ type: String,
41
+ default: Util.toStandardDateString()
42
+ },
43
+ orgid: {
44
+ type: String
45
+ }
46
+ },
47
+ data () {
48
+ title: '站点管理'
49
+ return {
50
+ texttile: '',
51
+ xc: ''
52
+ }
53
+ },
54
+ methods: {
55
+ set (arrparams,numdata,gasdata,pricedata) {
56
+ this.xc = echarts.init(document.getElementById('gph'))
57
+ this.xc.setOption({
58
+ title : {
59
+ text: '民用及非民用缴费散列图',
60
+ subtext: '数据查询来源',
61
+ x: 'left'
62
+ },
63
+ tooltip : {
64
+ trigger: 'axis'
65
+ },
66
+ legend: {
67
+ x: 'left',
68
+ y: 'bottom',
69
+ data: ['数量','气量','金额']
70
+ },
71
+ toolbox: {
72
+ show : true,
73
+ feature : {
74
+ dataView : {show: true, readOnly: false},
75
+ magicType : {show: true, type: ['line', 'bar']},
76
+ restore : {show: true},
77
+ saveAsImage : {show: true}
78
+ }
79
+ },
80
+ calculable : true,
81
+ xAxis : [
82
+ {
83
+ type : 'category',
84
+ data : arrparams
85
+ }
86
+ ],
87
+ yAxis : [
88
+ {
89
+ type : 'value'
90
+ }
91
+ ],
92
+ series : [
93
+ {
94
+ name:'数量',
95
+ type:'bar',
96
+ data:numdata,
97
+ markLine : {
98
+ data : [
99
+ {type : 'average', name: '平均值'}
100
+ ]
101
+ }
102
+ },
103
+ {
104
+ name:'气量',
105
+ type:'bar',
106
+ data:gasdata,
107
+ markLine : {
108
+ data : [
109
+ {type : 'average', name: '平均值'}
110
+ ]
111
+ }
112
+ },
113
+ {
114
+ name:'金额',
115
+ type:'bar',
116
+ data:pricedata,
117
+ markLine : {
118
+ data : [
119
+ {type : 'average', name : '平均值'}
120
+ ]
121
+ }
122
+ }
123
+ ]
124
+ })
125
+ },
126
+ searchdata () {
127
+ let getGen =getData(this)
128
+ co(getGen)
129
+ }
130
+ },
131
+ ready () {
132
+ this.searchdata()
133
+ },
134
+ watch: {
135
+ 'startdate' (val) {
136
+ this.searchdata()
137
+ },
138
+ 'enddate' (val) {
139
+ this.searchdata()
140
+ },
141
+ 'orgid' (val) {
142
+ this.searchdata()
143
+ }
144
+ }
145
+
146
+ }
147
+ </script>
@@ -0,0 +1,11 @@
1
+ // 分公司特殊组件页面注册
2
+ let specialComp = {
3
+ // 收费查询
4
+ 'site-manager': (resolve) => { require(['./SiteManager'], resolve) },
5
+
6
+ }
7
+ exports.specialComp = specialComp
8
+
9
+
10
+
11
+