fix : 修复项目申请/验收/结项功能
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<fvSearchForm :searchConfig="searchConfig" @search="search"></fvSearchForm>
|
||||
<fvTable ref="tableIns" :tableConfig="tableConfig">
|
||||
<fvTable ref="tableIns" :tableConfig="tableConfig" @headBtnClick="headBtnClick">
|
||||
<template #empty>
|
||||
<el-empty description="暂无数据"/>
|
||||
</template>
|
||||
@@ -79,10 +79,23 @@ const tableConfig = reactive({
|
||||
api: '',
|
||||
params: {},
|
||||
btns: [
|
||||
{name: '上传费用', key: '_export', color: '#DED0B2',auth: ''}
|
||||
{name: '上传费用', key: 'add', color: '#DED0B2',auth: ''}
|
||||
]
|
||||
})
|
||||
|
||||
const router = useRouter()
|
||||
const headBtnClick = (key) => {
|
||||
switch (key) {
|
||||
case 'add':
|
||||
handleUploadFee()
|
||||
break;
|
||||
}
|
||||
}
|
||||
const handleUploadFee = () => {
|
||||
router.push({
|
||||
name: 'Implementation/uploadFee',
|
||||
query: {}
|
||||
})
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
|
||||
Reference in New Issue
Block a user