| | |
| | | 取消 |
| | | </button> |
| | | <button |
| | | v-if="showForceCompleteFeature() && taskDetail.taskStatus === 'PENDING'" |
| | | class="action-btn force-complete" |
| | | @click="showForceCompleteTimeDialog()" |
| | | > |
| | |
| | | console.log('附件删除成功:', attachmentId) |
| | | }, |
| | | |
| | | // 是否显示“就绪”功能(配置开关) |
| | | // 是否显示"就绪"功能(配置开关) |
| | | showAssigneeReadyFeature() { |
| | | return !!(config && config.features && config.features.showAssigneeReadyButton) |
| | | }, |
| | | |
| | | // 是否显示"强制完成"功能(配置开关) |
| | | showForceCompleteFeature() { |
| | | return !!(config && config.features && config.features.showForceCompleteButton) |
| | | }, |
| | | |
| | | // 当前用户是否为该执行人 |
| | | isAssigneeSelf(assignee) { |
| | | const userId = this.$store && this.$store.state && this.$store.state.user && this.$store.state.user.userId |