manage-client 3.2.209 → 3.2.210
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.
- package/build/dev-server.js +190 -193
- package/package.json +1 -1
- package/src/filiale/WEINAN/CancellationQuery.vue +44 -2
- package/src/filiale/WEINAN/UserAddress.vue +655 -0
- package/src/filiale/WEINAN/UserAddressChange.vue +58 -0
- package/src/filiale/WEINAN/sale.js +5 -1
- package/src/filiale/qianneng/OtherChargeQuery.vue +10 -1
- package/src/filiale/qianneng/WebHandplanQuery.vue +1051 -0
- package/src/filiale/qianneng/WebmeterQuery.vue +70 -0
- package/src/filiale/qianneng/exportConfig.js +10 -1
- package/src/filiale/qianneng/webmeterManage.js +4 -1
- package/src/filiale/rizhao/ChargeQuery.vue +3 -3
- package/src/filiale/shangluo/UserQuery.vue +932 -0
- package/src/filiale/shangluo/sale.js +11 -0
- package/src/filiale/shanxian/InspectListUserNew.vue +466 -0
- package/src/filiale/shanxian/InspectManage.vue +50 -0
- package/src/filiale/shanxian/sale.js +3 -1
package/build/dev-server.js
CHANGED
|
@@ -1,193 +1,190 @@
|
|
|
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://
|
|
20
|
-
// var bendi = 'http://121.36.106.17:8400/'
|
|
21
|
-
// var fuwu = 'http://203.57.101.233:9001'
|
|
22
|
-
var
|
|
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
|
-
'/
|
|
28
|
-
target:
|
|
29
|
-
},
|
|
30
|
-
'/rs/
|
|
31
|
-
target:
|
|
32
|
-
},
|
|
33
|
-
// '/rs/sql/
|
|
34
|
-
// target: 'http://localhost:8080/'
|
|
35
|
-
// },
|
|
36
|
-
// '/rs/
|
|
37
|
-
// target: 'http://localhost:8080/'
|
|
38
|
-
// },
|
|
39
|
-
// '/rs/
|
|
40
|
-
// target: 'http://localhost:8080/'
|
|
41
|
-
// },
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
'/rs/logic/
|
|
58
|
-
target: bendi
|
|
59
|
-
},
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
'/rs/
|
|
65
|
-
target: bendi
|
|
66
|
-
},
|
|
67
|
-
'/rs/
|
|
68
|
-
target: bendi
|
|
69
|
-
},
|
|
70
|
-
'/rs/
|
|
71
|
-
target: bendi
|
|
72
|
-
},
|
|
73
|
-
'/rs/
|
|
74
|
-
target: bendi
|
|
75
|
-
},
|
|
76
|
-
'/
|
|
77
|
-
target: bendi
|
|
78
|
-
},
|
|
79
|
-
'/
|
|
80
|
-
target: bendi
|
|
81
|
-
},
|
|
82
|
-
'/rs/
|
|
83
|
-
target: bendi
|
|
84
|
-
},
|
|
85
|
-
'/rs/
|
|
86
|
-
target: bendi
|
|
87
|
-
},
|
|
88
|
-
'/rs/
|
|
89
|
-
target: bendi
|
|
90
|
-
},
|
|
91
|
-
'/rs/
|
|
92
|
-
target: bendi
|
|
93
|
-
},
|
|
94
|
-
'/rs/
|
|
95
|
-
target:
|
|
96
|
-
},
|
|
97
|
-
'/rs
|
|
98
|
-
target:
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
//
|
|
132
|
-
|
|
133
|
-
//
|
|
134
|
-
// res.header('
|
|
135
|
-
// res.header('Access-Control-Allow-
|
|
136
|
-
// res.header('
|
|
137
|
-
//
|
|
138
|
-
//
|
|
139
|
-
|
|
140
|
-
//
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
//
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
//
|
|
148
|
-
app.use(
|
|
149
|
-
|
|
150
|
-
//
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
//
|
|
154
|
-
//
|
|
155
|
-
|
|
156
|
-
//
|
|
157
|
-
//
|
|
158
|
-
|
|
159
|
-
//
|
|
160
|
-
//
|
|
161
|
-
//
|
|
162
|
-
//
|
|
163
|
-
//
|
|
164
|
-
//
|
|
165
|
-
//
|
|
166
|
-
|
|
167
|
-
//
|
|
168
|
-
//
|
|
169
|
-
|
|
170
|
-
//
|
|
171
|
-
//
|
|
172
|
-
|
|
173
|
-
//
|
|
174
|
-
//
|
|
175
|
-
|
|
176
|
-
//
|
|
177
|
-
//
|
|
178
|
-
//
|
|
179
|
-
//
|
|
180
|
-
//
|
|
181
|
-
//
|
|
182
|
-
//
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
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
|
+
// 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/inspectListNew': {
|
|
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': {
|
|
98
|
+
target: bendi
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
var devMiddleware = require('webpack-dev-middleware')(compiler, {
|
|
103
|
+
publicPath: config.output.publicPath,
|
|
104
|
+
stats: {
|
|
105
|
+
colors: true,
|
|
106
|
+
chunks: false
|
|
107
|
+
}
|
|
108
|
+
})
|
|
109
|
+
|
|
110
|
+
var hotMiddleware = require('webpack-hot-middleware')(compiler)
|
|
111
|
+
// force page reload when html-webpack-plugin template changes
|
|
112
|
+
compiler.plugin('compilation', function (compilation) {
|
|
113
|
+
compilation.plugin('html-webpack-plugin-after-emit', function (data, cb) {
|
|
114
|
+
hotMiddleware.publish({action: 'reload'})
|
|
115
|
+
cb()
|
|
116
|
+
})
|
|
117
|
+
})
|
|
118
|
+
|
|
119
|
+
// proxy api requests
|
|
120
|
+
Object.keys(proxyTable).forEach(function (context) {
|
|
121
|
+
var options = proxyTable[context]
|
|
122
|
+
if (typeof options === 'string') {
|
|
123
|
+
options = {target: options}
|
|
124
|
+
}
|
|
125
|
+
app.use(proxyMiddleware(context, options))
|
|
126
|
+
})
|
|
127
|
+
|
|
128
|
+
// handle fallback for HTML5 history API
|
|
129
|
+
app.use(require('connect-history-api-fallback')())
|
|
130
|
+
// app.use(function (req, res, next) {
|
|
131
|
+
// res.header('Access-Control-Allow-Origin', '*')
|
|
132
|
+
// res.header('Access-Control-Allow-Headers', 'X-Requested-With')
|
|
133
|
+
// res.header('Access-Control-Allow-Methods', 'PUT, POST, GET,DELETE, OPTIONS')
|
|
134
|
+
// res.header('X-Powered-By', '3,2,1')
|
|
135
|
+
// res.header('Access-Control-Allow-Credentials', 'true')
|
|
136
|
+
// res.header('Content-Type', 'application/json;charset=utf-8')
|
|
137
|
+
// next()
|
|
138
|
+
// })
|
|
139
|
+
|
|
140
|
+
// serve webpack bundle output
|
|
141
|
+
app.use(devMiddleware)
|
|
142
|
+
|
|
143
|
+
// enable hot-reload and state-preserving
|
|
144
|
+
// compilation error display
|
|
145
|
+
app.use(hotMiddleware)
|
|
146
|
+
|
|
147
|
+
// serve pure static assets
|
|
148
|
+
app.use('/static', express.static('./static'))
|
|
149
|
+
|
|
150
|
+
// app.all('/rs/*', function (req, res) {
|
|
151
|
+
// proxy.web(req, res, {
|
|
152
|
+
// target: 'http://127.0.0.1:8081/reports'
|
|
153
|
+
// })
|
|
154
|
+
// })
|
|
155
|
+
|
|
156
|
+
// app.all('/rs/*', function (req, res) {
|
|
157
|
+
// proxy.web(req, res, {
|
|
158
|
+
// target: 'http://127.0.0.1:8081/ldap'
|
|
159
|
+
// })
|
|
160
|
+
// })
|
|
161
|
+
// app.all('/excel/*', function (req, res) {
|
|
162
|
+
// proxy.web(req, res, {
|
|
163
|
+
// target: 'http://127.0.0.1:8081/charge'
|
|
164
|
+
// })
|
|
165
|
+
// })
|
|
166
|
+
|
|
167
|
+
// app.all('/rs/*', function (req, res) {
|
|
168
|
+
// proxy.web(req, res, {
|
|
169
|
+
// target: 'http://127.0.0.1:82/charge'
|
|
170
|
+
// })
|
|
171
|
+
// })
|
|
172
|
+
|
|
173
|
+
// app.all('/*', function (req, res) {
|
|
174
|
+
// proxy.web(req, res, {
|
|
175
|
+
// target: 'http://127.0.0.1:82'
|
|
176
|
+
// })
|
|
177
|
+
// })
|
|
178
|
+
// app.all('/rs/user', function (req, res) {
|
|
179
|
+
// proxy.web(req, res, {
|
|
180
|
+
// target: 'http://127.0.0.1:82'
|
|
181
|
+
// })
|
|
182
|
+
// })
|
|
183
|
+
|
|
184
|
+
module.exports = app.listen(8015, function (err) {
|
|
185
|
+
if (err) {
|
|
186
|
+
console.log(err)
|
|
187
|
+
return
|
|
188
|
+
}
|
|
189
|
+
console.log('Listening at http://localhost:8085')
|
|
190
|
+
})
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div id="unit" class="flex-row">
|
|
3
|
-
<div class="basic-main" @keyup.enter="search">
|
|
3
|
+
<div :class="{'basic-main':!useraddressShow,'binary-left':useraddressShow}" @keyup.enter="search">
|
|
4
4
|
<div class="flex" v-if="!show">
|
|
5
5
|
|
|
6
6
|
<criteria-paged :model="model" v-ref:paged @sort="sort">
|
|
@@ -178,7 +178,7 @@
|
|
|
178
178
|
<nobr>{{row.f_orgname}}</nobr>
|
|
179
179
|
</td>
|
|
180
180
|
<td style="text-align: center;" v-if="row.f_state === '销户'&& row.num== 1">
|
|
181
|
-
<nobr><a href="#" @click="$parent.$parent.$parent.enable(row)">启用</a></nobr>
|
|
181
|
+
<nobr><a href="#" @click="$parent.$parent.$parent.enable(row)">启用</a> | <a href="#" @click="$parent.$parent.$parent.modifyAddress(row)">修改地址</a></nobr>
|
|
182
182
|
</td>
|
|
183
183
|
<td style="text-align: center;" v-else>
|
|
184
184
|
</td>
|
|
@@ -203,6 +203,13 @@
|
|
|
203
203
|
<user-info-detail-manage-new :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage-new>
|
|
204
204
|
</div>
|
|
205
205
|
</div>
|
|
206
|
+
<div class="binary-right" v-show="useraddressShow">
|
|
207
|
+
<div class="flex">
|
|
208
|
+
<user-address v-ref:useraddressmsg
|
|
209
|
+
:f_filialeids.sync="f_filialeids"></user-address>
|
|
210
|
+
|
|
211
|
+
<user-address-change v-if="addressId" :address_id="addressId"></user-address-change>
|
|
212
|
+
</div>
|
|
206
213
|
<modal :show.sync="showupload" v-if="showupload" width="80%" style="width:auto;" v-ref:modal middle backdrop="false">
|
|
207
214
|
<article slot="modal-body">
|
|
208
215
|
<upload :blodid="selected.f_userinfo_id" v-ref:upload isupload="false" takeimg="false" fusetype="销户" :isremark="false" style="width:auto" ></upload>
|
|
@@ -269,6 +276,9 @@
|
|
|
269
276
|
bodyData: ["f_userinfo_id", "f_user_name", "f_operator", "f_operate_date", "f_state", "f_comments", "f_sendsuccess"],
|
|
270
277
|
orgCondtionStr: '',
|
|
271
278
|
show:false,
|
|
279
|
+
f_filialeids: this.$login.f.orgid,
|
|
280
|
+
useraddressShow: false,
|
|
281
|
+
addressId: '',
|
|
272
282
|
rowdata:{},
|
|
273
283
|
enableData: {
|
|
274
284
|
f_reason: ''
|
|
@@ -310,6 +320,27 @@
|
|
|
310
320
|
})
|
|
311
321
|
},
|
|
312
322
|
methods: {
|
|
323
|
+
modifyAddress(obj) {
|
|
324
|
+
this.addressId=obj.addrid
|
|
325
|
+
this.useraddressShow=true
|
|
326
|
+
this.$refs.useraddressmsg.cleardara()
|
|
327
|
+
this.$refs.useraddressmsg.initdata()
|
|
328
|
+
this.$refs.useraddressmsg.usertype=obj.f_user_type
|
|
329
|
+
this.$refs.useraddressmsg.operation='modify'
|
|
330
|
+
this.$refs.useraddressmsg.onedata='one'
|
|
331
|
+
this.$refs.useraddressmsg.model=Object.assign({},this.$refs.useraddressmsg.model,obj)
|
|
332
|
+
if(obj.f_special=='1'){
|
|
333
|
+
this.$refs.useraddressmsg.usertype = true
|
|
334
|
+
}else{
|
|
335
|
+
this.$refs.useraddressmsg.usertype = false
|
|
336
|
+
}
|
|
337
|
+
if (obj.f_slice_area) {
|
|
338
|
+
this.$refs.useraddressmsg.model.slice_area = [{
|
|
339
|
+
name: this.$refs.useraddressmsg.model.f_slice_area,
|
|
340
|
+
code: this.$refs.useraddressmsg.model.f_area_code
|
|
341
|
+
}]
|
|
342
|
+
}
|
|
343
|
+
},
|
|
313
344
|
enable(row) {
|
|
314
345
|
Object.assign(this.enableData, row)
|
|
315
346
|
this.enbaleShow = true
|
|
@@ -481,6 +512,17 @@
|
|
|
481
512
|
getfield() {
|
|
482
513
|
return exportConfig.CancellationConfig
|
|
483
514
|
}
|
|
515
|
+
},
|
|
516
|
+
events: {
|
|
517
|
+
'cancel' () {
|
|
518
|
+
this.addressId=null
|
|
519
|
+
this.useraddressShow = false
|
|
520
|
+
},
|
|
521
|
+
'confirm' () {
|
|
522
|
+
this.addressId=null
|
|
523
|
+
this.useraddressShow = false
|
|
524
|
+
this.search()
|
|
525
|
+
},
|
|
484
526
|
}
|
|
485
527
|
}
|
|
486
528
|
</script>
|