|
@@ -584,6 +584,7 @@
|
|
if(this.model_type == "模型文件"){
|
|
if(this.model_type == "模型文件"){
|
|
this.fileNameModel = "1"
|
|
this.fileNameModel = "1"
|
|
}
|
|
}
|
|
|
|
+ else {
|
|
if(item.raw.name.toString().endsWith("txt")){
|
|
if(item.raw.name.toString().endsWith("txt")){
|
|
this.fileNameTxt = "1"
|
|
this.fileNameTxt = "1"
|
|
}
|
|
}
|
|
@@ -595,7 +596,7 @@
|
|
this.$alert("请上传正确的文件类型");
|
|
this.$alert("请上传正确的文件类型");
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
- }
|
|
|
|
|
|
+ }}
|
|
request.post('/report/fileReportAdd',{
|
|
request.post('/report/fileReportAdd',{
|
|
file_name : this.customerName+"_"+this.headInfId+"_"+item.raw.name,
|
|
file_name : this.customerName+"_"+this.headInfId+"_"+item.raw.name,
|
|
fileModel:this.fileNameModel,
|
|
fileModel:this.fileNameModel,
|