This commit is contained in:
孙华伟
2022-02-10 13:58:16 +08:00
parent 1f6d15cc7d
commit 586af4b5de
+6 -2
View File
@@ -371,6 +371,10 @@ function renderKanbanItem(item, $item)
{
$time.text($.zui.formatDate(begin, 'MM-dd') + ' ' + productplanLang.to + ' ' + $.zui.formatDate(end, 'MM-dd')).attr('title', $.zui.formatDate(begin, 'yyyy-MM-dd') + productplanLang.to + $.zui.formatDate(end, 'yyyy-MM-dd')).show();
}
else if(item.begin != '2030-01-01' && item.end == '2030-01-01')
{
$time.text($.zui.formatDate(begin, 'MM-dd') + ' ' + productplanLang.to + ' ' + productplanLang.future).attr('title', $.zui.formatDate(begin, 'yyyy-MM-dd') + productplanLang.to).show();
}
else
{
$time.text(productplanLang.future).attr('title', productplanLang.future).show();
@@ -425,10 +429,10 @@ function getPlanID(obj, branch)
if(!window.kanbanDropRules)
{
window.kanbanDropRules =
{
{
wait: ['doing'],
doing: ['done'],
done: ['doing', 'closed'],
closed: ['doing']
}
}
}