diff --git a/mocks/fst.postman_collection.json b/mocks/fst.postman_collection.json index c44c50e..a534d40 100644 --- a/mocks/fst.postman_collection.json +++ b/mocks/fst.postman_collection.json @@ -190,7 +190,107 @@ "_postman_previewlanguage": null, "header": null, "cookie": [], - "body": "{\r\n \"openContracts\": [\r\n {\r\n \"id\" : \"DZ22\",\r\n \"name\" : \"Name1\",\r\n \"status\" : \"open\",\r\n \"appointment\" : \"2020-01-01T12:00:00Z\",\r\n \"notes\" : \"From Feb 2023 To March 2023\"\r\n },\r\n {\r\n \"id\" : \"PC22\",\r\n \"name\" : \"Name2\",\r\n \"status\" : \"open\",\r\n \"appointment\" : \"2020-01-12T12:00:00Z\",\r\n \"notes\" : \"From Feb 2023 To March 2023\"\r\n }\r\n ]\r\n}" + "body": "{\r\n \"openContracts\": [\r\n {\r\n \"id\" : \"DZ22\",\r\n \"name\" : \"Name1\",\r\n \"status\" : \"open\",\r\n \"appointment\" : \"2020-01-01T12:00:00Z\",\r\n \"notes\" : \"From Feb 2023 To March 2023\",\r\n \"registered\" : true\r\n },\r\n {\r\n \"id\" : \"PC22\",\r\n \"name\" : \"Name2\",\r\n \"status\" : \"open\",\r\n \"appointment\" : \"2020-01-12T12:00:00Z\",\r\n \"notes\" : \"From Feb 2023 To March 2023\",\r\n \"registered\" : false\r\n }\r\n ]\r\n}" + } + ] + }, + { + "name": "Apply for contract", + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\r\n \"id\" : \"DZ2022\",\r\n \"role\" : \"leiter\"\r\n}" + }, + "url": { + "raw": "{{url}}/contract/apply", + "host": [ + "{{url}}" + ], + "path": [ + "contract", + "apply" + ] + } + }, + "response": [ + { + "name": "Apply for contract", + "originalRequest": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\r\n \"id\" : \"DZ2022\",\r\n \"role\" : \"leiter\" \r\n}" + }, + "url": { + "raw": "{{url}}/contract/apply", + "host": [ + "{{url}}" + ], + "path": [ + "contract", + "apply" + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": null, + "header": null, + "cookie": [], + "body": "" + } + ] + }, + { + "name": "New Request", + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\r\n \"id\" : \"DZ2022\"\r\n}" + }, + "url": { + "raw": "{{url}}/contract/misapply", + "host": [ + "{{url}}" + ], + "path": [ + "contract", + "misapply" + ] + } + }, + "response": [ + { + "name": "New Request", + "originalRequest": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\r\n \"id\" : \"DZ2022\"\r\n}" + }, + "url": { + "raw": "{{url}}/contract/misapply", + "host": [ + "{{url}}" + ], + "path": [ + "contract", + "misapply" + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": null, + "header": null, + "cookie": [], + "body": null } ] } diff --git a/src/App.vue b/src/App.vue index 13ee9ea..e5c1cec 100644 --- a/src/App.vue +++ b/src/App.vue @@ -3,5 +3,24 @@ import { RouterView } from 'vue-router' + diff --git a/src/components/modals/DeregisterModal.vue b/src/components/modals/DeregisterModal.vue new file mode 100644 index 0000000..43ae2ff --- /dev/null +++ b/src/components/modals/DeregisterModal.vue @@ -0,0 +1,80 @@ + + diff --git a/src/components/modals/RegisterModal.vue b/src/components/modals/RegisterModal.vue new file mode 100644 index 0000000..5686131 --- /dev/null +++ b/src/components/modals/RegisterModal.vue @@ -0,0 +1,70 @@ + + diff --git a/src/components/tabs/ContractTab.vue b/src/components/tabs/ContractTab.vue index a1e38dd..647ec99 100644 --- a/src/components/tabs/ContractTab.vue +++ b/src/components/tabs/ContractTab.vue @@ -95,7 +95,7 @@ Beispiele: