导入调整
This commit is contained in:
parent
38d1bab8ca
commit
8222ce437b
@ -78,7 +78,7 @@
|
||||
</el-row>
|
||||
<el-row type="flex" align="middle">
|
||||
<el-col :span="24">
|
||||
<el-form-item label="上传文件" prop="fileInfo">
|
||||
<el-form-item label="上传文件" prop="fileUrl">
|
||||
<upload-import :file-list="fileList" :max-count="1"
|
||||
:show-file-name="true"
|
||||
accept=".xls,.xlsx"
|
||||
@ -125,7 +125,7 @@ import apipk from "@/services/casePackageManagement";
|
||||
entrustingAgencyName:'',//金融机构名称
|
||||
planStartTime:'',//委案时间
|
||||
months:1,//委案期限
|
||||
fileInfo:null,
|
||||
fileUrl:null,
|
||||
channel:'',
|
||||
|
||||
},
|
||||
@ -142,7 +142,7 @@ import apipk from "@/services/casePackageManagement";
|
||||
channel: [
|
||||
{ required: true, message: '请输入委案渠道', trigger: 'change',},
|
||||
],
|
||||
fileInfo: [
|
||||
fileUrl: [
|
||||
{ required: true, message: '请上传文件', trigger: 'change',},
|
||||
],
|
||||
|
||||
@ -217,11 +217,11 @@ import apipk from "@/services/casePackageManagement";
|
||||
}
|
||||
})
|
||||
if(fileitem.length == 0 ){
|
||||
this.baseInfo.fileInfo = null
|
||||
this.baseInfo.fileUrl = null
|
||||
}
|
||||
else
|
||||
{
|
||||
this.baseInfo.fileInfo = JsonData.uploadFileRes
|
||||
this.baseInfo.fileUrl = JsonData.uploadFileRes.url
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
@ -76,7 +76,7 @@
|
||||
</el-row>
|
||||
<el-row type="flex" align="middle">
|
||||
<el-col :span="24">
|
||||
<el-form-item label="上传文件" prop="fileInfo">
|
||||
<el-form-item label="上传文件" prop="fileUrl">
|
||||
<upload-import :file-list="fileList" :max-count="1"
|
||||
:show-file-name="true"
|
||||
accept=".xls,.xlsx"
|
||||
@ -128,7 +128,7 @@ import apipk from "@/services/casePackageManagement";
|
||||
entrustingAgencyName:'',//金融机构名称
|
||||
planStartTime:'',//委案时间
|
||||
months:1,//委案期限
|
||||
fileInfo:null,
|
||||
fileUrl:null,
|
||||
channel:'',
|
||||
|
||||
},
|
||||
@ -148,7 +148,7 @@ import apipk from "@/services/casePackageManagement";
|
||||
channel: [
|
||||
{ required: true, message: '请输入委案渠道', trigger: 'change',},
|
||||
],
|
||||
fileInfo: [
|
||||
fileUrl: [
|
||||
{ required: true, message: '请上传文件', trigger: 'change',},
|
||||
],
|
||||
|
||||
@ -194,11 +194,11 @@ import apipk from "@/services/casePackageManagement";
|
||||
}
|
||||
})
|
||||
if(fileitem.length == 0 ){
|
||||
this.baseInfo.fileInfo = null
|
||||
this.baseInfo.fileUrl = null
|
||||
}
|
||||
else
|
||||
{
|
||||
this.baseInfo.fileInfo = JsonData.uploadFileRes
|
||||
this.baseInfo.fileUrl = JsonData.uploadFileRes.url
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user