From 89380e6260a75d1d3b94de687ebcc2f50d50659d Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Tue, 03 Feb 2026 15:44:33 +0800
Subject: [PATCH] feat:环境变量配置调整
---
applications/task-work-order/src/config/website.js | 144 +++++++++++++++++++++++++-----------------------
1 files changed, 75 insertions(+), 69 deletions(-)
diff --git a/applications/task-work-order/src/config/website.js b/applications/task-work-order/src/config/website.js
index 8c44f0a..0230b1d 100644
--- a/applications/task-work-order/src/config/website.js
+++ b/applications/task-work-order/src/config/website.js
@@ -1,74 +1,80 @@
+/*
+ * @Author : yuan
+ * @Date : 2026-01-06 09:47:27
+ * @LastEditors : yuan
+ * @LastEditTime : 2026-01-16 11:12:30
+ * @FilePath : \applications\task-work-order\src\config\website.js
+ * @Description :
+ * Copyright 2026 OBKoro1, All Rights Reserved.
+ * 2026-01-06 09:47:27
+ */
/**
* 全局配置文件
*/
export default {
- title: 'saber',
- logo: 'S',
- key: 'saber', //配置主键,目前用于存储
- indexTitle: '',
- clientId: 'drone', // 客户端id
- clientSecret: 'drone_secret', // 客户端密钥
- tenantMode: true, // 是否开启租户模式
- tenantId: '000000', // 管理组租户编号
- captchaMode: true, // 是否开启验证码模式
- switchMode: false, // 是否开启部门切换模式
- lockPage: '/lock',
- tokenTime: 3000,
- tokenHeader: 'Blade-Auth',
- //http的status默认放行不才用统一处理的,
- statusWhiteList: [],
- //配置首页不可关闭
- setting: {
- sidebar: 'vertical',
- tag: true,
- debug: true,
- collapse: true,
- search: true,
- color: true,
- lock: true,
- screenshot: true,
- fullscreen: true,
- theme: true,
- menu: true,
- },
- fistPage: {
- name: '个人工作台',
- path: '/wel/index',
- // path: '/tickets/ticket',
-
- },
- //配置菜单的属性
- menu: {
- iconDefault: 'icon-caidan',
- label: 'name',
- path: 'path',
- icon: 'source',
- children: 'children',
- query: 'query',
- href: 'path',
- meta: 'meta',
- },
- //oauth2配置
- oauth2: {
- // 是否开启注册功能
- registerMode: true,
- // 使用后端工程 @org.springblade.test.Sm2KeyGenerator 获取
- publicKey: '请配置国密sm2公钥',
- // 第三方系统授权地址
- authUrl: 'http://localhost/blade-auth/oauth/render',
- // 单点登录系统认证(cloud端口为8100,boot端口为80)
- ssoUrl:
- 'http://localhost:8100/oauth/authorize?client_id=saber3&response_type=code&redirect_uri=',
- // 单点登录回调地址(Saber服务的登录界面地址)
- redirectUri: 'http://localhost:2888/login',
- },
- //设计器配置
- design: {
- // 流程设计器类型(true->nutflow,false->flowable)
- designMode: true,
- // 流程设计器地址(flowable模式)
- designUrl: 'http://localhost:9999',
- // 报表设计器地址(cloud端口为8108,boot端口为80)
- reportUrl: 'http://localhost:8108/ureport',
- },
+ title: 'saber',
+ logo: 'S',
+ key: 'work', //配置主键,目前用于存储
+ indexTitle: '',
+ clientId: 'saber', // 客户端id
+ clientSecret: 'saber_secret', // 客户端密钥
+ tenantMode: true, // 是否开启租户模式
+ tenantId: '000000', // 管理组租户编号
+ captchaMode: true, // 是否开启验证码模式
+ switchMode: false, // 是否开启部门切换模式
+ lockPage: '/lock',
+ tokenTime: 3000,
+ tokenHeader: 'Blade-Auth',
+ //http的status默认放行不才用统一处理的,
+ statusWhiteList: [],
+ //配置首页不可关闭
+ setting: {
+ sidebar: 'vertical',
+ tag: true,
+ debug: true,
+ collapse: true,
+ search: true,
+ color: true,
+ lock: true,
+ screenshot: true,
+ fullscreen: true,
+ theme: true,
+ menu: true,
+ },
+ fistPage: {
+ path: '/',
+ },
+ //配置菜单的属性
+ menu: {
+ iconDefault: 'icon-caidan',
+ label: 'name',
+ path: 'path',
+ icon: 'source',
+ children: 'children',
+ query: 'query',
+ href: 'path',
+ meta: 'meta',
+ },
+ //oauth2配置
+ oauth2: {
+ // 是否开启注册功能
+ registerMode: true,
+ // 使用后端工程 @org.springblade.test.Sm2KeyGenerator 获取
+ publicKey: '请配置国密sm2公钥',
+ // 第三方系统授权地址
+ authUrl: 'http://localhost/blade-auth/oauth/render',
+ // 单点登录系统认证(cloud端口为8100,boot端口为80)
+ ssoUrl: 'http://localhost:8100/oauth/authorize?client_id=saber3&response_type=code&redirect_uri=',
+ // 单点登录回调地址(Saber服务的登录界面地址)
+ redirectUri: 'http://localhost:2888/login',
+ },
+ //设计器配置
+ design: {
+ // 流程设计器类型(true->nutflow,false->flowable)
+ designMode: true,
+ // 流程设计器地址(flowable模式)
+ designUrl: 'http://localhost:9999',
+ // 报表设计器地址(cloud端口为8108,boot端口为80)
+ reportUrl: 'http://localhost:8108/ureport',
+ },
}
--
Gitblit v1.9.3