Commit 42af6e00 authored by Administrator's avatar Administrator

前端代码

parent f8ab9f55
# 使用【演示环境】接口地址 # 使用【演示环境】接口地址
#VITE_API_URL= #VITE_API_URL=
# 使用【本地环境]接口地址#http://localhost:8659 http://spms.sit.gdyibo.com.cn/sit-api # 使用【本地环境]接口地址 http://localhost:8659 http://spms.sit.gdyibo.com.cn/sit-api
VITE_API_URL=http://localhost:8659 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 @@ ...@@ -2,4 +2,6 @@
#VITE_API_URL= #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 @@ ...@@ -3,7 +3,7 @@
"version": "2.5.0", "version": "2.5.0",
"scripts": { "scripts": {
"dev": "vite --force", "dev": "vite --force",
"build": "vue-tsc --noEmit && vite build", "build": "vite build",
"build:sit": "vite build --mode sit", "build:sit": "vite build --mode sit",
"build:prod": "vite build --mode prod", "build:prod": "vite build --mode prod",
"preview": "vite preview", "preview": "vite preview",
...@@ -48,6 +48,7 @@ ...@@ -48,6 +48,7 @@
"eslint": "8.13.0", "eslint": "8.13.0",
"eslint-plugin-vue": "8.6.0", "eslint-plugin-vue": "8.6.0",
"prettier": "2.8.4", "prettier": "2.8.4",
"rimraf": "^6.0.1",
"sass": "1.58.0", "sass": "1.58.0",
"typescript": "4.7.4", "typescript": "4.7.4",
"vite": "4.4.8", "vite": "4.4.8",
......
...@@ -15,7 +15,7 @@ export default { ...@@ -15,7 +15,7 @@ export default {
updateTime: '更新时间', updateTime: '更新时间',
required: '必填项不能为空', required: '必填项不能为空',
app: { app: {
title: '鹏辉备件系统', title: '博通云',
description: '', description: '',
logoText: 'SPMS', logoText: 'SPMS',
miniLogoText: 'SPMS', miniLogoText: 'SPMS',
......
<template> <template>
<div v-if="appStore.sidebarOpened" class="sidebar-logo"> <div v-if="appStore.sidebarOpened" class="sidebar-logo">
<el-image class="image" src="./favicon.ico"></el-image> <!-- logo图片-->
<span class="logo-title"> {{ $t('app.logoText') }}</span> <!-- <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>
<div v-else class="sidebar-logo sidebar-logo-expend"> <div v-else class="sidebar-logo sidebar-logo-expend">
<span>{{ $t('app.miniLogoText') }}</span> <span>{{ $t('app.miniLogoText') }}</span>
......
<template> <template>
<el-form ref="loginFormRef" :model="loginForm" :rules="loginRules" @keyup.enter="onLogin"> <el-form ref="loginFormRef" :model="loginForm" :rules="loginRules" @keyup.enter="onLogin">
<div class="login-title">{{ $t('app.signIn') }}</div> <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-input v-model="loginForm.eboTenantCode" :prefix-icon="User" placeholder="请输入组织编码"></el-input>
</el-form-item> </el-form-item>
<el-form-item prop="username"> <el-form-item prop="username">
......
<template> <template>
<div class="login-container"> <div class="login-container">
<div class="login-intro"> <div class="login-intro">
<h1>{{ $t('app.title') }}</h1> <!-- <h1>{{ $t('app.title') }}</h1>-->
<div class="desc"> <div class="desc">
{{ $t('app.description') }} {{ $t('app.description') }}
</div> </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