78 lines
2.0 KiB
Vue
78 lines
2.0 KiB
Vue
<template>
|
|
<v-layout column>
|
|
<one-review></one-review>
|
|
</v-layout>
|
|
</template>
|
|
<style scoped>
|
|
.mini-select .v-select__selections {
|
|
align-items: center;
|
|
display: flex;
|
|
flex: 1 1 auto;
|
|
flex-wrap: wrap;
|
|
line-height: 10px;
|
|
}
|
|
</style>
|
|
|
|
<script>
|
|
module.exports = {
|
|
components: {
|
|
'one-review-tab': httpVueLoader('./oneReviewTab.vue'),
|
|
'one-review': httpVueLoader('./oneReview.vue?ts=' +
|
|
new Date().toISOString())
|
|
},
|
|
computed: {
|
|
selected_test() {
|
|
return this.$store.state.px.selected_test
|
|
},
|
|
schedules() {
|
|
var xvar = this.$store.state.px.appx_schedule
|
|
if (xvar)
|
|
xvar = xvar.split(",")
|
|
else
|
|
xvar = []
|
|
return xvar
|
|
},
|
|
citos() {
|
|
return this.$store.state.px.citos
|
|
},
|
|
|
|
selected_cito: {
|
|
get() {
|
|
return this.$store.state.px.selected_cito
|
|
},
|
|
set(v) {
|
|
this.$store.commit('px/update_selected_cito', v)
|
|
}
|
|
},
|
|
|
|
is_cito() {
|
|
return this.$store.state.px.is_cito
|
|
}
|
|
},
|
|
methods: {
|
|
getTimeX(xtime) {
|
|
if (xtime)
|
|
return moment(xtime).format('DD-MM-YYYY HH:mm')
|
|
else
|
|
return
|
|
}
|
|
},
|
|
data() {
|
|
return {
|
|
cito_show: true,
|
|
dialog_cito: false
|
|
}
|
|
},
|
|
mounted() {
|
|
this.$store.dispatch('px/search_cito')
|
|
},
|
|
|
|
watch: {
|
|
is_cito(val, old) {
|
|
// if (val == "Y" && old == "N")
|
|
// this.cito_show = false
|
|
}
|
|
}
|
|
|
|
}
|
|
</script> |