sale-client 3.6.144 → 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.
Files changed (60) hide show
  1. package/build/dev-server.js +4 -1
  2. package/package.json +2 -2
  3. package/src/App.vue +1 -3
  4. package/src/components/FilesManage/FileUserFiles.vue +1 -10
  5. package/src/components/FilesManageNew/FileUserFiles.vue +1 -8
  6. package/src/components/archives/UserfilesList.vue +1 -8
  7. package/src/components/revenue/cardHandManage/cardsHand.vue +1 -8
  8. package/src/components/revenue/changeInsurance/InsuranceList.vue +1 -8
  9. package/src/components/revenue/comprehen/Message/UserDefinedMessageNew.vue +1 -8
  10. package/src/components/revenue/comprehen/common/ImportExcel.vue +1 -8
  11. package/src/components/revenue/invoiceuse/InvoiceUse.vue +1 -8
  12. package/src/components/revenue/machineHandManage/machineHand.vue +1 -8
  13. package/src/components/webMeter/webInfo/WebMeterList.vue +1 -8
  14. package/src/components/webMeter/webInfo/qinhua/WebMeterList.vue +1 -8
  15. package/src/filiale/ancheng/FilesManage/FileUserFiles.vue +1 -10
  16. package/src/filiale/ancheng/FilesManageNew/FileUserFiles.vue +1 -8
  17. package/src/filiale/chengtou/components/FilesManage/FileUserFiles.vue +1 -10
  18. package/src/filiale/dongguan/components/FilesManage/FileUserFiles.vue +1 -10
  19. package/src/filiale/foric-v3/MaterialsList.vue +1 -8
  20. package/src/filiale/fugu/components/BlackList/BlackListList.vue +1 -8
  21. package/src/filiale/ganquan/components/FilesManage/FileUserFiles.vue +1 -10
  22. package/src/filiale/gehua/FileManageNew/FileUserFiles.vue +1 -8
  23. package/src/filiale/gehua/FileUserFiles.vue +1 -10
  24. package/src/filiale/haile/FilesManage/FileUserFiles.vue +1 -10
  25. package/src/filiale/haile/machineHand.vue +1 -8
  26. package/src/filiale/huayin/FileUserFiles.vue +1 -10
  27. package/src/filiale/jingwei/CardHand.vue +1 -8
  28. package/src/filiale/kelai/FileUserFiles.vue +9 -8
  29. package/src/filiale/kelai/FileUserFilesKeLai.vue +1 -10
  30. package/src/filiale/konggang/FileUserFiles.vue +1 -10
  31. package/src/filiale/lixianV3/components/charge/CardMeterCenter.vue +955 -0
  32. package/src/filiale/lixianV3/components/charge/IOTMeterCenter.vue +866 -0
  33. package/src/filiale/lixianV3/sale.js +2 -0
  34. package/src/filiale/meihekou/FileUserFiles.vue +1 -10
  35. package/src/filiale/ningjin/FileUserFiles.vue +1 -10
  36. package/src/filiale/ningjin/machineHand.vue +1 -8
  37. package/src/filiale/qianneng/FilesManage/FileUserFiles.vue +1 -8
  38. package/src/filiale/qianneng/archives/UserfilesList.vue +1 -8
  39. package/src/filiale/rizhao/FileUserFiles.vue +1 -10
  40. package/src/filiale/shanggao/FileUserFiles.vue +1 -10
  41. package/src/filiale/shanxian/WebMeterList.vue +1 -8
  42. package/src/filiale/shanxian/components/FilesManage/FileUserFiles.vue +1 -10
  43. package/src/filiale/shanxian/components/FilesManageNew/FileUserFiles.vue +1 -8
  44. package/src/filiale/shanxian/components/revenue/InsuranceList.vue +1 -8
  45. package/src/filiale/shexian/FilesManage/FileUserFiles.vue +1 -10
  46. package/src/filiale/shiquan/WebMeterList.vue +1 -8
  47. package/src/filiale/tongchuan/WebMeterList.vue +1 -8
  48. package/src/filiale/wenxi/FileUserFiles.vue +1 -10
  49. package/src/filiale/wenxi/Userinfo.vue +280 -0
  50. package/src/filiale/wenxi/cardsHand.vue +9 -13
  51. package/src/filiale/wenxi/sale.js +2 -0
  52. package/src/filiale/wuan/FileUserFiles.vue +1 -10
  53. package/src/filiale/xiangyun/machineHand.vue +1 -8
  54. package/src/filiale/zhongsheng/FilesManage/FileUserFiles.vue +1 -10
  55. package/src/filiale/zhongyi/FileUserFiles.vue +1 -8
  56. package/src/filiale/zhongyi/cardsHand.vue +1 -8
  57. package/src/filiale/zhongyi/machineHand.vue +1 -8
  58. package/src/main.js +10 -1
  59. package/src/plugins/FileDownload.js +44 -0
  60. package/src/sale.js +2 -0
@@ -1,5 +1,5 @@
1
1
  var path = require('path')
2
- const [ serverRul, localUrl ] = ['http://113.219.193.157:8100/', 'http://113.219.193.157:8100/']
2
+ const [ serverRul, localUrl ] = ['https://qnjtkf.cn:7401/', 'https://qnjtkf.cn:7401/']
3
3
  var merge = require('webpack-merge')
4
4
  var baseConfig = require('./webpack.dev.conf')
5
5
  var devConfig = {
@@ -20,6 +20,9 @@ var devConfig = {
20
20
  '/rs/file': {
21
21
  target: serverRul
22
22
  },
23
+ '/webapps': {
24
+ target: serverRul
25
+ },
23
26
  '/rs/sql/singleTable': {
24
27
  target: serverRul
25
28
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sale-client",
3
- "version": "3.6.144",
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",
package/src/App.vue CHANGED
@@ -10,10 +10,8 @@
10
10
  </template>
11
11
 
12
12
  <script>
13
- import Vue from 'vue'
14
13
 
15
14
  export default {
16
- ready () {
17
- }
15
+ ready () {}
18
16
  }
19
17
  </script>
@@ -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.$resetget(downurl,{}).then(res=>{
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.$resetget(downurl,{}).then(res=>{
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.$resetget(downurl, {}).then(res => {
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.$resetget(downurl, {}).then(res => {
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.$resetget(downurl,{}).then(res=>{
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.$resetget(downurl,{}).then(res=>{
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.$resetget(downurl, {}).then(res => {
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.$resetget(downurl, {}).then(res => {
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.$resetget(downurl, {}).then(res => {
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.$resetget(downurl,{}).then(res=>{
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.$resetget(downurl,{}).then(res=>{
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.$resetget(downurl,{}).then(res=>{
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.$resetget(downurl,{}).then(res=>{
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.$resetget(downurl,{}).then(res=>{
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.$resetget(downurl,{}).then(res=>{
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.$resetget(downurl,{}).then(res=>{
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.$resetget(downurl, {}).then(res => {
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.$resetget(downurl,{}).then(res=>{
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.$resetget(downurl,{}).then(res=>{
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.$resetget(downurl,{}).then(res=>{
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.$resetget(downurl, {}).then(res => {
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.$resetget(downurl, {}).then(res => {
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.$resetget(downurl,{}).then(res=>{
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.$resetget(downurl,{}).then(res=>{
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.$resetget(downurl,{}).then(res=>{
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')
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.$resetget(downurl,{}).then(res=>{
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.$resetget(downurl,{}).then(res=>{
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
  * 退出用户详细信息页面