forked from verdnatura/salix-front
remove warnings
This commit is contained in:
parent
1e080d02ed
commit
d29bf09535
|
@ -32,7 +32,7 @@ const url = computed(
|
|||
() =>
|
||||
`/api/${$props.storage}/${$props.collection}/${$props.size}/${$props.id}/download?access_token=${token}&${timeStamp.value}`
|
||||
);
|
||||
const reload = (emit = false) => {
|
||||
const reload = () => {
|
||||
timeStamp.value = `timestamp=${Date.now()}`;
|
||||
};
|
||||
defineExpose({
|
||||
|
|
|
@ -3,7 +3,6 @@ import { useRoute } from 'vue-router';
|
|||
import { useI18n } from 'vue-i18n';
|
||||
import VnSelect from 'src/components/common/VnSelect.vue';
|
||||
import FormModel from 'components/FormModel.vue';
|
||||
import VnRow from 'components/ui/VnRow.vue';
|
||||
import VnInput from 'src/components/common/VnInput.vue';
|
||||
import { ref, watch } from 'vue';
|
||||
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
<script setup>
|
||||
import { useStateStore } from 'stores/useStateStore';
|
||||
import { useI18n } from 'vue-i18n';
|
||||
import { computed, onMounted, ref } from 'vue';
|
||||
import { dashIfEmpty, toHour } from 'src/filters';
|
||||
|
|
|
@ -128,7 +128,7 @@ function confirmRemove() {
|
|||
.onOk(() => refreshKey.value++);
|
||||
}
|
||||
|
||||
function navigateToRoadmapSummary(event, { id }) {
|
||||
function navigateToRoadmapSummary(_, { id }) {
|
||||
router.push({ name: 'RoadmapSummary', params: { id } });
|
||||
}
|
||||
</script>
|
||||
|
|
|
@ -353,15 +353,14 @@ const newOrderFromTicket = async () => {
|
|||
};
|
||||
|
||||
const goToLog = (saleId) => {
|
||||
//TODO: Redireccionar cuando exista la vista TicketLog
|
||||
// router.push({
|
||||
// name: 'TicketLog',
|
||||
// params: {
|
||||
// originId: route.params.id,
|
||||
// changedModel: 'Sale',
|
||||
// changedModelId: saleId,
|
||||
// },
|
||||
// });
|
||||
router.push({
|
||||
name: 'TicketLog',
|
||||
params: {
|
||||
originId: route.params.id,
|
||||
changedModel: 'Sale',
|
||||
changedModelId: saleId,
|
||||
},
|
||||
});
|
||||
};
|
||||
|
||||
const changeTicketState = async (val) => {
|
||||
|
|
Loading…
Reference in New Issue