diff --git a/src/main/resources/web/assets/css/chart-design.css b/src/main/resources/web/assets/css/chart-design.css
index b5d3c474c..02a84e744 100644
--- a/src/main/resources/web/assets/css/chart-design.css
+++ b/src/main/resources/web/assets/css/chart-design.css
@@ -101,12 +101,6 @@ See LICENSE and COMMERCIAL in the project root for license information.
cursor: default;
}
-.axis .axis-head > a {
- display: inline-block;
- padding: 0 3px;
- cursor: default;
-}
-
.axis .axis-target {
margin-left: 80px;
min-height: 30px;
diff --git a/src/main/resources/web/assets/js/admin/system-cfg.js b/src/main/resources/web/assets/js/admin/system-cfg.js
index 36d1aeb63..9073b15c5 100644
--- a/src/main/resources/web/assets/js/admin/system-cfg.js
+++ b/src/main/resources/web/assets/js/admin/system-cfg.js
@@ -358,7 +358,7 @@ class DlgBackup extends RbAlert {
(this._$tips = c)}>
{$L('请勿在业务高峰时段执行备份')}
-
@@ -371,6 +371,7 @@ class DlgBackup extends RbAlert {
if (type === 0) return
this.disabled(true, true)
+ const $btn = $(this._$btn).button('loading')
$.post(`systems/backup?type=${type}`, (res) => {
if (res.error_code === 0) {
const data = res.data || {}
@@ -380,6 +381,7 @@ class DlgBackup extends RbAlert {
RbHighbar.error(res.error_msg)
}
this.disabled(false, false)
+ $btn.button('reset')
})
}
}
diff --git a/src/main/resources/web/assets/js/charts/charts.js b/src/main/resources/web/assets/js/charts/charts.js
index 163abde83..9c9cb8690 100644
--- a/src/main/resources/web/assets/js/charts/charts.js
+++ b/src/main/resources/web/assets/js/charts/charts.js
@@ -413,12 +413,18 @@ const ECHART_LEGEND_VOPT = {
textStyle: { fontSize: 12 },
}
-// K=千 M=百万
+// K=千 M=百万 B=亿
const shortNumber = function (num) {
- if (rb.locale === 'zh_CN' && (num > 10000 || num < -10000)) return (num / 10000).toFixed(1) + '万'
- if (num > 1000000 || num < -1000000) return (num / 1000000).toFixed(1) + 'M'
+ if (rb.locale === 'zh_CN') {
+ if (num > 100000000 || num < -100000000) return (num / 100000000).toFixed(1) + '亿'
+ else if (num > 1000000 || num < -1000000) return (num / 1000000).toFixed(1) + '百万'
+ else if (num > 10000 || num < -10000) return (num / 10000).toFixed(1) + '万'
+ return num
+ }
+ if (num > 100000000 || num < -100000000) return (num / 100000000).toFixed(1) + 'B'
+ else if (num > 1000000 || num < -1000000) return (num / 1000000).toFixed(1) + 'M'
else if (num > 10000 || num < -10000) return (num / 1000).toFixed(1) + 'K'
- else return num
+ return num
}
// 千分位
@@ -918,6 +924,11 @@ class ApprovalList extends BaseChart {
})}
+ {data.overLimit && (
+