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 @@
+