From f8846578b48f384afdd01afc8cdc7f29646749ff Mon Sep 17 00:00:00 2001 From: LukaJames Date: Mon, 21 Apr 2025 03:14:00 +0800 Subject: [PATCH] =?UTF-8?q?feat(All)=E4=B8=AA=E5=88=AB=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E6=96=B0=E5=A2=9E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 2 +- .env.production | 2 +- package.json | 4 +- src/api/business/supplier.js | 44 ++++ src/layout/components/Sidebar/Logo.vue | 2 +- src/views/business/supplier/index.vue | 313 +++++++++++++++++++++++++ src/views/login.vue | 2 +- src/views/system/notice/index.vue | 19 +- src/views/tool/build/RightPanel.vue | 58 +++++ vue.config.js | 2 +- 10 files changed, 439 insertions(+), 9 deletions(-) create mode 100644 src/api/business/supplier.js create mode 100644 src/views/business/supplier/index.vue diff --git a/.env.development b/.env.development index 8d6f493..2d9b383 100644 --- a/.env.development +++ b/.env.development @@ -1,5 +1,5 @@ # 页面标题 -VUE_APP_TITLE = RuoYi-Flowable-Plus后台管理系统 +VUE_APP_TITLE = 报价管理系统 # 开发环境配置 ENV = 'development' diff --git a/.env.production b/.env.production index f8d34a7..f12658b 100644 --- a/.env.production +++ b/.env.production @@ -1,5 +1,5 @@ # 页面标题 -VUE_APP_TITLE = RuoYi-Flowable-Plus后台管理系统 +VUE_APP_TITLE = 报价管理系统 # 生产环境配置 ENV = 'production' diff --git a/package.json b/package.json index 5c1e44d..4817a4f 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { - "name": "ruoyi-flowable-plus", + "name": "quotation-system", "version": "0.8.3", - "description": "RuoYi-Flowable-Plus后台管理系统", + "description": "报价管理系统", "author": "KonBAI", "license": "MIT", "scripts": { diff --git a/src/api/business/supplier.js b/src/api/business/supplier.js new file mode 100644 index 0000000..6b6ada0 --- /dev/null +++ b/src/api/business/supplier.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询供应商信息列表 +export function listSupplier(query) { + return request({ + url: '/business/supplier/list', + method: 'get', + params: query + }) +} + +// 查询供应商信息详细 +export function getSupplier(supplierId) { + return request({ + url: '/business/supplier/' + supplierId, + method: 'get' + }) +} + +// 新增供应商信息 +export function addSupplier(data) { + return request({ + url: '/business/supplier', + method: 'post', + data: data + }) +} + +// 修改供应商信息 +export function updateSupplier(data) { + return request({ + url: '/business/supplier', + method: 'put', + data: data + }) +} + +// 删除供应商信息 +export function delSupplier(supplierId) { + return request({ + url: '/business/supplier/' + supplierId, + method: 'delete' + }) +} diff --git a/src/layout/components/Sidebar/Logo.vue b/src/layout/components/Sidebar/Logo.vue index d768ae1..8a1afa2 100644 --- a/src/layout/components/Sidebar/Logo.vue +++ b/src/layout/components/Sidebar/Logo.vue @@ -35,7 +35,7 @@ export default { }, data() { return { - title: 'RuoYi-Flowable-Plus', + title: '报价管理系统', logo: logoImg } } diff --git a/src/views/business/supplier/index.vue b/src/views/business/supplier/index.vue new file mode 100644 index 0000000..e99651d --- /dev/null +++ b/src/views/business/supplier/index.vue @@ -0,0 +1,313 @@ + + + diff --git a/src/views/login.vue b/src/views/login.vue index 485542f..1190a69 100644 --- a/src/views/login.vue +++ b/src/views/login.vue @@ -1,7 +1,7 @@ + + +