diff --git a/src/views/sampling/samplingQuestionnaire.vue b/src/views/sampling/samplingQuestionnaire.vue index 089bc79..e5a9e4b 100644 --- a/src/views/sampling/samplingQuestionnaire.vue +++ b/src/views/sampling/samplingQuestionnaire.vue @@ -35,7 +35,30 @@
-
+
+ 姓名: + {{ userInfo.projectname }} +
+
+ 公司名称: + {{ userInfo.companyname }} +
+
+ 公司地址: + {{ userInfo.address }} +
+ +
+ 被访者的年龄: + + 25岁以下 + 25-35岁 + 34-45岁 + 45-55岁 + 55岁以上 + +
+
@@ -195,7 +218,8 @@ export default { room: undefined, // 门牌号 }, surveysheetList:[], // 问卷列表 - surveysheetDetails:{} + surveysheetDetails:{}, + userInfo:{} } }, methods:{ @@ -237,7 +261,11 @@ export default { }, mounted(){ this.getSurveySheetList(); - } + }, + created() { + this.userInfo = localStorage.userInfo ? JSON.parse(localStorage.userInfo) : {}; + this.submitParams.signature = this.userInfo.projectname || undefined; + }, }