Commit 42af6e00 authored by Administrator's avatar Administrator

前端代码

parent f8ab9f55
# 使用【演示环境】接口地址
#VITE_API_URL=
# 使用【本地环境]接口地址#http://localhost:8659 http://spms.sit.gdyibo.com.cn/sit-api
VITE_API_URL=http://localhost:8659
# 使用【本地环境]接口地址 http://localhost:8659 http://spms.sit.gdyibo.com.cn/sit-api
VITE_API_URL=http://localhost:8659
# VITE_API_URL=http://192.168.1.88:8659
# NODE_ENV=prod
\ No newline at end of file
......@@ -2,4 +2,6 @@
#VITE_API_URL=
# 使用【本地环境]接口地址
VITE_API_URL=/sit-api
# VITE_API_URL=/sit-api
VITE_API_URL=http://10.18.18.68:8659
NODE_ENV=prod
\ No newline at end of file
This diff is collapsed.
......@@ -3,7 +3,7 @@
"version": "2.5.0",
"scripts": {
"dev": "vite --force",
"build": "vue-tsc --noEmit && vite build",
"build": "vite build",
"build:sit": "vite build --mode sit",
"build:prod": "vite build --mode prod",
"preview": "vite preview",
......@@ -48,6 +48,7 @@
"eslint": "8.13.0",
"eslint-plugin-vue": "8.6.0",
"prettier": "2.8.4",
"rimraf": "^6.0.1",
"sass": "1.58.0",
"typescript": "4.7.4",
"vite": "4.4.8",
......
......@@ -15,7 +15,7 @@ export default {
updateTime: '更新时间',
required: '必填项不能为空',
app: {
title: '鹏辉备件系统',
title: '博通云',
description: '',
logoText: 'SPMS',
miniLogoText: 'SPMS',
......
<template>
<div v-if="appStore.sidebarOpened" class="sidebar-logo">
<el-image class="image" src="./favicon.ico"></el-image>
<span class="logo-title"> {{ $t('app.logoText') }}</span>
<!-- logo图片-->
<!-- <el-image class="image" src="./favicon.ico"></el-image>-->
<el-image class="image" src="./favicon2.ico"></el-image>
<!-- 标题-->
<!-- <span class="logo-title"> {{ $t('app.logoText') }}</span>-->
</div>
<div v-else class="sidebar-logo sidebar-logo-expend">
<span>{{ $t('app.miniLogoText') }}</span>
......
<template>
<el-form ref="loginFormRef" :model="loginForm" :rules="loginRules" @keyup.enter="onLogin">
<div class="login-title">{{ $t('app.signIn') }}</div>
<el-form-item prop="eboTenantCode">
<el-form-item prop="eboTenantCode" v-show="false">
<el-input v-model="loginForm.eboTenantCode" :prefix-icon="User" placeholder="请输入组织编码"></el-input>
</el-form-item>
<el-form-item prop="username">
......
<template>
<div class="login-container">
<div class="login-intro">
<h1>{{ $t('app.title') }}</h1>
<!-- <h1>{{ $t('app.title') }}</h1>-->
<div class="desc">
{{ $t('app.description') }}
</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment