@if (statusMessage(); as msg) { }
@if (canEdit) {

{{ roleChangeHint }}

} @if (activeTab() === 'store') { @if (canEdit) {
} } @if (activeTab() === 'district') { @if (canEdit) {
} }
@if (activeTab() === 'users') { } @if (showEditModal()) {
@if (editingStoreDistrict(); as row) {

编辑店铺负责人

{{ row.storeName }}

@if (editUserId) {
}
} @if (editingDistrict(); as row) {

编辑区域负责人

{{ row.districtName }}

@if (editUserId) {
}
}
} @if (showCreateModal()) {
@if (createModalType() === 'store') {

新增门店

} @if (createModalType() === 'district') {

新增区域

}
} @if (showDeleteDialog()) { } @if (showGroupsModal() && viewingStoreGroups(); as ctx) {

{{ ctx.storeName }} - 群聊列表

共 {{ ctx.groups.length }} 个群聊

@if (filteredStoreGroups.length > 0) { @for (g of filteredStoreGroups; track g.roomId) { }
群名称 成员数
{{ g.roomName }} {{ g.memberCount }}
} @else {

{{ groupsSearchQuery ? '无匹配群聊' : '暂无群聊' }}

}
} @if (showPasswordModal() && editingUserPassword(); as user) {

修改密码 - {{ user.name }}

@if (passwordError()) { }
}