From 21e8fe446fe1f91e66090f9d8b9ef603f69fa512 Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Mon, 05 Jul 2021 16:55:48 +0800
Subject: [PATCH] 部分文字信息更换,图标更换,部分菜单创建
---
src/config/website.js | 6
src/lang/zh.js | 4
src/page/login/index.vue | 3
src/views/unitOperation/economics.vue | 22 ++++
public/img/logo.png | 0
vue.config.js | 2
public/index.html | 2
src/views/management/dispatch.vue | 22 ++++
src/views/management/performance.vue | 22 ++++
src/views/management/honor.vue | 22 ++++
src/views/management/qualification.vue | 22 ++++
src/config/iconList.js | 5
src/views/management/register.vue | 22 ++++
src/page/index/logo.vue | 4
src/views/management/credentials.vue | 22 ++++
src/views/unitOperation/operation.vue | 22 ++++
src/config/env.js | 18 +-
src/views/management/expression.vue | 22 ++++
src/lang/en.js | 4
src/views/management/cultivate.vue | 22 ++++
src/views/management/documentsPrint.vue | 22 ++++
21 files changed, 267 insertions(+), 23 deletions(-)
diff --git a/public/img/logo.png b/public/img/logo.png
index b3e40cc..0fc2fc1 100644
--- a/public/img/logo.png
+++ b/public/img/logo.png
Binary files differ
diff --git a/public/index.html b/public/index.html
index 9ef8ec6..764bccc 100644
--- a/public/index.html
+++ b/public/index.html
@@ -19,7 +19,7 @@
<script src="<%= BASE_URL %>cdn/xlsx/FileSaver.min.js"></script>
<script src="<%= BASE_URL %>cdn/xlsx/xlsx.full.min.js"></script>
<link rel="icon" href="<%= BASE_URL %>favicon.png">
- <title>Saber企业级开发平台</title>
+ <title>保安监管系统</title>
<style>
html,
body,
diff --git a/src/config/env.js b/src/config/env.js
index 5270f73..f6b0bc5 100644
--- a/src/config/env.js
+++ b/src/config/env.js
@@ -1,21 +1,21 @@
// 阿里矢量图标库配置
-let iconfontVersion = ['567566_pwc3oottzol'];
+let iconfontVersion = ['567566_pwc3oottzol', '2057093_bptm5k964zj', '2652129_79ej8yw79fo'];
let iconfontUrl = `//at.alicdn.com/t/font_$key.css`;
let baseUrl = '';
let codeUrl = `${baseUrl}/code`
const env = process.env
if (env.NODE_ENV === 'development') {
- baseUrl = ``; // 开发环境地址
+ baseUrl = ``; // 开发环境地址
} else if (env.NODE_ENV === 'production') {
- baseUrl = ``; //生产环境地址
+ baseUrl = ``; //生产环境地址
} else if (env.NODE_ENV === 'test') {
- baseUrl = ``; //测试环境地址
+ baseUrl = ``; //测试环境地址
}
export {
- baseUrl,
- iconfontUrl,
- iconfontVersion,
- codeUrl,
- env
+ baseUrl,
+ iconfontUrl,
+ iconfontVersion,
+ codeUrl,
+ env
}
diff --git a/src/config/iconList.js b/src/config/iconList.js
index e79647e..61cc42f 100644
--- a/src/config/iconList.js
+++ b/src/config/iconList.js
@@ -1,5 +1,4 @@
-export default [
- {
+export default [{
label: "通用图标",
list: [
"iconfont iconicon_roundadd",
@@ -66,6 +65,8 @@
"iconfont iconicon_add",
"iconfont icongithub",
"iconfont icongitee2",
+ "iconfont icon-baoan",
+ "iconfont icon-baoanguanlipad",
]
},
{
diff --git a/src/config/website.js b/src/config/website.js
index ba2be7f..96aced4 100644
--- a/src/config/website.js
+++ b/src/config/website.js
@@ -2,15 +2,15 @@
* 全局配置文件
*/
export default {
- title: "saber",
+ title: "", // 登录页标题
logo: "S",
key: 'saber',//配置主键,目前用于存储
- indexTitle: 'Saber Admin',
+ indexTitle: '保安监管系统',
clientId: 'saber', // 客户端id
clientSecret: 'saber_secret', // 客户端密钥
tenantMode: true, // 是否开启租户模式
tenantId: "000000", // 管理组租户编号
- captchaMode: true, // 是否开启验证码模式
+ captchaMode: false, // 是否开启验证码模式
lockPage: '/lock',
tokenTime: 3000,
tokenHeader: 'Blade-Auth',
diff --git a/src/lang/en.js b/src/lang/en.js
index 00a65d0..8e283f6 100644
--- a/src/lang/en.js
+++ b/src/lang/en.js
@@ -1,6 +1,6 @@
export default {
- title: 'Avue is a framework',
tip: 'tip',
+ title: 'Security supervision system',
logoutTip: 'Exit the system, do you want to continue?',
submitText: 'submit',
cancelText: 'cancel',
@@ -67,7 +67,7 @@
},
login: {
title: 'Login ',
- info: 'Enterprise Development Platform',
+ info: 'Security supervision system',
tenantId: 'Please input tenantId',
username: 'Please input username',
password: 'Please input a password',
diff --git a/src/lang/zh.js b/src/lang/zh.js
index 56d4519..38fe8d4 100644
--- a/src/lang/zh.js
+++ b/src/lang/zh.js
@@ -1,6 +1,6 @@
export default {
tip: '提示',
- title: 'Saber企业级开发平台',
+ title: '保安监管系统',
logoutTip: '退出系统, 是否继续?',
submitText: '确定',
cancelText: '取消',
@@ -67,7 +67,7 @@
},
login: {
title: '登录 ',
- info: 'BladeX 企业级开发平台',
+ info: '保安监管系统',
tenantId: '请输入租户ID',
username: '请输入账号',
password: '请输入密码',
diff --git a/src/page/index/logo.vue b/src/page/index/logo.vue
index de07ead..4690329 100644
--- a/src/page/index/logo.vue
+++ b/src/page/index/logo.vue
@@ -4,7 +4,7 @@
<span v-if="keyCollapse"
class="avue-logo_subtitle"
key="0">
- {{website.logo}}
+ <i class="icon-baoan"></i>
</span>
</transition>
<transition-group name="fade">
@@ -70,4 +70,4 @@
color: #fff;
}
}
-</style>
\ No newline at end of file
+</style>
diff --git a/src/page/login/index.vue b/src/page/login/index.vue
index 771545c..cc20af3 100644
--- a/src/page/login/index.vue
+++ b/src/page/login/index.vue
@@ -15,7 +15,8 @@
<div class="login-main">
<h4 class="login-title">
{{ $t('login.title') }}{{website.title}}
- <top-lang></top-lang>
+ <!-- <top-lang></top-lang> -->
+ <!-- 关闭中英文切换 -->
</h4>
<userLogin v-if="activeName==='user'"></userLogin>
<codeLogin v-else-if="activeName==='code'"></codeLogin>
diff --git a/src/views/management/credentials.vue b/src/views/management/credentials.vue
new file mode 100644
index 0000000..07f0cd1
--- /dev/null
+++ b/src/views/management/credentials.vue
@@ -0,0 +1,22 @@
+/*
+ * @Author: Morpheus
+ * @Date: 2021-07-05 16:31:54
+ * @Last Modified by: Morpheus
+ * @Last Modified time: 2021-07-05 16:44:19
+ * menu-name 保安员证件吊销
+ */
+<template>
+ <div>
+ 保安员证件吊销
+ </div>
+</template>
+
+<script>
+export default {
+
+}
+</script>
+
+<style>
+
+</style>
diff --git a/src/views/management/cultivate.vue b/src/views/management/cultivate.vue
new file mode 100644
index 0000000..272ecb1
--- /dev/null
+++ b/src/views/management/cultivate.vue
@@ -0,0 +1,22 @@
+/*
+ * @Author: Morpheus
+ * @Date: 2021-07-05 16:31:54
+ * @Last Modified by: Morpheus
+ * @Last Modified time: 2021-07-05 16:44:18
+ * menu-name 报名培训查询
+ */
+<template>
+ <div>
+ 报名培训查询
+ </div>
+</template>
+
+<script>
+export default {
+
+}
+</script>
+
+<style>
+
+</style>
diff --git a/src/views/management/dispatch.vue b/src/views/management/dispatch.vue
new file mode 100644
index 0000000..f500856
--- /dev/null
+++ b/src/views/management/dispatch.vue
@@ -0,0 +1,22 @@
+/*
+ * @Author: Morpheus
+ * @Date: 2021-07-05 16:31:54
+ * @Last Modified by: Morpheus
+ * @Last Modified time: 2021-07-05 16:40:11
+ * menu-name 保安员派遣记录
+ */
+<template>
+ <div>
+ 保安员派遣记录
+ </div>
+</template>
+
+<script>
+export default {
+
+}
+</script>
+
+<style>
+
+</style>
diff --git a/src/views/management/documentsPrint.vue b/src/views/management/documentsPrint.vue
new file mode 100644
index 0000000..da5a33b
--- /dev/null
+++ b/src/views/management/documentsPrint.vue
@@ -0,0 +1,22 @@
+/*
+ * @Author: Morpheus
+ * @Date: 2021-07-05 16:31:54
+ * @Last Modified by: Morpheus
+ * @Last Modified time: 2021-07-05 16:40:11
+ * menu-name 保安员证打印
+ */
+<template>
+ <div>
+ 保安员证打印
+ </div>
+</template>
+
+<script>
+export default {
+
+}
+</script>
+
+<style>
+
+</style>
diff --git a/src/views/management/expression.vue b/src/views/management/expression.vue
new file mode 100644
index 0000000..4535ebb
--- /dev/null
+++ b/src/views/management/expression.vue
@@ -0,0 +1,22 @@
+/*
+ * @Author: Morpheus
+ * @Date: 2021-07-05 16:31:54
+ * @Last Modified by: Morpheus
+ * @Last Modified time: 2021-07-05 16:40:11
+ * menu-name 保安员现实表现
+ */
+<template>
+ <div>
+ 保安员现实表现
+ </div>
+</template>
+
+<script>
+export default {
+
+}
+</script>
+
+<style>
+
+</style>
diff --git a/src/views/management/honor.vue b/src/views/management/honor.vue
new file mode 100644
index 0000000..90f7735
--- /dev/null
+++ b/src/views/management/honor.vue
@@ -0,0 +1,22 @@
+/*
+ * @Author: Morpheus
+ * @Date: 2021-07-05 16:31:54
+ * @Last Modified by: Morpheus
+ * @Last Modified time: 2021-07-05 16:40:11
+ * menu-name 保安员荣誉录入
+ */
+<template>
+ <div>
+ 保安员荣誉录入
+ </div>
+</template>
+
+<script>
+export default {
+
+}
+</script>
+
+<style>
+
+</style>
diff --git a/src/views/management/performance.vue b/src/views/management/performance.vue
new file mode 100644
index 0000000..b660cd8
--- /dev/null
+++ b/src/views/management/performance.vue
@@ -0,0 +1,22 @@
+/*
+ * @Author: Morpheus
+ * @Date: 2021-07-05 16:31:54
+ * @Last Modified by: Morpheus
+ * @Last Modified time: 2021-07-05 16:40:11
+ * menu-name 成绩查询
+ */
+<template>
+ <div>
+ 成绩查询
+ </div>
+</template>
+
+<script>
+export default {
+
+}
+</script>
+
+<style>
+
+</style>
diff --git a/src/views/management/qualification.vue b/src/views/management/qualification.vue
new file mode 100644
index 0000000..5dc03a1
--- /dev/null
+++ b/src/views/management/qualification.vue
@@ -0,0 +1,22 @@
+/*
+ * @Author: Morpheus
+ * @Date: 2021-07-05 16:31:54
+ * @Last Modified by: Morpheus
+ * @Last Modified time: 2021-07-05 16:44:14
+ * menu-name 人员资格审查
+ */
+<template>
+ <div>
+ 人员资格审查
+ </div>
+</template>
+
+<script>
+export default {
+
+}
+</script>
+
+<style>
+
+</style>
diff --git a/src/views/management/register.vue b/src/views/management/register.vue
new file mode 100644
index 0000000..feb36eb
--- /dev/null
+++ b/src/views/management/register.vue
@@ -0,0 +1,22 @@
+/*
+ * @Author: Morpheus
+ * @Date: 2021-07-05 16:31:54
+ * @Last Modified by: Morpheus
+ * @Last Modified time: 2021-07-05 16:40:11
+ * menu-name 保安员注册查询
+ */
+<template>
+ <div>
+ 保安员注册查询
+ </div>
+</template>
+
+<script>
+export default {
+
+}
+</script>
+
+<style>
+
+</style>
diff --git a/src/views/unitOperation/economics.vue b/src/views/unitOperation/economics.vue
new file mode 100644
index 0000000..a245849
--- /dev/null
+++ b/src/views/unitOperation/economics.vue
@@ -0,0 +1,22 @@
+/*
+ * @Author: Morpheus
+ * @Date: 2021-07-05 16:31:54
+ * @Last Modified by: Morpheus
+ * @Last Modified time: 2021-07-05 16:40:22
+ * menu-name 公司经济情况
+ */
+<template>
+ <div>
+ 公司经济情况
+ </div>
+</template>
+
+<script>
+export default {
+
+}
+</script>
+
+<style>
+
+</style>
diff --git a/src/views/unitOperation/operation.vue b/src/views/unitOperation/operation.vue
new file mode 100644
index 0000000..d8f2db4
--- /dev/null
+++ b/src/views/unitOperation/operation.vue
@@ -0,0 +1,22 @@
+/*
+ * @Author: Morpheus
+ * @Date: 2021-07-05 16:31:54
+ * @Last Modified by: Morpheus
+ * @Last Modified time: 2021-07-05 16:40:20
+ * menu-name 公司运营情况
+ */
+<template>
+ <div>
+ 公司运营情况
+ </div>
+</template>
+
+<script>
+export default {
+
+}
+</script>
+
+<style>
+
+</style>
diff --git a/vue.config.js b/vue.config.js
index a3ad8ef..b15df2a 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -26,7 +26,7 @@
proxy: {
'/api': {
//本地服务接口地址
- target: 'http://localhost',
+ target: 'http://192.168.0.104',
//远程演示服务地址,可用于直接启动项目
//target: 'https://saber.bladex.vip/api',
ws: true,
--
Gitblit v1.9.3