mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-10 11:26:45 +08:00
员工学习数据顶部导出
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user