houzhongjian
2024-11-07 d36528bb496bb49adaad5ae6199b410d432b410c
修改文件路径、配置、页面等
已修改8个文件
已删除22个文件
2668 ■■■■■ 文件已修改
iailab-doc-manage/src/main/java/com/iailab/doc/manage/framework/config/WebMvcConfig.java 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-doc-manage/src/main/resources/application.yml 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-doc-manage/src/main/resources/dist/css/chunk-vendors.8924efc6.css 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-doc-manage/src/main/resources/dist/css/index.d05463e0.css 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-doc-manage/src/main/resources/dist/doc-console.html 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-doc-manage/src/main/resources/dist/favicon-console.png 补丁 | 查看 | 原始文档 | blame | 历史
iailab-doc-manage/src/main/resources/dist/fonts/element-icons.535877f5.woff 补丁 | 查看 | 原始文档 | blame | 历史
iailab-doc-manage/src/main/resources/dist/fonts/element-icons.732389de.ttf 补丁 | 查看 | 原始文档 | blame | 历史
iailab-doc-manage/src/main/resources/dist/js/chunk-vendors.cdec70f7.js 40 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-doc-manage/src/main/resources/dist/js/index.9ab9bd8d.js 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-doc-ui/wiki-ui/.env.production 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-doc-ui/wiki-ui/src/components/layouts/RightHeader.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-doc-ui/wiki-ui/src/main.js 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-doc-ui/wiki-ui/src/routes.js 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-doc-ui/wiki-ui/src/views/user/Login.vue 42 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-doc-ui/wiki-ui/vite.config.js 39 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-doc-wiki/src/main/resources/dist/assets/fontello.0286fb90.eot 补丁 | 查看 | 原始文档 | blame | 历史
iailab-doc-wiki/src/main/resources/dist/assets/fontello.37711755.ttf 补丁 | 查看 | 原始文档 | blame | 历史
iailab-doc-wiki/src/main/resources/dist/assets/fontello.82a2c2e3.svg 72 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-doc-wiki/src/main/resources/dist/assets/fontello.8aa3e26e.woff 补丁 | 查看 | 原始文档 | blame | 历史
iailab-doc-wiki/src/main/resources/dist/assets/fontello.febc4ea8.woff2 补丁 | 查看 | 原始文档 | blame | 历史
iailab-doc-wiki/src/main/resources/dist/assets/highlight.js-d64bc19a.js 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-doc-wiki/src/main/resources/dist/assets/main-5ddde74f.js 20 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-doc-wiki/src/main/resources/dist/assets/style.2e519726.css 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-doc-wiki/src/main/resources/dist/assets/vant-358433d9.js 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-doc-wiki/src/main/resources/dist/assets/vendor-1aff8466.js 2214 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-doc-wiki/src/main/resources/dist/assets/vue-650a4d10.js 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-doc-wiki/src/main/resources/dist/assets/wangeditor-2118e498.js 186 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-doc-wiki/src/main/resources/dist/doc-wiki.html 20 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-doc-wiki/src/main/resources/dist/wiki-logo.png 补丁 | 查看 | 原始文档 | blame | 历史
iailab-doc-manage/src/main/java/com/iailab/doc/manage/framework/config/WebMvcConfig.java
@@ -13,6 +13,7 @@
import org.springframework.http.converter.HttpMessageConverter;
import org.springframework.stereotype.Component;
import org.springframework.web.servlet.config.annotation.InterceptorRegistry;
import org.springframework.web.servlet.config.annotation.ViewControllerRegistry;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
import javax.annotation.Resource;
@@ -35,7 +36,7 @@
    UserLoginInterceptor userLoginInterceptor;
    @Resource
    ModuleMissingInterceptor moduleMissingInterceptor;
    @Override
    public void addFormatters(FormatterRegistry registry) {
        SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
iailab-doc-manage/src/main/resources/application.yml
@@ -37,9 +37,9 @@
    # ------WIKI文档相关------
    wiki:
      # WIKI文档的文件上传后的存储目录
      upload-path: ${WIKI_UPLOAD_PATH:D:/iailabDoc/wikiFiles}
      upload-path: ${WIKI_UPLOAD_PATH:/sda2/iailab/iailab-platform/iailab-doc/iailabDoc/wikiFiles}
      # 是否检查目录有被系统定期清理的风险,建议开启
      upload-path-check: true
      upload-path-check: false
    # ------数据库相关配置------
    db:
      # 最大允许导出的行数,设置的过大有可能会导致内存溢出
@@ -54,7 +54,7 @@
      client-secret: test
      tenant-id: 1
      domain: localhost
      expire-time: 300  #min
      expire-time: 5760  #min
spring:
  application:
iailab-doc-manage/src/main/resources/dist/css/chunk-vendors.8924efc6.css
文件已删除
iailab-doc-manage/src/main/resources/dist/css/index.d05463e0.css
文件已删除
iailab-doc-manage/src/main/resources/dist/doc-console.html
文件已删除
iailab-doc-manage/src/main/resources/dist/favicon-console.png
Binary files differ
iailab-doc-manage/src/main/resources/dist/fonts/element-icons.535877f5.woff
Binary files differ
iailab-doc-manage/src/main/resources/dist/fonts/element-icons.732389de.ttf
Binary files differ
iailab-doc-manage/src/main/resources/dist/js/chunk-vendors.cdec70f7.js
文件已删除
iailab-doc-manage/src/main/resources/dist/js/index.9ab9bd8d.js
文件已删除
iailab-doc-ui/wiki-ui/.env.production
@@ -1,7 +1,7 @@
# 线上环境
# base api
VITE_APP_BASE_API = 'http://localhost:3000/proxy-api'
VITE_APP_BASE_API = './'
SSO_PASSWORD_OAUTH2_TOKEN_URL = 'http://localhost:48080/admin-api/system/oauth2/token'
iailab-doc-ui/wiki-ui/src/components/layouts/RightHeader.vue
@@ -199,7 +199,7 @@
const userSignOut = () => {
    userApi.userLogout().then(() => {
        // location.reload();
        router.push('/')
        router.push('/user/login')
    });
}
let aboutDialogVisible = ref(false);
iailab-doc-ui/wiki-ui/src/main.js
@@ -4,7 +4,7 @@
import {createApp} from 'vue'
import App from './App.vue'
import {createRouter, createWebHistory} from 'vue-router'
import {createRouter, createWebHashHistory, createWebHistory} from 'vue-router'
import ElementUI from 'element-plus'
import 'element-plus/dist/index.css'
@@ -16,7 +16,7 @@
import {createPinia} from 'pinia'
const router = createRouter({
    history: createWebHistory(),
    history: createWebHashHistory(),
    routes,
});
iailab-doc-ui/wiki-ui/src/routes.js
@@ -19,7 +19,7 @@
import Callback from './views/user/Callback.vue'
let routes = [
    {path: '/', redirect: '/user/login'},
    {path: '/', redirect: '/home'},
    {
        path: '/user/login',
        name: '系统登录',
iailab-doc-ui/wiki-ui/src/views/user/Login.vue
@@ -17,26 +17,26 @@
                        登录
                    </el-button>
                </el-form-item>
                <!--                统一身份登录-->
                <el-divider content-position="center">统一身份登录</el-divider>
                <el-col :span="24" style="padding-right: 10px; padding-left: 10px">
                    <el-form-item>
                        <el-row :gutter="10" justify="space-between" style="width: 100%">
                            <el-col :span="8">
                                <el-button type="primary" style="width: 100%;"
                                                     @click="ssoPasswordLogin">
                                    {{ ssoLoginPasswordTitle }}
                                </el-button>
                            </el-col>
                            <el-col :span="8">
                                <el-button type="primary" style="width: 100%;"
                                                     @click="ssoCodeLogin">
                                    {{ ssoLoginCodeTitle }}
                                </el-button>
                            </el-col>
                        </el-row>
                    </el-form-item>
                </el-col>
<!--                &lt;!&ndash;                统一身份登录&ndash;&gt;-->
<!--                <el-divider content-position="center">统一身份登录</el-divider>-->
<!--                <el-col :span="24" style="padding-right: 10px; padding-left: 10px">-->
<!--                    <el-form-item>-->
<!--                        <el-row :gutter="10" justify="space-between" style="width: 100%">-->
<!--                            <el-col :span="8">-->
<!--                                <el-button type="primary" style="width: 100%;"-->
<!--                                                     @click="ssoPasswordLogin">-->
<!--                                    {{ ssoLoginPasswordTitle }}-->
<!--                                </el-button>-->
<!--                            </el-col>-->
<!--                            <el-col :span="8">-->
<!--                                <el-button type="primary" style="width: 100%;"-->
<!--                                                     @click="ssoCodeLogin">-->
<!--                                    {{ ssoLoginCodeTitle }}-->
<!--                                </el-button>-->
<!--                            </el-col>-->
<!--                        </el-row>-->
<!--                    </el-form-item>-->
<!--                </el-col>-->
            </el-form>
        </div>
        <div class="power-by">Powered By <a target="_blank" href="https://xxxx">iailab-doc</a></div>
@@ -75,6 +75,8 @@
}
onMounted(() => {
    redirect.value = route.params.redirect;
    let token = Cookies.get('accessToken');
    console.log(token);
})
const loginSubmit = async (params) => {
    loginLoading.value = true;
iailab-doc-ui/wiki-ui/vite.config.js
@@ -29,13 +29,34 @@
        },
        extensions: ['.mjs', '.js', '.ts', '.jsx', '.tsx', '.json', '.vue']
    },
    publicPath: './',
    productionSourceMap: false,
    pages: {
        index: {
            entry: 'src/main.js',
            template: 'public/index.html',
            filename: 'index.html',
        },
    }
    build: {
        emptyOutDir: true,
        cssCodeSplit: false,
        outDir: '../../iailab-doc-wiki/src/main/resources/dist',
        rollupOptions: {
            input: {
                main: resolve(__dirname, 'doc-wiki.html'),
            },
            output: {
                // 拆分包
                manualChunks: (id) => {
                    if (id.includes('node_modules')) {
                        const module = id.toString().split('node_modules/')[1].split('/')[0];
                        if (['mermaid', 'highlight.js', 'katex', 'zrender', 'vant'].includes(module)) {
                            return module;
                        }
                        if (module === '@vue') return 'vue';
                        if (module === '@wangeditor') return 'wangeditor';
                        if (module.indexOf('markmap') === 0) return 'markmap';
                        if (module.indexOf('markdown') === 0) return 'markdown';
                        // 不可拆分:echarts、element-plus
                        if (!['echarts', 'element-plus'].includes(module)) {
                            return 'vendor';
                        }
                    }
                },
                assetFileNames: 'assets/[name].[hash].[ext]',
            }
        }
    },
});
iailab-doc-wiki/src/main/resources/dist/assets/fontello.0286fb90.eot
Binary files differ
iailab-doc-wiki/src/main/resources/dist/assets/fontello.37711755.ttf
Binary files differ
iailab-doc-wiki/src/main/resources/dist/assets/fontello.82a2c2e3.svg
文件已删除
iailab-doc-wiki/src/main/resources/dist/assets/fontello.8aa3e26e.woff
Binary files differ
iailab-doc-wiki/src/main/resources/dist/assets/fontello.febc4ea8.woff2
Binary files differ
iailab-doc-wiki/src/main/resources/dist/assets/highlight.js-d64bc19a.js
文件已删除
iailab-doc-wiki/src/main/resources/dist/assets/main-5ddde74f.js
文件已删除
iailab-doc-wiki/src/main/resources/dist/assets/style.2e519726.css
文件已删除
iailab-doc-wiki/src/main/resources/dist/assets/vant-358433d9.js
文件已删除
iailab-doc-wiki/src/main/resources/dist/assets/vendor-1aff8466.js
文件已删除
iailab-doc-wiki/src/main/resources/dist/assets/vue-650a4d10.js
文件已删除
iailab-doc-wiki/src/main/resources/dist/assets/wangeditor-2118e498.js
文件已删除
iailab-doc-wiki/src/main/resources/dist/doc-wiki.html
文件已删除
iailab-doc-wiki/src/main/resources/dist/wiki-logo.png
Binary files differ