员工学习数据顶部导出

This commit is contained in:
weixiaobo@boe.com.cn
2023-08-25 14:33:05 +08:00
parent 3988973868
commit 0e4675b8bf

View File

@@ -211,7 +211,7 @@ export default {
const onSelectChange = (selectedRowKeys, record) => {
state.selectedRowKeys = selectedRowKeys;
state.ids = record?.map((item) => {
return item.userId;
return item.id;
});
};
//请求组织接口
@@ -229,7 +229,6 @@ export default {
if (!state.selectedRowKeys?.length) {
return message.warning("请至少选择一条数据进行导出");
} else {
console.log("导出 state.ids:",state.ids);
axios({
method: "get",
url: "/report/boeu/studyData/export",