Ver Fonte

增加高教复审功能(人工判定兑现类型)

zmw há 9 meses atrás
pai
commit
d31901730f
1 ficheiros alterados com 2 adições e 2 exclusões
  1. 2 2
      app/admin/controller/TalentAllowance.php

+ 2 - 2
app/admin/controller/TalentAllowance.php

@@ -214,12 +214,12 @@ class TalentAllowance extends AdminController {
                     $typeName = "系统判定:津补贴类型(" . (\app\common\state\AllowanceTypeEnum::getTypeName($old["allowanceType"])) . ");享受月份:" . $old["recommendMonths"] . ";\n";
                     $newObj["recommendAllowanceMsg"] = $typeName . "判定说明:\n" . $newObj["recommendAllowanceMsg"] . ";";
                 } else if ($obj["source"] == 2) {
+                    $newObj['allowanceType'] = $obj["resAllowanceType"];
                     $newObj["recommendAllowanceType"] = $obj["resAllowanceType"];
-                    $typeName = "人工判定:津补贴类型(" . (\app\common\state\AllowanceTypeEnum::getTypeName($old["recommendAllowanceType"])) . ");\n";
+                    $typeName = "人工判定:津补贴类型(" . (\app\common\state\AllowanceTypeEnum::getTypeName($newObj["recommendAllowanceType"])) . ");\n";
                     $newObj["recommendAllowanceMsg"] = $typeName . "判定说明:\n" . $obj["resAllowanceMsg"] . ";";
                 }
 
-
                 $newObj["otherEnjoyedMoney"] = $obj["otherEnjoyedMoney"];
                 $newObj["otherEnjoyedDescription"] = $obj["otherEnjoyedDescription"];
             } else {