Merge pull request 'fix : 修复年度计划项目详情跳转' (#854) from dj into master
Reviewed-on: http://git.feashow.cn/clay/mosr-web/pulls/854
This commit is contained in:
@@ -140,6 +140,11 @@
|
|||||||
<span>{{ toThousands(scope.row.specialFundAmount) }}</span>
|
<span>{{ toThousands(scope.row.specialFundAmount) }}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</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>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
@@ -158,11 +163,23 @@ const loading = ref(false)
|
|||||||
const formData = ref({})
|
const formData = ref({})
|
||||||
const table = ref()
|
const table = ref()
|
||||||
const route = useRoute()
|
const route = useRoute()
|
||||||
|
const router = useRouter()
|
||||||
const isEdit = ref(false)
|
const isEdit = ref(false)
|
||||||
const editVisible = ref(false)
|
const editVisible = ref(false)
|
||||||
if(route.query.type=='summary'){
|
if(route.query.type=='summary'){
|
||||||
editVisible.value=true
|
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 exportTable = () => {
|
||||||
const $e = table.value.$el
|
const $e = table.value.$el
|
||||||
let $table = $e.querySelector('.el-table__fixed')
|
let $table = $e.querySelector('.el-table__fixed')
|
||||||
|
|||||||
Reference in New Issue
Block a user