| 
														
															@@ -138,7 +138,7 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															         <el-table v-loading="loading" :data="userList" @selection-change="handleSelectionChange"> 
														 | 
														
														 | 
														
															         <el-table v-loading="loading" :data="userList" @selection-change="handleSelectionChange"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															           <el-table-column type="selection" width="50" align="center" /> 
														 | 
														
														 | 
														
															           <el-table-column type="selection" width="50" align="center" /> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-          <el-table-column label="用户编号" align="center" key="userId" prop="id" v-if="columns[0].visible" /> 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          <el-table-column label="用户编号" align="center" key="id" prop="id" v-if="columns[0].visible" /> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															           <el-table-column label="用户名称" align="center" key="name" prop="name" v-if="columns[1].visible" :show-overflow-tooltip="true" /> 
														 | 
														
														 | 
														
															           <el-table-column label="用户名称" align="center" key="name" prop="name" v-if="columns[1].visible" :show-overflow-tooltip="true" /> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															           <el-table-column label="用户昵称" align="center" key="nickName" prop="nickName" v-if="columns[2].visible" :show-overflow-tooltip="true" /> 
														 | 
														
														 | 
														
															           <el-table-column label="用户昵称" align="center" key="nickName" prop="nickName" v-if="columns[2].visible" :show-overflow-tooltip="true" /> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															           <el-table-column label="部门" align="center" key="deptName" prop="dept.deptName" v-if="columns[3].visible" :show-overflow-tooltip="true" /> 
														 | 
														
														 | 
														
															           <el-table-column label="部门" align="center" key="deptName" prop="dept.deptName" v-if="columns[3].visible" :show-overflow-tooltip="true" /> 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -164,7 +164,7 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             width="160" 
														 | 
														
														 | 
														
															             width="160" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             class-name="small-padding fixed-width" 
														 | 
														
														 | 
														
															             class-name="small-padding fixed-width" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															           > 
														 | 
														
														 | 
														
															           > 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-            <template slot-scope="scope" v-if="scope.row.userId !== 1"> 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            <template slot-scope="scope" v-if="scope.row.id !== 1"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															               <el-button 
														 | 
														
														 | 
														
															               <el-button 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 size="mini" 
														 | 
														
														 | 
														
															                 size="mini" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 type="text" 
														 | 
														
														 | 
														
															                 type="text" 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -231,12 +231,12 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         </el-row> 
														 | 
														
														 | 
														
															         </el-row> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         <el-row> 
														 | 
														
														 | 
														
															         <el-row> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															           <el-col :span="12"> 
														 | 
														
														 | 
														
															           <el-col :span="12"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-            <el-form-item v-if="form.userId == undefined" label="用户名称" prop="name"> 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            <el-form-item v-if="form.id == undefined" label="用户名称" prop="name"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															               <el-input v-model="form.name" placeholder="请输入用户名称" maxlength="30" /> 
														 | 
														
														 | 
														
															               <el-input v-model="form.name" placeholder="请输入用户名称" maxlength="30" /> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             </el-form-item> 
														 | 
														
														 | 
														
															             </el-form-item> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															           </el-col> 
														 | 
														
														 | 
														
															           </el-col> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															           <el-col :span="12"> 
														 | 
														
														 | 
														
															           <el-col :span="12"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-            <el-form-item v-if="form.userId == undefined" label="用户密码" prop="password"> 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            <el-form-item v-if="form.id == undefined" label="用户密码" prop="password"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															               <el-input v-model="form.password" placeholder="请输入用户密码" type="password" maxlength="20" show-password/> 
														 | 
														
														 | 
														
															               <el-input v-model="form.password" placeholder="请输入用户密码" type="password" maxlength="20" show-password/> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             </el-form-item> 
														 | 
														
														 | 
														
															             </el-form-item> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															           </el-col> 
														 | 
														
														 | 
														
															           </el-col> 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -497,7 +497,7 @@ export default { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     handleStatusChange(row) { 
														 | 
														
														 | 
														
															     handleStatusChange(row) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       let text = row.status === "0" ? "启用" : "停用"; 
														 | 
														
														 | 
														
															       let text = row.status === "0" ? "启用" : "停用"; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       this.$modal.confirm('确认要"' + text + '""' + row.userName + '"用户吗?').then(function() { 
														 | 
														
														 | 
														
															       this.$modal.confirm('确认要"' + text + '""' + row.userName + '"用户吗?').then(function() { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        return changeUserStatus(row.userId, row.status); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        return changeUserStatus(row.id, row.status); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       }).then(() => { 
														 | 
														
														 | 
														
															       }).then(() => { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         this.$modal.msgSuccess(text + "成功"); 
														 | 
														
														 | 
														
															         this.$modal.msgSuccess(text + "成功"); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       }).catch(function() { 
														 | 
														
														 | 
														
															       }).catch(function() { 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -512,7 +512,7 @@ export default { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     // 表单重置 
														 | 
														
														 | 
														
															     // 表单重置 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     reset() { 
														 | 
														
														 | 
														
															     reset() { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       this.form = { 
														 | 
														
														 | 
														
															       this.form = { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        userId: undefined, 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        id: undefined, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         deptId: undefined, 
														 | 
														
														 | 
														
															         deptId: undefined, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         userName: undefined, 
														 | 
														
														 | 
														
															         userName: undefined, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         nickName: undefined, 
														 | 
														
														 | 
														
															         nickName: undefined, 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -542,7 +542,7 @@ export default { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     }, 
														 | 
														
														 | 
														
															     }, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     // 多选框选中数据 
														 | 
														
														 | 
														
															     // 多选框选中数据 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     handleSelectionChange(selection) { 
														 | 
														
														 | 
														
															     handleSelectionChange(selection) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-      this.ids = selection.map(item => item.userId); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      this.ids = selection.map(item => item.id); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       this.single = selection.length != 1; 
														 | 
														
														 | 
														
															       this.single = selection.length != 1; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       this.multiple = !selection.length; 
														 | 
														
														 | 
														
															       this.multiple = !selection.length; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     }, 
														 | 
														
														 | 
														
															     }, 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -573,8 +573,8 @@ export default { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     /** 修改按钮操作 */ 
														 | 
														
														 | 
														
															     /** 修改按钮操作 */ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     handleUpdate(row) { 
														 | 
														
														 | 
														
															     handleUpdate(row) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       this.reset(); 
														 | 
														
														 | 
														
															       this.reset(); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-      const userId = row.id || this.ids; 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-      getUser(userId).then(response => { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      const id = row.id || this.ids; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      getUser(id).then(response => { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         this.form = response.data; 
														 | 
														
														 | 
														
															         this.form = response.data; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         this.postOptions = response.posts; 
														 | 
														
														 | 
														
															         this.postOptions = response.posts; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         this.roleOptions = response.roles; 
														 | 
														
														 | 
														
															         this.roleOptions = response.roles; 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -599,21 +599,22 @@ export default { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															           } 
														 | 
														
														 | 
														
															           } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         }, 
														 | 
														
														 | 
														
															         }, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       }).then(({ value }) => { 
														 | 
														
														 | 
														
															       }).then(({ value }) => { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-          resetUserPwd(row.userId, value).then(response => { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          resetUserPwd(row.id, value).then(response => { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             this.$modal.msgSuccess("修改成功,新密码是:" + value); 
														 | 
														
														 | 
														
															             this.$modal.msgSuccess("修改成功,新密码是:" + value); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															           }); 
														 | 
														
														 | 
														
															           }); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         }).catch(() => {}); 
														 | 
														
														 | 
														
															         }).catch(() => {}); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     }, 
														 | 
														
														 | 
														
															     }, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     /** 分配角色操作 */ 
														 | 
														
														 | 
														
															     /** 分配角色操作 */ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     handleAuthRole: function(row) { 
														 | 
														
														 | 
														
															     handleAuthRole: function(row) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-      const userId = row.userId; 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-      this.$router.push("/system/user-auth/role/" + userId); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      const id = row.id; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      this.$router.push("/system/user-auth/role/" + id); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     }, 
														 | 
														
														 | 
														
															     }, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     /** 提交按钮 */ 
														 | 
														
														 | 
														
															     /** 提交按钮 */ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     submitForm: function() { 
														 | 
														
														 | 
														
															     submitForm: function() { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       this.$refs["form"].validate(valid => { 
														 | 
														
														 | 
														
															       this.$refs["form"].validate(valid => { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         if (valid) { 
														 | 
														
														 | 
														
															         if (valid) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-          if (this.form.userId != undefined) { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          console.log("sdfgagdsfgdsfg====",this.form) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          if (this.form.id != undefined) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             updateUser(this.form).then(response => { 
														 | 
														
														 | 
														
															             updateUser(this.form).then(response => { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															               this.$modal.msgSuccess("修改成功"); 
														 | 
														
														 | 
														
															               this.$modal.msgSuccess("修改成功"); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															               this.open = false; 
														 | 
														
														 | 
														
															               this.open = false; 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -631,9 +632,9 @@ export default { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     }, 
														 | 
														
														 | 
														
															     }, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     /** 删除按钮操作 */ 
														 | 
														
														 | 
														
															     /** 删除按钮操作 */ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     handleDelete(row) { 
														 | 
														
														 | 
														
															     handleDelete(row) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-      const userIds = row.userId || this.ids; 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-      this.$modal.confirm('是否确认删除用户编号为"' + userIds + '"的数据项?').then(function() { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        return delUser(userIds); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      const ids = row.id || this.ids; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      this.$modal.confirm('是否确认删除用户编号为"' + ids + '"的数据项?').then(function() { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        return delUser(ids); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       }).then(() => { 
														 | 
														
														 | 
														
															       }).then(() => { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         this.getList(); 
														 | 
														
														 | 
														
															         this.getList(); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         this.$modal.msgSuccess("删除成功"); 
														 | 
														
														 | 
														
															         this.$modal.msgSuccess("删除成功"); 
														 |