|
@@ -1133,13 +1133,13 @@ export default {
|
1133
|
1133
|
newArr.push({
|
1134
|
1134
|
user_name: staffList[i].user_name,
|
1135
|
1135
|
admin_user_id:staffList[i].admin_user_id,
|
1136
|
|
- list: [{class_name:staffList[i].class_name,schedule_week:staffList[i].schedule_week}]
|
|
1136
|
+ list: [{class_name:staffList[i].class_name,admin_user_id:staffList[i].admin_user_id,schedule_week:staffList[i].schedule_week,user_type:staffList[i].doctor_type,class_attributes:staffList[i].class_attributes}]
|
1137
|
1137
|
})
|
1138
|
1138
|
tempArr.push(staffList[i].user_name);
|
1139
|
1139
|
} else {
|
1140
|
1140
|
for (let j = 0; j < newArr.length; j++) {
|
1141
|
1141
|
if (newArr[j].user_name == staffList[i].user_name) {
|
1142
|
|
- newArr[j].list.push({class_name:staffList[i].class_name,admin_user_id:staffList[i].admin_user_id,schedule_week:staffList[i].schedule_week})
|
|
1142
|
+ newArr[j].list.push({class_name:staffList[i].class_name,admin_user_id:staffList[i].admin_user_id,schedule_week:staffList[i].schedule_week,user_type:staffList[i].doctor_type,class_attributes:staffList[i].class_attributes})
|
1143
|
1143
|
}
|
1144
|
1144
|
}
|
1145
|
1145
|
}
|