fix : 修复细节
This commit is contained in:
@@ -1,6 +1,10 @@
|
||||
<template>
|
||||
<fvSearchForm :searchConfig="searchConfig" @search="search"></fvSearchForm>
|
||||
<fvTable ref="tableIns" :tableConfig="tableConfig" @headBtnClick="headBtnClick"></fvTable>
|
||||
<fvTable ref="tableIns" :tableConfig="tableConfig" @headBtnClick="headBtnClick">
|
||||
<template #empty>
|
||||
<el-empty description="暂无数据"/>
|
||||
</template>
|
||||
</fvTable>
|
||||
</template>
|
||||
|
||||
<script setup lang="jsx">
|
||||
@@ -107,7 +111,7 @@ const tableConfig = reactive({
|
||||
api: '/workflow/mosr/requirement',
|
||||
btns: [
|
||||
{name: '新增', key: 'add', color: '#DED0B2'},
|
||||
{name: '导出', key: 'add', type: ''},
|
||||
{name: '导出', key: 'export', type: ''},
|
||||
],
|
||||
params: {}
|
||||
})
|
||||
@@ -145,16 +149,9 @@ const headBtnClick = (key) => {
|
||||
case 'add':
|
||||
handleAdd()
|
||||
break;
|
||||
case 'edit':
|
||||
handleEdit()
|
||||
break;
|
||||
case 'detail':
|
||||
handleDetail()
|
||||
case 'export':
|
||||
handleExport()
|
||||
break;
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user