| | |
| | | # 页面标题
|
| | | VITE_APP_TITLE = 伟德实业管理信息系统
|
| | | VITE_APP_TITLE = 基智油井管理信息系统
|
| | |
|
| | | # 开发环境配置
|
| | | VITE_APP_ENV = 'development'
|
| | |
|
| | | # 伟德实业管理信息系统/开发环境
|
| | | # 基智油井管理信息系统/开发环境
|
| | | VITE_APP_BASE_API = '/dev-api'
|
| | |
| | | # 页面标题
|
| | | VITE_APP_TITLE = 伟德实业管理信息系统
|
| | | VITE_APP_TITLE = 基智油井管理信息系统
|
| | |
|
| | | # 生产环境配置
|
| | | VITE_APP_ENV = 'production'
|
| | |
|
| | | # 伟德实业管理信息系统/生产环境
|
| | | # 基智油井管理信息系统/生产环境
|
| | | VITE_APP_BASE_API = '/prod-api'
|
| | |
|
| | | # 是否在打包时开启压缩,支持 gzip 和 brotli
|
| | |
| | | # 页面标题
|
| | | VITE_APP_TITLE = 伟德实业管理信息系统
|
| | | VITE_APP_TITLE = 基智油井管理信息系统
|
| | |
|
| | | # 生产环境配置
|
| | | VITE_APP_ENV = 'staging'
|
| | |
|
| | | # 伟德实业管理信息系统/生产环境
|
| | | # 基智油井管理信息系统/生产环境
|
| | | VITE_APP_BASE_API = '/stage-api'
|
| | |
|
| | | # 是否在打包时开启压缩,支持 gzip 和 brotli
|
| | |
| | | <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
| | | <meta name="renderer" content="webkit">
|
| | | <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
|
| | | <link rel="icon" href="/WDSYico.ico">
|
| | | <title>伟德实业管理信息系统</title>
|
| | | <link rel="icon" href="/JZYJico.ico">
|
| | | <title>基智油井管理信息系统</title>
|
| | | <!--[if lt IE 11]><script>window.location.href='/html/ie.html';</script><![endif]-->
|
| | | <style>
|
| | | html,
|
| | |
| | | { |
| | | "name": "ruoyi", |
| | | "version": "3.8.9", |
| | | "description": "伟德实业管理信息系统", |
| | | "description": "基智油井管理信息系统", |
| | | "author": "若依", |
| | | "license": "MIT", |
| | | "type": "module", |
| | |
| | | <script setup>
|
| | | import { ref, computed, onMounted, watch } from 'vue'
|
| | | import useUserStore from '@/store/modules/user'
|
| | | import defaultLogo from '@/assets/indexViews/WDSYLogo.png' // 导入默认logo
|
| | | import defaultLogo from '@/assets/indexViews/JZYJLogo.png' // 导入默认logo
|
| | |
|
| | | defineProps({
|
| | | collapse: {
|
| | |
| | | app.config.globalProperties.addDateRange = addDateRange
|
| | | app.config.globalProperties.selectDictLabel = selectDictLabel
|
| | | app.config.globalProperties.selectDictLabels = selectDictLabels
|
| | | app.config.globalProperties.javaApi = 'http://114.132.189.42:8068'
|
| | | app.config.globalProperties.javaApi = 'http://114.132.189.42:8078'
|
| | | app.config.globalProperties.HaveJson = (val) => {
|
| | | return JSON.parse(JSON.stringify(val));
|
| | | };
|
| | |
| | | <style lang='scss' scoped>
|
| | | .login {
|
| | | height: 100%;
|
| | | background-image: url("../assets/indexViews/WDSYView.png");
|
| | | background-image: url("../assets/indexViews/JZYJView.png");
|
| | | background-size: cover;
|
| | | position: relative;
|
| | | }
|
| | |
| | | .login-form {
|
| | | position: absolute;
|
| | | top: 50%;
|
| | | right: 50%;
|
| | | transform: translate(50%, -50%);
|
| | | right: 15%;
|
| | | transform: translate(0, -50%);
|
| | | border-radius: 6px;
|
| | | background: #ffffff;
|
| | | width: 420px;
|
| | |
| | | const { VITE_APP_ENV } = env;
|
| | | const baseUrl =
|
| | | VITE_APP_ENV == "development"
|
| | | ? "http://114.132.189.42:8068" // 开发环境后端接口
|
| | | : "http://114.132.189.42:8068"; // 生产环境后端接口
|
| | | ? "http://114.132.189.42:8078" // 开发环境后端接口
|
| | | : "http://114.132.189.42:8078"; // 生产环境后端接口
|
| | |
|
| | | return {
|
| | | // 部署生产环境和开发环境下的URL。
|