From f6e06726db91ea9e9eb4418ba6c0bcfa9aae0253 Mon Sep 17 00:00:00 2001 From: wangchengming <15110151257@163.com> Date: Mon, 16 Dec 2024 17:28:39 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-ui/src/api/official/partnerSupplier.js | 8 + .../views/official/businessPartner/index.vue | 303 ++++++++++-------- .../src/views/official/supplier/index.vue | 40 ++- 3 files changed, 209 insertions(+), 142 deletions(-) diff --git a/ruoyi-ui/src/api/official/partnerSupplier.js b/ruoyi-ui/src/api/official/partnerSupplier.js index 442d858..86a9320 100644 --- a/ruoyi-ui/src/api/official/partnerSupplier.js +++ b/ruoyi-ui/src/api/official/partnerSupplier.js @@ -15,4 +15,12 @@ export function delPartnerSupplier(id) { url: '/official/companymessage/' + id, method: 'delete' }) +} + +export function downFile(url) { + return request({ + url: '/system/oss/download?imageUrl='+ url, + method: 'get', + responseType: 'blob', + }) } \ No newline at end of file diff --git a/ruoyi-ui/src/views/official/businessPartner/index.vue b/ruoyi-ui/src/views/official/businessPartner/index.vue index 755563f..69db90a 100644 --- a/ruoyi-ui/src/views/official/businessPartner/index.vue +++ b/ruoyi-ui/src/views/official/businessPartner/index.vue @@ -3,12 +3,7 @@ - + @@ -19,37 +14,36 @@ - 删除 + 删除 - + - - + + - + + + + diff --git a/ruoyi-ui/src/views/official/supplier/index.vue b/ruoyi-ui/src/views/official/supplier/index.vue index 313081a..46c465e 100644 --- a/ruoyi-ui/src/views/official/supplier/index.vue +++ b/ruoyi-ui/src/views/official/supplier/index.vue @@ -60,6 +60,13 @@
+ + +