|
@@ -22,6 +22,9 @@
|
|
|
<!--<el-link type="primary" icon="el-icon-video-play" underline @click="helpVideo.visible=true">介绍视频</el-link>-->
|
|
|
<!--、-->
|
|
|
咨询客服或拨打电话4001797985
|
|
|
+ <div v-if="reportVisible" class="mt15">
|
|
|
+ <el-button type="primary" @click="$router.push({name: 'ElectiveReportIndex'})">查看报告</el-button>
|
|
|
+ </div>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
</el-card>
|
|
@@ -106,6 +109,10 @@ export default {
|
|
|
electiveVisible() {
|
|
|
return this.selectObj?.allowSelect || this.selectObj?.currentGeneration > this.stepOptions.init.value
|
|
|
},
|
|
|
+ reportVisible() {
|
|
|
+ // TODO: 这里需要确认一下,选科结束后虽然能看到大部分报告内容,但可能是缺少签名与分班信息
|
|
|
+ return this.electiveVisible && this.selectObj.currentGeneration >= this.stepOptions.terminate
|
|
|
+ },
|
|
|
emptyTitle() {
|
|
|
if (!this.activeOpt) return
|
|
|
if (this.activeModel && !this.activeModel.models && this.activeOpt.decisionMaking) {
|
|
@@ -115,7 +122,7 @@ export default {
|
|
|
},
|
|
|
currentOpt() {
|
|
|
/// 当前进程代对应的配置项,可能没有值
|
|
|
- return Object.values(this.stepOptions).find(opt => opt.value == this.selectObj.currentGeneration)
|
|
|
+ return Object.values(this.stepOptions).find(opt => opt.value == this.selectObj?.currentGeneration)
|
|
|
},
|
|
|
activeOpt() {
|
|
|
return Object.values(this.stepOptions).find(opt => opt.key == this.activeStep)
|