From 496e833267ebfc9a65922867b561b5a0e1dda722 Mon Sep 17 00:00:00 2001 From: zzyuan <781948537@qq.com> Date: Mon, 25 Nov 2024 17:43:35 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A3=85=E5=A4=87=E5=88=97=E8=A1=A8=E5=8A=9F?= =?UTF-8?q?=E8=83=BD=E5=AE=8C=E5=96=84=E6=8E=A5=E5=8F=A3=E5=AF=B9=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 4 +- .env.production | 4 +- .env.staging | 4 +- package.json | 2 +- src/api/lessor/equipment.js | 18 +- src/views/index.vue | 45 +- src/views/lessor/equipment/detail.vue | 568 +++++++++++++++++--------- src/views/lessor/equipment/index.vue | 145 ++++--- src/views/login.vue | 2 +- src/views/login1.vue | 2 +- src/views/register.vue | 2 +- src/views/register1.vue | 2 +- vue.config.js | 2 +- 13 files changed, 498 insertions(+), 302 deletions(-) diff --git a/.env.development b/.env.development index e2949acf..557869a8 100644 --- a/.env.development +++ b/.env.development @@ -1,10 +1,10 @@ # 页面标题 -VUE_APP_TITLE = 博诺思管理系统 +VUE_APP_TITLE = 安徽机械化施工装备平台 # 开发环境配置 ENV = 'development' -# 博诺思管理系统/开发环境 +# 安徽机械化施工装备平台/开发环境 VUE_APP_BASE_API = '/dev-api' # 路由懒加载 diff --git a/.env.production b/.env.production index aa22a934..25dea973 100644 --- a/.env.production +++ b/.env.production @@ -1,8 +1,8 @@ # 页面标题 -VUE_APP_TITLE = 博诺思管理系统 +VUE_APP_TITLE = 安徽机械化施工装备平台 # 生产环境配置 ENV = 'production' -# 博诺思管理系统/生产环境 +# 安徽机械化施工装备平台/生产环境 VUE_APP_BASE_API = '/prod-api' diff --git a/.env.staging b/.env.staging index 455b9ac1..32b991d0 100644 --- a/.env.staging +++ b/.env.staging @@ -1,10 +1,10 @@ # 页面标题 -VUE_APP_TITLE = 博诺思管理系统 +VUE_APP_TITLE = 安徽机械化施工装备平台 NODE_ENV = production # 测试环境配置 ENV = 'staging' -# 博诺思管理系统/测试环境 +# 安徽机械化施工装备平台/测试环境 VUE_APP_BASE_API = '/stage-api' diff --git a/package.json b/package.json index 8dbc90a0..b8e8d872 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "bonus", "version": "3.6.4", - "description": "博诺思管理系统", + "description": "安徽机械化施工装备平台", "author": "博诺思", "license": "MIT", "scripts": { diff --git a/src/api/lessor/equipment.js b/src/api/lessor/equipment.js index ef5aa262..f2c231ba 100644 --- a/src/api/lessor/equipment.js +++ b/src/api/lessor/equipment.js @@ -33,6 +33,15 @@ export function updateDevice(data) { data: data, }) } + + //保存草稿 + export function insertDraft(data) { + return request({ + url: '/material-mall/dev/insertDraft', + method: 'post', + data: data, + }) + } //装备装备类目树结构数据 export function getEquipmentType(query) { @@ -61,7 +70,14 @@ export function updateUpDown(data) { }) } - + //上下架(批量) +export function companyList(query) { + return request({ + url: '/material-mall/dev/companyList', + method: 'get', + params: query + }) +} diff --git a/src/views/index.vue b/src/views/index.vue index 4a73b73f..04b9b8b5 100644 --- a/src/views/index.vue +++ b/src/views/index.vue @@ -2,44 +2,11 @@
-

博诺思后台管理框架

-

+

安徽机械化施工装备平台

+ +
@@ -60,7 +27,7 @@ - +
diff --git a/src/views/lessor/equipment/detail.vue b/src/views/lessor/equipment/detail.vue index 900e3e97..4687d3c5 100644 --- a/src/views/lessor/equipment/detail.vue +++ b/src/views/lessor/equipment/detail.vue @@ -1,23 +1,22 @@ @@ -156,7 +157,7 @@