manage-client 3.2.190 → 3.2.192
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 -190
- package/package.json +1 -1
- package/src/components/SellReport/ManageBusSummary.vue +103 -103
- package/src/components/SellReport/ManageBusSummarys.vue +290 -0
- package/src/components/webmeter/WebmeterQuery.vue +4 -1
- package/src/components/webmeter/instruction/NewQueryInstructHistory.vue +459 -0
- package/src/components/webmeter/instruction/NewQueryInstructMainHistory.vue +49 -0
- package/src/components/webmeter/newwebmeter/NewException/MeterExceptionList.vue +1 -1
- package/src/filiale/gehua/GasStatistics.vue +11 -0
- package/src/main.js +66 -66
- package/src/reportManage.js +4 -0
- package/src/webmeterManage.js +1 -0
package/build/dev-server.js
CHANGED
|
@@ -1,190 +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 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': {
|
|
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
|
-
})
|
|
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://219.138.226.181:8401'
|
|
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': {
|
|
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
|
@@ -67,12 +67,12 @@
|
|
|
67
67
|
close-on-select></v-select>
|
|
68
68
|
</div>
|
|
69
69
|
<!--<div class="col-sm-2 form-group">-->
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
70
|
+
<!--<label class="font_normal_body">收费状态</label>-->
|
|
71
|
+
<!--<v-select :value.sync="$parent.$parent.f_state" multiple-->
|
|
72
|
+
<!--v-model="$parent.$parent.f_state"-->
|
|
73
|
+
<!--:options='$parent.$parent.charge_state' placeholder='请选择'-->
|
|
74
|
+
<!--condition="f_state in {}"-->
|
|
75
|
+
<!--close-on-select></v-select>-->
|
|
76
76
|
<!--</div>-->
|
|
77
77
|
</div>
|
|
78
78
|
</div>
|
|
@@ -124,114 +124,114 @@
|
|
|
124
124
|
</template>
|
|
125
125
|
|
|
126
126
|
<script>
|
|
127
|
-
|
|
128
|
-
|
|
127
|
+
import { DataModel } from 'vue-client'
|
|
128
|
+
import co from 'co'
|
|
129
129
|
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
}
|
|
130
|
+
export default {
|
|
131
|
+
title: '收费结账报表',
|
|
132
|
+
props: ['data'],
|
|
133
|
+
data () {
|
|
134
|
+
return {
|
|
135
|
+
printTime: this.$login.toStandardTimeString(),
|
|
136
|
+
depresid: [],
|
|
137
|
+
userresid: [],
|
|
138
|
+
f_orgid: this.$login.f.orgid,
|
|
139
|
+
f_depid: this.$login.f.depids,
|
|
140
|
+
// f_operatorid: this.$login.f.id,
|
|
141
|
+
operatorid: [],
|
|
142
|
+
depid: [],
|
|
143
|
+
orgname: '',
|
|
144
|
+
depname: '',
|
|
145
|
+
criteriaShow: false,
|
|
146
|
+
operatorname: '',
|
|
147
|
+
orgCondtionStr: '1=1',
|
|
148
|
+
f_user_type: '',
|
|
149
|
+
f_state:['有效'],
|
|
150
|
+
model: new DataModel('rs/report/getmoneyall', {startDate: 'this.model.startDate', endDate: 'this.model.endDate',
|
|
151
|
+
f_orgid: 'this.model.f_orgid'}),
|
|
152
|
+
reportStr: null,
|
|
153
|
+
resshow:['company','department','operator'],
|
|
154
|
+
spans: 0,
|
|
155
|
+
initres: {
|
|
156
|
+
org: [this.$login.f.orgid],
|
|
157
|
+
dep: [],
|
|
158
|
+
user: []
|
|
160
159
|
}
|
|
160
|
+
}
|
|
161
|
+
},
|
|
162
|
+
ready () {
|
|
163
|
+
this.$refs.paged.$refs.criteria.model.startDate = this.$login.toStandardDateString() + ' 00:00:00'
|
|
164
|
+
this.$refs.paged.$refs.criteria.model.endDate = this.$login.toStandardDateString() + ' 23:59:59'
|
|
165
|
+
console.log(this.$login.f)
|
|
166
|
+
},
|
|
167
|
+
methods: {
|
|
168
|
+
searchData () {
|
|
169
|
+
this.$refs.paged.$refs.criteria.search()
|
|
161
170
|
},
|
|
162
|
-
|
|
163
|
-
this
|
|
164
|
-
|
|
165
|
-
|
|
171
|
+
selfSearch (args) {
|
|
172
|
+
this.printTime = this.$login.toStandardTimeString()
|
|
173
|
+
let orgcondition = '1=1'
|
|
174
|
+
let orgstr = this.orgCondtionStr
|
|
175
|
+
orgcondition = orgcondition + orgstr
|
|
176
|
+
console.log('23231312321:',this.f_user_type)
|
|
177
|
+
if(this.f_user_type && this.f_user_type[0]) {
|
|
178
|
+
orgcondition += ` and f_user_type = '${ this.f_user_type} '`
|
|
179
|
+
}
|
|
180
|
+
/* if (this.f_orgid && this.f_orgid[0]) {
|
|
181
|
+
orgcondition += ' and f_orgid in (' + this.f_orgid + ')'
|
|
182
|
+
}
|
|
183
|
+
if (this.f_depid && this.f_depid[0]) {
|
|
184
|
+
orgcondition += ' and f_depid in (' + this.f_depid + ')'
|
|
185
|
+
}
|
|
186
|
+
if(this.f_operatorid && this.f_operatorid[0]) {
|
|
187
|
+
orgcondition += ' and f_operatorid in (' + this.f_operatorid + ')'
|
|
188
|
+
}*/
|
|
189
|
+
this.$refs.paged.$refs.criteria.model.f_orgid = orgcondition
|
|
190
|
+
this.$refs.paged.search(args)
|
|
166
191
|
},
|
|
167
|
-
methods: {
|
|
168
|
-
searchData () {
|
|
169
|
-
this.$refs.paged.$refs.criteria.search()
|
|
170
|
-
},
|
|
171
|
-
selfSearch (args) {
|
|
172
|
-
this.printTime = this.$login.toStandardTimeString()
|
|
173
|
-
let orgcondition = '1=1'
|
|
174
|
-
let orgstr = this.orgCondtionStr
|
|
175
|
-
orgcondition = orgcondition + orgstr
|
|
176
|
-
console.log('23231312321:',this.f_user_type)
|
|
177
|
-
if(this.f_user_type && this.f_user_type[0]) {
|
|
178
|
-
orgcondition += ` and f_user_type = '${ this.f_user_type} '`
|
|
179
|
-
}
|
|
180
|
-
/* if (this.f_orgid && this.f_orgid[0]) {
|
|
181
|
-
orgcondition += ' and f_orgid in (' + this.f_orgid + ')'
|
|
182
|
-
}
|
|
183
|
-
if (this.f_depid && this.f_depid[0]) {
|
|
184
|
-
orgcondition += ' and f_depid in (' + this.f_depid + ')'
|
|
185
|
-
}
|
|
186
|
-
if(this.f_operatorid && this.f_operatorid[0]) {
|
|
187
|
-
orgcondition += ' and f_operatorid in (' + this.f_operatorid + ')'
|
|
188
|
-
}*/
|
|
189
|
-
this.$refs.paged.$refs.criteria.model.f_orgid = orgcondition
|
|
190
|
-
this.$refs.paged.search(args)
|
|
191
|
-
},
|
|
192
192
|
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
},
|
|
201
|
-
getdep (obj, val) {
|
|
202
|
-
this.depname = val[0]
|
|
203
|
-
this.userresid = obj
|
|
204
|
-
this.f_depid = obj
|
|
205
|
-
},
|
|
206
|
-
getuser ( obj, val) {
|
|
207
|
-
this.operatorname = val[0]
|
|
208
|
-
this.f_operatorid = obj
|
|
209
|
-
}
|
|
193
|
+
hidden() {
|
|
194
|
+
this.criteriaShow = !this.criteriaShow
|
|
195
|
+
},
|
|
196
|
+
getRes (condition, obj) {
|
|
197
|
+
this.orgCondtionStr = condition
|
|
198
|
+
this.orgname = obj.orgnames[0]
|
|
199
|
+
this.depname = obj.depnames[0]
|
|
210
200
|
},
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
201
|
+
getdep (obj, val) {
|
|
202
|
+
this.depname = val[0]
|
|
203
|
+
this.userresid = obj
|
|
204
|
+
this.f_depid = obj
|
|
205
|
+
},
|
|
206
|
+
getuser ( obj, val) {
|
|
207
|
+
this.operatorname = val[0]
|
|
208
|
+
this.f_operatorid = obj
|
|
209
|
+
}
|
|
210
|
+
},
|
|
211
|
+
watch: {
|
|
212
|
+
'model.data' (val) {
|
|
213
|
+
let len=0
|
|
214
|
+
let a=val.split('</tr>')
|
|
215
|
+
for(let i=0;i<a.length;i++){
|
|
216
|
+
if(a[i].split('</td>').length-1>len){
|
|
217
|
+
len=a[i].split('</td>').length-1
|
|
219
218
|
}
|
|
220
|
-
this.spans = len
|
|
221
219
|
}
|
|
220
|
+
this.spans = len
|
|
221
|
+
}
|
|
222
|
+
},
|
|
223
|
+
computed: {
|
|
224
|
+
charge_state() {
|
|
225
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('收费状态')]
|
|
222
226
|
},
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
return [{label: '全部', value: ''}, ...this.$appdata.getParam('收费状态')]
|
|
226
|
-
},
|
|
227
|
-
user_type () {
|
|
228
|
-
return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
|
|
229
|
-
}
|
|
227
|
+
user_type () {
|
|
228
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
|
|
230
229
|
}
|
|
231
230
|
}
|
|
231
|
+
}
|
|
232
232
|
</script>
|
|
233
233
|
<style scoped>
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
234
|
+
.noborder{
|
|
235
|
+
border: none;
|
|
236
|
+
}
|
|
237
237
|
</style>
|