manage-client 3.2.208 → 3.2.209

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 (36) hide show
  1. package/build/dev-server.js +4 -1
  2. package/package.json +1 -1
  3. package/src/components/SellReport/AnLiReport.vue +1 -1
  4. package/src/components/SellReport/ManageBusSummaryNew.vue +181 -0
  5. package/src/components/SellReport/ManageSellTypeNew.vue +34 -19
  6. package/src/components/SellReport/jingwei/ManageHandSellMoneyNew.vue +166 -0
  7. package/src/components/sale/businessquery/InspectListUser.vue +3 -2
  8. package/src/filiale/WEINAN/CancellationQuery.vue +486 -486
  9. package/src/filiale/WEINAN/ChargeQuery.vue +800 -800
  10. package/src/filiale/WEINAN/EnableQuery.vue +456 -456
  11. package/src/filiale/WEINAN/config/exportConfig.js +824 -824
  12. package/src/filiale/shanxian/AreaGeneralQuery.vue +633 -0
  13. package/src/filiale/shanxian/FmyGasDeviceQuery.vue +855 -0
  14. package/src/filiale/shanxian/GasDeviceQuery.vue +964 -0
  15. package/src/filiale/shanxian/InspectListGas.vue +22 -1
  16. package/src/filiale/shanxian/Paymentpie.vue +205 -0
  17. package/src/filiale/shanxian/RecordInfoQuery.vue +1 -1
  18. package/src/filiale/shanxian/SiteManager.vue +3 -1
  19. package/src/filiale/shanxian/config/exportConfig.js +2 -2
  20. package/src/filiale/shanxian/reportManage.js +4 -1
  21. package/src/filiale/shanxian/sale.js +4 -2
  22. package/src/filiale/wuhai/ReportList.vue +10 -1
  23. package/src/main.js +66 -66
  24. package/src/reportManage.js +10 -2
  25. package/yarn-error.log +7659 -0
  26. package/.gradle/4.4/fileHashes/fileHashes.bin +0 -0
  27. package/.gradle/4.4/fileHashes/fileHashes.lock +0 -0
  28. package/.gradle/7.1/dependencies-accessors/dependencies-accessors.lock +0 -0
  29. package/.gradle/7.1/dependencies-accessors/gc.properties +0 -0
  30. package/.gradle/7.1/executionHistory/executionHistory.bin +0 -0
  31. package/.gradle/7.1/executionHistory/executionHistory.lock +0 -0
  32. package/.gradle/7.1/fileChanges/last-build.bin +0 -0
  33. package/.gradle/7.1/fileHashes/fileHashes.bin +0 -0
  34. package/.gradle/7.1/fileHashes/fileHashes.lock +0 -0
  35. package/.gradle/7.1/gc.properties +0 -0
  36. package/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
@@ -189,6 +189,27 @@
189
189
  condition="sellpregas <= {} " placeholder="">
190
190
  </div>
191
191
  </div>
192
+ <div class="col-sm-2 ">
193
+ <label for="startDate" class="font_normal_body">&emsp;建档开始</label>
194
+ <datepicker id="createFileStartDate" placeholder="建档开始日期"
195
+ v-model="model.createFileStartDate"
196
+ style="width:60%"
197
+ :value.sync="model.createFileStartDate"
198
+ :format="'yyyy-MM-dd'"
199
+ :show-reset-button="true"
200
+ condition="f_createfile_date >= '{} 00:00:00'">
201
+ </datepicker>
202
+ </div>
203
+ <div class="col-sm-2 ">
204
+ <label for="startDate" class="font_normal_body">&emsp;建档结束</label>
205
+ <datepicker id="createFileEndDate" placeholder="建档结束日期" style="width:60%"
206
+ v-model="model.createFileEndDate"
207
+ :value.sync="model.createFileEndDate"
208
+ :format="'yyyy-MM-dd'"
209
+ :show-reset-button="true"
210
+ condition="f_createfile_date <= '{} 23:59:59'">
211
+ </datepicker>
212
+ </div>
192
213
  </div>
193
214
  </div>
194
215
  </criteria>
@@ -296,7 +317,7 @@
296
317
  userid: this.$login.f.id,
297
318
  source: `tool.getFullTree(this.getRights().where(row.getType() == $organization$))`,
298
319
  getfield:{"f_userinfo_code":"客户编号","f_olduserinfo_code":"档案编号","f_meternumber":"表号",
299
- "f_user_name":"客户名称","f_user_state":"客户状态","f_address":"客户地址","f_user_type":"用户类型",
320
+ "f_user_name":"客户名称","f_user_state":"客户状态","f_address":"地址","f_user_type":"用户类型",
300
321
  "f_gasproperties":"用气性质","f_table_state":"表具状态","f_meter_brand":"气表品牌","f_price_name":"气价名称",
301
322
  "delivery_date":"最后购气日期",
302
323
  "sellcishu":"期间购气次数","sellpregas":"期间购气量","f_orgname":"组织机构"},
@@ -0,0 +1,205 @@
1
+ <template lang="html">
2
+ <div id="charts" style="display: flex">
3
+ <div id="ps" :style="{width:'50%',height:'98%'}"></div>
4
+ <div id="pp" :style="{width:'50%',height:'98%'}"></div>
5
+ </div>
6
+ </template>
7
+
8
+ <script>
9
+ import * as Util from '../../Util'
10
+ import co from 'co'
11
+ import echarts from 'echarts'
12
+ import { HttpResetClass } from 'vue-client'
13
+
14
+ let getData = function * (self) {
15
+ let load = new HttpResetClass()
16
+ load.load('POST','rs/sql/sellinggasvalue',
17
+ {data: {startDate: self.startdate, endDate: self.enddate,key:'f_user_type',f_orgid:self.orgid}},
18
+ {resolveMsg: null, rejectMsg: null})
19
+ .then((res) => {
20
+ let arrparams = []
21
+ let gasdata = []
22
+ for (var i = 0; i < res.data.length; i++) {
23
+ let item = {}
24
+ arrparams[i] = res.data[i].name
25
+ item.name = res.data[i].name
26
+ item.value = res.data[i].gas_value
27
+ gasdata.push(item)
28
+ }
29
+ console.log("加载echars组件")
30
+ self.setGas(arrparams,gasdata)
31
+ })
32
+ let load1 = new HttpResetClass()
33
+ load1.load('POST','rs/sql/sellinggasvalue',
34
+ {data: {startDate: self.startdate, endDate: self.enddate,key:'f_payment',f_orgid:self.orgid}},
35
+ {resolveMsg: null, rejectMsg: null})
36
+ .then((res) => {
37
+ let arrparams = []
38
+ let moneydata = []
39
+ for (var i = 0; i < res.data.length; i++) {
40
+ let item1={}
41
+ arrparams[i] = res.data[i].name
42
+ item1.name = res.data[i].name
43
+ item1.value = res.data[i].money_value
44
+ moneydata.push(item1)
45
+ }
46
+ console.log("加载echars组件")
47
+ self.setMoney(arrparams,moneydata)
48
+ })
49
+ }
50
+ export default {
51
+ props: {
52
+ startdate: {
53
+ type: String,
54
+ default: Util.toStandardDateString()
55
+ },
56
+ enddate: {
57
+ type: String,
58
+ default: Util.toStandardDateString()
59
+ },
60
+ orgid: {
61
+ type: String
62
+ }
63
+ },
64
+ data () {
65
+ return {
66
+ xc: '',
67
+ xd: ''
68
+ }
69
+ },
70
+ methods: {
71
+
72
+ setGas (arrparams,gasdata) {
73
+ console.log("进入组件")
74
+ let option1 = {
75
+ title: [
76
+ {
77
+ text: '收费来源气量金额饼状图',
78
+ x: '0%',
79
+ y: '0%',
80
+ textStyle: {
81
+ color: '#010606',
82
+ fontSize: 18,
83
+ }
84
+ }, {
85
+ text: '气量分布',
86
+ x: '40%',
87
+ y: '18%',
88
+ textStyle: {
89
+ color: '#010606',
90
+ fontSize: 16,
91
+ }
92
+ }],
93
+ tooltip: {
94
+ trigger: 'item',
95
+ formatter: '{a} <br/>{b}: {c} ({d}%)'
96
+ },
97
+ legend: {
98
+ orient: 'horizontal',
99
+ icon: 'circle',
100
+ x: 'center',
101
+ y: '80%',
102
+
103
+ textStyle: {
104
+ padding: [0, 0, 0, 4],
105
+ color: '#010606'
106
+ },
107
+ data: arrparams
108
+ },
109
+ series : [
110
+ {
111
+ name: '气量',
112
+ type: 'pie',
113
+ radius: ['0%', '40%'],
114
+ center: ['50%', '50%'],
115
+ hoverAnimation: true,
116
+ minAngle: 15,//最小角度
117
+ startAngle: 60, //起始角度
118
+ label: {normal: {show:true,}},
119
+ labelLine: { normal: {show:true,}},
120
+ data: gasdata
121
+ },
122
+ ]
123
+
124
+ }
125
+ this.xd = echarts.init(document.getElementById('ps'))
126
+ this.xd.setOption(option1,true)
127
+ },
128
+ setMoney (arrparams,moneydata) {
129
+ console.log("进入组件")
130
+ let option = {
131
+ title: [
132
+ {
133
+ text: '',
134
+ x: '0%',
135
+ y: '0%',
136
+ textStyle: {
137
+ color: '#010606',
138
+ fontSize: 18,
139
+ }
140
+ }, {
141
+ text: '金额分布',
142
+ x: '40%',
143
+ y: '18%',
144
+ textStyle: {
145
+ color: '#010606',
146
+ fontSize: 16,
147
+ }
148
+ }],
149
+ tooltip: {
150
+ trigger: 'item',
151
+ formatter: '{a} <br/>{b}: {c} ({d}%)'
152
+ },
153
+ legend: {
154
+ orient: 'horizontal',
155
+ icon: 'circle',
156
+ x: 'center',
157
+ y: '80%',
158
+
159
+ textStyle: {
160
+ padding: [0, 0, 0, 4],
161
+ color: '#010606'
162
+ },
163
+ data: arrparams
164
+ },
165
+ series : [
166
+ {
167
+ name: '金额',
168
+ type: 'pie',
169
+ radius: ['0%', '40%'],
170
+ center: ['50%', '50%'],
171
+ hoverAnimation: true,
172
+ minAngle: 15,//最小角度
173
+ startAngle: 60, //起始角度
174
+ label: {normal: {show:true,}},
175
+ labelLine: { normal: {show:true,}},
176
+ data: moneydata
177
+ }
178
+ ]
179
+
180
+ }
181
+ this.xc = echarts.init(document.getElementById('pp'))
182
+ this.xc.setOption(option,true)
183
+ },
184
+ searchdata () {
185
+ let getGen =getData(this);
186
+ co(getGen);
187
+ }
188
+ },
189
+ ready () {
190
+ this.searchdata()
191
+ },
192
+ watch: {
193
+ 'startdate' (val) {
194
+ this.searchdata()
195
+ },
196
+ 'enddate' (val) {
197
+ this.searchdata()
198
+ },
199
+ 'orgid' (val) {
200
+ this.searchdata()
201
+ }
202
+ }
203
+
204
+ }
205
+ </script>
@@ -508,7 +508,7 @@
508
508
  <nobr>防盗卡号</nobr>
509
509
  </th>
510
510
  <th>
511
- <nobr>品牌</nobr>
511
+ <nobr>表品牌</nobr>
512
512
  </th>
513
513
  <th>
514
514
  <nobr>表号</nobr>
@@ -21,6 +21,7 @@ let getData = function * (self) {
21
21
  let numdata = []
22
22
  let gasdata = []
23
23
  let pricedata = []
24
+ console.log("res.data",res.data)
24
25
  for (var i = 0; i < res.data.length; i++) {
25
26
  arrparams[i] = res.data[i].name
26
27
  numdata[i] = res.data[i].num_value
@@ -61,7 +62,7 @@ export default {
61
62
  x: 'left'
62
63
  },
63
64
  tooltip : {
64
- trigger: 'axis'
65
+ trigger: 'item'
65
66
  },
66
67
  legend: {
67
68
  x: 'left',
@@ -94,6 +95,7 @@ export default {
94
95
  name:'数量',
95
96
  type:'bar',
96
97
  data:numdata,
98
+ barMinHeight: 5,
97
99
  markLine : {
98
100
  data : [
99
101
  {type : 'average', name: '平均值'}
@@ -206,10 +206,10 @@ export default{
206
206
  'f_meternumber': '表号'
207
207
  },
208
208
  compreConfig: {
209
- 'f_user_state': '客户状态', 'f_userinfo_code': '客户编号', 'f_olduserinfo_code': '档案编号', 'f_card_id': '卡号', 'f_user_name': '客户名称',
209
+ 'f_user_state': '客户状态', 'f_userinfo_code': '客户编号', 'f_olduserinfo_code': '档案编号', 'f_card_id': '卡号', 'f_user_name': '户主姓名',
210
210
  'f_residential_area': '小区名称', 'f_building': '楼栋', 'f_unit': '单元', 'f_floor': '楼层', 'f_room': '门牌号', 'f_address': '详细地址',
211
211
  'f_user_phone': '联系电话', 'f_usetype': '使用类型',
212
- 'f_gas_date': '通气日期', 'f_price_name': '气价名称', 'f_position': '安装位置', 'f_meter_type': '类型', 'f_meter_brand': '品牌',
212
+ 'f_gas_date': '通气日期', 'f_price_name': '气价名称', 'f_position': '安装位置', 'f_meter_type': '类型', 'f_meter_brand': '气表品牌',
213
213
  'f_meternumber': '表号', 'f_metertitles': '表封号', 'f_aroundmeter': '表向', 'f_install_date': '气表安装日期', 'f_meter_base': '气表底数',
214
214
  'f_balance': '账户余额', 'f_hand_date': '最后抄表日期', 'f_whether_hairpin': '是否发卡',
215
215
  'f_valve_state': '阀门状态', 'f_user_type': '客户类型', 'f_gasproperties': '用气性质', 'value': '气价详情',
@@ -2,7 +2,10 @@
2
2
  let specialComp = {
3
3
  // 收费查询
4
4
  'site-manager': (resolve) => { require(['./SiteManager'], resolve) },
5
-
5
+ // 付款方式饼图
6
+ 'paymentpie': (resolve) => {
7
+ require(['./Paymentpie'], resolve)
8
+ },
6
9
  }
7
10
  exports.specialComp = specialComp
8
11
 
@@ -4,8 +4,10 @@ let specialComp = {
4
4
  'inspect-list-user': (resolve) => { require(['./InspectListUser'], resolve) },
5
5
  'inspect-list-gas': (resolve) => { require(['./InspectListGas'], resolve) },
6
6
  'gas-inspection': (resolve) => { require(['./GasInspection'], resolve) },
7
- 'record-info-query': (resolve) => { require(['./RecordInfoQuery'], resolve) }
8
-
7
+ 'record-info-query': (resolve) => { require(['./RecordInfoQuery'], resolve) },
8
+ 'area-general-query': (resolve) => { require(['./AreaGeneralQuery'], resolve) },
9
+ 'my-gas-device-query': (resolve) => { require(['./GasDeviceQuery'], resolve) },
10
+ 'fmy-gas-device-query': (resolve) => { require(['./FmyGasDeviceQuery'], resolve) }
9
11
  }
10
12
  exports.specialComp = specialComp
11
13
 
@@ -191,6 +191,15 @@
191
191
  </data-grid>
192
192
  </criteria-paged>
193
193
  <table class="table-hover">
194
+ <tr style="position: relative" class="table-bordered">
195
+ <td
196
+ style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">
197
+ 汇总信息
198
+ </td>
199
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
200
+ 总累购金额:&emsp;{{model.sums.f_total_fee}}
201
+ </td>
202
+ </tr>
194
203
  <!-- <tr style="position: relative" class="table-bordered">-->
195
204
  <!-- <td-->
196
205
  <!-- style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">-->
@@ -263,7 +272,7 @@
263
272
  orgid:[this.$login.f.orgid],
264
273
  criteriaShow:false,
265
274
  orgCondtionStr: '',
266
- model: new PagedList('rs/sql/manage_getReportList', 50,{},{f_meterbalanceamt: 0,f_tablebase: 0,f_meterdebitamt: 0}),
275
+ model: new PagedList('rs/sql/manage_getReportList', 50,{},{f_meterbalanceamt: 0,f_tablebase: 0,f_meterdebitamt: 0,f_total_fee}),
267
276
  areaList:[]
268
277
  }
269
278
  },
package/src/main.js CHANGED
@@ -1,66 +1,66 @@
1
- import Vue from 'vue'
2
- import App from './App'
3
- import { all } from 'vue-client'
4
-
5
- // import { sale } from 'sale-client'
6
- import { system } from 'system-clients'
7
- import { ldap } from 'ldap-clients'
8
- import saleManage from './saleManage'
9
- import webmeterManage from './webmeterManage'
10
- import reportManage from './reportManage'
11
- import newmanage from './newmanage'
12
- import ManageHome from './ManageHome'
13
- import echarts from 'echarts'
14
- import AMap from 'vue-amap'
15
-
16
- Vue.config.silent = true
17
- // Vue.mmType = 'AES'
18
-
19
- Vue.use(AMap);
20
-
21
- // 初始化vue-amap
22
- AMap.initAMapApiLoader({
23
- // 高德key
24
- key: '3cec9ae8e2349207f7ac29279e3f4abe',
25
- // 插件集合 (插件按需引入)
26
- plugin: [
27
- "AMap.Autocomplete", //输入提示插件
28
- "AMap.PlaceSearch", //POI搜索插件
29
- "AMap.Scale", //右下角缩略图插件 比例尺
30
- "AMap.OverView", //地图鹰眼插件
31
- "AMap.ToolBar", //地图工具条0
32
- "AMap.MapType", //类别切换控件,实现默认图层与卫星图、实施交通图层之间切换的控制
33
- "AMap.PolyEditor", //编辑 折线多,边形
34
- "AMap.CircleEditor", //圆形编辑器插件
35
- "AMap.Geolocation" //定位控件,用来获取和展示用户主机所在的经纬度位置
36
- ],
37
- uiVersion: "1.0"
38
- });
39
- /** **************************通用组件******************************/
40
-
41
- Vue.prototype.$echarts = echarts
42
- all()
43
- // sale()
44
- ldap()
45
- system(false)
46
-
47
- saleManage("WEINAN")
48
- webmeterManage("wuhai")
49
- ManageHome()
50
- newmanage()
51
- reportManage()
52
- require('system-clients/src/styles/less/bootstrap.less')
53
- require('./components/qinhua/Style/qinhuaStyle.less')
54
- // require('./bootstrap/less/manageStyle/manageChile.less')
55
- // require('./bootstrap/less/manageStyle/safeStyle.less')
56
-
57
- //大屏展示要放开的样式
58
- // require('system-clients/src/styles/less/manageStyle/manageChile.less')
59
- // require('system-clients/src/styles/less/manageStyle/safeStyle.less')
60
- // require('system-clients/src/styles/less/manageStyle/manageStyle.less')
61
-
62
- new Vue({
63
- el: 'body',
64
- components: { App }
65
- })
66
-
1
+ import Vue from 'vue'
2
+ import App from './App'
3
+ import { all } from 'vue-client'
4
+
5
+ // import { sale } from 'sale-client'
6
+ import { system } from 'system-clients'
7
+ import { ldap } from 'ldap-clients'
8
+ import saleManage from './saleManage'
9
+ import webmeterManage from './webmeterManage'
10
+ import reportManage from './reportManage'
11
+ import newmanage from './newmanage'
12
+ import ManageHome from './ManageHome'
13
+ import echarts from 'echarts'
14
+ import AMap from 'vue-amap'
15
+
16
+ Vue.config.silent = true
17
+ // Vue.mmType = 'AES'
18
+
19
+ Vue.use(AMap);
20
+
21
+ // 初始化vue-amap
22
+ AMap.initAMapApiLoader({
23
+ // 高德key
24
+ key: '3cec9ae8e2349207f7ac29279e3f4abe',
25
+ // 插件集合 (插件按需引入)
26
+ plugin: [
27
+ "AMap.Autocomplete", //输入提示插件
28
+ "AMap.PlaceSearch", //POI搜索插件
29
+ "AMap.Scale", //右下角缩略图插件 比例尺
30
+ "AMap.OverView", //地图鹰眼插件
31
+ "AMap.ToolBar", //地图工具条0
32
+ "AMap.MapType", //类别切换控件,实现默认图层与卫星图、实施交通图层之间切换的控制
33
+ "AMap.PolyEditor", //编辑 折线多,边形
34
+ "AMap.CircleEditor", //圆形编辑器插件
35
+ "AMap.Geolocation" //定位控件,用来获取和展示用户主机所在的经纬度位置
36
+ ],
37
+ uiVersion: "1.0"
38
+ });
39
+ /** **************************通用组件******************************/
40
+
41
+ Vue.prototype.$echarts = echarts
42
+ all()
43
+ // sale()
44
+ ldap()
45
+ system(false)
46
+
47
+ saleManage("wuhai")
48
+ webmeterManage("wuhai")
49
+ ManageHome()
50
+ newmanage()
51
+ reportManage()
52
+ require('system-clients/src/styles/less/bootstrap.less')
53
+ require('./components/qinhua/Style/qinhuaStyle.less')
54
+ // require('./bootstrap/less/manageStyle/manageChile.less')
55
+ // require('./bootstrap/less/manageStyle/safeStyle.less')
56
+
57
+ //大屏展示要放开的样式
58
+ // require('system-clients/src/styles/less/manageStyle/manageChile.less')
59
+ // require('system-clients/src/styles/less/manageStyle/safeStyle.less')
60
+ // require('system-clients/src/styles/less/manageStyle/manageStyle.less')
61
+
62
+ new Vue({
63
+ el: 'body',
64
+ components: { App }
65
+ })
66
+
@@ -48,8 +48,8 @@ export default function (filiale) {
48
48
 
49
49
  // /* 通信信息查询 */
50
50
  Vue.component('communication', (resolve) => {
51
- require(['./components/WebReport/Communication'], resolve)
52
- }
51
+ require(['./components/WebReport/Communication'], resolve)
52
+ }
53
53
  )
54
54
  // /*阀门统计 */
55
55
  Vue.component('value-info', (resolve) => {
@@ -151,6 +151,10 @@ export default function (filiale) {
151
151
  Vue.component('manage-bus-summary', (resolve) => {
152
152
  require(['./components/SellReport/ManageBusSummary'], resolve)
153
153
  })
154
+ // 新收费结账报表 多查询条件(用户类型,付款方式,气表类型,气表品牌)
155
+ Vue.component('manage-bus-summary-new', (resolve) => {
156
+ require(['./components/SellReport/ManageBusSummaryNew'], resolve)
157
+ })
154
158
  // 报表展示组件((机表)收费结账报表)
155
159
  Vue.component('jimanage-bus-summary', (resolve) => {
156
160
  require(['./components/SellReport/JiManageBusSummary'], resolve)
@@ -273,6 +277,10 @@ export default function (filiale) {
273
277
  Vue.component('manage-hand-sell-money', (resolve) => {
274
278
  require(['./components/SellReport/jingwei/ManageHandSellMoney'], resolve)
275
279
  })
280
+ // 报表展示组件(营业厅售气情况统计表) 经纬
281
+ Vue.component('manage-hand-sell-money-new', (resolve) => {
282
+ require(['./components/SellReport/jingwei/ManageHandSellMoneyNew'], resolve)
283
+ })
276
284
  // 报表展示组件(收费统计月报表) 经纬
277
285
  Vue.component('manage-month-sell-type', (resolve) => {
278
286
  require(['./components/SellReport/jingwei/ManageMonthSellType'], resolve)