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