jsk
This commit is contained in:
		
							parent
							
								
									3427938124
								
							
						
					
					
						commit
						2d61c70638
					
				| 
						 | 
				
			
			@ -158,9 +158,9 @@
 | 
			
		|||
          <tr>
 | 
			
		||||
            <th colspan="5" style="height: 40px;">设备参数</th>
 | 
			
		||||
          </tr>
 | 
			
		||||
          <tr v-for="(item,index) in sbcsList" :key="index">
 | 
			
		||||
          <!-- <tr v-for="(item,index) in sbcsList" :key="index">
 | 
			
		||||
            <td v-for="(subText,subIndex) in item.split('@')" :key="subIndex">{{subText}}</td>
 | 
			
		||||
          </tr>
 | 
			
		||||
          </tr> -->
 | 
			
		||||
        </table>
 | 
			
		||||
      </el-dialog>
 | 
			
		||||
    </div>
 | 
			
		||||
| 
						 | 
				
			
			@ -327,10 +327,15 @@
 | 
			
		|||
                }
 | 
			
		||||
                editProdectionApi(params).then(response => {
 | 
			
		||||
                    console.log("editProdectionApi",response);
 | 
			
		||||
                    if(response.code==200){
 | 
			
		||||
                      this.getList();
 | 
			
		||||
                      this.open = false;
 | 
			
		||||
                      this.$modal.msgSuccess("操作成功");
 | 
			
		||||
                      return;
 | 
			
		||||
                    }else{
 | 
			
		||||
                       this.$modal.msgError(response.msg);
 | 
			
		||||
                    }
 | 
			
		||||
 | 
			
		||||
                });
 | 
			
		||||
            },
 | 
			
		||||
            /** 删除按钮操作 */
 | 
			
		||||
| 
						 | 
				
			
			@ -392,9 +397,9 @@
 | 
			
		|||
            },
 | 
			
		||||
            // 上传之前
 | 
			
		||||
            handleBeforeUpload(file) {
 | 
			
		||||
                const isLt = file.size / 1024 / 1024 < 10
 | 
			
		||||
                const isLt = file.size / 1024 / 1024 < 20
 | 
			
		||||
                if (!isLt) {
 | 
			
		||||
                    this.$modal.msgError(`图片大小不能超过 10 MB`)
 | 
			
		||||
                    this.$modal.msgError(`图片大小不能超过 20 MB`)
 | 
			
		||||
                    return false
 | 
			
		||||
                }
 | 
			
		||||
            },
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue