Browse Source

update

main
wangshaoping 6 months ago
parent
commit
87a1849583
  1. 2
      erm.frontend/package.json
  2. 2
      gradle.properties
  3. 2
      io.sc.engine.mv.frontend/package.json
  4. 2
      io.sc.engine.rule.frontend/package.json
  5. 29
      io.sc.engine.rule.frontend/src/views/resources/designer/Processor.vue
  6. 2
      io.sc.engine.st.frontend/package.json
  7. 2
      io.sc.platform.core.frontend/package.json
  8. 25
      io.sc.platform.core.frontend/public/configure.js
  9. 4
      io.sc.platform.core.frontend/template-project/package.json
  10. 3
      io.sc.platform.core.frontend/template-project/tsconfig.json
  11. 35
      io.sc.platform.core.frontend/tsconfig.json
  12. 1
      io.sc.platform.core.frontend/webpack.config.common.cjs
  13. 2
      io.sc.platform.developer.frontend/package.json
  14. 14
      io.sc.platform.developer.frontend/src/views/frontend/SvgPathEditor.vue
  15. 5
      io.sc.platform.developer/src/main/resources/META-INF/platform/plugins/security.json
  16. 2
      io.sc.platform.lcdp.frontend/package.json
  17. 16
      io.sc.platform.lcdp.frontend/src/views/bpm/ProcessDesigner.vue
  18. 2
      io.sc.platform.mvc.frontend/package.json
  19. 2
      io.sc.platform.scheduler.manager.frontend/package.json
  20. 2
      io.sc.platform.system.frontend/package.json
  21. 2
      io.sc.standard.frontend/package.json

2
erm.frontend/package.json

@ -92,7 +92,7 @@
"luckyexcel": "1.0.1",
"mockjs": "1.1.0",
"pinia": "2.2.2",
"platform-core": "8.1.335",
"platform-core": "8.1.336",
"quasar": "2.16.11",
"tailwindcss": "3.4.10",
"vue": "3.5.4",

2
gradle.properties

@ -38,7 +38,7 @@ application_version=1.0.0
platform_group=io.sc
platform_version=8.1.48
platform_plugin_version=8.1.48
platform_core_frontend_version=8.1.335
platform_core_frontend_version=8.1.336
###########################################################
# dependencies version

2
io.sc.engine.mv.frontend/package.json

@ -92,7 +92,7 @@
"luckyexcel": "1.0.1",
"mockjs": "1.1.0",
"pinia": "2.2.2",
"platform-core": "8.1.335",
"platform-core": "8.1.336",
"quasar": "2.16.11",
"tailwindcss": "3.4.10",
"vue": "3.5.4",

2
io.sc.engine.rule.frontend/package.json

@ -92,7 +92,7 @@
"luckyexcel": "1.0.1",
"mockjs": "1.1.0",
"pinia": "2.2.2",
"platform-core": "8.1.335",
"platform-core": "8.1.336",
"quasar": "2.16.11",
"tailwindcss": "3.4.10",
"vue": "3.5.4",

29
io.sc.engine.rule.frontend/src/views/resources/designer/Processor.vue

@ -253,15 +253,14 @@
return arg.selected;
},
click: (arg) => {
console.log('>>>>>>', arg);
// const type = arg.selected?.type;
// if ('DECISION_TREE' === type) {
// decisionTreeDialogRef.open(parameter.id, arg.selected?.id);
// } else if ('EXECUTION_FLOW' === type) {
// executionFlowDialogRef.open(parameter.id, arg.selected?.id);
// } else {
// arg._click(arg);
// }
const type = arg.selected?.type;
if ('DECISION_TREE' === type) {
decisionTreeDialogRef.open(parameter.id, arg.selected?.id);
} else if ('EXECUTION_FLOW' === type) {
executionFlowDialogRef.open(parameter.id, arg.selected?.id);
} else {
arg._click(arg);
}
},
},
{
@ -1497,18 +1496,6 @@
}
}
"
@row-db-click="
(args) => {
const type = args.row.type;
if ('DECISION_TREE' === type) {
decisionTreeDialogRef.open(args.row.id);
} else if ('EXECUTION_FLOW' === type) {
executionFlowDialogRef.open(args.row.id);
} else {
gridRef.edit(args.row);
}
}
"
></w-grid>
<DecisionTreeDialog ref="decisionTreeDialogRef"></DecisionTreeDialog>
<ExecutionFlowDialog ref="executionFlowDialogRef"></ExecutionFlowDialog>

2
io.sc.engine.st.frontend/package.json

@ -92,7 +92,7 @@
"luckyexcel": "1.0.1",
"mockjs": "1.1.0",
"pinia": "2.2.2",
"platform-core": "8.1.335",
"platform-core": "8.1.336",
"quasar": "2.16.11",
"tailwindcss": "3.4.10",
"vue": "3.5.4",

2
io.sc.platform.core.frontend/package.json

@ -1,6 +1,6 @@
{
"name": "platform-core",
"version": "8.1.335",
"version": "8.1.336",
"description": "前端核心包,用于快速构建前端的脚手架",
"//main": "库的主文件",
"main": "dist/platform-core.js",

25
io.sc.platform.core.frontend/public/configure.js

@ -1,13 +1,16 @@
// 在浏览器 window 对象中新建名为 APP 的容器变量, 用于存放平台的全局变量
window.APP = {};
// 全局配置
window.APP.configure ={
window.APP.configure = {
// 项目名称
projectName: '',
// 应用上下文路径
webContextPath: '[(@{/})]'.startsWith('[')? '/' : '[(@{/})]',
webContextPath: '[(@{/})]'.startsWith('[') ? '/' : '[(@{/})]',
// 默认后端 API 请求的服务地址前缀
apiContextPaths: {
DEFAULT: '[(@{/})]'.startsWith('[')? 'http://localhost:8080/' : '[(@{/})]',
DEFAULT: '[(@{/})]'.startsWith('[') ? 'http://localhost:8080/' : '[(@{/})]',
},
// 前端运行环境
@ -20,21 +23,21 @@ window.APP.configure ={
routerHistoryMode: 'hash',
// 是否启用本地 mock
enableLocalMock : false,
enableLocalMock: false,
// mock 请求响应时间(单位:毫秒)
localMockTimeout : 10,
localMockTimeout: 10,
// 是否启用使用远程服务端配置
enableRemoteConfigure : true,
enableRemoteConfigure: true,
// 是否首先使用本地路由
useLocaleRouterFirst : true,
useLocaleRouterFirst: true,
// axios 配置
axios : {
axios: {
baseURL: '',
timeout: 1000 * 60,
crossdomain: true
}
}
crossdomain: true,
},
};

4
io.sc.platform.core.frontend/template-project/package.json

@ -1,6 +1,6 @@
{
"name": "platform-core",
"version": "8.1.335",
"version": "8.1.336",
"description": "前端核心包,用于快速构建前端的脚手架",
"private": false,
"keywords": [],
@ -105,7 +105,7 @@
"luckyexcel": "1.0.1",
"mockjs": "1.1.0",
"pinia": "2.2.2",
"platform-core": "8.1.335",
"platform-core": "8.1.336",
"quasar": "2.16.11",
"svg-path-commander": "2.0.10",
"tailwindcss": "3.4.10",

3
io.sc.platform.core.frontend/template-project/tsconfig.json

@ -1,4 +1,7 @@
{
"exclude": [
"node_modules"
],
"allowJs": true,
"compilerOptions": {
"target": "ES6",

35
io.sc.platform.core.frontend/tsconfig.json

@ -1,26 +1,25 @@
{
"include": [
"src/platform/index.ts"
],
"include": ["src/platform/index.ts"],
"exclude": ["node_modules"],
"allowJs": true,
"compilerOptions": {
"declaration": true, /* tsc .d.ts , ts .d.ts */
"declarationDir": "dist/types", /* .d.ts */
"declarationMap": true, /* .d.ts.map , 便 IDE */
"target": "ES6", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */
"module": "node16", /* Specify what module code is generated. */
"strict": true, /* Enable all strict type-checking options. */
"jsx": "preserve", /* Specify what JSX code is generated. */
"declaration": true /* tsc .d.ts , ts .d.ts */,
"declarationDir": "dist/types" /* .d.ts */,
"declarationMap": true /* .d.ts.map , 便 IDE */,
"target": "ES6" /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */,
"module": "node16" /* Specify what module code is generated. */,
"strict": true /* Enable all strict type-checking options. */,
"jsx": "preserve" /* Specify what JSX code is generated. */,
"jsxImportSource": "vue",
"noEmit":true, /* Disable emitting files from a compilation. */
"allowImportingTsExtensions":true, /* Allow imports to include TypeScript file extensions. Requires '--moduleResolution bundler' and either '--noEmit' or '--emitDeclarationOnly' to be set. */
"noImplicitAny": false, /* Enable error reporting for expressions and declarations with an implied 'any' type. */
"moduleResolution": "node16", /* Specify how TypeScript looks up a file from a given module specifier. */
"sourceMap": true, /* Create source map files for emitted JavaScript files. */
"baseUrl": ".", /* Specify the base directory to resolve non-relative module names. */
"paths": { /* Specify a set of entries that re-map imports to additional lookup locations. */
"@/*": ["src/*"]
"noEmit": true /* Disable emitting files from a compilation. */,
"allowImportingTsExtensions": true /* Allow imports to include TypeScript file extensions. Requires '--moduleResolution bundler' and either '--noEmit' or '--emitDeclarationOnly' to be set. */,
"noImplicitAny": false /* Enable error reporting for expressions and declarations with an implied 'any' type. */,
"moduleResolution": "node16" /* Specify how TypeScript looks up a file from a given module specifier. */,
"sourceMap": true /* Create source map files for emitted JavaScript files. */,
"baseUrl": "." /* Specify the base directory to resolve non-relative module names. */,
"paths": {
/* Specify a set of entries that re-map imports to additional lookup locations. */ "@/*": ["src/*"]
}
}
}

1
io.sc.platform.core.frontend/webpack.config.common.cjs

@ -129,7 +129,6 @@ module.exports = {
filename: `index.html`,
minify: false,
inject: 'body',
timestamp: new Date().getTime(),
}),
// 拷贝静态资源到 output.path 指定的目录

2
io.sc.platform.developer.frontend/package.json

@ -92,7 +92,7 @@
"luckyexcel": "1.0.1",
"mockjs": "1.1.0",
"pinia": "2.2.2",
"platform-core": "8.1.335",
"platform-core": "8.1.336",
"quasar": "2.16.11",
"svg-path-commander": "2.0.10",
"tailwindcss": "3.4.10",

14
io.sc.platform.developer.frontend/src/views/frontend/SvgPathEditor.vue

@ -8,6 +8,20 @@ import { onMounted, ref } from 'vue';
const iframeRef = ref();
onMounted(() => {
//
// alone: , web (: nginx, caddy )
// develop: , (: webpack)
// backend: , (: tomcat, undertow, jeety)
if (Environment.getFontendScenario() === 'develop') {
if (Environment.getModuleName() === 'io.sc.platform.developer.frontend') {
// , 访 public
iframeRef.value.src = Environment.getWebContextPath() + 'svg-path-editor/index.html';
} else {
// , 访
iframeRef.value.src = Environment.apiContextPath('io.sc.platform.developer.frontend/svg-path-editor/index.html');
}
} else {
iframeRef.value.src = Environment.getWebContextPath() + 'io.sc.platform.developer.frontend/svg-path-editor/index.html';
}
});
</script>

5
io.sc.platform.developer/src/main/resources/META-INF/platform/plugins/security.json

@ -0,0 +1,5 @@
{
"permitPatterns":[
"/io.sc.platform.developer.frontend/svg-path-editor/index.html"
]
}

2
io.sc.platform.lcdp.frontend/package.json

@ -92,7 +92,7 @@
"luckyexcel": "1.0.1",
"mockjs": "1.1.0",
"pinia": "2.2.2",
"platform-core": "8.1.335",
"platform-core": "8.1.336",
"quasar": "2.16.11",
"tailwindcss": "3.4.10",
"vue": "3.5.4",

16
io.sc.platform.lcdp.frontend/src/views/bpm/ProcessDesigner.vue

@ -45,10 +45,20 @@ const open = (title: string, id: string) => {
processId = id;
dialogRef.value.show();
nextTick(() => {
if (Environment.getFontendScenario() === 'alone' || Environment.getFontendScenario() === 'backend') {
processDesignerIframeRef.value.src = Environment.getWebContextPath() + 'io.sc.platform.lcdp.frontend/flowable/modeler/index.html#/editor/' + processId;
} else {
//
// alone: , web (: nginx, caddy )
// develop: , (: webpack)
// backend: , (: tomcat, undertow, jeety)
if (Environment.getFontendScenario() === 'develop') {
if (Environment.getModuleName() === 'io.sc.platform.lcdp.frontend') {
// , 访 public
processDesignerIframeRef.value.src = Environment.getWebContextPath() + 'flowable/modeler/index.html#/editor/' + processId;
} else {
// , 访
processDesignerIframeRef.value.src = Environment.apiContextPath('io.sc.platform.lcdp.frontend/flowable/modeler/index.html#/editor/' + processId);
}
} else {
processDesignerIframeRef.value.src = Environment.getWebContextPath() + 'io.sc.platform.lcdp.frontend/flowable/modeler/index.html#/editor/' + processId;
}
});
};

2
io.sc.platform.mvc.frontend/package.json

@ -92,7 +92,7 @@
"luckyexcel": "1.0.1",
"mockjs": "1.1.0",
"pinia": "2.2.2",
"platform-core": "8.1.335",
"platform-core": "8.1.336",
"quasar": "2.16.11",
"tailwindcss": "3.4.10",
"vue": "3.5.4",

2
io.sc.platform.scheduler.manager.frontend/package.json

@ -92,7 +92,7 @@
"luckyexcel": "1.0.1",
"mockjs": "1.1.0",
"pinia": "2.2.2",
"platform-core": "8.1.335",
"platform-core": "8.1.336",
"quasar": "2.16.11",
"tailwindcss": "3.4.10",
"vue": "3.5.4",

2
io.sc.platform.system.frontend/package.json

@ -92,7 +92,7 @@
"luckyexcel": "1.0.1",
"mockjs": "1.1.0",
"pinia": "2.2.2",
"platform-core": "8.1.335",
"platform-core": "8.1.336",
"quasar": "2.16.11",
"tailwindcss": "3.4.10",
"vue": "3.5.4",

2
io.sc.standard.frontend/package.json

@ -92,7 +92,7 @@
"luckyexcel": "1.0.1",
"mockjs": "1.1.0",
"pinia": "2.2.2",
"platform-core": "8.1.335",
"platform-core": "8.1.336",
"quasar": "2.16.11",
"tailwindcss": "3.4.10",
"vue": "3.5.4",

Loading…
Cancel
Save