sale-client 3.5.76 → 3.5.78
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 +1 -1
- package/src/components/revenue/base/leftview/meterinfodetail.vue +4 -0
- package/src/components/revenue/comprehen/ComprehenOperation/newchangemeter/ChangeMeter.vue +3 -0
- package/src/components/revenue/comprehen/handAudit/MeterReadAudit.vue +28 -26
- package/src/filiale/gehua/IOTMeterCenter.vue +791 -0
- package/src/filiale/gehua/MisPosPay.vue +135 -0
- package/src/filiale/gehua/sale.js +6 -1
- package/src/filiale/guangxi/OtherGas.vue +1 -1
- package/src/filiale/qianneng/chargeBatch/ChargeGroupList.vue +340 -0
- package/src/filiale/qianneng/sale.js +4 -1
- package/src/filiale/tongchuan/FileUserFiles.vue +13 -3
- package/src/filiale/xinkang/UserBaseInfoNew.vue +435 -0
- package/src/filiale/xinkang/sale.js +3 -1
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div id='MisPos'>
|
|
3
|
+
<modal :show.sync="misposShow" backdrop="false">
|
|
4
|
+
<header slot="modal-header" class="modal-header">
|
|
5
|
+
</header>
|
|
6
|
+
<article slot="modal-body" class="modal-body">
|
|
7
|
+
<div class="form-horizontal">
|
|
8
|
+
<div class="form-group">
|
|
9
|
+
<h3 class="modal-title">将对用户收取{{money}}元,请点击确定后扫描用户付款码或提醒用户刷卡支付</h3>
|
|
10
|
+
</div>
|
|
11
|
+
</div>
|
|
12
|
+
</article>
|
|
13
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
14
|
+
<button type="button" class="btn btn-default" @click='closeCode'>取消</button>
|
|
15
|
+
<button type="button" class="btn btn-default" @click='ConfirmCode'>确认</button>
|
|
16
|
+
</footer>
|
|
17
|
+
</modal>
|
|
18
|
+
</div>
|
|
19
|
+
</template>
|
|
20
|
+
|
|
21
|
+
<script>
|
|
22
|
+
export default {
|
|
23
|
+
name: 'MisPos',
|
|
24
|
+
props: {
|
|
25
|
+
// 付款方式
|
|
26
|
+
payment: {},
|
|
27
|
+
// 用户信息
|
|
28
|
+
row: {},
|
|
29
|
+
// 付款金额
|
|
30
|
+
money: {}
|
|
31
|
+
},
|
|
32
|
+
data () {
|
|
33
|
+
return {
|
|
34
|
+
// 付款码弹框显示
|
|
35
|
+
misposShow: false,
|
|
36
|
+
// 付款码流程控制
|
|
37
|
+
posresolve: null,
|
|
38
|
+
// 付款码返回数据
|
|
39
|
+
misposReturnData: {},
|
|
40
|
+
// 定时器
|
|
41
|
+
timer: null,
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
created () {
|
|
45
|
+
},
|
|
46
|
+
ready () {
|
|
47
|
+
console.log('日你妈')
|
|
48
|
+
},
|
|
49
|
+
methods: {
|
|
50
|
+
// 返回结果为true意味着可以通行
|
|
51
|
+
flowPath () {
|
|
52
|
+
return new Promise((resolve) => {
|
|
53
|
+
this.posresolve = resolve
|
|
54
|
+
// 如果是付款码支付则显示界面扫用户付款码收钱
|
|
55
|
+
if (this.payment.toString().indexOf('无线pos支付') !== -1) {
|
|
56
|
+
this.misposShow = true
|
|
57
|
+
} else {
|
|
58
|
+
this.posresolve({msg: '不是无线pos支付', result: true})
|
|
59
|
+
}
|
|
60
|
+
})
|
|
61
|
+
},
|
|
62
|
+
// 付款码支付流程
|
|
63
|
+
async ConfirmCode () {
|
|
64
|
+
let data = {
|
|
65
|
+
config: "gehua",
|
|
66
|
+
f_userfiles_id: this.row ? this.row.f_userfiles_id : null,
|
|
67
|
+
money: this.money,
|
|
68
|
+
f_orgid: this.$login.f.orgid,
|
|
69
|
+
f_orgname: this.$login.f.orgs,
|
|
70
|
+
f_depid: this.$login.f.f_dep_id,
|
|
71
|
+
f_depname: this.$login.f.deps,
|
|
72
|
+
f_operator: this.$login.f.ename,
|
|
73
|
+
f_operatorid: this.$login.f.id,
|
|
74
|
+
pay_method: this.payment[0],
|
|
75
|
+
}
|
|
76
|
+
console.log(this.$login.f.f_orgid)
|
|
77
|
+
let res = await this.$resetpost('rs/logic/CCBMISCodePay', data, {resolveMsg: null, rejectMsg: '服务器内部出错,'})
|
|
78
|
+
this.misposReturnData = res = res.data
|
|
79
|
+
if (res.state == 'SUCCESS') {
|
|
80
|
+
this.posresolve({msg: '支付完成', result: true})
|
|
81
|
+
this.$closeAlert()
|
|
82
|
+
} else if (res.state == 'UNKNOWN') {
|
|
83
|
+
debugger
|
|
84
|
+
// 支付结果未知, 根据商户订单号继续查询
|
|
85
|
+
this.$showAlert(`正在查询用户付款状态,请勿进行任何操作,耐心等待,如长时间未响应可手动取消`, 'warning')
|
|
86
|
+
let self = this
|
|
87
|
+
// 启动定时器之前先关闭定时器,防止之前的定时器未关闭
|
|
88
|
+
if (this.timer) {
|
|
89
|
+
this.closeTimer()
|
|
90
|
+
}
|
|
91
|
+
let times = 1
|
|
92
|
+
this.timer = setInterval(async () => {
|
|
93
|
+
times++
|
|
94
|
+
let res1 = await self.$resetpost('rs/logic/queryBillState', res, {resolveMsg: null, rejectMsg: '付款码支付查询出错,'})
|
|
95
|
+
res1 = res1.data
|
|
96
|
+
// 支付成功关闭定时器
|
|
97
|
+
if (res1.state == 'SUCCESS') {
|
|
98
|
+
self.posresolve({msg: '支付完成', result: true})
|
|
99
|
+
this.misposShow = false
|
|
100
|
+
self.closeTimer()
|
|
101
|
+
return
|
|
102
|
+
}
|
|
103
|
+
if (times > 12) {
|
|
104
|
+
self.$showAlert(`多次查询未成功,请提醒用户重新付款`, 'danger')
|
|
105
|
+
self.closeTimer()
|
|
106
|
+
}
|
|
107
|
+
}, 5000)
|
|
108
|
+
} else {
|
|
109
|
+
this.$showAlert(`支付失败, 请提醒用户重新付款`, 'danger')
|
|
110
|
+
this.closeTimer()
|
|
111
|
+
}
|
|
112
|
+
},
|
|
113
|
+
// 关闭定时器
|
|
114
|
+
closeTimer () {
|
|
115
|
+
console.log('关闭定时器')
|
|
116
|
+
clearInterval(this.timer)
|
|
117
|
+
this.timer = null
|
|
118
|
+
},
|
|
119
|
+
closeCode () {
|
|
120
|
+
this.$showMessage('取消后无法继续收款,确定取消吗?', ['confirm', 'cancel']).then((res) => {
|
|
121
|
+
if (res == 'confirm') {
|
|
122
|
+
this.misposShow = false
|
|
123
|
+
this.$closeAlert()
|
|
124
|
+
this.posresolve({msg: '支付取消', result: false})
|
|
125
|
+
this.closeTimer()
|
|
126
|
+
}
|
|
127
|
+
})
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
</script>
|
|
132
|
+
|
|
133
|
+
<style lang="less">
|
|
134
|
+
|
|
135
|
+
</style>
|
|
@@ -2,6 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
let specialComp = {
|
|
4
4
|
// 高拍仪
|
|
5
|
-
'high-meter-idcard': (resolve) => { require(['./HighMeterIdCard'], resolve) }
|
|
5
|
+
'high-meter-idcard': (resolve) => { require(['./HighMeterIdCard'], resolve) },
|
|
6
|
+
// 物联网表收费
|
|
7
|
+
'iot-meter-center': (resolve) => { require(['./IOTMeterCenter'], resolve) },
|
|
8
|
+
// MISPOS支付
|
|
9
|
+
'mis-pos-pay': (resolve) => { require(['./MisPosPay'], resolve) },
|
|
10
|
+
|
|
6
11
|
}
|
|
7
12
|
exports.specialComp = specialComp
|
|
@@ -0,0 +1,340 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div id="ChargeGroupList">
|
|
3
|
+
<div class="flex" @keyup.enter="search" :style="{height:(oweShow?'auto':'100%')}">
|
|
4
|
+
<criteria-paged :model="model" v-ref:paged :pager="!oweShow">
|
|
5
|
+
<criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
|
|
6
|
+
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
|
7
|
+
<div class="row">
|
|
8
|
+
<div :class="$parent.$parent.style">
|
|
9
|
+
<label class="font_normal_body">组织机构</label>
|
|
10
|
+
<res-select restype='organization'
|
|
11
|
+
@res-select="$parent.$parent.getorg"
|
|
12
|
+
:is-mul="false"
|
|
13
|
+
:initresid='$parent.$parent.curorgid'>
|
|
14
|
+
</res-select>
|
|
15
|
+
</div>
|
|
16
|
+
<div :class="$parent.$parent.style">
|
|
17
|
+
<label class="font_normal_body">客戶编码</label>
|
|
18
|
+
<input type="text" class="input_search" style="width:60%" v-model="model.f_customer"
|
|
19
|
+
condition="f_customer like '%{}%'" placeholder="客戶编码"/>
|
|
20
|
+
</div>
|
|
21
|
+
<div :class="$parent.$parent.style" v-show="!$parent.$parent.listShow">
|
|
22
|
+
<label class="font_normal_body">客戶名称</label>
|
|
23
|
+
<input type="text" class="input_search" style="width:60%" v-model="model.f_user_name"
|
|
24
|
+
condition="f_user_name like '%{}%'" placeholder="客戶名称"/>
|
|
25
|
+
</div>
|
|
26
|
+
|
|
27
|
+
<div class="col-sm-3 form-group button-range">
|
|
28
|
+
<button class="button_search button_spacing" @click="search()">查询</button>
|
|
29
|
+
<button class="button_new button_spacing" style="width: max-content;" @click="$parent.$parent.add()" v-if="!$parent.$parent.chargeToChoose">建档
|
|
30
|
+
</button>
|
|
31
|
+
<button class="button_clear button_spacing" @click="clear">清空</button>
|
|
32
|
+
<div style="float: right" class="button_spacing"
|
|
33
|
+
:class="{'button_shrink_top': criteriaShow,'button_shrink_bottom': !criteriaShow}"
|
|
34
|
+
@click="criteriaShow = !criteriaShow"></div>
|
|
35
|
+
</div>
|
|
36
|
+
<div class="row" v-show="criteriaShow">
|
|
37
|
+
<div :class="$parent.$parent.style" v-show="$parent.$parent.listShow">
|
|
38
|
+
<label class="font_normal_body">客戶名称</label>
|
|
39
|
+
<input type="text" class="input_search" style="width:60%" v-model="model.f_user_name"
|
|
40
|
+
condition="f_user_name like '%{}%'" placeholder="客戶名称"/>
|
|
41
|
+
</div>
|
|
42
|
+
<div :class="$parent.$parent.style">
|
|
43
|
+
<label class="font_normal_body">客戶地址</label>
|
|
44
|
+
<input type="text" class="input_search" style="width:60%" v-model="model.f_address"
|
|
45
|
+
condition="f_address like '%{}%'" placeholder="客戶地址"/>
|
|
46
|
+
</div>
|
|
47
|
+
<div :class="$parent.$parent.style">
|
|
48
|
+
<label class="font_normal_body">客户电话</label>
|
|
49
|
+
<input type="text" class="input_search" style="width:60%" v-model="model.f_user_phone"
|
|
50
|
+
condition="f_user_phone like '%{}%'" placeholder="客户电话"/>
|
|
51
|
+
</div>
|
|
52
|
+
<div :class="$parent.$parent.style">
|
|
53
|
+
<label class="font_normal_body">是否欠费</label>
|
|
54
|
+
<v-select v-model="model.oughtfee"
|
|
55
|
+
:search="fasle"
|
|
56
|
+
placeholder='是否欠费'
|
|
57
|
+
:value.sync="model.oughtfee"
|
|
58
|
+
:options='$parent.$parent.oughtfee'
|
|
59
|
+
condition="f_oughtfee_all {}"
|
|
60
|
+
close-on-select style="width: 60%"></v-select>
|
|
61
|
+
</div>
|
|
62
|
+
</div>
|
|
63
|
+
</div>
|
|
64
|
+
</div>
|
|
65
|
+
</criteria>
|
|
66
|
+
<data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid v-if="!$parent.oweShow" @dblclick="$parent.showOwe">
|
|
67
|
+
<template partial='head'>
|
|
68
|
+
<tr>
|
|
69
|
+
<th>
|
|
70
|
+
<nobr>序号</nobr>
|
|
71
|
+
</th>
|
|
72
|
+
<th>
|
|
73
|
+
<nobr>客戶编码</nobr>
|
|
74
|
+
</th>
|
|
75
|
+
<th>
|
|
76
|
+
<nobr>客戶名称</nobr>
|
|
77
|
+
</th>
|
|
78
|
+
<th>
|
|
79
|
+
<nobr>账户结余</nobr>
|
|
80
|
+
</th>
|
|
81
|
+
<th>
|
|
82
|
+
<nobr>客戶类型</nobr>
|
|
83
|
+
</th>
|
|
84
|
+
<th>
|
|
85
|
+
<nobr>客戶地址</nobr>
|
|
86
|
+
</th>
|
|
87
|
+
<th>
|
|
88
|
+
<nobr>客戶电话</nobr>
|
|
89
|
+
</th>
|
|
90
|
+
<th>
|
|
91
|
+
<nobr>团缴户数</nobr>
|
|
92
|
+
</th>
|
|
93
|
+
<th>
|
|
94
|
+
<nobr>欠费金额</nobr>
|
|
95
|
+
</th>
|
|
96
|
+
<th>
|
|
97
|
+
<nobr>操作</nobr>
|
|
98
|
+
</th>
|
|
99
|
+
</tr>
|
|
100
|
+
</template>
|
|
101
|
+
<template partial='body'>
|
|
102
|
+
<tr>
|
|
103
|
+
<td style="text-align:center">
|
|
104
|
+
<nobr>{{ $index + 1 }}</nobr>
|
|
105
|
+
</td>
|
|
106
|
+
<td style="text-align:center">
|
|
107
|
+
<nobr>{{ row.f_customer }}</nobr>
|
|
108
|
+
</td>
|
|
109
|
+
<td style="text-align:center">
|
|
110
|
+
<nobr>{{ row.f_user_name }}</nobr>
|
|
111
|
+
</td>
|
|
112
|
+
<td style="text-align:center">
|
|
113
|
+
<nobr>{{ row.f_balance }}</nobr>
|
|
114
|
+
</td>
|
|
115
|
+
<td style="text-align:center">
|
|
116
|
+
<nobr>{{ row.f_user_type }}</nobr>
|
|
117
|
+
</td>
|
|
118
|
+
<td style="text-align:center">
|
|
119
|
+
<nobr>{{ row.f_address }}</nobr>
|
|
120
|
+
</td>
|
|
121
|
+
<td style="text-align:center">
|
|
122
|
+
<nobr>{{ row.f_user_phone }}</nobr>
|
|
123
|
+
</td>
|
|
124
|
+
<td style="text-align:center" v-if="!$parent.$parent.$parent.chargeToChoose">
|
|
125
|
+
<button @click.stop="$parent.$parent.$parent.operate(row)"
|
|
126
|
+
class="btn btn-link"><b>{{ row.sumuserfiles }}</b>
|
|
127
|
+
</button>
|
|
128
|
+
</td>
|
|
129
|
+
<td style="text-align:center" v-else>
|
|
130
|
+
<nobr>{{ row.sumuserfiles }}</nobr>
|
|
131
|
+
</td>
|
|
132
|
+
<td style="text-align:center" v-else>
|
|
133
|
+
<nobr>{{ row.f_oughtfee_all }}</nobr>
|
|
134
|
+
</td>
|
|
135
|
+
<td style="text-align:center">
|
|
136
|
+
<nobr>
|
|
137
|
+
<button type="button" name="button" class="btn btn-link"
|
|
138
|
+
@click.stop="$parent.$parent.$parent.print(row)">打印明细
|
|
139
|
+
</button>
|
|
140
|
+
<button type="button" name="button" class="btn btn-link"
|
|
141
|
+
@click.stop="$parent.$parent.$parent.export(row)">导出明细
|
|
142
|
+
</button>
|
|
143
|
+
</nobr>
|
|
144
|
+
</td>
|
|
145
|
+
</tr>
|
|
146
|
+
</template>
|
|
147
|
+
<template partial='foot'></template>
|
|
148
|
+
</data-grid>
|
|
149
|
+
</criteria-paged>
|
|
150
|
+
<print-data :sum-field="getfield" :model="printModel" :field="getfield" :printview="true"
|
|
151
|
+
:defaultfield="defaultfield" titletable="团体欠费明细报表" v-ref:printdata>
|
|
152
|
+
</print-data>
|
|
153
|
+
</div>
|
|
154
|
+
|
|
155
|
+
<export-excel
|
|
156
|
+
:isshow="false" :data="getCondition" :field="getfield" :choose-col="true" v-ref:excel
|
|
157
|
+
sqlurl="rs/logic/saleExport" sql-name="batchOweQuery" template-name='团体欠费明细导出'>
|
|
158
|
+
</export-excel>
|
|
159
|
+
|
|
160
|
+
<owe-record-query v-if="oweShow" :row="row" :f_civill_id="f_civill_id"></owe-record-query>
|
|
161
|
+
</div>
|
|
162
|
+
</template>
|
|
163
|
+
|
|
164
|
+
<script>
|
|
165
|
+
import {HttpResetClass, PagedList} from 'vue-client'
|
|
166
|
+
|
|
167
|
+
export default {
|
|
168
|
+
data () {
|
|
169
|
+
return {
|
|
170
|
+
interval: null,
|
|
171
|
+
searchTime: this.$appdata.getSingleValue('磁条卡读卡间隔') ? this.$appdata.getSingleValue('磁条卡读卡间隔') : 2,
|
|
172
|
+
oughtfee: [{label: '全部', value: ''}, {label: '是', value: '> 0'}, {label: '否', value: '<= 0'}],
|
|
173
|
+
model: new PagedList('rs/sql/ncarchivesQuery', 20),
|
|
174
|
+
// 公司下拉
|
|
175
|
+
curorgid: [this.$login.f.orgid],
|
|
176
|
+
f_orgid: '',
|
|
177
|
+
f_civill_id: null,
|
|
178
|
+
oweShow: false,
|
|
179
|
+
getCondition: null,
|
|
180
|
+
getfield: null,
|
|
181
|
+
config: {
|
|
182
|
+
// 导出列
|
|
183
|
+
excelHeaders: {
|
|
184
|
+
'f_userinfo_code': '客户编号',
|
|
185
|
+
'f_user_name': '客户姓名',
|
|
186
|
+
'f_address': '客户地址',
|
|
187
|
+
'f_user_phone': '客户电话',
|
|
188
|
+
//'f_meter_classify': '气表类型',
|
|
189
|
+
//'c': '欠费期数',
|
|
190
|
+
'f_hand_date': '欠费区间',
|
|
191
|
+
'f_last_tablebase': '上期底数',
|
|
192
|
+
'f_tablebase': '本期底数',
|
|
193
|
+
'price':'单价',
|
|
194
|
+
'f_oughtamount': '用气量',
|
|
195
|
+
'f_oughtfee': '用气金额'
|
|
196
|
+
//'f_debt_money': '已交金额',
|
|
197
|
+
//'f_oughtfee_new': '应交气费',
|
|
198
|
+
//'overdue': '滞纳金',
|
|
199
|
+
//'f_oughtfee_all': '合计欠费'
|
|
200
|
+
}
|
|
201
|
+
},
|
|
202
|
+
defaultfield: [],
|
|
203
|
+
printModel: new PagedList('rs/sql/batchOweQuery', 20),
|
|
204
|
+
row: null
|
|
205
|
+
}
|
|
206
|
+
},
|
|
207
|
+
title: '档案查询',
|
|
208
|
+
props: {
|
|
209
|
+
f_filialeids: {
|
|
210
|
+
type: String
|
|
211
|
+
},
|
|
212
|
+
style: {
|
|
213
|
+
type: String,
|
|
214
|
+
default: 'col-sm-3 form-group'
|
|
215
|
+
},
|
|
216
|
+
// 控制在修改数据时显示少的查询条件,剩余隐藏
|
|
217
|
+
listShow: {
|
|
218
|
+
type: Boolean,
|
|
219
|
+
default: false
|
|
220
|
+
},
|
|
221
|
+
// 收费时的展示控制
|
|
222
|
+
chargeToChoose: {
|
|
223
|
+
type: Boolean,
|
|
224
|
+
default: false
|
|
225
|
+
}
|
|
226
|
+
},
|
|
227
|
+
ready () {
|
|
228
|
+
this.getfield = this.config.excelHeaders
|
|
229
|
+
this.search()
|
|
230
|
+
this.readCiTiaoCard()
|
|
231
|
+
},
|
|
232
|
+
destroyed () {
|
|
233
|
+
clearInterval(this.interval)
|
|
234
|
+
},
|
|
235
|
+
watch: {
|
|
236
|
+
'oweShow' (val) {
|
|
237
|
+
if (val) {
|
|
238
|
+
clearInterval(this.interval)
|
|
239
|
+
} else {
|
|
240
|
+
this.readCiTiaoCard()
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
},
|
|
244
|
+
methods: {
|
|
245
|
+
async readCiTiaoCard () {
|
|
246
|
+
console.log('读磁条卡,开始,不停的循环')
|
|
247
|
+
let data = {}
|
|
248
|
+
let getUser = {data: []}
|
|
249
|
+
let forgid = this.$login.convertToIn([this.$login.f.orgid])
|
|
250
|
+
try {
|
|
251
|
+
// let res = {data:{Factory : 'CiTiao',CardID : '00000009'}}
|
|
252
|
+
let http = new HttpResetClass()
|
|
253
|
+
this.interval = setInterval(async () => {
|
|
254
|
+
// 1秒一轮回
|
|
255
|
+
http.load('POST', 'http://127.0.0.1:8003/ReadCard_HEC', data, {
|
|
256
|
+
resolveMsg: null,
|
|
257
|
+
rejectMsg: null
|
|
258
|
+
}).then(async res => {
|
|
259
|
+
if (res.data.CardID !== '') {
|
|
260
|
+
if (res.data.Err === null && res.data.Exception) {
|
|
261
|
+
this.$showAlert(res.data.Exception, 'danger', 2000)
|
|
262
|
+
// clearInterval(interval)
|
|
263
|
+
} else {
|
|
264
|
+
if (res.data.Factory === 'CiTiao') {
|
|
265
|
+
// 获取用户信息
|
|
266
|
+
getUser = await this.$resetpost('rs/sql/ncarchivesQuery', {
|
|
267
|
+
data: {
|
|
268
|
+
condition: `f_orgid in ${forgid} and f_card_id='${res.data.CardID}'`,
|
|
269
|
+
orderitem: `f_userinfo_id`
|
|
270
|
+
}
|
|
271
|
+
}, {resolveMsg: null, rejectMsg: '读卡失败'})
|
|
272
|
+
this.showOwe(getUser.data[0])
|
|
273
|
+
clearInterval(this.interval)
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
}
|
|
277
|
+
})
|
|
278
|
+
}, this.searchTime * 1000)
|
|
279
|
+
} catch (error) {
|
|
280
|
+
console.log('捕获到异常', error)
|
|
281
|
+
// this.$showAlert(error.data, 'danger', 2000)
|
|
282
|
+
}
|
|
283
|
+
},
|
|
284
|
+
// 打印
|
|
285
|
+
async print (row) {
|
|
286
|
+
let condition = `p.f_civill_id = ${row.id}`
|
|
287
|
+
await this.printModel.search(condition)
|
|
288
|
+
this.$refs.printdata.printData()
|
|
289
|
+
},
|
|
290
|
+
// 导出
|
|
291
|
+
export (row) {
|
|
292
|
+
this.getCondition = {condition: `p.f_civill_id = ${row.id}`}
|
|
293
|
+
this.$refs.excel.exportExcel()
|
|
294
|
+
},
|
|
295
|
+
showOwe (row) {
|
|
296
|
+
if (this.chargeToChoose) {
|
|
297
|
+
this.f_civill_id = row.id
|
|
298
|
+
this.row = row
|
|
299
|
+
this.oweShow = true
|
|
300
|
+
}
|
|
301
|
+
},
|
|
302
|
+
search () {
|
|
303
|
+
this.$refs.paged.$refs.cri.search()
|
|
304
|
+
},
|
|
305
|
+
add () {
|
|
306
|
+
if (this.f_filialeids) {
|
|
307
|
+
this.$refs.paged.$refs.grid.selectStore.selected = null
|
|
308
|
+
this.$dispatch('add')
|
|
309
|
+
} else {
|
|
310
|
+
this.$showAlert('请先选择左上角的所在分公司', 'warning', 2000)
|
|
311
|
+
}
|
|
312
|
+
},
|
|
313
|
+
operate (val) {
|
|
314
|
+
this.$dispatch('operate', val)
|
|
315
|
+
},
|
|
316
|
+
selfSearch (args) {
|
|
317
|
+
if (!this.f_orgid) {
|
|
318
|
+
this.getorg([this.$login.f.orgid])
|
|
319
|
+
}
|
|
320
|
+
args.condition = `${args.condition} and f_orgid in ${this.f_orgid}`
|
|
321
|
+
this.oweShow = false
|
|
322
|
+
this.model.search(args.condition, args.model)
|
|
323
|
+
if (this.$refs.paged.$refs.grid) this.$refs.paged.$refs.grid.selectInit()
|
|
324
|
+
this.$dispatch('newsearch')
|
|
325
|
+
},
|
|
326
|
+
getorg (val) {
|
|
327
|
+
this.f_orgid = this.$login.convertToIn(val)
|
|
328
|
+
this.f_filialeids = val[0]
|
|
329
|
+
}
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
}
|
|
333
|
+
</script>
|
|
334
|
+
<style lang="less">
|
|
335
|
+
#ChargeGroupList {
|
|
336
|
+
.button_export {
|
|
337
|
+
display: none;
|
|
338
|
+
}
|
|
339
|
+
}
|
|
340
|
+
</style>
|
|
@@ -72,6 +72,9 @@ let specialComp = {
|
|
|
72
72
|
|
|
73
73
|
'userfiles-list': (resolve) => { require(['./archives/UserfilesList'], resolve) },
|
|
74
74
|
// 用户基本信息
|
|
75
|
-
'user-base-info-new': (resolve) => { require(['./components/common/userinfo_detail/UserBaseInfoNew'], resolve) }
|
|
75
|
+
'user-base-info-new': (resolve) => { require(['./components/common/userinfo_detail/UserBaseInfoNew'], resolve) },
|
|
76
|
+
|
|
77
|
+
// 团体缴费查询列表
|
|
78
|
+
'charge-group-list': (resolve) => { require(['./chargeBatch/ChargeGroupList'], resolve) }
|
|
76
79
|
}
|
|
77
80
|
exports.specialComp = specialComp
|
|
@@ -1120,7 +1120,7 @@ let loadParamGem = async function (self) {
|
|
|
1120
1120
|
this.getuuid();
|
|
1121
1121
|
if(this.uuida == '') return;
|
|
1122
1122
|
// 当前上传的是批量导入的档案
|
|
1123
|
-
let
|
|
1123
|
+
let batchParam = {
|
|
1124
1124
|
filepath: res.f_downloadpath,
|
|
1125
1125
|
f_operator: this.$login.f.name,
|
|
1126
1126
|
f_operatorid: this.$login.f.id,
|
|
@@ -1130,11 +1130,21 @@ let loadParamGem = async function (self) {
|
|
|
1130
1130
|
f_depname: this.$login.f.deps,
|
|
1131
1131
|
uuid: this.uuida
|
|
1132
1132
|
}
|
|
1133
|
+
let jobParam = {
|
|
1134
|
+
f_operatorid: this.$login.f.id,
|
|
1135
|
+
total: 0,
|
|
1136
|
+
operator: this.$login.f.orgs +":"+ this.$login.f.deps +":"+ Vue.$login.f.name,
|
|
1137
|
+
jobType: "批量建档"
|
|
1138
|
+
}
|
|
1139
|
+
let param = {
|
|
1140
|
+
jobParam: jobParam,
|
|
1141
|
+
batchParam: batchParam
|
|
1142
|
+
}
|
|
1133
1143
|
let self = this
|
|
1134
1144
|
try {
|
|
1135
1145
|
self.progressShow = true;
|
|
1136
|
-
axios.post('rs/
|
|
1137
|
-
{data: param}, {timeout:
|
|
1146
|
+
axios.post('rs/business/batchRunExcel/filemanage_fileSave/newSettleFileImport',
|
|
1147
|
+
{data: param}, {timeout: 30000}).then((res) => {
|
|
1138
1148
|
})
|
|
1139
1149
|
self.percent=0;
|
|
1140
1150
|
self.getRequestReturn();
|