|
|
@ -180,8 +180,16 @@ |
|
|
if (res.code == 0) { |
|
|
if (res.code == 0) { |
|
|
this.tableData1 = res.data.list |
|
|
this.tableData1 = res.data.list |
|
|
this.tableData1.forEach(item => { |
|
|
this.tableData1.forEach(item => { |
|
|
|
|
|
|
|
|
|
|
|
item.available=dayjs(item.available.split(",")).forEach(item=>{ |
|
|
|
|
|
console.log(dayjs(item).format(hh-mm)); |
|
|
|
|
|
|
|
|
|
|
|
item = dayjs(item).format(hh-mm) |
|
|
|
|
|
}) |
|
|
item.time = dayjs(item.time).format('YYYY-MM-DD') |
|
|
item.time = dayjs(item.time).format('YYYY-MM-DD') |
|
|
|
|
|
|
|
|
}) |
|
|
}) |
|
|
|
|
|
console.log(this.tableData1, "this.tableData1"); |
|
|
} else { |
|
|
} else { |
|
|
this.$message.error(res.msg) |
|
|
this.$message.error(res.msg) |
|
|
} |
|
|
} |
|
|
|