From f505a805df6066b4194993c9d42dad615688645b Mon Sep 17 00:00:00 2001 From: roger_mac Date: Tue, 10 Jun 2025 06:58:34 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=B8=B4=E6=97=B6=E4=BB=A3?= =?UTF-8?q?=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apis/product.js | 8 + src/components/product/ProductHistory.vue | 28 +++ src/views/config/index.vue | 240 ++++++++++++++++++++++ 3 files changed, 276 insertions(+) create mode 100644 src/components/product/ProductHistory.vue create mode 100644 src/views/config/index.vue diff --git a/src/apis/product.js b/src/apis/product.js index 422412d..fa2af56 100644 --- a/src/apis/product.js +++ b/src/apis/product.js @@ -77,4 +77,12 @@ export const prd_delete = (id) => { url: `/prd/prd_delete/${id}/`, method: 'delete', }) +} + +// 获取历史数据 +export const prd_history = (id) => { + return request({ + url: `/prd/prd_history/${id}/`, + method: 'get', + }) } \ No newline at end of file diff --git a/src/components/product/ProductHistory.vue b/src/components/product/ProductHistory.vue new file mode 100644 index 0000000..5d2f329 --- /dev/null +++ b/src/components/product/ProductHistory.vue @@ -0,0 +1,28 @@ + + + + + \ No newline at end of file diff --git a/src/views/config/index.vue b/src/views/config/index.vue new file mode 100644 index 0000000..b6e5aec --- /dev/null +++ b/src/views/config/index.vue @@ -0,0 +1,240 @@ + + + + + +