Эх сурвалжийг харах

修改津补贴试算结果样式

sugangqiang 1 жил өмнө
parent
commit
7a2180d101

+ 4 - 2
app/common/api/TalentAllowanceApi.php

@@ -128,7 +128,8 @@ class TalentAllowanceApi {
         $info["recommendAllowanceMsg"][] = "综合以上所有判断得到最终补贴类型为:";
         if ($info["recommendAllowanceType"] == 1) {
             $info["recommendAllowanceMsg"][] = "<span style='color:red;font-weight:bold;'>工作津贴</span>;";
-            $info["recommendAllowanceMsg"][] = "可享受月份为:<span style='color:red;font-weight:bold;'>" . implode(",", $set) . "</span>";
+            $info["recommendAllowanceMsg"][] = "可享受月份为:";
+            $info["recommendAllowanceMsg"][] = "<span style='color:red;font-weight:bold;'>" . implode(",", $set) . "</span>;";
         }
         if ($info["recommendAllowanceType"] == 2)
             $info["recommendAllowanceMsg"][] = "<span style='color:red;font-weight:bold;'>一次性交通补贴</span>;";
@@ -265,7 +266,8 @@ class TalentAllowanceApi {
                     }
                 }unset($arrange);
                 $info["recommendMonths"] = implode(",", $recommendMonths);
-                $info["recommendAllowanceMsg"][] = "通过与人才证书有效期取交集得到最终可享受月份:<span style='color:red;font-weight:bold;'>" . implode(",", $recommendMonths) . "</span>";
+                $info["recommendAllowanceMsg"][] = "通过与人才证书有效期取交集得到最终可享受月份:";
+                $info["recommendAllowanceMsg"][] = "<span style='color:red;font-weight:bold;'>" . implode(",", $recommendMonths) . "</span>;";
                 $info["recommendAllowanceMsg"][] = "经过计算:人才津贴为<span style='color:red;font-weight:bold;'>" . $jobMoney . "</span>;";
                 $info["recommendMoney"] = $jobMoney;
                 $info["recommendMoneyDesc"] = implode("+", $msgBulider);

+ 1 - 1
public/static/modular/gate/talentAllowance/common/talentAllowanceInfo_select.js

@@ -416,7 +416,7 @@ TalentAllowanceInfoDlg.calculator = function () {
         if (data.recommendAllowanceType != 3) {
             message += "<br>试算补贴金额:<span style='color:red;font-weight:bold;'>" + data.recommendMoney + "</span>";
         }
-        Feng.confirm(message);
+        Feng.confirm(message, function () {});
     }, function (data) {
         Feng.error("查询失败!" + data.responseJSON.message + "!");
     });

+ 1 - 1
public/static/modular/gate/talentAllowance/common/talentAllowance_info.js

@@ -95,7 +95,7 @@ TalentAllowanceInfoDlg.calculator = function () {
         if (data.recommendAllowanceType != 3) {
             message += "<br>试算补贴金额:<span style='color:red;font-weight:bold;'>" + data.recommendMoney + "</span>";
         }
-        Feng.confirm(message);
+        Feng.confirm(message, function () {});
     }, function (data) {
         Feng.error("查询失败!" + data.responseJSON.message + "!");
     });