设备数据名称交验
材料卡片图片数据
This commit is contained in:
parent
43f0448094
commit
5053aca455
@ -193,6 +193,7 @@ export default {
|
||||
return {
|
||||
form: new EquipmentData(),
|
||||
rules: {
|
||||
name: [{ required: true, message: '请填写数据名称', trigger: 'blur' }],
|
||||
dateTime: [{ required: true, message: '请选择时间', trigger: 'blur' }],
|
||||
},
|
||||
isReadonly: false,
|
||||
@ -222,6 +223,8 @@ export default {
|
||||
this.equipment = this.currentEquipment;
|
||||
this.queryLaboratoryInfo();
|
||||
if (this.mode === 'details') {
|
||||
|
||||
this.isReadonly=true
|
||||
this.form = this.currentEquData;
|
||||
let { images } = this.form;
|
||||
//图片填充
|
||||
|
@ -76,7 +76,7 @@
|
||||
<el-image
|
||||
fit="contain"
|
||||
style="width: 200px; height: 200px"
|
||||
:src="material.imageUrlPreviewPath">
|
||||
:src="material.compressionUrl">
|
||||
<template #error>
|
||||
<div class="image-slot">
|
||||
<!–
|
||||
|
Loading…
x
Reference in New Issue
Block a user