Files
mosr-web/src/views/project-management/implementation/share.vue

112 lines
2.1 KiB
Vue

<template>
<fvSearchForm :searchConfig="searchConfig" @search="search"></fvSearchForm>
<fvTable ref="tableIns" :tableConfig="tableConfig">
<template #empty>
<el-empty description="暂无数据"/>
</template>
</fvTable>
</template>
<script setup lang="jsx">
import fvSelect from '@/fvcomponents/fvSelect/index.vue'
const searchConfig = reactive([
{
label: '关键词',
prop: 'requirementName',
component: 'el-input',
props: {
placeholder: '请输入关键词查询',
clearable: true,
filterable: true,
checkStrictly: true
}
},
{
label: '项目人员',
prop: 'projectCost',
component: shallowRef(fvSelect),
props: {
placeholder: '请选择项目人员查询',
clearable: true,
filterable: true,
checkStrictly: true,
cacheKey: ''
}
},
{
label: '时间',
prop: 'datetime',
component: 'el-date-picker',
props: {
placeholder: '请选择时间',
clearable: true,
}
}
])
const tableIns = ref()
const tableConfig = reactive({
columns: [
{
prop: 'name',
type: 'index',
label: '序号',
align: 'center',
width:'80'
},
{
prop: 'name',
label: '时间',
align: 'center'
},
{
prop: 'researchPersonnel',
label: '研发人员',
align: 'center'
},
{
prop: 'wagesPayable',
label: '应发工资',
align: 'center'
},
{
prop: 'performance',
label: '绩效',
align: 'center'
},
{
prop: 'reserveFund',
label: '公积金',
align: 'center'
},{
prop: 'socialSecurity',
label: '社保',
align: 'center'
},{
prop: 'annuity',
label: '年金',
align: 'center'
},{
prop: 'workday',
label: '工作日(天)',
align: 'center'
},{
prop: 'researchDuration',
label: '研发工时(天)',
align: 'center'
},{
prop: 'survey',
label: '小计',
align: 'center'
}
],
api: '/workflow/mosr/cost/allocation/usr',
params: {},
})
</script>
<style scoped>
</style>