|
@@ -1038,7 +1038,13 @@ class TaskProc {
|
|
|
$tasks = ctx()->store->taskcards;
|
|
|
$pri = ctx()->privateData();
|
|
|
for ($tp = 1; $tp < 5; $tp++) {
|
|
|
- $curId = my_null_default($pri->taskCardTracing->$tp, 0); # 当前追踪中的任务卡id
|
|
|
+ if(StlUtil::dictHasProperty($pri->taskCardTracing, $tp)){
|
|
|
+ $curId = $pri->taskCardTracing->$tp;
|
|
|
+ } else {
|
|
|
+ $curId = 0;
|
|
|
+ }
|
|
|
+
|
|
|
+ //$curId = my_null_default($pri->taskCardTracing->$tp, 0); # 当前追踪中的任务卡id
|
|
|
|
|
|
$needRefresh = false;
|
|
|
if ($curId > 0) { # 存在任务卡
|