Browse Source

后端发布: 8.2.11

前端发布: 8.2.65
main
wangshaoping 3 weeks ago
parent
commit
5a52e82f88
  1. 8
      erm.frontend/src/remote-components/remote-components.json
  2. 8
      io.sc.engine.mv.frontend/src/remote-components/remote-components.json
  3. 8
      io.sc.engine.rule.frontend/src/remote-components/remote-components.json
  4. 8
      io.sc.engine.st.frontend/src/remote-components/remote-components.json
  5. 8
      io.sc.platform.ai.frontend/src/remote-components/remote-components.json
  6. 26
      io.sc.platform.core.frontend/src/platform/layout/sub-layout/TaskHandlerDialog.vue
  7. 8
      io.sc.platform.core.frontend/src/remote-components/remote-components.json
  8. 23
      io.sc.platform.core.frontend/src/views/testcase/remote-component/RemoteComponent.vue
  9. 8
      io.sc.platform.core.frontend/template-project/src/remote-components/remote-components.json
  10. 23
      io.sc.platform.core.frontend/template-project/src/views/testcase/remote-component/RemoteComponent.vue
  11. 12
      io.sc.platform.developer.frontend/src/remote-components/remote-components.json
  12. 4
      io.sc.platform.developer.frontend/src/views/XXX.vue
  13. 8
      io.sc.platform.lcdp.frontend/src/remote-components/remote-components.json
  14. 8
      io.sc.platform.license.keygen.frontend/src/remote-components/remote-components.json
  15. 8
      io.sc.platform.mvc.frontend/src/remote-components/remote-components.json
  16. 8
      io.sc.platform.scheduler.manager.frontend/src/remote-components/remote-components.json
  17. 8
      io.sc.platform.system.frontend/src/remote-components/remote-components.json
  18. 8
      io.sc.standard.frontend/src/remote-components/remote-components.json

8
erm.frontend/src/remote-components/remote-components.json

@ -0,0 +1,8 @@
[
/*
{
"component": "组件名称",
"componentPath": "组件 .vue 文件路径"
}
*/
]

8
io.sc.engine.mv.frontend/src/remote-components/remote-components.json

@ -0,0 +1,8 @@
[
/*
{
"component": "组件名称",
"componentPath": "组件 .vue 文件路径"
}
*/
]

8
io.sc.engine.rule.frontend/src/remote-components/remote-components.json

@ -0,0 +1,8 @@
[
/*
{
"component": "组件名称",
"componentPath": "组件 .vue 文件路径"
}
*/
]

8
io.sc.engine.st.frontend/src/remote-components/remote-components.json

@ -0,0 +1,8 @@
[
/*
{
"component": "组件名称",
"componentPath": "组件 .vue 文件路径"
}
*/
]

8
io.sc.platform.ai.frontend/src/remote-components/remote-components.json

@ -0,0 +1,8 @@
[
/*
{
"component": "组件名称",
"componentPath": "组件 .vue 文件路径"
}
*/
]

26
io.sc.platform.core.frontend/src/platform/layout/sub-layout/TaskHandlerDialog.vue

@ -0,0 +1,26 @@
<template>
<w-dialog ref="dialogRef" width="800px" :title="$t('myMessages')"> </w-dialog>
</template>
<script setup lang="ts">
import { ref } from 'vue';
import { useQuasar } from 'quasar';
import { axios, PConst, Environment, SessionManager, noErrorAxios, NotifyManager } from '@/platform';
const $q = useQuasar();
const dialogRef = ref();
const itemRef = ref();
const open = async (item) => {
itemRef.value = item;
dialogRef.value.show();
};
const close = () => {
dialogRef.value.hide();
};
defineExpose({
open,
close,
});
</script>

8
io.sc.platform.core.frontend/src/remote-components/remote-components.json

@ -0,0 +1,8 @@
[
/*
{
"component": "组件名称",
"componentPath": "组件 .vue 文件路径"
}
*/
]

23
io.sc.platform.core.frontend/src/views/testcase/remote-component/RemoteComponent.vue

@ -0,0 +1,23 @@
<template>
<div class="row justify-center py-10">
<q-btn
label="在对话框中打开远程组件"
@click="
() => {
dialogRef.show();
}
"
></q-btn>
<w-dialog ref="dialogRef" width="900px" :title="$t('system.user.grid.title')">
<div style="height: 500px">
<component :is="defineAsyncComponent(ComponentManager.getRemoteComponent('io.sc.platform.developer.frontend', 'component.remote.developer.XXX'))" />
</div>
</w-dialog>
</div>
</template>
<script setup lang="ts">
import { ref, defineAsyncComponent } from 'vue';
import { ComponentManager } from '@/platform';
const dialogRef = ref();
</script>

8
io.sc.platform.core.frontend/template-project/src/remote-components/remote-components.json

@ -0,0 +1,8 @@
[
/*
{
"component": "组件名称",
"componentPath": "组件 .vue 文件路径"
}
*/
]

23
io.sc.platform.core.frontend/template-project/src/views/testcase/remote-component/RemoteComponent.vue

@ -0,0 +1,23 @@
<template>
<div class="row justify-center py-10">
<q-btn
label="在对话框中打开远程组件"
@click="
() => {
dialogRef.show();
}
"
></q-btn>
<w-dialog ref="dialogRef" width="900px" :title="$t('system.user.grid.title')">
<div style="height: 500px">
<component :is="defineAsyncComponent(ComponentManager.getRemoteComponent('io.sc.platform.developer.frontend', 'component.remote.developer.XXX'))" />
</div>
</w-dialog>
</div>
</template>
<script setup lang="ts">
import { ref, defineAsyncComponent } from 'vue';
import { ComponentManager } from '@/platform';
const dialogRef = ref();
</script>

12
io.sc.platform.developer.frontend/src/remote-components/remote-components.json

@ -0,0 +1,12 @@
[
/*
{
"component": "组件名称",
"componentPath": "组件 .vue 文件路径"
}
*/
{
"component": "component.remote.developer.XXX",
"componentPath": "@/views/XXX.vue"
}
]

4
io.sc.platform.developer.frontend/src/views/XXX.vue

@ -0,0 +1,4 @@
<template>
<div>XXX</div>
</template>
<script setup lang="ts"></script>

8
io.sc.platform.lcdp.frontend/src/remote-components/remote-components.json

@ -0,0 +1,8 @@
[
/*
{
"component": "组件名称",
"componentPath": "组件 .vue 文件路径"
}
*/
]

8
io.sc.platform.license.keygen.frontend/src/remote-components/remote-components.json

@ -0,0 +1,8 @@
[
/*
{
"component": "组件名称",
"componentPath": "组件 .vue 文件路径"
}
*/
]

8
io.sc.platform.mvc.frontend/src/remote-components/remote-components.json

@ -0,0 +1,8 @@
[
/*
{
"component": "组件名称",
"componentPath": "组件 .vue 文件路径"
}
*/
]

8
io.sc.platform.scheduler.manager.frontend/src/remote-components/remote-components.json

@ -0,0 +1,8 @@
[
/*
{
"component": "组件名称",
"componentPath": "组件 .vue 文件路径"
}
*/
]

8
io.sc.platform.system.frontend/src/remote-components/remote-components.json

@ -0,0 +1,8 @@
[
/*
{
"component": "组件名称",
"componentPath": "组件 .vue 文件路径"
}
*/
]

8
io.sc.standard.frontend/src/remote-components/remote-components.json

@ -0,0 +1,8 @@
[
/*
{
"component": "组件名称",
"componentPath": "组件 .vue 文件路径"
}
*/
]
Loading…
Cancel
Save