fix : 修复获取流程接口的提示框

This commit is contained in:
2024-06-02 16:54:46 +08:00
parent 9b45135a18
commit e0ffef25bd
5 changed files with 38 additions and 20 deletions

View File

@@ -238,13 +238,20 @@ const init = async () => {
await getCompanyOption()
await getFundOptions()
getInfo(route.query.id).then(res => {
if (res.code !== 1000) {
ElNotification({
title: '提示',
message: res.msg,
type: 'error'
})
}
loading.value = false
let data = res.data
formData.value = data.formData;
data.formData.companyIds = getCompanyOptionItem(data.formData.companyIds)
if(data.formData.specialFund){
if (data.formData.specialFund) {
specialFundOption.value.forEach(item => {
if(data.formData.specialFund==item.value){
if (data.formData.specialFund == item.value) {
data.formData.specialFund = item.label
}
})
@@ -272,9 +279,11 @@ onMounted(async () => {
:deep(.el-empty__description) {
margin-top: 0;
}
:deep(.el-table--fit ){
height: 300px!important;
:deep(.el-table--fit ) {
height: 300px !important;
}
.detail-block {
overflow: hidden;
padding-right: 10px;