|
@@ -249,6 +249,11 @@ export default {
|
|
this.searchForm();
|
|
this.searchForm();
|
|
},
|
|
},
|
|
async resetStudentPassword(user) {
|
|
async resetStudentPassword(user) {
|
|
|
|
+ const confirm = await this.$confirm(`确定重置当前学生密码吗?`, "提示", {
|
|
|
|
+ type: "warning",
|
|
|
|
+ }).catch(() => {});
|
|
|
|
+ if (confirm !== "confirm") return;
|
|
|
|
+
|
|
await resetStudentPassword({
|
|
await resetStudentPassword({
|
|
id: user.id,
|
|
id: user.id,
|
|
password: "123456",
|
|
password: "123456",
|