1、信创改造V2,适配、兼容性等

2、调整ui
3、微调部分设置
This commit is contained in:
xiaocp2009 2025-08-13 15:00:33 +08:00
parent a4e1e94bde
commit aa10943227
16 changed files with 40 additions and 13 deletions

View File

@ -2,7 +2,7 @@
<html lang="zh-cmn-Hans"> <html lang="zh-cmn-Hans">
<head> <head>
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<link rel="icon" href="/favicon.svg" /> <link rel="icon" href="/favicon.png" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="color-scheme" content="light dark" /> <meta name="color-scheme" content="light dark" />
<title>%VITE_APP_TITLE%</title> <title>%VITE_APP_TITLE%</title>

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

View File

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

View File

@ -10,6 +10,13 @@ src/App.vue
录入时,增加了营销人员列表 录入时,增加了营销人员列表
src/views/mps/private-ebank-new/modules/private-ebank-new-operate-drawer.vue src/views/mps/private-ebank-new/modules/private-ebank-new-operate-drawer.vue
--------默认主题--------------
src/theme/settings.ts
--------头像、LOGO、favicon---
src/assets/imgs
public/favicon.x 注意此图要缩小N倍
-------tomcat 部署----------- -------tomcat 部署-----------
https://www.cnblogs.com/Fooo/p/17807277.html https://www.cnblogs.com/Fooo/p/17807277.html

Binary file not shown.

After

Width:  |  Height:  |  Size: 170 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 112 KiB

After

Width:  |  Height:  |  Size: 68 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 112 KiB

View File

@ -1,9 +1,16 @@
<script lang="ts" setup> <script lang="ts" setup>
import defaultLogo from '@/assets/imgs/logo.png';
defineOptions({ name: 'SystemLogo' }); defineOptions({ name: 'SystemLogo' });
</script> </script>
<template> <template>
<icon-local-logo /> <!-- <icon-local-logo />-->
<n-avatar
round
size="small"
:src="defaultLogo"
/>
</template> </template>
<style scoped></style> <style scoped></style>

View File

@ -36,7 +36,7 @@ const swatches: string[] = [
<template> <template>
<NDivider>{{ $t('theme.themeColor.title') }}</NDivider> <NDivider>{{ $t('theme.themeColor.title') }}</NDivider>
<div class="flex-col-stretch gap-12px"> <div class="flex-col-stretch gap-12px">
<NTooltip placement="top-start"> <!-- <NTooltip placement="top-start">
<template #trigger> <template #trigger>
<SettingItem key="recommend-color" :label="$t('theme.recommendColor')"> <SettingItem key="recommend-color" :label="$t('theme.recommendColor')">
<NSwitch v-model:value="themeStore.recommendColor" /> <NSwitch v-model:value="themeStore.recommendColor" />
@ -56,7 +56,7 @@ const swatches: string[] = [
https://uicolors.app/create https://uicolors.app/create
</NButton> </NButton>
</p> </p>
</NTooltip> </NTooltip>-->
<SettingItem v-for="(_, key) in themeStore.themeColors" :key="key" :label="$t(`theme.themeColor.${key}`)"> <SettingItem v-for="(_, key) in themeStore.themeColors" :key="key" :label="$t(`theme.themeColor.${key}`)">
<template v-if="key === 'info'" #suffix> <template v-if="key === 'info'" #suffix>
<NCheckbox v-model:checked="themeStore.isInfoFollowPrimary"> <NCheckbox v-model:checked="themeStore.isInfoFollowPrimary">

View File

@ -8,9 +8,8 @@
<artifactId>ruoyi-vue-plus</artifactId> <artifactId>ruoyi-vue-plus</artifactId>
<version>${revision}</version> <version>${revision}</version>
<name>RuoYi-Vue-Plus</name> <name>mps</name>
<url>https://gitee.com/dromara/RuoYi-Vue-Plus</url> <description>全员营销计价系统</description>
<description>Dromara RuoYi-Vue-Plus多租户管理系统</description>
<properties> <properties>
<revision>5.4.1</revision> <revision>5.4.1</revision>

View File

@ -19,3 +19,8 @@
https://localhost:9060/console登录
本地tongweb用户:thanos/G@top1#36
集中管理->扩展支持->版本生成->jakarta版本->${tongweb.home}\tongweb-enterprise部署
ui注意增加WEB-INF/web.xml
注意修改tongweb通道的http设置

View File

@ -9,7 +9,7 @@
</parent> </parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<packaging>war</packaging> <packaging>war</packaging>
<artifactId>ruoyi-admin</artifactId> <artifactId>mps-server</artifactId>
<description> <description>
web服务入口 web服务入口
@ -143,6 +143,7 @@
<artifactId>maven-war-plugin</artifactId> <artifactId>maven-war-plugin</artifactId>
<version>${maven-war-plugin.version}</version> <version>${maven-war-plugin.version}</version>
<configuration> <configuration>
<!--如果想在没有web.xml文件的情况下构建WAR请设置为false。-->
<failOnMissingWebXml>false</failOnMissingWebXml> <failOnMissingWebXml>false</failOnMissingWebXml>
<warName>${project.artifactId}</warName> <warName>${project.artifactId}</warName>
</configuration> </configuration>

View File

@ -22,7 +22,7 @@ public class IndexController {
*/ */
@GetMapping("/") @GetMapping("/")
public String index() { public String index() {
return StringUtils.format("欢迎使用{}后台管理框架,请通过前端地址访问。", SpringUtils.getApplicationName()); return StringUtils.format("请通过UI访问", SpringUtils.getApplicationName());
} }
} }

View File

@ -1,9 +1,9 @@
# 开发环境配置 # 开发环境配置
server: server:
# 服务器的HTTP端口默认为8080 # 服务器的HTTP端口默认为8080,部署到外部中间件时会被覆盖,以中间件端口为准
port: 8080 port: 8080
servlet: servlet:
# 应用的访问路径 # 应用的访问路径,部署到外部中间件时会被覆盖,以中间件路径(前缀)为准
context-path: / context-path: /
# undertow 配置 # undertow 配置
#undertow: #undertow:
@ -62,7 +62,7 @@ user:
# Spring配置 # Spring配置
spring: spring:
application: application:
name: RuoYi-Vue-Plus name: Mps
threads: threads:
# 开启虚拟线程 仅jdk21可用 # 开启虚拟线程 仅jdk21可用
virtual: virtual:

View File

@ -25,7 +25,9 @@ public class ApiDecryptAutoConfiguration {
registration.setDispatcherTypes(DispatcherType.REQUEST); registration.setDispatcherTypes(DispatcherType.REQUEST);
registration.setFilter(new CryptoFilter(properties)); registration.setFilter(new CryptoFilter(properties));
registration.addUrlPatterns("/*"); registration.addUrlPatterns("/*");
registration.setName("cryptoFilter");
//tongweb dulp cryptoFilter
registration.setName("mpsCryptoFilter");
registration.setOrder(FilterRegistrationBean.HIGHEST_PRECEDENCE); registration.setOrder(FilterRegistrationBean.HIGHEST_PRECEDENCE);
return registration; return registration;
} }

View File

@ -42,6 +42,12 @@
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-undertow</artifactId> <artifactId>spring-boot-starter-undertow</artifactId>
</dependency>--> </dependency>-->
<!-- 添加tongweb-spring-boot-starter依赖 -->
<!--<dependency>
<groupId>com.tongweb.springboot</groupId>
<artifactId>tongweb-spring-boot-starter</artifactId>
<version>8.0.9.03</version> &lt;!&ndash; 按实际版本调整 &ndash;&gt;
</dependency>-->
<dependency> <dependency>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>