Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Simon
AntragTool
Commits
7aa10c16
Unverified
Commit
7aa10c16
authored
Jan 10, 2022
by
skurka
Browse files
Antrag 2022 Entwurf
parent
aea18c7f
Pipeline
#2269
failed with stages
in 0 seconds
Changes
23
Pipelines
1
Expand all
Hide whitespace changes
Inline
Side-by-side
.gitignore
View file @
7aa10c16
.DS_Store
node_modules
/dist
/public/vendor
# local env files
.env.local
...
...
@@ -21,3 +21,305 @@ pnpm-debug.log*
*.njsproj
*.sln
*.sw?
## Core latex/pdflatex auxiliary files:
*.aux
*.lof
*.log
*.lot
*.fls
*.out
*.toc
*.fmt
*.fot
*.cb
*.cb2
.*.lb
## Intermediate documents:
*.dvi
*.xdv
*-converted-to.*
# these rules might exclude image files for figures etc.
# *.ps
# *.eps
# *.pdf
## Generated if empty string is given at "Please type another file name for output:"
.pdf
## Bibliography auxiliary files (bibtex/biblatex/biber):
*.bbl
*.bcf
*.blg
*-blx.aux
*-blx.bib
*.run.xml
## Build tool auxiliary files:
*.fdb_latexmk
*.synctex
*.synctex(busy)
*.synctex.gz
*.synctex.gz(busy)
*.pdfsync
## Build tool directories for auxiliary files
# latexrun
latex.out/
## Auxiliary and intermediate files from other packages:
# algorithms
*.alg
*.loa
# achemso
acs-*.bib
# amsthm
*.thm
# beamer
*.nav
*.pre
*.snm
*.vrb
# changes
*.soc
# comment
*.cut
# cprotect
*.cpt
# elsarticle (documentclass of Elsevier journals)
*.spl
# endnotes
*.ent
# fixme
*.lox
# feynmf/feynmp
*.mf
*.mp
*.t[1-9]
*.t[1-9][0-9]
*.tfm
#(r)(e)ledmac/(r)(e)ledpar
*.end
*.?end
*.[1-9]
*.[1-9][0-9]
*.[1-9][0-9][0-9]
*.[1-9]R
*.[1-9][0-9]R
*.[1-9][0-9][0-9]R
*.eledsec[1-9]
*.eledsec[1-9]R
*.eledsec[1-9][0-9]
*.eledsec[1-9][0-9]R
*.eledsec[1-9][0-9][0-9]
*.eledsec[1-9][0-9][0-9]R
# glossaries
*.acn
*.acr
*.glg
*.glo
*.gls
*.glsdefs
*.lzo
*.lzs
*.slg
*.slo
*.sls
# uncomment this for glossaries-extra (will ignore makeindex's style files!)
# *.ist
# gnuplot
*.gnuplot
*.table
# gnuplottex
*-gnuplottex-*
# gregoriotex
*.gaux
*.glog
*.gtex
# htlatex
*.4ct
*.4tc
*.idv
*.lg
*.trc
*.xref
# hyperref
*.brf
# knitr
*-concordance.tex
# TODO Uncomment the next line if you use knitr and want to ignore its generated tikz files
# *.tikz
*-tikzDictionary
# listings
*.lol
# luatexja-ruby
*.ltjruby
# makeidx
*.idx
*.ilg
*.ind
# minitoc
*.maf
*.mlf
*.mlt
*.mtc[0-9]*
*.slf[0-9]*
*.slt[0-9]*
*.stc[0-9]*
# minted
_minted*
*.pyg
# morewrites
*.mw
# newpax
*.newpax
# nomencl
*.nlg
*.nlo
*.nls
# pax
*.pax
# pdfpcnotes
*.pdfpc
# sagetex
*.sagetex.sage
*.sagetex.py
*.sagetex.scmd
# scrwfile
*.wrt
# svg
svg-inkscape/
# sympy
*.sout
*.sympy
sympy-plots-for-*.tex/
# pdfcomment
*.upa
*.upb
# pythontex
*.pytxcode
pythontex-files-*/
# tcolorbox
*.listing
# thmtools
*.loe
# TikZ & PGF
*.dpth
*.md5
*.auxlock
# titletoc
*.ptc
# todonotes
*.tdo
# vhistory
*.hst
*.ver
# easy-todo
*.lod
# xcolor
*.xcp
# xmpincl
*.xmpi
# xindy
*.xdy
# xypic precompiled matrices and outlines
*.xyc
*.xyd
# endfloat
*.ttt
*.fff
# Latexian
TSWLatexianTemp*
## Editors:
# WinEdt
*.bak
*.sav
# Texpad
.texpadtmp
# LyX
*.lyx~
# Kile
*.backup
# gummi
.*.swp
# KBibTeX
*~[0-9]*
# TeXnicCenter
*.tps
# auto folder when using emacs and auctex
./auto/*
*.el
# expex forward references with \gathertags
*-tags.tex
# standalone packages
*.sta
# Makeindex log files
*.lpz
# xwatermark package
*.xwm
# REVTeX puts footnotes in the bibliography by default, unless the nofootinbib
# option is specified. Footnotes are the stored in a file with suffix Notes.bib.
# Uncomment the next line to have this generated file ignored.
#*Notes.bib
.sql
0 → 100644
View file @
7aa10c16
-- phpMyAdmin SQL Dump
-- version 5.0.1
-- https://www.phpmyadmin.net/
--
-- Host: localhost
-- Erstellungszeit: 10. Jan 2022 um 09:48
-- Server-Version: 10.3.31-MariaDB-0+deb10u1
-- PHP-Version: 7.3.31-1~deb10u1
SET
SQL_MODE
=
"NO_AUTO_VALUE_ON_ZERO"
;
SET
AUTOCOMMIT
=
0
;
START
TRANSACTION
;
SET
time_zone
=
"+00:00"
;
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */
;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */
;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */
;
/*!40101 SET NAMES utf8mb4 */
;
--
-- Datenbank: `ndsrouter`
--
-- --------------------------------------------------------
--
-- Tabellenstruktur für Tabelle `application`
--
CREATE
TABLE
`application`
(
`id`
int
(
11
)
UNSIGNED
NOT
NULL
,
`community`
varchar
(
255
)
NOT
NULL
,
`name`
varchar
(
255
)
NOT
NULL
,
`2line`
varchar
(
255
)
NOT
NULL
,
`street`
varchar
(
255
)
NOT
NULL
,
`housenr`
varchar
(
20
)
NOT
NULL
,
`zipcode`
int
(
5
)
UNSIGNED
ZEROFILL
NOT
NULL
,
`city`
varchar
(
255
)
NOT
NULL
,
`email`
varchar
(
255
)
NOT
NULL
,
`created_at`
timestamp
NOT
NULL
DEFAULT
current_timestamp
()
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
-- --------------------------------------------------------
--
-- Stellvertreter-Struktur des Views `Auswertung`
-- (Siehe unten für die tatsächliche Ansicht)
--
CREATE
TABLE
`Auswertung`
(
`Modell`
varchar
(
255
)
,
`Anzahl`
decimal
(
32
,
0
)
);
-- --------------------------------------------------------
--
-- Stellvertreter-Struktur des Views `data`
-- (Siehe unten für die tatsächliche Ansicht)
--
CREATE
TABLE
`data`
(
`applicationId`
int
(
11
)
unsigned
,
`community`
varchar
(
255
)
,
`applicantName`
varchar
(
255
)
,
`applicant2line`
varchar
(
255
)
,
`applicantStreet`
varchar
(
255
)
,
`applicantHouseNr`
varchar
(
20
)
,
`applicantZipcode`
int
(
5
)
unsigned
zerofill
,
`applicantCity`
varchar
(
255
)
,
`applicantEmail`
varchar
(
255
)
,
`applicationCreatedAt`
timestamp
,
`locationId`
int
(
10
)
unsigned
,
`locationStreet`
varchar
(
255
)
,
`locationHouseNr`
varchar
(
20
)
,
`locationZipcode`
int
(
5
)
unsigned
zerofill
,
`locationCity`
varchar
(
255
)
,
`model`
varchar
(
255
)
,
`amount`
int
(
10
)
unsigned
);
-- --------------------------------------------------------
--
-- Stellvertreter-Struktur des Views `DevicesPerApplicant`
-- (Siehe unten für die tatsächliche Ansicht)
--
CREATE
TABLE
`DevicesPerApplicant`
(
`community`
varchar
(
255
)
,
`applicantName`
varchar
(
255
)
,
`amount`
decimal
(
32
,
0
)
);
-- --------------------------------------------------------
--
-- Tabellenstruktur für Tabelle `hardware`
--
CREATE
TABLE
`hardware`
(
`id`
int
(
10
)
UNSIGNED
NOT
NULL
,
`locationId`
int
(
10
)
UNSIGNED
NOT
NULL
,
`model`
varchar
(
255
)
NOT
NULL
,
`amount`
int
(
10
)
UNSIGNED
NOT
NULL
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
-- --------------------------------------------------------
--
-- Tabellenstruktur für Tabelle `location`
--
CREATE
TABLE
`location`
(
`id`
int
(
10
)
UNSIGNED
NOT
NULL
,
`applicationId`
int
(
10
)
UNSIGNED
NOT
NULL
,
`street`
varchar
(
255
)
NOT
NULL
,
`housenr`
varchar
(
20
)
NOT
NULL
,
`zipcode`
int
(
5
)
UNSIGNED
ZEROFILL
NOT
NULL
,
`city`
varchar
(
255
)
NOT
NULL
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
-- --------------------------------------------------------
--
-- Stellvertreter-Struktur des Views `ModelsPerApplicant`
-- (Siehe unten für die tatsächliche Ansicht)
--
CREATE
TABLE
`ModelsPerApplicant`
(
`community`
varchar
(
255
)
,
`applicantName`
varchar
(
255
)
,
`model`
varchar
(
255
)
,
`SUM(
``
amount
``
)`
decimal
(
32
,
0
)
);
-- --------------------------------------------------------
--
-- Stellvertreter-Struktur des Views `ModelsPerCommunity`
-- (Siehe unten für die tatsächliche Ansicht)
--
CREATE
TABLE
`ModelsPerCommunity`
(
`community`
varchar
(
255
)
,
`model`
varchar
(
255
)
,
`SUM(
``
amount
``
)`
decimal
(
32
,
0
)
);
-- --------------------------------------------------------
--
-- Struktur des Views `Auswertung`
--
DROP
TABLE
IF
EXISTS
`Auswertung`
;
CREATE
ALGORITHM
=
UNDEFINED
DEFINER
=
`ndsrouter`
@
`localhost`
SQL
SECURITY
DEFINER
VIEW
`Auswertung`
AS
select
`hardware`
.
`model`
AS
`Modell`
,
sum
(
`hardware`
.
`amount`
)
AS
`Anzahl`
from
`hardware`
group
by
`hardware`
.
`model`
order
by
sum
(
`hardware`
.
`amount`
)
desc
;
-- --------------------------------------------------------
--
-- Struktur des Views `data`
--
DROP
TABLE
IF
EXISTS
`data`
;
CREATE
ALGORITHM
=
UNDEFINED
DEFINER
=
`ndsrouter`
@
`localhost`
SQL
SECURITY
DEFINER
VIEW
`data`
AS
select
`application`
.
`id`
AS
`applicationId`
,
`application`
.
`community`
AS
`community`
,
`application`
.
`name`
AS
`applicantName`
,
`application`
.
`2line`
AS
`applicant2line`
,
`application`
.
`street`
AS
`applicantStreet`
,
`application`
.
`housenr`
AS
`applicantHouseNr`
,
`application`
.
`zipcode`
AS
`applicantZipcode`
,
`application`
.
`city`
AS
`applicantCity`
,
`application`
.
`email`
AS
`applicantEmail`
,
`application`
.
`created_at`
AS
`applicationCreatedAt`
,
`location`
.
`id`
AS
`locationId`
,
`location`
.
`street`
AS
`locationStreet`
,
`location`
.
`housenr`
AS
`locationHouseNr`
,
`location`
.
`zipcode`
AS
`locationZipcode`
,
`location`
.
`city`
AS
`locationCity`
,
`hardware`
.
`model`
AS
`model`
,
`hardware`
.
`amount`
AS
`amount`
from
((
`application`
join
`location`
on
(
`location`
.
`applicationId`
=
`application`
.
`id`
))
join
`hardware`
on
(
`hardware`
.
`locationId`
=
`location`
.
`id`
))
;
-- --------------------------------------------------------
--
-- Struktur des Views `DevicesPerApplicant`
--
DROP
TABLE
IF
EXISTS
`DevicesPerApplicant`
;
CREATE
ALGORITHM
=
UNDEFINED
DEFINER
=
`ndsrouter`
@
`localhost`
SQL
SECURITY
DEFINER
VIEW
`DevicesPerApplicant`
AS
select
`data`
.
`community`
AS
`community`
,
`data`
.
`applicantName`
AS
`applicantName`
,
sum
(
`data`
.
`amount`
)
AS
`amount`
from
`data`
group
by
`data`
.
`community`
,
`data`
.
`applicantName`
;
-- --------------------------------------------------------
--
-- Struktur des Views `ModelsPerApplicant`
--
DROP
TABLE
IF
EXISTS
`ModelsPerApplicant`
;
CREATE
ALGORITHM
=
UNDEFINED
DEFINER
=
`ndsrouter`
@
`localhost`
SQL
SECURITY
DEFINER
VIEW
`ModelsPerApplicant`
AS
select
`data`
.
`community`
AS
`community`
,
`data`
.
`applicantName`
AS
`applicantName`
,
`data`
.
`model`
AS
`model`
,
sum
(
`data`
.
`amount`
)
AS
`SUM(
``
amount
``
)`
from
`data`
group
by
`data`
.
`community`
,
`data`
.
`applicantName`
,
`data`
.
`model`
;
-- --------------------------------------------------------
--
-- Struktur des Views `ModelsPerCommunity`
--
DROP
TABLE
IF
EXISTS
`ModelsPerCommunity`
;
CREATE
ALGORITHM
=
UNDEFINED
DEFINER
=
`ndsrouter`
@
`localhost`
SQL
SECURITY
DEFINER
VIEW
`ModelsPerCommunity`
AS
select
`data`
.
`community`
AS
`community`
,
`data`
.
`model`
AS
`model`
,
sum
(
`data`
.
`amount`
)
AS
`SUM(
``
amount
``
)`
from
`data`
group
by
`data`
.
`community`
,
`data`
.
`model`
;
--
-- Indizes der exportierten Tabellen
--
--
-- Indizes für die Tabelle `application`
--
ALTER
TABLE
`application`
ADD
PRIMARY
KEY
(
`id`
);
--
-- Indizes für die Tabelle `hardware`
--
ALTER
TABLE
`hardware`
ADD
PRIMARY
KEY
(
`id`
),
ADD
KEY
`locationId`
(
`locationId`
);
--
-- Indizes für die Tabelle `location`
--
ALTER
TABLE
`location`
ADD
PRIMARY
KEY
(
`id`
),
ADD
KEY
`applicationId`
(
`applicationId`
)
USING
BTREE
;
--
-- AUTO_INCREMENT für exportierte Tabellen
--
--
-- AUTO_INCREMENT für Tabelle `application`
--
ALTER
TABLE
`application`
MODIFY
`id`
int
(
11
)
UNSIGNED
NOT
NULL
AUTO_INCREMENT
;
--
-- AUTO_INCREMENT für Tabelle `hardware`
--
ALTER
TABLE
`hardware`
MODIFY
`id`
int
(
10
)
UNSIGNED
NOT
NULL
AUTO_INCREMENT
;
--
-- AUTO_INCREMENT für Tabelle `location`
--
ALTER
TABLE
`location`
MODIFY
`id`
int
(
10
)
UNSIGNED
NOT
NULL
AUTO_INCREMENT
;
--
-- Constraints der exportierten Tabellen
--
--
-- Constraints der Tabelle `hardware`
--
ALTER
TABLE
`hardware`
ADD
CONSTRAINT
`hardware_ibfk_1`
FOREIGN
KEY
(
`locationId`
)
REFERENCES
`location`
(
`id`
)
ON
DELETE
CASCADE
ON
UPDATE
CASCADE
;
--
-- Constraints der Tabelle `location`
--
ALTER
TABLE
`location`
ADD
CONSTRAINT
`location_ibfk_1`
FOREIGN
KEY
(
`applicationId`
)
REFERENCES
`application`
(
`id`
)
ON
DELETE
CASCADE
ON
UPDATE
CASCADE
;
COMMIT
;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */
;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */
;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */
;
package-lock.json
View file @
7aa10c16
...
...
@@ -8,6 +8,8 @@
"name": "tool",
"version": "0.1.0",
"dependencies": {
"@braid/vue-formulate": "^2.5.2",
"axios": "^0.24.0",
"core-js": "^3.6.5",
"vue": "^2.6.11"
},
...
...
@@ -18,6 +20,8 @@
"babel-eslint": "^10.1.0",
"eslint": "^6.7.2",
"eslint-plugin-vue": "^6.2.2",
"sass": "^1.43.3",
"sass-loader": "^7.3.1",
"vue-template-compiler": "^2.6.11"
}
},
...
...
@@ -1611,6 +1615,30 @@
"node": ">=6.9.0"
}
},
"node_modules/@braid/vue-formulate": {
"version": "2.5.2",
"resolved": "https://registry.npmjs.org/@braid/vue-formulate/-/vue-formulate-2.5.2.tgz",
"integrity": "sha512-0LWKp3Rjq2a+WwA4y49VaXqQOVClJGy6mmdivxJJyRvNB0aUcTOKOINLumeU/XHf7/c0HNhtbZih2vs6hMDyvQ==",
"dependencies": {
"@braid/vue-formulate-i18n": "^1.16.0",
"is-plain-object": "^3.0.1",
"is-url": "^1.2.4",
"nanoid": "^2.1.11"
}
},
"node_modules/@braid/vue-formulate-i18n": {
"version": "1.16.0",
"resolved": "https://registry.npmjs.org/@braid/vue-formulate-i18n/-/vue-formulate-i18n-1.16.0.tgz",
"integrity": "sha512-CuX1kN7bWg4ukynnTS3LGsmPKrUvS2Wh75zKatIe+nHQQy0gSvfmggQsCz4QZey7Ois+pGYmOIgrE1SvX+zQTw=="
},
"node_modules/@braid/vue-formulate/node_modules/is-plain-object": {
"version": "3.0.1",
"resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-3.0.1.tgz",
"integrity": "sha512-Xnpx182SBMrr/aBik8y+GuR4U1L9FqMSojwDQwPMmxyC6bvEqly9UBCxhauBF5vNh2gwWJNX6oDV7O+OM4z34g==",
"engines": {
"node": ">=0.10.0"
}
},
"node_modules/@hapi/address": {
"version": "2.1.4",
"resolved": "https://registry.npmjs.org/@hapi/address/-/address-2.1.4.tgz",
...
...
@@ -3033,6 +3061,14 @@
"integrity": "sha512-xh1Rl34h6Fi1DC2WWKfxUTVqRsNnr6LsKz2+hfwDxQJWmrx8+c7ylaqBMcHfl1U1r2dsifOvKX3LQuLNZ+XSvA==",
"dev": true
},
"node_modules/axios": {
"version": "0.24.0",
"resolved": "https://registry.npmjs.org/axios/-/axios-0.24.0.tgz",
"integrity": "sha512-Q6cWsys88HoPgAaFAVUb0WpPk0O8iTeisR9IMqy9G8AbO4NlpVknrnQS03zzF9PGAWgO3cgletO3VjV/P7VztA==",
"dependencies": {
"follow-redirects": "^1.14.4"
}
},
"node_modules/babel-eslint": {
"version": "10.1.0",
"resolved": "https://registry.npmjs.org/babel-eslint/-/babel-eslint-10.1.0.tgz",
...
...
@@ -3221,7 +3257,6 @@
"resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz",
"integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==",
"dev": true,
"optional": true,
"engines": {
"node": ">=8"
}
...
...
@@ -3777,7 +3812,6 @@
"resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.2.tgz",
"integrity": "sha512-ekGhOnNVPgT77r4K/U3GDhu+FQ2S8TnK/s2KbIGXi0SZWuwkZ2QNyfWdZW+TVfn84DpEP7rLeCt2UI6bJ8GwbQ==",
"dev": true,
"optional": true,
"dependencies": {
"anymatch": "~3.1.2",
"braces": "~3.0.2",
...
...
@@ -3799,7 +3833,6 @@
"resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz",
"integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==",
"dev": true,
"optional": true,