n20-common-lib 2.6.4-beta → 2.6.5-beta
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
CHANGED
|
@@ -376,6 +376,10 @@ export default {
|
|
|
376
376
|
getData: {
|
|
377
377
|
type: Function,
|
|
378
378
|
default: undefined
|
|
379
|
+
},
|
|
380
|
+
tableData: {
|
|
381
|
+
type: Array,
|
|
382
|
+
default: () => []
|
|
379
383
|
}
|
|
380
384
|
},
|
|
381
385
|
data() {
|
|
@@ -413,7 +417,7 @@ export default {
|
|
|
413
417
|
imgType: /\.(jpg|png|gif|svg)$/i,
|
|
414
418
|
visiblePv: false,
|
|
415
419
|
seeRow: {},
|
|
416
|
-
tableData: [],
|
|
420
|
+
// tableData: [],
|
|
417
421
|
previewUrl: '',
|
|
418
422
|
previewName: '',
|
|
419
423
|
bussType: {},
|
|
@@ -800,9 +804,15 @@ export default {
|
|
|
800
804
|
return
|
|
801
805
|
}
|
|
802
806
|
// 下载
|
|
803
|
-
let blob = await axios.get(
|
|
804
|
-
|
|
805
|
-
|
|
807
|
+
let blob = await axios.get(
|
|
808
|
+
this.requestPrefix
|
|
809
|
+
? `${this.requestPrefix}/neams/eamsbaserecord/download/${row.beid}`
|
|
810
|
+
: `/neams/eamsbaserecord/download/${row.beid}`,
|
|
811
|
+
null,
|
|
812
|
+
{
|
|
813
|
+
responseType: 'blob'
|
|
814
|
+
}
|
|
815
|
+
)
|
|
806
816
|
let url = URL.createObjectURL(blob)
|
|
807
817
|
if (url) {
|
|
808
818
|
let aDom = document.createElement('a')
|