跳转变更详情,然后返回原页面修改
This commit is contained in:
@@ -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) => {
|
||||
|
||||
@@ -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>
|
||||
Reference in New Issue
Block a user