- attivita
- gestione degli script sul server - creato websocket per interagire con gli script del server.
This commit is contained in:
@@ -45,6 +45,11 @@ import { globals } from 'jest.config'
|
||||
export default defineComponent({
|
||||
name: 'CBarSelection',
|
||||
props: {
|
||||
ind: {
|
||||
type: Number,
|
||||
required: false,
|
||||
default: -1,
|
||||
},
|
||||
table: {
|
||||
type: String,
|
||||
required: true,
|
||||
@@ -80,6 +85,7 @@ export default defineComponent({
|
||||
CMyUser, CMyRecCard, CMyCardPopup, CMyRecGrpCard, CMyCardGrpPopup, CMyCardCircuitPopup,
|
||||
CMyRecCircuitCard
|
||||
},
|
||||
emits: ['clickButtBar'],
|
||||
setup(props, { emit }) {
|
||||
const $q = useQuasar()
|
||||
const { t } = useI18n()
|
||||
@@ -304,6 +310,10 @@ export default defineComponent({
|
||||
globalStore.addNewRecord = tablesel.value
|
||||
}
|
||||
|
||||
function clickButtBar(item: any) {
|
||||
emit('clickButtBar', item)
|
||||
}
|
||||
|
||||
created()
|
||||
onMounted(mounted)
|
||||
|
||||
@@ -351,6 +361,7 @@ export default defineComponent({
|
||||
toHome,
|
||||
iconsel,
|
||||
filtri,
|
||||
clickButtBar,
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
@@ -15,9 +15,7 @@
|
||||
></q-btn>
|
||||
</div>
|
||||
<q-slide-transition>
|
||||
<div
|
||||
class="row no-wrap shadow-1"
|
||||
style="height: 40px">
|
||||
<div class="row no-wrap shadow-1">
|
||||
<div v-if="$q.screen.gt.xs" class="col-1">
|
||||
<q-avatar @click="toHome" class="imglink">
|
||||
<img
|
||||
@@ -27,7 +25,7 @@
|
||||
/>
|
||||
</q-avatar>
|
||||
</div>
|
||||
<div class="col-4">
|
||||
<div class="col-fixed" style="width: 200px;">
|
||||
<q-select
|
||||
dense
|
||||
v-model="tablesel"
|
||||
@@ -57,6 +55,19 @@
|
||||
</template>
|
||||
</q-select>
|
||||
</div>
|
||||
<div class="col-auto"> <!-- to the right -->
|
||||
<q-btn
|
||||
v-if="tools.getLabelAddrec(ind)"
|
||||
rounded
|
||||
outline
|
||||
color="primary"
|
||||
class="q-ma-xs q-py-sm"
|
||||
:label="tools.getLabelAddrec(ind)"
|
||||
icon="fas fa-pencil-alt"
|
||||
@click="clickButtBar(tools.BUTT_ADDREC)"
|
||||
>
|
||||
</q-btn>
|
||||
</div>
|
||||
|
||||
<!--<q-btn
|
||||
size="sm"
|
||||
|
||||
Reference in New Issue
Block a user