sale-client 3.6.145 → 3.6.146
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 +3 -0
- package/package.json +2 -2
- package/src/components/FilesManage/FileUserFiles.vue +1 -10
- package/src/components/FilesManageNew/FileUserFiles.vue +1 -8
- package/src/components/archives/UserfilesList.vue +1 -8
- package/src/components/revenue/cardHandManage/cardsHand.vue +1 -8
- package/src/components/revenue/changeInsurance/InsuranceList.vue +1 -8
- package/src/components/revenue/comprehen/Message/UserDefinedMessageNew.vue +1 -8
- package/src/components/revenue/comprehen/common/ImportExcel.vue +1 -8
- package/src/components/revenue/invoiceuse/InvoiceUse.vue +1 -8
- package/src/components/revenue/machineHandManage/machineHand.vue +1 -8
- package/src/components/webMeter/webInfo/WebMeterList.vue +1 -8
- package/src/components/webMeter/webInfo/qinhua/WebMeterList.vue +1 -8
- package/src/filiale/ancheng/FilesManage/FileUserFiles.vue +1 -10
- package/src/filiale/ancheng/FilesManageNew/FileUserFiles.vue +1 -8
- package/src/filiale/chengtou/components/FilesManage/FileUserFiles.vue +1 -10
- package/src/filiale/dongguan/components/FilesManage/FileUserFiles.vue +1 -10
- package/src/filiale/foric-v3/MaterialsList.vue +1 -8
- package/src/filiale/fugu/components/BlackList/BlackListList.vue +1 -8
- package/src/filiale/ganquan/components/FilesManage/FileUserFiles.vue +1 -10
- package/src/filiale/gehua/FileManageNew/FileUserFiles.vue +1 -8
- package/src/filiale/gehua/FileUserFiles.vue +1 -10
- package/src/filiale/haile/FilesManage/FileUserFiles.vue +1 -10
- package/src/filiale/haile/machineHand.vue +1 -8
- package/src/filiale/huayin/FileUserFiles.vue +1 -10
- package/src/filiale/jingwei/CardHand.vue +1 -8
- package/src/filiale/kelai/FileUserFiles.vue +9 -8
- package/src/filiale/kelai/FileUserFilesKeLai.vue +1 -10
- package/src/filiale/konggang/FileUserFiles.vue +1 -10
- package/src/filiale/meihekou/FileUserFiles.vue +1 -10
- package/src/filiale/ningjin/FileUserFiles.vue +1 -10
- package/src/filiale/ningjin/machineHand.vue +1 -8
- package/src/filiale/qianneng/FilesManage/FileUserFiles.vue +1 -8
- package/src/filiale/qianneng/archives/UserfilesList.vue +1 -8
- package/src/filiale/rizhao/FileUserFiles.vue +1 -10
- package/src/filiale/shanggao/FileUserFiles.vue +1 -10
- package/src/filiale/shanxian/WebMeterList.vue +1 -8
- package/src/filiale/shanxian/components/FilesManage/FileUserFiles.vue +1 -10
- package/src/filiale/shanxian/components/FilesManageNew/FileUserFiles.vue +1 -8
- package/src/filiale/shanxian/components/revenue/InsuranceList.vue +1 -8
- package/src/filiale/shexian/FilesManage/FileUserFiles.vue +1 -10
- package/src/filiale/shiquan/WebMeterList.vue +1 -8
- package/src/filiale/tongchuan/WebMeterList.vue +1 -8
- package/src/filiale/wenxi/FileUserFiles.vue +1 -10
- package/src/filiale/wenxi/cardsHand.vue +1 -8
- package/src/filiale/wuan/FileUserFiles.vue +1 -10
- package/src/filiale/xiangyun/machineHand.vue +1 -8
- package/src/filiale/zhongsheng/FilesManage/FileUserFiles.vue +1 -10
- package/src/filiale/zhongyi/FileUserFiles.vue +1 -8
- package/src/filiale/zhongyi/cardsHand.vue +1 -8
- package/src/filiale/zhongyi/machineHand.vue +1 -8
- package/src/main.js +1 -0
- package/src/plugins/FileDownload.js +44 -0
- package/src/sale.js +2 -0
package/build/dev-server.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sale-client",
|
|
3
|
-
"version": "3.6.
|
|
3
|
+
"version": "3.6.146",
|
|
4
4
|
"description": "收费模块前台组件",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -24,6 +24,7 @@
|
|
|
24
24
|
"qrcodejs2": "0.0.2",
|
|
25
25
|
"vue": "^1.0.17",
|
|
26
26
|
"webpack-dev-server": "^2.11.5",
|
|
27
|
+
"vue-client": "1.24.113",
|
|
27
28
|
"yarn": "^1.22.10"
|
|
28
29
|
},
|
|
29
30
|
"devDependencies": {
|
|
@@ -91,7 +92,6 @@
|
|
|
91
92
|
"style-loader": "^0.20.3",
|
|
92
93
|
"system-clients": "3.2.61",
|
|
93
94
|
"url-loader": "^0.5.7",
|
|
94
|
-
"vue-client": "1.24.101",
|
|
95
95
|
"vue-clipboard2": "0.3.1",
|
|
96
96
|
"vue-hot-reload-api": "^1.2.0",
|
|
97
97
|
"vue-html-loader": "^1.0.0",
|
|
@@ -648,16 +648,7 @@ let loadParamGem = async function (self) {
|
|
|
648
648
|
},
|
|
649
649
|
downloadFiles(){
|
|
650
650
|
let downurl='rs/downloadfile/file?filename=批量建档导出Excel模板';
|
|
651
|
-
this.$
|
|
652
|
-
var link = document.createElement('a');
|
|
653
|
-
link.target="_blank"
|
|
654
|
-
link.href =downurl ;
|
|
655
|
-
link.setAttribute("download", "批量建档导出Excel模板.xlsx"); //指定下载后的文件名,防跳转
|
|
656
|
-
document.body.appendChild(link);
|
|
657
|
-
link.click();
|
|
658
|
-
})
|
|
659
|
-
|
|
660
|
-
|
|
651
|
+
this.$downFile(downurl,'批量建档导出Excel模板.xlsx')
|
|
661
652
|
},
|
|
662
653
|
/**
|
|
663
654
|
* 退出用户详细信息页面
|
|
@@ -428,14 +428,7 @@ let loadParamGem = async function (self) {
|
|
|
428
428
|
methods: {
|
|
429
429
|
downloadFiles(){
|
|
430
430
|
let downurl='rs/downloadfile/file?filename=预备户批量建档导入Excel模板';
|
|
431
|
-
this.$
|
|
432
|
-
var link = document.createElement('a');
|
|
433
|
-
link.target="_blank"
|
|
434
|
-
link.href =downurl ;
|
|
435
|
-
link.setAttribute("download", "预备户批量建档导入Excel模板.xlsx"); //指定下载后的文件名,防跳转
|
|
436
|
-
document.body.appendChild(link);
|
|
437
|
-
link.click();
|
|
438
|
-
})
|
|
431
|
+
this.$downFile(downurl,'预备户批量建档导入Excel模板.xlsx')
|
|
439
432
|
},
|
|
440
433
|
close () {
|
|
441
434
|
this.printflag = false
|
|
@@ -190,14 +190,7 @@ export default {
|
|
|
190
190
|
methods: {
|
|
191
191
|
downloadFiles () {
|
|
192
192
|
let downurl = 'rs/downloadfile/file?filename=团缴用户导入模板'
|
|
193
|
-
this.$
|
|
194
|
-
var link = document.createElement('a')
|
|
195
|
-
link.target = '_blank'
|
|
196
|
-
link.href = downurl
|
|
197
|
-
link.setAttribute('download', '团缴用户导入模板.xlsx')
|
|
198
|
-
document.body.appendChild(link)
|
|
199
|
-
link.click()
|
|
200
|
-
})
|
|
193
|
+
this.$downFile(downurl,'团缴用户导入模板.xlsx')
|
|
201
194
|
},
|
|
202
195
|
clickupshow () {
|
|
203
196
|
this.upshow = !this.upshow
|
|
@@ -498,14 +498,7 @@ export default {
|
|
|
498
498
|
methods: {
|
|
499
499
|
downloadFiles () {
|
|
500
500
|
let downurl = 'rs/downloadfile/file?filename=卡表批量抄表导入模板'
|
|
501
|
-
this.$
|
|
502
|
-
var link = document.createElement('a')
|
|
503
|
-
link.target = '_blank'
|
|
504
|
-
link.href = downurl
|
|
505
|
-
link.setAttribute('download', '卡表批量抄表导入模板.xlsx')
|
|
506
|
-
document.body.appendChild(link)
|
|
507
|
-
link.click()
|
|
508
|
-
})
|
|
501
|
+
this.$downFile(downurl,'卡表批量抄表导入模板.xlsx')
|
|
509
502
|
},
|
|
510
503
|
hidden () {
|
|
511
504
|
this.criteriaShow = !this.criteriaShow
|
|
@@ -160,14 +160,7 @@
|
|
|
160
160
|
methods: {
|
|
161
161
|
downloadFiles(){
|
|
162
162
|
let downurl='rs/downloadfile/file?filename=批量保险收费导入Excel模板';
|
|
163
|
-
this.$
|
|
164
|
-
var link = document.createElement('a');
|
|
165
|
-
link.target="_blank"
|
|
166
|
-
link.href =downurl ;
|
|
167
|
-
link.setAttribute("download", "批量保险收费导入Excel模板.xlsx"); //指定下载后的文件名,防跳转
|
|
168
|
-
document.body.appendChild(link);
|
|
169
|
-
link.click();
|
|
170
|
-
})
|
|
163
|
+
this.$downFile(downurl,'批量保险收费导入Excel模板.xlsx')
|
|
171
164
|
},
|
|
172
165
|
search () {
|
|
173
166
|
this.$refs.paged.$refs.criteria.search()
|
|
@@ -68,14 +68,7 @@ export default {
|
|
|
68
68
|
methods: {
|
|
69
69
|
downloadFiles(){
|
|
70
70
|
let downurl='rs/downloadfile/file?filename=短信说明';
|
|
71
|
-
this.$
|
|
72
|
-
var link = document.createElement('a');
|
|
73
|
-
link.target="_blank"
|
|
74
|
-
link.href =downurl ;
|
|
75
|
-
link.setAttribute("download", "短信说明.xlsx"); //指定下载后的文件名,防跳转
|
|
76
|
-
document.body.appendChild(link);
|
|
77
|
-
link.click();
|
|
78
|
-
})
|
|
71
|
+
this.$downFile(downurl,'短信说明.xlsx')
|
|
79
72
|
},
|
|
80
73
|
cancel () {
|
|
81
74
|
this.model.f_user_defined = ''
|
|
@@ -53,14 +53,7 @@ export default {
|
|
|
53
53
|
methods: {
|
|
54
54
|
downloadFiles () {
|
|
55
55
|
let downurl = 'rs/downloadfile/file?filename=' + this.templateName
|
|
56
|
-
this.$
|
|
57
|
-
var link = document.createElement('a')
|
|
58
|
-
link.target = '_blank'
|
|
59
|
-
link.href = downurl
|
|
60
|
-
link.setAttribute('download', this.templateName + '.xlsx') // 指定下载后的文件名,防跳转
|
|
61
|
-
document.body.appendChild(link)
|
|
62
|
-
link.click()
|
|
63
|
-
})
|
|
56
|
+
this.$downFile(downurl,this.templateName + '.xlsx')
|
|
64
57
|
},
|
|
65
58
|
createInfoForFile () {
|
|
66
59
|
this.batchShow = true
|
|
@@ -212,14 +212,7 @@ export default {
|
|
|
212
212
|
methods: {
|
|
213
213
|
downloadFiles () {
|
|
214
214
|
let downurl = 'rs/downloadfile/file?filename=发票导入模板'
|
|
215
|
-
this.$
|
|
216
|
-
var link = document.createElement('a')
|
|
217
|
-
link.target = '_blank'
|
|
218
|
-
link.href = downurl
|
|
219
|
-
link.setAttribute('download', '发票导入模板.xlsx')
|
|
220
|
-
document.body.appendChild(link)
|
|
221
|
-
link.click()
|
|
222
|
-
})
|
|
215
|
+
this.$downFile(downurl,'发票导入模板.xlsx')
|
|
223
216
|
},
|
|
224
217
|
search () {
|
|
225
218
|
this.$refs.paged.$refs.cri.search()
|
|
@@ -988,14 +988,7 @@
|
|
|
988
988
|
},
|
|
989
989
|
downloadFiles () {
|
|
990
990
|
let downurl = 'rs/downloadfile/file?filename=机表抄表导入Excel模板'
|
|
991
|
-
this.$
|
|
992
|
-
var link = document.createElement('a')
|
|
993
|
-
link.target = '_blank'
|
|
994
|
-
link.href = downurl
|
|
995
|
-
link.setAttribute('download', '机表抄表导入Excel模板.xlsx') // 指定下载后的文件名,防跳转
|
|
996
|
-
document.body.appendChild(link)
|
|
997
|
-
link.click()
|
|
998
|
-
})
|
|
991
|
+
this.$downFile(downurl,'机表抄表导入Excel模板.xlsx')
|
|
999
992
|
},
|
|
1000
993
|
calculationBase (row) {
|
|
1001
994
|
let oughtamount = null
|
|
@@ -282,14 +282,7 @@
|
|
|
282
282
|
},
|
|
283
283
|
downloadFiles(){
|
|
284
284
|
let downurl='rs/downloadfile/file?filename=表计导入模板';
|
|
285
|
-
this.$
|
|
286
|
-
var link = document.createElement('a');
|
|
287
|
-
link.target="_blank"
|
|
288
|
-
link.href =downurl ;
|
|
289
|
-
link.setAttribute("download", "表计导入模板.xlsx"); //指定下载后的文件名,防跳转
|
|
290
|
-
document.body.appendChild(link);
|
|
291
|
-
link.click();
|
|
292
|
-
})
|
|
285
|
+
this.$downFile(downurl,'表计导入模板.xlsx')
|
|
293
286
|
},
|
|
294
287
|
addOrRemove () {
|
|
295
288
|
this.$parent.meterinfos = []
|
|
@@ -223,14 +223,7 @@
|
|
|
223
223
|
methods: {
|
|
224
224
|
downloadFiles(){
|
|
225
225
|
let downurl='rs/downloadfile/file?filename=秦华表计导入模板';
|
|
226
|
-
this.$
|
|
227
|
-
var link = document.createElement('a');
|
|
228
|
-
link.target="_blank"
|
|
229
|
-
link.href =downurl ;
|
|
230
|
-
link.setAttribute("download", "秦华表计导入模板.xlsx"); //指定下载后的文件名,防跳转
|
|
231
|
-
document.body.appendChild(link);
|
|
232
|
-
link.click();
|
|
233
|
-
})
|
|
226
|
+
this.$downFile(downurl,'秦华表计导入模板.xlsx')
|
|
234
227
|
},
|
|
235
228
|
addOrRemove () {
|
|
236
229
|
this.$parent.meterinfos = []
|
|
@@ -642,16 +642,7 @@ let loadParamGem = async function (self) {
|
|
|
642
642
|
},
|
|
643
643
|
downloadFiles(){
|
|
644
644
|
let downurl='rs/downloadfile/file?filename=批量建档导出Excel模板';
|
|
645
|
-
this.$
|
|
646
|
-
var link = document.createElement('a');
|
|
647
|
-
link.target="_blank"
|
|
648
|
-
link.href =downurl ;
|
|
649
|
-
link.setAttribute("download", "批量建档导出Excel模板.xlsx"); //指定下载后的文件名,防跳转
|
|
650
|
-
document.body.appendChild(link);
|
|
651
|
-
link.click();
|
|
652
|
-
})
|
|
653
|
-
|
|
654
|
-
|
|
645
|
+
this.$downFile(downurl,'批量建档导出Excel模板.xlsx')
|
|
655
646
|
},
|
|
656
647
|
/**
|
|
657
648
|
* 退出用户详细信息页面
|
|
@@ -435,14 +435,7 @@ let loadParamGem = async function (self) {
|
|
|
435
435
|
methods: {
|
|
436
436
|
downloadFiles(){
|
|
437
437
|
let downurl='rs/downloadfile/file?filename=预备户批量建档导入Excel模板';
|
|
438
|
-
this.$
|
|
439
|
-
var link = document.createElement('a');
|
|
440
|
-
link.target="_blank"
|
|
441
|
-
link.href =downurl ;
|
|
442
|
-
link.setAttribute("download", "预备户批量建档导入Excel模板.xlsx"); //指定下载后的文件名,防跳转
|
|
443
|
-
document.body.appendChild(link);
|
|
444
|
-
link.click();
|
|
445
|
-
})
|
|
438
|
+
this.$downFile(downurl,'预备户批量建档导入Excel模板.xlsx')
|
|
446
439
|
},
|
|
447
440
|
close () {
|
|
448
441
|
this.printflag = false
|
|
@@ -637,16 +637,7 @@ let loadParamGem = async function (self) {
|
|
|
637
637
|
},
|
|
638
638
|
downloadFiles(){
|
|
639
639
|
let downurl='rs/downloadfile/file?filename=批量建档导出Excel模板';
|
|
640
|
-
this.$
|
|
641
|
-
var link = document.createElement('a');
|
|
642
|
-
link.target="_blank"
|
|
643
|
-
link.href =downurl ;
|
|
644
|
-
link.setAttribute("download", "批量建档导出Excel模板.xlsx"); //指定下载后的文件名,防跳转
|
|
645
|
-
document.body.appendChild(link);
|
|
646
|
-
link.click();
|
|
647
|
-
})
|
|
648
|
-
|
|
649
|
-
|
|
640
|
+
this.$downFile(downurl,'批量建档导出Excel模板.xlsx')
|
|
650
641
|
},
|
|
651
642
|
/**
|
|
652
643
|
* 退出用户详细信息页面
|
|
@@ -655,16 +655,7 @@ export default {
|
|
|
655
655
|
},
|
|
656
656
|
downloadFiles(){
|
|
657
657
|
let downurl='rs/downloadfile/file?filename=批量建档导出Excel模板';
|
|
658
|
-
this.$
|
|
659
|
-
var link = document.createElement('a');
|
|
660
|
-
link.target="_blank"
|
|
661
|
-
link.href =downurl ;
|
|
662
|
-
link.setAttribute("download", "批量建档导出Excel模板.xlsx"); //指定下载后的文件名,防跳转
|
|
663
|
-
document.body.appendChild(link);
|
|
664
|
-
link.click();
|
|
665
|
-
})
|
|
666
|
-
|
|
667
|
-
|
|
658
|
+
this.$downFile(downurl,'批量建档导出Excel模板.xlsx')
|
|
668
659
|
},
|
|
669
660
|
/**
|
|
670
661
|
* 退出用户详细信息页面
|
|
@@ -141,14 +141,7 @@ export default {
|
|
|
141
141
|
},
|
|
142
142
|
downloadFiles(){
|
|
143
143
|
let downurl='rs/downloadfile/file?filename=富瑞康天然气维修工单物料销售明细';
|
|
144
|
-
this.$
|
|
145
|
-
var link = document.createElement('a');
|
|
146
|
-
link.target="_blank"
|
|
147
|
-
link.href =downurl ;
|
|
148
|
-
link.setAttribute("download", "富瑞康天然气维修工单物料销售明细.xlsx"); //指定下载后的文件名,防跳转
|
|
149
|
-
document.body.appendChild(link);
|
|
150
|
-
link.click();
|
|
151
|
-
})
|
|
144
|
+
this.$downFile(downurl,'富瑞康天然气维修工单物料销售明细.xlsx')
|
|
152
145
|
},
|
|
153
146
|
// 查找资源
|
|
154
147
|
/**
|
|
@@ -242,14 +242,7 @@
|
|
|
242
242
|
},
|
|
243
243
|
downloadFiles() {
|
|
244
244
|
let downurl = 'rs/downloadfile/file?filename=黑名单用户导入模板';
|
|
245
|
-
this.$
|
|
246
|
-
var link = document.createElement('a');
|
|
247
|
-
link.target = "_blank"
|
|
248
|
-
link.href = downurl;
|
|
249
|
-
link.setAttribute("download", "黑名单用户导入模板.xlsx"); //指定下载后的文件名,防跳转
|
|
250
|
-
document.body.appendChild(link);
|
|
251
|
-
link.click();
|
|
252
|
-
})
|
|
245
|
+
this.$downFile(downurl,'黑名单用户导入模板.xlsx')
|
|
253
246
|
},
|
|
254
247
|
isBlackChange(val) {
|
|
255
248
|
if (val != undefined) {
|
|
@@ -672,16 +672,7 @@ let loadParamGem = async function (self) {
|
|
|
672
672
|
},
|
|
673
673
|
downloadFiles(){
|
|
674
674
|
let downurl='rs/downloadfile/file?filename=批量建档导出Excel模板';
|
|
675
|
-
this.$
|
|
676
|
-
var link = document.createElement('a');
|
|
677
|
-
link.target="_blank"
|
|
678
|
-
link.href =downurl ;
|
|
679
|
-
link.setAttribute("download", "批量建档导出Excel模板.xlsx"); //指定下载后的文件名,防跳转
|
|
680
|
-
document.body.appendChild(link);
|
|
681
|
-
link.click();
|
|
682
|
-
})
|
|
683
|
-
|
|
684
|
-
|
|
675
|
+
this.$downFile(downurl,'批量建档导出Excel模板.xlsx')
|
|
685
676
|
},
|
|
686
677
|
/**
|
|
687
678
|
* 退出用户详细信息页面
|
|
@@ -427,14 +427,7 @@ let loadParamGem = async function (self) {
|
|
|
427
427
|
methods: {
|
|
428
428
|
downloadFiles(){
|
|
429
429
|
let downurl='rs/downloadfile/file?filename=预备户批量建档导入Excel模板';
|
|
430
|
-
this.$
|
|
431
|
-
var link = document.createElement('a');
|
|
432
|
-
link.target="_blank"
|
|
433
|
-
link.href =downurl ;
|
|
434
|
-
link.setAttribute("download", "预备户批量建档导入Excel模板.xlsx"); //指定下载后的文件名,防跳转
|
|
435
|
-
document.body.appendChild(link);
|
|
436
|
-
link.click();
|
|
437
|
-
})
|
|
430
|
+
this.$downFile(downurl,'预备户批量建档导入Excel模板.xlsx')
|
|
438
431
|
},
|
|
439
432
|
close () {
|
|
440
433
|
this.printflag = false
|
|
@@ -625,16 +625,7 @@ let loadParamGem = async function (self) {
|
|
|
625
625
|
},
|
|
626
626
|
downloadFiles(){
|
|
627
627
|
let downurl='rs/downloadfile/file?filename=批量建档导出Excel模板';
|
|
628
|
-
this.$
|
|
629
|
-
var link = document.createElement('a');
|
|
630
|
-
link.target="_blank"
|
|
631
|
-
link.href =downurl ;
|
|
632
|
-
link.setAttribute("download", "批量建档导出Excel模板.xlsx"); //指定下载后的文件名,防跳转
|
|
633
|
-
document.body.appendChild(link);
|
|
634
|
-
link.click();
|
|
635
|
-
})
|
|
636
|
-
|
|
637
|
-
|
|
628
|
+
this.$downFile(downurl,'批量建档导出Excel模板.xlsx')
|
|
638
629
|
},
|
|
639
630
|
/**
|
|
640
631
|
* 退出用户详细信息页面
|
|
@@ -674,16 +674,7 @@ export default {
|
|
|
674
674
|
},
|
|
675
675
|
downloadFiles() {
|
|
676
676
|
let downurl = 'rs/downloadfile/file?filename=批量建档导出Excel模板';
|
|
677
|
-
this.$
|
|
678
|
-
var link = document.createElement('a');
|
|
679
|
-
link.target = "_blank"
|
|
680
|
-
link.href = downurl;
|
|
681
|
-
link.setAttribute("download", "批量建档导出Excel模板.xlsx"); //指定下载后的文件名,防跳转
|
|
682
|
-
document.body.appendChild(link);
|
|
683
|
-
link.click();
|
|
684
|
-
})
|
|
685
|
-
|
|
686
|
-
|
|
677
|
+
this.$downFile(downurl,'批量建档导出Excel模板.xlsx')
|
|
687
678
|
},
|
|
688
679
|
/**
|
|
689
680
|
* 退出用户详细信息页面
|
|
@@ -1035,14 +1035,7 @@ export default {
|
|
|
1035
1035
|
},
|
|
1036
1036
|
downloadFiles() {
|
|
1037
1037
|
let downurl = 'rs/downloadfile/file?filename=机表抄表导入Excel模板'
|
|
1038
|
-
this.$
|
|
1039
|
-
var link = document.createElement('a')
|
|
1040
|
-
link.target = '_blank'
|
|
1041
|
-
link.href = downurl
|
|
1042
|
-
link.setAttribute('download', '机表抄表导入Excel模板.xlsx') // 指定下载后的文件名,防跳转
|
|
1043
|
-
document.body.appendChild(link)
|
|
1044
|
-
link.click()
|
|
1045
|
-
})
|
|
1038
|
+
this.$downFile(downurl,'机表抄表导入Excel模板.xlsx')
|
|
1046
1039
|
},
|
|
1047
1040
|
calculationBase(row) {
|
|
1048
1041
|
let oughtamount = null
|
|
@@ -625,16 +625,7 @@ let loadParamGem = async function (self) {
|
|
|
625
625
|
},
|
|
626
626
|
downloadFiles(){
|
|
627
627
|
let downurl='rs/downloadfile/file?filename=批量建档导出Excel模板';
|
|
628
|
-
this.$
|
|
629
|
-
var link = document.createElement('a');
|
|
630
|
-
link.target="_blank"
|
|
631
|
-
link.href =downurl ;
|
|
632
|
-
link.setAttribute("download", "批量建档导出Excel模板.xlsx"); //指定下载后的文件名,防跳转
|
|
633
|
-
document.body.appendChild(link);
|
|
634
|
-
link.click();
|
|
635
|
-
})
|
|
636
|
-
|
|
637
|
-
|
|
628
|
+
this.$downFile(downurl,'批量建档导出Excel模板.xlsx')
|
|
638
629
|
},
|
|
639
630
|
/**
|
|
640
631
|
* 退出用户详细信息页面
|
|
@@ -403,14 +403,7 @@
|
|
|
403
403
|
methods: {
|
|
404
404
|
downloadFiles(){
|
|
405
405
|
let downurl='rs/downloadfile/file?filename=卡表抄表导出Excel模板';
|
|
406
|
-
this.$
|
|
407
|
-
var link = document.createElement('a');
|
|
408
|
-
link.target="_blank"
|
|
409
|
-
link.href =downurl ;
|
|
410
|
-
link.setAttribute("download", "卡表抄表导出Excel模板.xlsx"); //指定下载后的文件名,防跳转
|
|
411
|
-
document.body.appendChild(link);
|
|
412
|
-
link.click();
|
|
413
|
-
})
|
|
406
|
+
this.$downFile(downurl,'卡表抄表导出Excel模板.xlsx')
|
|
414
407
|
},
|
|
415
408
|
hidden () {
|
|
416
409
|
this.criteriaShow = !this.criteriaShow
|
|
@@ -428,14 +428,15 @@ export default {
|
|
|
428
428
|
methods: {
|
|
429
429
|
downloadFiles(){
|
|
430
430
|
let downurl='rs/downloadfile/file?filename=预备户批量建档导入Excel模板';
|
|
431
|
-
this.$
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
431
|
+
this.$downFile(downurl,'预备户批量建档导入Excel模板.xlsx')
|
|
432
|
+
// this.$resetget(downurl,{}).then(res=>{
|
|
433
|
+
// var link = document.createElement('a');
|
|
434
|
+
// link.target="_blank"
|
|
435
|
+
// link.href =downurl ;
|
|
436
|
+
// link.setAttribute("download", "预备户批量建档导入Excel模板.xlsx"); //指定下载后的文件名,防跳转
|
|
437
|
+
// document.body.appendChild(link);
|
|
438
|
+
// link.click();
|
|
439
|
+
// })
|
|
439
440
|
},
|
|
440
441
|
close () {
|
|
441
442
|
this.printflag = false
|
|
@@ -645,16 +645,7 @@ let loadParamGem = async function (self) {
|
|
|
645
645
|
},
|
|
646
646
|
downloadFiles(){
|
|
647
647
|
let downurl='rs/downloadfile/file?filename=批量建档导出Excel模板';
|
|
648
|
-
this.$
|
|
649
|
-
var link = document.createElement('a');
|
|
650
|
-
link.target="_blank"
|
|
651
|
-
link.href =downurl ;
|
|
652
|
-
link.setAttribute("download", "批量建档导出Excel模板.xlsx"); //指定下载后的文件名,防跳转
|
|
653
|
-
document.body.appendChild(link);
|
|
654
|
-
link.click();
|
|
655
|
-
})
|
|
656
|
-
|
|
657
|
-
|
|
648
|
+
this.$downFile(downurl,'批量建档导出Excel模板.xlsx')
|
|
658
649
|
},
|
|
659
650
|
/**
|
|
660
651
|
* 退出用户详细信息页面
|
|
@@ -611,16 +611,7 @@ let loadParamGem = async function (self) {
|
|
|
611
611
|
},
|
|
612
612
|
downloadFiles(){
|
|
613
613
|
let downurl='rs/downloadfile/file?filename=批量建档导出Excel模板';
|
|
614
|
-
this.$
|
|
615
|
-
var link = document.createElement('a');
|
|
616
|
-
link.target="_blank"
|
|
617
|
-
link.href =downurl ;
|
|
618
|
-
link.setAttribute("download", "批量建档导出Excel模板.xlsx"); //指定下载后的文件名,防跳转
|
|
619
|
-
document.body.appendChild(link);
|
|
620
|
-
link.click();
|
|
621
|
-
})
|
|
622
|
-
|
|
623
|
-
|
|
614
|
+
this.$downFile(downurl,'批量建档导出Excel模板.xlsx')
|
|
624
615
|
},
|
|
625
616
|
/**
|
|
626
617
|
* 退出用户详细信息页面
|
|
@@ -622,16 +622,7 @@ let loadParamGem = async function (self) {
|
|
|
622
622
|
},
|
|
623
623
|
downloadFiles(){
|
|
624
624
|
let downurl='rs/downloadfile/file?filename=批量建档导出Excel模板';
|
|
625
|
-
this.$
|
|
626
|
-
var link = document.createElement('a');
|
|
627
|
-
link.target="_blank"
|
|
628
|
-
link.href =downurl ;
|
|
629
|
-
link.setAttribute("download", "批量建档导出Excel模板.xlsx"); //指定下载后的文件名,防跳转
|
|
630
|
-
document.body.appendChild(link);
|
|
631
|
-
link.click();
|
|
632
|
-
})
|
|
633
|
-
|
|
634
|
-
|
|
625
|
+
this.$downFile(downurl,'批量建档导出Excel模板.xlsx')
|
|
635
626
|
},
|
|
636
627
|
/**
|
|
637
628
|
* 退出用户详细信息页面
|
|
@@ -625,16 +625,7 @@ let loadParamGem = async function (self) {
|
|
|
625
625
|
},
|
|
626
626
|
downloadFiles(){
|
|
627
627
|
let downurl='rs/downloadfile/file?filename=批量建档导出Excel模板';
|
|
628
|
-
this.$
|
|
629
|
-
var link = document.createElement('a');
|
|
630
|
-
link.target="_blank"
|
|
631
|
-
link.href =downurl ;
|
|
632
|
-
link.setAttribute("download", "批量建档导出Excel模板.xlsx"); //指定下载后的文件名,防跳转
|
|
633
|
-
document.body.appendChild(link);
|
|
634
|
-
link.click();
|
|
635
|
-
})
|
|
636
|
-
|
|
637
|
-
|
|
628
|
+
this.$downFile(downurl,'批量建档导出Excel模板.xlsx')
|
|
638
629
|
},
|
|
639
630
|
/**
|
|
640
631
|
* 退出用户详细信息页面
|
|
@@ -984,14 +984,7 @@
|
|
|
984
984
|
},
|
|
985
985
|
downloadFiles () {
|
|
986
986
|
let downurl = 'rs/downloadfile/file?filename=机表抄表导入Excel模板'
|
|
987
|
-
this.$
|
|
988
|
-
var link = document.createElement('a')
|
|
989
|
-
link.target = '_blank'
|
|
990
|
-
link.href = downurl
|
|
991
|
-
link.setAttribute('download', '机表抄表导入Excel模板.xlsx') // 指定下载后的文件名,防跳转
|
|
992
|
-
document.body.appendChild(link)
|
|
993
|
-
link.click()
|
|
994
|
-
})
|
|
987
|
+
this.$downFile(downurl,'机表抄表导入Excel模板.xlsx')
|
|
995
988
|
},
|
|
996
989
|
calculationBase (row) {
|
|
997
990
|
let oughtamount = null
|
|
@@ -621,14 +621,7 @@ let loadParamGem = async function (self) {
|
|
|
621
621
|
},
|
|
622
622
|
downloadFiles () {
|
|
623
623
|
let downurl = 'rs/downloadfile/file?filename=批量建档导出Excel模板'
|
|
624
|
-
this.$
|
|
625
|
-
var link = document.createElement('a')
|
|
626
|
-
link.target = '_blank'
|
|
627
|
-
link.href = downurl
|
|
628
|
-
link.setAttribute('download', '批量建档导出Excel模板.xlsx') // 指定下载后的文件名,防跳转
|
|
629
|
-
document.body.appendChild(link)
|
|
630
|
-
link.click()
|
|
631
|
-
})
|
|
624
|
+
this.$downFile(downurl,'批量建档导出Excel模板.xlsx')
|
|
632
625
|
},
|
|
633
626
|
/**
|
|
634
627
|
* 退出用户详细信息页面
|
|
@@ -190,14 +190,7 @@ export default {
|
|
|
190
190
|
methods: {
|
|
191
191
|
downloadFiles () {
|
|
192
192
|
let downurl = 'rs/downloadfile/file?filename=团缴用户导入模板'
|
|
193
|
-
this.$
|
|
194
|
-
var link = document.createElement('a')
|
|
195
|
-
link.target = '_blank'
|
|
196
|
-
link.href = downurl
|
|
197
|
-
link.setAttribute('download', '团缴用户导入模板.xlsx')
|
|
198
|
-
document.body.appendChild(link)
|
|
199
|
-
link.click()
|
|
200
|
-
})
|
|
193
|
+
this.$downFile(downurl, '团缴用户导入模板.xlsx')
|
|
201
194
|
},
|
|
202
195
|
clickupshow () {
|
|
203
196
|
this.upshow = !this.upshow
|
|
@@ -608,16 +608,7 @@ let loadParamGem = async function (self) {
|
|
|
608
608
|
},
|
|
609
609
|
downloadFiles(){
|
|
610
610
|
let downurl='rs/downloadfile/file?filename=批量建档导出Excel模板';
|
|
611
|
-
this.$
|
|
612
|
-
var link = document.createElement('a');
|
|
613
|
-
link.target="_blank"
|
|
614
|
-
link.href =downurl ;
|
|
615
|
-
link.setAttribute("download", "批量建档导出Excel模板.xlsx"); //指定下载后的文件名,防跳转
|
|
616
|
-
document.body.appendChild(link);
|
|
617
|
-
link.click();
|
|
618
|
-
})
|
|
619
|
-
|
|
620
|
-
|
|
611
|
+
this.$downFile(downurl,'批量建档导出Excel模板.xlsx')
|
|
621
612
|
},
|
|
622
613
|
/**
|
|
623
614
|
* 退出用户详细信息页面
|
|
@@ -619,16 +619,7 @@ let loadParamGem = async function (self) {
|
|
|
619
619
|
},
|
|
620
620
|
downloadFiles(){
|
|
621
621
|
let downurl='rs/downloadfile/file?filename=批量建档导出Excel模板';
|
|
622
|
-
this.$
|
|
623
|
-
var link = document.createElement('a');
|
|
624
|
-
link.target="_blank"
|
|
625
|
-
link.href =downurl ;
|
|
626
|
-
link.setAttribute("download", "批量建档导出Excel模板.xlsx"); //指定下载后的文件名,防跳转
|
|
627
|
-
document.body.appendChild(link);
|
|
628
|
-
link.click();
|
|
629
|
-
})
|
|
630
|
-
|
|
631
|
-
|
|
622
|
+
this.$downFile(downurl,'批量建档导出Excel模板.xlsx')
|
|
632
623
|
},
|
|
633
624
|
/**
|
|
634
625
|
* 退出用户详细信息页面
|
|
@@ -282,14 +282,7 @@
|
|
|
282
282
|
},
|
|
283
283
|
downloadFiles(){
|
|
284
284
|
let downurl='rs/downloadfile/file?filename=单县表计导入模板';
|
|
285
|
-
this.$
|
|
286
|
-
var link = document.createElement('a');
|
|
287
|
-
link.target="_blank"
|
|
288
|
-
link.href =downurl ;
|
|
289
|
-
link.setAttribute("download", "表计导入模板.xlsx"); //指定下载后的文件名,防跳转
|
|
290
|
-
document.body.appendChild(link);
|
|
291
|
-
link.click();
|
|
292
|
-
})
|
|
285
|
+
this.$downFile(downurl,'单县表计导入模板.xlsx')
|
|
293
286
|
},
|
|
294
287
|
addOrRemove () {
|
|
295
288
|
this.$parent.meterinfos = []
|
|
@@ -622,16 +622,7 @@ let loadParamGem = async function (self) {
|
|
|
622
622
|
},
|
|
623
623
|
downloadFiles(){
|
|
624
624
|
let downurl='rs/downloadfile/file?filename=批量建档导出Excel模板';
|
|
625
|
-
this.$
|
|
626
|
-
var link = document.createElement('a');
|
|
627
|
-
link.target="_blank"
|
|
628
|
-
link.href =downurl ;
|
|
629
|
-
link.setAttribute("download", "批量建档导出Excel模板.xlsx"); //指定下载后的文件名,防跳转
|
|
630
|
-
document.body.appendChild(link);
|
|
631
|
-
link.click();
|
|
632
|
-
})
|
|
633
|
-
|
|
634
|
-
|
|
625
|
+
this.$downFile(downurl,'批量建档导出Excel模板.xlsx')
|
|
635
626
|
},
|
|
636
627
|
/**
|
|
637
628
|
* 退出用户详细信息页面
|
|
@@ -428,14 +428,7 @@ let loadParamGem = async function (self) {
|
|
|
428
428
|
methods: {
|
|
429
429
|
downloadFiles(){
|
|
430
430
|
let downurl='rs/downloadfile/file?filename=预备户批量建档导入Excel模板';
|
|
431
|
-
this.$
|
|
432
|
-
var link = document.createElement('a');
|
|
433
|
-
link.target="_blank"
|
|
434
|
-
link.href =downurl ;
|
|
435
|
-
link.setAttribute("download", "预备户批量建档导入Excel模板.xlsx"); //指定下载后的文件名,防跳转
|
|
436
|
-
document.body.appendChild(link);
|
|
437
|
-
link.click();
|
|
438
|
-
})
|
|
431
|
+
this.$downFile(downurl,'预备户批量建档导入Excel模板.xlsx')
|
|
439
432
|
},
|
|
440
433
|
close () {
|
|
441
434
|
this.printflag = false
|
|
@@ -166,14 +166,7 @@
|
|
|
166
166
|
methods: {
|
|
167
167
|
downloadFiles(){
|
|
168
168
|
let downurl='rs/downloadfile/file?filename=批量保险收费导入Excel模板';
|
|
169
|
-
this.$
|
|
170
|
-
var link = document.createElement('a');
|
|
171
|
-
link.target="_blank"
|
|
172
|
-
link.href =downurl ;
|
|
173
|
-
link.setAttribute("download", "批量保险收费导入Excel模板.xlsx"); //指定下载后的文件名,防跳转
|
|
174
|
-
document.body.appendChild(link);
|
|
175
|
-
link.click();
|
|
176
|
-
})
|
|
169
|
+
this.$downFile(downurl,'批量保险收费导入Excel模板.xlsx')
|
|
177
170
|
},
|
|
178
171
|
search () {
|
|
179
172
|
this.$refs.paged.$refs.criteria.search()
|
|
@@ -609,16 +609,7 @@ let loadParamGem = async function (self) {
|
|
|
609
609
|
},
|
|
610
610
|
downloadFiles(){
|
|
611
611
|
let downurl='rs/downloadfile/file?filename=批量建档导出Excel模板';
|
|
612
|
-
this.$
|
|
613
|
-
var link = document.createElement('a');
|
|
614
|
-
link.target="_blank"
|
|
615
|
-
link.href =downurl ;
|
|
616
|
-
link.setAttribute("download", "批量建档导出Excel模板.xlsx"); //指定下载后的文件名,防跳转
|
|
617
|
-
document.body.appendChild(link);
|
|
618
|
-
link.click();
|
|
619
|
-
})
|
|
620
|
-
|
|
621
|
-
|
|
612
|
+
this.$downFile(downurl,'批量建档导出Excel模板.xlsx')
|
|
622
613
|
},
|
|
623
614
|
/**
|
|
624
615
|
* 退出用户详细信息页面
|
|
@@ -282,14 +282,7 @@
|
|
|
282
282
|
},
|
|
283
283
|
downloadFiles(){
|
|
284
284
|
let downurl='rs/downloadfile/file?filename=表计导入模板';
|
|
285
|
-
this.$
|
|
286
|
-
var link = document.createElement('a');
|
|
287
|
-
link.target="_blank"
|
|
288
|
-
link.href =downurl ;
|
|
289
|
-
link.setAttribute("download", "表计导入模板.xlsx"); //指定下载后的文件名,防跳转
|
|
290
|
-
document.body.appendChild(link);
|
|
291
|
-
link.click();
|
|
292
|
-
})
|
|
285
|
+
this.$downFile(downurl,'表计导入模板.xlsx')
|
|
293
286
|
},
|
|
294
287
|
addOrRemove () {
|
|
295
288
|
this.$parent.meterinfos = []
|
|
@@ -311,14 +311,7 @@ export default {
|
|
|
311
311
|
},
|
|
312
312
|
downloadFiles(){
|
|
313
313
|
let downurl='rs/downloadfile/file?filename=表计导入模板';
|
|
314
|
-
this.$
|
|
315
|
-
var link = document.createElement('a');
|
|
316
|
-
link.target="_blank"
|
|
317
|
-
link.href =downurl ;
|
|
318
|
-
link.setAttribute("download", "表计导入模板.xlsx"); //指定下载后的文件名,防跳转
|
|
319
|
-
document.body.appendChild(link);
|
|
320
|
-
link.click();
|
|
321
|
-
})
|
|
314
|
+
this.$downFile(downurl,'表计导入模板.xlsx')
|
|
322
315
|
},
|
|
323
316
|
addOrRemove () {
|
|
324
317
|
this.$parent.meterinfos = []
|
|
@@ -645,16 +645,7 @@ let loadParamGem = async function (self) {
|
|
|
645
645
|
},
|
|
646
646
|
downloadFiles() {
|
|
647
647
|
let downurl='rs/downloadfile/file?filename=批量建档导出Excel模板';
|
|
648
|
-
this.$
|
|
649
|
-
var link = document.createElement('a');
|
|
650
|
-
link.target="_blank"
|
|
651
|
-
link.href =downurl ;
|
|
652
|
-
link.setAttribute("download", "批量建档导出Excel模板.xlsx"); //指定下载后的文件名,防跳转
|
|
653
|
-
document.body.appendChild(link);
|
|
654
|
-
link.click();
|
|
655
|
-
})
|
|
656
|
-
|
|
657
|
-
|
|
648
|
+
this.$downFile(downurl,'批量建档导出Excel模板.xlsx')
|
|
658
649
|
},
|
|
659
650
|
/**
|
|
660
651
|
* 退出用户详细信息页面
|
|
@@ -582,14 +582,7 @@ export default {
|
|
|
582
582
|
methods: {
|
|
583
583
|
downloadFiles () {
|
|
584
584
|
let downurl = 'rs/downloadfile/file?filename=卡表批量抄表导入模板'
|
|
585
|
-
this.$
|
|
586
|
-
var link = document.createElement('a')
|
|
587
|
-
link.target = '_blank'
|
|
588
|
-
link.href = downurl
|
|
589
|
-
link.setAttribute('download', '卡表批量抄表导入模板.xlsx')
|
|
590
|
-
document.body.appendChild(link)
|
|
591
|
-
link.click()
|
|
592
|
-
})
|
|
585
|
+
this.$downFile(downurl,'卡表批量抄表导入模板.xlsx')
|
|
593
586
|
},
|
|
594
587
|
hidden () {
|
|
595
588
|
this.criteriaShow = !this.criteriaShow
|
|
@@ -621,16 +621,7 @@ let loadParamGem = async function (self) {
|
|
|
621
621
|
},
|
|
622
622
|
downloadFiles(){
|
|
623
623
|
let downurl='rs/downloadfile/file?filename=批量建档导出Excel模板';
|
|
624
|
-
this.$
|
|
625
|
-
var link = document.createElement('a');
|
|
626
|
-
link.target="_blank"
|
|
627
|
-
link.href =downurl ;
|
|
628
|
-
link.setAttribute("download", "批量建档导出Excel模板.xlsx"); //指定下载后的文件名,防跳转
|
|
629
|
-
document.body.appendChild(link);
|
|
630
|
-
link.click();
|
|
631
|
-
})
|
|
632
|
-
|
|
633
|
-
|
|
624
|
+
this.$downFile(downurl,'批量建档导出Excel模板.xlsx')
|
|
634
625
|
},
|
|
635
626
|
/**
|
|
636
627
|
* 退出用户详细信息页面
|
|
@@ -984,14 +984,7 @@
|
|
|
984
984
|
},
|
|
985
985
|
downloadFiles () {
|
|
986
986
|
let downurl = 'rs/downloadfile/file?filename=机表抄表导入Excel模板'
|
|
987
|
-
this.$
|
|
988
|
-
var link = document.createElement('a')
|
|
989
|
-
link.target = '_blank'
|
|
990
|
-
link.href = downurl
|
|
991
|
-
link.setAttribute('download', '机表抄表导入Excel模板.xlsx') // 指定下载后的文件名,防跳转
|
|
992
|
-
document.body.appendChild(link)
|
|
993
|
-
link.click()
|
|
994
|
-
})
|
|
987
|
+
this.$downFile(downurl,'机表抄表导入Excel模板.xlsx')
|
|
995
988
|
},
|
|
996
989
|
calculationBase (row) {
|
|
997
990
|
let oughtamount = null
|
|
@@ -673,16 +673,7 @@ let loadParamGem = async function (self) {
|
|
|
673
673
|
},
|
|
674
674
|
downloadFiles(){
|
|
675
675
|
let downurl='rs/downloadfile/file?filename=批量建档导出Excel模板';
|
|
676
|
-
this.$
|
|
677
|
-
var link = document.createElement('a');
|
|
678
|
-
link.target="_blank"
|
|
679
|
-
link.href =downurl ;
|
|
680
|
-
link.setAttribute("download", "批量建档导出Excel模板.xlsx"); //指定下载后的文件名,防跳转
|
|
681
|
-
document.body.appendChild(link);
|
|
682
|
-
link.click();
|
|
683
|
-
})
|
|
684
|
-
|
|
685
|
-
|
|
676
|
+
this.$downFile(downurl,'批量建档导出Excel模板.xlsx')
|
|
686
677
|
},
|
|
687
678
|
/**
|
|
688
679
|
* 退出用户详细信息页面
|
|
@@ -624,14 +624,7 @@ let loadParamGem = async function (self) {
|
|
|
624
624
|
},
|
|
625
625
|
downloadFiles () {
|
|
626
626
|
let downurl = 'rs/downloadfile/file?filename=批量建档导出Excel模板_中邑'
|
|
627
|
-
this.$
|
|
628
|
-
var link = document.createElement('a')
|
|
629
|
-
link.target = '_blank'
|
|
630
|
-
link.href = downurl
|
|
631
|
-
link.setAttribute('download', '批量建档导出Excel模板_中邑.xlsx') // 指定下载后的文件名,防跳转
|
|
632
|
-
document.body.appendChild(link)
|
|
633
|
-
link.click()
|
|
634
|
-
})
|
|
627
|
+
this.$downFile(downurl,'批量建档导出Excel模板_中邑.xlsx')
|
|
635
628
|
},
|
|
636
629
|
/**
|
|
637
630
|
* 退出用户详细信息页面
|
|
@@ -634,14 +634,7 @@ export default {
|
|
|
634
634
|
},
|
|
635
635
|
downloadFiles () {
|
|
636
636
|
let downurl = 'rs/downloadfile/file?filename=卡表批量抄表导入模板'
|
|
637
|
-
this.$
|
|
638
|
-
var link = document.createElement('a')
|
|
639
|
-
link.target = '_blank'
|
|
640
|
-
link.href = downurl
|
|
641
|
-
link.setAttribute('download', '卡表批量抄表导入模板.xlsx')
|
|
642
|
-
document.body.appendChild(link)
|
|
643
|
-
link.click()
|
|
644
|
-
})
|
|
637
|
+
this.$downFile(downurl,'卡表批量抄表导入模板.xlsx')
|
|
645
638
|
},
|
|
646
639
|
hidden () {
|
|
647
640
|
this.criteriaShow = !this.criteriaShow
|
|
@@ -1113,14 +1113,7 @@
|
|
|
1113
1113
|
},
|
|
1114
1114
|
downloadFiles () {
|
|
1115
1115
|
let downurl = 'rs/downloadfile/file?filename=机表抄表导入Excel模板'
|
|
1116
|
-
this.$
|
|
1117
|
-
var link = document.createElement('a')
|
|
1118
|
-
link.target = '_blank'
|
|
1119
|
-
link.href = downurl
|
|
1120
|
-
link.setAttribute('download', '机表抄表导入Excel模板.xlsx') // 指定下载后的文件名,防跳转
|
|
1121
|
-
document.body.appendChild(link)
|
|
1122
|
-
link.click()
|
|
1123
|
-
})
|
|
1116
|
+
this.$downFile(downurl,'机表抄表导入Excel模板.xlsx')
|
|
1124
1117
|
},
|
|
1125
1118
|
calculationBase (row) {
|
|
1126
1119
|
let oughtamount = null
|
package/src/main.js
CHANGED
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import Vue from 'vue'
|
|
2
|
+
|
|
3
|
+
export default {
|
|
4
|
+
install (vue) {
|
|
5
|
+
vue.downFile = vue.prototype.$downFile = function (url, fileName) {
|
|
6
|
+
const xhr = new XMLHttpRequest()
|
|
7
|
+
xhr.open('GET', url)
|
|
8
|
+
if (Vue.$login && Vue.$login.jwt) {
|
|
9
|
+
console.log('设置请求头: jwt=' + Vue.$login.jwt)
|
|
10
|
+
xhr.setRequestHeader('Authorization', 'Bearer ' + Vue.$login.jwtNew)
|
|
11
|
+
xhr.setRequestHeader('Token', Vue.$login.jwt)
|
|
12
|
+
}
|
|
13
|
+
// 设置组件目录
|
|
14
|
+
if (Vue.$login && Vue.$login.f && Vue.$login.f.dir) {
|
|
15
|
+
xhr.setRequestHeader('componentDir', Vue.$login.f.dir)
|
|
16
|
+
}
|
|
17
|
+
// 如果有客户端事务session,把session添加到请求头中,一般在测试时,才会启动客户端事务
|
|
18
|
+
if (global.session != null) {
|
|
19
|
+
xhr.setRequestHeader('session', global.session)
|
|
20
|
+
}
|
|
21
|
+
// 手机端增加appToken
|
|
22
|
+
if (window.HostApp) {
|
|
23
|
+
xhr.setRequestHeader('appToken', 'db4afb0c04ab4af0b5626998fe7c9b21')
|
|
24
|
+
}
|
|
25
|
+
xhr.responseType = 'blob' // 设置响应类型为blob
|
|
26
|
+
|
|
27
|
+
xhr.onload = function () {
|
|
28
|
+
if (xhr.status === 200) {
|
|
29
|
+
var blob = xhr.response
|
|
30
|
+
|
|
31
|
+
// 创建可下载链接
|
|
32
|
+
var link = document.createElement('a')
|
|
33
|
+
link.href = URL.createObjectURL(blob)
|
|
34
|
+
link.download = fileName
|
|
35
|
+
|
|
36
|
+
// 模拟点击下载链接
|
|
37
|
+
link.dispatchEvent(new MouseEvent('click'))
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
xhr.send()
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
package/src/sale.js
CHANGED
|
@@ -18,6 +18,7 @@ import GetSaleParams from './plugins/GetSaleParams'
|
|
|
18
18
|
import LoadParams from './plugins/LoadParams'
|
|
19
19
|
import FileManageService from './plugins/FileManageService'
|
|
20
20
|
import InvoiceService from './plugins/InvoiceService'
|
|
21
|
+
import FileDownload from './plugins/FileDownload'
|
|
21
22
|
// import { all } from 'vue-client'
|
|
22
23
|
|
|
23
24
|
/* 异步注册组件 */
|
|
@@ -42,6 +43,7 @@ export default function () {
|
|
|
42
43
|
Vue.use(GetSaleParams)
|
|
43
44
|
Vue.use(LoadParams)
|
|
44
45
|
Vue.use(InvoiceService)
|
|
46
|
+
Vue.use(FileDownload)
|
|
45
47
|
// 团体缴费
|
|
46
48
|
Vue.component('charge-manage-group', (resolve) => { require(['./components/chargeBatch/ChargeManageGroup'], resolve) })
|
|
47
49
|
// 团体缴费查询列表
|