GFRS-615 问卷调查VUE 样式问题修复 --提交人:阳华祥

This commit is contained in:
阳华祥
2020-02-25 20:00:09 +08:00
parent ae26ae8af0
commit d09cd5bd04

View File

@@ -42,6 +42,8 @@
</div>
<!--提交结果页-->
<div v-if="showType == 'Result'" class="mr2 ml2">
<img v-if="resultImgUrl == 'PHYSICAL'" style="width: 100%;" src="@/assets/images/shareSurveyResult.png" />
<img v-if="resultImgUrl != 'PHYSICAL'" style="width: 100%;" src="@/assets/images/shareSurveyResult_1.png" />
<img style="width: 100%;" :src="resultImgUrl" />
<div class="mt30 mr2 ml2">
<van-button type="danger" style="width: 100%;" @click="showType = 'Detail'">返回</van-button>
@@ -199,11 +201,7 @@ export default {
saveSurveyAnswer(that.surveyAnswerReqDTO).then(res => {
if (res.result == '0') {
//跳转结果页面
if (res.content + '' == 'PHYSICAL') {
that.resultImgUrl = '@/assets/images/shareSurveyResult.png' //雨伞
} else {
that.resultImgUrl = '@/assets/images/shareSurveyResult_1.png' // 体检
}
that.resultImgUrl = res.content
that.showType = 'Result'
} else {
that.$toast(res.resultMessage)