From 4342cf5cb0ff18c4718a93b4ac8aa2627113dfff Mon Sep 17 00:00:00 2001 From: hzz Date: Fri, 29 Mar 2024 17:02:55 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=BE=E5=A4=87=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/ImageUpload/index.vue | 2 +- src/layout/components/Sidebar/Logo.vue | 2 +- src/views/casm/device/index.vue | 158 ++++++++++++++++++------- src/views/casm/device/info.vue | 56 +++++++++ src/views/casm/product/index.vue | 10 ++ 5 files changed, 180 insertions(+), 48 deletions(-) create mode 100644 src/views/casm/device/info.vue create mode 100644 src/views/casm/product/index.vue diff --git a/src/components/ImageUpload/index.vue b/src/components/ImageUpload/index.vue index 55dafb8..43eb411 100644 --- a/src/components/ImageUpload/index.vue +++ b/src/components/ImageUpload/index.vue @@ -148,7 +148,7 @@ function handleExceed() { // 上传成功回调 function handleUploadSuccess(res, file) { if (res.code === 200) { - uploadList.value.push({ name: res.fileName, url: res.fileName }); + uploadList.value.push({ name: res.fileName, url: baseUrl + res.fileName }); uploadedSuccessfully(); } else { number.value--; diff --git a/src/layout/components/Sidebar/Logo.vue b/src/layout/components/Sidebar/Logo.vue index 67582d0..38cac47 100644 --- a/src/layout/components/Sidebar/Logo.vue +++ b/src/layout/components/Sidebar/Logo.vue @@ -6,7 +6,7 @@

{{ title }}

- +

{{ title }}

diff --git a/src/views/casm/device/index.vue b/src/views/casm/device/index.vue index 18ec190..6108f24 100644 --- a/src/views/casm/device/index.vue +++ b/src/views/casm/device/index.vue @@ -59,37 +59,45 @@ 删除 - + + - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + - - + diff --git a/src/views/casm/device/info.vue b/src/views/casm/device/info.vue new file mode 100644 index 0000000..05b7f8d --- /dev/null +++ b/src/views/casm/device/info.vue @@ -0,0 +1,56 @@ + + + + + diff --git a/src/views/casm/product/index.vue b/src/views/casm/product/index.vue new file mode 100644 index 0000000..bbc827c --- /dev/null +++ b/src/views/casm/product/index.vue @@ -0,0 +1,10 @@ + + + + +