|
@@ -164,7 +164,7 @@
|
|
|
<schedule ref="ScheduleEvent" :visible.sync="scheduleVisble" :name="'任务'" :is-schedule-locked="isScheduleLocked" :require-id="Number(taskId)" @updataData="listByTask(requirementId)" />
|
|
|
<!-- 排期锁定弹窗 -->
|
|
|
|
|
|
- <task-dialog v-if="showTaskDialog" :show.sync="showTaskDialog" :task-id="taskIdObject.id" :status-name="taskIdObject.statusString" @getList="listByTask(requirementId)" />
|
|
|
+ <task-dialog v-if="showTaskDialog" :show.sync="showTaskDialog" :task-id="taskIdObject.id" :status-name="taskIdObject.statusString" @getList="listByTask(requirementId)" @changeStatusAll="changeRequirementId" />
|
|
|
</div>
|
|
|
</template>
|
|
|
<script>
|
|
@@ -340,10 +340,14 @@ export default {
|
|
|
const resTask = await taskUpdates({ taskInfoDO, user })
|
|
|
if (resTask.code === 200) {
|
|
|
this.listByTask(this.requirementId)
|
|
|
+ this.$emit('getRequirementById')
|
|
|
this.$message({ message: '修改成功', type: 'success', offset: 150 })
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
+ changeRequirementId() {
|
|
|
+ this.$emit('getRequirementById')
|
|
|
+ },
|
|
|
|
|
|
addClass({ row, column, rowIndex, columnIndex }) {
|
|
|
if (columnIndex === 3) {
|