manage-client 3.3.1 → 3.3.3

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.
Files changed (34) hide show
  1. package/package.json +1 -1
  2. package/src/components/sale/businessquery/GroupChargeQuery.vue +1 -1
  3. package/src/filiale/gehua/GroupChargeQuery.vue +1 -1
  4. package/src/filiale/macheng/config/exportConfig.js +1 -1
  5. package/src/filiale/shanxian/CancellationQuery.vue +426 -0
  6. package/src/filiale/shanxian/ChangeUserQuery.vue +395 -0
  7. package/src/filiale/shanxian/DeviceQuery.vue +586 -0
  8. package/src/filiale/shanxian/DisableQuery.vue +528 -0
  9. package/src/filiale/shanxian/EnableQuery.vue +461 -0
  10. package/src/filiale/shanxian/FMYGasQuery.vue +731 -0
  11. package/src/filiale/shanxian/FmyGasDeviceQuery.vue +68 -33
  12. package/src/filiale/shanxian/InspectListUserNew.vue +18 -16
  13. package/src/filiale/shanxian/LostContactAnalysisList.vue +19 -18
  14. package/src/filiale/shanxian/MeterQuery.vue +968 -0
  15. package/src/filiale/shanxian/MonthGasQuery.vue +481 -0
  16. package/src/filiale/shanxian/NewQueryInstruct.vue +457 -0
  17. package/src/filiale/shanxian/ReverseQuery.vue +454 -0
  18. package/src/filiale/shanxian/TransferQuery.vue +469 -0
  19. package/src/filiale/shanxian/UserGasAll.vue +15 -14
  20. package/src/filiale/shanxian/UserLostContactAnalysis.vue +18 -17
  21. package/src/filiale/shanxian/UserQuery.vue +27 -26
  22. package/src/filiale/shanxian/config/exportConfig.js +100 -100
  23. package/src/filiale/shanxian/newwebmeter/TotalExceptionByMeter.vue +608 -0
  24. package/src/filiale/shanxian/sale.js +20 -0
  25. package/src/filiale/shanxian/webmeterManage.js +4 -0
  26. package/src/filiale/wenxi/GasStatistics.vue +6 -6
  27. package/src/filiale/wenxi/HandplanQuery.vue +10 -10
  28. package/src/filiale/wenxi/MeterQuery.vue +41 -68
  29. package/.gradle/4.4/fileChanges/last-build.bin +0 -0
  30. package/.gradle/6.1/executionHistory/executionHistory.bin +0 -0
  31. package/.gradle/6.1/executionHistory/executionHistory.lock +0 -0
  32. package/.gradle/6.1/fileChanges/last-build.bin +0 -0
  33. package/.gradle/6.1/fileHashes/fileHashes.bin +0 -0
  34. package/.gradle/6.1/fileHashes/fileHashes.lock +0 -0
@@ -0,0 +1,469 @@
1
+ <template>
2
+ <div id="unit" class="flex-row">
3
+ <div class="basic-main" @keyup.enter="search">
4
+ <div class="flex" v-if="!show" >
5
+
6
+ <criteria-paged :model="model" v-ref:paged @sort="sort">
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 HH:mm:ss'"
16
+ :show-reset-button="true"
17
+ condition="f_operate_date >= '{}'">
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 HH:mm:ss'"
26
+ :show-reset-button="true"
27
+ condition="f_operate_date <= '{}'">
28
+ </datepicker>
29
+ </div>
30
+ <div class="col-sm-2 form-group">
31
+ <label class="font_normal_body">{{$parent.$parent.usertitle}}地址</label>
32
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_address"
33
+ condition="f_address like '%{}%'" :placeholder=`${$parent.$parent.usertitle}地址`>
34
+ </div>
35
+ <div class="col-sm-2 form-group">
36
+ <label class="font_normal_body">{{$parent.$parent.usertitle}}编号</label>
37
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_userinfo_code"
38
+ condition="f_userinfo_code = '{}' " placeholder={{$parent.$parent.usertitle}}编号 />
39
+ </div>
40
+
41
+ <div class="span" style="float:right;">
42
+ <button class="button_search button_spacing" @click="search()">查询</button>
43
+ <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
44
+ <!--<button class="btn btn-default" @click="$parent.$parent.stamp()">打印</button>-->
45
+ <export-excel :data="$parent.$parent.getCondition" :footer="$parent.$parent.footer"
46
+ :field="$parent.$parent.getfield" :header="$parent.$parent.other"
47
+ sqlurl="rs/logic/exportfile" sql-name="transferQuery" template-name='过户查询导出'
48
+ :choose-col="true"></export-excel>
49
+ <print-data :sum-field="$parent.$parent.getfield" :model="$parent.model" :field="$parent.$parent.getfield"
50
+ :defaultfield="$parent.$parent.defaultfield"
51
+ titletable="过户记录"
52
+ :sumsmodel="$parent.$parent.sumsmodel"></print-data>
53
+ <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>
54
+ </div>
55
+ </div>
56
+ <div class="row" v-show="$parent.$parent.criteriaShow">
57
+ <res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" :cascade =true v-ref:sel></res-select-group>
58
+
59
+ <div class="col-sm-2 form-group">
60
+ <label class="font_normal_body" title="旧客户编号">档案编号</label>
61
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_olduserinfo_code"
62
+ condition="f_olduserinfo_code = '{}' " placeholder="档案编号">
63
+ </div>
64
+ <div class="col-sm-2 form-group">
65
+ <label class="font_normal_body">表&emsp;&emsp;号</label>
66
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_meternumber"
67
+ condition="f_meternumber = '{}'" placeholder='表号'>
68
+ </div>
69
+ <div class="col-sm-2 form-group">
70
+ <label class="font_normal_body">卡&emsp;&emsp;号</label>
71
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_card_id"
72
+ condition="f_card_id = '{}'" placeholder='卡号'>
73
+ </div>
74
+ <div class="col-sm-2 form-group">
75
+ <label class="font_normal_body">过户状态</label>
76
+ <v-select :value.sync="model.f_state"
77
+ v-model="model.f_state"
78
+ :options='$parent.$parent.transferstate' placeholder='请选择'
79
+ condition="f_state = '{}'"
80
+ close-on-select></v-select>
81
+ </div>
82
+ <div class="col-sm-2 form-group">
83
+ <label class="font_normal_body">原户姓名</label>
84
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
85
+ placeholder="原户姓名"
86
+ condition="f_user_name like '%{}%'">
87
+ </div>
88
+ <div class="col-sm-2 form-group">
89
+ <label class="font_normal_body">新户姓名</label>
90
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_newuser_name"
91
+ condition="f_newuser_name like '%{}%' " placeholder="新户姓名">
92
+ </div>
93
+ <div class="col-sm-2 form-group">
94
+ <label class="font_normal_body">原户电话</label>
95
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_user_phone"
96
+ condition="f_user_phone like '%{}%' " placeholder="原户电话">
97
+ </div>
98
+ <div class="col-sm-2 form-group">
99
+ <label class="font_normal_body">新户电话</label>
100
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_newuser_phone"
101
+ condition="f_newuser_phone like '%{}%' " placeholder="新户电话">
102
+ </div>
103
+ </div>
104
+ </div>
105
+ </criteria>
106
+
107
+ <data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid :classname="$parent.classname">
108
+ <template partial='head'>
109
+ <tr>
110
+ <th>
111
+ <!-- <nobr>客户编号</nobr>-->
112
+ <data-order field="f_userinfo_code" :name=`${$parent.$parent.$parent.usertitle}编号`
113
+ :order.sync="$parent.$parent.$parent.orderFields.f_userinfo_code"></data-order>
114
+ </th>
115
+ <th>
116
+ <nobr>{{$parent.$parent.$parent.usertitle}}名称</nobr>
117
+ </th>
118
+ <th>
119
+ <nobr>档案编号</nobr>
120
+ </th>
121
+ <th>
122
+ <!-- <nobr>客户地址</nobr>-->
123
+ <data-order field="f_address" :name.sync=`${$parent.$parent.$parent.usertitle}地址`
124
+ :order.sync="$parent.$parent.$parent.orderFields.f_address"></data-order>
125
+ </th>
126
+ <th>
127
+ <nobr>表号</nobr>
128
+ </th>
129
+ <th>
130
+ <nobr>原{{$parent.$parent.$parent.usertitle}}名称</nobr>
131
+ </th>
132
+ <th>
133
+ <nobr>新{{$parent.$parent.$parent.usertitle}}电话</nobr>
134
+ </th>
135
+ <th>
136
+ <nobr>原{{$parent.$parent.$parent.usertitle}}电话</nobr>
137
+ </th>
138
+ <th>
139
+ <nobr>过户费</nobr>
140
+ </th>
141
+ <th>
142
+ <!-- <nobr>过户日期</nobr>-->
143
+ <data-order field="f_operate_date" name="过户日期"
144
+ :order.sync="$parent.$parent.$parent.orderFields.f_operate_date"></data-order>
145
+ </th>
146
+ <th>
147
+ <nobr>备注</nobr>
148
+ </th>
149
+ <th>
150
+ <nobr>操作员</nobr>
151
+ </th>
152
+ <th>
153
+ <nobr>部门</nobr>
154
+ </th>
155
+ <th>
156
+ <nobr>公司</nobr>
157
+ </th>
158
+ <th><nobr>附件</nobr></th>
159
+ </tr>
160
+ </template>
161
+ <template partial='body'>
162
+ <td style="text-align: center;">
163
+ <nobr>
164
+ <span @click="$parent.$parent.$parent.dealmsg(row)"><a>{{row.f_userinfo_code}}</a></span></nobr>
165
+ </td>
166
+ <td style="text-align: center;">
167
+ <nobr>{{row.f_newuser_name}}</nobr>
168
+ </td>
169
+ <td style="text-align: center;">
170
+ <nobr>{{row.f_olduserinfo_code}}</nobr>
171
+ </td>
172
+ <td style="text-align: center;">
173
+ <nobr>{{row.f_address}}</nobr>
174
+ </td>
175
+ <td style="text-align: center;">
176
+ <nobr>{{row.f_meternumber}}</nobr>
177
+ </td>
178
+ <td style="text-align: center;">
179
+ <nobr>{{row.f_user_name}}</nobr>
180
+ </td>
181
+ <td style="text-align: center;">
182
+ <nobr>{{row.f_newuser_phone}}</nobr>
183
+ </td>
184
+ <td style="text-align: center;">
185
+ <nobr>{{row.f_user_phone}}</nobr>
186
+ </td>
187
+ <td style="text-align: center;">
188
+ <nobr>{{row.f_transfer_fees}}</nobr>
189
+ </td>
190
+ <td style="text-align: center;">
191
+ <nobr>{{row.f_operate_date}}</nobr>
192
+ </td>
193
+ <td style="text-align: center;">
194
+ <nobr>{{row.f_comments}}</nobr>
195
+ </td>
196
+ <td style="text-align: center;">
197
+ <nobr>{{row.f_operator}}</nobr>
198
+ </td>
199
+ <td style="text-align: center;">
200
+ <nobr>{{row.f_depname}}</nobr>
201
+ </td>
202
+ <td style="text-align: center;">
203
+ <nobr>{{row.f_orgname}}</nobr>
204
+ </td>
205
+ <td style="text-align: center;"><nobr>
206
+ <button class="button_search button_spacing width-60" @click.stop="$parent.$parent.$parent.view(row)">查看</button>
207
+ </nobr></td>
208
+ </template>
209
+ <template partial='foot'></template>
210
+ </data-grid>
211
+ </criteria-paged>
212
+
213
+ <table class="table-hover">
214
+ <tr style="position: relative" class="table-bordered">
215
+ <td
216
+ style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">
217
+ 汇总信息
218
+ </td>
219
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
220
+ 过户费合计:&emsp;{{sumsmodel.f_transfer_fees}}
221
+ </td>
222
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
223
+ 户数合计:&emsp;{{sumsmodel.hushu}}
224
+ </td>
225
+ </tr>
226
+ </table>
227
+ </div>
228
+ <div class="flex" v-if="show">
229
+ <user-info-detail-manage-new :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage-new>
230
+ </div>
231
+ </div>
232
+ <modal :show.sync="showupload" v-if="showupload" width="80%" style="width:auto;" v-ref:modal middle backdrop="false">
233
+ <article slot="modal-body">
234
+ <upload :blodid="selected.f_userinfo_id" v-ref:upload isupload="false" takeimg="false" fusetype="过户" :isremark="false" style="width:auto" ></upload>
235
+ </article>
236
+ <footer slot="modal-footer" class="modal-footer">
237
+ </footer>
238
+ </modal>
239
+ </div>
240
+ </template>
241
+
242
+ <script>
243
+ import {PagedList} from 'vue-client'
244
+ import defaultPrint from './config/DefaultPrint'
245
+ import exportConfig from './config/exportConfig'
246
+
247
+ let readySomething = async function (self) {
248
+ self.$refs.paged.$refs.cri.model.startDate = self.data ? self.data.startDate : self.$login.toStandardDateString() + ' 00:00:00'
249
+ self.$refs.paged.$refs.cri.model.endDate = self.data ? self.data.endDate : self.$login.toStandardDateString() + ' 23:59:59'
250
+ self.defaultfield = [...self.defaultfield, ...self.config.defaultPrint]
251
+ // await self.$refs.paged.$refs.cri.search()
252
+ await self.$MagLoadParams.loadParam(self.$login.f)
253
+
254
+ self.sumsmodel = self.$refs.paged.$refs.grid.model.sums
255
+ }
256
+ export default {
257
+ props:['data'],
258
+ title: '过户查询',
259
+ data() {
260
+ return {
261
+ data: {},
262
+ other:[],
263
+ footer:[],
264
+ show:false,
265
+ rowdata:{},
266
+ model: new PagedList('rs/sql/transferQuery', 20, {orderitem: this.orderitem?'"' + this.orderitem + ' "':`'f_operate_date desc'`}, {f_transfer_fees: 0,hushu:0}),
267
+ criteriaShow: false,
268
+ usertitle: this.$appdata.getSingleValue('用户名称前缀') ? this.$appdata.getSingleValue('用户名称前缀') : '客户',
269
+ initres: {
270
+ org:[this.$login.f.orgid],
271
+ dep:[],
272
+ user:[],
273
+ },
274
+ headData: ["客户编号", "新户姓名", "新户电话", "客户地址", "过户状态", "原户姓名", "原户电话", "客户类型", "用气性质", "气价名称", "过户费", "过户日期", "人员", "部门", "公司"],
275
+ bodyData: ["f_userinfo_code", "f_newuser_name", "f_newuser_phone", "address", "f_state", "f_user_name", "f_user_phone", "f_user_type", "f_gasproperties", "f_price_name", "f_transfer_fees", "f_operate_date", "f_operator", "f_depname", "f_orgname"],
276
+ orgCondtionStr: '',
277
+ modelval: [],
278
+ printshow: false,
279
+ all: false,
280
+ fields: {},
281
+ config: {
282
+ defaultPrint: ["f_userinfo_code", "f_newuser_name", "f_newuser_phone", "address", "f_state", "f_user_name","f_transfer_fees", "f_operate_date", "f_operator", "f_depname", "f_orgname"]
283
+ },
284
+ //排序
285
+ orderitem:'f_operate_date desc',
286
+ orderFields: {
287
+ f_operate_date: 'no'
288
+ },
289
+ //默认打印列
290
+ defaultfield: [],
291
+ thead: '',
292
+ tfoot: '',
293
+ showupload:false,
294
+ selected:{},
295
+
296
+ transferstate: this.$appdata.getParam('过户状态') ? [{
297
+ label: '全部',
298
+ value: ''
299
+ }, ...this.$appdata.getParam('过户状态')] : [],
300
+ //合计数据
301
+ sumsmodel: {}
302
+ }
303
+ },
304
+ ready() {
305
+ console.log(this.$login.f)
306
+ readySomething(this).then(() => {
307
+ this.$emit('ready')
308
+ }).catch((error) => {
309
+ this.$emit('error', error)
310
+ })
311
+ },
312
+ methods: {
313
+ view(row){
314
+ this.showupload = true
315
+ this.selected= row
316
+ },
317
+ getotherfooter(){
318
+ // this.$refs.paged.$refs.cri.$refs.exports.otherData=[];
319
+ // this.$refs.paged.$refs.cri.$refs.exports.footerData=[];
320
+ this.other=[];
321
+ this.footer=[];
322
+ let exportdata = this.getCondition;
323
+ let otherInData=[];
324
+ otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`);
325
+ let footerData=[],exportfield=this.getfield;
326
+ footerData.push("合计");
327
+ let self = this;
328
+ for(var field in self.sumsmodel){
329
+ footerData.push(`${exportfield[field]}合计:${self.sumsmodel[field]}`);
330
+ }
331
+ this.footer.push(footerData);
332
+ this.other.push(otherInData);
333
+ },
334
+ search(){
335
+ this.$refs.paged.$refs.cri.search()
336
+ },
337
+ dblclick(obj) {
338
+ this.data = obj
339
+ this.showinfo = true
340
+ },
341
+ async selfSearch(args) {
342
+ if (this.data) {
343
+ this.$parent.$parent.$parent.data.startDate=this.$refs.paged.$refs.cri.model.startDate
344
+ this.$parent.$parent.$parent.data.endDate=this.$refs.paged.$refs.cri.model.endDate
345
+ }
346
+ args.condition = `${args.condition}` + this.orgCondtionStr
347
+ // console.log('我的阐述', JSON.stringify(args.condition))
348
+ await this.model.search(args.condition, args.model)
349
+ this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
350
+ this.sumsmodel.hushu=[...new Set(this.$refs.paged.$refs.grid.model.rows.map(item => item.f_userinfo_code))].length
351
+
352
+ console.log('合计字段', this.sumsmodel)
353
+ },
354
+ dealmsg(val) {
355
+ console.log('---------------dealmsg')
356
+ this.rowdata=val
357
+ this.show=true
358
+ val.model = this.model.model
359
+ this.$dispatch('deal-msg', val)
360
+ },
361
+ cancel() {
362
+ this.show = false
363
+ },
364
+ clear() {
365
+ //清空部门和人员
366
+ this.$refs.paged.$refs.cri.$refs.sel.$children[1].selectres = []
367
+ //部门和人员变为全选
368
+ this.$refs.paged.$refs.cri.$refs.sel.$children[1].$children[0].isSelectAll = false
369
+ this.$refs.paged.$refs.cri.$refs.sel.$children[2].$children[0].isSelectAll = false
370
+ Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
371
+ this.$refs.paged.$refs.cri.model[key] = []
372
+ })
373
+ },
374
+ show() {
375
+ this.criteriaShow = true
376
+ },
377
+ hidden() {
378
+ this.criteriaShow = !this.criteriaShow
379
+ },
380
+ getRes(obj) {
381
+ this.orgCondtionStr = obj
382
+ },
383
+ stamp() {
384
+ this.all = false
385
+ //默认选择要打印的列
386
+ this.modelval = defaultPrint.config
387
+ this.fields = this.getfield
388
+ console.log('所有打印字段', this.fields)
389
+ this.printshow = true
390
+ this.put()
391
+ },
392
+ put() {
393
+ // 对Modelval进行排序
394
+ this.sortModelval()
395
+ this.thead = `<tr><th colspan=${this.modelval.length}>过户查询统计报表</th></tr><tr>`
396
+ for (let key of this.modelval) {
397
+ this.thead += '<th>' + this.fields[key] + '</th>'
398
+ }
399
+ this.thead += '</tr>'
400
+ },
401
+ print() {
402
+ this.$refs.print.PrintAsFile()
403
+ this.printshow = false
404
+ },
405
+ close() {
406
+ this.printshow = false
407
+ this.all = false
408
+ },
409
+ // 对选择的列进行排序
410
+ sortModelval() {
411
+ let sortModel = []
412
+ Object.keys(this.fields).forEach((key) => {
413
+ if (this.modelval.includes(key)) {
414
+ sortModel.push(key)
415
+ }
416
+ })
417
+ this.modelval = sortModel
418
+ console.log('选择的打印的字段', this.modelval)
419
+ },
420
+ sort (field, rule) {
421
+ // 将所有排序方式设为不排序,实现相互排斥
422
+ for (let key in this.orderFields) {
423
+ if (key === field) {
424
+ this.orderFields[key] = rule
425
+ } else {
426
+ this.orderFields[key] = 'no'
427
+ }
428
+ }
429
+ // 如果新规则不排序,还原为默认排序
430
+ if (rule === 'no') {
431
+ this.model.paramSource.orderitem = `'${this.orderitem}'`
432
+ } else {
433
+ this.model.paramSource.orderitem = `'${field} ${rule}'`
434
+ }
435
+
436
+ this.search()
437
+ }
438
+ },
439
+ watch: {
440
+ 'all'(val) {
441
+ if (val) {
442
+ this.modelval = this.bodyData
443
+ } else {
444
+ this.modelval = defaultPrint.config
445
+ this.put()
446
+ }
447
+ },
448
+ 'modelval.length'() {
449
+ this.put()
450
+ },
451
+ sumsmodel:{
452
+ handler: function(val) {
453
+ this.getotherfooter();
454
+ },
455
+ deep: true
456
+ }
457
+ },
458
+ computed: {
459
+ getCondition() {
460
+ return {
461
+ condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr,
462
+ orderitem: this.orderitem?`${this.orderitem}`: `'f_operate_date desc'` }
463
+ },
464
+ getfield() {
465
+ return exportConfig.transferConfig
466
+ }
467
+ }
468
+ }
469
+ </script>
@@ -8,14 +8,14 @@
8
8
  <div class="form-horizontal select-overspread container-fluid auto" novalidate partial>
9
9
  <div class="row" width="100%">
10
10
  <div class="col-sm-2 form-group">
11
- <label class="font_normal_body">客户编号</label>
12
- <input style="width:60%" class="input_search" condition="f_userinfo_code like '%{}%'" placeholder='客户编号' type="text"
11
+ <label class="font_normal_body">{{$parent.$parent.usertitle}}编号</label>
12
+ <input style="width:60%" class="input_search" condition="f_userinfo_code like '%{}%'" placeholder='用户编号' type="text"
13
13
  v-el:meternumber v-model="model.f_userinfo_code" v-next-el='f_userinfo_code'
14
14
  >
15
15
  </div>
16
16
  <div class="col-sm-2 form-group">
17
- <label class="font_normal_body">客户名称</label>
18
- <input style="width:60%" class="input_search" condition="f_user_name like '%{}%'" placeholder='客户名称' type="text"
17
+ <label class="font_normal_body">{{$parent.$parent.usertitle}}名称</label>
18
+ <input style="width:60%" class="input_search" condition="f_user_name like '%{}%'" placeholder='用户名称' type="text"
19
19
  v-el:username v-model="model.f_username" v-next-el='userid'>
20
20
  </div>
21
21
  <div class="col-sm-2 form-group">
@@ -59,14 +59,14 @@
59
59
  </div>
60
60
  <res-select-group :show-component="$parent.$parent.resshow" :selectin="true" :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
61
61
  <div class="col-sm-2 form-group">
62
- <label class="font_normal_body">客户类型</label>
62
+ <label class="font_normal_body">{{$parent.$parent.usertitle}}类型</label>
63
63
  <v-select :options='$parent.$parent.Gasusertype'
64
64
  :value.sync="model.f_user_type"
65
65
  close-on-select
66
66
  style="width:60%"
67
67
  condition="f_user_type = '{}'"
68
68
  id="f_user_type"
69
- placeholder='客户类型'
69
+ placeholder='用户类型'
70
70
  v-model="model.f_user_type"
71
71
  value-single="true">
72
72
  </v-select>
@@ -153,20 +153,20 @@
153
153
  <template partial='head'>
154
154
  <tr>
155
155
  <th style="text-align:center">
156
- <nobr>客户编号</nobr>
156
+ <nobr>{{$parent.$parent.$parent.usertitle}}编号</nobr>
157
157
  </th>
158
158
  <th style="text-align:center">
159
- <nobr>客户类型</nobr>
159
+ <nobr>{{$parent.$parent.$parent.usertitle}}类型</nobr>
160
160
  </th>
161
161
  <th style="text-align:center">
162
162
  <nobr>用气性质</nobr>
163
163
  </th>
164
164
  <th style="text-align:center">
165
- <nobr>用户电话</nobr>
165
+ <nobr>{{$parent.$parent.$parent.usertitle}}电话</nobr>
166
166
  </th>
167
167
  <!--<th style="text-align:center"><nobr>用气属性</nobr></th>-->
168
168
  <th style="text-align:center">
169
- <nobr>客户名称</nobr>
169
+ <nobr>{{$parent.$parent.$parent.usertitle}}名称</nobr>
170
170
  </th>
171
171
  <th style="text-align:center">
172
172
  <nobr>小区</nobr>
@@ -346,11 +346,11 @@ import {HttpResetClass, PagedList} from 'vue-client'
346
346
  getfield: {},
347
347
  config: {
348
348
  excelHeaders: {
349
- 'f_userinfo_code':'客户编号',
350
- 'f_user_type':'客户类型',
349
+ 'f_userinfo_code':'用户编号',
350
+ 'f_user_type':'用户类型',
351
351
  'f_gasproperties': '用气性质',
352
- 'f_user_name': '客户名称',
353
- 'f_user_phone':'客户电话',
352
+ 'f_user_name': '用户名称',
353
+ 'f_user_phone':'用户电话',
354
354
  'f_residential_area': '小区',
355
355
  'f_price':'用气单价',
356
356
  'f_address':'用气地址',
@@ -376,6 +376,7 @@ import {HttpResetClass, PagedList} from 'vue-client'
376
376
  // orgCondtionStr: ' and h.f_orgid in (' + this.$login.f.orgid + ')',
377
377
  orgCondtionStr: '(' + this.$login.f.orgid + ')',
378
378
  orgid:[this.$login.f.orgid],
379
+ usertitle: this.$appdata.getSingleValue('用户名称前缀') ? this.$appdata.getSingleValue('用户名称前缀') : '客户',
379
380
  usetypes: [{label: '全部', value: ''},{label: '是', value: `= '壁挂炉'`},{label: '否', value: `!= '壁挂炉'`}],
380
381
  zonesdata:''
381
382
  }
@@ -12,21 +12,21 @@
12
12
  <!--</div>-->
13
13
 
14
14
  <div class="col-sm-2 form-group">
15
- <label class="font_normal_body">客户编号</label>
15
+ <label class="font_normal_body">{{$parent.$parent.usertitle}}编号</label>
16
16
  <input @keyup.enter="search" style="width:60%" type="text" class="input_search"
17
- v-model="model.f_userinfo_code" placeholder='客户编号'
17
+ v-model="model.f_userinfo_code" placeholder='用户编号'
18
18
  condition="f_userinfo_code like '%{}%'" v-el:xq v-next-el='userinfocode' v-el:username
19
19
  >
20
20
  </div>
21
21
  <div class="col-sm-2 form-group">
22
- <label class="font_normal_body">客户名称</label>
22
+ <label class="font_normal_body">{{$parent.$parent.usertitle}}名称</label>
23
23
  <input @keyup.enter="search" style="width:60%" type="text" class="input_search"
24
- v-model="model.f_user_name" placeholder='客户名称'
24
+ v-model="model.f_user_name" placeholder='用户名称'
25
25
  condition="f_user_name like '%{}%'" v-el:xq v-next-el='username' v-el:username
26
26
  >
27
27
  </div>
28
28
  <div class="col-sm-2 form-group">
29
- <label class="font_normal_body">客户地址</label>
29
+ <label class="font_normal_body">{{$parent.$parent.usertitle}}地址</label>
30
30
  <input @keyup.enter="search" style="width:60%" type="text" class="input_search" v-model="model.f_area"
31
31
  placeholder='地址'
32
32
  condition="f_address like '%{}%'" v-el:xq v-next-el='address' v-el:area
@@ -60,10 +60,10 @@
60
60
  :initresid='$parent.$parent.org'></right-tree>
61
61
  </div>
62
62
  <div class="col-sm-2 form-group">
63
- <label class="font_normal_body">客户类型</label>
63
+ <label class="font_normal_body">{{$parent.$parent.usertitle}}类型</label>
64
64
  <v-select style="width:60%" id="f_user_type"
65
65
  v-model="model.f_user_type"
66
- placeholder='客户类型'
66
+ placeholder='用户类型'
67
67
  :value.sync="model.f_user_type"
68
68
  :options='$parent.$parent.usertypes'
69
69
  condition="f_user_type = '{}'"
@@ -151,10 +151,10 @@
151
151
  <!--:thead='"<th>序号</th>\n"+-->
152
152
  <!--"<th>档案编号</th>" +-->
153
153
  <!--" <th>档案标识</th>"+-->
154
- <!--"<th>客户名称</th>"+-->
154
+ <!--"<th>用户名称</th>"+-->
155
155
  <!--"<th>表号</th"+-->
156
156
  <!--"<th>表具类型</th>"+-->
157
- <!--"<th>客户类型</th>"+-->
157
+ <!--"<th>用户类型</th>"+-->
158
158
  <!--"<th>区域</th>"+-->
159
159
  <!--"<th>小区</th>"+-->
160
160
  <!--"<th>地址</th>"+-->
@@ -166,7 +166,7 @@
166
166
  <!--:fields='["$index+1","f_username","f_meternumber","f_usertype","f_save_money","f_operate_status","f_close_reason","f_area","f_districtname","f_address","id","yytdepa"]'>-->
167
167
  <!--</print-table>-->
168
168
  <!--<export-excel :data="{orderitem: 'lastinputdate desc', condition: '1=1'}"-->
169
- <!--:field="{f_username: '客户名称', f_meternumber: '表号',f_usertype:'客户类型',f_save_money:'剩余金额',-->
169
+ <!--:field="{f_username: '用户名称', f_meternumber: '表号',f_usertype:'用户类型',f_save_money:'剩余金额',-->
170
170
  <!--f_operate_status:'状态',f_close_reason:'关阀原因',f_area:'区域',f_districtname:'小区', f_address: '地址',id:'档案编号',yytdepa:'所属机构'}"-->
171
171
  <!--sqlurl="rs/sql/getUserGas"></export-excel>-->
172
172
 
@@ -182,16 +182,16 @@
182
182
  <!--<th rowspan="2" style="text-align:center"><nobr>客户编号</nobr></th>-->
183
183
 
184
184
  <th style="text-align:center">
185
- <nobr>客户编号</nobr>
185
+ <nobr>{{$parent.$parent.$parent.usertitle}}编号</nobr>
186
186
  </th>
187
187
  <th style="text-align:center">
188
- <nobr>客户名称</nobr>
188
+ <nobr>{{$parent.$parent.$parent.usertitle}}名称</nobr>
189
189
  </th>
190
190
  <th style="text-align:center">
191
- <nobr>客户地址</nobr>
191
+ <nobr>{{$parent.$parent.$parent.usertitle}}地址</nobr>
192
192
  </th>
193
193
  <th style="text-align:center">
194
- <nobr>客户类型</nobr>
194
+ <nobr>{{$parent.$parent.$parent.usertitle}}类型</nobr>
195
195
  </th>
196
196
  <th style="text-align:center">
197
197
  <nobr>用气性质</nobr>
@@ -323,8 +323,8 @@
323
323
  return {
324
324
  model: new PagedList('rs/sql/webmeter_getUserLoseQuery', 20),
325
325
  getfield:{
326
- "f_userinfo_code":"客户编号","f_user_name":"客户名称","f_residential_area":"小区",
327
- "f_address":"客户地址","f_user_type":"客户类型","f_gasproperties":"用气性质",
326
+ "f_userinfo_code":"用户编号","f_user_name":"用户名称","f_residential_area":"小区",
327
+ "f_address":"用户地址","f_user_type":"用户类型","f_gasproperties":"用气性质",
328
328
  "f_meternumber":"表号",
329
329
  "f_user_phone":"联系电话",
330
330
  "f_balance_amount":"系统余额",
@@ -357,8 +357,9 @@
357
357
  isActiveTotalForm: false,
358
358
  condition: '1=1',
359
359
  groupname: ['max_days_type'],
360
+ usertitle: this.$appdata.getSingleValue('用户名称前缀') ? this.$appdata.getSingleValue('用户名称前缀') : '客户',
360
361
  getgroupname: [
361
- {label: '客户类型', value: 'f_user_type'},
362
+ {label: '用户类型', value: 'f_user_type'},
362
363
  {label: '用气性质', value: 'f_gasproperties'},
363
364
  {label: '分公司', value: 'f_orgname'},
364
365
  {label: '最长失联天数', value: 'max_days_type'},