✨ 优化港口地图回填、合同展示与运单导入空值

地图选点回填国家省市区;合同选择显示编号/名称;常用数据组织筛选修正;运单详情将-1费用字段显示为空。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-10-09 17:07:56 +08:00
parent 570fbeb537
commit a1da644c49
25 changed files with 568 additions and 217 deletions
+8 -5
View File
@@ -1292,17 +1292,20 @@ export default {
handleExport() {
const account = func.toStr(this.search.account);
const realName = func.toStr(this.search.realName);
const phone = func.toStr(this.search.phone);
this.$confirm('是否导出用户数据?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning',
}).then(() => {
NProgress.start();
exportBlob(
`/blade-system/user/export-user?${
this.website.tokenHeader
}=${getToken()}&account=${account}&realName=${realName}`
).then(res => {
const params = new URLSearchParams({
[this.website.tokenHeader]: getToken(),
});
if (account) params.set('account', account);
if (realName) params.set('realName', realName);
if (phone) params.set('phone', phone);
exportBlob(`/blade-system/user/export-user?${params.toString()}`).then(res => {
downloadXls(res.data, `用户数据表${this.$dayjs().format('YYYY-MM-DD')}.xlsx`);
NProgress.done();
});