get Lucio fix
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
</div>
|
||||
<button class="btn" @click="onClick()"><i class="fa fa-trash"></i></button>
|
||||
</div>
|
||||
<popup v-if="enablePopup" :arrow="'arrow-top'" :title="'Modifica ripetizioni'">
|
||||
<popup v-if="enablePopup" :class="{bottom: verticalIndex <= 0, top: verticalIndex > 0}" :arrow="'arrow-top'" :title="'Modifica ripetizioni'">
|
||||
<button class="close" slot="header-buttons" @click="close()"><i class="fa fa-remove"></i></button>
|
||||
<div class="edit-reps">
|
||||
<label>Ripetizioni</label>
|
||||
@@ -54,6 +54,7 @@ export default {
|
||||
},
|
||||
clickReps: function(){
|
||||
this.enablePopup = true;
|
||||
this.$emit("position", this.$el, true);
|
||||
},
|
||||
changeReps(value){
|
||||
this.numberReps = value;
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
<Container @drag-start="onDrag" @drag-end="onDragEnd" @drop="changePosition($event)" :get-child-payload="getPayloadForItemQueue">
|
||||
<Draggable v-for="pp in partPrograms" :key="pp.id" v-if="pp.status != 1">
|
||||
<div class="element-queue" v-if="pp.status != 1">
|
||||
<label class="number">{{pp.id}}</label><card-element-queue @click="deleteItemQueue(selectedProcess, pp)" :name="pp.partProgramName" :number="pp.reps" :status="pp.status"></card-element-queue>
|
||||
<label class="number">{{pp.id}}</label><card-element-queue @click="deleteItemQueue(selectedProcess, pp)" :name="pp.partProgramName" :number="pp.reps" :status="pp.status" :vertical-index="selectedPositionTop"></card-element-queue>
|
||||
</div>
|
||||
</Draggable>
|
||||
</Container>
|
||||
@@ -59,7 +59,8 @@ export default {
|
||||
draggingIn: false,
|
||||
draggingItem: null,
|
||||
draggingPosition: null,
|
||||
itemStatusRunning: null
|
||||
itemStatusRunning: null,
|
||||
selectedPositionTop: 0
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
|
||||
Reference in New Issue
Block a user