diff --git a/src/components/base-dialog/addOrUpdate/index.vue b/src/components/base-dialog/addOrUpdate/index.vue index 1df1347..5251e1f 100644 --- a/src/components/base-dialog/addOrUpdate/index.vue +++ b/src/components/base-dialog/addOrUpdate/index.vue @@ -45,7 +45,8 @@ diff --git a/src/components/base-upload/index.vue b/src/components/base-upload/index.vue new file mode 100644 index 0000000..f873be0 --- /dev/null +++ b/src/components/base-upload/index.vue @@ -0,0 +1,9 @@ + + + \ No newline at end of file diff --git a/src/views/modules/monitoring/equipmentType.vue b/src/views/modules/monitoring/equipmentType.vue index 0ebe2b9..85d6416 100644 --- a/src/views/modules/monitoring/equipmentType.vue +++ b/src/views/modules/monitoring/equipmentType.vue @@ -79,7 +79,15 @@ const addOrUpdateConfigs = { { name: 'save', url: '/monitoring/equipmentType', permission: '', showOnEdit: false }, { name: 'update', url: '/monitoring/equipmentType', permission: '', showOnEdit: true } ], - extraComponents: null + extraComponents: [ + { + name: 'file-upload-key', + label: '上传资料', + component: null, + props: { // 上传组件需要的 props + } + } + ] } export default {