|
@@ -1,5 +1,5 @@
|
|
|
<template>
|
|
|
- <div class="mb5 mt10 text-right">
|
|
|
+ <div class="mb5 mt10 text-right" v-if="recommendGroup">
|
|
|
<el-popover v-if="!this.isSelected" ref="pop" placement="right" width="300" trigger="click">
|
|
|
<div>
|
|
|
<el-input type="textarea" :rows="4" placeholder="请输入原因" v-model="recommendGroup.rejectedReason"></el-input>
|
|
@@ -33,7 +33,7 @@ export default {
|
|
|
return this.generation.activeModel.selectedList
|
|
|
},
|
|
|
recommendGroup() {
|
|
|
- return this.generation.activeModel.models.find(g => g.isRecommend) || {}
|
|
|
+ return this.generation.activeModel.models.find(g => g.isRecommend)
|
|
|
},
|
|
|
isSelected() {
|
|
|
return this.selectedList.some(this.isGroupSelected)
|