forked from nsjcy/frontEnd/nsjcy

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