refactor(EntryList): refs #7527 redirect alls creates to popup
gitea/salix-front/pipeline/pr-dev Something is wrong with the build of this commit
Details
gitea/salix-front/pipeline/pr-dev Something is wrong with the build of this commit
Details
This commit is contained in:
parent
9d92c4c178
commit
9b692bd966
|
@ -215,7 +215,6 @@ globals:
|
|||
entries: Entries
|
||||
buys: Buys
|
||||
dms: File management
|
||||
entryCreate: New entry
|
||||
latestBuys: Latest buys
|
||||
reserves: Reserves
|
||||
tickets: Tickets
|
||||
|
|
|
@ -82,7 +82,10 @@ const deleteTravel = async (id) => {
|
|||
<QItem v-ripple clickable>
|
||||
<QItemSection>
|
||||
<RouterLink
|
||||
:to="{ name: 'EntryCreate', query: { travelFk: travel.id } }"
|
||||
:to="{
|
||||
name: 'EntryList',
|
||||
query: { createForm: JSON.stringify({ travelFk: travel.id }) },
|
||||
}"
|
||||
class="color-vn-text"
|
||||
>
|
||||
{{ t('travel.summary.AddEntry') }}
|
||||
|
|
|
@ -38,7 +38,10 @@ const redirectToCreateView = (queryParams) => {
|
|||
};
|
||||
|
||||
const redirectCreateEntryView = (travelData) => {
|
||||
router.push({ name: 'EntryCreate', query: { travelFk: travelData.id } });
|
||||
router.push({
|
||||
name: 'EntryList',
|
||||
query: { createForm: JSON.stringify({ travelFk: travelData.id }) },
|
||||
});
|
||||
};
|
||||
|
||||
const columns = computed(() => [
|
||||
|
|
|
@ -114,15 +114,6 @@ export default {
|
|||
entryCard,
|
||||
],
|
||||
},
|
||||
{
|
||||
path: 'create',
|
||||
name: 'EntryCreate',
|
||||
meta: {
|
||||
title: 'entryCreate',
|
||||
icon: 'add',
|
||||
},
|
||||
component: () => import('src/pages/Entry/EntryCreate.vue'),
|
||||
},
|
||||
{
|
||||
path: 'my',
|
||||
name: 'EntrySupplier',
|
||||
|
|
Loading…
Reference in New Issue