From d8e0af2ce345f3b40581ad05c596f965ae729c01 Mon Sep 17 00:00:00 2001
From: guoshilong <123456>
Date: Fri, 14 Oct 2022 10:15:11 +0800
Subject: [PATCH] 维修列表若为未开始时间显示为创建时间,其他显示为更新时间
---
api/taskinfo/taskinfo.js | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/api/taskinfo/taskinfo.js b/api/taskinfo/taskinfo.js
index c327437..8141328 100644
--- a/api/taskinfo/taskinfo.js
+++ b/api/taskinfo/taskinfo.js
@@ -11,7 +11,6 @@
}
})
}
-
export const getDetail = (id) => {
return http.request({
url: '/taskInfo/taskinfo/detail',
@@ -21,3 +20,10 @@
}
})
}
+export const update = (row) =>{
+ return http.request({
+ url:'/taskInfo/taskinfo/submit',
+ method:'POST',
+ data:row
+ })
+}
\ No newline at end of file
--
Gitblit v1.9.3