Browse Source

基础框架发布: 8.2.28

1) 修复 jpa 中的一些 bug
  2) 完成我的工作台, 首页, 通知等功能

前端核心发布: 8.2.102
 1) 工作台界面调整
main
wangshaoping 2 months ago
parent
commit
a4283223eb
  1. 2
      cips.frontend/package.json
  2. 2
      erm.frontend/package.json
  3. 2
      gradle.properties
  4. 2
      io.sc.engine.mv.frontend/package.json
  5. 2
      io.sc.engine.rule.frontend/package.json
  6. 2
      io.sc.engine.st.frontend/package.json
  7. 2
      io.sc.platform.ai.frontend/package.json
  8. 2
      io.sc.platform.core.frontend/package.json
  9. 4
      io.sc.platform.core.frontend/src/platform/i18n/messages.json
  10. 4
      io.sc.platform.core.frontend/src/platform/i18n/messages_tw_CN.json
  11. 4
      io.sc.platform.core.frontend/src/platform/i18n/messages_zh_CN.json
  12. 11
      io.sc.platform.core.frontend/src/platform/views/home/MyDoneTask.vue
  13. 11
      io.sc.platform.core.frontend/src/platform/views/home/MyFinishedTask.vue
  14. 13
      io.sc.platform.core.frontend/src/platform/views/home/MyTask.vue
  15. 4
      io.sc.platform.core.frontend/template-project/package.json
  16. 2
      io.sc.platform.developer.doc/package.json
  17. 2
      io.sc.platform.developer.frontend/package.json
  18. 2
      io.sc.platform.lcdp.frontend/package.json
  19. 2
      io.sc.platform.license.keygen.frontend/package.json
  20. 2
      io.sc.platform.mvc.frontend/package.json
  21. 2
      io.sc.platform.scheduler.manager.frontend/package.json
  22. 2
      io.sc.platform.system.frontend/package.json
  23. 2
      io.sc.standard.frontend/package.json
  24. 2
      io.sc.website/package.json
  25. 2
      wra.report.frontend/package.json

2
cips.frontend/package.json

@ -112,7 +112,7 @@
"node-sql-parser": "5.3.6",
"pinia": "2.3.0",
"pinia-undo": "0.2.4",
"platform-core": "8.2.101",
"platform-core": "8.2.102",
"quasar": "2.17.6",
"sort-array": "5.0.0",
"svg-path-commander": "2.1.7",

2
erm.frontend/package.json

@ -112,7 +112,7 @@
"node-sql-parser": "5.3.6",
"pinia": "2.3.0",
"pinia-undo": "0.2.4",
"platform-core": "8.2.101",
"platform-core": "8.2.102",
"quasar": "2.17.6",
"sort-array": "5.0.0",
"svg-path-commander": "2.1.7",

2
gradle.properties

@ -39,7 +39,7 @@ application_version=1.0.0
platform_group=io.sc
platform_version=8.2.28
platform_plugin_version=8.2.10
platform_core_frontend_version=8.2.101
platform_core_frontend_version=8.2.102
###########################################################
# dependencies version

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

@ -112,7 +112,7 @@
"node-sql-parser": "5.3.6",
"pinia": "2.3.0",
"pinia-undo": "0.2.4",
"platform-core": "8.2.101",
"platform-core": "8.2.102",
"quasar": "2.17.6",
"sort-array": "5.0.0",
"svg-path-commander": "2.1.7",

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

@ -112,7 +112,7 @@
"node-sql-parser": "5.3.6",
"pinia": "2.3.0",
"pinia-undo": "0.2.4",
"platform-core": "8.2.101",
"platform-core": "8.2.102",
"quasar": "2.17.6",
"sort-array": "5.0.0",
"svg-path-commander": "2.1.7",

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

@ -112,7 +112,7 @@
"node-sql-parser": "5.3.6",
"pinia": "2.3.0",
"pinia-undo": "0.2.4",
"platform-core": "8.2.101",
"platform-core": "8.2.102",
"quasar": "2.17.6",
"sort-array": "5.0.0",
"svg-path-commander": "2.1.7",

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

@ -112,7 +112,7 @@
"node-sql-parser": "5.3.6",
"pinia": "2.3.0",
"pinia-undo": "0.2.4",
"platform-core": "8.2.101",
"platform-core": "8.2.102",
"quasar": "2.17.6",
"sort-array": "5.0.0",
"svg-path-commander": "2.1.7",

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

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

4
io.sc.platform.core.frontend/src/platform/i18n/messages.json

@ -329,9 +329,11 @@
"home.card.myShortcutmenu.title": "My Commonly used Actions",
"home.card.myShortcutmenu.action.config": "Configure ...",
"home.card.task.tip.routeOrComponentNotSetting": "Action Operator NOT Setting!",
"home.card.task.tip.remoteComponentLoadError": "Action Component Loading Failed!",
"home.card.myTask.title": "My Tasks",
"home.card.myTask.action.list": "all my tasks",
"home.card.myTask.action.notSetting.tip": "Action not set, can NOT hand it!",
"home.card.myDoneTask.title": "My Tasks Done",
"home.card.myDoneTask.action.list": "all my done tasks",

4
io.sc.platform.core.frontend/src/platform/i18n/messages_tw_CN.json

@ -329,9 +329,11 @@
"home.card.myShortcutmenu.title": "我的常用功能",
"home.card.myShortcutmenu.action.config": "配置 ...",
"home.card.task.tip.routeOrComponentNotSetting": "任務辦理動作未設置, 無法執行!",
"home.card.task.tip.remoteComponentLoadError": "任務辦理組件加載失敗, 無法執行!",
"home.card.myTask.title": "我的代辦",
"home.card.myTask.action.list": "顯示所有",
"home.card.myTask.action.notSetting.tip": "任務處理未設置, 无法直接处理!",
"home.card.myDoneTask.title": "我的已辦",
"home.card.myDoneTask.action.list": "顯示所有",

4
io.sc.platform.core.frontend/src/platform/i18n/messages_zh_CN.json

@ -330,9 +330,11 @@
"home.card.myShortcutmenu.title": "我的常用功能",
"home.card.myShortcutmenu.action.config": "配置 ...",
"home.card.task.tip.routeOrComponentNotSetting": "任务办理动作未设置, 无法执行!",
"home.card.task.tip.remoteComponentLoadError": "任务办理组件加载失败, 无法执行!",
"home.card.myTask.title": "我的代办",
"home.card.myTask.action.list": "显示所有",
"home.card.myTask.action.notSetting.tip": "任务处理未设置, 无法直接处理!",
"home.card.myDoneTask.title": "我的已办",
"home.card.myDoneTask.action.list": "显示所有",

11
io.sc.platform.core.frontend/src/platform/views/home/MyDoneTask.vue

@ -86,7 +86,7 @@ const changeFirstColMaxWidth = () => {
const refresh = () => {
loadingRef.value = true;
axios
.get(Environment.apiContextPath('/api/flowable/process/query/myDoneTask'))
.get(Environment.apiContextPath('/api/flowable/process/query/myDoneTask?page=1&size=10&pageable=true'))
.then((response: any) => {
itemsRef.value = response.data.content || [];
loadingRef.value = false;
@ -102,7 +102,12 @@ const handle = async (item: any) => {
componentRef.value = null;
//
nextTick(() => {
const component = defineAsyncComponent(ComponentManager.getRemoteComponent(item.taskHandFrontendModelName, item.taskHandFrontendComponentName));
const component = defineAsyncComponent({
loader: ComponentManager.getRemoteComponent(item.taskHandFrontendModelName, item.taskHandFrontendComponentName),
onError: (error, retry, fail, attempts) => {
NotifyManager.error($t('home.card.task.tip.remoteComponentLoadError'));
},
});
componentRef.value = h(component, {
action: 'view',
task: item,
@ -113,7 +118,7 @@ const handle = async (item: any) => {
} else if (item.taskHandFrontendRouteName) {
router.push({ name: item.taskHandFrontendRouteName });
} else {
NotifyManager.warn($t('home.card.task.action.notSetting.tip'));
NotifyManager.warn($t('home.card.task.tip.routeOrComponentNotSetting'));
}
};

11
io.sc.platform.core.frontend/src/platform/views/home/MyFinishedTask.vue

@ -86,7 +86,7 @@ const changeFirstColMaxWidth = () => {
const refresh = () => {
loadingRef.value = true;
axios
.get(Environment.apiContextPath('/api/flowable/process/query/myFinishedTask'))
.get(Environment.apiContextPath('/api/flowable/process/query/myFinishedTask?page=1&size=10&pageable=true'))
.then((response: any) => {
itemsRef.value = response.data.content || [];
loadingRef.value = false;
@ -102,7 +102,12 @@ const handle = async (item: any) => {
componentRef.value = null;
//
nextTick(() => {
const component = defineAsyncComponent(ComponentManager.getRemoteComponent(item.taskHandFrontendModelName, item.taskHandFrontendComponentName));
const component = defineAsyncComponent({
loader: ComponentManager.getRemoteComponent(item.taskHandFrontendModelName, item.taskHandFrontendComponentName),
onError: (error, retry, fail, attempts) => {
NotifyManager.error($t('home.card.task.tip.remoteComponentLoadError'));
},
});
componentRef.value = h(component, {
action: 'view',
task: item,
@ -113,7 +118,7 @@ const handle = async (item: any) => {
} else if (item.taskHandFrontendRouteName) {
router.push({ name: item.taskHandFrontendRouteName });
} else {
NotifyManager.warn($t('home.card.task.action.notSetting.tip'));
NotifyManager.warn($t('home.card.task.tip.routeOrComponentNotSetting'));
}
};

13
io.sc.platform.core.frontend/src/platform/views/home/MyTask.vue

@ -62,7 +62,7 @@
<script setup lang="ts">
import { h, ref, defineAsyncComponent, nextTick } from 'vue';
import { useRouter } from 'vue-router';
import { $t, axios, Environment, ComponentManager, Tools, NotifyManager } from '@/platform';
import { $t, axios, Environment, ComponentManager, Tools, NotifyManager, QuasarTools } from '@/platform';
const emit = defineEmits(['afterRefresh']);
@ -88,7 +88,7 @@ const changeFirstColMaxWidth = () => {
const refresh = () => {
loadingRef.value = true;
axios
.get(Environment.apiContextPath('/api/flowable/process/query/myTask'))
.get(Environment.apiContextPath('/api/flowable/process/query/myTask?page=1&size=10&pageable=true'))
.then((response: any) => {
itemsRef.value = response.data.content || [];
loadingRef.value = false;
@ -105,7 +105,12 @@ const handle = async (item: any) => {
componentRef.value = null;
//
nextTick(() => {
const component = defineAsyncComponent(ComponentManager.getRemoteComponent(item.taskHandFrontendModelName, item.taskHandFrontendComponentName));
const component = defineAsyncComponent({
loader: ComponentManager.getRemoteComponent(item.taskHandFrontendModelName, item.taskHandFrontendComponentName),
onError: (error, retry, fail, attempts) => {
NotifyManager.error($t('home.card.task.tip.remoteComponentLoadError'));
},
});
componentRef.value = h(component, {
action: 'process',
task: item,
@ -116,7 +121,7 @@ const handle = async (item: any) => {
} else if (item.taskHandFrontendRouteName) {
router.push({ name: item.taskHandFrontendRouteName });
} else {
NotifyManager.warn($t('home.card.myTask.action.notSetting.tip'));
NotifyManager.warn($t('home.card.task.tip.routeOrComponentNotSetting'));
}
};

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

@ -1,6 +1,6 @@
{
"name": "platform-core",
"version": "8.2.101",
"version": "8.2.102",
"description": "前端核心包,用于快速构建前端的脚手架",
"private": false,
"keywords": [],
@ -111,7 +111,7 @@
"mockjs": "1.1.0",
"node-sql-parser": "5.3.6",
"pinia": "2.3.0",
"platform-core": "8.2.101",
"platform-core": "8.2.102",
"quasar": "2.17.6",
"sort-array": "5.0.0",
"svg-path-commander": "2.1.7",

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

@ -28,7 +28,7 @@
"vuepress": "2.0.0-rc.15"
},
"dependencies": {
"platform-core": "8.2.101",
"platform-core": "8.2.102",
"quasar": "2.17.6",
"vue": "3.5.13",
"vue-i18n": "11.0.1"

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

@ -112,7 +112,7 @@
"node-sql-parser": "5.3.6",
"pinia": "2.3.0",
"pinia-undo": "0.2.4",
"platform-core": "8.2.101",
"platform-core": "8.2.102",
"quasar": "2.17.6",
"sort-array": "5.0.0",
"svg-path-commander": "2.1.7",

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

@ -112,7 +112,7 @@
"node-sql-parser": "5.3.6",
"pinia": "2.3.0",
"pinia-undo": "0.2.4",
"platform-core": "8.2.101",
"platform-core": "8.2.102",
"quasar": "2.17.6",
"sort-array": "5.0.0",
"svg-path-commander": "2.1.7",

2
io.sc.platform.license.keygen.frontend/package.json

@ -112,7 +112,7 @@
"node-sql-parser": "5.3.6",
"pinia": "2.3.0",
"pinia-undo": "0.2.4",
"platform-core": "8.2.101",
"platform-core": "8.2.102",
"quasar": "2.17.6",
"sort-array": "5.0.0",
"svg-path-commander": "2.1.7",

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

@ -112,7 +112,7 @@
"node-sql-parser": "5.3.6",
"pinia": "2.3.0",
"pinia-undo": "0.2.4",
"platform-core": "8.2.101",
"platform-core": "8.2.102",
"quasar": "2.17.6",
"sort-array": "5.0.0",
"svg-path-commander": "2.1.7",

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

@ -112,7 +112,7 @@
"node-sql-parser": "5.3.6",
"pinia": "2.3.0",
"pinia-undo": "0.2.4",
"platform-core": "8.2.101",
"platform-core": "8.2.102",
"quasar": "2.17.6",
"sort-array": "5.0.0",
"svg-path-commander": "2.1.7",

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

@ -111,7 +111,7 @@
"mockjs": "1.1.0",
"node-sql-parser": "5.3.6",
"pinia": "2.3.0",
"platform-core": "8.2.101",
"platform-core": "8.2.102",
"quasar": "2.17.6",
"sort-array": "5.0.0",
"svg-path-commander": "2.1.7",

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

@ -112,7 +112,7 @@
"node-sql-parser": "5.3.6",
"pinia": "2.3.0",
"pinia-undo": "0.2.4",
"platform-core": "8.2.101",
"platform-core": "8.2.102",
"quasar": "2.17.6",
"sort-array": "5.0.0",
"svg-path-commander": "2.1.7",

2
io.sc.website/package.json

@ -28,6 +28,6 @@
},
"dependencies": {
"vue": "3.5.13",
"platform-core": "8.2.101"
"platform-core": "8.2.102"
}
}

2
wra.report.frontend/package.json

@ -111,7 +111,7 @@
"mockjs": "1.1.0",
"node-sql-parser": "5.3.6",
"pinia": "2.3.0",
"platform-core": "8.2.101",
"platform-core": "8.2.102",
"quasar": "2.17.6",
"sort-array": "5.0.0",
"svg-path-commander": "2.1.7",

Loading…
Cancel
Save