mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-11 03:46:44 +08:00
教师导出传参数
This commit is contained in:
@@ -702,7 +702,7 @@
|
|||||||
var eleForm=document.createElement('form');
|
var eleForm=document.createElement('form');
|
||||||
eleForm.style="display:none;";
|
eleForm.style="display:none;";
|
||||||
eleForm.method='post';
|
eleForm.method='post';
|
||||||
eleForm.action=`${process.env.VUE_APP_BASE_API}/xboe/teacher/export?name=${this.query.name}`;
|
eleForm.action=`${process.env.VUE_APP_BASE_API}/xboe/teacher/export`;
|
||||||
//添加ids条件
|
//添加ids条件
|
||||||
var hdnFilePath = document.createElement('input');
|
var hdnFilePath = document.createElement('input');
|
||||||
hdnFilePath.type = 'hidden';
|
hdnFilePath.type = 'hidden';
|
||||||
@@ -715,6 +715,18 @@
|
|||||||
hdnName.name = 'name';
|
hdnName.name = 'name';
|
||||||
hdnName.value = this.query.name;
|
hdnName.value = this.query.name;
|
||||||
eleForm.appendChild(hdnName);
|
eleForm.appendChild(hdnName);
|
||||||
|
//组织体系
|
||||||
|
var hdnSystemIds = document.createElement('input');
|
||||||
|
hdnSystemIds.type = 'hidden';
|
||||||
|
hdnSystemIds.name = 'tsystemIds';
|
||||||
|
hdnSystemIds.value = this.query.tsystemIds;
|
||||||
|
eleForm.appendChild(hdnSystemIds);
|
||||||
|
|
||||||
|
var hdnLevelId = document.createElement('input');
|
||||||
|
hdnLevelId.type = 'hidden';
|
||||||
|
hdnLevelId.name = 'tlevelId';
|
||||||
|
hdnLevelId.value = this.query.tlevelId;
|
||||||
|
eleForm.appendChild(hdnLevelId);
|
||||||
|
|
||||||
document.body.appendChild(eleForm);
|
document.body.appendChild(eleForm);
|
||||||
eleForm.submit();
|
eleForm.submit();
|
||||||
|
|||||||
Reference in New Issue
Block a user