| | |
| | | <view class="vote bgc-ff"> |
| | | <view class="mb-20" v-for="(item,index) in voteTopicList" :key="index"> |
| | | <view class="vote-title"> |
| | | <text v-if="item.mandatoryFlag == 1">*</text> |
| | | <text v-if="item.mandatoryFlag == 2">*</text> |
| | | <text class="f-30 fw">{{item.discussContent}}</text> |
| | | <text class="f-26 ml-10" v-if="item.optionRange == 0">(单选)</text> |
| | | <text class="f-26 ml-10" v-if="item.optionRange == 1 && !item.optionNumber">(多选)</text> |
| | | <text class="f-26 ml-10" v-if="item.optionRange == 1 && item.optionNumber>0">(多选 |
| | | {{`最多可选${item.optionNumber}项`}})</text> |
| | | |
| | | <text class="f-26 ml-10" v-if="item.optionRange == 1 && item.optionNumber>0"> |
| | | (多选{{`最多可选${item.optionNumber}项`}})</text> |
| | | </view> |
| | | <view class="file-btn bgc-main f-28" v-if="item.attachment" |
| | | @click="navToDocument(item.attachment)"> |
| | | 查看附件 |
| | | </view> |
| | | |
| | | |
| | | <view class="" v-if="item.optionRange == 0"> |
| | | <u-radio-group size="22" iconPlacement="right" activeColor="#017BFC" placement="column" |
| | | v-model="item.selected" @change="selectOption($event,index)" |
| | |
| | | this.voteTopicList = data; |
| | | if (data.length == tempArr.length) { |
| | | this.isComplete = true; |
| | | this.setOptionDisable() |
| | | } |
| | | } |
| | | }) |
| | |
| | | i.houseCode = uni.getStorageSync("siteInfo").houseCode |
| | | i.signaturePath = signPath ? signPath : "" |
| | | arr.push(i) |
| | | } else if (!i.selected && i.mandatoryFlag) { |
| | | } else if (!i.selected && i.mandatoryFlag == 2) { |
| | | this.$showTips('必填议题请选择选项') |
| | | return; |
| | | } |
| | | |
| | | } |
| | |
| | | sendValidationCode() { |
| | | |
| | | }, |
| | | |
| | | navToDocument(url) { |
| | | uni.navigateTo({ |
| | | url: `document?url=${url}` |
| | | }) |
| | | } |
| | | |
| | | |
| | | |
| | | } |
| | |
| | | .mt-30 { |
| | | margin-top: 30rpx; |
| | | } |
| | | |
| | | .file-btn { |
| | | width: 140rpx; |
| | | padding: 10rpx 0; |
| | | border-radius: 10rpx; |
| | | color: #fff; |
| | | margin-bottom: 20rpx; |
| | | text-align: center; |
| | | } |
| | | </style> |