manage-client 3.2.161 → 3.2.164
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 +179 -176
- package/package.json +1 -1
- package/src/components/sale/businessquery/BusinessManage.vue +3 -0
- package/src/components/sale/businessquery/PrintSheetQuery.vue +212 -0
- package/src/filiale/WEINAN/ChargeQuery.vue +5 -41
- package/src/filiale/WEINAN/OtherChargeQuery.vue +250 -250
- package/src/filiale/WEINAN/config/exportConfig.js +7 -7
- package/src/filiale/qianneng/QnChaobiaomingxi.vue +44 -1
- package/src/filiale/qianneng/QnChaobiaoyhhz.vue +44 -1
- package/src/filiale/qianneng/QnChaobiaoyqxzhz.vue +44 -1
- package/src/filiale/zhongyi/CallReport/CallReportMainPage.vue +43 -22
- package/src/filiale/zhongyi/CallReport/DropDownBox.vue +74 -0
- package/src/filiale/zhongyi/CallReport/IncomingTelegram.vue +9 -17
- package/src/filiale/zhongyi/CallReport/PercentageComplete.vue +44 -11
- package/src/filiale/zhongyi/CallReport/PercentageCompleteEchart.vue +1 -2
- package/src/filiale/zhongyi/CallReport/ServiceStatus.vue +5 -5
- package/src/filiale/zhongyi/CallReport/SwiperTools.vue +35 -30
- package/src/filiale/zhongyi/CallReport/SwiperTools2.vue +67 -34
- package/src/filiale/zhongyi/CallReport/Time.vue +2 -2
- package/src/filiale/zhongyi/CallReport/Userinfo.vue +8 -8
- package/src/filiale/zhongyi/CallReport/WorkOrderPage.vue +96 -8
- package/src/filiale/zhongyi/sale.js +2 -1
- package/src/main.js +66 -66
- package/src/saleManage.js +3 -0
package/build/dev-server.js
CHANGED
|
@@ -1,176 +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://192.168.50.4:8400'
|
|
17
|
-
// var bendi = 'http://172.168.1.11:9001'
|
|
18
|
-
var fuwu = 'http://
|
|
19
|
-
// var fuwu = 'http://203.57.101.233:9001'
|
|
20
|
-
var system = 'http://192.168.50.4:8400'
|
|
21
|
-
//192.168.
|
|
22
|
-
// var str = 'http://127.0.0.1:8080/manage', str2 = 'http://192.168.50.199:8300'
|
|
23
|
-
// var str = 'http://192.168.10.233:8300', str2 = 'http://192.168.10.14:8300'
|
|
24
|
-
var proxyTable = {
|
|
25
|
-
'/rs/logic/exportfile': {
|
|
26
|
-
target: fuwu
|
|
27
|
-
},
|
|
28
|
-
'/
|
|
29
|
-
target:
|
|
30
|
-
},
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
'/rs/logic/
|
|
44
|
-
target: fuwu
|
|
45
|
-
},
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
'/rs/
|
|
51
|
-
target: fuwu
|
|
52
|
-
},
|
|
53
|
-
'/rs/
|
|
54
|
-
target: fuwu
|
|
55
|
-
},
|
|
56
|
-
'/rs/
|
|
57
|
-
target: fuwu
|
|
58
|
-
},
|
|
59
|
-
'/rs/
|
|
60
|
-
target: fuwu
|
|
61
|
-
},
|
|
62
|
-
'/
|
|
63
|
-
target: fuwu
|
|
64
|
-
},
|
|
65
|
-
'/
|
|
66
|
-
target: fuwu
|
|
67
|
-
},
|
|
68
|
-
'/rs/
|
|
69
|
-
target: fuwu
|
|
70
|
-
},
|
|
71
|
-
'/rs/
|
|
72
|
-
target:
|
|
73
|
-
},
|
|
74
|
-
'/rs/
|
|
75
|
-
target:
|
|
76
|
-
},
|
|
77
|
-
'/rs/
|
|
78
|
-
target:
|
|
79
|
-
},
|
|
80
|
-
'/rs/
|
|
81
|
-
target:
|
|
82
|
-
},
|
|
83
|
-
'/rs': {
|
|
84
|
-
target:
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
})
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
//
|
|
118
|
-
|
|
119
|
-
//
|
|
120
|
-
// res.header('
|
|
121
|
-
// res.header('Access-Control-Allow-
|
|
122
|
-
// res.header('
|
|
123
|
-
//
|
|
124
|
-
//
|
|
125
|
-
|
|
126
|
-
//
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
//
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
//
|
|
134
|
-
app.use(
|
|
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
|
-
//
|
|
160
|
-
//
|
|
161
|
-
|
|
162
|
-
//
|
|
163
|
-
//
|
|
164
|
-
//
|
|
165
|
-
//
|
|
166
|
-
//
|
|
167
|
-
//
|
|
168
|
-
//
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
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://192.168.50.4:8400'
|
|
17
|
+
// var bendi = 'http://172.168.1.11:9001'
|
|
18
|
+
var fuwu = 'http://172.168.1.11:9001/'
|
|
19
|
+
// var fuwu = 'http://203.57.101.233:9001'
|
|
20
|
+
var system = 'http://192.168.50.4:8400'
|
|
21
|
+
// 192.168.
|
|
22
|
+
// var str = 'http://127.0.0.1:8080/manage', str2 = 'http://192.168.50.199:8300'
|
|
23
|
+
// var str = 'http://192.168.10.233:8300', str2 = 'http://192.168.10.14:8300'
|
|
24
|
+
var proxyTable = {
|
|
25
|
+
'/rs/logic/exportfile': {
|
|
26
|
+
target: fuwu
|
|
27
|
+
},
|
|
28
|
+
'/rs/sql/otherChargeQuery': {
|
|
29
|
+
target: 'http://localhost:8080/'
|
|
30
|
+
},
|
|
31
|
+
'/files': {
|
|
32
|
+
target: fuwu
|
|
33
|
+
},
|
|
34
|
+
// 查找资源服务数据
|
|
35
|
+
'/rs/search': {
|
|
36
|
+
target: fuwu
|
|
37
|
+
},
|
|
38
|
+
// 查找资源服务数据
|
|
39
|
+
'/rs/logic/getLogin': {
|
|
40
|
+
target: fuwu
|
|
41
|
+
},
|
|
42
|
+
// 查找资源服务数据
|
|
43
|
+
'/rs/logic/getInitData': {
|
|
44
|
+
target: fuwu
|
|
45
|
+
},
|
|
46
|
+
'/rs/logic/getSaleInitData': {
|
|
47
|
+
target: fuwu
|
|
48
|
+
},
|
|
49
|
+
// 用户登录服务地址
|
|
50
|
+
'/rs/user': {
|
|
51
|
+
target: fuwu
|
|
52
|
+
},
|
|
53
|
+
'/rs/path/getParams': {
|
|
54
|
+
target: fuwu
|
|
55
|
+
},
|
|
56
|
+
'/rs/data': {
|
|
57
|
+
target: fuwu
|
|
58
|
+
},
|
|
59
|
+
'/rs/license': {
|
|
60
|
+
target: fuwu
|
|
61
|
+
},
|
|
62
|
+
'/rs/db': {
|
|
63
|
+
target: fuwu
|
|
64
|
+
},
|
|
65
|
+
'/excel': {
|
|
66
|
+
target: fuwu
|
|
67
|
+
},
|
|
68
|
+
'/rs/config': {
|
|
69
|
+
target: fuwu
|
|
70
|
+
},
|
|
71
|
+
'/rs/sql/getLicenseById': {
|
|
72
|
+
target: fuwu
|
|
73
|
+
},
|
|
74
|
+
'/rs/report': {
|
|
75
|
+
target: bendi
|
|
76
|
+
},
|
|
77
|
+
'/rs/vue': {
|
|
78
|
+
target: fuwu
|
|
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: fuwu
|
|
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(8085, function (err) {
|
|
174
|
+
if (err) {
|
|
175
|
+
console.log(err)
|
|
176
|
+
return
|
|
177
|
+
}
|
|
178
|
+
console.log('Listening at http://localhost:8085')
|
|
179
|
+
})
|
package/package.json
CHANGED
|
@@ -115,6 +115,9 @@
|
|
|
115
115
|
<tabs header="增值业务汇总查询" v-if="permission('增值业务汇总查询')">
|
|
116
116
|
<valueadd-count-query @deal-msg="dealMsg" :selectorg.sync="selectOrgid" ></valueadd-count-query>
|
|
117
117
|
</tabs>
|
|
118
|
+
<tabs header="受理单查询" v-if="permission('受理单查询')">
|
|
119
|
+
<print-sheet-query @deal-msg="dealMsg" :selectorg.sync="selectOrgid" ></print-sheet-query>
|
|
120
|
+
</tabs>
|
|
118
121
|
</tab-button>
|
|
119
122
|
<!-- </div>-->
|
|
120
123
|
<!-- <div v-if="!listpage">-->
|
|
@@ -0,0 +1,212 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div id="unit" class="flex-row">
|
|
3
|
+
<div class="basic-main">
|
|
4
|
+
<div class="flex">
|
|
5
|
+
<criteria-paged :model="model" v-ref:paged>
|
|
6
|
+
<criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
|
|
7
|
+
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
|
8
|
+
<div class="row">
|
|
9
|
+
<div class="col-sm-2 form-group">
|
|
10
|
+
<label for="startDate" class="font_normal_body">开始日期</label>
|
|
11
|
+
<datepicker id="startDate" placeholder="开始日期" style="width:60%"
|
|
12
|
+
v-model="model.startDate"
|
|
13
|
+
:value.sync="model.startDate"
|
|
14
|
+
condition="ps.f_operate_date >= '{}'"
|
|
15
|
+
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
16
|
+
:show-reset-button="true"
|
|
17
|
+
>
|
|
18
|
+
</datepicker>
|
|
19
|
+
</div>
|
|
20
|
+
<div class="col-sm-2 form-group">
|
|
21
|
+
<label for="endDate" class="font_normal_body">结束日期</label>
|
|
22
|
+
<datepicker id="endDate" placeholder="结束日期" style="width:60%"
|
|
23
|
+
v-model="model.endDate"
|
|
24
|
+
:value.sync="model.endDate"
|
|
25
|
+
condition="ps.f_operate_date <= '{}'"
|
|
26
|
+
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
27
|
+
:show-reset-button="true"
|
|
28
|
+
>
|
|
29
|
+
</datepicker>
|
|
30
|
+
</div>
|
|
31
|
+
<!--<div class="form-group col-sm-2">-->
|
|
32
|
+
<!--<label class="font_normal_body">选择小区</label>-->
|
|
33
|
+
<!--<v-select :value.sync="model.f_residential_area" :value-single="true"-->
|
|
34
|
+
<!--class="select_list select"-->
|
|
35
|
+
<!--style="width: 60%"-->
|
|
36
|
+
<!--v-model="model.f_residential_area"-->
|
|
37
|
+
<!--:options='$parent.$parent.residentialArea' placeholder='选择小区'-->
|
|
38
|
+
<!--condition="ua.f_residential_area = '{}'"-->
|
|
39
|
+
<!--close-on-select search="true">-->
|
|
40
|
+
<!--</v-select>-->
|
|
41
|
+
<!--</div>-->
|
|
42
|
+
<div class="span" style="float:right;">
|
|
43
|
+
<button class="button_search button_spacing" @click="search">查询</button>
|
|
44
|
+
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
45
|
+
|
|
46
|
+
<export-excel :data="$parent.$parent.getCondition"
|
|
47
|
+
:field="$parent.$parent.getfield"
|
|
48
|
+
sqlurl="rs/logic/exportfile"
|
|
49
|
+
sql-name="printSheetQuery"
|
|
50
|
+
template-name='受理单查询导出'
|
|
51
|
+
:choose-col="true"></export-excel>
|
|
52
|
+
<print-data :model="$parent.model" :field="$parent.$parent.getfield"
|
|
53
|
+
:defaultfield="$parent.$parent.defaultfield"
|
|
54
|
+
titletable="受理单查询导出"></print-data>
|
|
55
|
+
<div style="float: right" class="button_spacing" :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.hidden()"></div>
|
|
56
|
+
|
|
57
|
+
</div>
|
|
58
|
+
</div>
|
|
59
|
+
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
60
|
+
<res-select-group :initres="$parent.$parent.initres" :show-component="['company','department','operator']" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
|
|
61
|
+
<div class="col-sm-2 form-group">
|
|
62
|
+
<label class="font_normal_body">用户编号</label>
|
|
63
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_userinfo_code"
|
|
64
|
+
condition="ua.f_userinfo_code = '{}' " placeholder="用户编号">
|
|
65
|
+
</div>
|
|
66
|
+
<div class="col-sm-2 form-group">
|
|
67
|
+
<label class="font_normal_body">用户姓名</label>
|
|
68
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
|
|
69
|
+
condition="ui.f_user_name = '{}' " placeholder="用户姓名">
|
|
70
|
+
</div>
|
|
71
|
+
<div class="form-group col-sm-3">
|
|
72
|
+
<label class="font_normal_body">打印次数</label>
|
|
73
|
+
<v-input :value.sync="$parent.f_print_num" :expression.sync = 'model.f_print_num'
|
|
74
|
+
condition="f_print_num {}" v-model="model.f_print_num" style="width: 60%"
|
|
75
|
+
typeof="number"
|
|
76
|
+
placeholder="打印条数" ></v-input>
|
|
77
|
+
</div>
|
|
78
|
+
</div>
|
|
79
|
+
</div>
|
|
80
|
+
</criteria>
|
|
81
|
+
<data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid >
|
|
82
|
+
<template partial='head'>
|
|
83
|
+
<tr>
|
|
84
|
+
<th v-for="(key,value ) in $parent.$parent.$parent.config.pageFilds" ><nobr>{{value}}</nobr></th>
|
|
85
|
+
</tr>
|
|
86
|
+
</template>
|
|
87
|
+
<template partial='body'>
|
|
88
|
+
<td style="text-align: center;" v-for="(key,value ) in $parent.$parent.$parent.config.pageFilds"><nobr>{{row[key]}}</nobr></td>
|
|
89
|
+
</template>
|
|
90
|
+
<template partial='foot'></template>
|
|
91
|
+
</data-grid>
|
|
92
|
+
</criteria-paged>
|
|
93
|
+
</div>
|
|
94
|
+
</div>
|
|
95
|
+
</div>
|
|
96
|
+
</template>
|
|
97
|
+
|
|
98
|
+
<script>
|
|
99
|
+
import {PagedList, HttpResetClass} from 'vue-client'
|
|
100
|
+
import defaultPrint from '../config/DefaultPrint'
|
|
101
|
+
import exportConfig from "../config/exportConfig";
|
|
102
|
+
import plugins from "../../../plugins/GetLoginInfoService";
|
|
103
|
+
|
|
104
|
+
let readySomething = async function (self) {
|
|
105
|
+
self.initParams()
|
|
106
|
+
self.defaultfield = [...self.defaultfield, ...self.config.defaultPrint]
|
|
107
|
+
self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString() + ' 00:00:00'
|
|
108
|
+
self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString() + ' 23:59:59'
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
export default {
|
|
112
|
+
title: '受理单打印查询',
|
|
113
|
+
data() {
|
|
114
|
+
let model = new PagedList('rs/sql/printSheetQuery', 20, {
|
|
115
|
+
startdate: 'this.model.startDate',
|
|
116
|
+
enddate: 'this.model.endDate'
|
|
117
|
+
})
|
|
118
|
+
model.f_filialeid = this.$login.f.orgid
|
|
119
|
+
return {
|
|
120
|
+
//默认打印列
|
|
121
|
+
defaultfield: [],
|
|
122
|
+
config: {
|
|
123
|
+
pageFilds:{
|
|
124
|
+
'f_userinfo_code': '用户编号', 'f_user_name': '用户姓名', 'f_user_phone': '用户电话', 'f_user_type': '用户类型' ,'f_address':'用户地址',
|
|
125
|
+
'f_operate_date':'操作时间','f_print_time':'打印时间','f_print_num':'打印次数','f_orgname':'组织机构','f_depname':'部门','f_operator':'操作人'
|
|
126
|
+
},
|
|
127
|
+
defaultPrint: ['f_userinfo_code', 'f_user_name', 'f_user_phone','f_user_type','f_address','f_operate_date','f_print_time']
|
|
128
|
+
},
|
|
129
|
+
data: {},
|
|
130
|
+
other: [],
|
|
131
|
+
footer: [],
|
|
132
|
+
meterbrands: [],
|
|
133
|
+
initres: {
|
|
134
|
+
org:[this.$login.f.orgid],
|
|
135
|
+
dep:[],
|
|
136
|
+
user:[]
|
|
137
|
+
},
|
|
138
|
+
model: model,
|
|
139
|
+
criteriaShow: false,
|
|
140
|
+
f_filialeid: this.$login.f.orgid,
|
|
141
|
+
orgid: [this.$login.f.orgid],
|
|
142
|
+
//小区
|
|
143
|
+
residentialArea: [],
|
|
144
|
+
orgCondtionStr: '',
|
|
145
|
+
}
|
|
146
|
+
},
|
|
147
|
+
ready() {
|
|
148
|
+
this.getaddress()
|
|
149
|
+
readySomething(this).then(() => {
|
|
150
|
+
this.$emit('ready')
|
|
151
|
+
}).catch((error) => {
|
|
152
|
+
this.$emit('error', error)
|
|
153
|
+
})
|
|
154
|
+
},
|
|
155
|
+
methods: {
|
|
156
|
+
// async getaddress() {
|
|
157
|
+
// console.log('开始获取小区')
|
|
158
|
+
// let HttpReset = new HttpResetClass()
|
|
159
|
+
// var data = await HttpReset.load('POST', 'rs/sql/manage_getarealist', {
|
|
160
|
+
// data: {
|
|
161
|
+
// condition: `1=1 and s.f_filialeid = '${this.$login.f.orgid}'`
|
|
162
|
+
// }
|
|
163
|
+
// }, {resolveMsg: null, rejectMsg: '获取小区失败!'})
|
|
164
|
+
// console.log('小区', data)
|
|
165
|
+
// let house = [{label: '全部', value: ''}]
|
|
166
|
+
// for (let row of data.data) {
|
|
167
|
+
// console.log('开始保存小区')
|
|
168
|
+
// house.push({label: row.f_residential_area, value: row.f_residential_area})
|
|
169
|
+
// }
|
|
170
|
+
// this.residentialArea = house
|
|
171
|
+
// },
|
|
172
|
+
selfSearch(args) {
|
|
173
|
+
args.condition = `${args.condition}` + this.orgCondtionStr
|
|
174
|
+
this.model.search(args.condition, args.model)
|
|
175
|
+
},
|
|
176
|
+
async getRes(condition,obj) {
|
|
177
|
+
console.log(condition,"========")
|
|
178
|
+
this.orgCondtionStr = condition
|
|
179
|
+
|
|
180
|
+
},
|
|
181
|
+
clear() {
|
|
182
|
+
Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
|
|
183
|
+
this.$refs.paged.$refs.cri.model[key] = []
|
|
184
|
+
})
|
|
185
|
+
},
|
|
186
|
+
hidden() {
|
|
187
|
+
this.criteriaShow = !this.criteriaShow
|
|
188
|
+
}
|
|
189
|
+
},
|
|
190
|
+
watch: {
|
|
191
|
+
|
|
192
|
+
},
|
|
193
|
+
computed: {
|
|
194
|
+
|
|
195
|
+
getCondition() {
|
|
196
|
+
var con = ""
|
|
197
|
+
if (this.orgCondtionStr) {
|
|
198
|
+
con = `${this.$refs.paged.$refs.cri.condition} ` + this.orgCondtionStr
|
|
199
|
+
} else {
|
|
200
|
+
con = `${this.$refs.paged.$refs.cri.condition}`
|
|
201
|
+
}
|
|
202
|
+
return {
|
|
203
|
+
condition: con
|
|
204
|
+
}
|
|
205
|
+
},
|
|
206
|
+
getfield() {
|
|
207
|
+
return this.config.pageFilds
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
}
|
|
212
|
+
</script>
|