Initial import
This commit is contained in:
27
mockup/fo/fo02/components/sampleStationComponent.js
Normal file
27
mockup/fo/fo02/components/sampleStationComponent.js
Normal file
@@ -0,0 +1,27 @@
|
||||
var sampleStationComponent = {
|
||||
props : ['label'],
|
||||
template : `
|
||||
<v-select
|
||||
:items="items"
|
||||
:label="_label"
|
||||
|
||||
></v-select>`,
|
||||
|
||||
data () {
|
||||
return {
|
||||
items: ['Laboratorium', 'Lain - lain']
|
||||
}
|
||||
|
||||
},
|
||||
|
||||
computed : {
|
||||
_label () {
|
||||
if (this.label)
|
||||
return this.label;
|
||||
|
||||
return "Sample Station";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export { sampleStationComponent }
|
||||
Reference in New Issue
Block a user