1698 changed files with 315160 additions and 0 deletions
@ -0,0 +1 @@
@@ -0,0 +1 @@
|
||||
registry=http://nexus.fawkes.tech:8003/repository/npm-group |
||||
@ -0,0 +1,15 @@
@@ -0,0 +1,15 @@
|
||||
{ |
||||
"name": "pv-system-monorepo", |
||||
"version": "1.0.0", |
||||
"description": "PV System Monorepo", |
||||
"private": true, |
||||
"scripts": { |
||||
"dev": "pnpm --filter robot-system dev", |
||||
"build": "pnpm --filter robot-system build:prod", |
||||
"preview": "pnpm --filter robot-system dev", |
||||
"lint": "pnpm --filter robot-system lint", |
||||
"clean": "pnpm -r exec rm -rf node_modules && rm -rf node_modules" |
||||
}, |
||||
"devDependencies": {}, |
||||
"packageManager": "pnpm@8.15.0" |
||||
} |
||||
@ -0,0 +1,15 @@
@@ -0,0 +1,15 @@
|
||||
# Ignore everything |
||||
** |
||||
|
||||
# Allow files and directories |
||||
!Dockerfile |
||||
!dist |
||||
!nginx.conf |
||||
|
||||
|
||||
# Ignore unnecessary files inside allowed directories |
||||
# This should go after the allowed directories |
||||
**/*~ |
||||
**/*.log |
||||
**/.DS_Store |
||||
**/Thumbs.db |
||||
@ -0,0 +1,16 @@
@@ -0,0 +1,16 @@
|
||||
# just a flag |
||||
ENV = 'development' |
||||
NODE_ENV = 'development' |
||||
|
||||
# base path |
||||
VUE_APP_BASE_PATH = './' |
||||
|
||||
VUE_APP_BASE_DEV_PATH = '' |
||||
|
||||
# vue-cli uses the VUE_CLI_BABEL_TRANSPILE_MODULES environment variable, |
||||
# to control whether the babel-plugin-dynamic-import-node plugin is enabled. |
||||
# It only does one thing by converting all import() to require(). |
||||
# This configuration can significantly increase the speed of hot updates, |
||||
# when you have a large number of pages. |
||||
# Detail: https://github.com/vuejs/vue-cli/blob/dev/packages/@vue/babel-preset-app/index.js |
||||
|
||||
@ -0,0 +1,14 @@
@@ -0,0 +1,14 @@
|
||||
# just a flag |
||||
ENV = 'production' |
||||
NODE_ENV = 'production' |
||||
|
||||
# base api |
||||
VUE_APP_BASE_PATH = '../' |
||||
|
||||
# route mode |
||||
VUE_APP_LOCAL_ROUTE = false |
||||
|
||||
# portal mode |
||||
VUE_APP_MULTIPORTAL = false |
||||
|
||||
VUE_APP_BASE_DEV_PATH = '/prod-api' |
||||
@ -0,0 +1,13 @@
@@ -0,0 +1,13 @@
|
||||
# just a flag |
||||
ENV = 'stage' |
||||
NODE_ENV = 'stage' |
||||
|
||||
VUE_APP_BASE_PATH = '../' |
||||
|
||||
# route mode |
||||
VUE_APP_LOCAL_ROUTE = false |
||||
|
||||
# portal mode |
||||
VUE_APP_MULTIPORTAL = true |
||||
|
||||
VUE_APP_BASE_DEV_PATH = '' |
||||
@ -0,0 +1,100 @@
@@ -0,0 +1,100 @@
|
||||
/* |
||||
* @Author: zhong_m |
||||
* @Date: 2022-01-05 09:05:52 |
||||
* @LastEditTime: 2022-03-31 10:43:26 |
||||
* @LastEditors: wei_jt@ecidi.com |
||||
* @Description: eslint配置 |
||||
* @FilePath: \central-system\.eslintrc.js |
||||
*/ |
||||
module.exports = { |
||||
"root": true, |
||||
"env": { |
||||
"node": true |
||||
}, |
||||
"extends": [ |
||||
"plugin:vue/essential", |
||||
"plugin:vue/recommended", |
||||
"eslint:recommended" |
||||
], |
||||
"parser": "vue-eslint-parser", |
||||
"parserOptions": { |
||||
"parser": "@babel/eslint-parser", |
||||
"ecmaVersion": 6, |
||||
"sourceType": 'module', |
||||
"ecmaFeatures": { |
||||
"legacyDecorators": true |
||||
} |
||||
}, |
||||
"globals": { |
||||
"__webpack_public_path__": true, |
||||
"Sm4utils": true, |
||||
"monitor": true, |
||||
"permission": true, |
||||
"DDLogin": true, |
||||
"CLIENT": true |
||||
}, |
||||
"rules": { |
||||
"no-unused-vars": "warn", |
||||
"no-console": "warn", |
||||
"no-useless-escape": "off", |
||||
"no-extra-semi": "error", |
||||
"quotes": ['error', 'single'], |
||||
'indent': ['error', 2, { "SwitchCase": 1 }], |
||||
"vue/order-in-components": [ |
||||
"error", |
||||
{ |
||||
"order": [ |
||||
"el", |
||||
"name", |
||||
"key", |
||||
"parent", |
||||
"functional", |
||||
[ |
||||
"delimiters", |
||||
"comments" |
||||
], |
||||
[ |
||||
"components", |
||||
"directives", |
||||
"filters" |
||||
], |
||||
"extends", |
||||
"mixins", |
||||
[ |
||||
"provide", |
||||
"inject" |
||||
], |
||||
"ROUTER_GUARDS", |
||||
"layout", |
||||
"middleware", |
||||
"validate", |
||||
"scrollToTop", |
||||
"transition", |
||||
"loading", |
||||
"inheritAttrs", |
||||
"model", |
||||
[ |
||||
"props", |
||||
"propsData" |
||||
], |
||||
"emits", |
||||
"setup", |
||||
"fetch", |
||||
"asyncData", |
||||
"data", |
||||
"head", |
||||
"computed", |
||||
"watch", |
||||
"watchQuery", |
||||
"LIFECYCLE_HOOKS", |
||||
"methods", |
||||
[ |
||||
"template", |
||||
"render" |
||||
], |
||||
"renderError" |
||||
] |
||||
} |
||||
] |
||||
}, |
||||
} |
||||
@ -0,0 +1,364 @@
@@ -0,0 +1,364 @@
|
||||
## Ignore Visual Studio temporary files, build results, and |
||||
## files generated by popular Visual Studio add-ons. |
||||
## |
||||
## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore |
||||
|
||||
# User-specific files |
||||
*.rsuser |
||||
*.suo |
||||
*.user |
||||
*.userosscache |
||||
*.sln.docstates |
||||
|
||||
# User-specific files (MonoDevelop/Xamarin Studio) |
||||
*.userprefs |
||||
|
||||
# Mono auto generated files |
||||
mono_crash.* |
||||
|
||||
# Build results |
||||
[Dd]ebug/ |
||||
[Dd]ebugPublic/ |
||||
[Rr]elease/ |
||||
[Rr]eleases/ |
||||
x64/ |
||||
x86/ |
||||
[Ww][Ii][Nn]32/ |
||||
[Aa][Rr][Mm]/ |
||||
[Aa][Rr][Mm]64/ |
||||
bld/ |
||||
[Bb]in/ |
||||
[Oo]bj/ |
||||
[Ll]og/ |
||||
[Ll]ogs/ |
||||
|
||||
# Visual Studio 2015/2017 cache/options directory |
||||
.vs/ |
||||
# Uncomment if you have tasks that create the project's static files in wwwroot |
||||
#wwwroot/ |
||||
|
||||
# Visual Studio 2017 auto generated files |
||||
Generated\ Files/ |
||||
|
||||
# MSTest test Results |
||||
[Tt]est[Rr]esult*/ |
||||
[Bb]uild[Ll]og.* |
||||
|
||||
# NUnit |
||||
*.VisualState.xml |
||||
TestResult.xml |
||||
nunit-*.xml |
||||
|
||||
# Build Results of an ATL Project |
||||
[Dd]ebugPS/ |
||||
[Rr]eleasePS/ |
||||
dlldata.c |
||||
|
||||
# Benchmark Results |
||||
BenchmarkDotNet.Artifacts/ |
||||
|
||||
# .NET Core |
||||
project.lock.json |
||||
project.fragment.lock.json |
||||
artifacts/ |
||||
|
||||
# ASP.NET Scaffolding |
||||
ScaffoldingReadMe.txt |
||||
|
||||
# StyleCop |
||||
StyleCopReport.xml |
||||
|
||||
# Files built by Visual Studio |
||||
*_i.c |
||||
*_p.c |
||||
*_h.h |
||||
*.ilk |
||||
*.meta |
||||
*.obj |
||||
*.iobj |
||||
*.pch |
||||
*.pdb |
||||
*.ipdb |
||||
*.pgc |
||||
*.pgd |
||||
*.rsp |
||||
*.sbr |
||||
*.tlb |
||||
*.tli |
||||
*.tlh |
||||
*.tmp |
||||
*.tmp_proj |
||||
*_wpftmp.csproj |
||||
*.log |
||||
*.vspscc |
||||
*.vssscc |
||||
.builds |
||||
*.pidb |
||||
*.svclog |
||||
*.scc |
||||
|
||||
# Chutzpah Test files |
||||
_Chutzpah* |
||||
|
||||
# Visual C++ cache files |
||||
ipch/ |
||||
*.aps |
||||
*.ncb |
||||
*.opendb |
||||
*.opensdf |
||||
*.sdf |
||||
*.cachefile |
||||
*.VC.db |
||||
*.VC.VC.opendb |
||||
|
||||
# Visual Studio profiler |
||||
*.psess |
||||
*.vsp |
||||
*.vspx |
||||
*.sap |
||||
|
||||
# Visual Studio Trace Files |
||||
*.e2e |
||||
|
||||
# TFS 2012 Local Workspace |
||||
$tf/ |
||||
|
||||
# Guidance Automation Toolkit |
||||
*.gpState |
||||
|
||||
# ReSharper is a .NET coding add-in |
||||
_ReSharper*/ |
||||
*.[Rr]e[Ss]harper |
||||
*.DotSettings.user |
||||
|
||||
# TeamCity is a build add-in |
||||
_TeamCity* |
||||
|
||||
# DotCover is a Code Coverage Tool |
||||
*.dotCover |
||||
|
||||
# AxoCover is a Code Coverage Tool |
||||
.axoCover/* |
||||
!.axoCover/settings.json |
||||
|
||||
# Coverlet is a free, cross platform Code Coverage Tool |
||||
coverage*.json |
||||
coverage*.xml |
||||
coverage*.info |
||||
|
||||
# Visual Studio code coverage results |
||||
*.coverage |
||||
*.coveragexml |
||||
|
||||
# NCrunch |
||||
_NCrunch_* |
||||
.*crunch*.local.xml |
||||
nCrunchTemp_* |
||||
|
||||
# MightyMoose |
||||
*.mm.* |
||||
AutoTest.Net/ |
||||
|
||||
# Web workbench (sass) |
||||
.sass-cache/ |
||||
|
||||
# Installshield output folder |
||||
[Ee]xpress/ |
||||
|
||||
# DocProject is a documentation generator add-in |
||||
DocProject/buildhelp/ |
||||
DocProject/Help/*.HxT |
||||
DocProject/Help/*.HxC |
||||
DocProject/Help/*.hhc |
||||
DocProject/Help/*.hhk |
||||
DocProject/Help/*.hhp |
||||
DocProject/Help/Html2 |
||||
DocProject/Help/html |
||||
|
||||
# Click-Once directory |
||||
publish/ |
||||
|
||||
# Publish Web Output |
||||
*.[Pp]ublish.xml |
||||
*.azurePubxml |
||||
# Note: Comment the next line if you want to checkin your web deploy settings, |
||||
# but database connection strings (with potential passwords) will be unencrypted |
||||
*.pubxml |
||||
*.publishproj |
||||
|
||||
# Microsoft Azure Web App publish settings. Comment the next line if you want to |
||||
# checkin your Azure Web App publish settings, but sensitive information contained |
||||
# in these scripts will be unencrypted |
||||
PublishScripts/ |
||||
|
||||
# NuGet Packages |
||||
*.nupkg |
||||
# NuGet Symbol Packages |
||||
*.snupkg |
||||
# The packages folder can be ignored because of Package Restore |
||||
**/[Pp]ackages/* |
||||
# except build/, which is used as an MSBuild target. |
||||
!**/[Pp]ackages/build/ |
||||
# Uncomment if necessary however generally it will be regenerated when needed |
||||
#!**/[Pp]ackages/repositories.config |
||||
# NuGet v3's project.json files produces more ignorable files |
||||
*.nuget.props |
||||
*.nuget.targets |
||||
|
||||
# Microsoft Azure Build Output |
||||
csx/ |
||||
*.build.csdef |
||||
|
||||
# Microsoft Azure Emulator |
||||
ecf/ |
||||
rcf/ |
||||
|
||||
# Windows Store app package directories and files |
||||
AppPackages/ |
||||
BundleArtifacts/ |
||||
Package.StoreAssociation.xml |
||||
_pkginfo.txt |
||||
*.appx |
||||
*.appxbundle |
||||
*.appxupload |
||||
|
||||
# Visual Studio cache files |
||||
# files ending in .cache can be ignored |
||||
*.[Cc]ache |
||||
# but keep track of directories ending in .cache |
||||
!?*.[Cc]ache/ |
||||
|
||||
# Others |
||||
ClientBin/ |
||||
~$* |
||||
*~ |
||||
*.dbmdl |
||||
*.dbproj.schemaview |
||||
*.jfm |
||||
*.pfx |
||||
*.publishsettings |
||||
orleans.codegen.cs |
||||
|
||||
# Including strong name files can present a security risk |
||||
# (https://github.com/github/gitignore/pull/2483#issue-259490424) |
||||
#*.snk |
||||
|
||||
# Since there are multiple workflows, uncomment next line to ignore bower_components |
||||
# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622) |
||||
#bower_components/ |
||||
|
||||
# RIA/Silverlight projects |
||||
Generated_Code/ |
||||
|
||||
# Backup & report files from converting an old project file |
||||
# to a newer Visual Studio version. Backup files are not needed, |
||||
# because we have git ;-) |
||||
_UpgradeReport_Files/ |
||||
Backup*/ |
||||
UpgradeLog*.XML |
||||
UpgradeLog*.htm |
||||
ServiceFabricBackup/ |
||||
*.rptproj.bak |
||||
|
||||
# SQL Server files |
||||
*.mdf |
||||
*.ldf |
||||
*.ndf |
||||
|
||||
# Business Intelligence projects |
||||
*.rdl.data |
||||
*.bim.layout |
||||
*.bim_*.settings |
||||
*.rptproj.rsuser |
||||
*- [Bb]ackup.rdl |
||||
*- [Bb]ackup ([0-9]).rdl |
||||
*- [Bb]ackup ([0-9][0-9]).rdl |
||||
|
||||
# Microsoft Fakes |
||||
FakesAssemblies/ |
||||
|
||||
# GhostDoc plugin setting file |
||||
*.GhostDoc.xml |
||||
|
||||
# Node.js Tools for Visual Studio |
||||
.ntvs_analysis.dat |
||||
node_modules/ |
||||
|
||||
# Visual Studio 6 build log |
||||
*.plg |
||||
|
||||
# Visual Studio 6 workspace options file |
||||
*.opt |
||||
|
||||
# Visual Studio 6 auto-generated workspace file (contains which files were open etc.) |
||||
*.vbw |
||||
|
||||
# Visual Studio LightSwitch build output |
||||
**/*.HTMLClient/GeneratedArtifacts |
||||
**/*.DesktopClient/GeneratedArtifacts |
||||
**/*.DesktopClient/ModelManifest.xml |
||||
**/*.Server/GeneratedArtifacts |
||||
**/*.Server/ModelManifest.xml |
||||
_Pvt_Extensions |
||||
|
||||
# Paket dependency manager |
||||
.paket/paket.exe |
||||
paket-files/ |
||||
|
||||
# FAKE - F# Make |
||||
.fake/ |
||||
|
||||
# CodeRush personal settings |
||||
.cr/personal |
||||
|
||||
# Python Tools for Visual Studio (PTVS) |
||||
__pycache__/ |
||||
*.pyc |
||||
|
||||
# Cake - Uncomment if you are using it |
||||
# tools/** |
||||
# !tools/packages.config |
||||
|
||||
# Tabs Studio |
||||
*.tss |
||||
|
||||
# Telerik's JustMock configuration file |
||||
*.jmconfig |
||||
|
||||
# BizTalk build output |
||||
*.btp.cs |
||||
*.btm.cs |
||||
*.odx.cs |
||||
*.xsd.cs |
||||
|
||||
# OpenCover UI analysis results |
||||
OpenCover/ |
||||
|
||||
# Azure Stream Analytics local run output |
||||
ASALocalRun/ |
||||
|
||||
# MSBuild Binary and Structured Log |
||||
*.binlog |
||||
|
||||
# NVidia Nsight GPU debugger configuration file |
||||
*.nvuser |
||||
|
||||
# MFractors (Xamarin productivity tool) working folder |
||||
.mfractor/ |
||||
|
||||
# Local History for Visual Studio |
||||
.localhistory/ |
||||
|
||||
# BeatPulse healthcheck temp database |
||||
healthchecksdb |
||||
|
||||
# Backup folder for Package Reference Convert tool in Visual Studio 2017 |
||||
MigrationBackup/ |
||||
|
||||
# Ionide (cross platform F# VS Code tools) working folder |
||||
.ionide/ |
||||
|
||||
# Fody - auto-generated XML schema |
||||
FodyWeavers.xsd |
||||
|
||||
/dist |
||||
@ -0,0 +1,14 @@
@@ -0,0 +1,14 @@
|
||||
/* |
||||
* @Author: zhong_m |
||||
* @Date: 2022-01-05 11:35:32 |
||||
* @LastEditTime: 2022-01-05 16:09:25 |
||||
* @LastEditors: zhong_m |
||||
* @Description: husky配置,需node版本14.18.2,不想使用注释即可 |
||||
* @FilePath: \central-system\.huskyrc.js |
||||
*/ |
||||
module.exports = { |
||||
"hooks": { |
||||
// git提交前执行lint
|
||||
//"pre-commit": "lint-staged"
|
||||
} |
||||
} |
||||
@ -0,0 +1,5 @@
@@ -0,0 +1,5 @@
|
||||
registry=http://nexus.fawkes.tech:8003/repository/npm-group |
||||
# 自动安装对等依赖 |
||||
auto-install-peers=true |
||||
# 关闭严格对等依赖检查 |
||||
strict-peer-dependencies=false |
||||
@ -0,0 +1,16 @@
@@ -0,0 +1,16 @@
|
||||
# .stylelintignore |
||||
# 旧的不需打包的样式库 |
||||
*.min.css |
||||
|
||||
# 其他类型文件 |
||||
*.js |
||||
*.jpg |
||||
*.png |
||||
*.eot |
||||
*.ttf |
||||
*.woff |
||||
*.json |
||||
|
||||
# 测试和打包目录 |
||||
/test/ |
||||
/dist/ |
||||
@ -0,0 +1,335 @@
@@ -0,0 +1,335 @@
|
||||
/* |
||||
* @Author: zhong_m |
||||
* @Date: 2021-12-20 15:46:50 |
||||
* @LastEditTime: 2022-04-13 10:20:39 |
||||
* @LastEditors: zhong_m |
||||
* @Description: stylelint配置文件 |
||||
* @FilePath: \central-system\.stylelintrc.js |
||||
*/ |
||||
|
||||
module.exports = { |
||||
"extends" : [ "stylelint-config-recommended-scss" ], |
||||
"plugins" : [ "stylelint-order", "stylelint-scss" ], |
||||
"rules" : { |
||||
"alpha-value-notation": "number", //
|
||||
"color-function-notation": "legacy", |
||||
"selector-class-pattern": "((\\w+(-\\w)*)|(fks-\\w+__\\w+))", |
||||
"selector-pseudo-element-no-unknown": [ |
||||
true, |
||||
{ |
||||
"ignorePseudoElements": ["v-deep"] |
||||
} |
||||
], |
||||
"selector-pseudo-class-no-unknown": [ |
||||
true, |
||||
{ |
||||
"ignorePseudoClasses": ["deep"] |
||||
} |
||||
], |
||||
"no-empty-source" : null, |
||||
"property-no-vendor-prefix" : [ true , { "ignoreProperties" : [ "background-clip" ]}], |
||||
"number-leading-zero" : "never" , |
||||
"number-no-trailing-zeros" : true , |
||||
"length-zero-no-unit" : true , |
||||
"value-list-comma-space-after" : "always" , |
||||
"declaration-colon-space-after" : "always" , |
||||
"value-list-max-empty-lines" : 0, |
||||
"shorthand-property-no-redundant-values" : true , |
||||
"declaration-block-no-duplicate-properties" : true , |
||||
"declaration-block-no-redundant-longhand-properties" : true , |
||||
"declaration-block-semicolon-newline-after" : "always" , |
||||
"block-closing-brace-newline-after" : "always" , |
||||
"media-feature-colon-space-after" : "always" , |
||||
"media-feature-range-operator-space-after" : "always" , |
||||
"at-rule-name-space-after" : "always" , |
||||
"indentation" : 2, |
||||
"no-eol-whitespace" : true , |
||||
"string-no-newline" : null, |
||||
"no-invalid-position-at-import-rule": null, |
||||
"scss/at-import-partial-extension": null, |
||||
"scss/no-global-function-names": null, |
||||
"no-descending-specificity": null, |
||||
// "at-rule-no-unknown": null,
|
||||
// "at-rule-whitelist": ["mixin", "includes", ],
|
||||
// "no-invalid-double-slash-comments" : false,
|
||||
"order/order" : [ |
||||
"custom-properties" , |
||||
"dollar-variables" , |
||||
"declarations" , |
||||
"rules" , |
||||
"at-rules" |
||||
], |
||||
"order/properties-order" : [ |
||||
"content" , |
||||
"position" , |
||||
"z-index" , |
||||
"top" , |
||||
"bottom" , |
||||
"left" , |
||||
"right" , |
||||
"float" , |
||||
"clear" , |
||||
"columns" , |
||||
"columns-width" , |
||||
"columns-count" , |
||||
"column-rule" , |
||||
"column-rule-width" , |
||||
"column-rule-style" , |
||||
"column-rule-color" , |
||||
"column-fill" , |
||||
"column-span" , |
||||
"column-gap" , |
||||
"display" , |
||||
"grid" , |
||||
"grid-template-rows" , |
||||
"grid-template-columns" , |
||||
"grid-template-areas" , |
||||
"grid-auto-rows" , |
||||
"grid-auto-columns" , |
||||
"grid-auto-flow" , |
||||
"grid-column-gap" , |
||||
"grid-row-gap" , |
||||
"grid-template" , |
||||
"grid-template-rows" , |
||||
"grid-template-columns" , |
||||
"grid-template-areas" , |
||||
"grid-gap" , |
||||
"grid-row-gap" , |
||||
"grid-column-gap" , |
||||
"grid-area" , |
||||
"grid-row-start" , |
||||
"grid-row-end" , |
||||
"grid-column-start" , |
||||
"grid-column-end" , |
||||
"grid-column" , |
||||
"grid-column-start" , |
||||
"grid-column-end" , |
||||
"grid-row" , |
||||
"grid-row-start" , |
||||
"grid-row-end" , |
||||
"flex" , |
||||
"flex-grow" , |
||||
"flex-shrink" , |
||||
"flex-basis" , |
||||
"flex-flow" , |
||||
"flex-direction" , |
||||
"flex-wrap" , |
||||
"justify-content" , |
||||
"align-content" , |
||||
"align-items" , |
||||
"align-self" , |
||||
"order" , |
||||
"table-layout" , |
||||
"empty-cells" , |
||||
"caption-side" , |
||||
"border-collapse" , |
||||
"border-spacing" , |
||||
"list-style" , |
||||
"list-style-type" , |
||||
"list-style-position" , |
||||
"list-style-image" , |
||||
"ruby-align" , |
||||
"ruby-merge" , |
||||
"ruby-position" , |
||||
"box-sizing" , |
||||
"width" , |
||||
"min-width" , |
||||
"max-width" , |
||||
"height" , |
||||
"min-height" , |
||||
"max-height" , |
||||
"padding" , |
||||
"padding-top" , |
||||
"padding-right" , |
||||
"padding-bottom" , |
||||
"padding-left" , |
||||
"margin" , |
||||
"margin-top" , |
||||
"margin-right" , |
||||
"margin-bottom" , |
||||
"margin-left" , |
||||
"border" , |
||||
"border-width" , |
||||
"border-top-width" , |
||||
"border-right-width" , |
||||
"border-bottom-width" , |
||||
"border-left-width" , |
||||
"border-style" , |
||||
"border-top-style" , |
||||
"border-right-style" , |
||||
"border-bottom-style" , |
||||
"border-left-style" , |
||||
"border-color" , |
||||
"border-top-color" , |
||||
"border-right-color" , |
||||
"border-bottom-color" , |
||||
"border-left-color" , |
||||
"border-image" , |
||||
"border-image-source" , |
||||
"border-image-slice" , |
||||
"border-image-width" , |
||||
"border-image-outset" , |
||||
"border-image-repeat" , |
||||
"border-top" , |
||||
"border-top-width" , |
||||
"border-top-style" , |
||||
"border-top-color" , |
||||
"border-top" , |
||||
"border-right-width" , |
||||
"border-right-style" , |
||||
"border-right-color" , |
||||
"border-bottom" , |
||||
"border-bottom-width" , |
||||
"border-bottom-style" , |
||||
"border-bottom-color" , |
||||
"border-left" , |
||||
"border-left-width" , |
||||
"border-left-style" , |
||||
"border-left-color" , |
||||
"border-radius" , |
||||
"border-top-right-radius" , |
||||
"border-bottom-right-radius" , |
||||
"border-bottom-left-radius" , |
||||
"border-top-left-radius" , |
||||
"outline" , |
||||
"outline-width" , |
||||
"outline-color" , |
||||
"outline-style" , |
||||
"outline-offset" , |
||||
"overflow" , |
||||
"overflow-x" , |
||||
"overflow-y" , |
||||
"resize" , |
||||
"visibility" , |
||||
"font" , |
||||
"font-style" , |
||||
"font-variant" , |
||||
"font-weight" , |
||||
"font-stretch" , |
||||
"font-size" , |
||||
"font-family" , |
||||
"font-synthesis" , |
||||
"font-size-adjust" , |
||||
"font-kerning" , |
||||
"line-height" , |
||||
"text-align" , |
||||
"text-align-last" , |
||||
"vertical-align" , |
||||
"text-overflow" , |
||||
"text-justify" , |
||||
"text-transform" , |
||||
"text-indent" , |
||||
"text-emphasis" , |
||||
"text-emphasis-style" , |
||||
"text-emphasis-color" , |
||||
"text-emphasis-position" , |
||||
"text-decoration" , |
||||
"text-decoration-color" , |
||||
"text-decoration-style" , |
||||
"text-decoration-line" , |
||||
"text-underline-position" , |
||||
"text-shadow" , |
||||
"white-space" , |
||||
"overflow-wrap" , |
||||
"word-wrap" , |
||||
"word-break" , |
||||
"line-break" , |
||||
"hyphens" , |
||||
"letter-spacing" , |
||||
"word-spacing" , |
||||
"quotes" , |
||||
"tab-size" , |
||||
"orphans" , |
||||
"writing-mode" , |
||||
"text-combine-upright" , |
||||
"unicode-bidi" , |
||||
"text-orientation" , |
||||
"direction" , |
||||
"text-rendering" , |
||||
"font-feature-settings" , |
||||
"font-language-override" , |
||||
"image-rendering" , |
||||
"image-orientation" , |
||||
"image-resolution" , |
||||
"shape-image-threshold" , |
||||
"shape-outside" , |
||||
"shape-margin" , |
||||
"color" , |
||||
"background" , |
||||
"background-image" , |
||||
"background-position" , |
||||
"background-size" , |
||||
"background-repeat" , |
||||
"background-origin" , |
||||
"background-clip" , |
||||
"background-attachment" , |
||||
"background-color" , |
||||
"background-blend-mode" , |
||||
"isolation" , |
||||
"clip-path" , |
||||
"mask" , |
||||
"mask-image" , |
||||
"mask-mode" , |
||||
"mask-position" , |
||||
"mask-size" , |
||||
"mask-repeat" , |
||||
"mask-origin" , |
||||
"mask-clip" , |
||||
"mask-composite" , |
||||
"mask-type" , |
||||
"filter" , |
||||
"box-shadow" , |
||||
"opacity" , |
||||
"transform-style" , |
||||
"transform" , |
||||
"transform-box" , |
||||
"transform-origin" , |
||||
"perspective" , |
||||
"perspective-origin" , |
||||
"backface-visibility" , |
||||
"transition" , |
||||
"transition-property" , |
||||
"transition-duration" , |
||||
"transition-timing-function" , |
||||
"transition-delay" , |
||||
"animation" , |
||||
"animation-name" , |
||||
"animation-duration" , |
||||
"animation-timing-function" , |
||||
"animation-delay" , |
||||
"animation-iteration-count" , |
||||
"animation-direction" , |
||||
"animation-fill-mode" , |
||||
"animation-play-state" , |
||||
"scroll-behavior" , |
||||
"scroll-snap-type" , |
||||
"scroll-snap-destination" , |
||||
"scroll-snap-coordinate" , |
||||
"cursor" , |
||||
"touch-action" , |
||||
"caret-color" , |
||||
"ime-mode" , |
||||
"object-fit" , |
||||
"object-position" , |
||||
"counter-reset" , |
||||
"counter-increment" , |
||||
"will-change" , |
||||
"pointer-events" , |
||||
"all" , |
||||
"page-break-before" , |
||||
"page-break-after" , |
||||
"page-break-inside" , |
||||
"widows" |
||||
], |
||||
}, |
||||
"overrides": [ |
||||
{ |
||||
"files": ["*.scss", "**/*.scss"], |
||||
"customSyntax": "postcss-scss" |
||||
}, |
||||
{ |
||||
"files": ["*.vue", "**/*.vue"], |
||||
"customSyntax": "postcss-html" |
||||
} |
||||
] |
||||
} |
||||
@ -0,0 +1,7 @@
@@ -0,0 +1,7 @@
|
||||
{ |
||||
"i18n-ally.localesPaths": [ |
||||
"src/lang", |
||||
"src/utils/locale", |
||||
"public/static/pdfjs/locale" |
||||
] |
||||
} |
||||
@ -0,0 +1,28 @@
@@ -0,0 +1,28 @@
|
||||
FROM nginx:1.27.0 |
||||
|
||||
ADD ./dist/ /usr/share/nginx/html/ |
||||
|
||||
RUN rm /etc/nginx/conf.d/default.conf |
||||
|
||||
ADD ./nginx.conf /etc/nginx/conf.d/nginx.template |
||||
|
||||
RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime |
||||
|
||||
RUN echo 'Asia/Shanghai' >/etc/timezone |
||||
|
||||
ENV ORIGIN $http_upgrade |
||||
|
||||
ENV HOST http://127.0.0.1:18200/ |
||||
|
||||
ENV SUB_APP_BPM http://127.0.0.1:18200/ |
||||
|
||||
ENV SUB_APP_WP http://127.0.0.1:18200/ |
||||
|
||||
ENV FILE_PREVIEW http://127.0.0.1:8012/ |
||||
|
||||
|
||||
EXPOSE 80 |
||||
|
||||
|
||||
WORKDIR /etc/nginx/conf.d |
||||
ENTRYPOINT envsubst '${ORIGIN},${HOST},${SUB_APP_BPM},${SUB_APP_WP},${FILE_PREVIEW}' < nginx.template > default.conf && cat default.conf && nginx -g 'daemon off;' |
||||
@ -0,0 +1,398 @@
@@ -0,0 +1,398 @@
|
||||
# 凤翎快速开发平台 |
||||
|
||||
凤翎官网:[点击前往](https://fawkes.cybereng.com/) |
||||
|
||||
开发文档:[点击前往](https://fawkes.cybereng.com/doc) |
||||
|
||||
## 2.1.0-release |
||||
|
||||
**发布日期:** 2023-6-30 |
||||
|
||||
1- 升级Jackson版本至2.13.3 |
||||
|
||||
2- 升级Seata版本至1.5.2 |
||||
|
||||
3- 升级SpringCloud版本至2021.0.3 |
||||
|
||||
4- 升级AlibabaCloud版本至2021.0.1.0 |
||||
|
||||
5- 升级Lombok版本至1.18.22 |
||||
|
||||
6- 升级SpringBoot版本至2.7.1 |
||||
|
||||
7- 升级Fastjson版本至2.0.28 |
||||
|
||||
9- 升级Nacos版本至2.2.1 |
||||
|
||||
10- 升级MySQL版本至8.0.32 |
||||
|
||||
11- 升级Redis版本至7.0.10 |
||||
|
||||
12- 升级Minio版本至2023-03-24 |
||||
|
||||
13- 升级Rabbitmq版本至3.11.11 |
||||
|
||||
14- 升级KKfileview版本至4.1.0 |
||||
|
||||
15- 升级SpringSecurity版本至2.2.5.RELEASE |
||||
|
||||
16- 升级JustAuth版本至1.16.5 |
||||
|
||||
17- 升级Flowable版本至6.7.2 |
||||
|
||||
18- 升级组件库版本至0.3.2 |
||||
|
||||
19- 新增SaaS化管理端,将平台端与管理端独立 |
||||
|
||||
20- 新增人大数仓、麒麟、鲲鹏、海光等信创认证支持 |
||||
|
||||
21- 新增行政区划功能,数据精确到街道 |
||||
|
||||
22- 新增彻底关闭Swagger配置项,保证生产环境安全性 |
||||
|
||||
23- 新增分库分表动态扩容方案,对于大数据量存储自动分表和扩容 |
||||
|
||||
24- 新增用户名中文、数字开头支持,不再强制限制格式 |
||||
|
||||
25- 新增岗位信息支持全量导出 |
||||
|
||||
26- 新增用户锁定状态多选支持(休眠、激活、注销) |
||||
|
||||
27- 新增账号休眠月份可配置 |
||||
|
||||
28- 新增定时刷新缓存功能,避免部署更新对于系统缓存的影响 |
||||
|
||||
29- 新增代码混淆功能,镜像混淆后发布可显著提升安全性 |
||||
|
||||
30- 新增登录、网关等关键功能的压测性能报告(详见官网) |
||||
|
||||
31- 新增消息中心模块,提供消息查询功能 |
||||
|
||||
32- 新增对于企业微信、钉钉、飞书、极光的消息推送支持 |
||||
|
||||
33- 新增浙政钉认证功能,合并到基线服务 |
||||
|
||||
34- 新增用户异地登出提醒和长时间不操作登出提醒 |
||||
|
||||
35- 新增编码管理模块 |
||||
|
||||
36- 新增轻量级ETL数据处理功能 |
||||
|
||||
37- 新增流程退回后,可直接提交回至被退回节点功能 |
||||
|
||||
38- 新增流程终止功能 |
||||
|
||||
39- 新增子流程绑定表单功能 |
||||
|
||||
40- 新增第三方任务待办接口集成方式 |
||||
|
||||
41- 新增流程图线条高亮功能 |
||||
|
||||
42- 新增流程发起时增加业务自定义id功能 |
||||
|
||||
43- 新增岗位审批、部门审批功能 |
||||
|
||||
44- 新增后置审批功能 |
||||
|
||||
45- 新增意见征询功能 |
||||
|
||||
46- 新增预测流程审批路线功能 |
||||
|
||||
47- 新增批量审批、批量委托、批量废弃功能 |
||||
|
||||
48- 新增任务待办统计功能 |
||||
|
||||
49- 优化Web服务器,采用Undertow替代Tomcat显著提升性能 |
||||
|
||||
50- 优化网关性能,采用多级缓存提高网关性能 |
||||
|
||||
51- 优化License逻辑,避免启动顺序对证书下载的影响 |
||||
|
||||
52- 优化Auth服务,加入密码缓存层,解决SpringSecurity自带防爆破机制对于项目压测的影响 |
||||
|
||||
53- 优化日志存储,表存储模式下,达到存储阈值后自动扩容 |
||||
|
||||
54- 优化服务序列化功能,采用MapStruct作为序列化框架,提升序列化性能 |
||||
|
||||
55- 优化日志打印,对系统关键功能添加埋点日志,补充MQ等中间件的异常信息打印 |
||||
|
||||
56- 优化所有服务的Swagger描述,修改歧义描述,增加更详细的接口契约说明 |
||||
|
||||
57- 优化组织机构名称重复判断,只限制同一父节点下名称不允许重复 |
||||
|
||||
58- 优化用户表,新增极光推送和设备ID支持 |
||||
|
||||
59- 优化全局异常的拆分和打印处理 |
||||
|
||||
60- 优化缓存更新逻辑,Hash结构数据存储单次只更新一个数据 |
||||
|
||||
61- 优化日志存储的精确度到毫秒 |
||||
|
||||
62- 优化远程调用逻辑,远程调用失败默认返回网络异常 |
||||
|
||||
63- 优化字典功能,重启时刷新字典缓存 |
||||
|
||||
64- 优化大文件上传和秒传功能 |
||||
|
||||
65- 优化文件存储逻辑,未配置文件服务器时,默认上传到Fawkes桶 |
||||
|
||||
66- 优化Socket推送功能,处理上线下线时的异常 |
||||
|
||||
67- 优化DockerFile文件,删除默认的内存限制 |
||||
|
||||
68- 优化消息和流程历史数据,解决大数据量下的超时问题 |
||||
|
||||
69- 优化OIDC认证协议 |
||||
|
||||
70- 优化接口文档组件,采用Knife4j作为默认组件 |
||||
|
||||
71- 优化验证码组件,支持分布式 |
||||
|
||||
72- 优化门户展示逻辑和门户切换组件 |
||||
|
||||
73- 优化角色管理交互逻辑 |
||||
|
||||
74- 优化权限展示逻辑 |
||||
|
||||
75- 优化系统配置,移除消息相关配置,保留文件服务器配置 |
||||
|
||||
76- 优化内置应用展示,添加应用中心模块 |
||||
|
||||
77- 优化父子应用部分逻辑 |
||||
|
||||
78- 优化选人组件交互 |
||||
|
||||
79- 优化前端依赖,移除Node-Sass依赖,新增Sass依赖 |
||||
|
||||
80- 优化Css样式穿透写法 |
||||
|
||||
81- 优化富文本编辑器,移除TinyMce,替换为WangEditor |
||||
|
||||
82- 优化子流程变量取值及赋值逻辑 |
||||
|
||||
83- 优化流程撤回处理逻辑 |
||||
|
||||
84- 优化上传流程模型部署接口,增加上传文件扩展名校验 |
||||
|
||||
85- 优化表单查询结果排序 |
||||
|
||||
86- 优化任务审批记录以及在任务委托记录中增加审批人部门信息 |
||||
|
||||
87- 优化任务待办、抄送、逾期、催办的消息内容,增加任务名称、任务主题、任务发起人、表单名信息 |
||||
|
||||
88- 优化用户任务相关查询,提升查询速度 |
||||
|
||||
89- 优化去除流程设计时,抄送配置的功能 |
||||
|
||||
90- 优化流程设计器节点监听事件和全局监听事件的说明 |
||||
|
||||
91- 修复Nacos未授权漏洞 |
||||
|
||||
92- 修复NacosSpringActuator信息泄露漏洞 |
||||
|
||||
93- 修复网关Swagger接口文档信息泄漏漏洞 |
||||
|
||||
94- 修复HttpHost头攻击漏洞 |
||||
|
||||
95- 修复Auth服务回调User可能触发超时的问题 |
||||
|
||||
96- 修复网关证书上传可能出现失败的问题 |
||||
|
||||
97- 修复站内信消息查询接口可能出现数据异常的问题 |
||||
|
||||
98- 修复系统配置中对于若干配置的阈值处理不当,导致配置错乱的问题 |
||||
|
||||
99- 修复邮箱服务器回显问题 |
||||
|
||||
100- 修复邮箱配置为空时参数校验问题 |
||||
|
||||
101- 修复Socket推送可能存在跨域问题 |
||||
|
||||
102- 修复华为云OBS组件版本Log4j漏洞问题 |
||||
|
||||
103- 修复系统服务回调Nacos更新配置时,可能存在异常的问题 |
||||
|
||||
104- 修复消息服务器为空时异常判断问题 |
||||
|
||||
105- 修复导入菜单根节点为0时,PathId处理问题 |
||||
|
||||
106- 修复超级管理员无法登录所有Client的问题 |
||||
|
||||
107- 修复删除父部门用户时,未删除子部门用户关系的问题 |
||||
|
||||
108- 修复用户删除用户组时,用户组可能为空的异常判断问题 |
||||
|
||||
109- 修复获取门户时的空参数ID问题 |
||||
|
||||
110- 修复用户导入时模板错误和空数据的错误处理不当问题 |
||||
|
||||
111- 修复异步导入Excel的线程隔离问题 |
||||
|
||||
112- 修复微前端若干缺陷,优化加载逻辑 |
||||
|
||||
113- 修复流程事件监听只支持任务相关事件的问题 |
||||
|
||||
114- 修复流程部署时未校验历史删除流程模型数据的问题 |
||||
|
||||
115- 修复流程模型查询异常的问题 |
||||
|
||||
116- 修复子流程中会签节点获取变量异常的问题 |
||||
|
||||
117- 修复流程服务SQL SERVER兼容性问题 |
||||
|
||||
118- 修复表单关系绑定历史数据校验问题 |
||||
|
||||
119- 修复任务退回接口在处理子流程、会签任务时的问题 |
||||
|
||||
120- 修复流程发起接口流程类型参数值异常问题 |
||||
|
||||
121- 修复根据流程实例id获取对应版本的流程模型的问题 |
||||
|
||||
122- 修复流程设计器选择可退回节点无法选择前置节点的问题 |
||||
|
||||
123- 修复流程设计器加签配置会多出目标节点配置的问题 |
||||
|
||||
124- 修复流程设计器子流程模型设计问题 |
||||
|
||||
125- 修复流程设计器设置会签并行任务参数解析问题 |
||||
|
||||
## 2.0.0-release |
||||
|
||||
**发布日期:** 2022-4-18 |
||||
|
||||
1- 升级EasyExcel版本至2.2.11 |
||||
|
||||
2- 升级OkHttp版本至4.9.3 |
||||
|
||||
3- 升级SpringCloud版本至Hoxton.SR12 |
||||
|
||||
4- 升级AlibabaCloud版本至2.2.7.RELEASE |
||||
|
||||
5- 升级Lombok版本至1.18.22 |
||||
|
||||
6- 升级SpringBoot版本至2.3.12.RELEASE |
||||
|
||||
7- 新增分级授权功能与超管用户 |
||||
|
||||
8- 新增用户组授权(可根据组织机构、岗位进行授权) |
||||
|
||||
9- 新增主数据可配置功能(用户、组织机构、字典可配置是否跨系统共享) |
||||
|
||||
10- 新增字典、按钮导入功能 |
||||
|
||||
11- 新增文件拷贝功能API |
||||
|
||||
12- 新增子流程绑定子表单功能 |
||||
|
||||
13- 新增流程表单任务数据多门户适配 |
||||
|
||||
14- 新增任务待办接口集成方式 |
||||
|
||||
15- 新增低代码模块 |
||||
|
||||
16- 优化系统资源占用(内存占用大幅度降低60%、启动时间减少20%) |
||||
|
||||
17- 优化用户权限的获取性能,存入缓存提高响应速度 |
||||
|
||||
18- 优化全加密配置功能,采用前端单边配置不再需要后端同步配置 |
||||
|
||||
19- 优化数据权限配置,系统上下文不再需要输入 |
||||
|
||||
20- 优化多门户架构,菜单、按钮支持门户私有化 |
||||
|
||||
21- 优化流程图生成,增加线条高亮 |
||||
|
||||
22- 优化页面缓存方案,使不同层级keep-alive表现一致 |
||||
|
||||
23- 优化国际化资源加载,减少插件注入带来的性能开销 |
||||
|
||||
24- 修复按钮的菜单ID数据库精度丢失问题 |
||||
|
||||
25- 修复微前端子应用若干使用问题 |
||||
|
||||
26- 修复多环境下前端缓存隔离问题 |
||||
|
||||
27- 修复系统编辑文件上传判空问题 |
||||
|
||||
28- 修复流程设计退回按钮选不到节点问题 |
||||
|
||||
29- 修复修改组织机构pathName未变化问题 |
||||
|
||||
30- 修复国际化查询异常问题 |
||||
|
||||
|
||||
> 尝鲜版不建议生产项目应用 |
||||
## 2.0.0-rc2 |
||||
|
||||
**发布日期:** 2022-2-28 |
||||
|
||||
1- 完善多层级架构下权限定位,现已支持高精度的功能权限与数据权限控制 |
||||
|
||||
2- 新增openID协议登录支持 |
||||
|
||||
3- 新增HTTP接口、LDAP两种登录授权方式 |
||||
|
||||
4- 新增电子签章`契约锁`模式实现 |
||||
|
||||
5- 新增文件复制功能API |
||||
|
||||
6- 优化缓存识别,支持开发环境下取消多环境间缓存隔离 |
||||
|
||||
7- 优化菜单管理,支持用户选择开发阶段定义的菜单名称,支持携带表单子路由配置项 |
||||
|
||||
8- 优化国际化配置,支持本地字段导入,并可识别本地缺失字段 |
||||
|
||||
9- 优化系统配置,增加`socket`等高级配置,并使二级模块与配置文件更一致 |
||||
|
||||
10- 优化菜单主题色效果,使菜单在不同色系下表现更统一 |
||||
|
||||
11- 优化注册时手机号、邮箱校验逻辑,提供校验开关 |
||||
|
||||
12- 优化服务内部消息发送,增加事务支持 |
||||
|
||||
13- 优化日志显示IP地址可以显示具体地址 |
||||
|
||||
14- 优化消息发送,支持转发到外部队列,让业务自行处理 |
||||
|
||||
15- 优化用户使用反馈,增加账号被动登出提示 |
||||
|
||||
16- 移除`路由参数`相关配置,通过路由地址已满足开发需求 |
||||
|
||||
17- 修复了若干已知问题 |
||||
|
||||
## 2.0.0-rc1 |
||||
|
||||
**发布日期:** 2022-1-1 |
||||
|
||||
1- 基于前后端分离的模式打造,前端基于VUE生态圈,后端基于Spring生态圈并采用微服务架构 |
||||
|
||||
2- 注册/配置中心由Eureka+SpringCloudConfig升级为Nacos |
||||
|
||||
3- 网关由Zuul升级为SpringCloudGateway |
||||
|
||||
4- 经过百余个项目迭代,后端抽象出一套基于SpringBootStarter思想的业务框架:Fawkes-Common |
||||
|
||||
5- 提供健全的基础应用能力,涵盖系统管理、系统配置、组织架构、系统审计、系统信息等关键模块 |
||||
|
||||
6- 提供完善的企业级全文检索方案,在多个项目运用 |
||||
|
||||
7- 提供了基于OAuth2的全套授权鉴权流程,包含:第三方、小程序、单点登录、OpenAPI等功能 |
||||
|
||||
8- 提供了原始系统监控+基于Prometheus为核心的分布式监控能力 |
||||
|
||||
9- 提供了完善的分库分表、主数据库主备从方案 |
||||
|
||||
10- 基于国产化要求,适配了国产数据库如:达梦、OpenGauss,安全算法支持国密算法 |
||||
|
||||
11- 提供了基于Seata的分布式事务支持AT模式 |
||||
|
||||
12- 基于可配置思想,将系统大多数配置可直接从页面进行配置 |
||||
|
||||
13- 提供了较完善的安全能力如:API全加密、XSS过滤、IP黑白名单、系统允许访问时间段等基础配套,可供项目快速通过等保检测 |
||||
|
||||
14- 提供了基础写库与ELK搜索引擎的两套日志方案,供自由选择 |
||||
|
||||
15- 提供了完善的CI/DI自动化部署运维方案 |
||||
|
||||
16- 基于qiankun微前端框架,支持子应用已配置方式接入,翎厉、流程设计器均以此方式接入主应用ceshi |
||||
|
||||
@ -0,0 +1,14 @@
@@ -0,0 +1,14 @@
|
||||
module.exports = { |
||||
presets: [ |
||||
'@vue/app' |
||||
], |
||||
plugins: [ |
||||
// 按需引入
|
||||
// ["component",
|
||||
// {
|
||||
// "libraryName": "fawkes-lib",
|
||||
// "styleLibraryName": "theme-chalk"
|
||||
// }
|
||||
// ]
|
||||
] |
||||
} |
||||
@ -0,0 +1,18 @@
@@ -0,0 +1,18 @@
|
||||
### |
||||
# @Description: |
||||
# @Version: 1.0 |
||||
# @Autor: chen_yt |
||||
# @Date: 2022-07-20 14:56:19 |
||||
# @LastEditors: chen_yt |
||||
# @LastEditTime: 2022-07-20 15:05:19 |
||||
### |
||||
#!/bin/sh |
||||
sed -i 's|VUE_APP_SAAS_MODE|'${VUE_APP_SAAS_MODE}'|g' /usr/share/nginx/html |
||||
|
||||
cd /etc/nginx/conf.d |
||||
|
||||
envsubst '${ORIGIN},${HOST},${SUB_APP_BPM},${SUB_APP_WP},${FILE_PREVIEW}' < nginx.template > default.conf |
||||
|
||||
cat default.conf |
||||
|
||||
nginx -g 'daemon off;' |
||||
@ -0,0 +1,123 @@
@@ -0,0 +1,123 @@
|
||||
|
||||
|
||||
|
||||
server { |
||||
listen 80; |
||||
server_name localhost; |
||||
|
||||
# 开启|关闭 gzip。 |
||||
gzip on; |
||||
|
||||
# 文件大于指定 size 才压缩,以 kb 为单位。 |
||||
gzip_min_length 10; |
||||
|
||||
# 压缩级别,1-9,值越大压缩比越大,但更加占用 CPU,且压缩效率越来越低。 |
||||
gzip_comp_level 2; |
||||
|
||||
# 压缩的文件类型。 |
||||
gzip_types text/plain application/javascript application/x-javascript text/css application/xml text/javascript application/json; |
||||
|
||||
# 开启后如果能找到 .gz 文件,直接返回该文件,不会启用服务端压缩。 |
||||
gzip_static on; |
||||
|
||||
# 是否添加响应头 Vary: Accept-Encoding 建议开启。 |
||||
gzip_vary on; |
||||
|
||||
# 请求压缩的缓冲区数量和大小,以 4k 为单位,32 为倍数。 |
||||
gzip_buffers 32 4K; |
||||
|
||||
#charset koi8-r; |
||||
#access_log /var/log/nginx/host.access.log main; |
||||
# disable any limits to avoid HTTP 413 for large image uploads |
||||
client_max_body_size 0; |
||||
|
||||
# required to avoid HTTP 411: see Issue #1486 (https://github.com/docker/docker/issues/1486) |
||||
chunked_transfer_encoding on; |
||||
|
||||
# proxy_hide_header Access-Control-Allow-Origin; |
||||
proxy_hide_header Access-Control-Allow-Headers; |
||||
proxy_hide_header Access-Control-Allow-Methods; |
||||
proxy_hide_header Access-Control-Allow-Credentials; |
||||
|
||||
proxy_set_header X-Real-IP $remote_addr; |
||||
proxy_set_header X-Real-Port $remote_port; |
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; |
||||
|
||||
add_header Access-Control-Allow-Origin $http_origin; |
||||
add_header Access-Control-Allow-Headers X-Requested-With; |
||||
add_header Access-Control-Allow-Methods GET,POST,PUT,DELETE,OPTIONS; |
||||
add_header Access-Control-Allow-Credentials true; |
||||
|
||||
# Upgrade headers |
||||
proxy_http_version 1.1; |
||||
proxy_set_header Upgrade $http_upgrade; |
||||
proxy_set_header Connection "upgrade"; |
||||
# 禁用PUT及DELETE方法时、通过nginx转发 |
||||
set $method $request_method; |
||||
if ($http_x_HTTP_Method_Override ~* 'PUT|DELETE') { |
||||
set $method $http_X_HTTP_Method_Override; |
||||
} |
||||
proxy_method $method; |
||||
|
||||
location / { |
||||
add_header Cache-Control 'no-store, no-cache'; |
||||
root /usr/share/nginx/html; |
||||
index index.html index.htm; |
||||
# try_files $uri $uri/ /index.html; history mode |
||||
} |
||||
|
||||
#error_page 404 /404.html; |
||||
|
||||
# redirect server error pages to the static page /50x.html |
||||
# |
||||
error_page 500 502 503 504 /50x.html; |
||||
location = /50x.html { |
||||
root /usr/share/nginx/html; |
||||
} |
||||
|
||||
location /api/ { |
||||
proxy_pass ${HOST}; |
||||
proxy_buffering off; |
||||
proxy_request_buffering off; |
||||
} |
||||
|
||||
location /filePreview/ { |
||||
proxy_pass ${FILE_PREVIEW}; |
||||
proxy_buffering off; |
||||
proxy_request_buffering off; |
||||
} |
||||
|
||||
#子应用代理 |
||||
location /sub_app_bpm/ { |
||||
proxy_pass ${SUB_APP_BPM}; |
||||
proxy_buffering off; |
||||
proxy_request_buffering off; |
||||
} |
||||
location /sub_app_wp/ { |
||||
proxy_pass ${SUB_APP_WP}; |
||||
proxy_buffering off; |
||||
proxy_request_buffering off; |
||||
} |
||||
# proxy the PHP scripts to Apache listening on 127.0.0.1:80 |
||||
# |
||||
#location ~ \.php$ { |
||||
# proxy_pass http://127.0.0.1; |
||||
#} |
||||
|
||||
# pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000 |
||||
# |
||||
#location ~ \.php$ { |
||||
# root html; |
||||
# fastcgi_pass 127.0.0.1:9000; |
||||
# fastcgi_index index.php; |
||||
# fastcgi_param SCRIPT_FILENAME /scripts$fastcgi_script_name; |
||||
# include fastcgi_params; |
||||
#} |
||||
|
||||
# deny access to .htaccess files, if Apache's document root |
||||
# concurs with nginx's one |
||||
# |
||||
#location ~ /\.ht { |
||||
# deny all; |
||||
#} |
||||
} |
||||
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,110 @@
@@ -0,0 +1,110 @@
|
||||
{ |
||||
"name": "robot-system", |
||||
"version": "2.1.0", |
||||
"private": true, |
||||
"scripts": { |
||||
"dev": "vue-cli-service serve", |
||||
"build:prod": "vue-cli-service build", |
||||
"build:stage": "vue-cli-service build --mode staging", |
||||
"lint": "vue-cli-service lint", |
||||
"eslint": "eslint --ext .vue,.js,.json src --fix", |
||||
"lint:css": "npm run stylelint:css & npm run stylelint:vue", |
||||
"stylelint:css": "stylelint \"src/**/*.(scss|css|sass)\" --customSyntax postcss-scss --fix", |
||||
"stylelint:vue": "stylelint \"src/**/*.vue\" --customSyntax postcss-html --fix" |
||||
}, |
||||
"dependencies": { |
||||
"@amap/amap-jsapi-loader": "^1.0.1", |
||||
"@antv/g6": "^4.2.5", |
||||
"@wangeditor/editor": "^5.1.2", |
||||
"@wangeditor/editor-for-vue": "^1.0.2", |
||||
"axios": "^0.19.2", |
||||
"bpmn-js": "^8.8.3", |
||||
"crypto-js": "^4.0.0", |
||||
"dayjs": "^1.10.6", |
||||
"echarts": "^5.0.1", |
||||
"fawkes-lib": "^0.3.2", |
||||
"gcoord": "^1.0.6", |
||||
"html2canvas": "^1.0.0-rc.7", |
||||
"js-md5": "^0.7.3", |
||||
"jsencrypt": "^3.2.0", |
||||
"jspdf": "^2.3.1", |
||||
"leaflet": "^1.9.4", |
||||
"lodash.clonedeep": "^4.5.0", |
||||
"mammoth": "^1.9.0", |
||||
"monaco-editor": "^0.28.1", |
||||
"monaco-editor-webpack-plugin": "^4.2.0", |
||||
"mqtt": "^4.2.8", |
||||
"nprogress": "^0.2.0", |
||||
"proj4": "^2.14.0", |
||||
"proj4leaflet": "^1.0.2", |
||||
"qiankun": "^2.5.1", |
||||
"sm-crypto": "^0.2.5", |
||||
"sortablejs": "^1.12.0", |
||||
"stompjs": "^2.3.3", |
||||
"vue": "~2.6.10", |
||||
"vue-clipboard2": "^0.3.1", |
||||
"vue-codemirror": "^4.0.6", |
||||
"vue-cropper": "^0.5.6", |
||||
"vue-drag-resize": "^1.5.4", |
||||
"vue-i18n": "^5.0.3", |
||||
"vue-multipane": "^0.9.5", |
||||
"vue-router": "^3.5.2", |
||||
"vue-socket.io": "^3.0.7", |
||||
"vuex": "^3.1.1", |
||||
"xgplayer": "^2.32.2", |
||||
"xss": "^1.0.10" |
||||
}, |
||||
"devDependencies": { |
||||
"@babel/eslint-parser": "^7.16.5", |
||||
"@vue/babel-helper-vue-jsx-merge-props": "^1.2.1", |
||||
"@vue/babel-preset-jsx": "^1.2.4", |
||||
"@vue/cli-plugin-babel": "^4.0.0", |
||||
"@vue/cli-plugin-eslint": "^4.0.0", |
||||
"@vue/cli-service": "^4.0.0", |
||||
"babel-plugin-component": "^1.1.1", |
||||
"compression-webpack-plugin": "^6.1.1", |
||||
"core-js": "^3.3.2", |
||||
"eslint": "^5.16.0", |
||||
"eslint-plugin-vue": "^5.0.0", |
||||
"husky": "^4.3.8", |
||||
"lint-staged": "^12.1.5", |
||||
"postcss": "^8.4.5", |
||||
"postcss-html": "^1.3.0", |
||||
"postcss-scss": "^4.0.2", |
||||
"postcss-syntax": "^0.36.2", |
||||
"sass": "^1.55.0", |
||||
"sass-loader": "^8.0.0", |
||||
"style-loader": "^2.0.0", |
||||
"stylelint": "^14.1.0", |
||||
"stylelint-config-recommended-scss": "^5.0.2", |
||||
"stylelint-order": "^5.0.0", |
||||
"stylelint-scss": "^4.0.1", |
||||
"svg-sprite-loader": "^5.0.0", |
||||
"terser-webpack-plugin": "^4.2.3", |
||||
"vue-loader": "^15.9.3", |
||||
"vue-template-compiler": "~2.6.10", |
||||
"webpack-bundle-analyzer": "^3.9.0", |
||||
"xgplayer": "^2.31.7" |
||||
}, |
||||
"postcss": { |
||||
"plugins": { |
||||
"autoprefixer": {} |
||||
} |
||||
}, |
||||
"lint-staged": { |
||||
"**/*.vue": [ |
||||
"stylelint --customSyntax postcss-html --fix", |
||||
"eslint --fix" |
||||
], |
||||
"src/**/*.{js,json}": [ |
||||
"eslint --fix" |
||||
], |
||||
"**/*.{scss,css,sass}": [ |
||||
"stylelint --customSyntax postcss-scss --fix " |
||||
] |
||||
}, |
||||
"browserslist": [ |
||||
"> 1%", |
||||
"last 2 versions" |
||||
] |
||||
} |
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
After Width: | Height: | Size: 4.2 KiB |
@ -0,0 +1,81 @@
@@ -0,0 +1,81 @@
|
||||
<!-- |
||||
* @Author: your name |
||||
* @Date: 2021-07-08 15:10:59 |
||||
* @LastEditTime: 2022-09-20 15:33:25 |
||||
* @LastEditors: chen_yt |
||||
* @Description: In User Settings Edit |
||||
* @FilePath: \central-system\public\index.html |
||||
--> |
||||
<!DOCTYPE html> |
||||
<html data-name="cs"> |
||||
|
||||
<head> |
||||
<meta charset="utf-8"> |
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> |
||||
<meta name="viewport" content="width=device-width,initial-scale=1.0"> |
||||
<link rel="icon" id="titleIcon"> |
||||
<script src="<%= BASE_URL %>adapter.min.js"></script> |
||||
<script src="<%= BASE_URL %>webrtcstreamer.js"></script> |
||||
<title> |
||||
<%= webpackConfig.name %> |
||||
</title> |
||||
</head> |
||||
<script src="<%= BASE_URL %>static/sm4/s4.js"></script> |
||||
<script src="<%= BASE_URL %>static/sm4/byte&string.js"></script> |
||||
<script src="<%= BASE_URL %>static/sm4/smutils.js"></script> |
||||
<script type="text/javascript"> |
||||
window._AMapSecurityConfig = { |
||||
securityJsCode: 'b57f705b8c77f095e75caa4a62250669', // 你的密钥 |
||||
} |
||||
</script> |
||||
<!-- <script src="https://maps.googleapis.com/maps/api/js?key=YOUR_GOOGLE_API_KEY&libraries=geometry"></script> --> |
||||
<script> |
||||
var ENV_SAAS_MODE = 'VUE_APP_SAAS_MODE' |
||||
</script> |
||||
<style> |
||||
.main-loading { |
||||
position: fixed; |
||||
width: 100%; |
||||
height: 100%; |
||||
top: 0; |
||||
left: 0; |
||||
background-color: var(--theme-color); |
||||
transition: background-color .1s ease; |
||||
z-index: 9999; |
||||
} |
||||
|
||||
.main-loading::before { |
||||
content: ''; |
||||
position: absolute; |
||||
width: 100%; |
||||
height: 100%; |
||||
top: 0; |
||||
left: 0; |
||||
background: #ffffffee; |
||||
} |
||||
|
||||
.main-loading .loading { |
||||
transform: translate(-50%, -50%); |
||||
top: 50%; |
||||
left: 50%; |
||||
width: 130px; |
||||
height: 176px; |
||||
position: absolute; |
||||
} |
||||
</style> |
||||
|
||||
<body> |
||||
<noscript> |
||||
<strong>We're sorry but central-system doesn't work properly without JavaScript enabled. Please enable it to |
||||
continue.</strong> |
||||
</noscript> |
||||
|
||||
<div class="main-loading" id="main-loading"> |
||||
<img class="loading" src="<%= BASE_URL %>static/img/loading.gif" /> |
||||
</div> |
||||
|
||||
<div id="fks-app-container"></div> |
||||
<!-- built files will be auto injected --> |
||||
</body> |
||||
|
||||
</html> |
||||
|
After Width: | Height: | Size: 3.7 KiB |
|
After Width: | Height: | Size: 1.0 MiB |
|
After Width: | Height: | Size: 4.9 KiB |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue