Selaa lähdekoodia

- 网页标题修改
- 右上角标题文字修改
- RC审计CODE完成率前端优化

wangggziwen 11 kuukautta sitten
vanhempi
commit
1b6936e12d

+ 1 - 1
rc-admin/src/main/java/com/ruoyi/web/controller/rc/TAuditController.java

@@ -160,7 +160,7 @@ public class TAuditController extends BaseController
             List<TChapter> tChapters = tChapterService.selectTChapterList(chapter);
             for (TChapter tChapter : tChapters) {
                 String code = tChapter.getCode();
-                int index = code.indexOf(",");
+                int index = code.indexOf(".");
                 if (index != -1) {
                     code = code.substring(0, index);
                     TQuestionnaire questionnaire = new TQuestionnaire();

+ 1 - 1
ruoyi-ui/.env.development

@@ -1,5 +1,5 @@
 # 页面标题
-VUE_APP_TITLE = 扬子石化-巴斯夫RC审计管理系统
+VUE_APP_TITLE = 审计管理系统
 
 # 开发环境配置
 ENV = 'development'

+ 1 - 1
ruoyi-ui/.env.production

@@ -1,5 +1,5 @@
 # 页面标题
-VUE_APP_TITLE = 扬子石化-巴斯夫RC审计管理系统
+VUE_APP_TITLE = 审计管理系统
 
 # 生产环境配置
 ENV = 'production'

+ 1 - 1
ruoyi-ui/.env.staging

@@ -1,5 +1,5 @@
 # 页面标题
-VUE_APP_TITLE = 扬子石化-巴斯夫RC审计管理系统
+VUE_APP_TITLE = 审计管理系统
 
 NODE_ENV = production
 

+ 1 - 0
ruoyi-ui/src/settings.js

@@ -1,4 +1,5 @@
 module.exports = {
+  title: '审计管理系统',
   /**
    * 侧边栏主题 深色主题theme-dark,浅色主题theme-light
    */

+ 2 - 1
ruoyi-ui/src/views/home2.vue

@@ -114,7 +114,7 @@ export default {
             data: ['CODE 0', 'CODE 1', 'CODE 2', 'CODE 3', 'CODE 5', 'CODE 6', 'CODE 7', 'CODE 8', 'CODE 9', 'CODE 10'],
             axisTick: {
               alignWithLabel: true
-            }
+            },
           },
           xAxis: {
             type: 'value',
@@ -122,6 +122,7 @@ export default {
           },
           series: [
             {
+              itemStyle: {borderRadius: [20, 20, 20, 20]},
               data: [
                 {value: data.code0 * 100, itemStyle: {color: '#91CC75'}},
                 {value: data.code1 * 100, itemStyle: {color: '#91CC75'}},

+ 1 - 1
ruoyi-ui/vue.config.js

@@ -7,7 +7,7 @@ function resolve(dir) {
 
 const CompressionPlugin = require('compression-webpack-plugin')
 
-const name = process.env.VUE_APP_TITLE || '扬子石化-巴斯夫RC审计管理系统' // 网页标题
+const name = process.env.VUE_APP_TITLE || '审计管理系统' // 网页标题
 
 const port = process.env.port || process.env.npm_config_port || 94 // 端口