修复:原来的统一去了404, 现在加了403, 和部分bug
All checks were successful
构建并部署前端到测试环境 / build-and-deploy (push) Successful in 6m54s

This commit is contained in:
sexygoat
2026-03-03 16:26:04 +08:00
parent 7e9acda1ab
commit 237eeed87a
8 changed files with 274 additions and 91 deletions

View File

@@ -99,14 +99,6 @@
}}</span>
<div class="account-info">
<span class="account-name">{{ currentAccountName }}</span>
<ElTag
v-if="currentAccountType === 3"
type="warning"
size="small"
style="margin-left: 8px"
>
代理账号只能分配一个客户角色
</ElTag>
</div>
</div>
</template>
@@ -776,18 +768,26 @@
border-color: var(--el-border-color);
}
.role-info {
display: flex;
align-items: center;
gap: 8px;
flex: 1;
}
:deep(.el-checkbox) {
width: 100%;
.el-checkbox__label {
width: 100%;
display: flex;
.role-info {
display: flex;
align-items: center;
justify-content: space-between;
gap: 8px;
flex: 1;
width: 100%;
> span:first-child {
flex: 1;
min-width: 0;
}
}
}
}
}
@@ -800,6 +800,18 @@
.role-info {
flex: 1;
display: flex;
align-items: center;
justify-content: space-between;
gap: 8px;
> span:first-child {
flex: 1;
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
}
.el-button {