|
|
@@ -1,5 +1,5 @@
|
|
|
<template>
|
|
|
- <view class="default_page adffc" :style="{'height':h+'px', 'padding-top':mt+'px','padding-bottom':((answerCount>0&&answerCount===list.length)?162:40)+'rpx'}">
|
|
|
+ <view class="default_page adffc" :style="{'height':h+'px', 'padding-top':mt+'px'}">
|
|
|
<cus-header title='填写问卷'></cus-header>
|
|
|
<view class="top">
|
|
|
<view class="top-title">{{title||''}}</view>
|
|
|
@@ -35,20 +35,14 @@
|
|
|
<question-item :item="item" :index="index" @change="handleAnswerChange"></<question-item>
|
|
|
</view>
|
|
|
</view> -->
|
|
|
- <view class="bottom adfacjb" v-if="answerCount>0&&answerCount===list.length">
|
|
|
+ <view class="bottom adfacjb">
|
|
|
<view class="bottom-left adffcac" @click="showTeamInfo" v-if="type==1">
|
|
|
<image :src="imgBase+'questionnaire_info.png'"></image>
|
|
|
<text>团队信息</text>
|
|
|
</view>
|
|
|
- <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>
|
|
|
- </view>
|
|
|
- <view class="bottom-left-pre adffcac" @click="showTeamUser">
|
|
|
- <image :src="imgBase+'questionnaire_users.png'"></image>
|
|
|
- <text>团队人员</text>
|
|
|
- </view>
|
|
|
+ <view class="bottom-left adffcac" @click="showTeamUser" v-else-if="turnType==='questionnaire'">
|
|
|
+ <image :src="imgBase+'questionnaire_users.png'"></image>
|
|
|
+ <text>团队人员</text>
|
|
|
</view>
|
|
|
<view class="bottom-right" :class="{'questionnaire':turnType==='questionnaire'}" @click="confirmSubmit">提交问卷</view>
|
|
|
</view>
|
|
|
@@ -351,8 +345,8 @@
|
|
|
this.teamInfo.functionsName = res.data.functions.map(f=>f.functionName).join('、');
|
|
|
this.teamInfo.organizationsName = res.data.organizations.map(f=>f.orgName).join('、');
|
|
|
this.teamInfo.address = res.data.provinceName+res.data.cityName;
|
|
|
- this.teamInfo.scaleName = this.teamScaleData.find(d=>d.id==res.data.scale).name;
|
|
|
- this.teamInfo.hierarchyName = this.teamLevelData.find(d=>d.id==res.data.hierarchy).name;
|
|
|
+ this.teamInfo.scaleName = this.teamScaleData.find(d=>d.id==res.data.scale)?this.teamScaleData.find(d=>d.id==res.data.scale).name:'';
|
|
|
+ this.teamInfo.hierarchyName = this.teamLevelData.find(d=>d.id==res.data.hierarchy)?this.teamLevelData.find(d=>d.id==res.data.hierarchy).name:'';
|
|
|
this.teamShow = true;
|
|
|
})
|
|
|
}
|
|
|
@@ -442,7 +436,7 @@
|
|
|
|
|
|
.list{
|
|
|
width: 100%;
|
|
|
- padding: 0 24rpx 10rpx;
|
|
|
+ padding: 0 24rpx 20rpx;
|
|
|
box-sizing: border-box;
|
|
|
flex: 1;
|
|
|
overflow-y: auto;
|
|
|
@@ -450,15 +444,10 @@
|
|
|
|
|
|
.bottom{
|
|
|
width: 100%;
|
|
|
- height: 162rpx;
|
|
|
background: #FFFFFF;
|
|
|
box-shadow: 0rpx -2rpx 6rpx 0rpx rgba(0,0,0,0.07);
|
|
|
- padding: 20rpx 40rpx 54rpx;
|
|
|
+ padding: 20rpx 40rpx 24rpx;
|
|
|
box-sizing: border-box;
|
|
|
- position: fixed;
|
|
|
- left: 0;
|
|
|
- bottom: 0;
|
|
|
- z-index: 1000;
|
|
|
&-left{
|
|
|
image{
|
|
|
width: 42rpx;
|