|
@@ -172,7 +172,7 @@
|
|
|
<div class="tips"><i class="el-icon-warning-outline" /> 每个任务仅支持一次提测和一次准出,请合理拆解后任务再排期</div><br>
|
|
|
<div class="allTips">
|
|
|
<div v-if="BackToTheLatest" class="Scheduling" @click="GetRequireScheduleHistory"><i class="el-icon-refresh" /> 回到最新</div>
|
|
|
- <div align="left" class="Scheduling" @click="scheduleHiHide"><div class="el-icon-document" /> 排期变更记录</div>
|
|
|
+ <div v-if="Latest" align="left" class="Scheduling" @click="scheduleHiHide"><div class="el-icon-document" /> 排期变更记录</div>
|
|
|
<download :id="requirementId" :name="'需求'" />
|
|
|
</div>
|
|
|
</div>
|
|
@@ -377,6 +377,7 @@ export default {
|
|
|
children: 'childRqmtOrnts',
|
|
|
multiple: true
|
|
|
},
|
|
|
+ Latest: true,
|
|
|
demandDirection: [], // 需求方向option
|
|
|
optionName: 'first',
|
|
|
visible: false, // Hold任务
|
|
@@ -444,6 +445,7 @@ export default {
|
|
|
this.SchedulingContent = res.data
|
|
|
const res1 = await listByRequire(this.requirementId)
|
|
|
this.BackToTheLatest = false // 回到最新
|
|
|
+ this.Latest = true
|
|
|
this.lockHide = false // 隐藏排期变更记录
|
|
|
this.showunlock = true
|
|
|
this.ScheduId = 0
|
|
@@ -454,6 +456,7 @@ export default {
|
|
|
},
|
|
|
async clickScheduling(ele) {
|
|
|
this.showunlock = false
|
|
|
+ this.Latest = false
|
|
|
this.ScheduId = ele.id
|
|
|
const res = await scheduleGetHistoryScheduleById(ele.id)
|
|
|
this.taskScheduleList = res.data.scheduleDetailRespons
|