第一种antd的数据格式改变
getActformInfoPageListInfo() {
delivery({
}).then((res) => {
console.log(res.data.data)
console.log(arr)
let arr= res.data.data.forEach(e => {
e.endTm=moment(e.endTm).format("YYYY-MM-DD HH:mm:ss")
e.startTm=moment(e.startTm).format("YYYY-MM-DD HH:mm:ss")
e.assignTm=moment(e.assignTm).format("YYYY-MM-DD HH:mm:ss")
e.requireEndTm=moment(e.requireEndTm).format("YYYY-MM-DD HH:mm:ss")
});
this.tableList=res.data.data
console.log(arr)
data里数据的格式改变
this.send.startTm=moment(this.send.startTm).format("YYYY-MM-DD HH:mm:ss")
this.send.endTm=moment(this.send.endTm).format("YYYY-MM-DD HH:mm:ss")