114 lines
2.1 KiB
Vue
114 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 {reactive} from "vue";
|
|
|
|
const searchConfig = reactive([
|
|
{
|
|
label: '需求名称',
|
|
prop: 'requirementName',
|
|
component: 'el-input',
|
|
props: {
|
|
placeholder: '请输入需求名称查询',
|
|
clearable: true,
|
|
filterable: true,
|
|
checkStrictly: true
|
|
}
|
|
},
|
|
{
|
|
label: '项目费用',
|
|
prop: 'requirementName',
|
|
component: 'el-input',
|
|
props: {
|
|
placeholder: '请输入项目费用查询',
|
|
clearable: true,
|
|
filterable: true,
|
|
checkStrictly: true
|
|
}
|
|
},
|
|
{
|
|
label: '起始时间',
|
|
prop: 'datetime',
|
|
component: 'el-date-picker',
|
|
props: {
|
|
placeholder: '请选择起始时间',
|
|
clearable: true,
|
|
},
|
|
colProps: {}
|
|
}
|
|
])
|
|
const tableIns = ref()
|
|
const tableConfig = reactive({
|
|
columns: [
|
|
{
|
|
prop: 'name',
|
|
type: 'index',
|
|
label: '序号',
|
|
width:'80'
|
|
},
|
|
{
|
|
prop: 'name',
|
|
label: '时间',
|
|
align: 'center'
|
|
},
|
|
{
|
|
prop: 'projectType',
|
|
label: '研发人员',
|
|
align: 'center'
|
|
},
|
|
{
|
|
prop: 'productMainBody',
|
|
label: '应发工资',
|
|
align: 'center'
|
|
},
|
|
{
|
|
prop: 'projectEffect',
|
|
label: '绩效',
|
|
align: 'center'
|
|
},
|
|
{
|
|
prop: 'survey',
|
|
label: '公积金',
|
|
align: 'center'
|
|
},{
|
|
prop: 'survey',
|
|
label: '社保',
|
|
align: 'center'
|
|
},{
|
|
prop: 'survey',
|
|
label: '年金',
|
|
align: 'center'
|
|
},{
|
|
prop: 'survey',
|
|
label: '工作日(天)',
|
|
align: 'center'
|
|
},{
|
|
prop: 'survey',
|
|
label: '研发工时(天)',
|
|
align: 'center'
|
|
},{
|
|
prop: 'survey',
|
|
label: '小计',
|
|
align: 'center'
|
|
}
|
|
],
|
|
api: '',
|
|
params: {},
|
|
btns: [
|
|
{name: '上传分摊', key: '_export', color: '#DED0B2',auth: ''}
|
|
]
|
|
})
|
|
|
|
</script>
|
|
|
|
<style scoped>
|
|
|
|
</style>
|