manage-client-xy 3.2.15 → 3.2.17

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.
@@ -1,41 +1,32 @@
1
- const express = require('express')
2
- const webpack = require('webpack')
3
- const config = require('./webpack.dev.conf')
4
- const proxyMiddleware = require('http-proxy-middleware')
5
- // const httpProxy = require('http-proxy')
1
+ var express = require('express')
2
+ var webpack = require('webpack')
3
+ var config = require('./webpack.dev.conf')
4
+ var proxyMiddleware = require('http-proxy-middleware')
5
+ // var httpProxy = require('http-proxy')
6
6
 
7
- const app = express()
8
- const compiler = webpack(config)
9
- // const proxy = httpProxy.createProxyServer()
7
+ var app = express()
8
+ var compiler = webpack(config)
9
+ // var proxy = httpProxy.createProxyServer()
10
10
 
11
11
  // Define HTTP proxies to your custom API backend
12
12
  // https://github.com/chimurai/http-proxy-middleware
13
- // const bendi = 'http://127.0.0.1:8089/manage', fuwu = 'http://36.103.224.217:6300/'
14
- const bendi = 'http://127.0.0.1:8888/'
15
- const fuwu = 'http://192.168.153.129:8300'
16
- // ,fuwu = 'http://172.16.16.163:8300/'
17
- const proxyTable = {
13
+ // var bendi = 'http://127.0.0.1:8089/manage', fuwu = 'http://36.103.224.217:6300/'
14
+ var bendi = 'http://172.16.16.162:8300/'
15
+ , fuwu = 'http://172.16.16.162:8300/'
16
+ // ,fuwu = 'http://172.16.16.162:8300/'
17
+ var proxyTable = {
18
18
  '/resource': {
19
19
  target: 'http://192.168.13.135:31577/'
20
20
  },
21
21
 
22
22
  '/rs/logic/exportfile': {
23
- target: fuwu
24
- },
25
- '/rs/logic/saleExport': {
26
- target: fuwu
27
- },
28
- '/rs/sql/qc_statistics_manage': {
29
- target: fuwu
23
+ target: bendi
30
24
  },
31
25
  '/files': {
32
26
  target: fuwu
33
27
  },
34
- '/webapps': {
35
- target: fuwu
36
- },
37
28
  '/rs/sql': {
38
- target: fuwu
29
+ target: bendi
39
30
  },
40
31
  // 查找资源服务数据
41
32
  '/rs/search': {
@@ -78,7 +69,7 @@ const proxyTable = {
78
69
  target: fuwu
79
70
  },
80
71
  '/rs/report': {
81
- target: fuwu
72
+ target: bendi
82
73
  },
83
74
  '/rs/vue': {
84
75
  target: fuwu
@@ -87,14 +78,14 @@ const proxyTable = {
87
78
  target: fuwu
88
79
  },
89
80
  '/rs/logic/SumSettleFileImport': {
90
- target: fuwu
81
+ target: 'http://127.0.0.1:8087'
91
82
  },
92
83
  '/rs': {
93
84
  target: fuwu
94
85
  }
95
86
  }
96
87
 
97
- const devMiddleware = require('webpack-dev-middleware')(compiler, {
88
+ var devMiddleware = require('webpack-dev-middleware')(compiler, {
98
89
  publicPath: config.output.publicPath,
99
90
  stats: {
100
91
  colors: true,
@@ -102,7 +93,7 @@ const devMiddleware = require('webpack-dev-middleware')(compiler, {
102
93
  }
103
94
  })
104
95
 
105
- const hotMiddleware = require('webpack-hot-middleware')(compiler)
96
+ var hotMiddleware = require('webpack-hot-middleware')(compiler)
106
97
  // force page reload when html-webpack-plugin template changes
107
98
  compiler.plugin('compilation', function (compilation) {
108
99
  compilation.plugin('html-webpack-plugin-after-emit', function (data, cb) {
@@ -113,7 +104,7 @@ compiler.plugin('compilation', function (compilation) {
113
104
 
114
105
  // proxy api requests
115
106
  Object.keys(proxyTable).forEach(function (context) {
116
- let options = proxyTable[context]
107
+ var options = proxyTable[context]
117
108
  if (typeof options === 'string') {
118
109
  options = {target: options}
119
110
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "manage-client-xy",
3
- "version": "3.2.15",
3
+ "version": "3.2.17",
4
4
  "description": "经营管控模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -150,7 +150,7 @@
150
150
  <th rowspan="2">
151
151
  <nobr>小区名称</nobr>
152
152
  </th>
153
- <th colspan="4">
153
+ <th colspan="6">
154
154
  <nobr>用户数(档案户数)</nobr>
155
155
  </th>
156
156
  <th colspan="4">
@@ -173,12 +173,19 @@
173
173
  <th>
174
174
  <nobr>停用</nobr>
175
175
  </th>
176
+ <th>
177
+ <nobr>销户</nobr>
178
+ </th>
176
179
  <th>
177
180
  <nobr>未开户</nobr>
178
181
  </th>
179
182
  <th>
180
- <nobr>销户</nobr>
183
+ <nobr>壁挂锅炉</nobr>
181
184
  </th>
185
+ <th>
186
+ <nobr>楼栋</nobr>
187
+ </th>
188
+
182
189
  <th>
183
190
  <nobr>户数</nobr>
184
191
  </th>
@@ -230,11 +237,17 @@
230
237
  <td style="text-align: center;">
231
238
  <nobr>{{ row.f_tingyong }}</nobr>
232
239
  </td>
240
+ <td style="text-align: center;">
241
+ <nobr>{{ row.f_xiaohu }}</nobr>
242
+ </td>
233
243
  <td style="text-align: center;">
234
244
  <nobr>{{ row.f_weikaihu }}</nobr>
235
245
  </td>
236
246
  <td style="text-align: center;">
237
- <nobr>{{ row.f_xiaohu }}</nobr>
247
+ <nobr>{{ row.bgl }}</nobr>
248
+ </td>
249
+ <td style="text-align: center;">
250
+ <nobr>{{ row.f_building }}</nobr>
238
251
  </td>
239
252
  <td style="text-align: center;">
240
253
  <nobr>{{ row.f_jibiao }}</nobr>
@@ -303,6 +316,14 @@
303
316
  style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
304
317
  销户合计:&emsp;{{ sumsmodel.f_xiaohu }}
305
318
  </td>
319
+ <td
320
+ style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
321
+ 壁挂炉合计:&emsp;{{ sumsmodel.bgl }}
322
+ </td>
323
+ <td
324
+ style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
325
+ 楼栋合计:&emsp;{{ sumsmodel.f_building }}
326
+ </td>
306
327
  <td
307
328
  style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
308
329
  机表抄表户数合计:&emsp;{{ sumsmodel.f_jibiao }}
@@ -405,6 +426,8 @@ export default {
405
426
  endDate: 'this.model.endDate'
406
427
  }, {
407
428
  f_zhengchang: 0,
429
+ bgl:0,
430
+ f_building:0,
408
431
  f_tingyong: 0,
409
432
  f_weikaihu: 0,
410
433
  f_xiaohu: 0,
@@ -208,6 +208,12 @@
208
208
  <th>
209
209
  <nobr>旧表识别码</nobr>
210
210
  </th>
211
+ <th>
212
+ <nobr>旧表累购气量</nobr>
213
+ </th>
214
+ <th>
215
+ <nobr>旧表累购金额</nobr>
216
+ </th>
211
217
  <th>
212
218
  <nobr>旧表底数</nobr>
213
219
  </th>
@@ -291,6 +297,12 @@
291
297
  <td style="text-align: center;">
292
298
  <nobr>{{ row.f_old_imei }}</nobr>
293
299
  </td>
300
+ <td style="text-align: center;">
301
+ <nobr>{{ row.f_old_total_gas }}</nobr>
302
+ </td>
303
+ <td style="text-align: center;">
304
+ <nobr>{{ row.f_old_total_fee }}</nobr>
305
+ </td>
294
306
  <td style="text-align: center;">
295
307
  <nobr>{{ row.f_using_base_old }}</nobr>
296
308
  </td>
package/src/main.js CHANGED
@@ -2,12 +2,12 @@ import Vue from 'vue'
2
2
  import App from './App'
3
3
  import { all } from 'vue-client'
4
4
  import { system } from 'system-clients'
5
- // import { sale } from 'sale-client'
5
+ import { sale } from 'sale-client'
6
6
  import saleManage from './saleManage'
7
- // import webmeterManage from './webmeterManage'
8
- // import reportManage from './reportManage'
9
- // import newmanage from './newmanage'
10
- // import ManageHome from './ManageHome'
7
+ import webmeterManage from './webmeterManage'
8
+ import reportManage from './reportManage'
9
+ import newmanage from './newmanage'
10
+ import ManageHome from './ManageHome'
11
11
  import echarts from 'echarts'
12
12
  import AMap from 'vue-amap';
13
13
 
@@ -38,13 +38,13 @@ AMap.initAMapApiLoader({
38
38
 
39
39
  Vue.prototype.$echarts = echarts
40
40
  all()
41
- // sale()
41
+ sale()
42
42
  system(false)
43
43
  saleManage()
44
- // webmeterManage()
45
- // ManageHome()
46
- // newmanage()
47
- // reportManage()
44
+ webmeterManage()
45
+ ManageHome()
46
+ newmanage()
47
+ reportManage()
48
48
  require('./bootstrap/less/bootstrap.less')
49
49
  require('./bootstrap/less/manageStyle/manageStyle.less')
50
50
  require('./bootstrap/less/manageStyle/manageChile.less')