Merge branch 'sprint/xuanxuan_108' into 'master'

合并小喧喧通知卡片相关代码

See merge request easycorp/zentaopms!4452
This commit is contained in:
朱金勇
2022-07-13 05:58:05 +00:00
10 changed files with 66 additions and 21 deletions
+9 -2
View File
@@ -966,8 +966,9 @@ class baseJS
{
$cancleAction = "$cancleTarget.location = '$cancleURL';";
}
$js .= <<<EOT
if(strpos($_SERVER['HTTP_USER_AGENT'], 'xuanxuan') === false)
{
$js .= <<<EOT
if(confirm("$message"))
{
$confirmAction
@@ -977,6 +978,12 @@ else
$cancleAction
}
EOT;
}
else
{
$js .= $confirmAction;
}
$js .= self::end();
return $js;
}