fix : 修复详情基本信息显示位置、项目验收、结项操作放在详情页面

This commit is contained in:
2024-06-10 15:25:28 +08:00
parent 3483a32d55
commit 07c089ed29
6 changed files with 178 additions and 135 deletions

View File

@@ -100,15 +100,15 @@ const schema = computed(() => {
}
},
{
label: '所属公司',
prop: 'affiliatedCompany',
label: '征集类型',
prop: 'collectType',
colProps: {
span: 12
}
},
{
label: '征集类型',
prop: 'collectType',
label: '所属公司',
prop: 'affiliatedCompany',
colProps: {
span: 12
}
@@ -119,7 +119,7 @@ const schema = computed(() => {
colProps: {
span: 12
}
},
}
]
})
@@ -275,6 +275,16 @@ const getBaseInfo = async () => {
const loading = ElLoading.service({fullscreen: true})
try {
const {code, data} = await getBaseInfoApi(route.query.projectId)
console.log('data.procedure',data.procedure,route.query.step)
if(route.query.step==='40'){
if(data.procedure.indexOf('40')==-1){
data.procedure.push('40')
}
}else if(route.query.step==='50'){
if(data.procedure.indexOf('50')==-1){
data.procedure.push('50')
}
}
localStepSuccess.value = formatProcedure(data.procedure)
baseForm.value.setValues(data)
emits('setDetail', formatActive(localActive.value))