manage-client 3.2.201 → 3.2.203
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 +190 -190
- package/package.json +1 -1
- package/src/components/SellReport/OperatorSellReport.vue +207 -254
- package/src/components/sale/businessquery/InspectListUser.vue +2 -2
- package/src/components/sale/config/exportConfig.js +4 -4
- package/src/components/sale/filesquery/GasDeviceQuery.vue +1 -1
- package/src/components/sale/filesquery/UserQuery.vue +2 -2
- package/src/filiale/WEINAN/BusinessManage.vue +163 -163
- package/src/filiale/WEINAN/MergeFileQuery.vue +185 -185
- package/src/filiale/WEINAN/sale.js +48 -48
- package/src/filiale/gehua/ReportDataQuery.vue +279 -0
- package/src/filiale/gehua/config/exportConfig.js +1084 -0
- package/src/filiale/gehua/config/tableConfig.js +56 -0
- package/src/filiale/gehua/webmeterManage.js +1 -0
- package/src/filiale/macheng/TransferQuery.vue +467 -0
- package/src/filiale/macheng/config/DefaultPrint.js +4 -1
- package/src/filiale/macheng/config/exportConfig.js +6 -1
- package/src/filiale/macheng/sale.js +2 -1
- package/src/filiale/qianneng/MeterQuery.vue +13 -1
- package/src/filiale/qianneng/RecordInfoQuery.vue +2 -0
- package/src/filiale/qianneng/UserQuery.vue +6 -0
- package/src/filiale/qianneng/exportConfig.js +11 -2
- package/src/filiale/qingtongxia/NewWebMeterHandPlan.vue +724 -0
- package/src/filiale/qingtongxia/webmeterManage.js +9 -0
- package/src/filiale/shanxian/GasInspection.vue +572 -0
- package/src/filiale/shanxian/InspectListGas.vue +544 -0
- package/src/filiale/shanxian/InspectListUser.vue +449 -0
- package/src/filiale/shanxian/config/exportConfig.js +1082 -0
- package/src/filiale/shanxian/sale.js +13 -0
- package/yarn-error.log +7659 -0
- package/.gradle/4.4/fileHashes/fileHashes.bin +0 -0
- package/.gradle/4.4/fileHashes/fileHashes.lock +0 -0
- package/.gradle/7.1/dependencies-accessors/dependencies-accessors.lock +0 -0
- package/.gradle/7.1/dependencies-accessors/gc.properties +0 -0
- package/.gradle/7.1/executionHistory/executionHistory.bin +0 -0
- package/.gradle/7.1/executionHistory/executionHistory.lock +0 -0
- package/.gradle/7.1/fileChanges/last-build.bin +0 -0
- package/.gradle/7.1/fileHashes/fileHashes.bin +0 -0
- package/.gradle/7.1/fileHashes/fileHashes.lock +0 -0
- package/.gradle/7.1/gc.properties +0 -0
- package/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
export default{
|
|
2
|
+
//查询页面的字段名和中文对应
|
|
3
|
+
ReportDataQuery:
|
|
4
|
+
{
|
|
5
|
+
"用户编号":"f_userinfo_code",
|
|
6
|
+
"用户名称":"f_user_name",
|
|
7
|
+
"表号":"f_meternumber",
|
|
8
|
+
"本次抄表底数":"f_tablebase",
|
|
9
|
+
"上次抄表底数":"f_last_tablebase",
|
|
10
|
+
"表上余额":"f_jval",
|
|
11
|
+
"抄表日期":"f_hand_date",
|
|
12
|
+
|
|
13
|
+
"上次抄表日期":"f_last_hand_date",
|
|
14
|
+
"开户日期":"f_gas_date",
|
|
15
|
+
"软件版本号":"f_software_version",
|
|
16
|
+
"表状态信息":"f_table_msg",
|
|
17
|
+
"上次表状态信息":"f_last_meter_state_msg",
|
|
18
|
+
|
|
19
|
+
"插入日期":"f_insert_date",
|
|
20
|
+
"上次插入日期":"f_last_insertdate",
|
|
21
|
+
"是否结算":"f_whether_clear",
|
|
22
|
+
"超用气量":"f_super_gas",
|
|
23
|
+
"电量等级":"f_electricity",
|
|
24
|
+
|
|
25
|
+
"购气次数":"f_times",
|
|
26
|
+
"用气量":"f_oughtamount",
|
|
27
|
+
"用气金额":"f_oughtfee",
|
|
28
|
+
"单价":"f_price",
|
|
29
|
+
"信号强度":"f_signal",
|
|
30
|
+
"信噪比":"f_snr",
|
|
31
|
+
"电压":"f_batterylevel",
|
|
32
|
+
|
|
33
|
+
"阀门强制状态":"f_networkshutvalve",
|
|
34
|
+
"阀门状态":"f_valvestate",
|
|
35
|
+
"计量类型":"f_wmprepaytype",
|
|
36
|
+
"上报类型":"f_upload_type",
|
|
37
|
+
"金额状态":"f_moneystate",
|
|
38
|
+
|
|
39
|
+
"增加工况瞬时":"operatingModeFlow",
|
|
40
|
+
"标况瞬时":"standardConditionFlow",
|
|
41
|
+
"开盖状态" :"f_SplitAlarm",
|
|
42
|
+
"液晶状态" : "f_XTIpllStopFlag",
|
|
43
|
+
"声速" :"soundVelocity",
|
|
44
|
+
|
|
45
|
+
"外电低电":"f_lowlithiumbattery",
|
|
46
|
+
"磁干扰异常":"f_magneticinterference",
|
|
47
|
+
"表内剩余金额":"f_meterbalanceamt",
|
|
48
|
+
"表内累计充值金额":"f_meterdebitamt",
|
|
49
|
+
"补偿状态":"f_compensatestate",
|
|
50
|
+
"气表品牌":"f_meter_brand",
|
|
51
|
+
"气表型号":"f_meter_style",
|
|
52
|
+
"分公司":"f_orgname"
|
|
53
|
+
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
}
|
|
@@ -0,0 +1,467 @@
|
|
|
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">客户编号</label>
|
|
32
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_userinfo_code"
|
|
33
|
+
condition="f_userinfo_code = '{}' " placeholder="客户编号">
|
|
34
|
+
</div>
|
|
35
|
+
<div class="col-sm-2 form-group">
|
|
36
|
+
<label class="font_normal_body" title="旧客户编号">档案编号</label>
|
|
37
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_olduserinfo_code"
|
|
38
|
+
condition="f_olduserinfo_code = '{}' " placeholder="档案编号">
|
|
39
|
+
</div>
|
|
40
|
+
<div class="span" style="float:right;">
|
|
41
|
+
<button class="button_search button_spacing" @click="search()">查询</button>
|
|
42
|
+
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
43
|
+
<!--<button class="btn btn-default" @click="$parent.$parent.stamp()">打印</button>-->
|
|
44
|
+
<export-excel :data="$parent.$parent.getCondition" :footer="$parent.$parent.footer"
|
|
45
|
+
:field="$parent.$parent.getfield" :header="$parent.$parent.other"
|
|
46
|
+
sqlurl="rs/easyExcel/exportExcel" sql-name="transferQuery" template-name='过户查询导出'
|
|
47
|
+
:choose-col="true"></export-excel>
|
|
48
|
+
<print-data :sum-field="$parent.$parent.getfield" :model="$parent.model" :field="$parent.$parent.getfield"
|
|
49
|
+
:defaultfield="$parent.$parent.defaultfield"
|
|
50
|
+
titletable="过户记录"
|
|
51
|
+
:sumsmodel="$parent.$parent.sumsmodel"></print-data>
|
|
52
|
+
<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>
|
|
53
|
+
</div>
|
|
54
|
+
</div>
|
|
55
|
+
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
56
|
+
<res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" :cascade =true v-ref:sel></res-select-group>
|
|
57
|
+
|
|
58
|
+
<div class="col-sm-2 form-group">
|
|
59
|
+
<label class="font_normal_body">客户地址</label>
|
|
60
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_address"
|
|
61
|
+
condition="f_address like '%{}%'" placeholder='客户地址'>
|
|
62
|
+
</div>
|
|
63
|
+
<div class="col-sm-2 form-group">
|
|
64
|
+
<label class="font_normal_body">表  号</label>
|
|
65
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_meternumber"
|
|
66
|
+
condition="f_meternumber = '{}'" placeholder='表号'>
|
|
67
|
+
</div>
|
|
68
|
+
<div class="col-sm-2 form-group">
|
|
69
|
+
<label class="font_normal_body">卡  号</label>
|
|
70
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_card_id"
|
|
71
|
+
condition="f_card_id = '{}'" placeholder='卡号'>
|
|
72
|
+
</div>
|
|
73
|
+
<div class="col-sm-2 form-group">
|
|
74
|
+
<label class="font_normal_body">过户状态</label>
|
|
75
|
+
<v-select :value.sync="model.f_state"
|
|
76
|
+
v-model="model.f_state"
|
|
77
|
+
:options='$parent.$parent.transferstate' placeholder='请选择'
|
|
78
|
+
condition="f_state = '{}'"
|
|
79
|
+
close-on-select></v-select>
|
|
80
|
+
</div>
|
|
81
|
+
<div class="col-sm-2 form-group">
|
|
82
|
+
<label class="font_normal_body">原户姓名</label>
|
|
83
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
|
|
84
|
+
placeholder="原户姓名"
|
|
85
|
+
condition="f_user_name like '%{}%'">
|
|
86
|
+
</div>
|
|
87
|
+
<div class="col-sm-2 form-group">
|
|
88
|
+
<label class="font_normal_body">新户姓名</label>
|
|
89
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_newuser_name"
|
|
90
|
+
condition="f_newuser_name like '%{}%' " placeholder="新户姓名">
|
|
91
|
+
</div>
|
|
92
|
+
<div class="col-sm-2 form-group">
|
|
93
|
+
<label class="font_normal_body">原户电话</label>
|
|
94
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_user_phone"
|
|
95
|
+
condition="f_user_phone like '%{}%' " placeholder="原户电话">
|
|
96
|
+
</div>
|
|
97
|
+
<div class="col-sm-2 form-group">
|
|
98
|
+
<label class="font_normal_body">新户电话</label>
|
|
99
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_newuser_phone"
|
|
100
|
+
condition="f_newuser_phone like '%{}%' " placeholder="新户电话">
|
|
101
|
+
</div>
|
|
102
|
+
</div>
|
|
103
|
+
</div>
|
|
104
|
+
</criteria>
|
|
105
|
+
|
|
106
|
+
<data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid :classname="$parent.classname">
|
|
107
|
+
<template partial='head'>
|
|
108
|
+
<tr>
|
|
109
|
+
<th>
|
|
110
|
+
<!-- <nobr>客户编号</nobr>-->
|
|
111
|
+
<data-order field="f_userinfo_code" name="客户编号"
|
|
112
|
+
:order.sync="$parent.$parent.$parent.orderFields.f_userinfo_code"></data-order>
|
|
113
|
+
</th>
|
|
114
|
+
<th>
|
|
115
|
+
<nobr>客户名称</nobr>
|
|
116
|
+
</th>
|
|
117
|
+
<th>
|
|
118
|
+
<nobr>档案编号</nobr>
|
|
119
|
+
</th>
|
|
120
|
+
<th>
|
|
121
|
+
<!-- <nobr>客户地址</nobr>-->
|
|
122
|
+
<data-order field="f_address" name="客户地址"
|
|
123
|
+
:order.sync="$parent.$parent.$parent.orderFields.f_address"></data-order>
|
|
124
|
+
</th>
|
|
125
|
+
<th>
|
|
126
|
+
<nobr>表号</nobr>
|
|
127
|
+
</th>
|
|
128
|
+
<th>
|
|
129
|
+
<nobr>原客户名称</nobr>
|
|
130
|
+
</th>
|
|
131
|
+
<th>
|
|
132
|
+
<nobr>新客户电话</nobr>
|
|
133
|
+
</th>
|
|
134
|
+
<th>
|
|
135
|
+
<nobr>原客户电话</nobr>
|
|
136
|
+
</th>
|
|
137
|
+
<th>
|
|
138
|
+
<nobr>过户费</nobr>
|
|
139
|
+
</th>
|
|
140
|
+
<th>
|
|
141
|
+
<!-- <nobr>过户日期</nobr>-->
|
|
142
|
+
<data-order field="f_operate_date" name="过户日期"
|
|
143
|
+
:order.sync="$parent.$parent.$parent.orderFields.f_operate_date"></data-order>
|
|
144
|
+
</th>
|
|
145
|
+
<th>
|
|
146
|
+
<nobr>备注</nobr>
|
|
147
|
+
</th>
|
|
148
|
+
<th>
|
|
149
|
+
<nobr>操作员</nobr>
|
|
150
|
+
</th>
|
|
151
|
+
<th>
|
|
152
|
+
<nobr>部门</nobr>
|
|
153
|
+
</th>
|
|
154
|
+
<th>
|
|
155
|
+
<nobr>公司</nobr>
|
|
156
|
+
</th>
|
|
157
|
+
<th><nobr>附件</nobr></th>
|
|
158
|
+
</tr>
|
|
159
|
+
</template>
|
|
160
|
+
<template partial='body'>
|
|
161
|
+
<td style="text-align: center;">
|
|
162
|
+
<nobr>
|
|
163
|
+
<span @click="$parent.$parent.$parent.dealmsg(row)"><a>{{row.f_userinfo_code}}</a></span></nobr>
|
|
164
|
+
</td>
|
|
165
|
+
<td style="text-align: center;">
|
|
166
|
+
<nobr>{{row.f_newuser_name}}</nobr>
|
|
167
|
+
</td>
|
|
168
|
+
<td style="text-align: center;">
|
|
169
|
+
<nobr>{{row.f_olduserinfo_code}}</nobr>
|
|
170
|
+
</td>
|
|
171
|
+
<td style="text-align: center;">
|
|
172
|
+
<nobr>{{row.f_address}}</nobr>
|
|
173
|
+
</td>
|
|
174
|
+
<td style="text-align: center;">
|
|
175
|
+
<nobr>{{row.f_meternumber}}</nobr>
|
|
176
|
+
</td>
|
|
177
|
+
<td style="text-align: center;">
|
|
178
|
+
<nobr>{{row.f_user_name}}</nobr>
|
|
179
|
+
</td>
|
|
180
|
+
<td style="text-align: center;">
|
|
181
|
+
<nobr>{{row.f_newuser_phone}}</nobr>
|
|
182
|
+
</td>
|
|
183
|
+
<td style="text-align: center;">
|
|
184
|
+
<nobr>{{row.f_user_phone}}</nobr>
|
|
185
|
+
</td>
|
|
186
|
+
<td style="text-align: center;">
|
|
187
|
+
<nobr>{{row.f_transfer_fees}}</nobr>
|
|
188
|
+
</td>
|
|
189
|
+
<td style="text-align: center;">
|
|
190
|
+
<nobr>{{row.f_operate_date}}</nobr>
|
|
191
|
+
</td>
|
|
192
|
+
<td style="text-align: center;">
|
|
193
|
+
<nobr>{{row.f_comments}}</nobr>
|
|
194
|
+
</td>
|
|
195
|
+
<td style="text-align: center;">
|
|
196
|
+
<nobr>{{row.f_operator}}</nobr>
|
|
197
|
+
</td>
|
|
198
|
+
<td style="text-align: center;">
|
|
199
|
+
<nobr>{{row.f_depname}}</nobr>
|
|
200
|
+
</td>
|
|
201
|
+
<td style="text-align: center;">
|
|
202
|
+
<nobr>{{row.f_orgname}}</nobr>
|
|
203
|
+
</td>
|
|
204
|
+
<td style="text-align: center;"><nobr>
|
|
205
|
+
<button class="button_search button_spacing width-60" @click.stop="$parent.$parent.$parent.view(row)">查看</button>
|
|
206
|
+
</nobr></td>
|
|
207
|
+
</template>
|
|
208
|
+
<template partial='foot'></template>
|
|
209
|
+
</data-grid>
|
|
210
|
+
</criteria-paged>
|
|
211
|
+
|
|
212
|
+
<table class="table-hover">
|
|
213
|
+
<tr style="position: relative" class="table-bordered">
|
|
214
|
+
<td
|
|
215
|
+
style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">
|
|
216
|
+
汇总信息
|
|
217
|
+
</td>
|
|
218
|
+
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
219
|
+
过户费合计: {{sumsmodel.f_transfer_fees}}
|
|
220
|
+
</td>
|
|
221
|
+
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
222
|
+
户数合计: {{sumsmodel.hushu}}
|
|
223
|
+
</td>
|
|
224
|
+
</tr>
|
|
225
|
+
</table>
|
|
226
|
+
</div>
|
|
227
|
+
<div class="flex" v-if="show">
|
|
228
|
+
<user-info-detail-manage-new :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage-new>
|
|
229
|
+
</div>
|
|
230
|
+
</div>
|
|
231
|
+
<modal :show.sync="showupload" v-if="showupload" width="80%" style="width:auto;" v-ref:modal middle backdrop="false">
|
|
232
|
+
<article slot="modal-body">
|
|
233
|
+
<upload :blodid="selected.f_userinfo_id" v-ref:upload isupload="false" takeimg="false" fusetype="过户" :isremark="false" style="width:auto" ></upload>
|
|
234
|
+
</article>
|
|
235
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
236
|
+
</footer>
|
|
237
|
+
</modal>
|
|
238
|
+
</div>
|
|
239
|
+
</template>
|
|
240
|
+
|
|
241
|
+
<script>
|
|
242
|
+
import {PagedList} from 'vue-client'
|
|
243
|
+
import defaultPrint from './config/DefaultPrint'
|
|
244
|
+
import exportConfig from './config/exportConfig'
|
|
245
|
+
|
|
246
|
+
let readySomething = async function (self) {
|
|
247
|
+
self.$refs.paged.$refs.cri.model.startDate = self.data ? self.data.startDate : self.$login.toStandardDateString() + ' 00:00:00'
|
|
248
|
+
self.$refs.paged.$refs.cri.model.endDate = self.data ? self.data.endDate : self.$login.toStandardDateString() + ' 23:59:59'
|
|
249
|
+
self.defaultfield = [...self.defaultfield, ...self.config.defaultPrint]
|
|
250
|
+
// await self.$refs.paged.$refs.cri.search()
|
|
251
|
+
await self.$MagLoadParams.loadParam(self.$login.f)
|
|
252
|
+
|
|
253
|
+
self.sumsmodel = self.$refs.paged.$refs.grid.model.sums
|
|
254
|
+
}
|
|
255
|
+
export default {
|
|
256
|
+
props:['data'],
|
|
257
|
+
title: '过户查询',
|
|
258
|
+
data() {
|
|
259
|
+
return {
|
|
260
|
+
data: {},
|
|
261
|
+
other:[],
|
|
262
|
+
footer:[],
|
|
263
|
+
show:false,
|
|
264
|
+
rowdata:{},
|
|
265
|
+
model: new PagedList('rs/sql/transferQuery', 20, {orderitem: this.orderitem?'"' + this.orderitem + ' "':`'f_operate_date desc'`}, {f_transfer_fees: 0,hushu:0}),
|
|
266
|
+
criteriaShow: false,
|
|
267
|
+
initres: {
|
|
268
|
+
org:[this.$login.f.orgid],
|
|
269
|
+
dep:[],
|
|
270
|
+
user:[],
|
|
271
|
+
},
|
|
272
|
+
headData: ["客户编号", "新户姓名", "新户电话", "客户地址", "过户状态", "原户姓名", "原户电话", "客户类型", "用气性质", "气价名称", "过户费", "过户日期", "人员", "部门", "公司"],
|
|
273
|
+
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"],
|
|
274
|
+
orgCondtionStr: '',
|
|
275
|
+
modelval: [],
|
|
276
|
+
printshow: false,
|
|
277
|
+
all: false,
|
|
278
|
+
fields: {},
|
|
279
|
+
config: {
|
|
280
|
+
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"]
|
|
281
|
+
},
|
|
282
|
+
//排序
|
|
283
|
+
orderitem:'f_operate_date desc',
|
|
284
|
+
orderFields: {
|
|
285
|
+
f_operate_date: 'no'
|
|
286
|
+
},
|
|
287
|
+
//默认打印列
|
|
288
|
+
defaultfield: [],
|
|
289
|
+
thead: '',
|
|
290
|
+
tfoot: '',
|
|
291
|
+
showupload:false,
|
|
292
|
+
selected:{},
|
|
293
|
+
|
|
294
|
+
transferstate: this.$appdata.getParam('过户状态') ? [{
|
|
295
|
+
label: '全部',
|
|
296
|
+
value: ''
|
|
297
|
+
}, ...this.$appdata.getParam('过户状态')] : [],
|
|
298
|
+
//合计数据
|
|
299
|
+
sumsmodel: {}
|
|
300
|
+
}
|
|
301
|
+
},
|
|
302
|
+
ready() {
|
|
303
|
+
console.log(this.$login.f)
|
|
304
|
+
readySomething(this).then(() => {
|
|
305
|
+
this.$emit('ready')
|
|
306
|
+
}).catch((error) => {
|
|
307
|
+
this.$emit('error', error)
|
|
308
|
+
})
|
|
309
|
+
},
|
|
310
|
+
methods: {
|
|
311
|
+
view(row){
|
|
312
|
+
this.showupload = true
|
|
313
|
+
this.selected= row
|
|
314
|
+
},
|
|
315
|
+
getotherfooter(){
|
|
316
|
+
// this.$refs.paged.$refs.cri.$refs.exports.otherData=[];
|
|
317
|
+
// this.$refs.paged.$refs.cri.$refs.exports.footerData=[];
|
|
318
|
+
this.other=[];
|
|
319
|
+
this.footer=[];
|
|
320
|
+
let exportdata = this.getCondition;
|
|
321
|
+
let otherInData=[];
|
|
322
|
+
otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`);
|
|
323
|
+
let footerData=[],exportfield=this.getfield;
|
|
324
|
+
footerData.push("合计");
|
|
325
|
+
let self = this;
|
|
326
|
+
for(var field in self.sumsmodel){
|
|
327
|
+
footerData.push(`${exportfield[field]}合计:${self.sumsmodel[field]}`);
|
|
328
|
+
}
|
|
329
|
+
this.footer.push(footerData);
|
|
330
|
+
this.other.push(otherInData);
|
|
331
|
+
},
|
|
332
|
+
search(){
|
|
333
|
+
this.$refs.paged.$refs.cri.search()
|
|
334
|
+
},
|
|
335
|
+
dblclick(obj) {
|
|
336
|
+
this.data = obj
|
|
337
|
+
this.showinfo = true
|
|
338
|
+
},
|
|
339
|
+
async selfSearch(args) {
|
|
340
|
+
if (this.data) {
|
|
341
|
+
this.$parent.$parent.$parent.data.startDate=this.$refs.paged.$refs.cri.model.startDate
|
|
342
|
+
this.$parent.$parent.$parent.data.endDate=this.$refs.paged.$refs.cri.model.endDate
|
|
343
|
+
}
|
|
344
|
+
args.condition = `${args.condition}` + this.orgCondtionStr
|
|
345
|
+
// console.log('我的阐述', JSON.stringify(args.condition))
|
|
346
|
+
await this.model.search(args.condition, args.model)
|
|
347
|
+
this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
|
|
348
|
+
this.sumsmodel.hushu=[...new Set(this.$refs.paged.$refs.grid.model.rows.map(item => item.f_userinfo_code))].length
|
|
349
|
+
|
|
350
|
+
console.log('合计字段', this.sumsmodel)
|
|
351
|
+
},
|
|
352
|
+
dealmsg(val) {
|
|
353
|
+
console.log('---------------dealmsg')
|
|
354
|
+
this.rowdata=val
|
|
355
|
+
this.show=true
|
|
356
|
+
val.model = this.model.model
|
|
357
|
+
this.$dispatch('deal-msg', val)
|
|
358
|
+
},
|
|
359
|
+
cancel() {
|
|
360
|
+
this.show = false
|
|
361
|
+
},
|
|
362
|
+
clear() {
|
|
363
|
+
//清空部门和人员
|
|
364
|
+
this.$refs.paged.$refs.cri.$refs.sel.$children[1].selectres = []
|
|
365
|
+
//部门和人员变为全选
|
|
366
|
+
this.$refs.paged.$refs.cri.$refs.sel.$children[1].$children[0].isSelectAll = false
|
|
367
|
+
this.$refs.paged.$refs.cri.$refs.sel.$children[2].$children[0].isSelectAll = false
|
|
368
|
+
Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
|
|
369
|
+
this.$refs.paged.$refs.cri.model[key] = []
|
|
370
|
+
})
|
|
371
|
+
},
|
|
372
|
+
show() {
|
|
373
|
+
this.criteriaShow = true
|
|
374
|
+
},
|
|
375
|
+
hidden() {
|
|
376
|
+
this.criteriaShow = !this.criteriaShow
|
|
377
|
+
},
|
|
378
|
+
getRes(obj) {
|
|
379
|
+
this.orgCondtionStr = obj
|
|
380
|
+
},
|
|
381
|
+
stamp() {
|
|
382
|
+
this.all = false
|
|
383
|
+
//默认选择要打印的列
|
|
384
|
+
this.modelval = defaultPrint.config
|
|
385
|
+
this.fields = this.getfield
|
|
386
|
+
console.log('所有打印字段', this.fields)
|
|
387
|
+
this.printshow = true
|
|
388
|
+
this.put()
|
|
389
|
+
},
|
|
390
|
+
put() {
|
|
391
|
+
// 对Modelval进行排序
|
|
392
|
+
this.sortModelval()
|
|
393
|
+
this.thead = `<tr><th colspan=${this.modelval.length}>过户查询统计报表</th></tr><tr>`
|
|
394
|
+
for (let key of this.modelval) {
|
|
395
|
+
this.thead += '<th>' + this.fields[key] + '</th>'
|
|
396
|
+
}
|
|
397
|
+
this.thead += '</tr>'
|
|
398
|
+
},
|
|
399
|
+
print() {
|
|
400
|
+
this.$refs.print.PrintAsFile()
|
|
401
|
+
this.printshow = false
|
|
402
|
+
},
|
|
403
|
+
close() {
|
|
404
|
+
this.printshow = false
|
|
405
|
+
this.all = false
|
|
406
|
+
},
|
|
407
|
+
// 对选择的列进行排序
|
|
408
|
+
sortModelval() {
|
|
409
|
+
let sortModel = []
|
|
410
|
+
Object.keys(this.fields).forEach((key) => {
|
|
411
|
+
if (this.modelval.includes(key)) {
|
|
412
|
+
sortModel.push(key)
|
|
413
|
+
}
|
|
414
|
+
})
|
|
415
|
+
this.modelval = sortModel
|
|
416
|
+
console.log('选择的打印的字段', this.modelval)
|
|
417
|
+
},
|
|
418
|
+
sort (field, rule) {
|
|
419
|
+
// 将所有排序方式设为不排序,实现相互排斥
|
|
420
|
+
for (let key in this.orderFields) {
|
|
421
|
+
if (key === field) {
|
|
422
|
+
this.orderFields[key] = rule
|
|
423
|
+
} else {
|
|
424
|
+
this.orderFields[key] = 'no'
|
|
425
|
+
}
|
|
426
|
+
}
|
|
427
|
+
// 如果新规则不排序,还原为默认排序
|
|
428
|
+
if (rule === 'no') {
|
|
429
|
+
this.model.paramSource.orderitem = `'${this.orderitem}'`
|
|
430
|
+
} else {
|
|
431
|
+
this.model.paramSource.orderitem = `'${field} ${rule}'`
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
this.search()
|
|
435
|
+
}
|
|
436
|
+
},
|
|
437
|
+
watch: {
|
|
438
|
+
'all'(val) {
|
|
439
|
+
if (val) {
|
|
440
|
+
this.modelval = this.bodyData
|
|
441
|
+
} else {
|
|
442
|
+
this.modelval = defaultPrint.config
|
|
443
|
+
this.put()
|
|
444
|
+
}
|
|
445
|
+
},
|
|
446
|
+
'modelval.length'() {
|
|
447
|
+
this.put()
|
|
448
|
+
},
|
|
449
|
+
sumsmodel:{
|
|
450
|
+
handler: function(val) {
|
|
451
|
+
this.getotherfooter();
|
|
452
|
+
},
|
|
453
|
+
deep: true
|
|
454
|
+
}
|
|
455
|
+
},
|
|
456
|
+
computed: {
|
|
457
|
+
getCondition() {
|
|
458
|
+
return {
|
|
459
|
+
condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr,
|
|
460
|
+
orderitem: this.orderitem?`${this.orderitem}`: `'f_operate_date desc'` }
|
|
461
|
+
},
|
|
462
|
+
getfield() {
|
|
463
|
+
return exportConfig.transferConfig
|
|
464
|
+
}
|
|
465
|
+
}
|
|
466
|
+
}
|
|
467
|
+
</script>
|
|
@@ -15,5 +15,8 @@ export default{
|
|
|
15
15
|
'may': '五月', 'jun': '六月', 'jul': '七月', 'jug': '八月',
|
|
16
16
|
'sep': '九月', 'oct': '十月', 'nov': '十一月', 'dec': '十二月',
|
|
17
17
|
'sum_oughtamount': '累计气量', 'f_oughtfee': '累计金额', 'avg_oughtamount': '月平均气量'
|
|
18
|
-
}
|
|
18
|
+
},
|
|
19
|
+
config: [
|
|
20
|
+
"f_userinfo_code","f_user_name","f_user_phone","f_pregas","f_preamount","f_collection","f_balance","f_curbalance","f_idnumber"
|
|
21
|
+
]
|
|
19
22
|
}
|
|
@@ -70,5 +70,10 @@ export default{
|
|
|
70
70
|
'sep': '九月', 'oct': '十月', 'nov': '十一月', 'dec': '十二月',
|
|
71
71
|
'sum_oughtamount': '累计气量', 'f_oughtfee': '累计金额', 'avg_oughtamount': '月平均气量'
|
|
72
72
|
},
|
|
73
|
-
|
|
73
|
+
transferConfig: {
|
|
74
|
+
'f_userinfo_code': '客户编号', 'f_address': '客户地址', 'f_operate_date': '过户日期',
|
|
75
|
+
'f_user_name': '原客户名称', 'f_user_phone': '原客户电话', 'f_newuser_name': '现客户名称',
|
|
76
|
+
'f_newuser_phone': '现客户电话', 'f_operator': '操作员', 'f_depname': '部门',
|
|
77
|
+
'f_meternumber': '表号', 'f_comments': '备注'
|
|
78
|
+
}
|
|
74
79
|
}
|
|
@@ -7,6 +7,7 @@ let specialComp = {
|
|
|
7
7
|
'arrears-query': (resolve) => { require(['./ArrearsQuery'], resolve) },
|
|
8
8
|
'meter-query': (resolve) => { require(['./MeterQuery'], resolve) },
|
|
9
9
|
'fmygas-query': (resolve) => { require(['./FMYGasQuery'], resolve) },
|
|
10
|
-
'month-gas-query': (resolve) => { require(['./MonthGasQuery'], resolve) }
|
|
10
|
+
'month-gas-query': (resolve) => { require(['./MonthGasQuery'], resolve) },
|
|
11
|
+
'transfer-query': (resolve) => { require(['./TransferQuery'], resolve) }
|
|
11
12
|
}
|
|
12
13
|
exports.specialComp = specialComp
|
|
@@ -309,9 +309,15 @@
|
|
|
309
309
|
<th>
|
|
310
310
|
<nobr>档案编号</nobr>
|
|
311
311
|
</th>
|
|
312
|
+
<th>
|
|
313
|
+
<nobr>入户证号</nobr>
|
|
314
|
+
</th>
|
|
312
315
|
<th>
|
|
313
316
|
<nobr>团缴编号</nobr>
|
|
314
317
|
</th>
|
|
318
|
+
<th>
|
|
319
|
+
<nobr>表ID</nobr>
|
|
320
|
+
</th>
|
|
315
321
|
<th>
|
|
316
322
|
<nobr>客户电话</nobr>
|
|
317
323
|
</th>
|
|
@@ -415,9 +421,15 @@
|
|
|
415
421
|
<td :class="row.f_table_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
|
|
416
422
|
<nobr>{{row.f_olduserinfo_code}}</nobr>
|
|
417
423
|
</td>
|
|
424
|
+
<td :class="row.f_table_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
|
|
425
|
+
<nobr>{{row.f_enter_number}}</nobr>
|
|
426
|
+
</td>
|
|
418
427
|
<td :class="row.f_table_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
|
|
419
428
|
<nobr>{{row.f_customer}}</nobr>
|
|
420
429
|
</td>
|
|
430
|
+
<td :class="row.f_table_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
|
|
431
|
+
<nobr>{{row.f_userfiles_id}}</nobr>
|
|
432
|
+
</td>
|
|
421
433
|
<td :class="row.f_table_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
|
|
422
434
|
<nobr>{{row.f_user_phone}}</nobr>
|
|
423
435
|
</td>
|
|
@@ -561,7 +573,7 @@
|
|
|
561
573
|
|
|
562
574
|
<script>
|
|
563
575
|
import {HttpResetClass, PagedList} from 'vue-client'
|
|
564
|
-
import exportConfig from '
|
|
576
|
+
import exportConfig from './exportConfig'
|
|
565
577
|
let cardBtnGen = async function (self, val) {
|
|
566
578
|
self.cardInfo = val.data
|
|
567
579
|
|
|
@@ -467,6 +467,7 @@
|
|
|
467
467
|
<data-order field="f_userinfo_code" name="客户编号" :order.sync="$parent.$parent.$parent.orderFields.f_userinfo_code"></data-order>
|
|
468
468
|
</th>
|
|
469
469
|
<th><nobr>档案编号</nobr></th>
|
|
470
|
+
<th><nobr>入户证号</nobr></th>
|
|
470
471
|
<th><nobr>是否发卡</nobr></th>
|
|
471
472
|
<th><nobr>卡号</nobr></th>
|
|
472
473
|
<th><nobr>客户名称</nobr></th>
|
|
@@ -616,6 +617,7 @@
|
|
|
616
617
|
<td style="text-align: center;"><nobr>{{row.f_user_state}}</nobr></td>
|
|
617
618
|
<td style="text-align: center;"><nobr>{{row.f_userinfo_code}}</nobr></td>
|
|
618
619
|
<td style="text-align: center;"><nobr>{{row.f_olduserinfo_code}}</nobr></td>
|
|
620
|
+
<td style="text-align: center;"><nobr>{{row.f_enter_number}}</nobr></td>
|
|
619
621
|
<td style="text-align: center;"><nobr>{{row.f_whether_hairpin}}</nobr></td>
|
|
620
622
|
<td style="text-align: center;"><nobr>{{row.f_card_id}}</nobr></td>
|
|
621
623
|
<td style="text-align: center;"><nobr>{{row.f_user_name}}</nobr></td>
|
|
@@ -295,6 +295,9 @@
|
|
|
295
295
|
<th>
|
|
296
296
|
<nobr>档案编号</nobr>
|
|
297
297
|
</th>
|
|
298
|
+
<th>
|
|
299
|
+
<nobr>入户证号</nobr>
|
|
300
|
+
</th>
|
|
298
301
|
<th>
|
|
299
302
|
<nobr>客户电话</nobr>
|
|
300
303
|
</th>
|
|
@@ -388,6 +391,9 @@
|
|
|
388
391
|
<td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
|
|
389
392
|
<nobr>{{row.f_olduserinfo_code}}</nobr>
|
|
390
393
|
</td>
|
|
394
|
+
<td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
|
|
395
|
+
<nobr>{{row.f_enter_number}}</nobr>
|
|
396
|
+
</td>
|
|
391
397
|
<td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
|
|
392
398
|
<nobr>{{row.f_user_phone}}</nobr>
|
|
393
399
|
</td>
|