|
@@ -277,14 +277,7 @@ let addParams = ref({
|
|
|
// 昵称
|
|
|
"nickName": null,
|
|
|
// 用户分配到的班级数组,可以是多个
|
|
|
- "classInfo": [
|
|
|
- // {
|
|
|
- // "id": 0,
|
|
|
- // "name": "",
|
|
|
- // "remark": "",
|
|
|
- // "schoolId": 0
|
|
|
- // }
|
|
|
- ],
|
|
|
+ "classInfo": [],
|
|
|
// 密码
|
|
|
"password": null,
|
|
|
// 确认密码
|
|
@@ -308,11 +301,18 @@ let addRules = ref({
|
|
|
* 详情数据
|
|
|
*/
|
|
|
let detailsDb = ref({
|
|
|
- name: '',
|
|
|
- username: '',
|
|
|
- password: '123456',
|
|
|
- orgId: '',
|
|
|
- roles: [],
|
|
|
+ // 账号
|
|
|
+ "userName": null,
|
|
|
+ // 0 表示教师,1表示学生
|
|
|
+ "userType": 0,
|
|
|
+ // 昵称
|
|
|
+ "nickName": null,
|
|
|
+ // 用户分配到的班级数组,可以是多个
|
|
|
+ "classInfo": [],
|
|
|
+ // 密码
|
|
|
+ "password": null,
|
|
|
+ // 确认密码
|
|
|
+ "password2": null
|
|
|
});
|
|
|
|
|
|
/**
|
|
@@ -608,17 +608,21 @@ const btnBatchDel = () => {
|
|
|
* @param res
|
|
|
*/
|
|
|
const btnDetail = (res) => {
|
|
|
+
|
|
|
console.log('弹出指定分页详情', res);
|
|
|
|
|
|
- detailsDb.value = {
|
|
|
- name: '名字',
|
|
|
- username: '账号',
|
|
|
- password: '123456',
|
|
|
- orgId: 6568450359870132,
|
|
|
- roles: [],
|
|
|
- }
|
|
|
+ // detailsDb.value = {
|
|
|
+ // name: '名字',
|
|
|
+ // username: '账号',
|
|
|
+ // password: '123456',
|
|
|
+ // orgId: 6568450359870132,
|
|
|
+ // roles: [],
|
|
|
+ // }
|
|
|
+
|
|
|
+ // state.value.showDetails = true;
|
|
|
|
|
|
- state.value.showDetails = true;
|
|
|
+
|
|
|
+
|
|
|
|
|
|
}
|
|
|
|