Commit 4eec370a84268d683b9436d603732ad8fefdf93f

Authored by 2c2c2c
1 parent 8d8c50ea

测试环境

.env.development
1 # 页面标题 1 # 页面标题
2 -VITE_APP_TITLE = 青浦巴士岗前检测系统 2 +VITE_APP_TITLE = 岗前检查流程信息管理系统
3 3
4 # 开发环境配置 4 # 开发环境配置
5 VITE_APP_ENV = 'development' 5 VITE_APP_ENV = 'development'
@@ -8,4 +8,4 @@ VITE_APP_ENV = 'development' @@ -8,4 +8,4 @@ VITE_APP_ENV = 'development'
8 # VITE_APP_BASE_API = '/dev-api' 8 # VITE_APP_BASE_API = '/dev-api'
9 9
10 # VITE_APP_BASE_API = 'http://101.95.136.206:8100' 10 # VITE_APP_BASE_API = 'http://101.95.136.206:8100'
11 -VITE_APP_BASE_API = 'http://192.168.168.124:8100' 11 +VITE_APP_BASE_API = 'http://127.0.0.1:8100'
index.html
@@ -9,7 +9,7 @@ @@ -9,7 +9,7 @@
9 content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" 9 content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"
10 /> 10 />
11 <link rel="icon" href="public/favicon.ico" /> 11 <link rel="icon" href="public/favicon.ico" />
12 - <title>青浦巴士岗前检测系统</title> 12 + <title>岗前检查流程信息管理系统</title>
13 <!--[if lt IE 11 13 <!--[if lt IE 11
14 ]><script> 14 ]><script>
15 window.location.href = "/html/ie.html"; 15 window.location.href = "/html/ie.html";
package.json
1 { 1 {
2 "name": "bsth", 2 "name": "bsth",
3 "version": "3.8.5", 3 "version": "3.8.5",
4 - "description": "青浦巴士岗前检测系统", 4 + "description": "岗前检查流程信息管理系统",
5 "author": "bsth", 5 "author": "bsth",
6 "license": "MIT", 6 "license": "MIT",
7 "scripts": { 7 "scripts": {
src/components/FleetContentBox/index.vue
@@ -131,7 +131,7 @@ const handleWheel = (el) =&gt; { @@ -131,7 +131,7 @@ const handleWheel = (el) =&gt; {
131 if (containerElement.scrollHeight > containerElement.clientHeight) { 131 if (containerElement.scrollHeight > containerElement.clientHeight) {
132 // el.preventDefault(); 132 // el.preventDefault();
133 // 根据滚轮滚动的距离来计算滚动量 133 // 根据滚轮滚动的距离来计算滚动量
134 - const scrollAmount = el.deltaY > 0 ? 100 : -100; 134 + const scrollAmount = el.deltaY * 0.5;
135 // 修改盒子的滚动位置 135 // 修改盒子的滚动位置
136 containerElement.scrollTop += scrollAmount; 136 containerElement.scrollTop += scrollAmount;
137 } 137 }
@@ -155,7 +155,7 @@ onMounted(() =&gt; { @@ -155,7 +155,7 @@ onMounted(() =&gt; {
155 155
156 <style lang="scss" scoped> 156 <style lang="scss" scoped>
157 .fleet-content-box { 157 .fleet-content-box {
158 - height: calc(100% - clamp(0.8rem, -0.907rem + 5.71vw, 1.3rem)); 158 + height: 85%;
159 width: auto; 159 width: auto;
160 overflow: hidden; 160 overflow: hidden;
161 scroll-behavior: smooth; 161 scroll-behavior: smooth;
src/layout/components/Sidebar/Logo.vue
@@ -30,7 +30,7 @@ defineProps({ @@ -30,7 +30,7 @@ defineProps({
30 } 30 }
31 }) 31 })
32 32
33 -const title = ref('青浦巴士岗前检测系统'); 33 +const title = ref('岗前检查流程信息管理系统');
34 const settingsStore = useSettingsStore(); 34 const settingsStore = useSettingsStore();
35 const sideTheme = computed(() => settingsStore.sideTheme); 35 const sideTheme = computed(() => settingsStore.sideTheme);
36 </script> 36 </script>
src/views/home/index.vue
@@ -7,7 +7,7 @@ @@ -7,7 +7,7 @@
7 <div class="big-view-container-title"> 7 <div class="big-view-container-title">
8 <!-- 标题 --> 8 <!-- 标题 -->
9 <div class="big-view-container-box"> 9 <div class="big-view-container-box">
10 - 青浦巴士岗前检查 10 + 岗前检查流程信息管理系统
11 </div> 11 </div>
12 <div class="big-view-container-time"> 12 <div class="big-view-container-time">
13 <text> 13 <text>
src/views/login.vue
1 <template> 1 <template>
2 <div class="login"> 2 <div class="login">
3 <el-form ref="loginRef" :model="loginForm" :rules="loginRules" class="login-form"> 3 <el-form ref="loginRef" :model="loginForm" :rules="loginRules" class="login-form">
4 - <h3 class="title">青浦巴士岗前检测系统</h3> 4 + <h3 class="title">岗前检查流程信息管理系统</h3>
5 <el-form-item prop="username"> 5 <el-form-item prop="username">
6 <el-input v-model="loginForm.username" type="text" size="large" auto-complete="off" placeholder="账号"> 6 <el-input v-model="loginForm.username" type="text" size="large" auto-complete="off" placeholder="账号">
7 <template #prefix><svg-icon icon-class="user" class="el-input__icon input-icon" /></template> 7 <template #prefix><svg-icon icon-class="user" class="el-input__icon input-icon" /></template>
src/views/register.vue
1 <template> 1 <template>
2 <div class="register"> 2 <div class="register">
3 <el-form ref="registerRef" :model="registerForm" :rules="registerRules" class="register-form"> 3 <el-form ref="registerRef" :model="registerForm" :rules="registerRules" class="register-form">
4 - <h3 class="title">青浦巴士岗前检测系统</h3> 4 + <h3 class="title">岗前检查流程信息管理系统</h3>
5 <el-form-item prop="username"> 5 <el-form-item prop="username">
6 <el-input v-model="registerForm.username" type="text" size="large" auto-complete="off" placeholder="账号"> 6 <el-input v-model="registerForm.username" type="text" size="large" auto-complete="off" placeholder="账号">
7 <template #prefix><svg-icon icon-class="user" class="el-input__icon input-icon" /></template> 7 <template #prefix><svg-icon icon-class="user" class="el-input__icon input-icon" /></template>
vite.config.js
@@ -31,7 +31,8 @@ export default defineConfig(({ mode, command }) =&gt; { @@ -31,7 +31,8 @@ export default defineConfig(({ mode, command }) =&gt; {
31 proxy: { 31 proxy: {
32 // https://cn.vitejs.dev/config/#server-proxy 32 // https://cn.vitejs.dev/config/#server-proxy
33 '/dev-api': { 33 '/dev-api': {
34 - target: 'http://192.169.1.31:8100', 34 + // target: 'http://192.169.1.31:8100',
  35 + target: 'http://192.169.1.92:8100',
35 changeOrigin: true, 36 changeOrigin: true,
36 rewrite: (p) => p.replace(/^\/dev-api/, '') 37 rewrite: (p) => p.replace(/^\/dev-api/, '')
37 } 38 }