Compare commits

...

3 Commits

Author SHA1 Message Date
wuxw
e3aca637cd v1.9 优化组织修改显示不正确bug 2025-09-09 16:12:20 +08:00
wuxw
5077115fa7 v1.9 优化组织修改显示不正确bug 2025-09-09 16:04:19 +08:00
wuxw
7ceb32c011 修复系统用户页面布局 2025-09-09 13:18:31 +08:00
4 changed files with 9 additions and 13 deletions

View File

@ -40,11 +40,7 @@ export function listOrgs(params) {
params
}).then(response => {
const res = response.data
if (res.code == 0) {
resolve(res)
} else {
reject(new Error(res.msg || '获取组织列表失败'))
}
}).catch(error => {
reject(error)
})

View File

@ -68,21 +68,21 @@
orgId: data.id,
orgName: data.text,
orgLevel: '',
parentOrgId: data.parentId,
parentOrgName: data.parentText || '',
description: data.text || ''
// parentOrgId: data.parentId,
// parentOrgName: data.parentText || '',
//description: data.text || ''
}
this.visible = true
this.getList()
},
async getList() {
const {data} = await listOrgs({
const {orgs} = await listOrgs({
page: 1,
row: 1,
orgId: this.form.orgId
})
this.form = {...data[0]}
console.log(data)
this.form = {...orgs[0]}
console.log(orgs)
},
handleSubmit() {
this.$refs.form.validate(valid => {

View File

@ -264,7 +264,7 @@ export default {
this.visible = false
this.$emit('success')
} catch (error) {
this.$message.error(this.$t('listOwner.updateFailed'))
this.$message.error(error)
}
})
},

View File

@ -2,7 +2,7 @@
<div class="system-user-container">
<!-- 查询条件 -->
<el-card class="search-wrapper">
<div slot="header" class="clearfix">
<div slot="header" class="flex justify-between">
<span>{{ $t('systemUser.search.title') }}</span>
</div>
<el-row :gutter="20">
@ -26,7 +26,7 @@
<!-- 用户列表 -->
<el-card class="list-wrapper">
<div slot="header" class="clearfix">
<div slot="header" class="flex justify-between">
<span>{{ $t('systemUser.list.title') }}</span>
</div>
<el-table :data="systemUserInfo.users" border style="width: 100%">