diff --git a/src/router/index.js b/src/router/index.js index 975f516..f299d07 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -74,17 +74,17 @@ const routes = [ component: OuterHistory }, { - path: "/user/outer/:id/application", + path: "/user/outer/:id/appForm", name: "处理外出申请", component: OuterAppForm }, { - path: "/user/outer/:id/appDetail", - name: "申请详情", + path: "/user/outer/:id/appDetail/", + name: "外出申请详情", component: OuterAppDetail } ] - }, + } ] const router = new VueRouter({ diff --git a/src/views/OuterAppDetail.vue b/src/views/OuterAppDetail.vue index 9eeb4ce..ed8bd00 100644 --- a/src/views/OuterAppDetail.vue +++ b/src/views/OuterAppDetail.vue @@ -1,10 +1,123 @@ + + + + + + + + + + + + + + + + + 选择 + + + + + + - diff --git a/src/views/OuterAppForm.vue b/src/views/OuterAppForm.vue index 78329c6..f393cb5 100644 --- a/src/views/OuterAppForm.vue +++ b/src/views/OuterAppForm.vue @@ -1,12 +1,13 @@ - - + + - 查询 + 批准外出 + 批准入内 重置 @@ -14,7 +15,7 @@