|
|
@@ -73,7 +73,7 @@ import tool from '@/utils/tool'
|
|
|
import LeoFilter from '@/components/Filter'
|
|
|
import LeoUploader from '@/components/Uploader'
|
|
|
import Pagination from '@/components/Pagination'
|
|
|
-import {SERVER_API_HTTP_TYPE,SERVER_API_DOMAIN} from '@/utils/config'
|
|
|
+
|
|
|
export default {
|
|
|
name: 'recharge',
|
|
|
components: {LeoFilter, LeoUploader, Pagination},
|
|
|
@@ -146,7 +146,7 @@ export default {
|
|
|
this.$router.push({path: `/finance/recharge-add`})
|
|
|
},
|
|
|
handlePictureCardPreview (file) {
|
|
|
- this.dialogImageUrl = SERVER_API_HTTP_TYPE + SERVER_API_DOMAIN + '/uploads/' + file.url;
|
|
|
+ this.dialogImageUrl = CDN_BASE_URL + '/files/' + file.url;
|
|
|
this.dialogVisible = true;
|
|
|
this.file = file;
|
|
|
// console.log(file);
|
|
|
@@ -168,7 +168,7 @@ export default {
|
|
|
handleAddInvoiceShow: function (row) {
|
|
|
this.dialogAddInvoiceLoading = true
|
|
|
this.auditId = row.ID
|
|
|
- this.defaultImageUrl = row.BANK_PROVE
|
|
|
+ this.defaultImageUrl = tool.getArImage(row.BANK_PROVE, '/files/');
|
|
|
// console.log(this.auditId)
|
|
|
// this.requestRoute = 'finance/prove-add/' + this.auditId
|
|
|
this.dialogAddInvoiceVisible = true
|
|
|
@@ -201,7 +201,7 @@ export default {
|
|
|
this.dialogInvoiceLoading = false
|
|
|
let invoiceUrl = response.list;
|
|
|
// console.log(row)
|
|
|
- this.urlimg = SERVER_API_HTTP_TYPE + SERVER_API_DOMAIN + '/uploads/' + row.BANK_PROVE
|
|
|
+ this.urlimg = tool.getArImage(row.BANK_PROVE, '/files/');
|
|
|
this.auditId = row.ID
|
|
|
})
|
|
|
},
|