fix : 修复年度计划项目详情跳转
This commit is contained in:
@@ -140,6 +140,11 @@
|
||||
<span>{{ toThousands(scope.row.specialFundAmount) }}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column prop="oper" label="操作" fixed="right">
|
||||
<template #default="{row}">
|
||||
<el-button type="primary" @click="handleToProjectDetail(row)" link style="font-size: 16px">详情</el-button>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
@@ -158,11 +163,23 @@ const loading = ref(false)
|
||||
const formData = ref({})
|
||||
const table = ref()
|
||||
const route = useRoute()
|
||||
const router = useRouter()
|
||||
const isEdit = ref(false)
|
||||
const editVisible = ref(false)
|
||||
if(route.query.type=='summary'){
|
||||
editVisible.value=true
|
||||
}
|
||||
const handleToProjectDetail=(row)=>{
|
||||
router.push({
|
||||
name: 'Implementation/detail',
|
||||
query: {
|
||||
id: row.requirementId,
|
||||
projectId: row.projectId,
|
||||
state: row.state,
|
||||
step: '10'
|
||||
}
|
||||
})
|
||||
}
|
||||
const exportTable = () => {
|
||||
const $e = table.value.$el
|
||||
let $table = $e.querySelector('.el-table__fixed')
|
||||
|
||||
Reference in New Issue
Block a user