diff --git a/.env.development b/.env.development index 3f8e523..17f2191 100644 --- a/.env.development +++ b/.env.development @@ -1,5 +1,5 @@ # 页面标题 -VUE_APP_TITLE = 电动车v2 +VUE_APP_TITLE = 爆灯系统 # 开发环境配置 ENV = 'development' diff --git a/.env.production b/.env.production index ee5838a..28edfbb 100644 --- a/.env.production +++ b/.env.production @@ -1,5 +1,5 @@ # 页面标题 -VUE_APP_TITLE = 小鹿骑行管理系统 +VUE_APP_TITLE = 爆灯后台管理系统 # 生产环境配置 ENV = 'production' @@ -11,4 +11,4 @@ VUE_APP_BASE_API = '/prod-api' VUE_APP_QINIU_DOMAIN = 'https://api.ccttiot.com' # WebSocket地址 -VUE_APP_WS_HOST = 'wss://pm.chuangtewl.com/prod-api' \ No newline at end of file +VUE_APP_WS_HOST = 'wss://pm.chuangtewl.com/prod-api' diff --git a/.env.staging b/.env.staging index a6f477a..ba43d0e 100644 --- a/.env.staging +++ b/.env.staging @@ -1,5 +1,5 @@ # 页面标题 -VUE_APP_TITLE = 小鹿骑行管理系统 +VUE_APP_TITLE = 爆灯后台管理系统 NODE_ENV = production diff --git a/public/favicon.ico b/public/favicon.ico index 05726a9..cfb6e29 100644 Binary files a/public/favicon.ico and b/public/favicon.ico differ diff --git a/src/api/bst/booth.js b/src/api/bst/booth.js new file mode 100644 index 0000000..2ed1867 --- /dev/null +++ b/src/api/bst/booth.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询卡座列表 +export function listBooth(query) { + return request({ + url: '/bst/booth/list', + method: 'get', + params: query + }) +} + +// 查询卡座详细 +export function getBooth(boothId) { + return request({ + url: '/bst/booth/' + boothId, + method: 'get' + }) +} + +// 新增卡座 +export function addBooth(data) { + return request({ + url: '/bst/booth', + method: 'post', + data: data + }) +} + +// 修改卡座 +export function updateBooth(data) { + return request({ + url: '/bst/booth', + method: 'put', + data: data + }) +} + +// 删除卡座 +export function delBooth(boothId) { + return request({ + url: '/bst/booth/' + boothId, + method: 'delete' + }) +} diff --git a/src/api/bst/part.js b/src/api/bst/part.js new file mode 100644 index 0000000..9e422a3 --- /dev/null +++ b/src/api/bst/part.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询分区列表 +export function listPart(query) { + return request({ + url: '/bst/part/list', + method: 'get', + params: query + }) +} + +// 查询分区详细 +export function getPart(partId) { + return request({ + url: '/bst/part/' + partId, + method: 'get' + }) +} + +// 新增分区 +export function addPart(data) { + return request({ + url: '/bst/part', + method: 'post', + data: data + }) +} + +// 修改分区 +export function updatePart(data) { + return request({ + url: '/bst/part', + method: 'put', + data: data + }) +} + +// 删除分区 +export function delPart(partId) { + return request({ + url: '/bst/part/' + partId, + method: 'delete' + }) +} diff --git a/src/api/bst/store.js b/src/api/bst/store.js new file mode 100644 index 0000000..faff5d5 --- /dev/null +++ b/src/api/bst/store.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询店铺列表 +export function listStore(query) { + return request({ + url: '/bst/store/list', + method: 'get', + params: query + }) +} + +// 查询店铺详细 +export function getStore(storeId) { + return request({ + url: '/bst/store/' + storeId, + method: 'get' + }) +} + +// 新增店铺 +export function addStore(data) { + return request({ + url: '/bst/store', + method: 'post', + data: data + }) +} + +// 修改店铺 +export function updateStore(data) { + return request({ + url: '/bst/store', + method: 'put', + data: data + }) +} + +// 删除店铺 +export function delStore(storeId) { + return request({ + url: '/bst/store/' + storeId, + method: 'delete' + }) +} diff --git a/src/assets/images/login-background.jpg b/src/assets/images/login-background.jpg new file mode 100644 index 0000000..8636c8d Binary files /dev/null and b/src/assets/images/login-background.jpg differ diff --git a/src/assets/images/login-background.png b/src/assets/images/login-background.png deleted file mode 100644 index 8969f01..0000000 Binary files a/src/assets/images/login-background.png and /dev/null differ diff --git a/src/assets/logo/logo.png b/src/assets/logo/logo.png index 4856c70..7c80c85 100644 Binary files a/src/assets/logo/logo.png and b/src/assets/logo/logo.png differ diff --git a/src/store/modules/settings.js b/src/store/modules/settings.js index 2455a1e..d57494c 100644 --- a/src/store/modules/settings.js +++ b/src/store/modules/settings.js @@ -5,7 +5,7 @@ const { sideTheme, showSettings, topNav, tagsView, fixedHeader, sidebarLogo, dyn const storageSetting = JSON.parse(localStorage.getItem('layout-setting')) || '' const state = { title: '', - theme: storageSetting.theme || '#409EFF', + theme: storageSetting.theme || '#fe4757', sideTheme: storageSetting.sideTheme || sideTheme, showSettings: showSettings, topNav: storageSetting.topNav === undefined ? topNav : storageSetting.topNav, diff --git a/src/views/bst/booth/index.vue b/src/views/bst/booth/index.vue new file mode 100644 index 0000000..8bbd94a --- /dev/null +++ b/src/views/bst/booth/index.vue @@ -0,0 +1,312 @@ + + + diff --git a/src/views/bst/part/index.vue b/src/views/bst/part/index.vue new file mode 100644 index 0000000..1619762 --- /dev/null +++ b/src/views/bst/part/index.vue @@ -0,0 +1,314 @@ + + + diff --git a/src/views/bst/store/index.vue b/src/views/bst/store/index.vue new file mode 100644 index 0000000..fa5d29c --- /dev/null +++ b/src/views/bst/store/index.vue @@ -0,0 +1,416 @@ + + + diff --git a/src/views/login.vue b/src/views/login.vue index 6a1ce8e..bbfae3d 100644 --- a/src/views/login.vue +++ b/src/views/login.vue @@ -4,7 +4,7 @@

- 小鹿骑行管理系统 + 爆灯后台管理系统

-

小鹿骑行管理系统

+

爆灯后台管理系统

@@ -151,7 +151,7 @@ export default { justify-content: center; align-items: center; height: 100%; - background-image: url("../assets/images/login-background.png"); + background-image: url("../assets/images/login-background.jpg"); background-size: cover; } .title { diff --git a/vue.config.js b/vue.config.js index 6be1a41..38bb415 100644 --- a/vue.config.js +++ b/vue.config.js @@ -7,7 +7,7 @@ function resolve(dir) { const CompressionPlugin = require('compression-webpack-plugin') -const name = process.env.VUE_APP_TITLE || '小鹿骑行管理系统' // 网页标题 +const name = process.env.VUE_APP_TITLE || '爆灯后台管理系统' // 网页标题 const port = process.env.port || process.env.npm_config_port || 4100 // 端口 @@ -36,7 +36,7 @@ module.exports = { proxy: { // detail: https://cli.vuejs.org/config/#devserver-proxy [process.env.VUE_APP_BASE_API]: { - target: `http://localhost:4101`, + target: `http://localhost:4301`, // target: `https://ele.ccttiot.com/prod-api`, changeOrigin: true, pathRewrite: {