manage-client 3.2.63-aode → 3.2.64-aode
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 +3 -3
- package/package.json +1 -1
- package/src/components/sale/businessquery/InspectManage.vue +34 -34
- package/src/components/sale/businessquery/errorHandplanQuery.vue +246 -246
- package/src/components/sale/config/exportConfig.js +263 -260
- package/src/components/sale/report/aode/iot/ReportQuery.vue +38 -0
- package/src/components/webmeter/WebmeterHandplanQuery2CK.vue +663 -663
package/build/dev-server.js
CHANGED
|
@@ -17,7 +17,7 @@ var compiler = webpack(config)
|
|
|
17
17
|
var proxyTable = {
|
|
18
18
|
|
|
19
19
|
'/rs/easyexcel/': {
|
|
20
|
-
target:
|
|
20
|
+
target: 'http://192.168.10.14:8600/manage/'
|
|
21
21
|
},
|
|
22
22
|
'/rs/logic/exportfile': {
|
|
23
23
|
target: fuwu
|
|
@@ -184,10 +184,10 @@ app.use('/static', express.static('./static'))
|
|
|
184
184
|
// })
|
|
185
185
|
// })
|
|
186
186
|
|
|
187
|
-
module.exports = app.listen(
|
|
187
|
+
module.exports = app.listen(8099, function (err) {
|
|
188
188
|
if (err) {
|
|
189
189
|
console.log(err)
|
|
190
190
|
return
|
|
191
191
|
}
|
|
192
|
-
console.log('Listening at http://localhost:
|
|
192
|
+
console.log('Listening at http://localhost:8099')
|
|
193
193
|
})
|
package/package.json
CHANGED
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<tab-button>
|
|
3
|
-
<tabs header="用户稽查">
|
|
4
|
-
<inspect-list-user></inspect-list-user>
|
|
5
|
-
</tabs>
|
|
6
|
-
<tabs header="购气稽查">
|
|
7
|
-
<inspect-list-gas v-if="show[1]"></inspect-list-gas>
|
|
8
|
-
</tabs>
|
|
9
|
-
|
|
10
|
-
<tabs header="错误查询">
|
|
11
|
-
<error-handplan-query></error-handplan-query>
|
|
12
|
-
</tabs>
|
|
13
|
-
|
|
14
|
-
</tab-button>
|
|
15
|
-
|
|
16
|
-
</template>
|
|
17
|
-
|
|
18
|
-
<script>
|
|
19
|
-
import TabButton from "../common/TabButton";
|
|
20
|
-
import Tabs from "../common/Tabs";
|
|
21
|
-
|
|
22
|
-
export default {
|
|
23
|
-
title: '稽查查询',
|
|
24
|
-
data(){
|
|
25
|
-
return{
|
|
26
|
-
show: [true]
|
|
27
|
-
}
|
|
28
|
-
},
|
|
29
|
-
components: {Tabs, TabButton},
|
|
30
|
-
}
|
|
31
|
-
</script>
|
|
32
|
-
|
|
33
|
-
<style scoped>
|
|
34
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<tab-button>
|
|
3
|
+
<tabs header="用户稽查">
|
|
4
|
+
<inspect-list-user></inspect-list-user>
|
|
5
|
+
</tabs>
|
|
6
|
+
<tabs header="购气稽查">
|
|
7
|
+
<inspect-list-gas v-if="show[1]"></inspect-list-gas>
|
|
8
|
+
</tabs>
|
|
9
|
+
|
|
10
|
+
<tabs header="错误查询">
|
|
11
|
+
<error-handplan-query></error-handplan-query>
|
|
12
|
+
</tabs>
|
|
13
|
+
|
|
14
|
+
</tab-button>
|
|
15
|
+
|
|
16
|
+
</template>
|
|
17
|
+
|
|
18
|
+
<script>
|
|
19
|
+
import TabButton from "../common/TabButton";
|
|
20
|
+
import Tabs from "../common/Tabs";
|
|
21
|
+
|
|
22
|
+
export default {
|
|
23
|
+
title: '稽查查询',
|
|
24
|
+
data(){
|
|
25
|
+
return{
|
|
26
|
+
show: [true]
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
components: {Tabs, TabButton},
|
|
30
|
+
}
|
|
31
|
+
</script>
|
|
32
|
+
|
|
33
|
+
<style scoped>
|
|
34
|
+
</style>
|
|
@@ -1,246 +1,246 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div id="unit" class="flex-row">
|
|
3
|
-
<div class="basic-main">
|
|
4
|
-
<div class="flex">
|
|
5
|
-
|
|
6
|
-
<criteria-paged :model="model" v-ref:paged>
|
|
7
|
-
<criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
|
|
8
|
-
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
|
9
|
-
<div class="row">
|
|
10
|
-
<div class="col-sm-2 form-group">
|
|
11
|
-
<label for="startDate" class="font_normal_body">开始日期</label>
|
|
12
|
-
<datepicker id="startDate" placeholder="开始日期" style="width:60%"
|
|
13
|
-
v-model="model.startDate"
|
|
14
|
-
:value.sync="model.startDate"
|
|
15
|
-
:format="'yyyy-MM-dd'"
|
|
16
|
-
:show-reset-button="true"
|
|
17
|
-
condition="f_operator_date >= '{} 00:00:00'">
|
|
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
|
-
:format="'yyyy-MM-dd'"
|
|
26
|
-
:show-reset-button="true"
|
|
27
|
-
condition="f_operator_date <= '{} 23:59:59'">
|
|
28
|
-
</datepicker>
|
|
29
|
-
</div>
|
|
30
|
-
<div class="form-group col-sm-2" >
|
|
31
|
-
<label class="font_normal_body">操作类型</label>
|
|
32
|
-
<v-select :value.sync="model.f_operator_type" :value-single="true"
|
|
33
|
-
class="select_list select"
|
|
34
|
-
title="参数:抄表错误类型"
|
|
35
|
-
style="width: 60%"
|
|
36
|
-
v-model="model.f_operator_type"
|
|
37
|
-
:options='$parent.$parent.operatortype' placeholder='错误类型'
|
|
38
|
-
condition = "f_operator_type = '{}'"
|
|
39
|
-
close-on-select search="true">
|
|
40
|
-
</v-select>
|
|
41
|
-
</div>
|
|
42
|
-
<div class="form-group col-sm-2" >
|
|
43
|
-
<label class="font_normal_body">错误原因</label>
|
|
44
|
-
<v-select :value.sync="model.f_error_type" :value-single="true"
|
|
45
|
-
class="select_list select"
|
|
46
|
-
title="参数:错误原因"
|
|
47
|
-
style="width: 60%"
|
|
48
|
-
v-model="model.f_error_type"
|
|
49
|
-
:options='$parent.$parent.errortype' placeholder='错误原因'
|
|
50
|
-
condition = "f_error_type = '{}'"
|
|
51
|
-
close-on-select search="true">
|
|
52
|
-
</v-select>
|
|
53
|
-
</div>
|
|
54
|
-
|
|
55
|
-
<div class="col-sm-2 form-group" v-if="false">
|
|
56
|
-
<label class="font_normal_body">公  司</label>
|
|
57
|
-
<res-select :initresid="$parent.$parent.orgid"
|
|
58
|
-
style="width:60%"
|
|
59
|
-
@res-select="$parent.$parent.getRes"
|
|
60
|
-
|
|
61
|
-
restype='organization'>
|
|
62
|
-
</res-select>
|
|
63
|
-
</div>
|
|
64
|
-
|
|
65
|
-
<div class="span" style="float:right;">
|
|
66
|
-
<button class="button_search button_spacing" @click="search">查询</button>
|
|
67
|
-
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
68
|
-
<export-excel :data="$parent.$parent.getCondition"
|
|
69
|
-
:field="$parent.$parent.getfield"
|
|
70
|
-
sqlurl="rs/logic/exportfile" sql-name="battcherror" template-name='报错查询'
|
|
71
|
-
:choose-col="true"></export-excel>
|
|
72
|
-
<print-data :sum-field="$parent.$parent.getfield" :model="$parent.model" :field="$parent.$parent.getfield"
|
|
73
|
-
:defaultfield="$parent.$parent.defaultfield"
|
|
74
|
-
titletable="报错查询"
|
|
75
|
-
:sumsmodel="$parent.$parent.sumsmodel"></print-data>
|
|
76
|
-
|
|
77
|
-
</div>
|
|
78
|
-
</div>
|
|
79
|
-
|
|
80
|
-
</div>
|
|
81
|
-
</criteria>
|
|
82
|
-
|
|
83
|
-
<data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid>
|
|
84
|
-
<template partial='head'>
|
|
85
|
-
<tr>
|
|
86
|
-
<th>
|
|
87
|
-
<nobr>序号</nobr>
|
|
88
|
-
</th>
|
|
89
|
-
<th>
|
|
90
|
-
<nobr>用户编号</nobr>
|
|
91
|
-
</th>
|
|
92
|
-
<th>
|
|
93
|
-
<nobr>表号</nobr>
|
|
94
|
-
</th>
|
|
95
|
-
<th>
|
|
96
|
-
<nobr>抄表时间</nobr>
|
|
97
|
-
</th>
|
|
98
|
-
<th>
|
|
99
|
-
<nobr>操作类型</nobr>
|
|
100
|
-
</th>
|
|
101
|
-
<th>
|
|
102
|
-
<nobr>错误类型</nobr>
|
|
103
|
-
</th>
|
|
104
|
-
<th>
|
|
105
|
-
<nobr>错误信息</nobr>
|
|
106
|
-
</th>
|
|
107
|
-
<th>
|
|
108
|
-
<nobr>公司</nobr>
|
|
109
|
-
</th>
|
|
110
|
-
<th>
|
|
111
|
-
<nobr>部门</nobr>
|
|
112
|
-
</th>
|
|
113
|
-
<th>
|
|
114
|
-
<nobr>操作人</nobr>
|
|
115
|
-
</th>
|
|
116
|
-
</tr>
|
|
117
|
-
</template>
|
|
118
|
-
<template partial='body'>
|
|
119
|
-
<td style="text-align:center">
|
|
120
|
-
<nobr>{{$index+1}}</nobr>
|
|
121
|
-
</td>
|
|
122
|
-
<td style="text-align: center;">
|
|
123
|
-
<nobr>{{row.f_userinfo_code}}</nobr>
|
|
124
|
-
</td>
|
|
125
|
-
<td style="text-align: center;">
|
|
126
|
-
<nobr>{{row.f_meternumber}}</nobr>
|
|
127
|
-
</td>
|
|
128
|
-
<td style="text-align: center;">
|
|
129
|
-
<nobr>{{row.f_operator_date}}</nobr>
|
|
130
|
-
</td>
|
|
131
|
-
<td style="text-align: center;">
|
|
132
|
-
<nobr>{{row.f_operator_type}}</nobr>
|
|
133
|
-
</td>
|
|
134
|
-
<td style="text-align: center;">
|
|
135
|
-
<nobr>{{row.f_error_type}}</nobr>
|
|
136
|
-
</td>
|
|
137
|
-
<td style="text-align: center;">
|
|
138
|
-
<nobr>{{row.f_operator_info}}</nobr>
|
|
139
|
-
</td>
|
|
140
|
-
<td style="text-align: center;">
|
|
141
|
-
<nobr>{{row.f_orgname}}</nobr>
|
|
142
|
-
</td>
|
|
143
|
-
<td style="text-align: center;">
|
|
144
|
-
<nobr>{{row.f_depname}}</nobr>
|
|
145
|
-
</td>
|
|
146
|
-
<td style="text-align: center;">
|
|
147
|
-
<nobr>{{row.f_operator}}</nobr>
|
|
148
|
-
</td>
|
|
149
|
-
|
|
150
|
-
</template>
|
|
151
|
-
<template partial='foot'></template>
|
|
152
|
-
</data-grid>
|
|
153
|
-
</criteria-paged>
|
|
154
|
-
</div>
|
|
155
|
-
</div>
|
|
156
|
-
</div>
|
|
157
|
-
</template>
|
|
158
|
-
|
|
159
|
-
<script>
|
|
160
|
-
import {PagedList, HttpResetClass} from 'vue-client'
|
|
161
|
-
import defaultPrint from '../config/DefaultPrint'
|
|
162
|
-
import exportConfig from "../config/exportConfig";
|
|
163
|
-
import plugins from "../../../plugins/GetLoginInfoService";
|
|
164
|
-
|
|
165
|
-
let readySomething = async function (self) {
|
|
166
|
-
self.defaultfield = [...self.defaultfield, ...self.config.defaultPrint]
|
|
167
|
-
self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString()
|
|
168
|
-
self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString()
|
|
169
|
-
// await self.$refs.paged.$refs.cri.search()
|
|
170
|
-
await self.$MagLoadParams.loadParam()
|
|
171
|
-
self.initParams()
|
|
172
|
-
self.sumsmodel = self.$refs.paged.$refs.grid.model.sums
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
export default {
|
|
176
|
-
title: '错误查询',
|
|
177
|
-
data() {
|
|
178
|
-
return {
|
|
179
|
-
data: {},
|
|
180
|
-
model: new PagedList('rs/sql/battcherror', 20),
|
|
181
|
-
criteriaShow: false,
|
|
182
|
-
f_filialeid: this.$login.f.orgid,
|
|
183
|
-
//默认打印列
|
|
184
|
-
defaultfield: [],
|
|
185
|
-
config: {
|
|
186
|
-
defaultPrint: ['f_userinfo_code', 'f_bankname', 'f_error_type']
|
|
187
|
-
},
|
|
188
|
-
orgid:[this.$login.f.orgid],
|
|
189
|
-
//小区
|
|
190
|
-
residentialArea: [],
|
|
191
|
-
orgCondtionStr: '(' + this.$login.f.orgid + ')',
|
|
192
|
-
operatortype:[{label: '全部', value: ''}, ...this.$appdata.getParam('操作类型')?this.$appdata.getParam('操作类型'):[]],
|
|
193
|
-
errortype:[{label: '全部', value: ''}, ...this.$appdata.getParam('错误类型')?this.$appdata.getParam('错误类型'):[]],
|
|
194
|
-
//合计数据
|
|
195
|
-
}
|
|
196
|
-
},
|
|
197
|
-
ready() {
|
|
198
|
-
|
|
199
|
-
readySomething(this).then(() => {
|
|
200
|
-
this.$emit('ready')
|
|
201
|
-
}).catch((error) => {
|
|
202
|
-
this.$emit('error', error)
|
|
203
|
-
})
|
|
204
|
-
},
|
|
205
|
-
methods: {
|
|
206
|
-
selfSearch (args){
|
|
207
|
-
// console.log(this.f_filialeid,"++++++++",this.$login.f.orgid)
|
|
208
|
-
// if (this.orgCondtionStr){
|
|
209
|
-
// args.condition = `${args.condition}` + 'and f_orgid in ' + this.orgCondtionStr
|
|
210
|
-
// }else{
|
|
211
|
-
// args.condition = `${args.condition}` + 'and f_orgid in ' + '(' + this.$login.f.orgid + ')'
|
|
212
|
-
// }
|
|
213
|
-
this.model.search(args.condition, args.model)
|
|
214
|
-
},
|
|
215
|
-
getRes (obj) {
|
|
216
|
-
this.orgCondtionStr = plugins.convertToIn(obj)
|
|
217
|
-
},
|
|
218
|
-
clear() {
|
|
219
|
-
Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
|
|
220
|
-
this.$refs.paged.$refs.cri.model[key] = []
|
|
221
|
-
})
|
|
222
|
-
},
|
|
223
|
-
hidden() {
|
|
224
|
-
this.criteriaShow = !this.criteriaShow
|
|
225
|
-
}
|
|
226
|
-
},
|
|
227
|
-
computed: {
|
|
228
|
-
getCondition () {
|
|
229
|
-
var con = this.$refs.paged.$refs.cri.condition
|
|
230
|
-
// if (this.orgCondtionStr) {
|
|
231
|
-
// con = `${this.$refs.paged.$refs.cri.condition} and f_orgid in (${this.orgCondtionStr})`
|
|
232
|
-
// }
|
|
233
|
-
// else {
|
|
234
|
-
// con = `${this.$refs.paged.$refs.cri.condition}and f_orgid in ('${this.$login.f.orgid}' )`
|
|
235
|
-
// }
|
|
236
|
-
return {
|
|
237
|
-
condition: con
|
|
238
|
-
}
|
|
239
|
-
},
|
|
240
|
-
getfield() {
|
|
241
|
-
return exportConfig.Wrongquery
|
|
242
|
-
}
|
|
243
|
-
}
|
|
244
|
-
|
|
245
|
-
}
|
|
246
|
-
</script>
|
|
1
|
+
<template>
|
|
2
|
+
<div id="unit" class="flex-row">
|
|
3
|
+
<div class="basic-main">
|
|
4
|
+
<div class="flex">
|
|
5
|
+
|
|
6
|
+
<criteria-paged :model="model" v-ref:paged>
|
|
7
|
+
<criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
|
|
8
|
+
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
|
9
|
+
<div class="row">
|
|
10
|
+
<div class="col-sm-2 form-group">
|
|
11
|
+
<label for="startDate" class="font_normal_body">开始日期</label>
|
|
12
|
+
<datepicker id="startDate" placeholder="开始日期" style="width:60%"
|
|
13
|
+
v-model="model.startDate"
|
|
14
|
+
:value.sync="model.startDate"
|
|
15
|
+
:format="'yyyy-MM-dd'"
|
|
16
|
+
:show-reset-button="true"
|
|
17
|
+
condition="f_operator_date >= '{} 00:00:00'">
|
|
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
|
+
:format="'yyyy-MM-dd'"
|
|
26
|
+
:show-reset-button="true"
|
|
27
|
+
condition="f_operator_date <= '{} 23:59:59'">
|
|
28
|
+
</datepicker>
|
|
29
|
+
</div>
|
|
30
|
+
<div class="form-group col-sm-2" >
|
|
31
|
+
<label class="font_normal_body">操作类型</label>
|
|
32
|
+
<v-select :value.sync="model.f_operator_type" :value-single="true"
|
|
33
|
+
class="select_list select"
|
|
34
|
+
title="参数:抄表错误类型"
|
|
35
|
+
style="width: 60%"
|
|
36
|
+
v-model="model.f_operator_type"
|
|
37
|
+
:options='$parent.$parent.operatortype' placeholder='错误类型'
|
|
38
|
+
condition = "f_operator_type = '{}'"
|
|
39
|
+
close-on-select search="true">
|
|
40
|
+
</v-select>
|
|
41
|
+
</div>
|
|
42
|
+
<div class="form-group col-sm-2" >
|
|
43
|
+
<label class="font_normal_body">错误原因</label>
|
|
44
|
+
<v-select :value.sync="model.f_error_type" :value-single="true"
|
|
45
|
+
class="select_list select"
|
|
46
|
+
title="参数:错误原因"
|
|
47
|
+
style="width: 60%"
|
|
48
|
+
v-model="model.f_error_type"
|
|
49
|
+
:options='$parent.$parent.errortype' placeholder='错误原因'
|
|
50
|
+
condition = "f_error_type = '{}'"
|
|
51
|
+
close-on-select search="true">
|
|
52
|
+
</v-select>
|
|
53
|
+
</div>
|
|
54
|
+
|
|
55
|
+
<div class="col-sm-2 form-group" v-if="false">
|
|
56
|
+
<label class="font_normal_body">公  司</label>
|
|
57
|
+
<res-select :initresid="$parent.$parent.orgid"
|
|
58
|
+
style="width:60%"
|
|
59
|
+
@res-select="$parent.$parent.getRes"
|
|
60
|
+
|
|
61
|
+
restype='organization'>
|
|
62
|
+
</res-select>
|
|
63
|
+
</div>
|
|
64
|
+
|
|
65
|
+
<div class="span" style="float:right;">
|
|
66
|
+
<button class="button_search button_spacing" @click="search">查询</button>
|
|
67
|
+
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
68
|
+
<export-excel :data="$parent.$parent.getCondition"
|
|
69
|
+
:field="$parent.$parent.getfield"
|
|
70
|
+
sqlurl="rs/logic/exportfile" sql-name="battcherror" template-name='报错查询'
|
|
71
|
+
:choose-col="true"></export-excel>
|
|
72
|
+
<print-data :sum-field="$parent.$parent.getfield" :model="$parent.model" :field="$parent.$parent.getfield"
|
|
73
|
+
:defaultfield="$parent.$parent.defaultfield"
|
|
74
|
+
titletable="报错查询"
|
|
75
|
+
:sumsmodel="$parent.$parent.sumsmodel"></print-data>
|
|
76
|
+
|
|
77
|
+
</div>
|
|
78
|
+
</div>
|
|
79
|
+
|
|
80
|
+
</div>
|
|
81
|
+
</criteria>
|
|
82
|
+
|
|
83
|
+
<data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid>
|
|
84
|
+
<template partial='head'>
|
|
85
|
+
<tr>
|
|
86
|
+
<th>
|
|
87
|
+
<nobr>序号</nobr>
|
|
88
|
+
</th>
|
|
89
|
+
<th>
|
|
90
|
+
<nobr>用户编号</nobr>
|
|
91
|
+
</th>
|
|
92
|
+
<th>
|
|
93
|
+
<nobr>表号</nobr>
|
|
94
|
+
</th>
|
|
95
|
+
<th>
|
|
96
|
+
<nobr>抄表时间</nobr>
|
|
97
|
+
</th>
|
|
98
|
+
<th>
|
|
99
|
+
<nobr>操作类型</nobr>
|
|
100
|
+
</th>
|
|
101
|
+
<th>
|
|
102
|
+
<nobr>错误类型</nobr>
|
|
103
|
+
</th>
|
|
104
|
+
<th>
|
|
105
|
+
<nobr>错误信息</nobr>
|
|
106
|
+
</th>
|
|
107
|
+
<th>
|
|
108
|
+
<nobr>公司</nobr>
|
|
109
|
+
</th>
|
|
110
|
+
<th>
|
|
111
|
+
<nobr>部门</nobr>
|
|
112
|
+
</th>
|
|
113
|
+
<th>
|
|
114
|
+
<nobr>操作人</nobr>
|
|
115
|
+
</th>
|
|
116
|
+
</tr>
|
|
117
|
+
</template>
|
|
118
|
+
<template partial='body'>
|
|
119
|
+
<td style="text-align:center">
|
|
120
|
+
<nobr>{{$index+1}}</nobr>
|
|
121
|
+
</td>
|
|
122
|
+
<td style="text-align: center;">
|
|
123
|
+
<nobr>{{row.f_userinfo_code}}</nobr>
|
|
124
|
+
</td>
|
|
125
|
+
<td style="text-align: center;">
|
|
126
|
+
<nobr>{{row.f_meternumber}}</nobr>
|
|
127
|
+
</td>
|
|
128
|
+
<td style="text-align: center;">
|
|
129
|
+
<nobr>{{row.f_operator_date}}</nobr>
|
|
130
|
+
</td>
|
|
131
|
+
<td style="text-align: center;">
|
|
132
|
+
<nobr>{{row.f_operator_type}}</nobr>
|
|
133
|
+
</td>
|
|
134
|
+
<td style="text-align: center;">
|
|
135
|
+
<nobr>{{row.f_error_type}}</nobr>
|
|
136
|
+
</td>
|
|
137
|
+
<td style="text-align: center;">
|
|
138
|
+
<nobr>{{row.f_operator_info}}</nobr>
|
|
139
|
+
</td>
|
|
140
|
+
<td style="text-align: center;">
|
|
141
|
+
<nobr>{{row.f_orgname}}</nobr>
|
|
142
|
+
</td>
|
|
143
|
+
<td style="text-align: center;">
|
|
144
|
+
<nobr>{{row.f_depname}}</nobr>
|
|
145
|
+
</td>
|
|
146
|
+
<td style="text-align: center;">
|
|
147
|
+
<nobr>{{row.f_operator}}</nobr>
|
|
148
|
+
</td>
|
|
149
|
+
|
|
150
|
+
</template>
|
|
151
|
+
<template partial='foot'></template>
|
|
152
|
+
</data-grid>
|
|
153
|
+
</criteria-paged>
|
|
154
|
+
</div>
|
|
155
|
+
</div>
|
|
156
|
+
</div>
|
|
157
|
+
</template>
|
|
158
|
+
|
|
159
|
+
<script>
|
|
160
|
+
import {PagedList, HttpResetClass} from 'vue-client'
|
|
161
|
+
import defaultPrint from '../config/DefaultPrint'
|
|
162
|
+
import exportConfig from "../config/exportConfig";
|
|
163
|
+
import plugins from "../../../plugins/GetLoginInfoService";
|
|
164
|
+
|
|
165
|
+
let readySomething = async function (self) {
|
|
166
|
+
self.defaultfield = [...self.defaultfield, ...self.config.defaultPrint]
|
|
167
|
+
self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString()
|
|
168
|
+
self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString()
|
|
169
|
+
// await self.$refs.paged.$refs.cri.search()
|
|
170
|
+
await self.$MagLoadParams.loadParam()
|
|
171
|
+
self.initParams()
|
|
172
|
+
self.sumsmodel = self.$refs.paged.$refs.grid.model.sums
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
export default {
|
|
176
|
+
title: '错误查询',
|
|
177
|
+
data() {
|
|
178
|
+
return {
|
|
179
|
+
data: {},
|
|
180
|
+
model: new PagedList('rs/sql/battcherror', 20),
|
|
181
|
+
criteriaShow: false,
|
|
182
|
+
f_filialeid: this.$login.f.orgid,
|
|
183
|
+
//默认打印列
|
|
184
|
+
defaultfield: [],
|
|
185
|
+
config: {
|
|
186
|
+
defaultPrint: ['f_userinfo_code', 'f_bankname', 'f_error_type']
|
|
187
|
+
},
|
|
188
|
+
orgid:[this.$login.f.orgid],
|
|
189
|
+
//小区
|
|
190
|
+
residentialArea: [],
|
|
191
|
+
orgCondtionStr: '(' + this.$login.f.orgid + ')',
|
|
192
|
+
operatortype:[{label: '全部', value: ''}, ...this.$appdata.getParam('操作类型')?this.$appdata.getParam('操作类型'):[]],
|
|
193
|
+
errortype:[{label: '全部', value: ''}, ...this.$appdata.getParam('错误类型')?this.$appdata.getParam('错误类型'):[]],
|
|
194
|
+
//合计数据
|
|
195
|
+
}
|
|
196
|
+
},
|
|
197
|
+
ready() {
|
|
198
|
+
|
|
199
|
+
readySomething(this).then(() => {
|
|
200
|
+
this.$emit('ready')
|
|
201
|
+
}).catch((error) => {
|
|
202
|
+
this.$emit('error', error)
|
|
203
|
+
})
|
|
204
|
+
},
|
|
205
|
+
methods: {
|
|
206
|
+
selfSearch (args){
|
|
207
|
+
// console.log(this.f_filialeid,"++++++++",this.$login.f.orgid)
|
|
208
|
+
// if (this.orgCondtionStr){
|
|
209
|
+
// args.condition = `${args.condition}` + 'and f_orgid in ' + this.orgCondtionStr
|
|
210
|
+
// }else{
|
|
211
|
+
// args.condition = `${args.condition}` + 'and f_orgid in ' + '(' + this.$login.f.orgid + ')'
|
|
212
|
+
// }
|
|
213
|
+
this.model.search(args.condition, args.model)
|
|
214
|
+
},
|
|
215
|
+
getRes (obj) {
|
|
216
|
+
this.orgCondtionStr = plugins.convertToIn(obj)
|
|
217
|
+
},
|
|
218
|
+
clear() {
|
|
219
|
+
Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
|
|
220
|
+
this.$refs.paged.$refs.cri.model[key] = []
|
|
221
|
+
})
|
|
222
|
+
},
|
|
223
|
+
hidden() {
|
|
224
|
+
this.criteriaShow = !this.criteriaShow
|
|
225
|
+
}
|
|
226
|
+
},
|
|
227
|
+
computed: {
|
|
228
|
+
getCondition () {
|
|
229
|
+
var con = this.$refs.paged.$refs.cri.condition
|
|
230
|
+
// if (this.orgCondtionStr) {
|
|
231
|
+
// con = `${this.$refs.paged.$refs.cri.condition} and f_orgid in (${this.orgCondtionStr})`
|
|
232
|
+
// }
|
|
233
|
+
// else {
|
|
234
|
+
// con = `${this.$refs.paged.$refs.cri.condition}and f_orgid in ('${this.$login.f.orgid}' )`
|
|
235
|
+
// }
|
|
236
|
+
return {
|
|
237
|
+
condition: con
|
|
238
|
+
}
|
|
239
|
+
},
|
|
240
|
+
getfield() {
|
|
241
|
+
return exportConfig.Wrongquery
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
}
|
|
246
|
+
</script>
|