|
|
@@ -91,11 +91,11 @@ $(function() {
|
|
|
const screen = selectedScreen();
|
|
|
if (!screen) return;
|
|
|
const remaining = screens.filter(x => x.id !== screen.id);
|
|
|
- let hint = '删除后该大屏配置会被移除,已有业务数据不会受到影响。';
|
|
|
+ let hint = '移除后,已有业务数据不会受到影响。';
|
|
|
if (parseInt(screen.is_default) === 1 && remaining.length) {
|
|
|
hint += ` “${remaining[0].name}”将自动成为默认大屏。`;
|
|
|
} else if (parseInt(screen.is_default) === 1) {
|
|
|
- hint += ' 这是最后一个大屏,删除后左侧项目大屏入口将隐藏。';
|
|
|
+ hint += ' 这是最后一个大屏,移除后左侧项目大屏入口将隐藏。';
|
|
|
}
|
|
|
$('#project-screen-delete-name').text(screen.name);
|
|
|
$('#project-screen-delete-hint').text(hint);
|
|
|
@@ -176,7 +176,7 @@ $(function() {
|
|
|
selectedId = screens.length ? String(screens[0].id) : '';
|
|
|
renderScreens();
|
|
|
$('#project-screen-delete-modal').modal('hide');
|
|
|
- toastr.success('大屏删除成功');
|
|
|
+ toastr.success('大屏移除成功');
|
|
|
});
|
|
|
});
|
|
|
|
|
|
@@ -200,6 +200,7 @@ $(function() {
|
|
|
const adminIcon = account.is_admin ? ' <span class="ml-1" title="管理员"><i class="fa fa-user-circle-o"></i></span>' : '';
|
|
|
permissionOriginal[account.id] = authorized;
|
|
|
html.push(`<tr data-id="${account.id}"><td>${escapeHtml(account.account)}${adminIcon}</td><td>${escapeHtml(account.name)}</td><td>${escapeHtml(account.company)}</td><td>${escapeHtml(account.role)}</td>`);
|
|
|
+ html.push(`<td class="text-nowrap">${escapeHtml(account.mobile)}</td>`);
|
|
|
html.push(`<td><input type="checkbox" class="project-screen-permission-check" ${checked} ${disabled}></td></tr>`);
|
|
|
});
|
|
|
$('#project-screen-permission-body').html(html.join(''));
|