lsun 协议管理
This commit is contained in:
		
							parent
							
								
									4ddaf1aee1
								
							
						
					
					
						commit
						9d5bcd5b4f
					
				| 
						 | 
				
			
			@ -645,7 +645,9 @@ export default {
 | 
			
		|||
    //** 提交按钮 */
 | 
			
		||||
    submitForm() {
 | 
			
		||||
      this.$refs["form"].validate(async valid => {
 | 
			
		||||
        if (valid) {
 | 
			
		||||
        this.form.projectId = this.form.proId;
 | 
			
		||||
        await this.addAgreementTemp(this.form);
 | 
			
		||||
        /*if (valid) {
 | 
			
		||||
          if (this.form.supplierId != undefined) {
 | 
			
		||||
            const reqData = new FormData();
 | 
			
		||||
            if(this.businessLicenseListTemp.length!=0){
 | 
			
		||||
| 
						 | 
				
			
			@ -658,15 +660,18 @@ export default {
 | 
			
		|||
            }
 | 
			
		||||
 | 
			
		||||
          } else {
 | 
			
		||||
            console.log(1)
 | 
			
		||||
            if(this.businessLicenseListTemp.length!=0){
 | 
			
		||||
              console.log(2)
 | 
			
		||||
              await  this.getImaUpload(),
 | 
			
		||||
                await this.addAgreementTemp(this.form);
 | 
			
		||||
            }else{
 | 
			
		||||
              console.log(3)
 | 
			
		||||
              await this.addAgreementTemp(this.form);
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
          }
 | 
			
		||||
        }
 | 
			
		||||
        }*/
 | 
			
		||||
      });
 | 
			
		||||
      this.uploadKey = Date.now();
 | 
			
		||||
    },
 | 
			
		||||
| 
						 | 
				
			
			@ -679,7 +684,7 @@ export default {
 | 
			
		|||
      console.log('res',res)
 | 
			
		||||
      if (res.code === 200) {
 | 
			
		||||
        res.data.forEach(item=>{
 | 
			
		||||
          let objTwo = { 'name': item.name, 'url': item.url,'modelId': null, 'fileType':4, 'taskType':9};
 | 
			
		||||
          let objTwo = { 'name': item.name, 'url': item.url, 'taskType':10};
 | 
			
		||||
          this.businessLicenseFileList.push(objTwo);
 | 
			
		||||
        })
 | 
			
		||||
      } else {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue