fix : 需求上报详情删除重复项,优化台账上方基础信息排版,表格内容少时固定宽度,驳回弹窗'重新提交'改为'发起节点'

This commit is contained in:
2024-08-06 15:06:29 +08:00
parent ab191e940b
commit 33e6ad37b9
15 changed files with 191 additions and 273 deletions

View File

@@ -1,11 +1,11 @@
<template>
<view style="overflow-y: scroll">
<view style="overflow-y: scroll;">
<baseTitle title="项目基本信息"></baseTitle>
<fvForm :schema="schema" @getInstance="(e)=>baseForm = e" label-position="left" label-width="left"></fvForm>
<baseTitle title="表格更新数据" style="margin-top: -10px"></baseTitle>
<fvForm :schema="tableUpdateData" @getInstance="(e)=>tableUpdateFormData = e"></fvForm>
<fvForm :schema="schema" @getInstance="(e)=>baseForm = e" label-position="left" label-width="left" style="margin-left: 15px"></fvForm>
<baseTitle title="研发台账明细" style="margin-top: -10px"></baseTitle>
<fvForm :schema="tableUpdateData" @getInstance="(e)=>tableUpdateFormData = e" style="margin-left: 15px"></fvForm>
<fvSearchForm :searchConfig="searchConfig" @search="search"></fvSearchForm>
<div style="display: flex">
<div style="display: flex;margin-left: 15px" >
<el-button color="#DED0B2" @click="exportExcelHandler">导出</el-button>
<import-excel :projectId="projectId" v-if="buttonShow" @success="importTheExpenseLedger"/>
<el-button color="#DED0B2" v-if="buttonShow" @click="handleImportTemplateDownload">模板下载</el-button>
@@ -244,22 +244,22 @@ const tableUpdateData = computed(() => {
},
labelWidth:'left'
},
{
label: '项目开始时间',
prop: 'startTime',
colProps: {
span: 6
},
labelWidth:'left'
},
{
label: '项目预计持续时间',
prop: 'endTime',
colProps: {
span: 6
},
labelWidth:'left'
},
// {
// label: '项目开始时间',
// prop: 'startTime',
// colProps: {
// span: 6
// },
// labelWidth:'left'
// },
// {
// label: '项目预计持续时间',
// prop: 'endTime',
// colProps: {
// span: 6
// },
// labelWidth:'left'
// },
{
label: '项目开展方式',
prop: 'projectDevelopmentWay',
@@ -268,14 +268,14 @@ const tableUpdateData = computed(() => {
},
labelWidth:'left'
},
{
label: '项目预算',
prop: 'projectBudgetDescription',
colProps: {
span: 24
},
labelWidth:'left'
},
// {
// label: '项目预算',
// prop: 'projectBudgetDescription',
// colProps: {
// span: 24
// },
// labelWidth:'left'
// },
{
label: '项目总体完成率',
prop: 'projectCompletionRate',
@@ -548,11 +548,29 @@ onActivated(() => {
min-height: 400px !important;
}
:deep(.el-form-item__label-wrap){
margin-left: 0!important;
margin-left: 15px!important;
}
:deep(.el-form-item__content){
.el-input{
width: 100%!important;
}
}
.search-form {
padding-top: 0!important;
}
:deep(.el-table__header){
.is-leaf:first-child{
.cell{
margin-left: -20px!important;
}
}
}
:deep(.el-table__body){
.el-table__cell:first-child{
.cell{
margin-left: -10px!important;
}
}
}
</style>