提交 543b167f 编写于 作者: ibizdev's avatar ibizdev

lxm1993 发布系统代码 [TrainSys,网页端]

上级 f5acd150
...@@ -12,14 +12,14 @@ ...@@ -12,14 +12,14 @@
}, },
"dependencies": { "dependencies": {
"@floating-ui/dom": "^1.0.11", "@floating-ui/dom": "^1.0.11",
"@ibiz-template/command": "^0.0.1-beta.35", "@ibiz-template/command": "^0.0.1-beta.36",
"@ibiz-template/controller": "^0.0.1-beta.35", "@ibiz-template/controller": "^0.0.1-beta.36",
"@ibiz-template/core": "^0.0.1-beta.35", "@ibiz-template/core": "^0.0.1-beta.36",
"@ibiz-template/model": "^0.0.1-beta.35", "@ibiz-template/model": "^0.0.1-beta.36",
"@ibiz-template/runtime": "^0.0.1-beta.35", "@ibiz-template/runtime": "^0.0.1-beta.36",
"@ibiz-template/service": "^0.0.1-beta.35", "@ibiz-template/service": "^0.0.1-beta.36",
"@ibiz-template/theme": "^0.0.1-beta.35", "@ibiz-template/theme": "^0.0.1-beta.36",
"@ibiz-template/vue-util": "^0.0.1-beta.35", "@ibiz-template/vue-util": "^0.0.1-beta.36",
"@ibiz/dynamic-model-api": "^2.1.11", "@ibiz/dynamic-model-api": "^2.1.11",
"dayjs": "^1.11.7", "dayjs": "^1.11.7",
"lodash-es": "^4.17.21", "lodash-es": "^4.17.21",
......
...@@ -4,14 +4,14 @@ specifiers: ...@@ -4,14 +4,14 @@ specifiers:
'@commitlint/cli': ^17.3.0 '@commitlint/cli': ^17.3.0
'@commitlint/config-conventional': ^17.3.0 '@commitlint/config-conventional': ^17.3.0
'@floating-ui/dom': ^1.0.11 '@floating-ui/dom': ^1.0.11
'@ibiz-template/command': ^0.0.1-beta.35 '@ibiz-template/command': ^0.0.1-beta.36
'@ibiz-template/controller': ^0.0.1-beta.35 '@ibiz-template/controller': ^0.0.1-beta.36
'@ibiz-template/core': ^0.0.1-beta.35 '@ibiz-template/core': ^0.0.1-beta.36
'@ibiz-template/model': ^0.0.1-beta.35 '@ibiz-template/model': ^0.0.1-beta.36
'@ibiz-template/runtime': ^0.0.1-beta.35 '@ibiz-template/runtime': ^0.0.1-beta.36
'@ibiz-template/service': ^0.0.1-beta.35 '@ibiz-template/service': ^0.0.1-beta.36
'@ibiz-template/theme': ^0.0.1-beta.35 '@ibiz-template/theme': ^0.0.1-beta.36
'@ibiz-template/vue-util': ^0.0.1-beta.35 '@ibiz-template/vue-util': ^0.0.1-beta.36
'@ibiz/dynamic-model-api': ^2.1.11 '@ibiz/dynamic-model-api': ^2.1.11
'@types/lodash-es': ^4.17.6 '@types/lodash-es': ^4.17.6
'@types/node': ^18.11.15 '@types/node': ^18.11.15
...@@ -63,14 +63,14 @@ specifiers: ...@@ -63,14 +63,14 @@ specifiers:
dependencies: dependencies:
'@floating-ui/dom': 1.0.11 '@floating-ui/dom': 1.0.11
'@ibiz-template/command': 0.0.1-beta.35 '@ibiz-template/command': 0.0.1-beta.36
'@ibiz-template/controller': 0.0.1-beta.35_zmo523m6um5wuaaa4ymx3aankq '@ibiz-template/controller': 0.0.1-beta.36_qowy6zhoaorn7dpbd7hu4rvzsi
'@ibiz-template/core': 0.0.1-beta.35_qzytosuu5eg3bvoa74ldx6evva '@ibiz-template/core': 0.0.1-beta.36_qzytosuu5eg3bvoa74ldx6evva
'@ibiz-template/model': 0.0.1-beta.35_nngk5znuztmoeynqrwf7jk7xse '@ibiz-template/model': 0.0.1-beta.36_nngk5znuztmoeynqrwf7jk7xse
'@ibiz-template/runtime': 0.0.1-beta.35_3x5lrvo4r56wqysw3hjkkryuba '@ibiz-template/runtime': 0.0.1-beta.36_rytetrrrudaqz43e46p7hj6pam
'@ibiz-template/service': 0.0.1-beta.35_sw7gix4w3weo6qt6idjd3tjyti '@ibiz-template/service': 0.0.1-beta.36_nrcr3rhg42swl7akqv7gxfvxr4
'@ibiz-template/theme': 0.0.1-beta.35 '@ibiz-template/theme': 0.0.1-beta.36
'@ibiz-template/vue-util': 0.0.1-beta.35_2thmcdjnswyqovrnadqxd43wsu '@ibiz-template/vue-util': 0.0.1-beta.36_gl77qsdtdevkpbc5tken5lkjaa
'@ibiz/dynamic-model-api': 2.1.11_qx-util@0.4.4 '@ibiz/dynamic-model-api': 2.1.11_qx-util@0.4.4
dayjs: 1.11.7 dayjs: 1.11.7
lodash-es: 4.17.21 lodash-es: 4.17.21
...@@ -891,14 +891,14 @@ packages: ...@@ -891,14 +891,14 @@ packages:
resolution: {integrity: sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==} resolution: {integrity: sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==}
dev: true dev: true
/@ibiz-template/command/0.0.1-beta.35: /@ibiz-template/command/0.0.1-beta.36:
resolution: {integrity: sha512-jywjP3z+VxAcNiPsBjREVpHAFSoOcnGez7ZBdyT9BuCns+qXt2+WjGaEJkh81ShloMRKc3wdvAXsbRh7/7QwCg==} resolution: {integrity: sha512-4mGaEjl4gfMp+RvI0mbZfeDGK/Jya773TT7MgipuDI570gBVZSZYOyq6x5PdLRIzP16ema+HT58QlbqDG9Bwyw==}
dependencies: dependencies:
qx-util: 0.4.4 qx-util: 0.4.4
dev: false dev: false
/@ibiz-template/controller/0.0.1-beta.35_zmo523m6um5wuaaa4ymx3aankq: /@ibiz-template/controller/0.0.1-beta.36_qowy6zhoaorn7dpbd7hu4rvzsi:
resolution: {integrity: sha512-0vNTZg3Qlj/jxVcxy5OCFhRd42OS8dlakeCdgPbmylMkmjbBuCec7mn5HKmHdKIlJLRSZ44NFezM6FOteOeBfg==} resolution: {integrity: sha512-gCB6LMVGbbKM0No+cEnZz3/5jrYy9XfbtJRm730nA4ddDFuxIwzYUqTUIPHy/g9fLrLXF1bCBX3O2N/FVI5l6A==}
peerDependencies: peerDependencies:
'@ibiz-template/core': ^0.0.1-beta.30 '@ibiz-template/core': ^0.0.1-beta.30
'@ibiz-template/model': ^0.0.1-beta.30 '@ibiz-template/model': ^0.0.1-beta.30
...@@ -908,10 +908,10 @@ packages: ...@@ -908,10 +908,10 @@ packages:
qs: ^6.11.0 qs: ^6.11.0
qx-util: ^0.4.4 qx-util: ^0.4.4
dependencies: dependencies:
'@ibiz-template/core': 0.0.1-beta.35_qzytosuu5eg3bvoa74ldx6evva '@ibiz-template/core': 0.0.1-beta.36_qzytosuu5eg3bvoa74ldx6evva
'@ibiz-template/model': 0.0.1-beta.35_nngk5znuztmoeynqrwf7jk7xse '@ibiz-template/model': 0.0.1-beta.36_nngk5znuztmoeynqrwf7jk7xse
'@ibiz-template/runtime': 0.0.1-beta.35_3x5lrvo4r56wqysw3hjkkryuba '@ibiz-template/runtime': 0.0.1-beta.36_rytetrrrudaqz43e46p7hj6pam
'@ibiz-template/service': 0.0.1-beta.35_sw7gix4w3weo6qt6idjd3tjyti '@ibiz-template/service': 0.0.1-beta.36_nrcr3rhg42swl7akqv7gxfvxr4
async-validator: 4.2.5 async-validator: 4.2.5
dayjs: 1.11.7 dayjs: 1.11.7
lodash-es: 4.17.21 lodash-es: 4.17.21
...@@ -919,8 +919,8 @@ packages: ...@@ -919,8 +919,8 @@ packages:
qx-util: 0.4.4 qx-util: 0.4.4
dev: false dev: false
/@ibiz-template/core/0.0.1-beta.35_qzytosuu5eg3bvoa74ldx6evva: /@ibiz-template/core/0.0.1-beta.36_qzytosuu5eg3bvoa74ldx6evva:
resolution: {integrity: sha512-YPgUtcBAErkCAIZwx4UF9LRuAtkB2FdV5PTV/NTiEMXoTw5S34JaMn5pjFV1zY07LxH3zZe/gnUN0AQmDdLo/w==} resolution: {integrity: sha512-chQfsRTFw+aONg24EGSCPxHwUb5bOb7ZInjeCzKWCdmRSneLidph2gb7l/2ydDscDPWXj+aDkyL4cUFXPzSwuw==}
peerDependencies: peerDependencies:
lodash-es: ^4.17.21 lodash-es: ^4.17.21
qx-util: ^0.4.4 qx-util: ^0.4.4
...@@ -935,8 +935,8 @@ packages: ...@@ -935,8 +935,8 @@ packages:
- debug - debug
dev: false dev: false
/@ibiz-template/model/0.0.1-beta.35_nngk5znuztmoeynqrwf7jk7xse: /@ibiz-template/model/0.0.1-beta.36_nngk5znuztmoeynqrwf7jk7xse:
resolution: {integrity: sha512-qOx4rwfo/Kgf30+6dxRvdHW1uvO37xsCXoeMFU/smn2yjWI2YB5l7VFLvCIa2LXpvSIH9N7zf6OvCbAXhMKYoA==} resolution: {integrity: sha512-Q7R3JW2dGypIyCzzVwSgzsb/QyzpX5fgqwZcDnpyRyHflP4dVnYaX0qtu3on0u+cQu+QiKB9AVDwHzv9VQxFDg==}
peerDependencies: peerDependencies:
'@ibiz/dynamic-model-api': ^2.1.11 '@ibiz/dynamic-model-api': ^2.1.11
lodash-es: ^4.17.21 lodash-es: ^4.17.21
...@@ -948,41 +948,42 @@ packages: ...@@ -948,41 +948,42 @@ packages:
qx-util: 0.4.4 qx-util: 0.4.4
dev: false dev: false
/@ibiz-template/runtime/0.0.1-beta.35_3x5lrvo4r56wqysw3hjkkryuba: /@ibiz-template/runtime/0.0.1-beta.36_rytetrrrudaqz43e46p7hj6pam:
resolution: {integrity: sha512-WntUoYcDewvDpg9MCJzHFti03eqLW+xvmMME+DPwI5/COOoMC9UtsfPJe5lQWtyhoukJcTHVf0R7seidoCDBzQ==} resolution: {integrity: sha512-dynr0ffi4fnzOPvyfza9cWXLJ9egsw3eqnGMCixU8ZfgJt8e9I0Ft/yjOPnCwDr7HhFfezJljt3mWw76Bol6HQ==}
peerDependencies: peerDependencies:
'@ibiz-template/core': ^0.0.1-beta.30 '@ibiz-template/core': ^0.0.1-beta.30
'@ibiz-template/model': ^0.0.1-beta.30 '@ibiz-template/model': ^0.0.1-beta.30
'@ibiz-template/service': ^0.0.1-beta.30 '@ibiz-template/service': ^0.0.1-beta.30
qx-util: ^0.4.4 qx-util: ^0.4.4
dependencies: dependencies:
'@ibiz-template/command': 0.0.1-beta.35 '@ibiz-template/command': 0.0.1-beta.36
'@ibiz-template/core': 0.0.1-beta.35_qzytosuu5eg3bvoa74ldx6evva '@ibiz-template/core': 0.0.1-beta.36_qzytosuu5eg3bvoa74ldx6evva
'@ibiz-template/model': 0.0.1-beta.35_nngk5znuztmoeynqrwf7jk7xse '@ibiz-template/model': 0.0.1-beta.36_nngk5znuztmoeynqrwf7jk7xse
'@ibiz-template/service': 0.0.1-beta.35_sw7gix4w3weo6qt6idjd3tjyti '@ibiz-template/service': 0.0.1-beta.36_nrcr3rhg42swl7akqv7gxfvxr4
qs: 6.11.0
qx-util: 0.4.4 qx-util: 0.4.4
dev: false dev: false
/@ibiz-template/service/0.0.1-beta.35_sw7gix4w3weo6qt6idjd3tjyti: /@ibiz-template/service/0.0.1-beta.36_nrcr3rhg42swl7akqv7gxfvxr4:
resolution: {integrity: sha512-RHyKS6c7ooeEGjStxa0XQmJL70wi6yPIq4wjH7xv74gWpEgsMwlYchHXQ3nZYNZiffeBOg2mwqwSoDDWdU24KQ==} resolution: {integrity: sha512-dQz4BHSyWMIZVVHRs3/LOa3eoKy6pQK2vCqBnG6xKZDjNTnWVvV4FLm/P9E/PLXvORXa2FJ/CsIfvVfMo6k9qg==}
peerDependencies: peerDependencies:
'@ibiz-template/core': ^0.0.1-beta.30 '@ibiz-template/core': ^0.0.1-beta.30
'@ibiz-template/model': ^0.0.1-beta.30 '@ibiz-template/model': ^0.0.1-beta.30
qx-util: ^0.4.4 qx-util: ^0.4.4
ramda: ^0.28.0 ramda: ^0.28.0
dependencies: dependencies:
'@ibiz-template/core': 0.0.1-beta.35_qzytosuu5eg3bvoa74ldx6evva '@ibiz-template/core': 0.0.1-beta.36_qzytosuu5eg3bvoa74ldx6evva
'@ibiz-template/model': 0.0.1-beta.35_nngk5znuztmoeynqrwf7jk7xse '@ibiz-template/model': 0.0.1-beta.36_nngk5znuztmoeynqrwf7jk7xse
qx-util: 0.4.4 qx-util: 0.4.4
ramda: 0.28.0 ramda: 0.28.0
dev: false dev: false
/@ibiz-template/theme/0.0.1-beta.35: /@ibiz-template/theme/0.0.1-beta.36:
resolution: {integrity: sha512-JkatctbQ/CjF40UxmiFm0GcSnYmn4csudiKzkDq3DBYuIM061Nozd3Nd+QuZUce7TfigSTddUcEHnSBIt7amMA==} resolution: {integrity: sha512-sPSUr20bcISev1wYvPI25hmJwcGQcwUfol+lb51qvAjV4l6nnk8HQxxWe6q7wxJr6pbW3I3E9SZVrDeT4oeyxA==}
dev: false dev: false
/@ibiz-template/vue-util/0.0.1-beta.35_2thmcdjnswyqovrnadqxd43wsu: /@ibiz-template/vue-util/0.0.1-beta.36_gl77qsdtdevkpbc5tken5lkjaa:
resolution: {integrity: sha512-E++CeKffeZ7f6mslav0315H0BkoLp5rwbfw4pjrMoOcx3Cj7lJXRo7PTjRtBRIULLvGnnbQDdFaKCO2NLVKH/g==} resolution: {integrity: sha512-TEmOBqYd4bWErc/koiL2TQzaTGnpEh/0pNXF0iREDVgZaAmk4QtW8QNdkleXFbcV1FdBPfuPplBOMp/zLxPgVw==}
peerDependencies: peerDependencies:
'@ibiz-template/controller': ^0.0.1-beta.30 '@ibiz-template/controller': ^0.0.1-beta.30
'@ibiz-template/core': ^0.0.1-beta.30 '@ibiz-template/core': ^0.0.1-beta.30
...@@ -993,9 +994,9 @@ packages: ...@@ -993,9 +994,9 @@ packages:
vue: ^2.7.14 vue: ^2.7.14
vue-router: ^3.6.5 vue-router: ^3.6.5
dependencies: dependencies:
'@ibiz-template/controller': 0.0.1-beta.35_zmo523m6um5wuaaa4ymx3aankq '@ibiz-template/controller': 0.0.1-beta.36_qowy6zhoaorn7dpbd7hu4rvzsi
'@ibiz-template/core': 0.0.1-beta.35_qzytosuu5eg3bvoa74ldx6evva '@ibiz-template/core': 0.0.1-beta.36_qzytosuu5eg3bvoa74ldx6evva
'@ibiz-template/model': 0.0.1-beta.35_nngk5znuztmoeynqrwf7jk7xse '@ibiz-template/model': 0.0.1-beta.36_nngk5znuztmoeynqrwf7jk7xse
qs: 6.11.0 qs: 6.11.0
qx-util: 0.4.4 qx-util: 0.4.4
ramda: 0.28.0 ramda: 0.28.0
......
...@@ -24,21 +24,6 @@ export const MDViewBase = defineComponent({ ...@@ -24,21 +24,6 @@ export const MDViewBase = defineComponent({
<view-base <view-base
controller={c} controller={c}
scopedSlots={{ scopedSlots={{
toolbar: () => {
if (c.complete && c.model.toolbar) {
return [
<view-toolbar
modelData={c.model.toolbar}
toolbarState={c.toolbarState}
on-neuronInit={c.nerve.onNeuronInit(
c.model.toolbar.source.name,
)}
viewMode={c.modal.mode}
></view-toolbar>,
];
}
return null;
},
quickSearch: () => { quickSearch: () => {
if (c.complete && c.model.source.enableQuickSearch) { if (c.complete && c.model.source.enableQuickSearch) {
return ( return (
......
...@@ -50,7 +50,7 @@ export const ViewLayout = defineComponent({ ...@@ -50,7 +50,7 @@ export const ViewLayout = defineComponent({
> >
{this.isLoading ? <i-spin size='large' fix></i-spin> : null} {this.isLoading ? <i-spin size='large' fix></i-spin> : null}
{this.isShowHeader ? ( {this.isShowHeader ? (
<div class={this.ns.b('header')}> <div key='header' class={this.ns.b('header')}>
<div class={this.ns.b('header-content')}> <div class={this.ns.b('header-content')}>
<div class={this.ns.be('header-content', 'left')}> <div class={this.ns.be('header-content', 'left')}>
{this.modelData.source.showCaptionBar ? ( {this.modelData.source.showCaptionBar ? (
...@@ -73,14 +73,14 @@ export const ViewLayout = defineComponent({ ...@@ -73,14 +73,14 @@ export const ViewLayout = defineComponent({
</div> </div>
) : null} ) : null}
{this.$scopedSlots.searchForm && this.$scopedSlots.searchForm({}) && ( {this.$scopedSlots.searchForm && this.$scopedSlots.searchForm({}) && (
<div class={this.ns.b('top')}> <div key='top' class={this.ns.b('top')}>
<div class={this.ns.be('top', 'message')}></div> <div class={this.ns.be('top', 'message')}></div>
<div class={this.ns.be('top', 'search-form')}> <div class={this.ns.be('top', 'search-form')}>
{this.$scopedSlots.searchForm && this.$scopedSlots.searchForm({})} {this.$scopedSlots.searchForm && this.$scopedSlots.searchForm({})}
</div> </div>
</div> </div>
)} )}
<div class={this.ns.b('content')}> <div key='content' class={this.ns.b('content')}>
<div class={this.ns.be('content', 'left')}></div> <div class={this.ns.be('content', 'left')}></div>
<div class={this.ns.be('content', 'body')}> <div class={this.ns.be('content', 'body')}>
{this.$scopedSlots.default && this.$scopedSlots.default({})} {this.$scopedSlots.default && this.$scopedSlots.default({})}
...@@ -88,7 +88,7 @@ export const ViewLayout = defineComponent({ ...@@ -88,7 +88,7 @@ export const ViewLayout = defineComponent({
<div class={this.ns.be('content', 'right')}></div> <div class={this.ns.be('content', 'right')}></div>
</div> </div>
{this.$scopedSlots.footer && ( {this.$scopedSlots.footer && (
<div class={this.ns.b('footer')}> <div key='footer' class={this.ns.b('footer')}>
{this.$scopedSlots.footer && this.$scopedSlots.footer({})} {this.$scopedSlots.footer && this.$scopedSlots.footer({})}
</div> </div>
)} )}
......
import { defineComponent, onMounted } from 'vue'; import { defineComponent, onMounted } from 'vue';
import qs from 'qs';
import { getModelService } from '@ibiz-template/model'; import { getModelService } from '@ibiz-template/model';
import { IBizContext, RuntimeError } from '@ibiz-template/core'; import { IBizContext } from '@ibiz-template/core';
import { OpenAppViewCommand } from '@ibiz-template/runtime'; import { toLocalOpenWFRedirectView } from '@ibiz-template/runtime';
export default defineComponent({ export default defineComponent({
setup() { setup() {
...@@ -13,78 +12,10 @@ export default defineComponent({ ...@@ -13,78 +12,10 @@ export default defineComponent({
const { href } = window.location; const { href } = window.location;
const i = href.lastIndexOf('?');
const queryStr: string = decodeURIComponent(
href.substring(i + 1, href.length),
);
if (!queryStr) {
throw new RuntimeError(`重定向参数不足无法跳转`);
}
async function toRedirect(): Promise<void> { async function toRedirect(): Promise<void> {
const params = qs.parse(queryStr, { delimiter: ';' }) as IData;
const deName: string = params.srfdename || '';
if (!deName) {
throw new RuntimeError('重定向参数缺少实体名称');
}
const upperDeName = deName.toUpperCase();
const modelService = await getModelService(); const modelService = await getModelService();
const app = modelService.app; await toLocalOpenWFRedirectView(modelService, context, href);
const entity = app.getAllPSAppDataEntities()!.find(item => {
return (item.name || item.refM.name) === upperDeName;
});
if (!entity) {
throw new RuntimeError(`未找到指定实体: ${deName}`);
}
const deCodeName: string = entity.codeName || entity.refM.codeName;
params[deCodeName.toLowerCase()] = params[deName.toLowerCase()];
const deRdView = app.getAllPSAppViews()?.find(view => {
const { refM } = view;
if (refM.resource === deCodeName && refM.view === 'RedirectView') {
return view;
}
return null;
});
if (!deRdView) {
throw new Error(`未找到实体[${deName}]默认重定向视图[RedirectView]`);
}
// 删除跳转用参数
delete params.srfdename;
// 转换 processDefinitionKey 中的工作流流程以及版本到参数中
const tags = params.processDefinitionKey.split('-');
const wfTag = tags[3] as string;
const wf = wfTag.substring(0, wfTag.lastIndexOf('v'));
const wfVersion = wfTag.substring(wfTag.lastIndexOf('v'));
params.wf = wf;
params.wfVersion = wfVersion;
// 工作流附加参数转到上下文里
if (params.srfprocessinstanceid) {
context.srfprocessinstanceid = params.srfprocessinstanceid;
delete params.srfprocessinstanceid;
}
await ibiz.commands.execute(
OpenAppViewCommand.TAG,
deRdView,
context,
params,
);
} }
onMounted(() => { onMounted(() => {
......
...@@ -637,60 +637,61 @@ ...@@ -637,60 +637,61 @@
resolved "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz" resolved "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz"
integrity sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA== integrity sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==
"@ibiz-template/command@^0.0.1-beta.35": "@ibiz-template/command@^0.0.1-beta.36":
version "0.0.1-beta.35" version "0.0.1-beta.36"
resolved "http://npm.zhr.icu/@ibiz-template%2fcommand/-/command-0.0.1-beta.35.tgz#aba8141ea48c7b53b8bad309d2bba4ec1e73ed55" resolved "http://npm.zhr.icu/@ibiz-template%2fcommand/-/command-0.0.1-beta.36.tgz#acd85c6ebcd8a8ca6034dd14aa2b81ea18f0d1ca"
integrity sha512-jywjP3z+VxAcNiPsBjREVpHAFSoOcnGez7ZBdyT9BuCns+qXt2+WjGaEJkh81ShloMRKc3wdvAXsbRh7/7QwCg== integrity sha512-4mGaEjl4gfMp+RvI0mbZfeDGK/Jya773TT7MgipuDI570gBVZSZYOyq6x5PdLRIzP16ema+HT58QlbqDG9Bwyw==
dependencies: dependencies:
qx-util "^0.4.4" qx-util "^0.4.4"
"@ibiz-template/controller@^0.0.1-beta.35": "@ibiz-template/controller@^0.0.1-beta.36":
version "0.0.1-beta.35" version "0.0.1-beta.36"
resolved "http://npm.zhr.icu/@ibiz-template%2fcontroller/-/controller-0.0.1-beta.35.tgz#7510e887249f0f502f7ca92611b7d60b31a48176" resolved "http://npm.zhr.icu/@ibiz-template%2fcontroller/-/controller-0.0.1-beta.36.tgz#54a278d317573a6b6a1ad31f2204c6fc643cafc0"
integrity sha512-0vNTZg3Qlj/jxVcxy5OCFhRd42OS8dlakeCdgPbmylMkmjbBuCec7mn5HKmHdKIlJLRSZ44NFezM6FOteOeBfg== integrity sha512-gCB6LMVGbbKM0No+cEnZz3/5jrYy9XfbtJRm730nA4ddDFuxIwzYUqTUIPHy/g9fLrLXF1bCBX3O2N/FVI5l6A==
dependencies: dependencies:
async-validator "^4.2.5" async-validator "^4.2.5"
dayjs "^1.11.5" dayjs "^1.11.5"
"@ibiz-template/core@^0.0.1-beta.35": "@ibiz-template/core@^0.0.1-beta.36":
version "0.0.1-beta.35" version "0.0.1-beta.36"
resolved "http://npm.zhr.icu/@ibiz-template%2fcore/-/core-0.0.1-beta.35.tgz#a1ad9dcfddf7f9e8ed9df79c884bb273ab7c6d8a" resolved "http://npm.zhr.icu/@ibiz-template%2fcore/-/core-0.0.1-beta.36.tgz#e51185c949a17dfa6e67bdd730caba63041c1328"
integrity sha512-YPgUtcBAErkCAIZwx4UF9LRuAtkB2FdV5PTV/NTiEMXoTw5S34JaMn5pjFV1zY07LxH3zZe/gnUN0AQmDdLo/w== integrity sha512-chQfsRTFw+aONg24EGSCPxHwUb5bOb7ZInjeCzKWCdmRSneLidph2gb7l/2ydDscDPWXj+aDkyL4cUFXPzSwuw==
dependencies: dependencies:
axios "^1.2.1" axios "^1.2.1"
loglevel "^1.8.0" loglevel "^1.8.0"
pluralize "^8.0.0" pluralize "^8.0.0"
qs "^6.11.0" qs "^6.11.0"
"@ibiz-template/model@^0.0.1-beta.35": "@ibiz-template/model@^0.0.1-beta.36":
version "0.0.1-beta.35" version "0.0.1-beta.36"
resolved "http://npm.zhr.icu/@ibiz-template%2fmodel/-/model-0.0.1-beta.35.tgz#725faccff89dd83d6b329a8b9a1c3d84756f0b3b" resolved "http://npm.zhr.icu/@ibiz-template%2fmodel/-/model-0.0.1-beta.36.tgz#b5a869f6370dc565b7c5e087564b582c36decf49"
integrity sha512-qOx4rwfo/Kgf30+6dxRvdHW1uvO37xsCXoeMFU/smn2yjWI2YB5l7VFLvCIa2LXpvSIH9N7zf6OvCbAXhMKYoA== integrity sha512-Q7R3JW2dGypIyCzzVwSgzsb/QyzpX5fgqwZcDnpyRyHflP4dVnYaX0qtu3on0u+cQu+QiKB9AVDwHzv9VQxFDg==
dependencies: dependencies:
"@ibiz/dynamic-model-api" "^2.1.11" "@ibiz/dynamic-model-api" "^2.1.11"
pluralize "^8.0.0" pluralize "^8.0.0"
"@ibiz-template/runtime@^0.0.1-beta.35": "@ibiz-template/runtime@^0.0.1-beta.36":
version "0.0.1-beta.35" version "0.0.1-beta.36"
resolved "http://npm.zhr.icu/@ibiz-template%2fruntime/-/runtime-0.0.1-beta.35.tgz#abe61cb259154d91530edab019ae33f921e19a52" resolved "http://npm.zhr.icu/@ibiz-template%2fruntime/-/runtime-0.0.1-beta.36.tgz#3d06fe69e7c682e50278a452e4964a85c3f8a758"
integrity sha512-WntUoYcDewvDpg9MCJzHFti03eqLW+xvmMME+DPwI5/COOoMC9UtsfPJe5lQWtyhoukJcTHVf0R7seidoCDBzQ== integrity sha512-dynr0ffi4fnzOPvyfza9cWXLJ9egsw3eqnGMCixU8ZfgJt8e9I0Ft/yjOPnCwDr7HhFfezJljt3mWw76Bol6HQ==
dependencies: dependencies:
"@ibiz-template/command" "^0.0.1-beta.35" "@ibiz-template/command" "^0.0.1-beta.36"
qs "^6.11.0"
"@ibiz-template/service@^0.0.1-beta.35": "@ibiz-template/service@^0.0.1-beta.36":
version "0.0.1-beta.35" version "0.0.1-beta.36"
resolved "http://npm.zhr.icu/@ibiz-template%2fservice/-/service-0.0.1-beta.35.tgz#3fd47c01b7fb3992e8b280ce457d689dccea7740" resolved "http://npm.zhr.icu/@ibiz-template%2fservice/-/service-0.0.1-beta.36.tgz#38ec52d9440528a801b7aade02b275b8140aa3bc"
integrity sha512-RHyKS6c7ooeEGjStxa0XQmJL70wi6yPIq4wjH7xv74gWpEgsMwlYchHXQ3nZYNZiffeBOg2mwqwSoDDWdU24KQ== integrity sha512-dQz4BHSyWMIZVVHRs3/LOa3eoKy6pQK2vCqBnG6xKZDjNTnWVvV4FLm/P9E/PLXvORXa2FJ/CsIfvVfMo6k9qg==
"@ibiz-template/theme@^0.0.1-beta.35": "@ibiz-template/theme@^0.0.1-beta.36":
version "0.0.1-beta.35" version "0.0.1-beta.36"
resolved "http://npm.zhr.icu/@ibiz-template%2ftheme/-/theme-0.0.1-beta.35.tgz#ca5b2756d3f0ec0eac96c6d3a396cada4c9e19a0" resolved "http://npm.zhr.icu/@ibiz-template%2ftheme/-/theme-0.0.1-beta.36.tgz#e63a9897cf08d5ff8a6ad7e6d18dcd1fd5419d3c"
integrity sha512-JkatctbQ/CjF40UxmiFm0GcSnYmn4csudiKzkDq3DBYuIM061Nozd3Nd+QuZUce7TfigSTddUcEHnSBIt7amMA== integrity sha512-sPSUr20bcISev1wYvPI25hmJwcGQcwUfol+lb51qvAjV4l6nnk8HQxxWe6q7wxJr6pbW3I3E9SZVrDeT4oeyxA==
"@ibiz-template/vue-util@^0.0.1-beta.35": "@ibiz-template/vue-util@^0.0.1-beta.36":
version "0.0.1-beta.35" version "0.0.1-beta.36"
resolved "http://npm.zhr.icu/@ibiz-template%2fvue-util/-/vue-util-0.0.1-beta.35.tgz#fa1394eda47be9c721423ba440f855ffbe82dbaf" resolved "http://npm.zhr.icu/@ibiz-template%2fvue-util/-/vue-util-0.0.1-beta.36.tgz#650fe72bcb4881e81b9b93ecccc165c07b9ea1b4"
integrity sha512-E++CeKffeZ7f6mslav0315H0BkoLp5rwbfw4pjrMoOcx3Cj7lJXRo7PTjRtBRIULLvGnnbQDdFaKCO2NLVKH/g== integrity sha512-TEmOBqYd4bWErc/koiL2TQzaTGnpEh/0pNXF0iREDVgZaAmk4QtW8QNdkleXFbcV1FdBPfuPplBOMp/zLxPgVw==
"@ibiz/dynamic-model-api@^2.1.11": "@ibiz/dynamic-model-api@^2.1.11":
version "2.1.11" version "2.1.11"
......
...@@ -202,7 +202,7 @@ ...@@ -202,7 +202,7 @@
</changeSet> </changeSet>
<!--输出实体[REGINFO]数据结构 --> <!--输出实体[REGINFO]数据结构 -->
<changeSet author="root" id="tab-reginfo-202-8"> <changeSet author="root" id="tab-reginfo-205-8">
<createTable tableName="T_REGINFO"> <createTable tableName="T_REGINFO">
<column name="UPDATEDATE" remarks="" type="DATETIME"> <column name="UPDATEDATE" remarks="" type="DATETIME">
</column> </column>
...@@ -332,7 +332,7 @@ ...@@ -332,7 +332,7 @@
</changeSet> </changeSet>
<!--输出实体[REGINFO]外键关系 --> <!--输出实体[REGINFO]外键关系 -->
<changeSet author="root" id="fk-reginfo-202-13"> <changeSet author="root" id="fk-reginfo-205-13">
<addForeignKeyConstraint baseColumnNames="STUDENTID" baseTableName="T_REGINFO" constraintName="F328B6E61632896255" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="STUDENTID" referencedTableName="T_STUDENT" validate="true"/> <addForeignKeyConstraint baseColumnNames="STUDENTID" baseTableName="T_REGINFO" constraintName="F328B6E61632896255" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="STUDENTID" referencedTableName="T_STUDENT" validate="true"/>
</changeSet> </changeSet>
......
...@@ -982,16 +982,16 @@ ...@@ -982,16 +982,16 @@
"mOSFilePath" : "pssysapps/TemplatePublish/psappviewmsggroups/VMGroup2", "mOSFilePath" : "pssysapps/TemplatePublish/psappviewmsggroups/VMGroup2",
"name" : "视图消息组2", "name" : "视图消息组2",
"getPSAppViewMsgGroupDetails" : [ { "getPSAppViewMsgGroupDetails" : [ {
"name" : "视图消息", "name" : "视图消息2",
"getPSAppViewMsg" : { "getPSAppViewMsg" : {
"modelref" : true, "modelref" : true,
"id" : "ViewMsg2" "id" : "ViewMsg3"
} }
}, { }, {
"name" : "视图消息2", "name" : "视图消息",
"getPSAppViewMsg" : { "getPSAppViewMsg" : {
"modelref" : true, "modelref" : true,
"id" : "ViewMsg3" "id" : "ViewMsg2"
} }
} ], } ],
"rTMOSFilePath" : "pssysapps/TemplatePublish/psappviewmsggroups/VMGroup2" "rTMOSFilePath" : "pssysapps/TemplatePublish/psappviewmsggroups/VMGroup2"
......
...@@ -69,6 +69,23 @@ ...@@ -69,6 +69,23 @@
} }
} ], } ],
"getPSDEFormItemVRs" : [ { "getPSDEFormItemVRs" : [ {
"checkMode" : 3,
"name" : "表单项值规则",
"getPSDEFormItemName" : "Name",
"getPSSysValueRule" : {
"codeName" : "ValueRule14",
"dynaModelFilePath" : "PSSYSVALUERULES/ValueRule14.json",
"mOSFilePath" : "pssysvaluerules/ValueRule14",
"name" : "由26个英文字母组成的字符串",
"rTMOSFilePath" : "pssysvaluerules/ValueRule14",
"regExCode" : "[A-Za-z]+",
"ruleInfo" : "内容必须为26个英文字母组成的字符串",
"ruleType" : "REG",
"enableBackend" : true,
"enableFront" : true
},
"valueRuleType" : "SYSVALUERULE"
}, {
"checkMode" : 3, "checkMode" : 3,
"name" : "表单项值规则", "name" : "表单项值规则",
"getPSDEFValueRule" : { "getPSDEFValueRule" : {
...@@ -100,23 +117,6 @@ ...@@ -100,23 +117,6 @@
}, },
"getPSDEFormItemName" : "StuNo", "getPSDEFormItemName" : "StuNo",
"valueRuleType" : "DEFVALUERULE" "valueRuleType" : "DEFVALUERULE"
}, {
"checkMode" : 3,
"name" : "表单项值规则",
"getPSDEFormItemName" : "Name",
"getPSSysValueRule" : {
"codeName" : "ValueRule14",
"dynaModelFilePath" : "PSSYSVALUERULES/ValueRule14.json",
"mOSFilePath" : "pssysvaluerules/ValueRule14",
"name" : "由26个英文字母组成的字符串",
"rTMOSFilePath" : "pssysvaluerules/ValueRule14",
"regExCode" : "[A-Za-z]+",
"ruleInfo" : "内容必须为26个英文字母组成的字符串",
"ruleType" : "REG",
"enableBackend" : true,
"enableFront" : true
},
"valueRuleType" : "SYSVALUERULE"
} ], } ],
"getPSDEFormItems" : [ { "getPSDEFormItems" : [ {
"id" : "srfupdatedate", "id" : "srfupdatedate",
......
...@@ -1141,6 +1141,23 @@ ...@@ -1141,6 +1141,23 @@
"id" : "FORM" "id" : "FORM"
}, },
"getPSDEFormItemVRs" : [ { "getPSDEFormItemVRs" : [ {
"checkMode" : 3,
"name" : "表单项值规则",
"getPSDEFormItemName" : "Name",
"getPSSysValueRule" : {
"codeName" : "ValueRule14",
"dynaModelFilePath" : "PSSYSVALUERULES/ValueRule14.json",
"mOSFilePath" : "pssysvaluerules/ValueRule14",
"name" : "由26个英文字母组成的字符串",
"rTMOSFilePath" : "pssysvaluerules/ValueRule14",
"regExCode" : "[A-Za-z]+",
"ruleInfo" : "内容必须为26个英文字母组成的字符串",
"ruleType" : "REG",
"enableBackend" : true,
"enableFront" : true
},
"valueRuleType" : "SYSVALUERULE"
}, {
"checkMode" : 3, "checkMode" : 3,
"name" : "表单项值规则", "name" : "表单项值规则",
"getPSDEFValueRule" : { "getPSDEFValueRule" : {
...@@ -1172,23 +1189,6 @@ ...@@ -1172,23 +1189,6 @@
}, },
"getPSDEFormItemName" : "StuNo", "getPSDEFormItemName" : "StuNo",
"valueRuleType" : "DEFVALUERULE" "valueRuleType" : "DEFVALUERULE"
}, {
"checkMode" : 3,
"name" : "表单项值规则",
"getPSDEFormItemName" : "Name",
"getPSSysValueRule" : {
"codeName" : "ValueRule14",
"dynaModelFilePath" : "PSSYSVALUERULES/ValueRule14.json",
"mOSFilePath" : "pssysvaluerules/ValueRule14",
"name" : "由26个英文字母组成的字符串",
"rTMOSFilePath" : "pssysvaluerules/ValueRule14",
"regExCode" : "[A-Za-z]+",
"ruleInfo" : "内容必须为26个英文字母组成的字符串",
"ruleType" : "REG",
"enableBackend" : true,
"enableFront" : true
},
"valueRuleType" : "SYSVALUERULE"
} ], } ],
"getPSDEFormItems" : [ { "getPSDEFormItems" : [ {
"id" : "srfupdatedate", "id" : "srfupdatedate",
......
...@@ -1832,16 +1832,16 @@ ...@@ -1832,16 +1832,16 @@
"mOSFilePath" : "pssysapps/Web/psappviewmsggroups/VMGroup2", "mOSFilePath" : "pssysapps/Web/psappviewmsggroups/VMGroup2",
"name" : "视图消息组2", "name" : "视图消息组2",
"getPSAppViewMsgGroupDetails" : [ { "getPSAppViewMsgGroupDetails" : [ {
"name" : "视图消息", "name" : "视图消息2",
"getPSAppViewMsg" : { "getPSAppViewMsg" : {
"modelref" : true, "modelref" : true,
"id" : "ViewMsg2" "id" : "ViewMsg3"
} }
}, { }, {
"name" : "视图消息2", "name" : "视图消息",
"getPSAppViewMsg" : { "getPSAppViewMsg" : {
"modelref" : true, "modelref" : true,
"id" : "ViewMsg3" "id" : "ViewMsg2"
} }
} ], } ],
"rTMOSFilePath" : "pssysapps/Web/psappviewmsggroups/VMGroup2" "rTMOSFilePath" : "pssysapps/Web/psappviewmsggroups/VMGroup2"
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册