* [story#69837,0.5h] add insert alert.

This commit is contained in:
qixinzhi
2024-12-04 17:07:25 +08:00
committed by 周鑫
parent 8b24afd1d2
commit aa1dd729be
6 changed files with 11 additions and 0 deletions
+6
View File
@@ -27,6 +27,12 @@ function insert()
{
const dtable = zui.DTable.query($('#previewTable'));
const checkedList = dtable.$.getChecks();
const tip = $('#insert').data('tip');
if(checkedList.length == 0)
{
zui.Modal.alert(tip);
return;
}
const url = $.createLink('doc', 'zentaolist', 'type=' + getType() + '&view=list&idList=' + checkedList.join(','));
loadPage(url);
+1
View File
@@ -250,6 +250,7 @@ $lang->doc->preview = 'Preview';
$lang->doc->insertTitle = 'Insert %s list';
$lang->doc->insertTip = 'Through the filter configuration, you can modify the insertion display data, and the system records the insertion data ID. ';
$lang->doc->previewTip = 'Click "Preview" button, this will display the insertion data according to the configuration on the left side. ';
$lang->doc->insertTip = 'Please preview at least one record.';
$lang->doc->insertText = 'Insert';
$lang->doc->searchCondition = 'Search Condition';
$lang->doc->list = 'List';
+1
View File
@@ -250,6 +250,7 @@ $lang->doc->preview = 'Preview';
$lang->doc->insertTitle = 'Insert %s list';
$lang->doc->insertTip = 'Through the filter configuration, you can modify the insertion display data, and the system records the insertion data ID. ';
$lang->doc->previewTip = 'Click "Preview" button, this will display the insertion data according to the configuration on the left side. ';
$lang->doc->insertTip = 'Please preview at least one record.';
$lang->doc->insertText = 'Insert';
$lang->doc->searchCondition = 'Search Condition';
$lang->doc->list = 'List';
+1
View File
@@ -250,6 +250,7 @@ $lang->doc->preview = 'Preview';
$lang->doc->insertTitle = 'Insert %s list';
$lang->doc->insertTip = 'Through the filter configuration, you can modify the insertion display data, and the system records the insertion data ID. ';
$lang->doc->previewTip = 'Click "Preview" button, this will display the insertion data according to the configuration on the left side. ';
$lang->doc->insertTip = 'Please preview at least one record.';
$lang->doc->insertText = 'Insert';
$lang->doc->searchCondition = 'Search Condition';
$lang->doc->list = 'List';
+1
View File
@@ -250,6 +250,7 @@ $lang->doc->preview = '预览';
$lang->doc->insertTitle = '插入%s列表';
$lang->doc->insertTip = '通过筛选配置可以修改插入内容的展示数据,系统会记录插入时的数据ID。';
$lang->doc->previewTip = '点击“预览”按钮,此处根据上方配置展示需要插入的禅道列表。';
$lang->doc->insertTip = '请预览后至少选择一条数据。';
$lang->doc->insertText = '插入';
$lang->doc->searchCondition = '搜索条件';
$lang->doc->list = '列表';
+1
View File
@@ -72,6 +72,7 @@ formPanel
btn
(
setID('insert'),
set('data-tip', $lang->doc->insertTip),
set::type('primary'),
$lang->doc->insertText
),