跳转变更详情,然后返回原页面修改

This commit is contained in:
2026-09-20 11:31:28 +08:00
parent 1d8e0c321b
commit 0bf469d37d
3 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -10,7 +10,7 @@ import { changeLedgerListApi } from '@/service/api/changeLedger';
const { routerPushByKey } = useRouterPush();
const themeStore = useThemeStore();
const props = defineProps(['self'])
const props = defineProps(['self', 'keyValue'])
const loading = ref<boolean>(false);
// 组织树
@@ -170,7 +170,7 @@ const sortChoose = (val:string) => {
// 跳转详情
const jumpTo = (r:any) => {
routerPushByKey("details_index",{ query: { id: r?.id?.toString(),status:r?.status?.toString() || '',key:'changeledger_mychanges' } });
routerPushByKey("details_index",{ query: { id: r?.id?.toString(),status:r?.status?.toString() || '',key:props.keyValue } });
}
// 打开进度
const openProgress = (r: any) => {
+1 -1
View File
@@ -4,6 +4,6 @@ import List from "../modules/list.vue";
<template>
<div>
<List self="1" />
<List self="1" keyValue="changeledger_mychanges" />
</div>
</template>
@@ -4,6 +4,6 @@ import List from "../modules/list.vue";
<template>
<div>
<List self="" />
<List self="" keyValue="changeledger_workshopchanges" />
</div>
</template>