From ed9dbed48b9d7dd0ff662e50db94e4706ce5342e Mon Sep 17 00:00:00 2001
From: liuwh <hugeinfo123>
Date: Sat, 09 May 2020 11:24:55 +0800
Subject: [PATCH] 小程序心里疏导
---
SunshineIns/src/page/ActiveManageEditquestionnaire.jsx | 14 +++++++++++++-
1 files changed, 13 insertions(+), 1 deletions(-)
diff --git a/SunshineIns/src/page/ActiveManageEditquestionnaire.jsx b/SunshineIns/src/page/ActiveManageEditquestionnaire.jsx
index d1368d8..bd92bf9 100644
--- a/SunshineIns/src/page/ActiveManageEditquestionnaire.jsx
+++ b/SunshineIns/src/page/ActiveManageEditquestionnaire.jsx
@@ -107,7 +107,7 @@
问卷描述:{initData.content || '暂无'}
</h4>
<h4 style={{ marginBottom: 0 }}>
- 业务类型{initData.businessType || '暂无'}
+ 业务类型:{typeStatus(initData.businessType) || '暂无'}
</h4>
</div>
</div>
@@ -124,3 +124,15 @@
}
}
+function typeStatus(type) {
+ switch (type) {
+ case 1:
+ return "企业体检";
+ case 2:
+ return "培训活动";
+ case 3:
+ return "未检调查";
+ case 4:
+ return "刑执监督";
+ }
+}
\ No newline at end of file
--
Gitblit v1.8.0