This commit is contained in:
张成
2025-10-28 15:31:49 +08:00
parent 5bea5f8c02
commit 42c977b815
4 changed files with 17 additions and 13 deletions

View File

@@ -1,7 +1,6 @@
// 引入 Admin Framework框架内部已包含所有依赖和样式
import AdminFramework from '../../dist/admin-framework.js'
// 引入组件映射表
import componentMap from './router/component-map.js'

View File

@@ -349,7 +349,9 @@ export default {
this.query(1);
},
async exportCsv(row) {
await wch_usersServer.exportCsv(row)
let res = await wch_usersServer.exportCsv(row)
debugger
window.framework.tools.downloadFile(res, '用户列表.csv');
}
}
}

View File

@@ -246,9 +246,7 @@ export default {
this.query(1);
},
exportCsv() {
ntr_recordsServer.exportCsv(this.gridOption.param).then(res => {
window.framework.tools.downloadFile(res, '测试记录.csv');
});
ntr_recordsServer.exportCsv(this.gridOption.param)
}
},
computed: {