update 报表几处国际化
This commit is contained in:
@@ -13,7 +13,8 @@ export default {
|
||||
// url: process.env.VUE_APP_REPORT_DESIGN_URL
|
||||
// url: window.SITE_CONFIG['apiURL'] + this.$http.adornUrl('/ureport/designer')
|
||||
// url: this.$http.adornUrl('/ureport/designer')
|
||||
url: (process.env.NODE_ENV === 'production' ? '/api' : '/yd-monitor') + '/ureport/designer'
|
||||
// url: (process.env.NODE_ENV === 'production' ? '/api' : '/yd-monitor') + '/ureport/designer'
|
||||
url: '/api/ureport/designer'
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
|
||||
@@ -125,7 +125,7 @@ export default {
|
||||
prop: 'operations',
|
||||
name: i18n.t('handle'),
|
||||
fixed: 'right',
|
||||
width: 180,
|
||||
// width: 180,
|
||||
subcomponent: TableOperateComponent,
|
||||
options: [{ name: 'preview', emitField: 'fileName' }, { name: 'design', emitField: 'name' }, 'edit', 'delete']
|
||||
}
|
||||
|
||||
@@ -23,7 +23,8 @@ export default {
|
||||
loading: true,
|
||||
// url: process.env.VUE_APP_REPORT_VIEW_URL
|
||||
// url: window.SITE_CONFIG['apiURL'] + this.$http.adornUrl('/ureport/preview')
|
||||
url: (process.env.NODE_ENV === 'production' ? '/api' : '/yd-monitor') + '/ureport/preview'
|
||||
// url: (process.env.NODE_ENV === 'production' ? '/api' : '/yd-monitor') + '/ureport/preview'
|
||||
url: '/api/ureport/preview'
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
|
||||
@@ -23,7 +23,8 @@ export default {
|
||||
init() {
|
||||
this.visible = true
|
||||
// this.url = `${window.SITE_CONFIG['apiURL']}/sys/oss/upload?token=${Cookies.get('token')}`
|
||||
this.url = (process.env.NODE_ENV === 'production' ? '/api' : '/yd-monitor') + `/sys/oss/upload?token=${Cookies.get('token')}`
|
||||
// this.url = (process.env.NODE_ENV === 'production' ? '/api' : '/yd-monitor') + `/sys/oss/upload?token=${Cookies.get('token')}`
|
||||
this.url = `/api/sys/oss/upload?token=${Cookies.get('token')}`
|
||||
this.num = 0
|
||||
this.fileList = []
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user