mirror of
https://gitee.com/orangeform/orange-admin.git
synced 2026-01-18 02:56:30 +08:00
commit:权限模块新增分配详情功能
commit:修改前端样式
This commit is contained in:
@@ -115,6 +115,12 @@ export default {
|
||||
* 班级学生数据获取函数,返回Promise
|
||||
*/
|
||||
loadStudentData (params) {
|
||||
if (
|
||||
this.classId == null
|
||||
) {
|
||||
this.formSetClassStudent.Student.impl.clearTable();
|
||||
return Promise.reject();
|
||||
}
|
||||
if (params == null) params = {};
|
||||
params = {
|
||||
...params,
|
||||
@@ -177,6 +183,12 @@ export default {
|
||||
* 添加
|
||||
*/
|
||||
onAddClassStudentClick () {
|
||||
if (
|
||||
this.classId == null
|
||||
) {
|
||||
this.$message.error('请求失败,发现必填参数为空!');
|
||||
return;
|
||||
}
|
||||
let params = {
|
||||
classId: this.classId,
|
||||
classStudentList: this.tableSelectRowList.map((item) => {
|
||||
|
||||
Reference in New Issue
Block a user