fix : 修复项目实施查看分摊功能

This commit is contained in:
2024-06-03 15:53:21 +08:00
parent abe80eafdc
commit abd060b530

View File

@@ -12,37 +12,36 @@ import fvSelect from '@/fvcomponents/fvSelect/index.vue'
const searchConfig = reactive([ const searchConfig = reactive([
{ {
label: '需求名称', label: '关键词',
prop: 'requirementName', prop: 'requirementName',
component: 'el-input', component: 'el-input',
props: { props: {
placeholder: '请输入需求名称查询', placeholder: '请输入关键词查询',
clearable: true, clearable: true,
filterable: true, filterable: true,
checkStrictly: true checkStrictly: true
} }
}, },
{ {
label: '项目费用', label: '项目人员',
prop: 'projectCost', prop: 'projectCost',
component: shallowRef(fvSelect), component: shallowRef(fvSelect),
props: { props: {
placeholder: '请选择项目费用查询', placeholder: '请选择项目人员查询',
clearable: true, clearable: true,
filterable: true, filterable: true,
checkStrictly: true, checkStrictly: true,
cacheKey: 'project_cost' cacheKey: ''
} }
}, },
{ {
label: '起始时间', label: '时间',
prop: 'datetime', prop: 'datetime',
component: 'el-date-picker', component: 'el-date-picker',
props: { props: {
placeholder: '请选择起始时间', placeholder: '请选择时间',
clearable: true, clearable: true,
}, }
colProps: {}
} }
]) ])
const tableIns = ref() const tableIns = ref()
@@ -52,6 +51,7 @@ const tableConfig = reactive({
prop: 'name', prop: 'name',
type: 'index', type: 'index',
label: '序号', label: '序号',
align: 'center',
width:'80' width:'80'
}, },
{ {
@@ -100,7 +100,7 @@ const tableConfig = reactive({
align: 'center' align: 'center'
} }
], ],
api: '', api: '/workflow/mosr/cost/allocation/usr',
params: {}, params: {},
}) })