|
@@ -133,7 +133,7 @@
|
|
|
|
|
|
<el-container>
|
|
|
<el-main style="padding: 0;">
|
|
|
- <schedule-list :id="requirementId" ref="ScheduleEvent" :type-list="taskScheduleEvent" :required-list="taskScheduleList" class-name="white" :all="true" :no-move="false" />
|
|
|
+ <schedule-list :id="requirementId" ref="ScheduleEvent" :showunlock="showunlock" :type-list="taskScheduleEvent" :required-list="taskScheduleList" class-name="white" :all="true" :no-move="false" />
|
|
|
</el-main>
|
|
|
<el-aside v-if="lockHide" class="SchedulingAside">
|
|
|
<div v-for="(item, index) in SchedulingContent" :key="index" class="SchedulingDiv" @click="clickScheduling(item)">
|
|
@@ -305,6 +305,7 @@ export default {
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
+ showunlock: true,
|
|
|
ScheduId: '', // 排期ID
|
|
|
BackToTheLatest: false, // 回到最新
|
|
|
LockState: {}, // 锁定状态
|
|
@@ -370,8 +371,10 @@ export default {
|
|
|
this.lockHide = false // 隐藏排期变更记录
|
|
|
this.taskScheduleList = res1.data.schedulDetailResponses
|
|
|
this.isScheduleLocked = res1.data.isScheduleLocked // 锁定状态1锁定0未锁定
|
|
|
+ this.$refs.ScheduleEvent.listByTask(this.requirementId)
|
|
|
},
|
|
|
async clickScheduling(ele) {
|
|
|
+ this.showunlock = false
|
|
|
this.ScheduId = ele.id
|
|
|
const res = await scheduleGetHistoryScheduleById(ele.id)
|
|
|
this.taskScheduleList = res.data.schedulDetailResponses
|
|
@@ -501,6 +504,7 @@ export default {
|
|
|
scheduleHiHide() { // 排期变更显示隐藏
|
|
|
this.lockHide = !this.lockHide
|
|
|
this.lockHide === false ? this.BackToTheLatest = false : ''
|
|
|
+ this.showunlock = true
|
|
|
},
|
|
|
jump(page, id) { // 跳转
|
|
|
this.$router.push({ name: page, query: { id: id }})
|