manage-client 3.2.240 → 3.2.242
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/package.json +5 -3
- package/src/filiale/WEINAN/CancellationQuery.vue +141 -5
- package/src/filiale/WEINAN/reportManage.js +6 -9
- package/src/filiale/WEINAN/sale.js +50 -54
- package/src/filiale/WEINAN/webmeterManage.js +4 -7
- package/src/filiale/alashan/reportManage.js +4 -6
- package/src/filiale/aode/sale.js +7 -12
- package/src/filiale/ceshi/reportManage.js +5 -3
- package/src/filiale/ceshi/sale.js +6 -9
- package/src/filiale/dongguan/reportManage.js +5 -14
- package/src/filiale/gaomi/sale.js +10 -9
- package/src/filiale/gehua/sale.js +5 -4
- package/src/filiale/gehua/webmeterManage.js +4 -8
- package/src/filiale/gongyi/sale.js +15 -15
- package/src/filiale/huayin/sale.js +5 -6
- package/src/filiale/jingwei/sale.js +4 -4
- package/src/filiale/jingzhou/sale.js +5 -8
- package/src/filiale/kelai/sale.js +5 -7
- package/src/filiale/konggang/sale.js +5 -6
- package/src/filiale/liaoyuan/sale.js +10 -9
- package/src/filiale/macheng/reportManage.js +14 -16
- package/src/filiale/macheng/sale.js +13 -12
- package/src/filiale/macheng/webmeterManage.js +4 -7
- package/src/filiale/meihekou/sale.js +25 -28
- package/src/filiale/pingxiang/sale.js +3 -7
- package/src/filiale/qianneng/QnJgqCbjbZD.vue +672 -0
- package/src/filiale/qianneng/QnJgqCbwlwZD.vue +654 -0
- package/src/filiale/qianneng/QnJgqGsxsmxJX.vue +708 -0
- package/src/filiale/qianneng/QnJgqMyxsmxJX.vue +708 -0
- package/src/filiale/qianneng/QnJgqReport.vue +27 -0
- package/src/filiale/qianneng/QnJgqSfZD.vue +684 -0
- package/src/filiale/qianneng/QnJgqXsjgbbJX.vue +642 -0
- package/src/filiale/qianneng/QnJgqXsjgbbWs.vue +624 -0
- package/src/filiale/qianneng/QnJgqZhdacxZD.vue +638 -0
- package/src/filiale/qianneng/exportConfig.js +39 -0
- package/src/filiale/qianneng/reportManage.js +53 -68
- package/src/filiale/qianneng/sale.js +13 -17
- package/src/filiale/qianneng/webmeterManage.js +4 -8
- package/src/filiale/qingtongxia/sale.js +8 -11
- package/src/filiale/qingtongxia/webmeterManage.js +3 -6
- package/src/filiale/rizhao/sale.js +9 -20
- package/src/filiale/rongcheng/sale.js +8 -12
- package/src/filiale/rongchuang/reportManage.js +4 -8
- package/src/filiale/rongchuang/sale.js +6 -10
- package/src/filiale/shangluo/reportManage.js +4 -7
- package/src/filiale/shangluo/sale.js +4 -8
- package/src/filiale/shanxian/reportManage.js +8 -13
- package/src/filiale/shanxian/sale.js +12 -16
- package/src/filiale/shaoguan/sale.js +19 -18
- package/src/filiale/shennongjia/sale.js +4 -7
- package/src/filiale/shiquan/reportManage.js +7 -5
- package/src/filiale/tongchuan/reportManage.js +7 -4
- package/src/filiale/tongchuan/sale.js +11 -18
- package/src/filiale/tongchuan/webmeterManage.js +3 -7
- package/src/filiale/wenxi/RecordInfoQuery.vue +1420 -0
- package/src/filiale/wenxi/sale.js +5 -7
- package/src/filiale/wuan/sale.js +4 -7
- package/src/filiale/wuhai/sale.js +8 -7
- package/src/filiale/wuhai/webmeterManage.js +4 -3
- package/src/filiale/xiangyun/sale.js +3 -3
- package/src/filiale/xinkang/reportManage.js +6 -5
- package/src/filiale/xinkang/sale.js +8 -11
- package/src/filiale/zhongsheng/sale.js +3 -7
- package/src/filiale/zhongyi/reportManage.js +6 -11
- package/src/filiale/zhongyi/sale.js +27 -41
- package/src/filiale/zhongyi/webmeterManage.js +7 -10
- package/src/main.js +1 -1
- package/src/newmanage.js +1 -1
- package/src/reportManage.js +1 -8
- package/src/saleManage.js +1 -9
- package/src/webmeterManage.js +1 -9
- package/src/filiale/zhoukou/CardHandplanQuery.vue +0 -457
- package/src/filiale/zhoukou/OtherChargeQuery.vue +0 -614
- package/src/filiale/zhoukou/TransferQuery.vue +0 -404
- package/src/filiale/zhoukou/sale.js +0 -15
|
@@ -1,404 +0,0 @@
|
|
|
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>
|
|
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
|
-
<res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
|
|
11
|
-
<div class="span" style="float:right;">
|
|
12
|
-
<button class="button_search button_spacing" @click="search()">查询</button>
|
|
13
|
-
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
14
|
-
<!--<button class="btn btn-default" @click="$parent.$parent.stamp()">打印</button>-->
|
|
15
|
-
<export-excel :data="$parent.$parent.getCondition" :footer="$parent.$parent.footer"
|
|
16
|
-
:field="$parent.$parent.getfield" :header="$parent.$parent.other"
|
|
17
|
-
sqlurl="rs/logic/exportfile" sql-name="transferQuery" template-name='过户查询导出'
|
|
18
|
-
:choose-col="true"></export-excel>
|
|
19
|
-
<print-data :sum-field="$parent.$parent.getfield" :model="$parent.model" :field="$parent.$parent.getfield"
|
|
20
|
-
:defaultfield="$parent.$parent.defaultfield"
|
|
21
|
-
titletable="过户记录"
|
|
22
|
-
:sumsmodel="$parent.$parent.sumsmodel"></print-data>
|
|
23
|
-
<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>
|
|
24
|
-
</div>
|
|
25
|
-
</div>
|
|
26
|
-
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
27
|
-
<div class="col-sm-2 form-group">
|
|
28
|
-
<label for="startDate" class="font_normal_body">开始日期</label>
|
|
29
|
-
<datepicker id="startDate" placeholder="开始日期" style="width:60%"
|
|
30
|
-
v-model="model.startDate"
|
|
31
|
-
:value.sync="model.startDate"
|
|
32
|
-
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
33
|
-
:show-reset-button="true"
|
|
34
|
-
condition="f_operate_date >= '{}'">
|
|
35
|
-
</datepicker>
|
|
36
|
-
</div>
|
|
37
|
-
<div class="col-sm-2 form-group">
|
|
38
|
-
<label for="endDate" class="font_normal_body">结束日期</label>
|
|
39
|
-
<datepicker id="endDate" placeholder="结束日期" style="width:60%"
|
|
40
|
-
v-model="model.endDate"
|
|
41
|
-
:value.sync="model.endDate"
|
|
42
|
-
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
43
|
-
:show-reset-button="true"
|
|
44
|
-
condition="f_operate_date <= '{}'">
|
|
45
|
-
</datepicker>
|
|
46
|
-
</div>
|
|
47
|
-
<div class="col-sm-2 form-group">
|
|
48
|
-
<label class="font_normal_body">客户编号</label>
|
|
49
|
-
<input type="text" style="width:60%" class="input_search" v-model="model.f_userinfo_code"
|
|
50
|
-
condition="f_userinfo_code = '{}' " placeholder="客户编号">
|
|
51
|
-
</div>
|
|
52
|
-
<div class="col-sm-2 form-group">
|
|
53
|
-
<label class="font_normal_body">客户地址</label>
|
|
54
|
-
<input type="text" style="width:60%" class="input_search" v-model="model.f_address"
|
|
55
|
-
condition="f_address like '%{}%'" placeholder='客户地址'>
|
|
56
|
-
</div>
|
|
57
|
-
<div class="col-sm-2 form-group">
|
|
58
|
-
<label class="font_normal_body">过户状态</label>
|
|
59
|
-
<v-select :value.sync="model.f_state"
|
|
60
|
-
v-model="model.f_state"
|
|
61
|
-
:options='$parent.$parent.transferstate' placeholder='请选择'
|
|
62
|
-
condition="f_state = '{}'"
|
|
63
|
-
close-on-select></v-select>
|
|
64
|
-
</div>
|
|
65
|
-
<div class="col-sm-2 form-group">
|
|
66
|
-
<label class="font_normal_body">原户姓名</label>
|
|
67
|
-
<input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
|
|
68
|
-
placeholder="原户姓名"
|
|
69
|
-
condition="f_user_name like '%{}%'">
|
|
70
|
-
</div>
|
|
71
|
-
<div class="col-sm-2 form-group">
|
|
72
|
-
<label class="font_normal_body">新户姓名</label>
|
|
73
|
-
<input type="text" style="width:60%" class="input_search" v-model="model.f_newuser_name"
|
|
74
|
-
condition="f_newuser_name like '%{}%' " placeholder="新户姓名">
|
|
75
|
-
</div>
|
|
76
|
-
<div class="col-sm-2 form-group">
|
|
77
|
-
<label class="font_normal_body">原户电话</label>
|
|
78
|
-
<input type="text" style="width:60%" class="input_search" v-model="model.f_user_phone"
|
|
79
|
-
condition="f_user_phone like '%{}%' " placeholder="原户电话">
|
|
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_newuser_phone"
|
|
84
|
-
condition="f_newuser_phone like '%{}%' " placeholder="新户电话">
|
|
85
|
-
</div>
|
|
86
|
-
</div>
|
|
87
|
-
</div>
|
|
88
|
-
</criteria>
|
|
89
|
-
|
|
90
|
-
<data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid :classname="$parent.classname">
|
|
91
|
-
<template partial='head'>
|
|
92
|
-
<tr>
|
|
93
|
-
<th>
|
|
94
|
-
<nobr>客户编号</nobr>
|
|
95
|
-
</th>
|
|
96
|
-
<th>
|
|
97
|
-
<nobr>客户名称</nobr>
|
|
98
|
-
</th>
|
|
99
|
-
<th>
|
|
100
|
-
<nobr>客户地址</nobr>
|
|
101
|
-
</th>
|
|
102
|
-
<th>
|
|
103
|
-
<nobr>原客户名称</nobr>
|
|
104
|
-
</th>
|
|
105
|
-
<th>
|
|
106
|
-
<nobr>新客户电话</nobr>
|
|
107
|
-
</th>
|
|
108
|
-
<th>
|
|
109
|
-
<nobr>原客户电话</nobr>
|
|
110
|
-
</th>
|
|
111
|
-
<th>
|
|
112
|
-
<nobr>过户费</nobr>
|
|
113
|
-
</th>
|
|
114
|
-
<th>
|
|
115
|
-
<nobr>过户日期</nobr>
|
|
116
|
-
</th>
|
|
117
|
-
<th>
|
|
118
|
-
<nobr>备注</nobr>
|
|
119
|
-
</th>
|
|
120
|
-
<th>
|
|
121
|
-
<nobr>操作员</nobr>
|
|
122
|
-
</th>
|
|
123
|
-
<th>
|
|
124
|
-
<nobr>部门</nobr>
|
|
125
|
-
</th>
|
|
126
|
-
<th>
|
|
127
|
-
<nobr>公司</nobr>
|
|
128
|
-
</th>
|
|
129
|
-
<th><nobr>附件</nobr></th>
|
|
130
|
-
</tr>
|
|
131
|
-
</template>
|
|
132
|
-
<template partial='body'>
|
|
133
|
-
<td style="text-align: center;">
|
|
134
|
-
<nobr>
|
|
135
|
-
<span @click="$parent.$parent.$parent.dealmsg(row)"><a>{{row.f_userinfo_code}}</a></span></nobr>
|
|
136
|
-
</td>
|
|
137
|
-
<td style="text-align: center;">
|
|
138
|
-
<nobr>{{row.f_newuser_name}}</nobr>
|
|
139
|
-
</td>
|
|
140
|
-
<td style="text-align: center;">
|
|
141
|
-
<nobr>{{row.f_address}}</nobr>
|
|
142
|
-
</td>
|
|
143
|
-
<td style="text-align: center;">
|
|
144
|
-
<nobr>{{row.f_user_name}}</nobr>
|
|
145
|
-
</td>
|
|
146
|
-
<td style="text-align: center;">
|
|
147
|
-
<nobr>{{row.f_newuser_phone}}</nobr>
|
|
148
|
-
</td>
|
|
149
|
-
<td style="text-align: center;">
|
|
150
|
-
<nobr>{{row.f_user_phone}}</nobr>
|
|
151
|
-
</td>
|
|
152
|
-
<td style="text-align: center;">
|
|
153
|
-
<nobr>{{row.f_transfer_fees}}</nobr>
|
|
154
|
-
</td>
|
|
155
|
-
<td style="text-align: center;">
|
|
156
|
-
<nobr>{{row.f_operate_date}}</nobr>
|
|
157
|
-
</td>
|
|
158
|
-
<td style="text-align: center;">
|
|
159
|
-
<nobr>{{row.f_comments}}</nobr>
|
|
160
|
-
</td>
|
|
161
|
-
<td style="text-align: center;">
|
|
162
|
-
<nobr>{{row.f_operator}}</nobr>
|
|
163
|
-
</td>
|
|
164
|
-
<td style="text-align: center;">
|
|
165
|
-
<nobr>{{row.f_depname}}</nobr>
|
|
166
|
-
</td>
|
|
167
|
-
<td style="text-align: center;">
|
|
168
|
-
<nobr>{{row.f_orgname}}</nobr>
|
|
169
|
-
</td>
|
|
170
|
-
<td style="text-align: center;"><nobr>
|
|
171
|
-
<button class="button_search button_spacing width-60" @click.stop="$parent.$parent.$parent.view(row)">查看</button>
|
|
172
|
-
</nobr></td>
|
|
173
|
-
</template>
|
|
174
|
-
<template partial='foot'></template>
|
|
175
|
-
</data-grid>
|
|
176
|
-
</criteria-paged>
|
|
177
|
-
|
|
178
|
-
<table class="table-hover">
|
|
179
|
-
<tr style="position: relative" class="table-bordered">
|
|
180
|
-
<td
|
|
181
|
-
style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">
|
|
182
|
-
汇总信息
|
|
183
|
-
</td>
|
|
184
|
-
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
185
|
-
过户费合计: {{sumsmodel.f_transfer_fees}}
|
|
186
|
-
</td>
|
|
187
|
-
</tr>
|
|
188
|
-
</table>
|
|
189
|
-
</div>
|
|
190
|
-
<div class="flex" v-if="show">
|
|
191
|
-
<user-info-detail-manage-new :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage-new>
|
|
192
|
-
</div>
|
|
193
|
-
</div>
|
|
194
|
-
<modal :show.sync="showupload" v-if="showupload" width="80%" style="width:auto;" v-ref:modal middle backdrop="false">
|
|
195
|
-
<article slot="modal-body">
|
|
196
|
-
<upload :blodid="selected.f_blod_id" v-ref:upload isupload="false" takeimg="false" fusetype="过户" :isremark="false" style="width:auto" ></upload>
|
|
197
|
-
</article>
|
|
198
|
-
<footer slot="modal-footer" class="modal-footer">
|
|
199
|
-
</footer>
|
|
200
|
-
</modal>
|
|
201
|
-
</div>
|
|
202
|
-
</template>
|
|
203
|
-
|
|
204
|
-
<script>
|
|
205
|
-
import {PagedList} from 'vue-client'
|
|
206
|
-
import defaultPrint from '../../../src/components/sale/config/DefaultPrint'
|
|
207
|
-
import exportConfig from '../../../src/components/sale/config/exportConfig'
|
|
208
|
-
|
|
209
|
-
let readySomething = async function (self) {
|
|
210
|
-
self.$refs.paged.$refs.cri.model.startDate = self.data ? self.data.startDate : self.$login.toStandardDateString() + ' 00:00:00'
|
|
211
|
-
self.$refs.paged.$refs.cri.model.endDate = self.data ? self.data.endDate : self.$login.toStandardDateString() + ' 23:59:59'
|
|
212
|
-
self.defaultfield = [...self.defaultfield, ...self.config.defaultPrint]
|
|
213
|
-
// await self.$refs.paged.$refs.cri.search()
|
|
214
|
-
await self.$MagLoadParams.loadParam(self.$login.f)
|
|
215
|
-
|
|
216
|
-
self.sumsmodel = self.$refs.paged.$refs.grid.model.sums
|
|
217
|
-
}
|
|
218
|
-
export default {
|
|
219
|
-
props:['data'],
|
|
220
|
-
title: '过户查询',
|
|
221
|
-
data() {
|
|
222
|
-
return {
|
|
223
|
-
data: {},
|
|
224
|
-
other:[],
|
|
225
|
-
footer:[],
|
|
226
|
-
show:false,
|
|
227
|
-
rowdata:{},
|
|
228
|
-
model: new PagedList('rs/sql/transferQuery', 20, {}, {f_transfer_fees: 0}),
|
|
229
|
-
criteriaShow: false,
|
|
230
|
-
initres: {
|
|
231
|
-
org:[this.$login.f.orgid],
|
|
232
|
-
dep:[],
|
|
233
|
-
user:[],
|
|
234
|
-
},
|
|
235
|
-
headData: ["客户编号", "新户姓名", "新户电话", "客户地址", "过户状态", "原户姓名", "原户电话", "客户类型", "用气性质", "气价名称", "过户费", "过户日期", "人员", "部门", "公司"],
|
|
236
|
-
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"],
|
|
237
|
-
orgCondtionStr: '',
|
|
238
|
-
modelval: [],
|
|
239
|
-
printshow: false,
|
|
240
|
-
all: false,
|
|
241
|
-
fields: {},
|
|
242
|
-
config: {
|
|
243
|
-
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"]
|
|
244
|
-
},
|
|
245
|
-
//默认打印列
|
|
246
|
-
defaultfield: [],
|
|
247
|
-
thead: '',
|
|
248
|
-
tfoot: '',
|
|
249
|
-
showupload:false,
|
|
250
|
-
selected:{},
|
|
251
|
-
|
|
252
|
-
transferstate: this.$appdata.getParam('过户状态') ? [{
|
|
253
|
-
label: '全部',
|
|
254
|
-
value: ''
|
|
255
|
-
}, ...this.$appdata.getParam('过户状态')] : [],
|
|
256
|
-
//合计数据
|
|
257
|
-
sumsmodel: {}
|
|
258
|
-
}
|
|
259
|
-
},
|
|
260
|
-
ready() {
|
|
261
|
-
console.log(this.$login.f)
|
|
262
|
-
readySomething(this).then(() => {
|
|
263
|
-
this.$emit('ready')
|
|
264
|
-
}).catch((error) => {
|
|
265
|
-
this.$emit('error', error)
|
|
266
|
-
})
|
|
267
|
-
},
|
|
268
|
-
methods: {
|
|
269
|
-
view(row){
|
|
270
|
-
this.showupload = true
|
|
271
|
-
this.selected= row
|
|
272
|
-
},
|
|
273
|
-
getotherfooter(){
|
|
274
|
-
// this.$refs.paged.$refs.cri.$refs.exports.otherData=[];
|
|
275
|
-
// this.$refs.paged.$refs.cri.$refs.exports.footerData=[];
|
|
276
|
-
this.other=[];
|
|
277
|
-
this.footer=[];
|
|
278
|
-
let exportdata = this.getCondition;
|
|
279
|
-
let otherInData=[];
|
|
280
|
-
otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`);
|
|
281
|
-
let footerData=[],exportfield=this.getfield;
|
|
282
|
-
footerData.push("合计");
|
|
283
|
-
let self = this;
|
|
284
|
-
for(var field in self.sumsmodel){
|
|
285
|
-
footerData.push(`${exportfield[field]}合计:${self.sumsmodel[field]}`);
|
|
286
|
-
}
|
|
287
|
-
this.footer.push(footerData);
|
|
288
|
-
this.other.push(otherInData);
|
|
289
|
-
},
|
|
290
|
-
search(){
|
|
291
|
-
this.$refs.paged.$refs.cri.search()
|
|
292
|
-
},
|
|
293
|
-
dblclick(obj) {
|
|
294
|
-
this.data = obj
|
|
295
|
-
this.showinfo = true
|
|
296
|
-
},
|
|
297
|
-
async selfSearch(args) {
|
|
298
|
-
if (this.data) {
|
|
299
|
-
this.$parent.$parent.$parent.data.startDate=this.$refs.paged.$refs.cri.model.startDate
|
|
300
|
-
this.$parent.$parent.$parent.data.endDate=this.$refs.paged.$refs.cri.model.endDate
|
|
301
|
-
}
|
|
302
|
-
args.condition = `${args.condition}` + this.orgCondtionStr
|
|
303
|
-
console.log('我的阐述', JSON.stringify(args.condition))
|
|
304
|
-
await this.model.search(args.condition, args.model)
|
|
305
|
-
|
|
306
|
-
this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
|
|
307
|
-
console.log('合计字段', this.sumsmodel)
|
|
308
|
-
},
|
|
309
|
-
dealmsg(val) {
|
|
310
|
-
console.log('---------------dealmsg')
|
|
311
|
-
this.rowdata=val
|
|
312
|
-
this.show=true
|
|
313
|
-
val.model = this.model.model
|
|
314
|
-
this.$dispatch('deal-msg', val)
|
|
315
|
-
},
|
|
316
|
-
cancel() {
|
|
317
|
-
this.show = false
|
|
318
|
-
},
|
|
319
|
-
clear() {
|
|
320
|
-
//清空部门和人员
|
|
321
|
-
this.$refs.paged.$refs.cri.$refs.sel.$children[1].selectres = []
|
|
322
|
-
//部门和人员变为全选
|
|
323
|
-
this.$refs.paged.$refs.cri.$refs.sel.$children[1].$children[0].isSelectAll = false
|
|
324
|
-
this.$refs.paged.$refs.cri.$refs.sel.$children[2].$children[0].isSelectAll = false
|
|
325
|
-
Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
|
|
326
|
-
this.$refs.paged.$refs.cri.model[key] = []
|
|
327
|
-
})
|
|
328
|
-
},
|
|
329
|
-
show() {
|
|
330
|
-
this.criteriaShow = true
|
|
331
|
-
},
|
|
332
|
-
hidden() {
|
|
333
|
-
this.criteriaShow = !this.criteriaShow
|
|
334
|
-
},
|
|
335
|
-
getRes(obj) {
|
|
336
|
-
this.orgCondtionStr = obj
|
|
337
|
-
},
|
|
338
|
-
stamp() {
|
|
339
|
-
this.all = false
|
|
340
|
-
//默认选择要打印的列
|
|
341
|
-
this.modelval = defaultPrint.config
|
|
342
|
-
this.fields = this.getfield
|
|
343
|
-
console.log('所有打印字段', this.fields)
|
|
344
|
-
this.printshow = true
|
|
345
|
-
this.put()
|
|
346
|
-
},
|
|
347
|
-
put() {
|
|
348
|
-
// 对Modelval进行排序
|
|
349
|
-
this.sortModelval()
|
|
350
|
-
this.thead = `<tr><th colspan=${this.modelval.length}>过户查询统计报表</th></tr><tr>`
|
|
351
|
-
for (let key of this.modelval) {
|
|
352
|
-
this.thead += '<th>' + this.fields[key] + '</th>'
|
|
353
|
-
}
|
|
354
|
-
this.thead += '</tr>'
|
|
355
|
-
},
|
|
356
|
-
print() {
|
|
357
|
-
this.$refs.print.PrintAsFile()
|
|
358
|
-
this.printshow = false
|
|
359
|
-
},
|
|
360
|
-
close() {
|
|
361
|
-
this.printshow = false
|
|
362
|
-
this.all = false
|
|
363
|
-
},
|
|
364
|
-
// 对选择的列进行排序
|
|
365
|
-
sortModelval() {
|
|
366
|
-
let sortModel = []
|
|
367
|
-
Object.keys(this.fields).forEach((key) => {
|
|
368
|
-
if (this.modelval.includes(key)) {
|
|
369
|
-
sortModel.push(key)
|
|
370
|
-
}
|
|
371
|
-
})
|
|
372
|
-
this.modelval = sortModel
|
|
373
|
-
console.log('选择的打印的字段', this.modelval)
|
|
374
|
-
}
|
|
375
|
-
},
|
|
376
|
-
watch: {
|
|
377
|
-
'all'(val) {
|
|
378
|
-
if (val) {
|
|
379
|
-
this.modelval = this.bodyData
|
|
380
|
-
} else {
|
|
381
|
-
this.modelval = defaultPrint.config
|
|
382
|
-
this.put()
|
|
383
|
-
}
|
|
384
|
-
},
|
|
385
|
-
'modelval.length'() {
|
|
386
|
-
this.put()
|
|
387
|
-
},
|
|
388
|
-
sumsmodel:{
|
|
389
|
-
handler: function(val) {
|
|
390
|
-
this.getotherfooter();
|
|
391
|
-
},
|
|
392
|
-
deep: true
|
|
393
|
-
}
|
|
394
|
-
},
|
|
395
|
-
computed: {
|
|
396
|
-
getCondition() {
|
|
397
|
-
return {condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr}
|
|
398
|
-
},
|
|
399
|
-
getfield() {
|
|
400
|
-
return exportConfig.transferConfig
|
|
401
|
-
}
|
|
402
|
-
}
|
|
403
|
-
}
|
|
404
|
-
</script>
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
// 分公司特殊组件页面注册
|
|
2
|
-
let specialComp = {
|
|
3
|
-
//卡表抄表查询
|
|
4
|
-
'card-handplan-query': (resolve) => {require(['./CardHandplanQuery'], resolve)},
|
|
5
|
-
//卡表抄表查询
|
|
6
|
-
'other-charge-query': (resolve) => {require(['./OtherChargeQuery'], resolve)},
|
|
7
|
-
//过户
|
|
8
|
-
'transfer-query': (resolve) => {require(['./TransferQuery'], resolve)},
|
|
9
|
-
|
|
10
|
-
}
|
|
11
|
-
exports.specialComp = specialComp
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|