From ab863be7e30130a070cc6fd61acf4d91582b9afa Mon Sep 17 00:00:00 2001 From: lijiayao <13831655+xiao-yao-charge-forward@user.noreply.gitee.com> Date: Sun, 31 Mar 2024 10:22:02 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=96=B0=E5=A2=9E=E3=80=81=E5=88=A0?= =?UTF-8?q?=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 2 +- .env.production | 2 +- .env.staging | 2 +- package.json | 4 +- src/api/couplet/fence.js | 66 +++++++ src/views/couplet/fence/index.vue | 311 +++++++++++++++++++++++++++--- src/views/index.vue | 2 +- vue.config.js | 2 +- 8 files changed, 357 insertions(+), 34 deletions(-) create mode 100644 src/api/couplet/fence.js diff --git a/.env.development b/.env.development index 302ecd1..65c64ce 100644 --- a/.env.development +++ b/.env.development @@ -1,5 +1,5 @@ # 页面标题 -VUE_APP_TITLE = 若依管理系统 +VUE_APP_TITLE = 车联管理系统 # 开发环境配置 ENV = 'development' diff --git a/.env.production b/.env.production index b4893b0..d1d8169 100644 --- a/.env.production +++ b/.env.production @@ -1,5 +1,5 @@ # 页面标题 -VUE_APP_TITLE = 若依管理系统 +VUE_APP_TITLE = 系统 # 生产环境配置 ENV = 'production' diff --git a/.env.staging b/.env.staging index 361859f..f15e86f 100644 --- a/.env.staging +++ b/.env.staging @@ -1,5 +1,5 @@ # 页面标题 -VUE_APP_TITLE = 若依管理系统 +VUE_APP_TITLE = 智能车联管理系统 NODE_ENV = production diff --git a/package.json b/package.json index 2595125..84044c8 100644 --- a/package.json +++ b/package.json @@ -1,8 +1,8 @@ { "name": "muyu", "version": "3.6.3", - "description": "若依管理系统", - "author": "若依", + "description": "车联网管理系统", + "author": "车联", "license": "MIT", "scripts": { "dev": "vue-cli-service serve", diff --git a/src/api/couplet/fence.js b/src/api/couplet/fence.js new file mode 100644 index 0000000..9fce4eb --- /dev/null +++ b/src/api/couplet/fence.js @@ -0,0 +1,66 @@ +import request from '@/utils/request' + +// 查询电子围栏列表 +export function fenceList(data) { + return request({ + url: '/couplet/fence/fenceList', + method: 'post', + data + }) +} + +/** + * 新增电子围栏列表 + */ +export function fenceAdd(data) { + return request({ + url: '/couplet/fence/fenceAdd', + method: 'post', + data + }) +} +/** + * 修改电子围栏列表 + */ +export function fenceUpdate(data) { + return request({ + url: '/couplet/fence/fenceUpdate', + method: 'post', + data + }) +} + +/** + * 电子围栏删除 + * @param fenceUpdate + * @returns {*} + */ +export function fenceDelete(data) { + return request({ + url: '/couplet/fence/'+data, + method: 'delete' + }) +} +/** + * 电子围栏停用 + * @param data + * @returns {*} + */ +export function changeFenceStatus(data) { + return request({ + url: '/couplet/fence/fenceState/', + method: 'post', + data + }) +} +/** + * 查询标识 + * @param data + * @returns {*} + */ +export function queryByLogo() { + return request({ + url: '/couplet/logo/queryByLogo', + method: 'post' + }) +} diff --git a/src/views/couplet/fence/index.vue b/src/views/couplet/fence/index.vue index fb59894..e950b5a 100644 --- a/src/views/couplet/fence/index.vue +++ b/src/views/couplet/fence/index.vue @@ -1,32 +1,159 @@ diff --git a/src/views/index.vue b/src/views/index.vue index 93edae1..294a4be 100644 --- a/src/views/index.vue +++ b/src/views/index.vue @@ -44,7 +44,7 @@ -

若依后台管理框架

+

车联后台管理框架

一直想做一款后台管理系统,看了很多优秀的开源项目但是发现没有合适自己的。于是利用空闲休息时间开始自己写一套后台系统。如此有了若依管理系统,她可以用于所有的Web应用程序,如网站管理后台,网站会员中心,CMS,CRM,OA等等,当然,您也可以对她进行深度定制,以做出更强系统。所有前端后台代码封装过后十分精简易上手,出错概率低。同时支持移动客户端访问。系统会陆续更新一些实用功能。

diff --git a/vue.config.js b/vue.config.js index dd8b15d..73cdcc8 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 || 80 // 端口