diff --git a/src/views/basic/workplace/workplaceManage.vue b/src/views/basic/workplace/workplaceManage.vue index 7d123948..567e172b 100644 --- a/src/views/basic/workplace/workplaceManage.vue +++ b/src/views/basic/workplace/workplaceManage.vue @@ -167,7 +167,7 @@ -
{{this.rowData.workplaceName}}-用户列表
+
{{workplaceName}}-用户列表
{ + console.log("res",res) if (res.code != 20000) { return this.$message.error('新增错误') } this.addWorkplaceDialogVisible = false - this.$message.success(res.data) - this.query.code = this.groupData.code - if (this.query.code == 1001) { - this.query.code = null - } + this.$message.success("新增成功") + // this.query.code = this.groupData.code + // if (this.query.code == 1001) { + // this.query.code = null + // } this.getList() }).catch(() => { @@ -796,6 +798,7 @@ export default { }, handCurrentChange(row) { this.rowData = row + this.workplaceName = row.workplaceName this.userQuery.workplaceCode = row.workplaceId this.getUserBindWork(this.userQuery) },