n20-common-lib 2.11.19 → 2.11.21
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
|
@@ -56,6 +56,10 @@ export default {
|
|
|
56
56
|
Dialog
|
|
57
57
|
},
|
|
58
58
|
props: {
|
|
59
|
+
apiPrefix: {
|
|
60
|
+
type: String,
|
|
61
|
+
default: undefined
|
|
62
|
+
},
|
|
59
63
|
visible: {
|
|
60
64
|
type: Boolean,
|
|
61
65
|
default: false
|
|
@@ -123,7 +127,7 @@ export default {
|
|
|
123
127
|
},
|
|
124
128
|
async getFileInfo(id) {
|
|
125
129
|
const response = await this.$axios.post(
|
|
126
|
-
'/
|
|
130
|
+
this.apiPrefix ? this.apiPrefix + '/neams/eamsbaserecord/downloadFile' : '/neams/eamsbaserecord/downloadFile',
|
|
127
131
|
{ beid: id },
|
|
128
132
|
{ responseType: 'blob', loading: false }
|
|
129
133
|
)
|