From ec511e31e01a195bfea5145f9e7e929a68cd9f7e Mon Sep 17 00:00:00 2001
From: liuwh <hugeinfo123>
Date: Wed, 25 Mar 2020 01:05:55 +0800
Subject: [PATCH] 提交

---
 SunshineIns/src/page/QuestionDetail.jsx |   15 ++++++++++++++-
 1 files changed, 14 insertions(+), 1 deletions(-)

diff --git a/SunshineIns/src/page/QuestionDetail.jsx b/SunshineIns/src/page/QuestionDetail.jsx
index 85413ad..ffce5d7 100644
--- a/SunshineIns/src/page/QuestionDetail.jsx
+++ b/SunshineIns/src/page/QuestionDetail.jsx
@@ -106,7 +106,7 @@
                       问卷描述:{initData.content || '暂无'}
                     </h4>
                     <h4 style={{ marginBottom: 0 }}>
-                      业务类型:{initData.businessType || '暂无'}
+                      业务类型:{typeStatus(  ) || '暂无'}
                     </h4>
                   </div>
                 </div>
@@ -123,3 +123,16 @@
   }
 
 }
+
+function typeStatus(type) {
+  switch (type) {
+    case 1:
+      return "企业体检";
+    case 2:
+      return "培训活动";
+    case 3:
+      return "未检调查";
+    case 4:
+      return "刑执监督";
+  }
+}

--
Gitblit v1.8.0