参数导出模板管理提示语修改

This commit is contained in:
zyx.net
2022-08-02 15:51:24 +08:00
parent 6e06bf7c20
commit e4ef81b041
4 changed files with 9 additions and 9 deletions
@@ -282,7 +282,7 @@ export default {
query.exportName = 'normal' query.exportName = 'normal'
} }
this.confirmLoading = true this.confirmLoading = true
downloadFile('report/detail/exportNormal', this.$t('GeneralExportInformation')+'.zip', query) downloadFile('report/detail/exportNormal', query.exportName+'.zip', query)
this.confirmLoading = false this.confirmLoading = false
} }
}) })
@@ -250,7 +250,7 @@ export default {
query.exportName = 'custom' query.exportName = 'custom'
} }
this.confirmLoading = true this.confirmLoading = true
downloadFile('report/detail/exportCustom', this.$t('CustomizeExportInformation')+'.zip', query) downloadFile('report/detail/exportCustom', query.exportName+'.zip', query)
this.confirmLoading = false this.confirmLoading = false
} }
}) })
@@ -211,11 +211,11 @@ export default {
Action(url, query).then((res) => { Action(url, query).then((res) => {
if (res.success) { if (res.success) {
this.confirmLoading = false this.confirmLoading = false
this.$message.success(this.$t('OperationSuccessful')) this.$message.success(res.message)
this.visible = false this.visible = false
this.$emit('addModelList') this.$emit('addModelList')
} else { } else {
this.$message.warning(this.$t('operationFailed')) this.$message.warning(res.message)
this.confirmLoading = false this.confirmLoading = false
} }
}) })
@@ -210,9 +210,9 @@
}, },
tooltip: { tooltip: {
trigger:'axis', trigger:'axis',
axisPointer: { // 坐标轴指示器,坐标轴触发有效 // axisPointer: { // 坐标轴指示器,坐标轴触发有效
type: 'line'// 默认为直线,可选为:'line' | 'shadow' // type: 'line'// 默认为直线,可选为:'line' | 'shadow'
}, // },
formatter: function (params) { formatter: function (params) {
var html = params[0].name + "<br>"; var html = params[0].name + "<br>";
for (var i = 0; i < params.length; i++) { for (var i = 0; i < params.length; i++) {
@@ -254,7 +254,7 @@
itemStyle: { itemStyle: {
color: "#707486", color: "#707486",
}, },
data: this.collectingdata data: this.notStartdata
}, },
{ {
name: this.$t('Inthecollection'), name: this.$t('Inthecollection'),
@@ -265,7 +265,7 @@
itemStyle: { itemStyle: {
color: "#00B3BE", color: "#00B3BE",
}, },
data: this.notStartdata data: this.collectingdata
}, },
{ {
name: this.$t('Submitted'), name: this.$t('Submitted'),