diff --git a/src/components/base-upload/index.vue b/src/components/base-upload/index.vue
index f873be0..5a3d99f 100644
--- a/src/components/base-upload/index.vue
+++ b/src/components/base-upload/index.vue
@@ -1,9 +1,50 @@
-
+
+
+ {{ buttonContent }}
+ {{ tip }}
+
+
\ No newline at end of file
+
+
+
diff --git a/src/views/modules/monitoring/equipmentType.vue b/src/views/modules/monitoring/equipmentType.vue
index 85d6416..bb2267a 100644
--- a/src/views/modules/monitoring/equipmentType.vue
+++ b/src/views/modules/monitoring/equipmentType.vue
@@ -83,8 +83,11 @@ const addOrUpdateConfigs = {
{
name: 'file-upload-key',
label: '上传资料',
- component: null,
+ component: () => import('@/components/base-upload'),
props: { // 上传组件需要的 props
+ url: "/monitoring/attachment/uploadFileFormData?typeCode=EquipmentTypeFile",
+ buttonContent: '点击上传',
+ tip: '上传文件大小不要超过 2mb (2048kb)'
}
}
]