manage-client 3.1.1-1 → 3.1.1-10-fx

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 (51) hide show
  1. package/build/dev-server.js +160 -160
  2. package/build.gradle +1 -1
  3. package/package.json +8 -4
  4. package/src/components/sale/businessquery/BusinessManage.vue +91 -88
  5. package/src/components/sale/businessquery/ChangeMeterQuery.vue +439 -439
  6. package/src/components/sale/businessquery/ChargeQuery.vue +536 -525
  7. package/src/components/sale/businessquery/DisableQuery.vue +291 -291
  8. package/src/components/sale/businessquery/EnableQuery.vue +289 -289
  9. package/src/components/sale/businessquery/FillCardQuery.vue +378 -378
  10. package/src/components/sale/businessquery/FillGasQuery.vue +378 -378
  11. package/src/components/sale/businessquery/HandplanQuery.vue +480 -480
  12. package/src/components/sale/businessquery/InspectListGas.vue +446 -446
  13. package/src/components/sale/businessquery/InspectListUser.vue +353 -353
  14. package/src/components/sale/businessquery/NewAccountQuery.vue +370 -0
  15. package/src/components/sale/businessquery/OtherChargeDetailQuery.vue +70 -70
  16. package/src/components/sale/businessquery/OtherChargeQuery.vue +387 -387
  17. package/src/components/sale/businessquery/ReverseQuery.vue +330 -330
  18. package/src/components/sale/businessquery/SellingHand.vue +321 -321
  19. package/src/components/sale/businessquery/TransferQuery.vue +340 -340
  20. package/src/components/sale/common/TabButton.vue +149 -149
  21. package/src/components/sale/config/exportConfig.js +17 -3
  22. package/src/components/sale/filesquery/DeviceQuery.vue +320 -320
  23. package/src/components/sale/filesquery/MeterQuery.vue +598 -598
  24. package/src/components/sale/filesquery/UserQuery.vue +507 -507
  25. package/src/components/sale/report/aode/DayReportList.vue +362 -356
  26. package/src/components/sale/report/aode/MonthByChargeType.vue +400 -377
  27. package/src/components/sale/report/aode/MonthByUserType.vue +359 -335
  28. package/src/components/sale/report/aode/YearByChargeTpye.vue +215 -195
  29. package/src/components/sale/report/aode/YearByUserType.vue +251 -233
  30. package/src/components/sale/report/aode/life/LifeDayReportList.vue +235 -235
  31. package/src/components/sale/report/aode/life/LifeMonthReport.vue +251 -242
  32. package/src/components/sale/report/aode/life/LifeYearReport.vue +175 -169
  33. package/src/components/sale/report/aode/widget/DayReportListPrint.vue +1 -1
  34. package/src/components/sale/report/aode/widget/LifeDayReportListPrint.vue +16 -31
  35. package/src/components/sale/report/aode/widget/LifeMonthPrint.vue +144 -0
  36. package/src/components/sale/report/aode/widget/LifeYearPrint.vue +143 -0
  37. package/src/components/sale/report/aode/widget/MonthByChargePrint.vue +227 -0
  38. package/src/components/sale/report/aode/widget/MonthByUserPrint.vue +224 -0
  39. package/src/components/sale/report/aode/widget/YearByChargePrint.vue +203 -0
  40. package/src/components/sale/report/aode/widget/YearByUserPrint.vue +225 -0
  41. package/src/components/webmeter/gasAnalysis/GasAnalysisEcharts.vue +144 -144
  42. package/src/components/webmeter/newwebmeter/NewException/NewMeterException.vue +425 -449
  43. package/src/components/webmeter/report/ReportList.vue +211 -0
  44. package/src/expandcss.less +26 -26
  45. package/src/plugins/GetLoginInfoService.js +2 -9
  46. package/src/reportManage.js +197 -197
  47. package/src/saleManage.js +8 -0
  48. package/src/stores/MagLoadParams.js +63 -63
  49. package/src/webmeterManage.js +2 -0
  50. package/.npmignore +0 -10
  51. package/build/.npmignore +0 -1
@@ -1,160 +1,160 @@
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
-
7
- var app = express()
8
- var compiler = webpack(config)
9
- // var proxy = httpProxy.createProxyServer()
10
-
11
- // Define HTTP proxies to your custom API backend
12
- // https://github.com/chimurai/http-proxy-middleware
13
- var bendi = 'http://127.0.0.1:8093/manage', fuwu = 'http://127.0.0.1:8300'
14
- // var str = 'http://127.0.0.1:8080/manage', str2 = 'http://192.168.50.199:8300'
15
- // var str = 'http://192.168.10.233:8300', str2 = 'http://192.168.10.14:8300'
16
- var proxyTable = {
17
-
18
- '/rs/logic/exportfile': {
19
- target: fuwu
20
- },
21
- '/files': {
22
- target: fuwu
23
- },
24
- // 查找资源服务数据
25
- '/rs/search': {
26
- target: fuwu
27
- },
28
- // 查找资源服务数据
29
- '/rs/logic/getLogin': {
30
- target: fuwu
31
- },
32
- // 查找资源服务数据
33
- '/rs/logic/getInitData': {
34
- target: fuwu
35
- },
36
- // 用户登录服务地址
37
- '/rs/user': {
38
- target: fuwu
39
- },
40
- '/rs/path/getParams': {
41
- target: fuwu
42
- },
43
- '/rs/data': {
44
- target: fuwu
45
- },
46
- '/rs/license': {
47
- target: fuwu
48
- },
49
- '/rs/db': {
50
- target: fuwu
51
- },
52
- '/excel': {
53
- target: fuwu
54
- },
55
- '/rs/config': {
56
- target: fuwu
57
- },
58
- '/rs/sql/getLicenseById': {
59
- target: fuwu
60
- },
61
- '/rs/report': {
62
- target: fuwu
63
- },
64
- '/rs/vue': {
65
- target: fuwu
66
- },
67
- '/rs': {
68
- target: bendi
69
- }
70
- }
71
-
72
- var devMiddleware = require('webpack-dev-middleware')(compiler, {
73
- publicPath: config.output.publicPath,
74
- stats: {
75
- colors: true,
76
- chunks: false
77
- }
78
- })
79
-
80
- var hotMiddleware = require('webpack-hot-middleware')(compiler)
81
- // force page reload when html-webpack-plugin template changes
82
- compiler.plugin('compilation', function (compilation) {
83
- compilation.plugin('html-webpack-plugin-after-emit', function (data, cb) {
84
- hotMiddleware.publish({action: 'reload'})
85
- cb()
86
- })
87
- })
88
-
89
- // proxy api requests
90
- Object.keys(proxyTable).forEach(function (context) {
91
- var options = proxyTable[context]
92
- if (typeof options === 'string') {
93
- options = {target: options}
94
- }
95
- app.use(proxyMiddleware(context, options))
96
- })
97
-
98
- // handle fallback for HTML5 history API
99
- app.use(require('connect-history-api-fallback')())
100
- // app.use(function (req, res, next) {
101
- // res.header('Access-Control-Allow-Origin', '*')
102
- // res.header('Access-Control-Allow-Headers', 'X-Requested-With')
103
- // res.header('Access-Control-Allow-Methods', 'PUT, POST, GET,DELETE, OPTIONS')
104
- // res.header('X-Powered-By', '3,2,1')
105
- // res.header('Access-Control-Allow-Credentials', 'true')
106
- // res.header('Content-Type', 'application/json;charset=utf-8')
107
- // next()
108
- // })
109
-
110
- // serve webpack bundle output
111
- app.use(devMiddleware)
112
-
113
- // enable hot-reload and state-preserving
114
- // compilation error display
115
- app.use(hotMiddleware)
116
-
117
- // serve pure static assets
118
- app.use('/static', express.static('./static'))
119
-
120
- // app.all('/rs/*', function (req, res) {
121
- // proxy.web(req, res, {
122
- // target: 'http://127.0.0.1:8081/reports'
123
- // })
124
- // })
125
-
126
- // app.all('/rs/*', function (req, res) {
127
- // proxy.web(req, res, {
128
- // target: 'http://127.0.0.1:8081/ldap'
129
- // })
130
- // })
131
- // app.all('/excel/*', function (req, res) {
132
- // proxy.web(req, res, {
133
- // target: 'http://127.0.0.1:8081/charge'
134
- // })
135
- // })
136
-
137
- // app.all('/rs/*', function (req, res) {
138
- // proxy.web(req, res, {
139
- // target: 'http://127.0.0.1:82/charge'
140
- // })
141
- // })
142
-
143
- // app.all('/*', function (req, res) {
144
- // proxy.web(req, res, {
145
- // target: 'http://127.0.0.1:82'
146
- // })
147
- // })
148
- // app.all('/rs/user', function (req, res) {
149
- // proxy.web(req, res, {
150
- // target: 'http://127.0.0.1:82'
151
- // })
152
- // })
153
-
154
- module.exports = app.listen(8085, function (err) {
155
- if (err) {
156
- console.log(err)
157
- return
158
- }
159
- console.log('Listening at http://localhost:8085')
160
- })
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
+
7
+ var app = express()
8
+ var compiler = webpack(config)
9
+ // var proxy = httpProxy.createProxyServer()
10
+
11
+ // Define HTTP proxies to your custom API backend
12
+ // https://github.com/chimurai/http-proxy-middleware
13
+ var bendi = 'http://127.0.0.1:8093/manage', fuwu = 'http://127.0.0.1:8300'
14
+ // var str = 'http://127.0.0.1:8080/manage', str2 = 'http://192.168.50.199:8300'
15
+ // var str = 'http://192.168.10.233:8300', str2 = 'http://192.168.10.14:8300'
16
+ var proxyTable = {
17
+
18
+ '/rs/logic/exportfile': {
19
+ target: fuwu
20
+ },
21
+ '/files': {
22
+ target: fuwu
23
+ },
24
+ // 查找资源服务数据
25
+ '/rs/search': {
26
+ target: fuwu
27
+ },
28
+ // 查找资源服务数据
29
+ '/rs/logic/getLogin': {
30
+ target: fuwu
31
+ },
32
+ // 查找资源服务数据
33
+ '/rs/logic/getInitData': {
34
+ target: fuwu
35
+ },
36
+ // 用户登录服务地址
37
+ '/rs/user': {
38
+ target: fuwu
39
+ },
40
+ '/rs/path/getParams': {
41
+ target: fuwu
42
+ },
43
+ '/rs/data': {
44
+ target: fuwu
45
+ },
46
+ '/rs/license': {
47
+ target: fuwu
48
+ },
49
+ '/rs/db': {
50
+ target: fuwu
51
+ },
52
+ '/excel': {
53
+ target: fuwu
54
+ },
55
+ '/rs/config': {
56
+ target: fuwu
57
+ },
58
+ '/rs/sql/getLicenseById': {
59
+ target: fuwu
60
+ },
61
+ '/rs/report': {
62
+ target: fuwu
63
+ },
64
+ '/rs/vue': {
65
+ target: fuwu
66
+ },
67
+ '/rs': {
68
+ target: bendi
69
+ }
70
+ }
71
+
72
+ var devMiddleware = require('webpack-dev-middleware')(compiler, {
73
+ publicPath: config.output.publicPath,
74
+ stats: {
75
+ colors: true,
76
+ chunks: false
77
+ }
78
+ })
79
+
80
+ var hotMiddleware = require('webpack-hot-middleware')(compiler)
81
+ // force page reload when html-webpack-plugin template changes
82
+ compiler.plugin('compilation', function (compilation) {
83
+ compilation.plugin('html-webpack-plugin-after-emit', function (data, cb) {
84
+ hotMiddleware.publish({action: 'reload'})
85
+ cb()
86
+ })
87
+ })
88
+
89
+ // proxy api requests
90
+ Object.keys(proxyTable).forEach(function (context) {
91
+ var options = proxyTable[context]
92
+ if (typeof options === 'string') {
93
+ options = {target: options}
94
+ }
95
+ app.use(proxyMiddleware(context, options))
96
+ })
97
+
98
+ // handle fallback for HTML5 history API
99
+ app.use(require('connect-history-api-fallback')())
100
+ // app.use(function (req, res, next) {
101
+ // res.header('Access-Control-Allow-Origin', '*')
102
+ // res.header('Access-Control-Allow-Headers', 'X-Requested-With')
103
+ // res.header('Access-Control-Allow-Methods', 'PUT, POST, GET,DELETE, OPTIONS')
104
+ // res.header('X-Powered-By', '3,2,1')
105
+ // res.header('Access-Control-Allow-Credentials', 'true')
106
+ // res.header('Content-Type', 'application/json;charset=utf-8')
107
+ // next()
108
+ // })
109
+
110
+ // serve webpack bundle output
111
+ app.use(devMiddleware)
112
+
113
+ // enable hot-reload and state-preserving
114
+ // compilation error display
115
+ app.use(hotMiddleware)
116
+
117
+ // serve pure static assets
118
+ app.use('/static', express.static('./static'))
119
+
120
+ // app.all('/rs/*', function (req, res) {
121
+ // proxy.web(req, res, {
122
+ // target: 'http://127.0.0.1:8081/reports'
123
+ // })
124
+ // })
125
+
126
+ // app.all('/rs/*', function (req, res) {
127
+ // proxy.web(req, res, {
128
+ // target: 'http://127.0.0.1:8081/ldap'
129
+ // })
130
+ // })
131
+ // app.all('/excel/*', function (req, res) {
132
+ // proxy.web(req, res, {
133
+ // target: 'http://127.0.0.1:8081/charge'
134
+ // })
135
+ // })
136
+
137
+ // app.all('/rs/*', function (req, res) {
138
+ // proxy.web(req, res, {
139
+ // target: 'http://127.0.0.1:82/charge'
140
+ // })
141
+ // })
142
+
143
+ // app.all('/*', function (req, res) {
144
+ // proxy.web(req, res, {
145
+ // target: 'http://127.0.0.1:82'
146
+ // })
147
+ // })
148
+ // app.all('/rs/user', function (req, res) {
149
+ // proxy.web(req, res, {
150
+ // target: 'http://127.0.0.1:82'
151
+ // })
152
+ // })
153
+
154
+ module.exports = app.listen(8085, function (err) {
155
+ if (err) {
156
+ console.log(err)
157
+ return
158
+ }
159
+ console.log('Listening at http://localhost:8085')
160
+ })
package/build.gradle CHANGED
@@ -5,7 +5,7 @@ buildscript {
5
5
  }
6
6
  }
7
7
 
8
- version = '3.1.0-16'
8
+ version = '3.1.0-17'
9
9
  apply plugin: 'java'
10
10
  task release(type:Exec) {
11
11
  workingDir '.'
package/package.json CHANGED
@@ -1,12 +1,15 @@
1
1
  {
2
2
  "name": "manage-client",
3
- "version": "3.1.1-1",
3
+ "version": "3.1.1-10-fx",
4
4
  "description": "经营管控模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "directories": {
7
7
  "test": "test"
8
8
  },
9
- "dependencies": {},
9
+ "dependencies": {
10
+ "crypto-js": "4.1.1",
11
+ "swiper": "^5.4.5"
12
+ },
10
13
  "devDependencies": {
11
14
  "babel-core": "^6.0.0",
12
15
  "babel-loader": "^6.0.0",
@@ -52,6 +55,7 @@
52
55
  "mkdirp": "^0.5.1",
53
56
  "mocha": "^3.2.0",
54
57
  "vue-amap": "0.5.10",
58
+ "jsencrypt": "3.0.0-rc.1",
55
59
  "ncp": "^2.0.0",
56
60
  "rimraf": "^2.5.0",
57
61
  "sale-client": "3.1.0-22",
@@ -61,11 +65,11 @@
61
65
  "style": "0.0.3",
62
66
  "style-loader": "^0.20.3",
63
67
  "url-loader": "^0.5.7",
64
- "vue-client": "1.21.61",
68
+ "vue-client": "1.21.71",
65
69
  "vue-hot-reload-api": "^1.2.0",
66
70
  "vue-html-loader": "^1.0.0",
67
71
  "vue-loader": "8.2.1",
68
- "system-clients": "3.0.31",
72
+ "system-clients": "3.0.41",
69
73
  "vue-resource": "^1.5.0",
70
74
  "vue-router": "^0.7.13",
71
75
  "vue-strap": "^1.0.9",
@@ -1,88 +1,91 @@
1
- <template>
2
- <!-- <div v-if="listpage">-->
3
- <tab-button v-ref:list class="foot_tabset">
4
- <tabs header="收费查询">
5
- <charge-query @deal-msg="dealMsg"></charge-query>
6
- </tabs>
7
- <tabs header="换表查询">
8
- <change-meter-query v-if="show[1]" @deal-msg="dealMsg"></change-meter-query>
9
- </tabs>
10
- <tabs header="抄表查询">
11
- <handplan-query v-if="show[2]" @deal-msg="dealMsg"></handplan-query>
12
- </tabs>
13
- <tabs header="过户查询">
14
- <transfer-query v-if="show[3]" @deal-msg="dealMsg"></transfer-query>
15
- </tabs>
16
- <tabs header="其他收费查询">
17
- <other-charge-query v-if="show[4]" @deal-msg="dealMsg"></other-charge-query>
18
- </tabs>
19
- <tabs header="冲正查询">
20
- <reverse-query v-if="show[5]" @deal-msg="dealMsg"></reverse-query>
21
- </tabs>
22
- <tabs header="补卡查询">
23
- <fill-card-query v-if="show[6]" @deal-msg="dealMsg"></fill-card-query>
24
- </tabs>
25
- <tabs header="补气查询">
26
- <fill-gas-query v-if="show[7]" @deal-msg="dealMsg"></fill-gas-query>
27
- </tabs>
28
- <tabs header="收费抄表">
29
- <selling-hand v-if="show[8]" @deal-msg="dealMsg"></selling-hand>
30
- </tabs>
31
- <tabs header="启用查询">
32
- <enable-query v-if="show[9]" @deal-msg="dealMsg"></enable-query>
33
- </tabs>
34
- <tabs header="停用查询">
35
- <disable-query v-if="show[10]" @deal-msg="dealMsg"></disable-query>
36
- </tabs>
37
- </tab-button>
38
- <!-- </div>-->
39
- <!-- <div v-if="!listpage">-->
40
- <!-- <meter-info-manage :row="rowData" :f_start_date="f_start_date" :f_end_date="f_end_date"></meter-info-manage>-->
41
- <!-- </div>-->
42
- </template>
43
-
44
- <script>
45
- import TabButton from "../common/TabButton";
46
- import Tabs from "../common/Tabs";
47
- import ChargeQuery from "./ChargeQuery";
48
-
49
- export default {
50
- name: "BusinessQuery",
51
- title: '业务查询',
52
- data() {
53
- return {// 页面开关
54
- f_start_date:'',
55
- f_end_date:'',
56
- listpage: true,
57
- width: {
58
- left: '100%',
59
- right: '0%'
60
- },
61
- // searchNumber:'',
62
- rowData: {},
63
- show: [true]
64
- }
65
- },
66
- components: {Tabs, TabButton,ChargeQuery },
67
- ready(){
68
- console.log(this.$refs.list)
69
- console.log('业务查询')
70
- },
71
- methods: {
72
- cancel (obj) {
73
- this.listpage = true
74
- },
75
- dealMsg(obj) {
76
- this.rowData = obj
77
- this.listpage = false
78
- console.log(obj.model)
79
- this.f_start_date = obj.model.startDate
80
- this.f_end_date = obj.model.endDate
81
- },
82
- },
83
- }
84
- </script>
85
-
86
- <style scoped>
87
-
88
- </style>
1
+ <template>
2
+ <!-- <div v-if="listpage">-->
3
+ <tab-button v-ref:list class="foot_tabset">
4
+ <tabs header="收费查询">
5
+ <charge-query @deal-msg="dealMsg"></charge-query>
6
+ </tabs>
7
+ <tabs header="换表查询">
8
+ <change-meter-query v-if="show[1]" @deal-msg="dealMsg"></change-meter-query>
9
+ </tabs>
10
+ <tabs header="抄表查询">
11
+ <handplan-query v-if="show[2]" @deal-msg="dealMsg"></handplan-query>
12
+ </tabs>
13
+ <tabs header="过户查询">
14
+ <transfer-query v-if="show[3]" @deal-msg="dealMsg"></transfer-query>
15
+ </tabs>
16
+ <tabs header="其他收费查询">
17
+ <other-charge-query v-if="show[4]" @deal-msg="dealMsg"></other-charge-query>
18
+ </tabs>
19
+ <tabs header="冲正查询">
20
+ <reverse-query v-if="show[5]" @deal-msg="dealMsg"></reverse-query>
21
+ </tabs>
22
+ <tabs header="补卡查询">
23
+ <fill-card-query v-if="show[6]" @deal-msg="dealMsg"></fill-card-query>
24
+ </tabs>
25
+ <tabs header="补气查询">
26
+ <fill-gas-query v-if="show[7]" @deal-msg="dealMsg"></fill-gas-query>
27
+ </tabs>
28
+ <tabs header="收费抄表">
29
+ <selling-hand v-if="show[8]" @deal-msg="dealMsg"></selling-hand>
30
+ </tabs>
31
+ <tabs header="启用查询">
32
+ <enable-query v-if="show[9]" @deal-msg="dealMsg"></enable-query>
33
+ </tabs>
34
+ <tabs header="停用查询">
35
+ <disable-query v-if="show[10]" @deal-msg="dealMsg"></disable-query>
36
+ </tabs>
37
+ <tabs header="开户查询">
38
+ <new-account-query v-if="show[11]" @deal-msg="dealMsg"></new-account-query>
39
+ </tabs>
40
+ </tab-button>
41
+ <!-- </div>-->
42
+ <!-- <div v-if="!listpage">-->
43
+ <!-- <meter-info-manage :row="rowData" :f_start_date="f_start_date" :f_end_date="f_end_date"></meter-info-manage>-->
44
+ <!-- </div>-->
45
+ </template>
46
+
47
+ <script>
48
+ import TabButton from "../common/TabButton";
49
+ import Tabs from "../common/Tabs";
50
+ import ChargeQuery from "./ChargeQuery";
51
+
52
+ export default {
53
+ name: "BusinessQuery",
54
+ title: '业务查询',
55
+ data() {
56
+ return {// 页面开关
57
+ f_start_date:'',
58
+ f_end_date:'',
59
+ listpage: true,
60
+ width: {
61
+ left: '100%',
62
+ right: '0%'
63
+ },
64
+ // searchNumber:'',
65
+ rowData: {},
66
+ show: [true]
67
+ }
68
+ },
69
+ components: {Tabs, TabButton,ChargeQuery },
70
+ ready(){
71
+ console.log(this.$refs.list)
72
+ console.log('业务查询')
73
+ },
74
+ methods: {
75
+ cancel (obj) {
76
+ this.listpage = true
77
+ },
78
+ dealMsg(obj) {
79
+ this.rowData = obj
80
+ this.listpage = false
81
+ console.log(obj.model)
82
+ this.f_start_date = obj.model.startDate
83
+ this.f_end_date = obj.model.endDate
84
+ },
85
+ },
86
+ }
87
+ </script>
88
+
89
+ <style scoped>
90
+
91
+ </style>