This commit is contained in:
lanzongjun
2022-08-04 15:34:41 +08:00
parent 8a1e343635
commit aa3b287d38
3 changed files with 23 additions and 29 deletions
+10 -2
View File
@@ -404,9 +404,17 @@ function validateResources(id)
flag = true;
/* Check status. */
if(status !== statusLang && type === 'task')
if(status !== statusLang)
{
new $.zui.Messager("<?php echo $lang->programplan->error->taskDrag;?>".replace('%s', status), {
if(type == 'task')
{
tipMsg = "<?php echo $lang->programplan->error->taskDrag;?>";
}
else
{
tipMsg = "<?php echo $lang->programplan->error->planDrag;?>";
}
new $.zui.Messager(tipMsg.replace('%s', status), {
type: 'danger',
icon: 'exclamation-sign'
}).show();