| | |
| | | }, |
| | | |
| | | confirmBtn() { |
| | | if (this.data.invitee == 'teacher' && this.data.teacherEvaluated) { |
| | | wx.showShareMenu({ |
| | | withShareTicket: true |
| | | }); |
| | | }, |
| | | confirmBtn1() { |
| | | wx.showToast({ |
| | | title: "教师已经评价,不能再邀请教师评价!", |
| | | icon: 'none', |
| | | duration: 1000 |
| | | }) |
| | | } else { |
| | | wx.showShareMenu({ |
| | | withShareTicket: true |
| | | }); |
| | | } |
| | | |
| | | }, |
| | | submitComment() { |
| | | let mateEvaluationList = [] |
| | |
| | | <t-button class="btn" theme="primary" bind:tap="handleClose"> |
| | | <view slot="content" class="btn-content">取消</view> |
| | | </t-button> |
| | | <t-button class="btn" theme="primary" bind:tap="confirmBtn" open-type="share"> |
| | | <t-button class="btn" theme="primary" bind:tap="confirmBtn1" wx:if="{{invitee == 'teacher' &&teacherEvaluated}}"> |
| | | <view slot="content" class="btn-content">确定</view> |
| | | </t-button> |
| | | <t-button class="btn" theme="primary" bind:tap="confirmBtn" open-type="share" wx:else> |
| | | <view slot="content" class="btn-content">确定</view> |
| | | </t-button> |
| | | </view> |