manage-client 3.3.2 → 3.3.5
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 +180 -180
- package/package.json +1 -1
- package/src/components/sale/businessquery/GroupChargeQuery.vue +481 -481
- package/src/components/sale/businessquery/NewAreaGeneralQuery.vue +633 -633
- package/src/components/webmeter/recharge/RechargeList.vue +346 -346
- package/src/filiale/gehua/GroupChargeQuery.vue +486 -486
- package/src/filiale/huayin/ChargeQuery.vue +1305 -1305
- package/src/filiale/macheng/config/exportConfig.js +1 -1
- package/src/filiale/rongcheng/AreaBuildingDetailInfo.vue +281 -281
- package/src/filiale/rongcheng/AreaBuildingInfoSummary.vue +301 -301
- package/src/filiale/rongcheng/exportConfig.js +536 -536
- package/src/filiale/rongcheng/sale.js +22 -22
- package/src/filiale/shanxian/CancellationQuery.vue +426 -0
- package/src/filiale/shanxian/ChangeUserQuery.vue +395 -0
- package/src/filiale/shanxian/DeviceQuery.vue +586 -0
- package/src/filiale/shanxian/DisableQuery.vue +528 -0
- package/src/filiale/shanxian/EnableQuery.vue +461 -0
- package/src/filiale/shanxian/FMYGasQuery.vue +731 -0
- package/src/filiale/shanxian/FillCardQuery.vue +569 -569
- package/src/filiale/shanxian/FillGasQuery.vue +588 -588
- package/src/filiale/shanxian/FmyGasDeviceQuery.vue +68 -33
- package/src/filiale/shanxian/InspectListUserNew.vue +18 -16
- package/src/filiale/shanxian/LostContactAnalysisList.vue +633 -632
- package/src/filiale/shanxian/MeterQuery.vue +968 -0
- package/src/filiale/shanxian/MonthGasQuery.vue +481 -0
- package/src/filiale/shanxian/NewQueryInstruct.vue +457 -0
- package/src/filiale/shanxian/OtherChargeQuery.vue +684 -684
- package/src/filiale/shanxian/ReverseQuery.vue +454 -0
- package/src/filiale/shanxian/TransferQuery.vue +469 -0
- package/src/filiale/shanxian/UserGasAll.vue +15 -14
- package/src/filiale/shanxian/UserLostContactAnalysis.vue +584 -583
- package/src/filiale/shanxian/UserQuery.vue +960 -959
- package/src/filiale/shanxian/config/exportConfig.js +100 -100
- package/src/filiale/shanxian/newwebmeter/TotalExceptionByMeter.vue +608 -0
- package/src/filiale/shanxian/sale.js +46 -26
- package/src/filiale/shanxian/webmeterManage.js +4 -0
- package/src/filiale/wenxi/ChangeMeterQuery.vue +704 -704
- package/src/filiale/wenxi/ChangeUserQuery.vue +371 -371
- package/src/filiale/wenxi/ChargeQuery.vue +1260 -1260
- package/src/filiale/wenxi/FmyGasDeviceQuery.vue +944 -944
- package/src/filiale/wenxi/GasDeviceQuery.vue +1041 -1041
- package/src/filiale/wenxi/GasStatistics.vue +515 -515
- package/src/filiale/wenxi/GetNoMetereadData.vue +374 -374
- package/src/filiale/wenxi/HandplanQuery.vue +1370 -1370
- package/src/filiale/wenxi/ManageUserTypeSell.vue +173 -173
- package/src/filiale/wenxi/MeterQuery.vue +937 -964
- package/src/filiale/wenxi/NewGasStatistics.vue +522 -522
- package/src/filiale/wenxi/RecordInfoQuery.vue +1213 -1213
- package/src/filiale/wenxi/WebHandQuery.vue +475 -475
- package/src/filiale/wenxi/config/exportConfig.js +916 -916
- package/src/filiale/wenxi/sale.js +24 -24
- package/src/filiale/wenxi/webmeterManage.js +13 -13
- package/src/filiale/xinkang/EchartsBox.vue +139 -139
- package/src/filiale/xinkang/ManageBrandHouseCount.vue +347 -347
- package/src/filiale/xinkang/NewGasStatistics.vue +526 -526
- package/src/filiale/xinkang/exportConfig.js +1998 -1998
- package/src/filiale/xinkang/meterFaultChangeSummary.vue +196 -196
- package/src/filiale/xinkang/reportManage.js +15 -15
- package/src/filiale/xinkang/sale.js +13 -13
- package/src/filiale/xinkang/webmeterManage.js +9 -9
- package/src/filiale/zhongyi/GasStatistics.vue +521 -521
- package/src/main.js +66 -72
- package/lib/package_2022-12-01-14-30-50.json +0 -109
|
@@ -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">表  号</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">卡  号</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
|
+
过户费合计: {{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
|
+
户数合计: {{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"
|
|
12
|
-
<input style="width:60%" class="input_search" condition="f_userinfo_code like '%{}%'" placeholder='
|
|
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"
|
|
18
|
-
<input style="width:60%" class="input_search" condition="f_user_name like '%{}%'" placeholder='
|
|
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"
|
|
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
|
|
156
|
+
<nobr>{{$parent.$parent.$parent.usertitle}}编号</nobr>
|
|
157
157
|
</th>
|
|
158
158
|
<th style="text-align:center">
|
|
159
|
-
<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
|
|
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
|
|
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
|
}
|