| 
														
															@@ -124,6 +124,26 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             </template> 
														 | 
														
														 | 
														
															             </template> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															           </avue-form> 
														 | 
														
														 | 
														
															           </avue-form> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         </el-dialog> 
														 | 
														
														 | 
														
															         </el-dialog> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        <!--    重置密码对话框    --> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        <el-dialog 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          title="重置密码" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          :visible.sync="dialogVisible" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          width="30%" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          :append-to-body="true"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          <el-form :inline="true"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            <el-form-item label="密码重置为:" prop="changeThePassword" > 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+              <el-input v-model="newPassword" placeholder="请输入内容"></el-input> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            </el-form-item> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          </el-form> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          <span slot="footer" class="dialog-footer"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            <el-button @click="dialogVisible = false">取 消</el-button> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            <el-button type="primary" @click="resetPasswordDiy()">确 定</el-button> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          </span> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        </el-dialog> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         <el-dialog title="用户平台配置" 
														 | 
														
														 | 
														
															         <el-dialog title="用户平台配置" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                    append-to-body 
														 | 
														
														 | 
														
															                    append-to-body 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                    :visible.sync="platformBox"> 
														 | 
														
														 | 
														
															                    :visible.sync="platformBox"> 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -168,7 +188,8 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     updatePlatform, 
														 | 
														
														 | 
														
															     updatePlatform, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     add, 
														 | 
														
														 | 
														
															     add, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     grant, 
														 | 
														
														 | 
														
															     grant, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    resetPassword 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    resetPassword, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    resetYourPassword 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   } from "@/api/system/user"; 
														 | 
														
														 | 
														
															   } from "@/api/system/user"; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   import {getDeptTree, getDeptLazyTree} from "@/api/system/dept"; 
														 | 
														
														 | 
														
															   import {getDeptTree, getDeptLazyTree} from "@/api/system/dept"; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   import {getRoleTree} from "@/api/system/role"; 
														 | 
														
														 | 
														
															   import {getRoleTree} from "@/api/system/role"; 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -198,10 +219,14 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       return { 
														 | 
														
														 | 
														
															       return { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         form: {}, 
														 | 
														
														 | 
														
															         form: {}, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         search:{}, 
														 | 
														
														 | 
														
															         search:{}, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        // 密码重置框是否可见 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        dialogVisible: false, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         roleBox: false, 
														 | 
														
														 | 
														
															         roleBox: false, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         excelBox: false, 
														 | 
														
														 | 
														
															         excelBox: false, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         platformBox: false, 
														 | 
														
														 | 
														
															         platformBox: false, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         initFlag: true, 
														 | 
														
														 | 
														
															         initFlag: true, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        // 需要重置的密码 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        newPassword: '123456', 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         selectionList: [], 
														 | 
														
														 | 
														
															         selectionList: [], 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         query: {}, 
														 | 
														
														 | 
														
															         query: {}, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         loading: true, 
														 | 
														
														 | 
														
															         loading: true, 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -850,21 +875,35 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															           this.$message.warning("请选择至少一条数据"); 
														 | 
														
														 | 
														
															           this.$message.warning("请选择至少一条数据"); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															           return; 
														 | 
														
														 | 
														
															           return; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         } 
														 | 
														
														 | 
														
															         } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        this.$confirm("确定将选择账号密码重置为123456?", { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-          confirmButtonText: "确定", 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-          cancelButtonText: "取消", 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-          type: "warning" 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        }) 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-          .then(() => { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-            return resetPassword(this.ids); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-          }) 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-          .then(() => { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        this.dialogVisible = true; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        // this.$confirm("确定将选择账号密码重置为123456?", { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        //   confirmButtonText: "确定", 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        //   cancelButtonText: "取消", 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        //   type: "warning" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        // }) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        //   .then(() => { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        //     return resetPassword(this.ids); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        //   }) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        //   .then(() => { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        //     this.$message({ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        //       type: "success", 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        //       message: "操作成功!" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        //     }); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        //     this.$refs.crud.toggleSelection(); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        //   }); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      }, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      // 重置密码为指定内容 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      resetPasswordDiy() { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        resetPassword(this.ids, this.newPassword).then(res => { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          console.log(res) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          if (res.data.code === 200) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             this.$message({ 
														 | 
														
														 | 
														
															             this.$message({ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-              type: "success", 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-              message: "操作成功!" 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+              message: '操作成功!', 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+              type: 'success' 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             }); 
														 | 
														
														 | 
														
															             }); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-            this.$refs.crud.toggleSelection(); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-          }); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            this.dialogVisible = false; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        }) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       }, 
														 | 
														
														 | 
														
															       }, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       handleGrant() { 
														 | 
														
														 | 
														
															       handleGrant() { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         if (this.selectionList.length === 0) { 
														 | 
														
														 | 
														
															         if (this.selectionList.length === 0) { 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -1014,4 +1053,10 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   .box .el-scrollbar__wrap { 
														 | 
														
														 | 
														
															   .box .el-scrollbar__wrap { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     overflow: scroll; 
														 | 
														
														 | 
														
															     overflow: scroll; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   } 
														 | 
														
														 | 
														
															   } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+  .el-dialog .el-dialog__body{ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    display: flex; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    justify-content: center; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    align-items: center; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+  } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 </style> 
														 | 
														
														 | 
														
															 </style> 
														 |