htc 14 godzin temu
rodzic
commit
5004e66949

+ 1 - 1
pagesHome/components/receiveList.vue

@@ -143,7 +143,7 @@ The following statements in the assessment describe the ideal state of a team. P
 			},
 			handleKnow(){
 				uni.navigateTo({
-					url:'/pagesPublish/questionnaireFill?type=questionnaire'
+					url:'/pagesPublish/questionnaireFill?teamQuestionnaireId='+item.teamQuestionnaireId+'&teamId='+item.teamId+'&type='+item.type+'&turnType=questionnaire'
 				})
 			}
 		}

+ 5 - 3
pagesPublish/questionnaireFill.vue

@@ -11,7 +11,7 @@
 				<view class="top-progress-num"><span>{{answerNum}}</span>/{{list.length}}</view>
 			</view>
 		</view>
-		<view class="memo adfac" v-if="type==='questionnaire'" @click="noticeShow=true">
+		<view class="memo adfac" v-if="turnType==='questionnaire'" @click="noticeShow=true">
 			<text>问卷答题说明</text>
 			<image :src="imgBase+'icon_memo.png'"></image>
 		</view>
@@ -40,7 +40,7 @@
 				<image :src="imgBase+'questionnaire_info.png'"></image>
 				<text>团队信息</text>
 			</view>
-			<view class="bottom-left adfac" v-else-if="type==='questionnaire'">
+			<view class="bottom-left adfac" v-else-if="turnType==='questionnaire'">
 				<view class="bottom-left-pre adffcac" @click="showTeamInfo">
 					<image :src="imgBase+'questionnaire_info.png'"></image>
 					<text>团队信息</text>
@@ -50,7 +50,7 @@
 					<text>团队人员</text>
 				</view>
 			</view>
-			<view class="bottom-right" :class="{'questionnaire':type==='questionnaire'}" @click="confirmSubmit">提交问卷</view>
+			<view class="bottom-right" :class="{'questionnaire':turnType==='questionnaire'}" @click="confirmSubmit">提交问卷</view>
 		</view>
 		<cus-notice title="问卷答题说明" :show="noticeShow" :content="noticeContent"
 			@close="noticeShow=false" @handleKnow="noticeShow=false"></cus-notice>
@@ -69,6 +69,7 @@
 		data(){
 			return {
 				type:'',
+				turnType:'',
 				questionnaireId:'',
 				noticeShow:false,
 				noticeContent:`问卷答题说明<br/><br/>问卷答题说明<br/><br/>问卷答题说明<br/><br/>问卷答题说明`,
@@ -91,6 +92,7 @@
 		},
 		onLoad(options) {
 			this.type = options.type;
+			this.turnType = options.turnType;
 			this.teamQuestionnaireId = options.teamQuestionnaireId;
 			this.teamId = options.teamId;
 			this.getList();