fix : 修复查看分摊功能

This commit is contained in:
2024-06-07 21:34:18 +08:00
parent 27bc6ea89f
commit 617a867965
2 changed files with 6 additions and 3 deletions

View File

@@ -360,7 +360,7 @@ const handleShare = (row) => {
router.push({ router.push({
name: 'Implementation/share', name: 'Implementation/share',
query: { query: {
id: row.requirementId id: row.projectId
} }
}) })
} }

View File

@@ -10,6 +10,7 @@
<script setup lang="jsx"> <script setup lang="jsx">
import fvSelect from '@/fvcomponents/fvSelect/index.vue' import fvSelect from '@/fvcomponents/fvSelect/index.vue'
const route = useRoute()
const searchConfig = reactive([ const searchConfig = reactive([
{ {
label: '关键词', label: '关键词',
@@ -100,8 +101,10 @@ const tableConfig = reactive({
align: 'center' align: 'center'
} }
], ],
api: '/workflow/mosr/cost/allocation/usr', api: '/workflow/mosr/project/implementation/allocation/info',
params: {}, params: {
projectId: route.query.id
}
}) })
</script> </script>