Browse Source

基础框架发布: 8.2.25

前端核心发布: 8.2.90
 1) 更新前端首页
main
wangshaoping 2 months ago
parent
commit
db5dc95c47
  1. 5
      io.sc.platform.core.frontend/src/platform/views/home/DoneTask.vue
  2. 5
      io.sc.platform.core.frontend/src/platform/views/home/FinishedTask.vue
  3. 5
      io.sc.platform.core.frontend/src/platform/views/home/Task.vue

5
io.sc.platform.core.frontend/src/platform/views/home/DoneTask.vue

@ -51,7 +51,10 @@ const handleTask = async (item: any) => {
// //
nextTick(() => { nextTick(() => {
const component = defineAsyncComponent(ComponentManager.getRemoteComponent(item.taskHandFrontendModelName, item.taskHandFrontendComponentName)); const component = defineAsyncComponent(ComponentManager.getRemoteComponent(item.taskHandFrontendModelName, item.taskHandFrontendComponentName));
const properties = Tools.mergeObject({ taskId: item.id }, Tools.json2Object(item.taskHandFrontendComponentProperties)); const properties = Tools.mergeObject(
{ taskId: item.id, businessKey: item.businessKey, action: 'view' },
Tools.json2Object(item.taskHandFrontendComponentProperties),
);
componentRef.value = h(component, properties); componentRef.value = h(component, properties);
}); });
}; };

5
io.sc.platform.core.frontend/src/platform/views/home/FinishedTask.vue

@ -51,7 +51,10 @@ const handleTask = async (item: any) => {
// //
nextTick(() => { nextTick(() => {
const component = defineAsyncComponent(ComponentManager.getRemoteComponent(item.taskHandFrontendModelName, item.taskHandFrontendComponentName)); const component = defineAsyncComponent(ComponentManager.getRemoteComponent(item.taskHandFrontendModelName, item.taskHandFrontendComponentName));
const properties = Tools.mergeObject({ taskId: item.id }, Tools.json2Object(item.taskHandFrontendComponentProperties)); const properties = Tools.mergeObject(
{ taskId: item.id, businessKey: item.businessKey, action: 'view' },
Tools.json2Object(item.taskHandFrontendComponentProperties),
);
componentRef.value = h(component, properties); componentRef.value = h(component, properties);
}); });
}; };

5
io.sc.platform.core.frontend/src/platform/views/home/Task.vue

@ -52,7 +52,10 @@ const handleTask = async (item: any) => {
// //
nextTick(() => { nextTick(() => {
const component = defineAsyncComponent(ComponentManager.getRemoteComponent(item.taskHandFrontendModelName, item.taskHandFrontendComponentName)); const component = defineAsyncComponent(ComponentManager.getRemoteComponent(item.taskHandFrontendModelName, item.taskHandFrontendComponentName));
const properties = Tools.mergeObject({ taskId: item.id }, Tools.json2Object(item.taskHandFrontendComponentProperties)); const properties = Tools.mergeObject(
{ taskId: item.id, businessKey: item.businessKey, action: 'process' },
Tools.json2Object(item.taskHandFrontendComponentProperties),
);
componentRef.value = h(component, properties); componentRef.value = h(component, properties);
}); });
}; };

Loading…
Cancel
Save