From df2c2377343172a34d2437137cdef812b43a45a4 Mon Sep 17 00:00:00 2001 From: lingxiao Date: Mon, 28 Nov 2022 16:19:24 +0800 Subject: [PATCH] =?UTF-8?q?=E9=97=AE=E5=8D=B7=E6=8A=BD=E5=8F=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/sampling/samplingQuestionnaire.vue | 36 +++++++++++++++++--- 1 file changed, 32 insertions(+), 4 deletions(-) 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; + }, }