diff --git a/client/src/api/train.js b/client/src/api/train.js index 13d5ad6..8501665 100644 --- a/client/src/api/train.js +++ b/client/src/api/train.js @@ -7,7 +7,12 @@ export function getTrainList(query) { params: query }) } - +export function getTrain(id) { + return request({ + url: `/employee/train/${id}/`, + method: 'get' + }) +} export function createTrain(data) { return request({ url: '/employee/train/', diff --git a/client/src/views/employee/traincreate.vue b/client/src/views/employee/traincreate.vue index 950cac4..1780ffb 100644 --- a/client/src/views/employee/traincreate.vue +++ b/client/src/views/employee/traincreate.vue @@ -18,21 +18,19 @@ + type="datetime" + placeholder="选择日期时间"> + + type="datetime" + placeholder="选择日期时间"> + @@ -55,11 +53,15 @@ - - - - link跳转 - + + + + 选择 + + + + + @@ -76,7 +78,7 @@ - @@ -118,6 +120,7 @@ \ No newline at end of file + diff --git a/client/src/views/employee/userselet.vue b/client/src/views/employee/userselet.vue index 34d6b06..f423327 100644 --- a/client/src/views/employee/userselet.vue +++ b/client/src/views/employee/userselet.vue @@ -23,7 +23,9 @@ - + + + - + + + + @@ -59,7 +66,7 @@ circle style="margin-left: 0;margin-top: 10px;"> - + - - - - - @@ -101,7 +92,8 @@