manage-client 1.22.55-ca → 1.22.56-ca
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 +5 -5
- package/package.json +1 -1
- package/src/components/sale/businessquery/AbndonQuery.vue +288 -288
- package/src/components/sale/businessquery/AbndonRecoveryQuery.vue +1 -1
- package/src/components/sale/businessquery/BusinessManage.vue +1 -1
- package/src/components/sale/config/exportConfig.js +180 -180
- package/src/components/sale/filesquery/MeterQuery.vue +1 -1
package/build/dev-server.js
CHANGED
|
@@ -8,11 +8,11 @@ var app = express()
|
|
|
8
8
|
var compiler = webpack(config)
|
|
9
9
|
// var proxy = httpProxy.createProxyServer()
|
|
10
10
|
|
|
11
|
-
var bendi = 'http://127.0.0.1:
|
|
11
|
+
var bendi = 'http://127.0.0.1:8080/', changan = 'http://192.168.2.84:7003/'
|
|
12
12
|
var proxyTable = {
|
|
13
13
|
// 查找资源服务数据
|
|
14
14
|
'/rs/sql/manageSingleTable': {
|
|
15
|
-
target:changan
|
|
15
|
+
target: changan
|
|
16
16
|
},
|
|
17
17
|
'/rs/sql/getNewUserLoseQuery': {
|
|
18
18
|
target: bendi
|
|
@@ -42,7 +42,7 @@ var proxyTable = {
|
|
|
42
42
|
target: bendi
|
|
43
43
|
},
|
|
44
44
|
'/rs/sql/AbndonQuery': {
|
|
45
|
-
target:
|
|
45
|
+
target: bendi
|
|
46
46
|
},
|
|
47
47
|
'/rs/search': {
|
|
48
48
|
target: changan
|
|
@@ -73,11 +73,11 @@ var proxyTable = {
|
|
|
73
73
|
target: changan
|
|
74
74
|
},
|
|
75
75
|
'/rs/logic/exportfile': {
|
|
76
|
-
target:
|
|
76
|
+
target: bendi
|
|
77
77
|
},
|
|
78
78
|
'/rs': {
|
|
79
79
|
//target: changan
|
|
80
|
-
target:
|
|
80
|
+
target: bendi
|
|
81
81
|
}
|
|
82
82
|
}
|
|
83
83
|
var devMiddleware = require('webpack-dev-middleware')(compiler, {
|
package/package.json
CHANGED
|
@@ -1,288 +1,288 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div style="flex:1;overflow: hidden !important;" class="flex">
|
|
3
|
-
<criteria-paged :model="model" v-ref:paged>
|
|
4
|
-
<criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
|
|
5
|
-
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
|
6
|
-
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
7
|
-
<div class="col-sm-1-5 form-group form-fix-width" >
|
|
8
|
-
<label class="font_normal_body _zoom4" >卡号</label>
|
|
9
|
-
<input type="text" class="form-control" v-numfilter v-model="model.f_userinfo_code" style="width: 60%"
|
|
10
|
-
condition="f_userinfo_code = '{}' " placeholder="卡号">
|
|
11
|
-
</div>
|
|
12
|
-
<div class="col-sm-1-5 form-group form-fix-width" >
|
|
13
|
-
<label class="font_normal_body _zoom4" >用户姓名</label>
|
|
14
|
-
<input type="text" class="form-control" v-model="model.f_user_name" style="width: 60%"
|
|
15
|
-
condition=" f_user_name like '%{}%'" placeholder='用户姓名'>
|
|
16
|
-
</div>
|
|
17
|
-
<div class="col-sm-1-5 form-group form-fix-width" >
|
|
18
|
-
<label class="font_normal_body _zoom4" >用户地址</label>
|
|
19
|
-
<input type="text" class="form-control" v-model="model.f_address" style="width: 60%"
|
|
20
|
-
condition="f_address like '%{}%'" placeholder='用户地址'>
|
|
21
|
-
</div>
|
|
22
|
-
<div class="col-sm-1-5 form-group form-fix-width" >
|
|
23
|
-
<label for="startDate" class="font_normal_body _zoom4" >开始日期</label>
|
|
24
|
-
<datepicker id="startDate" placeholder="开始日期" style="width: 60%"
|
|
25
|
-
v-model="model.startDate"
|
|
26
|
-
:value.sync="model.startDate"
|
|
27
|
-
:format="'yyyy-MM-dd'"
|
|
28
|
-
:show-reset-button="true"
|
|
29
|
-
condition="f_operate_date >= to_date('{} 00:00:00','yyyy-mm-dd hh24:mi:ss')">
|
|
30
|
-
</datepicker>
|
|
31
|
-
</div>
|
|
32
|
-
<div class="col-sm-1-5 form-group form-fix-width" >
|
|
33
|
-
<label for="endDate" class="font_normal_body _zoom4" >结束日期</label>
|
|
34
|
-
<datepicker id="endDate" placeholder="结束日期" style="width: 60%"
|
|
35
|
-
v-model="model.endDate"
|
|
36
|
-
:value.sync="model.endDate"
|
|
37
|
-
:format="'yyyy-MM-dd'"
|
|
38
|
-
:show-reset-button="true"
|
|
39
|
-
condition="f_operate_date <= to_date('{} 23:59:59','yyyy-mm-dd hh24:mi:ss')">
|
|
40
|
-
</datepicker>
|
|
41
|
-
</div>
|
|
42
|
-
|
|
43
|
-
</div>
|
|
44
|
-
<div class="row">
|
|
45
|
-
<div style="float:right" :class="{'_btnclitested':!$parent.$parent.criteriaShow}">
|
|
46
|
-
<button class="btn btn-success" @click="search()">查询</button>
|
|
47
|
-
<button class="btn btn-default" @click="$parent.$parent.clear()">清空</button>
|
|
48
|
-
<!--<button class="btn btn-default" @click="$parent.$parent.stamp()">打印</button>-->
|
|
49
|
-
|
|
50
|
-
<export-excel :data="$parent.$parent.getCondition"
|
|
51
|
-
:field="$parent.$parent.getfield"
|
|
52
|
-
sqlurl="rs/logic/exportfile" sql-name="AbndonQueryExport" template-name='弃用查询导出' :choose-col="true"></export-excel>
|
|
53
|
-
<div
|
|
54
|
-
:class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
|
|
55
|
-
@click="$parent.$parent.hidden()" class="button_spacing" style="float: right"></div>
|
|
56
|
-
</div>
|
|
57
|
-
</div>
|
|
58
|
-
</div>
|
|
59
|
-
</criteria>
|
|
60
|
-
|
|
61
|
-
<data-grid :model="model" partial='list' v-ref:grid >
|
|
62
|
-
<template partial='head'>
|
|
63
|
-
<tr>
|
|
64
|
-
<th><nobr>卡号</nobr></th>
|
|
65
|
-
<th><nobr>用户姓名</nobr></th>
|
|
66
|
-
<th><nobr>用户地址</nobr></th>
|
|
67
|
-
<th><nobr>弃用原因</nobr></th>
|
|
68
|
-
<th style="padding: 10px 150px"><nobr>备注</nobr></th>
|
|
69
|
-
<th><nobr>状态</nobr></th>
|
|
70
|
-
<th><nobr>弃用前状态</nobr></th>
|
|
71
|
-
<th><nobr>弃用日期</nobr></th>
|
|
72
|
-
<th><nobr>操作员</nobr></th>
|
|
73
|
-
<th><nobr>营业网点</nobr></th>
|
|
74
|
-
<th><nobr>分公司</nobr></th>
|
|
75
|
-
</tr>
|
|
76
|
-
</template>
|
|
77
|
-
<template partial='body'>
|
|
78
|
-
<td style="text-align: center;"><nobr>
|
|
79
|
-
<span @click="$parent.$parent.$parent.dealmsg(row)"><a>{{row.f_userinfo_code}}</a></span></nobr></td>
|
|
80
|
-
<td style="text-align: center;"><nobr>{{row.f_user_name}}</nobr></td>
|
|
81
|
-
<td style="text-align: center;"><nobr>{{row.f_address}}</nobr></td>
|
|
82
|
-
<td style="text-align: center;"><nobr>{{row.f_reason}} {{row.f_othereason}}</nobr></td>
|
|
83
|
-
<td style="text-align: center;word-break: break-word;">
|
|
84
|
-
<p :id="'f_remark-'+$index" style="display: -webkit-box;-webkit-box-orient: vertical;-webkit-line-clamp: 1;overflow: hidden;margin: 0"
|
|
85
|
-
@click="$parent.$parent.$parent.p_click('f_remark-'+$index,'f_remarkinput-'+$index)">
|
|
86
|
-
{{row.f_remark}}</p>
|
|
87
|
-
<textarea rows="2" style="display: none;margin: 0;width: 100%;border: 1px solid #e4f9f5"
|
|
88
|
-
@blur="$parent.$parent.$parent.input_blur('f_remark-'+$index,'f_remarkinput-'+$index)"
|
|
89
|
-
:id="'f_remarkinput-'+$index" >{{row.f_remark}}</textarea>
|
|
90
|
-
</td>
|
|
91
|
-
<td style="text-align: center;"><nobr>{{row.f_state}}</nobr></td>
|
|
92
|
-
<td style="text-align: center;"><nobr>{{row.f_table_state}}</nobr></td>
|
|
93
|
-
<td style="text-align: center;"><nobr>{{row.f_operate_date}}</nobr></td>
|
|
94
|
-
<td style="text-align: center;"><nobr>{{row.f_operator}}</nobr></td>
|
|
95
|
-
<td style="text-align: center;"><nobr>{{row.f_outlets}}</nobr></td>
|
|
96
|
-
<td style="text-align: center;"><nobr>{{row.f_filiale}}</nobr></td>
|
|
97
|
-
</template>
|
|
98
|
-
<template partial='foot'></template>
|
|
99
|
-
</data-grid>
|
|
100
|
-
</criteria-paged>
|
|
101
|
-
|
|
102
|
-
<table class="table-hover">
|
|
103
|
-
<tr class="table-bordered">
|
|
104
|
-
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">汇总信息</td>
|
|
105
|
-
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px">合计: {{sumsmodel.f_fillgas}}</td>
|
|
106
|
-
</tr>
|
|
107
|
-
</table>
|
|
108
|
-
<!--<colligate-details :showinfo="showinfo" :businesstype="businesstype" :data="data" @close-info="showinfo=false"></colligate-details>-->
|
|
109
|
-
<!--<modal :show.sync="printshow" v-ref:modal backdrop="false">-->
|
|
110
|
-
<!--<header slot="modal-header" class="modal-header text-center">-->
|
|
111
|
-
<!--<h4 class="modal-title">打印列选择</h4>-->
|
|
112
|
-
<!--<input type="checkbox" class="" id="f_generations" v-model="all">-->
|
|
113
|
-
<!--<label for="f_generations" class="font-size">全选</label>-->
|
|
114
|
-
<!--</header>-->
|
|
115
|
-
<!--<article slot="modal-body">-->
|
|
116
|
-
<!--<div class="auto col-sm-11 col-md-offset-1" style="margin-top: 10px;">-->
|
|
117
|
-
<!--<div class="col-sm-3" v-for="f in fields">-->
|
|
118
|
-
<!--<input type="checkbox" class="" :id="'water-owe-details-'+$index" v-model="modelval" :value="$key">-->
|
|
119
|
-
<!--<label :for="'water-owe-details-'+$index" class="font-size">{{f}}</label>-->
|
|
120
|
-
<!--</div>-->
|
|
121
|
-
<!--</div>-->
|
|
122
|
-
<!--</article>-->
|
|
123
|
-
<!--<footer slot="modal-footer" class="modal-footer">-->
|
|
124
|
-
<!--<center>-->
|
|
125
|
-
<!--<button v-show="printshow" type="button" class="btn btn-default" @click='close()'>取消</button>-->
|
|
126
|
-
<!--<button v-show="printshow" type="button" class="btn btn-success" @click='print()'>打印</button>-->
|
|
127
|
-
<!--<print-table :model='model' v-show="false" v-ref:print-->
|
|
128
|
-
<!--:top='40' :left='60' :right='40' :bottom='60'-->
|
|
129
|
-
<!--:thead="thead" :tfoot='tfoot' :attach="yangsen"-->
|
|
130
|
-
<!--:fields="modelval" :printpage="true">-->
|
|
131
|
-
<!--</print-table>-->
|
|
132
|
-
<!--</center>-->
|
|
133
|
-
<!--</footer>-->
|
|
134
|
-
<!--</modal>-->
|
|
135
|
-
</div>
|
|
136
|
-
</template>
|
|
137
|
-
|
|
138
|
-
<script>
|
|
139
|
-
import { PagedList } from 'vue-client'
|
|
140
|
-
import defaultPrint from '../config/DefaultPrint'
|
|
141
|
-
import exportConfig from '../config/exportConfig'
|
|
142
|
-
|
|
143
|
-
let readySomething = async function (self) {
|
|
144
|
-
self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString()
|
|
145
|
-
self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString()
|
|
146
|
-
//self.$refs.paged.$refs.cri.model.f_sendsuccess = ['有效']
|
|
147
|
-
/* await self.$refs.paged.$refs.cri.search()
|
|
148
|
-
self.sumsmodel = self.$refs.paged.$refs.grid.model.sums*/
|
|
149
|
-
}
|
|
150
|
-
export default {
|
|
151
|
-
data() {
|
|
152
|
-
return {
|
|
153
|
-
data: {},
|
|
154
|
-
model: new PagedList('rs/sql/AbndonQuery', 20,{tablename:' "t_abandon" '}),
|
|
155
|
-
criteriaShow: true,
|
|
156
|
-
headData: ["用户编号","用户姓名","操作人","操作日期","弃用状态","弃用原因","其他弃用原因","同步状态"],
|
|
157
|
-
bodyData: ["f_userinfo_id", "f_user_name", "f_operator", "f_operate_date", "f_state", "f_reason", "f_othereason", "f_sendsuccess"],
|
|
158
|
-
|
|
159
|
-
filialeNameStr: null,
|
|
160
|
-
filialeCodeStr: this.$login.f.f_orgids,
|
|
161
|
-
userid: this.$login.f.id,
|
|
162
|
-
source:`tool.getFullTree(this.getRights().where(row.getType() != $zone$).where(row.getType() != $role$))`,
|
|
163
|
-
|
|
164
|
-
modelval: [],
|
|
165
|
-
printshow: false,
|
|
166
|
-
all: false,
|
|
167
|
-
fields: {},
|
|
168
|
-
thead: '',
|
|
169
|
-
tfoot: '',
|
|
170
|
-
//合计数据
|
|
171
|
-
sumsmodel: {}
|
|
172
|
-
}
|
|
173
|
-
},
|
|
174
|
-
ready(){
|
|
175
|
-
readySomething(this).then(() => {
|
|
176
|
-
this.$emit('ready')
|
|
177
|
-
}).catch((error) => {
|
|
178
|
-
this.$emit('error', error)
|
|
179
|
-
})
|
|
180
|
-
},
|
|
181
|
-
methods: {
|
|
182
|
-
//p标签点击方法
|
|
183
|
-
p_click(p_id,i_id){
|
|
184
|
-
document.getElementById(p_id).style.display="none"
|
|
185
|
-
document.getElementById(i_id).style.display="inline-block"
|
|
186
|
-
document.getElementById(i_id).select()
|
|
187
|
-
console.log(p_id,i_id)
|
|
188
|
-
},
|
|
189
|
-
//input失去焦点方法
|
|
190
|
-
input_blur(p_id,i_id){
|
|
191
|
-
document.getElementById(p_id).style.display="-webkit-box"
|
|
192
|
-
document.getElementById(i_id).style.display="none"
|
|
193
|
-
console.log(p_id,i_id)
|
|
194
|
-
},
|
|
195
|
-
selfSearch (args) {
|
|
196
|
-
this.model.search(args.condition, args.model)
|
|
197
|
-
this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
|
|
198
|
-
},
|
|
199
|
-
clear(){
|
|
200
|
-
Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
|
|
201
|
-
this.$refs.paged.$refs.cri.model[key] = ''
|
|
202
|
-
})
|
|
203
|
-
},
|
|
204
|
-
show(){
|
|
205
|
-
this.criteriaShow = true
|
|
206
|
-
},
|
|
207
|
-
hidden(){
|
|
208
|
-
this.criteriaShow = !this.criteriaShow
|
|
209
|
-
},
|
|
210
|
-
getRes(obj) {
|
|
211
|
-
this.filialeNameStr = obj.res
|
|
212
|
-
this.filialeCodeStr = obj.resids
|
|
213
|
-
},
|
|
214
|
-
stamp () {
|
|
215
|
-
this.all = false
|
|
216
|
-
//默认选择要打印的列
|
|
217
|
-
this.modelval = defaultPrint.config
|
|
218
|
-
this.fields = this.getfield
|
|
219
|
-
console.log('所有打印字段',this.fields)
|
|
220
|
-
this.printshow = true
|
|
221
|
-
this.put()
|
|
222
|
-
},
|
|
223
|
-
put () {
|
|
224
|
-
// 对Modelval进行排序
|
|
225
|
-
this.sortModelval()
|
|
226
|
-
this.thead = `<tr><th colspan=${this.modelval.length}>启用查询报表</th></tr><tr>`
|
|
227
|
-
for (let key of this.modelval) {
|
|
228
|
-
this.thead += '<th>' + this.fields[key] + '</th>'
|
|
229
|
-
}
|
|
230
|
-
this.thead += '</tr>'
|
|
231
|
-
},
|
|
232
|
-
dealmsg (val) {
|
|
233
|
-
console.log('---------------dealmsg')
|
|
234
|
-
val.model = this.model.model
|
|
235
|
-
this.$dispatch('deal-msg',val)
|
|
236
|
-
},
|
|
237
|
-
print () {
|
|
238
|
-
this.$refs.print.PrintAsFile()
|
|
239
|
-
this.printshow = false
|
|
240
|
-
},
|
|
241
|
-
close () {
|
|
242
|
-
this.printshow = false
|
|
243
|
-
this.all = false
|
|
244
|
-
},
|
|
245
|
-
// 对选择的列进行排序
|
|
246
|
-
sortModelval () {
|
|
247
|
-
let sortModel = []
|
|
248
|
-
Object.keys(this.fields).forEach((key) => {
|
|
249
|
-
if (this.modelval.includes(key)) {
|
|
250
|
-
sortModel.push(key)
|
|
251
|
-
}
|
|
252
|
-
})
|
|
253
|
-
this.modelval = sortModel
|
|
254
|
-
console.log('选择的打印的字段', this.modelval)
|
|
255
|
-
}
|
|
256
|
-
},
|
|
257
|
-
watch:{
|
|
258
|
-
'all' (val) {
|
|
259
|
-
if (val) {
|
|
260
|
-
this.modelval = this.bodyData
|
|
261
|
-
} else {
|
|
262
|
-
this.modelval = defaultPrint.config
|
|
263
|
-
this.put()
|
|
264
|
-
}
|
|
265
|
-
},
|
|
266
|
-
'modelval.length' () {
|
|
267
|
-
this.put()
|
|
268
|
-
},
|
|
269
|
-
},
|
|
270
|
-
computed:{
|
|
271
|
-
getCondition(){
|
|
272
|
-
return {condition: `${this.$refs.paged.$refs.cri.condition} `}
|
|
273
|
-
},
|
|
274
|
-
getfield(){
|
|
275
|
-
return exportConfig.abndonConfig
|
|
276
|
-
}
|
|
277
|
-
}
|
|
278
|
-
}
|
|
279
|
-
</script>
|
|
280
|
-
<style scoped>
|
|
281
|
-
.cell{
|
|
282
|
-
width:500px
|
|
283
|
-
}
|
|
284
|
-
.sp{
|
|
285
|
-
width: 500px;
|
|
286
|
-
word-break: break-word;
|
|
287
|
-
}
|
|
288
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div style="flex:1;overflow: hidden !important;" class="flex">
|
|
3
|
+
<criteria-paged :model="model" v-ref:paged>
|
|
4
|
+
<criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
|
|
5
|
+
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
|
6
|
+
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
7
|
+
<div class="col-sm-1-5 form-group form-fix-width" >
|
|
8
|
+
<label class="font_normal_body _zoom4" >卡号</label>
|
|
9
|
+
<input type="text" class="form-control" v-numfilter v-model="model.f_userinfo_code" style="width: 60%"
|
|
10
|
+
condition="f_userinfo_code = '{}' " placeholder="卡号">
|
|
11
|
+
</div>
|
|
12
|
+
<div class="col-sm-1-5 form-group form-fix-width" >
|
|
13
|
+
<label class="font_normal_body _zoom4" >用户姓名</label>
|
|
14
|
+
<input type="text" class="form-control" v-model="model.f_user_name" style="width: 60%"
|
|
15
|
+
condition=" f_user_name like '%{}%'" placeholder='用户姓名'>
|
|
16
|
+
</div>
|
|
17
|
+
<div class="col-sm-1-5 form-group form-fix-width" >
|
|
18
|
+
<label class="font_normal_body _zoom4" >用户地址</label>
|
|
19
|
+
<input type="text" class="form-control" v-model="model.f_address" style="width: 60%"
|
|
20
|
+
condition="f_address like '%{}%'" placeholder='用户地址'>
|
|
21
|
+
</div>
|
|
22
|
+
<div class="col-sm-1-5 form-group form-fix-width" >
|
|
23
|
+
<label for="startDate" class="font_normal_body _zoom4" >开始日期</label>
|
|
24
|
+
<datepicker id="startDate" placeholder="开始日期" style="width: 60%"
|
|
25
|
+
v-model="model.startDate"
|
|
26
|
+
:value.sync="model.startDate"
|
|
27
|
+
:format="'yyyy-MM-dd'"
|
|
28
|
+
:show-reset-button="true"
|
|
29
|
+
condition="f_operate_date >= to_date('{} 00:00:00','yyyy-mm-dd hh24:mi:ss')">
|
|
30
|
+
</datepicker>
|
|
31
|
+
</div>
|
|
32
|
+
<div class="col-sm-1-5 form-group form-fix-width" >
|
|
33
|
+
<label for="endDate" class="font_normal_body _zoom4" >结束日期</label>
|
|
34
|
+
<datepicker id="endDate" placeholder="结束日期" style="width: 60%"
|
|
35
|
+
v-model="model.endDate"
|
|
36
|
+
:value.sync="model.endDate"
|
|
37
|
+
:format="'yyyy-MM-dd'"
|
|
38
|
+
:show-reset-button="true"
|
|
39
|
+
condition="f_operate_date <= to_date('{} 23:59:59','yyyy-mm-dd hh24:mi:ss')">
|
|
40
|
+
</datepicker>
|
|
41
|
+
</div>
|
|
42
|
+
|
|
43
|
+
</div>
|
|
44
|
+
<div class="row">
|
|
45
|
+
<div style="float:right" :class="{'_btnclitested':!$parent.$parent.criteriaShow}">
|
|
46
|
+
<button class="btn btn-success" @click="search()">查询</button>
|
|
47
|
+
<button class="btn btn-default" @click="$parent.$parent.clear()">清空</button>
|
|
48
|
+
<!--<button class="btn btn-default" @click="$parent.$parent.stamp()">打印</button>-->
|
|
49
|
+
|
|
50
|
+
<export-excel :data="$parent.$parent.getCondition"
|
|
51
|
+
:field="$parent.$parent.getfield"
|
|
52
|
+
sqlurl="rs/logic/exportfile" sql-name="AbndonQueryExport" template-name='弃用查询导出' :choose-col="true"></export-excel>
|
|
53
|
+
<div
|
|
54
|
+
:class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
|
|
55
|
+
@click="$parent.$parent.hidden()" class="button_spacing" style="float: right"></div>
|
|
56
|
+
</div>
|
|
57
|
+
</div>
|
|
58
|
+
</div>
|
|
59
|
+
</criteria>
|
|
60
|
+
|
|
61
|
+
<data-grid :model="model" partial='list' v-ref:grid >
|
|
62
|
+
<template partial='head'>
|
|
63
|
+
<tr>
|
|
64
|
+
<th><nobr>卡号</nobr></th>
|
|
65
|
+
<th><nobr>用户姓名</nobr></th>
|
|
66
|
+
<th><nobr>用户地址</nobr></th>
|
|
67
|
+
<th><nobr>弃用原因</nobr></th>
|
|
68
|
+
<th style="padding: 10px 150px"><nobr>备注</nobr></th>
|
|
69
|
+
<th><nobr>状态</nobr></th>
|
|
70
|
+
<th><nobr>弃用前状态</nobr></th>
|
|
71
|
+
<th><nobr>弃用日期</nobr></th>
|
|
72
|
+
<th><nobr>操作员</nobr></th>
|
|
73
|
+
<th><nobr>营业网点</nobr></th>
|
|
74
|
+
<th><nobr>分公司</nobr></th>
|
|
75
|
+
</tr>
|
|
76
|
+
</template>
|
|
77
|
+
<template partial='body'>
|
|
78
|
+
<td style="text-align: center;"><nobr>
|
|
79
|
+
<span @click="$parent.$parent.$parent.dealmsg(row)"><a>{{row.f_userinfo_code}}</a></span></nobr></td>
|
|
80
|
+
<td style="text-align: center;"><nobr>{{row.f_user_name}}</nobr></td>
|
|
81
|
+
<td style="text-align: center;"><nobr>{{row.f_address}}</nobr></td>
|
|
82
|
+
<td style="text-align: center;"><nobr>{{row.f_reason}} {{row.f_othereason}}</nobr></td>
|
|
83
|
+
<td style="text-align: center;word-break: break-word;">
|
|
84
|
+
<p :id="'f_remark-'+$index" style="display: -webkit-box;-webkit-box-orient: vertical;-webkit-line-clamp: 1;overflow: hidden;margin: 0"
|
|
85
|
+
@click="$parent.$parent.$parent.p_click('f_remark-'+$index,'f_remarkinput-'+$index)">
|
|
86
|
+
{{row.f_remark}}</p>
|
|
87
|
+
<textarea rows="2" style="display: none;margin: 0;width: 100%;border: 1px solid #e4f9f5"
|
|
88
|
+
@blur="$parent.$parent.$parent.input_blur('f_remark-'+$index,'f_remarkinput-'+$index)"
|
|
89
|
+
:id="'f_remarkinput-'+$index" >{{row.f_remark}}</textarea>
|
|
90
|
+
</td>
|
|
91
|
+
<td style="text-align: center;"><nobr>{{row.f_state}}</nobr></td>
|
|
92
|
+
<td style="text-align: center;"><nobr>{{row.f_table_state}}</nobr></td>
|
|
93
|
+
<td style="text-align: center;"><nobr>{{row.f_operate_date}}</nobr></td>
|
|
94
|
+
<td style="text-align: center;"><nobr>{{row.f_operator}}</nobr></td>
|
|
95
|
+
<td style="text-align: center;"><nobr>{{row.f_outlets}}</nobr></td>
|
|
96
|
+
<td style="text-align: center;"><nobr>{{row.f_filiale}}</nobr></td>
|
|
97
|
+
</template>
|
|
98
|
+
<template partial='foot'></template>
|
|
99
|
+
</data-grid>
|
|
100
|
+
</criteria-paged>
|
|
101
|
+
|
|
102
|
+
<table class="table-hover">
|
|
103
|
+
<tr class="table-bordered">
|
|
104
|
+
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">汇总信息</td>
|
|
105
|
+
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px">合计: {{sumsmodel.f_fillgas}}</td>
|
|
106
|
+
</tr>
|
|
107
|
+
</table>
|
|
108
|
+
<!--<colligate-details :showinfo="showinfo" :businesstype="businesstype" :data="data" @close-info="showinfo=false"></colligate-details>-->
|
|
109
|
+
<!--<modal :show.sync="printshow" v-ref:modal backdrop="false">-->
|
|
110
|
+
<!--<header slot="modal-header" class="modal-header text-center">-->
|
|
111
|
+
<!--<h4 class="modal-title">打印列选择</h4>-->
|
|
112
|
+
<!--<input type="checkbox" class="" id="f_generations" v-model="all">-->
|
|
113
|
+
<!--<label for="f_generations" class="font-size">全选</label>-->
|
|
114
|
+
<!--</header>-->
|
|
115
|
+
<!--<article slot="modal-body">-->
|
|
116
|
+
<!--<div class="auto col-sm-11 col-md-offset-1" style="margin-top: 10px;">-->
|
|
117
|
+
<!--<div class="col-sm-3" v-for="f in fields">-->
|
|
118
|
+
<!--<input type="checkbox" class="" :id="'water-owe-details-'+$index" v-model="modelval" :value="$key">-->
|
|
119
|
+
<!--<label :for="'water-owe-details-'+$index" class="font-size">{{f}}</label>-->
|
|
120
|
+
<!--</div>-->
|
|
121
|
+
<!--</div>-->
|
|
122
|
+
<!--</article>-->
|
|
123
|
+
<!--<footer slot="modal-footer" class="modal-footer">-->
|
|
124
|
+
<!--<center>-->
|
|
125
|
+
<!--<button v-show="printshow" type="button" class="btn btn-default" @click='close()'>取消</button>-->
|
|
126
|
+
<!--<button v-show="printshow" type="button" class="btn btn-success" @click='print()'>打印</button>-->
|
|
127
|
+
<!--<print-table :model='model' v-show="false" v-ref:print-->
|
|
128
|
+
<!--:top='40' :left='60' :right='40' :bottom='60'-->
|
|
129
|
+
<!--:thead="thead" :tfoot='tfoot' :attach="yangsen"-->
|
|
130
|
+
<!--:fields="modelval" :printpage="true">-->
|
|
131
|
+
<!--</print-table>-->
|
|
132
|
+
<!--</center>-->
|
|
133
|
+
<!--</footer>-->
|
|
134
|
+
<!--</modal>-->
|
|
135
|
+
</div>
|
|
136
|
+
</template>
|
|
137
|
+
|
|
138
|
+
<script>
|
|
139
|
+
import { PagedList } from 'vue-client'
|
|
140
|
+
import defaultPrint from '../config/DefaultPrint'
|
|
141
|
+
import exportConfig from '../config/exportConfig'
|
|
142
|
+
|
|
143
|
+
let readySomething = async function (self) {
|
|
144
|
+
self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString()
|
|
145
|
+
self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString()
|
|
146
|
+
//self.$refs.paged.$refs.cri.model.f_sendsuccess = ['有效']
|
|
147
|
+
/* await self.$refs.paged.$refs.cri.search()
|
|
148
|
+
self.sumsmodel = self.$refs.paged.$refs.grid.model.sums*/
|
|
149
|
+
}
|
|
150
|
+
export default {
|
|
151
|
+
data() {
|
|
152
|
+
return {
|
|
153
|
+
data: {},
|
|
154
|
+
model: new PagedList('rs/sql/AbndonQuery', 20,{tablename:' "t_abandon" '}),
|
|
155
|
+
criteriaShow: true,
|
|
156
|
+
headData: ["用户编号","用户姓名","操作人","操作日期","弃用状态","弃用原因","其他弃用原因","同步状态"],
|
|
157
|
+
bodyData: ["f_userinfo_id", "f_user_name", "f_operator", "f_operate_date", "f_state", "f_reason", "f_othereason", "f_sendsuccess"],
|
|
158
|
+
|
|
159
|
+
filialeNameStr: null,
|
|
160
|
+
filialeCodeStr: this.$login.f.f_orgids,
|
|
161
|
+
userid: this.$login.f.id,
|
|
162
|
+
source:`tool.getFullTree(this.getRights().where(row.getType() != $zone$).where(row.getType() != $role$))`,
|
|
163
|
+
|
|
164
|
+
modelval: [],
|
|
165
|
+
printshow: false,
|
|
166
|
+
all: false,
|
|
167
|
+
fields: {},
|
|
168
|
+
thead: '',
|
|
169
|
+
tfoot: '',
|
|
170
|
+
//合计数据
|
|
171
|
+
sumsmodel: {}
|
|
172
|
+
}
|
|
173
|
+
},
|
|
174
|
+
ready(){
|
|
175
|
+
readySomething(this).then(() => {
|
|
176
|
+
this.$emit('ready')
|
|
177
|
+
}).catch((error) => {
|
|
178
|
+
this.$emit('error', error)
|
|
179
|
+
})
|
|
180
|
+
},
|
|
181
|
+
methods: {
|
|
182
|
+
//p标签点击方法
|
|
183
|
+
p_click(p_id,i_id){
|
|
184
|
+
document.getElementById(p_id).style.display="none"
|
|
185
|
+
document.getElementById(i_id).style.display="inline-block"
|
|
186
|
+
document.getElementById(i_id).select()
|
|
187
|
+
console.log(p_id,i_id)
|
|
188
|
+
},
|
|
189
|
+
//input失去焦点方法
|
|
190
|
+
input_blur(p_id,i_id){
|
|
191
|
+
document.getElementById(p_id).style.display="-webkit-box"
|
|
192
|
+
document.getElementById(i_id).style.display="none"
|
|
193
|
+
console.log(p_id,i_id)
|
|
194
|
+
},
|
|
195
|
+
selfSearch (args) {
|
|
196
|
+
this.model.search(args.condition, args.model)
|
|
197
|
+
this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
|
|
198
|
+
},
|
|
199
|
+
clear(){
|
|
200
|
+
Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
|
|
201
|
+
this.$refs.paged.$refs.cri.model[key] = ''
|
|
202
|
+
})
|
|
203
|
+
},
|
|
204
|
+
show(){
|
|
205
|
+
this.criteriaShow = true
|
|
206
|
+
},
|
|
207
|
+
hidden(){
|
|
208
|
+
this.criteriaShow = !this.criteriaShow
|
|
209
|
+
},
|
|
210
|
+
getRes(obj) {
|
|
211
|
+
this.filialeNameStr = obj.res
|
|
212
|
+
this.filialeCodeStr = obj.resids
|
|
213
|
+
},
|
|
214
|
+
stamp () {
|
|
215
|
+
this.all = false
|
|
216
|
+
//默认选择要打印的列
|
|
217
|
+
this.modelval = defaultPrint.config
|
|
218
|
+
this.fields = this.getfield
|
|
219
|
+
console.log('所有打印字段',this.fields)
|
|
220
|
+
this.printshow = true
|
|
221
|
+
this.put()
|
|
222
|
+
},
|
|
223
|
+
put () {
|
|
224
|
+
// 对Modelval进行排序
|
|
225
|
+
this.sortModelval()
|
|
226
|
+
this.thead = `<tr><th colspan=${this.modelval.length}>启用查询报表</th></tr><tr>`
|
|
227
|
+
for (let key of this.modelval) {
|
|
228
|
+
this.thead += '<th>' + this.fields[key] + '</th>'
|
|
229
|
+
}
|
|
230
|
+
this.thead += '</tr>'
|
|
231
|
+
},
|
|
232
|
+
dealmsg (val) {
|
|
233
|
+
console.log('---------------dealmsg')
|
|
234
|
+
val.model = this.model.model
|
|
235
|
+
this.$dispatch('deal-msg',val)
|
|
236
|
+
},
|
|
237
|
+
print () {
|
|
238
|
+
this.$refs.print.PrintAsFile()
|
|
239
|
+
this.printshow = false
|
|
240
|
+
},
|
|
241
|
+
close () {
|
|
242
|
+
this.printshow = false
|
|
243
|
+
this.all = false
|
|
244
|
+
},
|
|
245
|
+
// 对选择的列进行排序
|
|
246
|
+
sortModelval () {
|
|
247
|
+
let sortModel = []
|
|
248
|
+
Object.keys(this.fields).forEach((key) => {
|
|
249
|
+
if (this.modelval.includes(key)) {
|
|
250
|
+
sortModel.push(key)
|
|
251
|
+
}
|
|
252
|
+
})
|
|
253
|
+
this.modelval = sortModel
|
|
254
|
+
console.log('选择的打印的字段', this.modelval)
|
|
255
|
+
}
|
|
256
|
+
},
|
|
257
|
+
watch:{
|
|
258
|
+
'all' (val) {
|
|
259
|
+
if (val) {
|
|
260
|
+
this.modelval = this.bodyData
|
|
261
|
+
} else {
|
|
262
|
+
this.modelval = defaultPrint.config
|
|
263
|
+
this.put()
|
|
264
|
+
}
|
|
265
|
+
},
|
|
266
|
+
'modelval.length' () {
|
|
267
|
+
this.put()
|
|
268
|
+
},
|
|
269
|
+
},
|
|
270
|
+
computed:{
|
|
271
|
+
getCondition(){
|
|
272
|
+
return {condition: `${this.$refs.paged.$refs.cri.condition} `}
|
|
273
|
+
},
|
|
274
|
+
getfield(){
|
|
275
|
+
return exportConfig.abndonConfig
|
|
276
|
+
}
|
|
277
|
+
}
|
|
278
|
+
}
|
|
279
|
+
</script>
|
|
280
|
+
<style scoped>
|
|
281
|
+
.cell{
|
|
282
|
+
width:500px
|
|
283
|
+
}
|
|
284
|
+
.sp{
|
|
285
|
+
width: 500px;
|
|
286
|
+
word-break: break-word;
|
|
287
|
+
}
|
|
288
|
+
</style>
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
<span @click="$parent.$parent.$parent.dealmsg(row)"><a>{{row.f_userinfo_code}}</a></span></nobr></td>
|
|
79
79
|
<td style="text-align: center;"><nobr>{{row.f_user_name}}</nobr></td>
|
|
80
80
|
<td style="text-align: center;"><nobr>{{row.f_address}}</nobr></td>
|
|
81
|
-
<td style="text-align: center;"><nobr>{{
|
|
81
|
+
<td style="text-align: center;"><nobr>{{ f_reason }} {{ f_othereason }}</nobr></td>
|
|
82
82
|
<td style="text-align: center;word-break: break-word;">
|
|
83
83
|
<p :id="'f_remark-'+$index" style="display: -webkit-box;-webkit-box-orient: vertical;-webkit-line-clamp: 1;overflow: hidden;margin: 0"
|
|
84
84
|
@click="$parent.$parent.$parent.p_click('f_remark-'+$index,'f_remarkinput-'+$index)">
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
<abndon-query @deal-msg="dealMsg"></abndon-query >
|
|
24
24
|
</tab>
|
|
25
25
|
<tab header="弃用恢复查询">
|
|
26
|
-
<abndon-query @deal-msg="dealMsg"></abndon-query >
|
|
26
|
+
<abndon-recovery-query @deal-msg="dealMsg"></abndon-recovery-query >
|
|
27
27
|
</tab>
|
|
28
28
|
<tab header="拆除查询">
|
|
29
29
|
<treadown-query @deal-msg="dealMsg"></treadown-query>
|
|
@@ -1,180 +1,180 @@
|
|
|
1
|
-
export default{
|
|
2
|
-
//把打印需要默认选中的字段名放在config数组中
|
|
3
|
-
userConfig: {'f_userinfo_code': '用户编号','f_user_name':'用户姓名','f_user_phone': '用户电话','f_idnumber': '身份证号',
|
|
4
|
-
'f_balance': '账户余额','f_address': '用户地址', 'f_area': '区县','f_slice_area': '片区','f_residential_area': '小区', 'f_building': '楼栋',
|
|
5
|
-
'f_unit': '单元','f_floor': '楼层','f_room': '门牌号','f_user_state': '用户状态','f_createfile_date': '建档日期','f_outlets': '营业网点','f_filiale': '分公司'
|
|
6
|
-
},
|
|
7
|
-
|
|
8
|
-
meterConfig: {
|
|
9
|
-
'f_user_name':'用户姓名','f_user_phone':'用户电话','f_createfile_date':'建档日期','f_meternumber': '表号',
|
|
10
|
-
'f_card_id': '卡号', 'f_whether_hairpin': '发卡状态','f_user_type': '用户类型', 'f_gasproperties': '用气性质',
|
|
11
|
-
'f_devices_type': '设备类型','f_price_name': '气价名称','f_meter_classify':'气表分类','f_meter_brand':'气表品牌'
|
|
12
|
-
,'f_jb_type_code': '基表型号','f_barcode': '计量表编号','f_inputtor':'抄表员','f_meter_state':'表具现状'
|
|
13
|
-
,'f_table_state':'气表状态','f_address': '用户地址', 'f_slice_area':'片区','f_distinct':'行政区域','f_gas_area':'用气区域'
|
|
14
|
-
,'f_point_name':'用气点',
|
|
15
|
-
},
|
|
16
|
-
|
|
17
|
-
deviceConfig: {
|
|
18
|
-
'f_userinfo_code': '用户编号','f_user_name':'用户姓名','f_address': '用户地址', 'f_meternumber': '表号',
|
|
19
|
-
'f_devices_type': '设备类型','f_devices_no': '设备编号','f_brand': '设备品牌', 'f_devices_model': '设备型号',
|
|
20
|
-
'f_operate_date': '录入日期'
|
|
21
|
-
},
|
|
22
|
-
|
|
23
|
-
deviceCountConfig: {
|
|
24
|
-
'f_card_id':'卡号','f_user_name':'用户姓名','f_user_type':'用户类型','f_devices_type':'设备类型','f_gasproperties':'设备用途',
|
|
25
|
-
'f_input_date':'安装日期', 'f_equipmentload':'设备负荷'
|
|
26
|
-
},
|
|
27
|
-
newChargeConfig:{
|
|
28
|
-
'f_card_id': '卡号',
|
|
29
|
-
'f_operate_date': '收费日期',
|
|
30
|
-
'f_payment': '支付方式',
|
|
31
|
-
'f_pregas': '气量',
|
|
32
|
-
'f_preamount': '金额',
|
|
33
|
-
'f_residential_area_id': '小区ID',
|
|
34
|
-
'f_residential_area': '小区名称',
|
|
35
|
-
'f_building': '楼号',
|
|
36
|
-
'f_unit': '单元',
|
|
37
|
-
},
|
|
38
|
-
sumChargeConfig:{
|
|
39
|
-
'f_payment': '支付方式',
|
|
40
|
-
'f_pregas': '购气量',
|
|
41
|
-
'f_preamount': '金额',
|
|
42
|
-
'num1': '交易笔数',
|
|
43
|
-
'bili': '占比'
|
|
44
|
-
},
|
|
45
|
-
chargeConfig: {
|
|
46
|
-
|
|
47
|
-
'f_card_id': '卡号',
|
|
48
|
-
'f_serial_id': '流水号',
|
|
49
|
-
'f_serial_id_old': '旧流水号',
|
|
50
|
-
'f_user_name': '用户姓名',
|
|
51
|
-
'f_address': '用户地址',
|
|
52
|
-
'f_user_type': '用户类型',
|
|
53
|
-
'f_gasproperties': '用气性质',
|
|
54
|
-
'f_devices_type': '用气设备',
|
|
55
|
-
'f_pregas': '气量',
|
|
56
|
-
'f_preamount': '金额',
|
|
57
|
-
'f_payment': '付款方式',
|
|
58
|
-
'f_type': '收费类型',
|
|
59
|
-
'f_state': '状态',
|
|
60
|
-
'f_operate_date': '收费日期',
|
|
61
|
-
'f_operator': '操作员',
|
|
62
|
-
'f_filiale': '售气单位',
|
|
63
|
-
'f_outlets': '售气部门',
|
|
64
|
-
'op_spot': '售气站点',
|
|
65
|
-
'op_id': '操作员编号',
|
|
66
|
-
'f_pay_pass': '支付方式',
|
|
67
|
-
'gas1': '1阶气量',
|
|
68
|
-
'money1': '1阶金额',
|
|
69
|
-
'price1': '1阶单价',
|
|
70
|
-
'gas2': '2阶气量',
|
|
71
|
-
'money2': '2阶金额',
|
|
72
|
-
'price2': '2阶单价',
|
|
73
|
-
'gas3': '3阶气量',
|
|
74
|
-
'money3': '3阶金额',
|
|
75
|
-
'price3': '3阶单价',
|
|
76
|
-
'is_bill': '是否出票',
|
|
77
|
-
'bill_num': '发票编号'
|
|
78
|
-
},
|
|
79
|
-
groupprice: {
|
|
80
|
-
'f_operate_date': '日期',
|
|
81
|
-
'f_price': '单价',
|
|
82
|
-
'f_gas': '气量',
|
|
83
|
-
'f_money': '金额',
|
|
84
|
-
'c': '数量',
|
|
85
|
-
},
|
|
86
|
-
sellingHandConfig:{
|
|
87
|
-
"f_userinfo_code":"用户编号","f_user_name":"用户姓名","f_last_balance":"上期结余","f_balance":"本期结余",
|
|
88
|
-
"f_pregas":"气量","f_preamount":"气费","f_charge_money":"收费金额","f_debt_money":"清欠金额","f_overdue":"违约金金额","f_type":"收费类型",
|
|
89
|
-
"f_state":"收费类型","f_operate_date":"操作时间","f_filiale":"所属公司"
|
|
90
|
-
},
|
|
91
|
-
|
|
92
|
-
changemeterConfig: {
|
|
93
|
-
'f_card_id': '旧表卡号','f_newcard_id': '新表卡号','f_user_name':'用户姓名','f_address': '用户地址',
|
|
94
|
-
'f_residential_area': '小区', 'f_building': '楼栋',
|
|
95
|
-
'f_unit': '单元','f_floor': '楼层','f_room': '门牌号','f_meternumber': '表号','f_meternumber':'旧表表号','f_newmeternumber':'新表表号',
|
|
96
|
-
'f_type': '换表类型','f_changemeter_fee': '换表费','f_freereason':'是否保修期免交','f_freereason':'免交原因','f_meter_base': '旧表底数','f_newmeter_base': '新表底数',
|
|
97
|
-
'f_meter_classify': '旧气表类型','f_newmeter_classify': '新气表类型','f_shiftgas':'转移气量','f_shiftgas_money':'转移金额','f_tablebase_gas':'旧表剩余气量','f_tablebase_money':'旧表剩余金额',
|
|
98
|
-
'f_new_meterbrand':'新气表品牌','f_new_meternmodel':'新气表型号','f_newmeter_base':'新表底数','f_newmetertitles':'新表封号','f_reason':'换表原因','f_result_change':'其他换表原因','f_operate_date':'操作日期',
|
|
99
|
-
'f_state': '状态','f_changemeter_date': '换表日期','f_operator': '操作员'
|
|
100
|
-
},
|
|
101
|
-
|
|
102
|
-
otherchargeConfig: {
|
|
103
|
-
'f_userinfo_code': '用户编号','f_user_name':'用户姓名','f_address': '用户地址',
|
|
104
|
-
'f_brand_spec': '收费类型','f_unitprice': '单价','f_number': '数量','f_collection': '收款',
|
|
105
|
-
'f_payment': '付款方式','f_state': '状态','f_operate_date': '收费日期',
|
|
106
|
-
'f_operator': '操作员','f_outlets': '营业网点','f_filiale': '分公司'
|
|
107
|
-
},
|
|
108
|
-
|
|
109
|
-
handplanConfig: {
|
|
110
|
-
'f_userinfo_code': '用户编号','f_user_name':'用户姓名','f_address': '用户地址','f_meternumber': '表号',
|
|
111
|
-
'f_tablebase': '本期底数','f_last_tablebase': '上期底数','f_oughtamount': '用气量','f_oughtfee': '用气金额',
|
|
112
|
-
'f_inputtor': '抄表员','f_hand_date': '下发日期','f_input_date': '录入日期','f_meter_state': '抄表状态','f_hand_state': '状态',
|
|
113
|
-
'f_operator': '操作员','f_outlets': '营业网点','f_filiale': '分公司','f_surplus_gas':'剩余气量','f_haircut_gas':'扣减气量'
|
|
114
|
-
},
|
|
115
|
-
|
|
116
|
-
reverseConfig: {
|
|
117
|
-
'f_userinfo_code': '用户编号','f_user_name':'用户姓名','f_address': '用户地址',
|
|
118
|
-
'f_correct_type': '冲正类型','f_correct_gas': '冲正气量','f_correct_money': '冲正金额','f_correct_collection': '冲正收款',
|
|
119
|
-
'f_state': '冲正状态','f_operate_date': '冲正日期',
|
|
120
|
-
'f_operator': '操作员','f_outlets': '营业网点','f_filiale': '分公司'
|
|
121
|
-
},
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
transferConfig: {
|
|
125
|
-
'f_userinfo_code': '用户编号','f_newuser_name':'用户姓名','f_address': '用户地址',
|
|
126
|
-
'f_user_name': '原用户姓名','f_newuser_phone': '新用户电话','f_user_phone': '原用户电话','f_transfer_fees': '过户费','f_operate_date': '过户日期',
|
|
127
|
-
'f_operator': '操作员','f_outlets': '营业网点','f_filiale': '分公司'
|
|
128
|
-
},
|
|
129
|
-
|
|
130
|
-
fillgasConfig: {
|
|
131
|
-
'f_userinfo_code': '用户编号','f_user_name':'用户姓名','f_address': '用户地址',
|
|
132
|
-
'f_card_id': '卡号','f_meter_brand': '气表品牌','f_type': '补气类型','f_othereason': '补气原因','f_fillgas': '补气量','f_operate_date': '补气日期',
|
|
133
|
-
'f_operator': '操作员','f_outlets': '营业网点','f_filiale': '分公司'
|
|
134
|
-
},
|
|
135
|
-
|
|
136
|
-
fillcardConfig: {
|
|
137
|
-
'f_userinfo_code': '用户编号','f_user_name':'用户姓名','f_address': '用户地址',
|
|
138
|
-
'f_card_id': '卡号','f_meter_brand': '气表品牌','f_fillcard_type': '补卡类型','f_reason': '补卡原因','f_cardfees': '卡费','f_operate_date': '补卡日期',
|
|
139
|
-
'f_operator': '操作员','f_outlets': '营业网点','f_filiale': '分公司',
|
|
140
|
-
'is_bill': '是否出票',
|
|
141
|
-
'bill_num': '发票编号'
|
|
142
|
-
},
|
|
143
|
-
|
|
144
|
-
sendcardConfig: {
|
|
145
|
-
"f_user_name": "用户姓名",
|
|
146
|
-
"f_address": "用户地址",
|
|
147
|
-
"f_card_id": "卡号",
|
|
148
|
-
"f_serial_id":"流水号",
|
|
149
|
-
"f_meter_brand": "气表品牌",
|
|
150
|
-
"f_payment": "付款方式",
|
|
151
|
-
"f_bill_style": "打印格式",
|
|
152
|
-
"f_collection": "收费金额",
|
|
153
|
-
"f_operate_date": "收费日期",
|
|
154
|
-
"f_operator": "操作员",
|
|
155
|
-
"f_outlets": "营业网点",
|
|
156
|
-
"f_filiale": "分公司",
|
|
157
|
-
"is_bill": "是否出票",
|
|
158
|
-
"bill_num": "发票编号"
|
|
159
|
-
},
|
|
160
|
-
|
|
161
|
-
enableConfig: {
|
|
162
|
-
'f_userinfo_code': '用户编号','f_user_name':'用户姓名','f_address': '用户地址',
|
|
163
|
-
'f_enable_reason': '启用原因','f_state': '启用状态','f_operate_date': '启用日期',
|
|
164
|
-
'f_operator': '操作员','f_outlets': '营业网点','f_filiale': '分公司'
|
|
165
|
-
},
|
|
166
|
-
|
|
167
|
-
disableConfig: {
|
|
168
|
-
'f_userinfo_code': '用户编号','f_user_name':'用户姓名','f_address': '用户地址',
|
|
169
|
-
'f_disable_reason': '停用原因','f_state': '停用状态','f_operate_date': '停用日期',
|
|
170
|
-
'f_operator': '操作员','f_outlets': '营业网点','f_filiale': '分公司'
|
|
171
|
-
},
|
|
172
|
-
|
|
173
|
-
abndonConfig: {
|
|
174
|
-
'f_userinfo_code': '用户编号', 'f_user_name': '用户姓名', 'f_address': '用户地址',
|
|
175
|
-
'f_state': '弃用状态', 'f_table_state': '弃用前状态', 'f_reason': '弃用原因',
|
|
176
|
-
'f_othereason': '其他弃用原因', 'f_operate_date': '弃用日期',
|
|
177
|
-
'f_operator': '操作员', 'f_outlets': '营业网点', 'f_filiale': '分公司'
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
}
|
|
1
|
+
export default{
|
|
2
|
+
//把打印需要默认选中的字段名放在config数组中
|
|
3
|
+
userConfig: {'f_userinfo_code': '用户编号','f_user_name':'用户姓名','f_user_phone': '用户电话','f_idnumber': '身份证号',
|
|
4
|
+
'f_balance': '账户余额','f_address': '用户地址', 'f_area': '区县','f_slice_area': '片区','f_residential_area': '小区', 'f_building': '楼栋',
|
|
5
|
+
'f_unit': '单元','f_floor': '楼层','f_room': '门牌号','f_user_state': '用户状态','f_createfile_date': '建档日期','f_outlets': '营业网点','f_filiale': '分公司'
|
|
6
|
+
},
|
|
7
|
+
|
|
8
|
+
meterConfig: {
|
|
9
|
+
'f_user_name':'用户姓名','f_user_phone':'用户电话','f_createfile_date':'建档日期','f_meternumber': '表号',
|
|
10
|
+
'f_card_id': '卡号', 'f_whether_hairpin': '发卡状态','f_user_type': '用户类型', 'f_gasproperties': '用气性质',
|
|
11
|
+
'f_devices_type': '设备类型','f_price_name': '气价名称','f_meter_classify':'气表分类','f_meter_brand':'气表品牌'
|
|
12
|
+
,'f_jb_type_code': '基表型号','f_barcode': '计量表编号','f_inputtor':'抄表员','f_meter_state':'表具现状'
|
|
13
|
+
,'f_table_state':'气表状态','f_address': '用户地址', 'f_slice_area':'片区','f_distinct':'行政区域','f_gas_area':'用气区域'
|
|
14
|
+
,'f_point_name':'用气点',
|
|
15
|
+
},
|
|
16
|
+
|
|
17
|
+
deviceConfig: {
|
|
18
|
+
'f_userinfo_code': '用户编号','f_user_name':'用户姓名','f_address': '用户地址', 'f_meternumber': '表号',
|
|
19
|
+
'f_devices_type': '设备类型','f_devices_no': '设备编号','f_brand': '设备品牌', 'f_devices_model': '设备型号',
|
|
20
|
+
'f_operate_date': '录入日期'
|
|
21
|
+
},
|
|
22
|
+
|
|
23
|
+
deviceCountConfig: {
|
|
24
|
+
'f_card_id':'卡号','f_user_name':'用户姓名','f_user_type':'用户类型','f_devices_type':'设备类型','f_gasproperties':'设备用途',
|
|
25
|
+
'f_input_date':'安装日期', 'f_equipmentload':'设备负荷'
|
|
26
|
+
},
|
|
27
|
+
newChargeConfig:{
|
|
28
|
+
'f_card_id': '卡号',
|
|
29
|
+
'f_operate_date': '收费日期',
|
|
30
|
+
'f_payment': '支付方式',
|
|
31
|
+
'f_pregas': '气量',
|
|
32
|
+
'f_preamount': '金额',
|
|
33
|
+
'f_residential_area_id': '小区ID',
|
|
34
|
+
'f_residential_area': '小区名称',
|
|
35
|
+
'f_building': '楼号',
|
|
36
|
+
'f_unit': '单元',
|
|
37
|
+
},
|
|
38
|
+
sumChargeConfig:{
|
|
39
|
+
'f_payment': '支付方式',
|
|
40
|
+
'f_pregas': '购气量',
|
|
41
|
+
'f_preamount': '金额',
|
|
42
|
+
'num1': '交易笔数',
|
|
43
|
+
'bili': '占比'
|
|
44
|
+
},
|
|
45
|
+
chargeConfig: {
|
|
46
|
+
|
|
47
|
+
'f_card_id': '卡号',
|
|
48
|
+
'f_serial_id': '流水号',
|
|
49
|
+
'f_serial_id_old': '旧流水号',
|
|
50
|
+
'f_user_name': '用户姓名',
|
|
51
|
+
'f_address': '用户地址',
|
|
52
|
+
'f_user_type': '用户类型',
|
|
53
|
+
'f_gasproperties': '用气性质',
|
|
54
|
+
'f_devices_type': '用气设备',
|
|
55
|
+
'f_pregas': '气量',
|
|
56
|
+
'f_preamount': '金额',
|
|
57
|
+
'f_payment': '付款方式',
|
|
58
|
+
'f_type': '收费类型',
|
|
59
|
+
'f_state': '状态',
|
|
60
|
+
'f_operate_date': '收费日期',
|
|
61
|
+
'f_operator': '操作员',
|
|
62
|
+
'f_filiale': '售气单位',
|
|
63
|
+
'f_outlets': '售气部门',
|
|
64
|
+
'op_spot': '售气站点',
|
|
65
|
+
'op_id': '操作员编号',
|
|
66
|
+
'f_pay_pass': '支付方式',
|
|
67
|
+
'gas1': '1阶气量',
|
|
68
|
+
'money1': '1阶金额',
|
|
69
|
+
'price1': '1阶单价',
|
|
70
|
+
'gas2': '2阶气量',
|
|
71
|
+
'money2': '2阶金额',
|
|
72
|
+
'price2': '2阶单价',
|
|
73
|
+
'gas3': '3阶气量',
|
|
74
|
+
'money3': '3阶金额',
|
|
75
|
+
'price3': '3阶单价',
|
|
76
|
+
'is_bill': '是否出票',
|
|
77
|
+
'bill_num': '发票编号'
|
|
78
|
+
},
|
|
79
|
+
groupprice: {
|
|
80
|
+
'f_operate_date': '日期',
|
|
81
|
+
'f_price': '单价',
|
|
82
|
+
'f_gas': '气量',
|
|
83
|
+
'f_money': '金额',
|
|
84
|
+
'c': '数量',
|
|
85
|
+
},
|
|
86
|
+
sellingHandConfig:{
|
|
87
|
+
"f_userinfo_code":"用户编号","f_user_name":"用户姓名","f_last_balance":"上期结余","f_balance":"本期结余",
|
|
88
|
+
"f_pregas":"气量","f_preamount":"气费","f_charge_money":"收费金额","f_debt_money":"清欠金额","f_overdue":"违约金金额","f_type":"收费类型",
|
|
89
|
+
"f_state":"收费类型","f_operate_date":"操作时间","f_filiale":"所属公司"
|
|
90
|
+
},
|
|
91
|
+
|
|
92
|
+
changemeterConfig: {
|
|
93
|
+
'f_card_id': '旧表卡号','f_newcard_id': '新表卡号','f_user_name':'用户姓名','f_address': '用户地址',
|
|
94
|
+
'f_residential_area': '小区', 'f_building': '楼栋',
|
|
95
|
+
'f_unit': '单元','f_floor': '楼层','f_room': '门牌号','f_meternumber': '表号','f_meternumber':'旧表表号','f_newmeternumber':'新表表号',
|
|
96
|
+
'f_type': '换表类型','f_changemeter_fee': '换表费','f_freereason':'是否保修期免交','f_freereason':'免交原因','f_meter_base': '旧表底数','f_newmeter_base': '新表底数',
|
|
97
|
+
'f_meter_classify': '旧气表类型','f_newmeter_classify': '新气表类型','f_shiftgas':'转移气量','f_shiftgas_money':'转移金额','f_tablebase_gas':'旧表剩余气量','f_tablebase_money':'旧表剩余金额',
|
|
98
|
+
'f_new_meterbrand':'新气表品牌','f_new_meternmodel':'新气表型号','f_newmeter_base':'新表底数','f_newmetertitles':'新表封号','f_reason':'换表原因','f_result_change':'其他换表原因','f_operate_date':'操作日期',
|
|
99
|
+
'f_state': '状态','f_changemeter_date': '换表日期','f_operator': '操作员'
|
|
100
|
+
},
|
|
101
|
+
|
|
102
|
+
otherchargeConfig: {
|
|
103
|
+
'f_userinfo_code': '用户编号','f_user_name':'用户姓名','f_address': '用户地址',
|
|
104
|
+
'f_brand_spec': '收费类型','f_unitprice': '单价','f_number': '数量','f_collection': '收款',
|
|
105
|
+
'f_payment': '付款方式','f_state': '状态','f_operate_date': '收费日期',
|
|
106
|
+
'f_operator': '操作员','f_outlets': '营业网点','f_filiale': '分公司'
|
|
107
|
+
},
|
|
108
|
+
|
|
109
|
+
handplanConfig: {
|
|
110
|
+
'f_userinfo_code': '用户编号','f_user_name':'用户姓名','f_address': '用户地址','f_meternumber': '表号',
|
|
111
|
+
'f_tablebase': '本期底数','f_last_tablebase': '上期底数','f_oughtamount': '用气量','f_oughtfee': '用气金额',
|
|
112
|
+
'f_inputtor': '抄表员','f_hand_date': '下发日期','f_input_date': '录入日期','f_meter_state': '抄表状态','f_hand_state': '状态',
|
|
113
|
+
'f_operator': '操作员','f_outlets': '营业网点','f_filiale': '分公司','f_surplus_gas':'剩余气量','f_haircut_gas':'扣减气量'
|
|
114
|
+
},
|
|
115
|
+
|
|
116
|
+
reverseConfig: {
|
|
117
|
+
'f_userinfo_code': '用户编号','f_user_name':'用户姓名','f_address': '用户地址',
|
|
118
|
+
'f_correct_type': '冲正类型','f_correct_gas': '冲正气量','f_correct_money': '冲正金额','f_correct_collection': '冲正收款',
|
|
119
|
+
'f_state': '冲正状态','f_operate_date': '冲正日期',
|
|
120
|
+
'f_operator': '操作员','f_outlets': '营业网点','f_filiale': '分公司'
|
|
121
|
+
},
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
transferConfig: {
|
|
125
|
+
'f_userinfo_code': '用户编号','f_newuser_name':'用户姓名','f_address': '用户地址',
|
|
126
|
+
'f_user_name': '原用户姓名','f_newuser_phone': '新用户电话','f_user_phone': '原用户电话','f_transfer_fees': '过户费','f_operate_date': '过户日期',
|
|
127
|
+
'f_operator': '操作员','f_outlets': '营业网点','f_filiale': '分公司'
|
|
128
|
+
},
|
|
129
|
+
|
|
130
|
+
fillgasConfig: {
|
|
131
|
+
'f_userinfo_code': '用户编号','f_user_name':'用户姓名','f_address': '用户地址',
|
|
132
|
+
'f_card_id': '卡号','f_meter_brand': '气表品牌','f_type': '补气类型','f_othereason': '补气原因','f_fillgas': '补气量','f_operate_date': '补气日期',
|
|
133
|
+
'f_operator': '操作员','f_outlets': '营业网点','f_filiale': '分公司'
|
|
134
|
+
},
|
|
135
|
+
|
|
136
|
+
fillcardConfig: {
|
|
137
|
+
'f_userinfo_code': '用户编号','f_user_name':'用户姓名','f_address': '用户地址',
|
|
138
|
+
'f_card_id': '卡号','f_meter_brand': '气表品牌','f_fillcard_type': '补卡类型','f_reason': '补卡原因','f_cardfees': '卡费','f_operate_date': '补卡日期',
|
|
139
|
+
'f_operator': '操作员','f_outlets': '营业网点','f_filiale': '分公司',
|
|
140
|
+
'is_bill': '是否出票',
|
|
141
|
+
'bill_num': '发票编号'
|
|
142
|
+
},
|
|
143
|
+
|
|
144
|
+
sendcardConfig: {
|
|
145
|
+
"f_user_name": "用户姓名",
|
|
146
|
+
"f_address": "用户地址",
|
|
147
|
+
"f_card_id": "卡号",
|
|
148
|
+
"f_serial_id":"流水号",
|
|
149
|
+
"f_meter_brand": "气表品牌",
|
|
150
|
+
"f_payment": "付款方式",
|
|
151
|
+
"f_bill_style": "打印格式",
|
|
152
|
+
"f_collection": "收费金额",
|
|
153
|
+
"f_operate_date": "收费日期",
|
|
154
|
+
"f_operator": "操作员",
|
|
155
|
+
"f_outlets": "营业网点",
|
|
156
|
+
"f_filiale": "分公司",
|
|
157
|
+
"is_bill": "是否出票",
|
|
158
|
+
"bill_num": "发票编号"
|
|
159
|
+
},
|
|
160
|
+
|
|
161
|
+
enableConfig: {
|
|
162
|
+
'f_userinfo_code': '用户编号','f_user_name':'用户姓名','f_address': '用户地址',
|
|
163
|
+
'f_enable_reason': '启用原因','f_state': '启用状态','f_operate_date': '启用日期',
|
|
164
|
+
'f_operator': '操作员','f_outlets': '营业网点','f_filiale': '分公司'
|
|
165
|
+
},
|
|
166
|
+
|
|
167
|
+
disableConfig: {
|
|
168
|
+
'f_userinfo_code': '用户编号','f_user_name':'用户姓名','f_address': '用户地址',
|
|
169
|
+
'f_disable_reason': '停用原因','f_state': '停用状态','f_operate_date': '停用日期',
|
|
170
|
+
'f_operator': '操作员','f_outlets': '营业网点','f_filiale': '分公司'
|
|
171
|
+
},
|
|
172
|
+
|
|
173
|
+
abndonConfig: {
|
|
174
|
+
'f_userinfo_code': '用户编号', 'f_user_name': '用户姓名', 'f_address': '用户地址',
|
|
175
|
+
'f_state': '弃用状态', 'f_table_state': '弃用前状态', 'f_reason': '弃用原因',
|
|
176
|
+
'f_othereason': '其他弃用原因', 'f_operate_date': '弃用日期',
|
|
177
|
+
'f_operator': '操作员', 'f_outlets': '营业网点', 'f_filiale': '分公司'
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
}
|
|
@@ -882,7 +882,7 @@ export default {
|
|
|
882
882
|
},
|
|
883
883
|
computed:{
|
|
884
884
|
getCondition(){
|
|
885
|
-
return {condition: `${this.$refs.paged.$refs.cri.condition}
|
|
885
|
+
return {condition: `${this.$refs.paged.$refs.cri.condition}`,orderitem:this.model.paramSource.orderitem}
|
|
886
886
|
},
|
|
887
887
|
inputtores () {
|
|
888
888
|
return this.$appdata.getParam('抄表员')
|