Mock fixes
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Lukas Bachschwell 2020-01-06 15:40:54 +01:00
parent 48648abda8
commit a0dd160fb7
Signed by: lbsadmin
GPG Key ID: CCC6AA87CC8DF425
4 changed files with 70 additions and 24 deletions

View File

@ -7,19 +7,19 @@ const baseContent = '<p>I am testing data, I am testing data.</p><p><img src="ht
const image_uri = 'https://wpimg.wallstcn.com/e4558086-631c-425c-9430-56ffb46e70b3' const image_uri = 'https://wpimg.wallstcn.com/e4558086-631c-425c-9430-56ffb46e70b3'
const titles = [ const titles = [
'Special Coffee ☕️☕️☕️', 'Special Coffee ☕️☕️☕️',
'VR Experience im Vrei', '1x Obstkorb',
'VR Experience im Vrei', '5€ Rewe Gutschein',
'VR Experience im Vrei', '10€ Cafeteria Gutschein',
'VR Experience im Vrei', '10€ Sodexo Getschein',
'VR Experience im Vrei', '1x Massage im Firmenspa',
'VR Experience im Vrei', '1 Tag Sprachkurs English',
'VR Experience im Vrei', '1x Fitnesscenter',
'VR Experience im Vrei', '1x VR Experience im Vrei',
'VR Experience im Vrei' '1x Urlaubstag'
] ]
for (let i = 0; i < count; i++) { for (let i = 0; i < count; i++) {
List.push(Mock.mock({ List.push(Mock.mock({
id: i * 5 + 5, id: i * 5 + 20,
timestamp: new Date().setDate(20), timestamp: new Date().setDate(20),
author: '@first', author: '@first',
reviewer: '@first', reviewer: '@first',

View File

@ -15,14 +15,14 @@ const users = {
'admin-token': { 'admin-token': {
roles: ['admin'], roles: ['admin'],
introduction: 'Projektmanager bei RedBull', introduction: 'Projektmanager bei RedBull',
avatar: 'https://wpimg.wallstcn.com/f778738c-e4f8-4870-b634-56703b4acafe.gif', avatar: 'https://lbsfilm.at/media/pages/about/1056669128-1567191147/square-small.jpg',
name: 'Julia Krammer' name: 'Lukas Bachschwell'
}, },
'editor-token': { 'editor-token': {
roles: ['editor'], roles: ['editor'],
introduction: 'Backend Developer bei RedBull', introduction: 'Backend Developer bei RedBull',
avatar: 'https://lbsfilm.at/media/pages/about/1056669128-1567191147/square-small.jpg', avatar: 'https://external-content.duckduckgo.com/iu/?u=https%3A%2F%2Ftse4.mm.bing.net%2Fth%3Fid%3DOIP.mJ3OSG9AD98jJSXYhB89_QAAAA%26pid%3DApi&f=1',
name: 'Lukas Bachschwell' name: 'Wolfgang Römer'
} }
} }

View File

@ -122,11 +122,10 @@ export const asyncRoutes = [
{ {
path: '/', // find path: '/', // find
component: Layout, component: Layout,
redirect: '/index',
alwaysShow: false, alwaysShow: false,
children: [ children: [
{ {
path: 'index', path: '',
component: () => import('@/views/find/index'), component: () => import('@/views/find/index'),
name: 'Personen finden', name: 'Personen finden',
meta: { meta: {
@ -139,6 +138,7 @@ export const asyncRoutes = [
}, },
{ {
path: '/dashboard', path: '/dashboard',
redirect: '/index',
component: Layout, component: Layout,
children: [ children: [
{ {

View File

@ -94,7 +94,7 @@ export default {
label: 'Offline Marketing' label: 'Offline Marketing'
}, },
{ {
value: 'konflikt-management', value: 'Konflikt-management',
label: 'Konflikt-Management' label: 'Konflikt-Management'
}, },
{ {
@ -140,19 +140,32 @@ export default {
{ {
value: 'Reiseplanung', value: 'Reiseplanung',
label: 'Reiseplanung' label: 'Reiseplanung'
},
{
value: 'Bussinessplanning',
label: 'Bussinessplanning'
},
{
value: 'Strateghisches Management',
label: 'Strateghisches Management'
} }
], ],
people: [{ people: [{
name: 'Franz Fiedler', name: 'Franz Fiedler',
avatar: 'https://www.fhstp.ac.at/de/uber-uns/mitarbeiter-innen-a-z/fidler-franz/@@images/c23cc24d-3c45-42c8-9159-c196d19ced81.jpeg', avatar: 'https://external-content.duckduckgo.com/iu/?u=https%3A%2F%2Ftse4.mm.bing.net%2Fth%3Fid%3DOIP.eQ7zUcL1ZRRFwc-V5pXquAAAAA%26pid%3DApi&f=1',
skills: [ skills: [
{ name: 'Blockchain', strength: 100 } { name: 'Blockchain', strength: 100 },
{ name: 'Projektmanagement', strength: 92 }
] ]
}, { }, {
name: 'Wolfgang Römer', name: 'Wolfgang Römer',
avatar: 'https://www.fhstp.ac.at/en/about-us/staff-a-z/romer-wolfgang/@@images/8fbd0752-ed91-4cb0-8c9f-b4a3da187763.jpeg', avatar: 'https://external-content.duckduckgo.com/iu/?u=https%3A%2F%2Ftse4.mm.bing.net%2Fth%3Fid%3DOIP.mJ3OSG9AD98jJSXYhB89_QAAAA%26pid%3DApi&f=1',
skills: [ skills: [
{ name: 'Blockchain', strength: 100 } { name: 'Projektmanagement', strength: 98 },
{ name: 'Webdesign', strength: 80 },
{ name: 'Reiseplanung', strength: 55 },
{ name: 'Blumen', strength: 12 }
] ]
}, { }, {
name: 'Lukas Bachschwell', name: 'Lukas Bachschwell',
@ -163,7 +176,6 @@ export default {
}, },
{ {
name: 'Victoria Kasamas', name: 'Victoria Kasamas',
matchterm: 'Buchhaltung',
skills: [ skills: [
{ name: 'Buchhaltung', strength: 83 } { name: 'Buchhaltung', strength: 83 }
] ]
@ -176,18 +188,52 @@ export default {
{ name: 'Video', strength: 65 } { name: 'Video', strength: 65 }
] ]
}, { }, {
name: 'Johannes Gutherz',
avatar: 'https://external-content.duckduckgo.com/iu/?u=https%3A%2F%2Fwww.xing.com%2Fimage%2Fa_7_e_1a7c18b82_6089096_5%2Fjoel-wenger-foto.256x256.jpg&f=1&nofb=1',
skills: [
{ name: 'Webdesign', strength: 43 },
{ name: 'Video', strength: 85 },
{ name: 'Reiseplanung', strength: 30 },
{ name: 'Arbeitsplatzsicherheit', strength: 55 }
]
},
{
name: 'Ilse Hermann',
skills: [
{ name: 'Video', strength: 88 },
{ name: 'Reiseplanung', strength: 30 },
{ name: 'Buchhaltung', strength: 11 }
]
},
{
name: 'Helene Jägermeister',
avatar: 'https://external-content.duckduckgo.com/iu/?u=http%3A%2F%2Fais.badische-zeitung.de%2Fpiece%2F06%2F1c%2Fee%2Fe3%2F102559459.jpg&f=1&nofb=1',
skills: [
{ name: 'Wein & Käse', strength: 95 },
{ name: 'Video', strength: 30 },
{ name: 'Webdesign', strength: 79 },
{ name: 'Buchhaltung', strength: 5 }
]
},
{
name: 'Peter Steiner', name: 'Peter Steiner',
avatar: 'https://external-content.duckduckgo.com/iu/?u=https%3A%2F%2Ftse3.mm.bing.net%2Fth%3Fid%3DOIP.qwuDUAC0rByOm6_eF7gHaQHaEK%26pid%3DApi&f=1',
skills: [ skills: [
{ name: 'Audio', strength: 98 }, { name: 'Audio', strength: 98 },
{ name: 'Video', strength: 85 }, { name: 'Video', strength: 85 },
{ name: 'Programming', strength: 12 }, { name: 'Programmierkenntnisse', strength: 12 },
{ name: 'Buchhaltung', strength: 19 } { name: 'Buchhaltung', strength: 19 }
] ]
}, { },
{
name: 'Alex Rodriguez', name: 'Alex Rodriguez',
avatar: 'https://upload.wikimedia.org/wikipedia/commons/7/72/Alex_Rodriguez.jpg', avatar: 'https://upload.wikimedia.org/wikipedia/commons/7/72/Alex_Rodriguez.jpg',
skills: [ skills: [
{ name: 'Markenschutz', strength: 44 },
{ name: 'Blockchain', strength: 1 } { name: 'Blockchain', strength: 1 }
] ]
}] }]