update 基本完成质量管理和基础资料

This commit is contained in:
2022-08-18 09:01:06 +08:00
parent a15e78dcaf
commit 93b401071a
4 changed files with 76 additions and 29 deletions

View File

@@ -13,7 +13,7 @@
<!-- :before-remove="beforeRemove" -->
<!-- accept="image/*" -->
<!-- <el-upload class="yd-upload" :action="$http.adornUrl(url)" multiple name="files" :data="extraParams" :file-list="fileList" :on-remove="handleRemove" :before-remove="beforeRemove"> -->
<el-button size="small" type="primary">{{ buttonContent }}</el-button>
<el-button :disabled="readOnly" size="small" type="primary">{{ buttonContent }}</el-button>
<div v-if="tip" slot="tip" class="el-upload__tip">{{ tip }}</div>
</el-upload>
</div>
@@ -39,6 +39,10 @@ export default {
// 从外部传进来 fileList用于展示文件列表用
type: Array,
default: () => []
},
readOnly: {
type: Boolean,
default: false
}
},
// inject: {