Prechádzať zdrojové kódy

Merge remote-tracking branch 'origin/develop' into develop

maqingyang 11 mesiacov pred
rodič
commit
31b4768456
1 zmenil súbory, kde vykonal 2 pridanie a 1 odobranie
  1. 2 1
      src/views/system/businessInfo.vue

+ 2 - 1
src/views/system/businessInfo.vue

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