manage-client 3.2.217 → 3.2.218

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 (28) hide show
  1. package/build/dev-server.js +179 -193
  2. package/manage_lib2022-12-01-14-30-50.zip +0 -0
  3. package/package.json +1 -1
  4. package/src/components/daping/CallCenter.vue +8 -8
  5. package/src/components/daping/DataManagement.vue +5 -7
  6. package/src/components/daping/ManageMain.vue +8 -4
  7. package/src/components/daping/SafecheckBarChart.vue +4 -4
  8. package/src/components/daping/json/dataManage.json +26 -0
  9. package/src/filiale/WEINAN/CancellationQuery.vue +526 -526
  10. package/src/filiale/WEINAN/ChargeQuery.vue +800 -800
  11. package/src/filiale/WEINAN/EnableQuery.vue +456 -456
  12. package/src/filiale/WEINAN/StatisticalAnalysis.vue +270 -270
  13. package/src/filiale/WEINAN/UserAddress.vue +655 -655
  14. package/src/filiale/WEINAN/UserAddressChange.vue +58 -58
  15. package/src/filiale/WEINAN/config/exportConfig.js +824 -824
  16. package/src/filiale/WEINAN/sale.js +54 -54
  17. package/src/main.js +66 -66
  18. package/.gradle/4.4/fileHashes/fileHashes.bin +0 -0
  19. package/.gradle/4.4/fileHashes/fileHashes.lock +0 -0
  20. package/.gradle/7.1/dependencies-accessors/dependencies-accessors.lock +0 -0
  21. package/.gradle/7.1/dependencies-accessors/gc.properties +0 -0
  22. package/.gradle/7.1/executionHistory/executionHistory.bin +0 -0
  23. package/.gradle/7.1/executionHistory/executionHistory.lock +0 -0
  24. package/.gradle/7.1/fileChanges/last-build.bin +0 -0
  25. package/.gradle/7.1/fileHashes/fileHashes.bin +0 -0
  26. package/.gradle/7.1/fileHashes/fileHashes.lock +0 -0
  27. package/.gradle/7.1/gc.properties +0 -0
  28. package/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
@@ -1,193 +1,179 @@
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:8089/manage', fuwu = 'http://36.103.224.217:6300/'
14
- var shaoguan = 'http://119.146.1.106:8300/'
15
- var qtx= 'http://36.103.222.144:6300/'
16
- // var bendi = 'http://220.194.141.253:8600/'
17
- // var bendi = 'http://203.57.101.233:9001'
18
- // var bendi = 'http://172.168.1.11:9001/'
19
- var bendi = 'http://172.168.1.11:8400/#'
20
- // var bendi = 'http://121.36.106.17:8400/'
21
- // var fuwu = 'http://203.57.101.233:9001'
22
- var system = 'http://192.168.50.4:8400'
23
- // 192.168.
24
- // var str = 'http://127.0.0.1:8080/manage', str2 = 'http://192.168.50.199:8300'
25
- // var str = 'http://192.168.10.233:8300', str2 = 'http://192.168.10.14:8300'
26
- var proxyTable = {
27
- '/rs/logic/exportfile': {
28
- target: bendi
29
- },
30
- // '/rs/sql/otherChargeQuery': {
31
- // target: 'http://localhost:8080/'
32
- // },
33
- // '/rs/sql/BusinessType': {
34
- // target: 'http://localhost:8080/'
35
- // },
36
- // '/rs/logic/getBatchOperaPro': {
37
- // target: 'http://localhost:8080/'
38
- // },
39
- // '/rs/customExport/areaChargeExportExcel': {
40
- // target: 'http://localhost:8080/'
41
- // },
42
- '/files': {
43
- target: bendi
44
- },
45
- // 查找资源服务数据
46
- '/rs/search': {
47
- target: bendi
48
- },
49
- // 查找资源服务数据
50
- '/rs/logic/getLogin': {
51
- target: bendi
52
- },
53
- // 查找资源服务数据
54
- '/rs/logic/getInitData': {
55
- target: bendi
56
- },
57
- '/rs/logic/getSaleInitData': {
58
- target: bendi
59
- },
60
- // 用户登录服务地址
61
- '/rs/user': {
62
- target: bendi
63
- },
64
- '/rs/path/getParams': {
65
- target: bendi
66
- },
67
- '/rs/data': {
68
- target: bendi
69
- },
70
- '/rs/license': {
71
- target: bendi
72
- },
73
- '/rs/db': {
74
- target: bendi
75
- },
76
- '/excel': {
77
- target: bendi
78
- },
79
- '/rs/config': {
80
- target: bendi
81
- },
82
- '/rs/sql/getLicenseById': {
83
- target: bendi
84
- },
85
- '/rs/report': {
86
- target: bendi
87
- },
88
- '/rs/vue': {
89
- target: bendi
90
- },
91
- '/rs/file': {
92
- target: bendi
93
- },
94
- '/rs/logic/SumSettleFileImport': {
95
- target: 'http://127.0.0.1:8080'
96
- },
97
- '/rs/sql/CancellationQuery': {
98
- target: 'http://127.0.0.1:8080'
99
- },
100
- '/rs': {
101
- target: bendi
102
- }
103
- }
104
-
105
- var devMiddleware = require('webpack-dev-middleware')(compiler, {
106
- publicPath: config.output.publicPath,
107
- stats: {
108
- colors: true,
109
- chunks: false
110
- }
111
- })
112
-
113
- var hotMiddleware = require('webpack-hot-middleware')(compiler)
114
- // force page reload when html-webpack-plugin template changes
115
- compiler.plugin('compilation', function (compilation) {
116
- compilation.plugin('html-webpack-plugin-after-emit', function (data, cb) {
117
- hotMiddleware.publish({action: 'reload'})
118
- cb()
119
- })
120
- })
121
-
122
- // proxy api requests
123
- Object.keys(proxyTable).forEach(function (context) {
124
- var options = proxyTable[context]
125
- if (typeof options === 'string') {
126
- options = {target: options}
127
- }
128
- app.use(proxyMiddleware(context, options))
129
- })
130
-
131
- // handle fallback for HTML5 history API
132
- app.use(require('connect-history-api-fallback')())
133
- // app.use(function (req, res, next) {
134
- // res.header('Access-Control-Allow-Origin', '*')
135
- // res.header('Access-Control-Allow-Headers', 'X-Requested-With')
136
- // res.header('Access-Control-Allow-Methods', 'PUT, POST, GET,DELETE, OPTIONS')
137
- // res.header('X-Powered-By', '3,2,1')
138
- // res.header('Access-Control-Allow-Credentials', 'true')
139
- // res.header('Content-Type', 'application/json;charset=utf-8')
140
- // next()
141
- // })
142
-
143
- // serve webpack bundle output
144
- app.use(devMiddleware)
145
-
146
- // enable hot-reload and state-preserving
147
- // compilation error display
148
- app.use(hotMiddleware)
149
-
150
- // serve pure static assets
151
- app.use('/static', express.static('./static'))
152
-
153
- // app.all('/rs/*', function (req, res) {
154
- // proxy.web(req, res, {
155
- // target: 'http://127.0.0.1:8081/reports'
156
- // })
157
- // })
158
-
159
- // app.all('/rs/*', function (req, res) {
160
- // proxy.web(req, res, {
161
- // target: 'http://127.0.0.1:8081/ldap'
162
- // })
163
- // })
164
- // app.all('/excel/*', function (req, res) {
165
- // proxy.web(req, res, {
166
- // target: 'http://127.0.0.1:8081/charge'
167
- // })
168
- // })
169
-
170
- // app.all('/rs/*', function (req, res) {
171
- // proxy.web(req, res, {
172
- // target: 'http://127.0.0.1:82/charge'
173
- // })
174
- // })
175
-
176
- // app.all('/*', function (req, res) {
177
- // proxy.web(req, res, {
178
- // target: 'http://127.0.0.1:82'
179
- // })
180
- // })
181
- // app.all('/rs/user', function (req, res) {
182
- // proxy.web(req, res, {
183
- // target: 'http://127.0.0.1:82'
184
- // })
185
- // })
186
-
187
- module.exports = app.listen(8015, function (err) {
188
- if (err) {
189
- console.log(err)
190
- return
191
- }
192
- console.log('Listening at http://localhost:8085')
193
- })
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:8089/manage', fuwu = 'http://36.103.224.217:6300/'
14
+ var shaoguan = 'http://119.146.1.106:8300/'
15
+ var qtx= 'http://36.103.222.144:6300/'
16
+ // var bendi = 'http://220.194.141.253:8600/'
17
+ // var bendi = 'http://203.57.101.233:9001'
18
+ // var bendi = 'http://172.168.1.11:9001/'
19
+ // var bendi = 'http://203.57.101.233:8400/'
20
+ // var bendi = 'http://121.36.106.17:8400/'
21
+ // var fuwu = 'http://203.57.101.233:9001'
22
+ // var bendi = 'http://192.168.50.4:8400'
23
+ var bendi = 'http://119.187.112.234:8400/'
24
+ // 192.168.
25
+ // var str = 'http://127.0.0.1:8080/manage', str2 = 'http://192.168.50.199:8300'
26
+ // var str = 'http://192.168.10.233:8300', str2 = 'http://192.168.10.14:8300'
27
+ var proxyTable = {
28
+ '/rs/logic/exportfile': {
29
+ target: bendi
30
+ },
31
+ '/files': {
32
+ target: bendi
33
+ },
34
+ // 查找资源服务数据
35
+ '/rs/search': {
36
+ target: bendi
37
+ },
38
+ // 查找资源服务数据
39
+ '/rs/logic/getLogin': {
40
+ target: bendi
41
+ },
42
+ // 查找资源服务数据
43
+ '/rs/logic/getInitData': {
44
+ target: bendi
45
+ },
46
+ '/rs/logic/getSaleInitData': {
47
+ target: bendi
48
+ },
49
+ // 用户登录服务地址
50
+ '/rs/user': {
51
+ target: bendi
52
+ },
53
+ '/rs/path/getParams': {
54
+ target: bendi
55
+ },
56
+ '/rs/data': {
57
+ target: bendi
58
+ },
59
+ '/rs/license': {
60
+ target: bendi
61
+ },
62
+ '/rs/db': {
63
+ target: bendi
64
+ },
65
+ '/excel': {
66
+ target: bendi
67
+ },
68
+ '/rs/config': {
69
+ target: bendi
70
+ },
71
+ '/rs/sql/getLicenseById': {
72
+ target: bendi
73
+ },
74
+ '/rs/report': {
75
+ target: bendi
76
+ },
77
+ '/rs/vue': {
78
+ target: bendi
79
+ },
80
+ '/rs/file': {
81
+ target: bendi
82
+ },
83
+ '/rs/logic/SumSettleFileImport': {
84
+ target: 'http://127.0.0.1:8080'
85
+ },
86
+ '/rs': {
87
+ target: bendi
88
+ }
89
+ }
90
+
91
+ var devMiddleware = require('webpack-dev-middleware')(compiler, {
92
+ publicPath: config.output.publicPath,
93
+ stats: {
94
+ colors: true,
95
+ chunks: false
96
+ }
97
+ })
98
+
99
+ var hotMiddleware = require('webpack-hot-middleware')(compiler)
100
+ // force page reload when html-webpack-plugin template changes
101
+ compiler.plugin('compilation', function (compilation) {
102
+ compilation.plugin('html-webpack-plugin-after-emit', function (data, cb) {
103
+ hotMiddleware.publish({action: 'reload'})
104
+ cb()
105
+ })
106
+ })
107
+
108
+ // proxy api requests
109
+ Object.keys(proxyTable).forEach(function (context) {
110
+ var options = proxyTable[context]
111
+ if (typeof options === 'string') {
112
+ options = {target: options}
113
+ }
114
+ app.use(proxyMiddleware(context, options))
115
+ })
116
+
117
+ // handle fallback for HTML5 history API
118
+ app.use(require('connect-history-api-fallback')())
119
+ // app.use(function (req, res, next) {
120
+ // res.header('Access-Control-Allow-Origin', '*')
121
+ // res.header('Access-Control-Allow-Headers', 'X-Requested-With')
122
+ // res.header('Access-Control-Allow-Methods', 'PUT, POST, GET,DELETE, OPTIONS')
123
+ // res.header('X-Powered-By', '3,2,1')
124
+ // res.header('Access-Control-Allow-Credentials', 'true')
125
+ // res.header('Content-Type', 'application/json;charset=utf-8')
126
+ // next()
127
+ // })
128
+
129
+ // serve webpack bundle output
130
+ app.use(devMiddleware)
131
+
132
+ // enable hot-reload and state-preserving
133
+ // compilation error display
134
+ app.use(hotMiddleware)
135
+
136
+ // serve pure static assets
137
+ app.use('/static', express.static('./static'))
138
+
139
+ // app.all('/rs/*', function (req, res) {
140
+ // proxy.web(req, res, {
141
+ // target: 'http://127.0.0.1:8081/reports'
142
+ // })
143
+ // })
144
+
145
+ // app.all('/rs/*', function (req, res) {
146
+ // proxy.web(req, res, {
147
+ // target: 'http://127.0.0.1:8081/ldap'
148
+ // })
149
+ // })
150
+ // app.all('/excel/*', function (req, res) {
151
+ // proxy.web(req, res, {
152
+ // target: 'http://127.0.0.1:8081/charge'
153
+ // })
154
+ // })
155
+
156
+ // app.all('/rs/*', function (req, res) {
157
+ // proxy.web(req, res, {
158
+ // target: 'http://127.0.0.1:82/charge'
159
+ // })
160
+ // })
161
+
162
+ // app.all('/*', function (req, res) {
163
+ // proxy.web(req, res, {
164
+ // target: 'http://127.0.0.1:82'
165
+ // })
166
+ // })
167
+ // app.all('/rs/user', function (req, res) {
168
+ // proxy.web(req, res, {
169
+ // target: 'http://127.0.0.1:82'
170
+ // })
171
+ // })
172
+
173
+ module.exports = app.listen(8015, function (err) {
174
+ if (err) {
175
+ console.log(err)
176
+ return
177
+ }
178
+ console.log('Listening at http://localhost:8015')
179
+ })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "manage-client",
3
- "version": "3.2.217",
3
+ "version": "3.2.218",
4
4
  "description": "经营管控模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -84,7 +84,7 @@
84
84
 
85
85
  <script>
86
86
  import {HttpResetClass} from "vue-client";
87
- import dataManage from './json/dataManage.json'
87
+ // import this.datamanage from './json/this.datamanage.json'
88
88
  export default {
89
89
  title: '收费',
90
90
  data() {
@@ -114,21 +114,21 @@
114
114
  let load1 = new HttpResetClass()
115
115
  let load2 = new HttpResetClass()
116
116
  let load3 = new HttpResetClass()
117
- if(!dataManage.callData){
117
+ if(!this.datamanage.callData){
118
118
  load1.load('POST', 'rs/sql/getCallSum', {data: {}}, {rejectMsg: null, resolveMsg: null}).then((res) => {
119
119
  this.callData = res.data[0]
120
120
  })
121
121
  } else {
122
- this.callData = dataManage.callData
122
+ this.callData = this.datamanage.callData
123
123
  }
124
- if (!dataManage.callSum) {
124
+ if (!this.datamanage.callSum) {
125
125
  load2.load('POST', 'rs/sql/getCallSumCompare', {data: {}}, {rejectMsg: null, resolveMsg: null}).then((rea) => {
126
126
  this.arrs = rea.data
127
127
  })
128
128
  } else {
129
- this.arrs = dataManage.callSum
129
+ this.arrs = this.datamanage.callSum
130
130
  }
131
- if (!dataManage.callSumByUnit) {
131
+ if (!this.datamanage.callSumByUnit) {
132
132
  load3.load('POST', 'rs/sql/getCallSumByUnit', {data: {}}, {rejectMsg: null, resolveMsg: null}).then((ret) => {
133
133
  this.items = []// ret.data
134
134
  this.items = ret.data
@@ -137,11 +137,11 @@
137
137
  this.items.push(ret.data.filter((item) => item.name === "海勃湾")[0])
138
138
  })
139
139
  } else {
140
- this.items = dataManage.callSumByUnit
140
+ this.items = this.datamanage.callSumByUnit
141
141
  }
142
142
 
143
143
  },
144
- props: {}
144
+ props: ['datamanage']
145
145
  }
146
146
  </script>
147
147
  <style scoped>
@@ -19,7 +19,6 @@
19
19
  <div class="flex-inline col-sm-6 auto" >
20
20
  <span class="normal-font" >三年未入户总数</span>
21
21
  </div>
22
-
23
22
  <div class="flex-inline col-sm-6 auto" >
24
23
  <span class="normal-font" >计划安检量</span>
25
24
  </div>
@@ -29,7 +28,7 @@
29
28
  <!--</div>-->
30
29
  </div>
31
30
  <div style="height: 58%">
32
- <safe-check-wh></safe-check-wh>
31
+ <safe-check-wh :datamanage="datamanage"></safe-check-wh>
33
32
  </div>
34
33
  </div>
35
34
 
@@ -74,7 +73,7 @@
74
73
  </div>
75
74
  </div>
76
75
  <div class="flex background-left-bottom" style="height: 100%;width: 49%;margin-left:1%">
77
- <qh-call-center></qh-call-center>
76
+ <qh-call-center :datamanage="datamanage"></qh-call-center>
78
77
  </div>
79
78
  </div>
80
79
 
@@ -84,7 +83,6 @@
84
83
 
85
84
  <script>
86
85
  import {HttpResetClass} from 'vue-client'
87
- import dataManage from './json/dataManage.json'
88
86
  export default {
89
87
  title: '数据展示',
90
88
  data() {
@@ -116,13 +114,13 @@ export default {
116
114
  console.log('穿过来的值')
117
115
  this.changeshow = !this.changeshow
118
116
  console.log(this.changeshow)
119
- if(!dataManage.checkData){
117
+ if(!this.datamange.checkData){
120
118
  let http = new HttpResetClass()
121
119
  await http.load('post', '/rs/sql/getCheckSum', {data:{}}, {rejectMsg: null, resolveMsg: null}).then((res)=>{
122
120
  this.checkData = res.data[0]
123
121
  })
124
122
  } else {
125
- this.checkData = dataManage.checkData
123
+ this.checkData = this.datamange.checkData
126
124
 
127
125
  }
128
126
 
@@ -273,7 +271,7 @@ export default {
273
271
 
274
272
  },
275
273
 
276
- props: ['changeshow'],
274
+ props: ['changeshow','datamanage'],
277
275
  computed: {
278
276
  top() {
279
277
  console.log('ssss')
@@ -12,8 +12,8 @@
12
12
 
13
13
  录入</span>
14
14
  </div>
15
- <div style="height: 93%;">
16
- <qh-data-management :changeshow=showChart2></qh-data-management>
15
+ <div style="height: 93%;" v-if="show">
16
+ <qh-data-management :changeshow=showChart2 :datamanage="datamanage"></qh-data-management>
17
17
  </div>
18
18
 
19
19
 
@@ -62,7 +62,9 @@
62
62
  title: '收费',
63
63
  data() {
64
64
  return{
65
+ datamanage:{},
65
66
  sumnum:0,
67
+ show: false,
66
68
  showChart1 : true,
67
69
  showChart2 : false,
68
70
  }
@@ -80,8 +82,10 @@
80
82
  },
81
83
  ready () {
82
84
  let http = new HttpResetClass()
83
- http.load('post', '/rs/sql/getSafecheckSum', {data:{}}, {rejectMsg: null, resolveMsg: null}).then((res)=>{
84
- this.sumnum = (res.data[0].value/10000).toFixed(2)
85
+ http.load('get', '/dataManage.json', {data:{}}, {rejectMsg: null, resolveMsg: null}).then((res)=>{
86
+ console.log(res.data)
87
+ this.datamanage = res.data
88
+ this.show = true
85
89
  })
86
90
  },
87
91
  props: {}
@@ -5,7 +5,7 @@
5
5
 
6
6
  <script>
7
7
  import {HttpResetClass} from "vue-client";
8
- import dataManage from './json/dataManage.json'
8
+ // import this.datamanage from './json/this.datamanage.json'
9
9
  export default {
10
10
  title: '收费',
11
11
  data() {
@@ -17,7 +17,7 @@
17
17
  },
18
18
  methods: {
19
19
  async resize(){
20
- if(!dataManage.checkByMonth){
20
+ if(!this.datamanage.checkByMonth){
21
21
  let http = new HttpResetClass()
22
22
  // 收费
23
23
  await http.load('post', '/rs/sql/getSafecheckSumByMonth', {data:{}}, {rejectMsg: null, resolveMsg: null}).then((res)=>{
@@ -27,7 +27,7 @@
27
27
  this.init()
28
28
  })
29
29
  }else{
30
- let res = dataManage.checkByMonth
30
+ let res = this.datamanage.checkByMonth
31
31
  this.xData = res.map(item => item.time)
32
32
  this.yData1 = res.map(item => item.allnum)
33
33
  this.yData2 = res.map(item => item.sucnum)
@@ -231,7 +231,7 @@
231
231
  ready() {
232
232
  this.resize()
233
233
  },
234
- props: {}
234
+ props: ['datamanage']
235
235
  }
236
236
  </script>
237
237
  <style scoped>
@@ -1,3 +1,29 @@
1
1
  {
2
+ "checkData":{
3
+ "wrhsum":1021,
4
+ "jhsum":82665
5
+ },
6
+ "checkByMonth":[
7
+ {"sucnum":6921,"time":"2022-08","allnum":7000},
8
+ {"sucnum":6187,"time":"2022-09","allnum":6200},
9
+ {"sucnum":5985,"time":"2022-10","allnum":6100},
10
+ {"sucnum":5783,"time":"2022-11","allnum":5900},
11
+ {"sucnum":6174,"time":"2022-12","allnum":6300},
12
+ {"sucnum":6712 ,"time":"2023-01","allnum":6800 }
2
13
 
14
+ ],
15
+ "callData":{
16
+ "yearamount":12101,
17
+ "sumsend":2453,
18
+ "dayamount":12101,
19
+ "sumwmm":2397
20
+ },
21
+ "callSum":[
22
+ {"lastyear":100,"addvalue":10,"year":118,"name":"昨日呼入量"},
23
+ {"lastyear":56,"addvalue":3,"year":70,"name":"昨日派单量"}
24
+ ],
25
+ "callSumByUnit":[
26
+ {"value":100,"addvalue":99,"name":"昨日呼入量"},
27
+ {"value":56,"addvalue":98,"name":"昨日派单量"}
28
+ ]
3
29
  }