|
@@ -174,7 +174,7 @@ export default {
|
|
|
async listByTask(id) { // 获取排期列表
|
|
|
const res = this.all ? await listByRequire(id) : await listByTask(id)
|
|
|
if (res.code === 200) {
|
|
|
- this.scheduleList = res.data.scheduleDetailRespons
|
|
|
+ this.scheduleList = res.data.scheduleDetailRespons || []
|
|
|
this.scheduleDetail = res.data || {}
|
|
|
this.scheduleList = this.scheduleList.map(item => ({
|
|
|
...item,
|