commit:权限模块新增分配详情功能

commit:修改前端样式
This commit is contained in:
Jerry
2020-11-21 11:56:49 +08:00
parent ab470fa0d3
commit f0099087fb
298 changed files with 242157 additions and 1527 deletions

View File

@@ -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) => {