manage-client 4.1.63 → 4.1.64-bfsy
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/.eslintrc.js +3 -1
- package/build/dev-server.js +99 -181
- package/package.json +2 -2
- package/src/components/SellReport/BrandGasPriceGroup.vue +179 -0
- package/src/components/SellReport/ManageFillGasQueryBeiFangShiYe.vue +180 -0
- package/src/filiale/bazhong/ReportDataQuery.vue +319 -319
- package/src/filiale/bazhong/config/DefaultPrint.js +6 -6
- package/src/filiale/bazhong/config/DefaultSelect.js +18 -18
- package/src/filiale/bazhong/config/exportConfig.js +2775 -2775
- package/src/filiale/bazhong/config/tableConfig.js +53 -53
- package/src/filiale/bazhong/webmeterManage.js +7 -7
- package/src/filiale/fugou/RecordInfoQuery.vue +4 -3
- package/src/filiale/shanxian/RecordInfoQuery.vue +1 -1
- package/src/filiale/shimen/UserQuery.vue +1008 -1008
- package/src/filiale/shimen/config/DefaultPrint.js +14 -14
- package/src/filiale/shimen/config/DefaultSelect.js +18 -18
- package/src/filiale/shimen/config/tableConfig.js +53 -53
- package/src/filiale/tongchuan/GasInspection.vue +756 -756
- package/src/filiale/xinjiangdexin/sale.js +2 -0
- package/src/filiale/yangchun/ArchivesManage.vue +89 -89
- package/src/main.js +15 -13
package/.eslintrc.js
CHANGED
|
@@ -15,6 +15,8 @@ module.exports = {
|
|
|
15
15
|
// allow debugger during development
|
|
16
16
|
'no-debugger': process.env.NODE_ENV === 'production' ? 2 : 0,
|
|
17
17
|
// 必须使用全等
|
|
18
|
-
'eqeqeq': 0
|
|
18
|
+
'eqeqeq': 0,
|
|
19
|
+
"import/no-unresolved": ["error", { "caseSensitive": true }],
|
|
20
|
+
"camelcase": "off"
|
|
19
21
|
}
|
|
20
22
|
}
|
package/build/dev-server.js
CHANGED
|
@@ -1,142 +1,108 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
// var httpProxy = require('http-proxy')
|
|
1
|
+
const express = require('express')
|
|
2
|
+
const webpack = require('webpack')
|
|
3
|
+
const config = require('./webpack.dev.conf')
|
|
4
|
+
const proxyMiddleware = require('http-proxy-middleware')
|
|
6
5
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
// var proxy = httpProxy.createProxyServer()
|
|
6
|
+
const app = express()
|
|
7
|
+
const compiler = webpack(config)
|
|
10
8
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
// '^/api/af-revenue': '/rs'
|
|
39
|
-
// },
|
|
40
|
-
// target: 'http://127.0.0.1:8080/'
|
|
41
|
-
// },
|
|
42
|
-
// '/api/af-revenue/sql/WeChatPayment': {
|
|
43
|
-
// pathRewrite: {
|
|
44
|
-
// '^/api/af-revenue': '/rs'
|
|
45
|
-
// },
|
|
46
|
-
// target: 'http://127.0.0.1:8080/'
|
|
47
|
-
// },
|
|
48
|
-
// '/api/af-revenue/sql/getGasInspection': {
|
|
49
|
-
// pathRewrite: {
|
|
50
|
-
// '^/api/af-revenue': '/rs'
|
|
51
|
-
// },
|
|
52
|
-
// target: 'http://127.0.0.1:8080/'
|
|
53
|
-
// },
|
|
54
|
-
// '/api/af-revenue/sql/inspectList_sellinggas': {
|
|
55
|
-
// pathRewrite: {
|
|
56
|
-
// '^/api/af-revenue': '/rs'
|
|
57
|
-
// },
|
|
58
|
-
// target: 'http://127.0.0.1:8080/'
|
|
59
|
-
// },
|
|
60
|
-
// '/api/af-revenue/sql/inspectList': {
|
|
61
|
-
// pathRewrite: {
|
|
62
|
-
// '^/api/af-revenue': '/rs'
|
|
63
|
-
// },
|
|
64
|
-
// target: 'http://127.0.0.1:8080/'
|
|
65
|
-
// },
|
|
66
|
-
// '/api': {
|
|
67
|
-
// target: 'http://123.57.3.66:31467/'
|
|
68
|
-
//
|
|
69
|
-
// },
|
|
70
|
-
// '/rs/sql/chargeQuery_by_gasproperties': {
|
|
71
|
-
// target: 'http://localhost:8084/'
|
|
72
|
-
// },
|
|
73
|
-
// '/rs/logic/chargeQuery_by_gasproperties_line': {
|
|
74
|
-
// target: 'http://localhost:8084/'
|
|
75
|
-
// },
|
|
76
|
-
// '/files': {
|
|
77
|
-
// target: bendi
|
|
78
|
-
// },
|
|
79
|
-
// // 查找资源服务数据
|
|
80
|
-
// '/rs/search': {
|
|
81
|
-
// target: 'http://123.57.3.66:31467/'
|
|
82
|
-
// },
|
|
83
|
-
// // 查找资源服务数据
|
|
84
|
-
// '/rs/logic/getLogin': {
|
|
85
|
-
// target: bendi
|
|
86
|
-
// },
|
|
87
|
-
// // 查找资源服务数据
|
|
88
|
-
// '/rs/logic/getInitData': {
|
|
89
|
-
// target: bendi
|
|
90
|
-
// },
|
|
91
|
-
// '/rs/logic/getSaleInitData': {
|
|
92
|
-
// target: bendi
|
|
93
|
-
// },
|
|
94
|
-
// // 用户登录服务地址
|
|
95
|
-
// '/rs/user': {
|
|
96
|
-
// target: bendi
|
|
97
|
-
// },
|
|
98
|
-
// '/rs/path/getParams': {
|
|
99
|
-
// target: bendi
|
|
100
|
-
// },
|
|
101
|
-
// '/rs/data': {
|
|
102
|
-
// target: bendi
|
|
103
|
-
// },
|
|
104
|
-
// '/rs/license': {
|
|
105
|
-
// target: bendi
|
|
106
|
-
// },
|
|
107
|
-
// '/rs/db': {
|
|
108
|
-
// target: bendi
|
|
109
|
-
// },
|
|
110
|
-
// '/excel': {
|
|
111
|
-
// target: bendi
|
|
112
|
-
// },
|
|
113
|
-
// '/rs/config': {
|
|
114
|
-
// target: bendi
|
|
115
|
-
// },
|
|
116
|
-
// '/rs/sql/getLicenseById': {
|
|
117
|
-
// target: bendi
|
|
118
|
-
// },
|
|
119
|
-
// '/rs/report': {
|
|
120
|
-
// target: bendi
|
|
121
|
-
// },
|
|
122
|
-
// '/rs/vue': {
|
|
123
|
-
// target: 'http://123.57.3.66:31467/'
|
|
124
|
-
// },
|
|
125
|
-
// '/rs/file': {
|
|
126
|
-
// target: bendi
|
|
127
|
-
// },
|
|
128
|
-
// '/rs/sql/singleTable': {
|
|
129
|
-
// target: bendi
|
|
130
|
-
// },
|
|
9
|
+
const server = 'http://192.168.50.67:31567/'
|
|
10
|
+
const local = 'http://127.0.0.1:9026/'
|
|
11
|
+
const proxyTable = {
|
|
12
|
+
'/rs/logic/exportfile': {
|
|
13
|
+
target: server
|
|
14
|
+
},
|
|
15
|
+
'/dataManage': {
|
|
16
|
+
target: server
|
|
17
|
+
},
|
|
18
|
+
'/api/af-revenue/sql/': {
|
|
19
|
+
pathRewrite: {
|
|
20
|
+
'^/api/af-revenue': '/'
|
|
21
|
+
},
|
|
22
|
+
target: local
|
|
23
|
+
},
|
|
24
|
+
'/api/af-revenue/report/': {
|
|
25
|
+
pathRewrite: {
|
|
26
|
+
'^/api/af-revenue': '/'
|
|
27
|
+
},
|
|
28
|
+
target: local
|
|
29
|
+
},
|
|
30
|
+
'/api/af-revenue/logic': {
|
|
31
|
+
pathRewrite: {
|
|
32
|
+
'^/api/af-revenue': '/'
|
|
33
|
+
},
|
|
34
|
+
target: local
|
|
35
|
+
},
|
|
131
36
|
'/api': {
|
|
132
|
-
target:
|
|
37
|
+
target: server
|
|
38
|
+
},
|
|
39
|
+
'/rs/sql/chargeQuery_by_gasproperties': {
|
|
40
|
+
target: server
|
|
41
|
+
},
|
|
42
|
+
'/rs/logic/chargeQuery_by_gasproperties_line': {
|
|
43
|
+
target: server
|
|
44
|
+
},
|
|
45
|
+
'/files': {
|
|
46
|
+
target: server
|
|
47
|
+
},
|
|
48
|
+
// 查找资源服务数据
|
|
49
|
+
'/rs/search': {
|
|
50
|
+
target: server
|
|
51
|
+
},
|
|
52
|
+
// 查找资源服务数据
|
|
53
|
+
'/rs/logic/getLogin': {
|
|
54
|
+
target: server
|
|
55
|
+
},
|
|
56
|
+
// 查找资源服务数据
|
|
57
|
+
'/rs/logic/getInitData': {
|
|
58
|
+
target: server
|
|
59
|
+
},
|
|
60
|
+
'/rs/logic/getSaleInitData': {
|
|
61
|
+
target: server
|
|
62
|
+
},
|
|
63
|
+
// 用户登录服务地址
|
|
64
|
+
'/rs/user': {
|
|
65
|
+
target: server
|
|
66
|
+
},
|
|
67
|
+
'/rs/path/getParams': {
|
|
68
|
+
target: server
|
|
69
|
+
},
|
|
70
|
+
'/rs/data': {
|
|
71
|
+
target: server
|
|
72
|
+
},
|
|
73
|
+
'/rs/license': {
|
|
74
|
+
target: server
|
|
75
|
+
},
|
|
76
|
+
'/rs/db': {
|
|
77
|
+
target: server
|
|
78
|
+
},
|
|
79
|
+
'/excel': {
|
|
80
|
+
target: server
|
|
81
|
+
},
|
|
82
|
+
'/rs/config': {
|
|
83
|
+
target: server
|
|
84
|
+
},
|
|
85
|
+
'/rs/sql/getLicenseById': {
|
|
86
|
+
target: server
|
|
87
|
+
},
|
|
88
|
+
'/rs/report': {
|
|
89
|
+
target: server
|
|
90
|
+
},
|
|
91
|
+
'/rs/vue': {
|
|
92
|
+
target: server
|
|
93
|
+
},
|
|
94
|
+
'/rs/file': {
|
|
95
|
+
target: server
|
|
96
|
+
},
|
|
97
|
+
'/rs/sql/singleTable': {
|
|
98
|
+
target: server
|
|
133
99
|
},
|
|
134
100
|
'/rs': {
|
|
135
|
-
target:
|
|
101
|
+
target: server
|
|
136
102
|
}
|
|
137
103
|
}
|
|
138
104
|
|
|
139
|
-
|
|
105
|
+
const devMiddleware = require('webpack-dev-middleware')(compiler, {
|
|
140
106
|
publicPath: config.output.publicPath,
|
|
141
107
|
stats: {
|
|
142
108
|
colors: true,
|
|
@@ -144,7 +110,7 @@ var devMiddleware = require('webpack-dev-middleware')(compiler, {
|
|
|
144
110
|
}
|
|
145
111
|
})
|
|
146
112
|
|
|
147
|
-
|
|
113
|
+
const hotMiddleware = require('webpack-hot-middleware')(compiler)
|
|
148
114
|
// force page reload when html-webpack-plugin template changes
|
|
149
115
|
compiler.plugin('compilation', function (compilation) {
|
|
150
116
|
compilation.plugin('html-webpack-plugin-after-emit', function (data, cb) {
|
|
@@ -155,69 +121,21 @@ compiler.plugin('compilation', function (compilation) {
|
|
|
155
121
|
|
|
156
122
|
// proxy api requests
|
|
157
123
|
Object.keys(proxyTable).forEach(function (context) {
|
|
158
|
-
|
|
124
|
+
let options = proxyTable[context]
|
|
159
125
|
if (typeof options === 'string') {
|
|
160
126
|
options = {target: options}
|
|
161
127
|
}
|
|
162
128
|
app.use(proxyMiddleware(context, options))
|
|
163
129
|
})
|
|
164
130
|
|
|
165
|
-
// handle fallback for HTML5 history API
|
|
166
131
|
app.use(require('connect-history-api-fallback')())
|
|
167
|
-
// app.use(function (req, res, next) {
|
|
168
|
-
// res.header('Access-Control-Allow-Origin', '*')
|
|
169
|
-
// res.header('Access-Control-Allow-Headers', 'X-Requested-With')
|
|
170
|
-
// res.header('Access-Control-Allow-Methods', 'PUT, POST, GET,DELETE, OPTIONS')
|
|
171
|
-
// res.header('X-Powered-By', '3,2,1')
|
|
172
|
-
// res.header('Access-Control-Allow-Credentials', 'true')
|
|
173
|
-
// res.header('Content-Type', 'application/json;charset=utf-8')
|
|
174
|
-
// next()
|
|
175
|
-
// })
|
|
176
132
|
|
|
177
|
-
// serve webpack bundle output
|
|
178
133
|
app.use(devMiddleware)
|
|
179
134
|
|
|
180
|
-
// enable hot-reload and state-preserving
|
|
181
|
-
// compilation error display
|
|
182
135
|
app.use(hotMiddleware)
|
|
183
136
|
|
|
184
|
-
// serve pure static assets
|
|
185
137
|
app.use('/static', express.static('./static'))
|
|
186
138
|
|
|
187
|
-
// app.all('/rs/*', function (req, res) {
|
|
188
|
-
// proxy.web(req, res, {
|
|
189
|
-
// target: 'http://127.0.0.1:8081/reports'
|
|
190
|
-
// })
|
|
191
|
-
// })
|
|
192
|
-
|
|
193
|
-
// app.all('/rs/*', function (req, res) {
|
|
194
|
-
// proxy.web(req, res, {
|
|
195
|
-
// target: 'http://127.0.0.1:8081/ldap'
|
|
196
|
-
// })
|
|
197
|
-
// })
|
|
198
|
-
// app.all('/excel/*', function (req, res) {
|
|
199
|
-
// proxy.web(req, res, {
|
|
200
|
-
// target: 'http://127.0.0.1:8081/charge'
|
|
201
|
-
// })
|
|
202
|
-
// })
|
|
203
|
-
|
|
204
|
-
// app.all('/rs/*', function (req, res) {
|
|
205
|
-
// proxy.web(req, res, {
|
|
206
|
-
// target: 'http://127.0.0.1:82/charge'
|
|
207
|
-
// })
|
|
208
|
-
// })
|
|
209
|
-
|
|
210
|
-
// app.all('/*', function (req, res) {
|
|
211
|
-
// proxy.web(req, res, {
|
|
212
|
-
// target: 'http://127.0.0.1:82'
|
|
213
|
-
// })
|
|
214
|
-
// })
|
|
215
|
-
// app.all('/rs/user', function (req, res) {
|
|
216
|
-
// proxy.web(req, res, {
|
|
217
|
-
// target: 'http://127.0.0.1:82'
|
|
218
|
-
// })
|
|
219
|
-
// })
|
|
220
|
-
|
|
221
139
|
module.exports = app.listen(8015, function (err) {
|
|
222
140
|
if (err) {
|
|
223
141
|
console.log(err)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "manage-client",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.64-bfsy",
|
|
4
4
|
"description": "经营管控模块前台组件",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"directories": {
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
"ldap-clients": "3.0.96",
|
|
72
72
|
"url-loader": "^0.5.7",
|
|
73
73
|
"vue-amap": "0.5.10",
|
|
74
|
-
"vue-client": "1.
|
|
74
|
+
"vue-client": "1.26.6",
|
|
75
75
|
"vue-hot-reload-api": "^1.2.0",
|
|
76
76
|
"vue-html-loader": "^1.0.0",
|
|
77
77
|
"vue-loader": "8.2.1",
|
|
@@ -36,6 +36,7 @@
|
|
|
36
36
|
</div>
|
|
37
37
|
<div class="span" style = "float:right;">
|
|
38
38
|
<button class="button_search" @click="$parent.$parent.searchData()">查询</button>
|
|
39
|
+
<button class="button_search" @click="$parent.$parent.pushAudit()">推送审核</button>
|
|
39
40
|
<report-print id='gasprice' top='3cm' left='0' width='100%' height='100%' :preview="true"></report-print>
|
|
40
41
|
<report-excel id='gasprice'></report-excel>
|
|
41
42
|
<div style="float: right" class="button_spacing" :class="{'button_shrink_top':$parent.$parent.criteriaShow,
|
|
@@ -130,6 +131,80 @@
|
|
|
130
131
|
<button v-show="show" type="button" class="btn btn-success" @click='confirm(filename)'>确认</button>
|
|
131
132
|
</footer>
|
|
132
133
|
</modal>
|
|
134
|
+
<modal :show.sync="pushAuditShow" v-ref:pushAuditShowModal large backdrop="false" width="40%" >
|
|
135
|
+
<header slot="modal-header" class="modal-header" style="text-align: center">
|
|
136
|
+
<h4 class="modal-title">推送审核</h4>
|
|
137
|
+
</header>
|
|
138
|
+
<article slot="modal-body" class="modal-body">
|
|
139
|
+
<validator name='v'>
|
|
140
|
+
<form class="form-horizontal select-overspread">
|
|
141
|
+
<div class="form-group" :class="[$v.f_audit_person.required ? 'has-error' : '']">
|
|
142
|
+
<label class="col-sm-4 font_normal_body">下一步审核人:</label>
|
|
143
|
+
<input type="text" v-show="false" v-model="$refs.f_audit_person.selectedItems"
|
|
144
|
+
v-validate:f_audit_person='{required: true }'>
|
|
145
|
+
<div class="col-sm-8">
|
|
146
|
+
<v-select v-model="pushAuditData.f_audit_person"
|
|
147
|
+
placeholder='请选择'
|
|
148
|
+
:value.sync="pushAuditData.f_audit_person"
|
|
149
|
+
:options='auditor'
|
|
150
|
+
:value-single="true"
|
|
151
|
+
close-on-select
|
|
152
|
+
clear-button
|
|
153
|
+
v-ref:f_audit_person>
|
|
154
|
+
</v-select>
|
|
155
|
+
</div>
|
|
156
|
+
|
|
157
|
+
</div>
|
|
158
|
+
<div class="form-group" >
|
|
159
|
+
<label class="col-sm-4 font_normal_body">报表审核人:</label>
|
|
160
|
+
<div class="col-sm-8">
|
|
161
|
+
<input class="input_search" style="width:60%" type="text"
|
|
162
|
+
v-model="pushAuditData.f_name" placeholder="报表审核人">
|
|
163
|
+
</div>
|
|
164
|
+
</div>
|
|
165
|
+
<div class="form-group" >
|
|
166
|
+
<label class="col-sm-4 font_normal_body">报表审核结果:</label>
|
|
167
|
+
<div class="col-sm-8">
|
|
168
|
+
<input class="input_search" style="width:60%" type="text"
|
|
169
|
+
v-model="pushAuditData.f_jieguo" placeholder="报表审核结果">
|
|
170
|
+
</div>
|
|
171
|
+
</div>
|
|
172
|
+
<div class="form-group" >
|
|
173
|
+
<label class="col-sm-4 font_normal_body">报表审核时间:</label>
|
|
174
|
+
<div class="col-sm-8">
|
|
175
|
+
<datepicker id="startDate" placeholder="报表审核时间" style="width: 60%"
|
|
176
|
+
v-model="pushAuditData.f_date"
|
|
177
|
+
:value.sync="pushAuditData.f_date"
|
|
178
|
+
:disabled-days-of-Week="[]"
|
|
179
|
+
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
180
|
+
:show-reset-button="reset">
|
|
181
|
+
</datepicker>
|
|
182
|
+
</div>
|
|
183
|
+
</div>
|
|
184
|
+
</form>
|
|
185
|
+
</validator>
|
|
186
|
+
</article>
|
|
187
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
188
|
+
<button class="button_search" style="width: max-content" @click="uploadFiles()">上传/查看附件</button>
|
|
189
|
+
<button class="button_search" style="width: max-content" @click="uploadPictures()">拍照</button>
|
|
190
|
+
<button class="button_search" @click="auditConfirm()" :disabled="!$v.valid">提交审核</button>
|
|
191
|
+
<button class="button_clear" @click="cancel()">取消</button>
|
|
192
|
+
</footer>
|
|
193
|
+
</modal>
|
|
194
|
+
<modal :show.sync="showFiles" styles="margin-top:50px" v-ref:showFiles backdrop="false" width="80%" >
|
|
195
|
+
<header slot="modal-header" class="modal-header">
|
|
196
|
+
<button type="button" class="close" @click="showFilesClose"><span class="glyphicon glyphicon-remove"></span></button>
|
|
197
|
+
</header>
|
|
198
|
+
<article slot="modal-body">
|
|
199
|
+
<upload-idcard :blodid="randomId" isremark="true" style="width:auto"
|
|
200
|
+
fusetype="数据推送审核" v-ref:upload>
|
|
201
|
+
</upload-idcard>
|
|
202
|
+
</article>
|
|
203
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
204
|
+
</footer>
|
|
205
|
+
</modal>
|
|
206
|
+
<high-meter :show.sync="highMeterShow" v-if="highMeterShow" @photo-finish="newPhoto">
|
|
207
|
+
</high-meter>
|
|
133
208
|
</div>
|
|
134
209
|
</template>
|
|
135
210
|
|
|
@@ -143,6 +218,8 @@
|
|
|
143
218
|
console.log(self.$login.f)
|
|
144
219
|
await self.$MagLoadParams.loadParam()
|
|
145
220
|
self.initParams()
|
|
221
|
+
self.getAuditor()
|
|
222
|
+
self.randomId = self.getRandomId()
|
|
146
223
|
self.$refs.paged.$refs.criteria.search()
|
|
147
224
|
}
|
|
148
225
|
let saveFile = function * (self) {
|
|
@@ -196,6 +273,13 @@
|
|
|
196
273
|
},
|
|
197
274
|
f_filialeid: this.$login.f.orgid,
|
|
198
275
|
show: false,
|
|
276
|
+
pushAuditData: {},
|
|
277
|
+
auditor: [],
|
|
278
|
+
resid: [],
|
|
279
|
+
showFiles: false,
|
|
280
|
+
highMeterShow: false,
|
|
281
|
+
pushAuditShow: false,
|
|
282
|
+
randomId: '',
|
|
199
283
|
}
|
|
200
284
|
},
|
|
201
285
|
ready () {
|
|
@@ -206,6 +290,98 @@
|
|
|
206
290
|
})
|
|
207
291
|
},
|
|
208
292
|
methods: {
|
|
293
|
+
newPhoto (ImgBase64) {
|
|
294
|
+
this.$refs.upload.newPhoto(ImgBase64)
|
|
295
|
+
},
|
|
296
|
+
uploadFiles () {
|
|
297
|
+
this.showFiles = !this.showFiles
|
|
298
|
+
},
|
|
299
|
+
uploadPictures () {
|
|
300
|
+
this.highMeterShow = !this.highMeterShow
|
|
301
|
+
},
|
|
302
|
+
showFilesClose () {
|
|
303
|
+
this.showFiles = false
|
|
304
|
+
},
|
|
305
|
+
async getAuditor () {
|
|
306
|
+
await this.$MagGetSaleParam.initinputtor()
|
|
307
|
+
this.auditor = this.$MagGetSaleParam.getAudit(this.$login.f.orgid)
|
|
308
|
+
},
|
|
309
|
+
cancel () {
|
|
310
|
+
this.pushAuditShow = false
|
|
311
|
+
},
|
|
312
|
+
getRandomId () {
|
|
313
|
+
return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function (c) {
|
|
314
|
+
let res = Math.random() * 16 | 0
|
|
315
|
+
let v = c == 'x' ? res : (res & 0x3 | 0x8)
|
|
316
|
+
return v.toString(16)
|
|
317
|
+
})
|
|
318
|
+
},
|
|
319
|
+
auditConfirm () {
|
|
320
|
+
if (this.$refs.upload.fileInfoData.length === 0) {
|
|
321
|
+
this.$showMessage('请至少上传一张附件')
|
|
322
|
+
return
|
|
323
|
+
}
|
|
324
|
+
let fileParam = []
|
|
325
|
+
for (let row of this.$refs.upload.fileInfoData) {
|
|
326
|
+
fileParam.push({id: row.id})
|
|
327
|
+
}
|
|
328
|
+
let param = {
|
|
329
|
+
// 业务参数
|
|
330
|
+
requestParam: {
|
|
331
|
+
f_operator: this.$login.f.name,
|
|
332
|
+
f_operatorid: this.$login.f.id,
|
|
333
|
+
f_orgid: this.$login.f.orgid,
|
|
334
|
+
f_orgname: this.$login.f.orgs,
|
|
335
|
+
f_depid: this.$login.f.depids,
|
|
336
|
+
f_depname: this.$login.f.deps,
|
|
337
|
+
type: '用气汇总报表推送',
|
|
338
|
+
...this.pushAuditData
|
|
339
|
+
},
|
|
340
|
+
form: {
|
|
341
|
+
'业务描述': `${this.$login.f.name}对${this.pushAuditData.startDate}-${this.pushAuditData.endDate}用气汇总报表数据发起推送审核操作`,
|
|
342
|
+
'业务类型': `用气汇总报表推送审核`,
|
|
343
|
+
'报表审核人': this.pushAuditData.f_name,
|
|
344
|
+
'报表审核结果': this.pushAuditData.f_jieguo,
|
|
345
|
+
'报表审核时间': this.pushAuditData.f_date
|
|
346
|
+
},
|
|
347
|
+
// 审核人
|
|
348
|
+
f_audit_person: this.pushAuditData.f_audit_person,
|
|
349
|
+
// 描述
|
|
350
|
+
f_describe: `${this.$login.f.name}发起用气汇总报表推送审核操作`,
|
|
351
|
+
// 附件
|
|
352
|
+
fileParam: fileParam,
|
|
353
|
+
// 登录人信息
|
|
354
|
+
userBaseInfo: {
|
|
355
|
+
f_operator: this.$login.f.name,
|
|
356
|
+
f_operatorid: this.$login.f.id,
|
|
357
|
+
f_orgid: this.$login.f.orgid,
|
|
358
|
+
f_orgname: this.$login.f.orgs,
|
|
359
|
+
f_depid: this.$login.f.depids,
|
|
360
|
+
f_depname: this.$login.f.deps
|
|
361
|
+
},
|
|
362
|
+
// 业务类型
|
|
363
|
+
type: '用气汇总报表推送',
|
|
364
|
+
f_type: '用气汇总报表推送审核',
|
|
365
|
+
f_otherparam: [],
|
|
366
|
+
logicName: 'gasSalesReportReview'
|
|
367
|
+
}
|
|
368
|
+
console.log(param, this.pushAuditData)
|
|
369
|
+
this.$resetpost('api/af-revenue/logic/commonAuditLogic', param, {
|
|
370
|
+
warnMsg: `确定要对当前查询的报表数据进行推送审核吗?`,
|
|
371
|
+
resolveMsg: `提交审核完成!!`,
|
|
372
|
+
rejectMsg: `提交审核失败!!请重试!!`
|
|
373
|
+
}).then((res) => {
|
|
374
|
+
this.pushAuditShow = false
|
|
375
|
+
this.pushAuditData.f_audit_person = ''
|
|
376
|
+
this.pushAuditData.f_name = ''
|
|
377
|
+
this.pushAuditData.f_jieguo = ''
|
|
378
|
+
this.pushAuditData.f_date = ''
|
|
379
|
+
this.randomId = this.getRandomId()
|
|
380
|
+
})
|
|
381
|
+
},
|
|
382
|
+
pushAudit () {
|
|
383
|
+
this.pushAuditShow = true
|
|
384
|
+
},
|
|
209
385
|
initParams() {
|
|
210
386
|
// 初始化气表品牌
|
|
211
387
|
let brandArr = []
|
|
@@ -230,6 +406,9 @@
|
|
|
230
406
|
|
|
231
407
|
this.$refs.paged.$refs.criteria.model.f_orgid = orgcondition
|
|
232
408
|
this.$refs.paged.search(args)
|
|
409
|
+
this.pushAuditData.startDate = this.model.params.startDate
|
|
410
|
+
this.pushAuditData.endDate = this.model.params.endDate
|
|
411
|
+
this.pushAuditData.condition = orgcondition.replace(/'/g, "''")
|
|
233
412
|
},
|
|
234
413
|
async getRes(condition,obj) {
|
|
235
414
|
this.orgCondtionStr = condition
|