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

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

上级 f95e53cf
......@@ -12,14 +12,14 @@
},
"dependencies": {
"@floating-ui/dom": "^1.0.11",
"@ibiz-template/command": "^0.0.1-beta.36",
"@ibiz-template/controller": "^0.0.1-beta.36",
"@ibiz-template/core": "^0.0.1-beta.36",
"@ibiz-template/model": "^0.0.1-beta.36",
"@ibiz-template/runtime": "^0.0.1-beta.36",
"@ibiz-template/service": "^0.0.1-beta.36",
"@ibiz-template/theme": "^0.0.1-beta.36",
"@ibiz-template/vue-util": "^0.0.1-beta.36",
"@ibiz-template/command": "^0.0.1-beta.37",
"@ibiz-template/controller": "^0.0.1-beta.37",
"@ibiz-template/core": "^0.0.1-beta.37",
"@ibiz-template/model": "^0.0.1-beta.37",
"@ibiz-template/runtime": "^0.0.1-beta.37",
"@ibiz-template/service": "^0.0.1-beta.37",
"@ibiz-template/theme": "^0.0.1-beta.37",
"@ibiz-template/vue-util": "^0.0.1-beta.37",
"@ibiz/dynamic-model-api": "^2.1.11",
"dayjs": "^1.11.7",
"lodash-es": "^4.17.21",
......
......@@ -4,14 +4,14 @@ specifiers:
'@commitlint/cli': ^17.3.0
'@commitlint/config-conventional': ^17.3.0
'@floating-ui/dom': ^1.0.11
'@ibiz-template/command': ^0.0.1-beta.36
'@ibiz-template/controller': ^0.0.1-beta.36
'@ibiz-template/core': ^0.0.1-beta.36
'@ibiz-template/model': ^0.0.1-beta.36
'@ibiz-template/runtime': ^0.0.1-beta.36
'@ibiz-template/service': ^0.0.1-beta.36
'@ibiz-template/theme': ^0.0.1-beta.36
'@ibiz-template/vue-util': ^0.0.1-beta.36
'@ibiz-template/command': ^0.0.1-beta.37
'@ibiz-template/controller': ^0.0.1-beta.37
'@ibiz-template/core': ^0.0.1-beta.37
'@ibiz-template/model': ^0.0.1-beta.37
'@ibiz-template/runtime': ^0.0.1-beta.37
'@ibiz-template/service': ^0.0.1-beta.37
'@ibiz-template/theme': ^0.0.1-beta.37
'@ibiz-template/vue-util': ^0.0.1-beta.37
'@ibiz/dynamic-model-api': ^2.1.11
'@types/lodash-es': ^4.17.6
'@types/node': ^18.11.15
......@@ -63,14 +63,14 @@ specifiers:
dependencies:
'@floating-ui/dom': 1.0.11
'@ibiz-template/command': 0.0.1-beta.36
'@ibiz-template/controller': 0.0.1-beta.36_qowy6zhoaorn7dpbd7hu4rvzsi
'@ibiz-template/core': 0.0.1-beta.36_qzytosuu5eg3bvoa74ldx6evva
'@ibiz-template/model': 0.0.1-beta.36_nngk5znuztmoeynqrwf7jk7xse
'@ibiz-template/runtime': 0.0.1-beta.36_rytetrrrudaqz43e46p7hj6pam
'@ibiz-template/service': 0.0.1-beta.36_nrcr3rhg42swl7akqv7gxfvxr4
'@ibiz-template/theme': 0.0.1-beta.36
'@ibiz-template/vue-util': 0.0.1-beta.36_gl77qsdtdevkpbc5tken5lkjaa
'@ibiz-template/command': 0.0.1-beta.37
'@ibiz-template/controller': 0.0.1-beta.37_dxhthtw3wihqdipjyegnm3wowi
'@ibiz-template/core': 0.0.1-beta.37_qzytosuu5eg3bvoa74ldx6evva
'@ibiz-template/model': 0.0.1-beta.37_nngk5znuztmoeynqrwf7jk7xse
'@ibiz-template/runtime': 0.0.1-beta.37_b2mhou3akmou35gj3fgqpkmthm
'@ibiz-template/service': 0.0.1-beta.37_cbu4rykc6ua2zpgcz5wiupeov4
'@ibiz-template/theme': 0.0.1-beta.37
'@ibiz-template/vue-util': 0.0.1-beta.37_ms4t4yd4k4vqo32bqmwmoof5cy
'@ibiz/dynamic-model-api': 2.1.11_qx-util@0.4.4
dayjs: 1.11.7
lodash-es: 4.17.21
......@@ -891,14 +891,14 @@ packages:
resolution: {integrity: sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==}
dev: true
/@ibiz-template/command/0.0.1-beta.36:
resolution: {integrity: sha512-4mGaEjl4gfMp+RvI0mbZfeDGK/Jya773TT7MgipuDI570gBVZSZYOyq6x5PdLRIzP16ema+HT58QlbqDG9Bwyw==}
/@ibiz-template/command/0.0.1-beta.37:
resolution: {integrity: sha512-5ErKPW3EfiA96mSRBECi78CZSnkOk8ORRItg8EZEVDS+WiwBcwPWUSR42g0Cwhz4LyUBNngaiJF/dFYI37kBFg==}
dependencies:
qx-util: 0.4.4
dev: false
/@ibiz-template/controller/0.0.1-beta.36_qowy6zhoaorn7dpbd7hu4rvzsi:
resolution: {integrity: sha512-gCB6LMVGbbKM0No+cEnZz3/5jrYy9XfbtJRm730nA4ddDFuxIwzYUqTUIPHy/g9fLrLXF1bCBX3O2N/FVI5l6A==}
/@ibiz-template/controller/0.0.1-beta.37_dxhthtw3wihqdipjyegnm3wowi:
resolution: {integrity: sha512-TIqBFxbO/o8RMebS+eBeU/e2T84tB0RmamXnB70pW+2vdJU04kTXoQWUTNyMeyqJiISyFUeoGFVrfgfTmVCj9Q==}
peerDependencies:
'@ibiz-template/core': ^0.0.1-beta.30
'@ibiz-template/model': ^0.0.1-beta.30
......@@ -908,10 +908,10 @@ packages:
qs: ^6.11.0
qx-util: ^0.4.4
dependencies:
'@ibiz-template/core': 0.0.1-beta.36_qzytosuu5eg3bvoa74ldx6evva
'@ibiz-template/model': 0.0.1-beta.36_nngk5znuztmoeynqrwf7jk7xse
'@ibiz-template/runtime': 0.0.1-beta.36_rytetrrrudaqz43e46p7hj6pam
'@ibiz-template/service': 0.0.1-beta.36_nrcr3rhg42swl7akqv7gxfvxr4
'@ibiz-template/core': 0.0.1-beta.37_qzytosuu5eg3bvoa74ldx6evva
'@ibiz-template/model': 0.0.1-beta.37_nngk5znuztmoeynqrwf7jk7xse
'@ibiz-template/runtime': 0.0.1-beta.37_b2mhou3akmou35gj3fgqpkmthm
'@ibiz-template/service': 0.0.1-beta.37_cbu4rykc6ua2zpgcz5wiupeov4
async-validator: 4.2.5
dayjs: 1.11.7
lodash-es: 4.17.21
......@@ -919,8 +919,8 @@ packages:
qx-util: 0.4.4
dev: false
/@ibiz-template/core/0.0.1-beta.36_qzytosuu5eg3bvoa74ldx6evva:
resolution: {integrity: sha512-chQfsRTFw+aONg24EGSCPxHwUb5bOb7ZInjeCzKWCdmRSneLidph2gb7l/2ydDscDPWXj+aDkyL4cUFXPzSwuw==}
/@ibiz-template/core/0.0.1-beta.37_qzytosuu5eg3bvoa74ldx6evva:
resolution: {integrity: sha512-BhYFMTFtUwYTQaAjMK9J5p32QLJO3L3chdwgvz2GHFIxUFlhjn1ItUZDf8EviJUGq+bAz2zmdspuQT4PC/tFqQ==}
peerDependencies:
lodash-es: ^4.17.21
qx-util: ^0.4.4
......@@ -935,8 +935,8 @@ packages:
- debug
dev: false
/@ibiz-template/model/0.0.1-beta.36_nngk5znuztmoeynqrwf7jk7xse:
resolution: {integrity: sha512-Q7R3JW2dGypIyCzzVwSgzsb/QyzpX5fgqwZcDnpyRyHflP4dVnYaX0qtu3on0u+cQu+QiKB9AVDwHzv9VQxFDg==}
/@ibiz-template/model/0.0.1-beta.37_nngk5znuztmoeynqrwf7jk7xse:
resolution: {integrity: sha512-bnlfhDJeEO5mkyXshzVcnCIEXlVHl9zCSsD0qXHyk3OGRNrth2giT78Cxg8ItVG/Opkcw2G2GEZ9dkEHT3MBCQ==}
peerDependencies:
'@ibiz/dynamic-model-api': ^2.1.11
lodash-es: ^4.17.21
......@@ -948,42 +948,42 @@ packages:
qx-util: 0.4.4
dev: false
/@ibiz-template/runtime/0.0.1-beta.36_rytetrrrudaqz43e46p7hj6pam:
resolution: {integrity: sha512-dynr0ffi4fnzOPvyfza9cWXLJ9egsw3eqnGMCixU8ZfgJt8e9I0Ft/yjOPnCwDr7HhFfezJljt3mWw76Bol6HQ==}
/@ibiz-template/runtime/0.0.1-beta.37_b2mhou3akmou35gj3fgqpkmthm:
resolution: {integrity: sha512-AtPpie4me5/hgBZYM7Z/qY3mowuvwGY3SmzNvcpKoi1P7TzPjzIT5Xu43CclgTntdNcpxHfw18BemR9Q6S/ddg==}
peerDependencies:
'@ibiz-template/core': ^0.0.1-beta.30
'@ibiz-template/model': ^0.0.1-beta.30
'@ibiz-template/service': ^0.0.1-beta.30
qx-util: ^0.4.4
dependencies:
'@ibiz-template/command': 0.0.1-beta.36
'@ibiz-template/core': 0.0.1-beta.36_qzytosuu5eg3bvoa74ldx6evva
'@ibiz-template/model': 0.0.1-beta.36_nngk5znuztmoeynqrwf7jk7xse
'@ibiz-template/service': 0.0.1-beta.36_nrcr3rhg42swl7akqv7gxfvxr4
'@ibiz-template/command': 0.0.1-beta.37
'@ibiz-template/core': 0.0.1-beta.37_qzytosuu5eg3bvoa74ldx6evva
'@ibiz-template/model': 0.0.1-beta.37_nngk5znuztmoeynqrwf7jk7xse
'@ibiz-template/service': 0.0.1-beta.37_cbu4rykc6ua2zpgcz5wiupeov4
qs: 6.11.0
qx-util: 0.4.4
dev: false
/@ibiz-template/service/0.0.1-beta.36_nrcr3rhg42swl7akqv7gxfvxr4:
resolution: {integrity: sha512-dQz4BHSyWMIZVVHRs3/LOa3eoKy6pQK2vCqBnG6xKZDjNTnWVvV4FLm/P9E/PLXvORXa2FJ/CsIfvVfMo6k9qg==}
/@ibiz-template/service/0.0.1-beta.37_cbu4rykc6ua2zpgcz5wiupeov4:
resolution: {integrity: sha512-vGKEJLnp7FH7939rQJAAx1z/9X754R6kC5GLmMWvS/TUrxIRwvmW4ZZVBIDddhnAmrgs/Z83wGPsr8W/IzrxBA==}
peerDependencies:
'@ibiz-template/core': ^0.0.1-beta.30
'@ibiz-template/model': ^0.0.1-beta.30
qx-util: ^0.4.4
ramda: ^0.28.0
dependencies:
'@ibiz-template/core': 0.0.1-beta.36_qzytosuu5eg3bvoa74ldx6evva
'@ibiz-template/model': 0.0.1-beta.36_nngk5znuztmoeynqrwf7jk7xse
'@ibiz-template/core': 0.0.1-beta.37_qzytosuu5eg3bvoa74ldx6evva
'@ibiz-template/model': 0.0.1-beta.37_nngk5znuztmoeynqrwf7jk7xse
qx-util: 0.4.4
ramda: 0.28.0
dev: false
/@ibiz-template/theme/0.0.1-beta.36:
resolution: {integrity: sha512-sPSUr20bcISev1wYvPI25hmJwcGQcwUfol+lb51qvAjV4l6nnk8HQxxWe6q7wxJr6pbW3I3E9SZVrDeT4oeyxA==}
/@ibiz-template/theme/0.0.1-beta.37:
resolution: {integrity: sha512-EePnAAsawfQtXFm2vQfJis//ZnzE3A6FoZS443irv7hrcXMu7P4ZwyGEdqvjoIab/9YT8rWj8Kz6YTF32cgR6w==}
dev: false
/@ibiz-template/vue-util/0.0.1-beta.36_gl77qsdtdevkpbc5tken5lkjaa:
resolution: {integrity: sha512-TEmOBqYd4bWErc/koiL2TQzaTGnpEh/0pNXF0iREDVgZaAmk4QtW8QNdkleXFbcV1FdBPfuPplBOMp/zLxPgVw==}
/@ibiz-template/vue-util/0.0.1-beta.37_ms4t4yd4k4vqo32bqmwmoof5cy:
resolution: {integrity: sha512-LtPPDNvh5GgNQcszD9VHVwdwog2yQv24mibxiGlZWEdOFXnjC/Ly8Da8n7/rI+GgY+QpNhkeALI8cp/EpNY6Ow==}
peerDependencies:
'@ibiz-template/controller': ^0.0.1-beta.30
'@ibiz-template/core': ^0.0.1-beta.30
......@@ -994,9 +994,9 @@ packages:
vue: ^2.7.14
vue-router: ^3.6.5
dependencies:
'@ibiz-template/controller': 0.0.1-beta.36_qowy6zhoaorn7dpbd7hu4rvzsi
'@ibiz-template/core': 0.0.1-beta.36_qzytosuu5eg3bvoa74ldx6evva
'@ibiz-template/model': 0.0.1-beta.36_nngk5znuztmoeynqrwf7jk7xse
'@ibiz-template/controller': 0.0.1-beta.37_dxhthtw3wihqdipjyegnm3wowi
'@ibiz-template/core': 0.0.1-beta.37_qzytosuu5eg3bvoa74ldx6evva
'@ibiz-template/model': 0.0.1-beta.37_nngk5znuztmoeynqrwf7jk7xse
qs: 6.11.0
qx-util: 0.4.4
ramda: 0.28.0
......
......@@ -38,36 +38,127 @@ export const ExtendActionTimeLine = defineComponent({
return Date.parse(b.time) - Date.parse(a.time);
};
/**
* 处理数据
*
* @author fangZhiHao
* @date 2023-01-12 11:01:07
* @param {IData[]} handleTasks
* @return {*}
*/
const handleVal = (handleTasks: IData[]) => {
const commentsData: IData[] = [];
let tasks = clone(handleTasks);
if (tasks.length > 0) {
tasks = tasks.reverse();
tasks.forEach((task: IData) => {
if (task.usertasks) {
// 有子流程没有comments 递归处理
const copyTasks = clone(task.usertasks);
Object.assign(task, { tasks: handleVal(copyTasks) });
task.isShow = false;
}
if (task.identitylinks.length === 0 && task.comments.length === 0) {
Object.assign(task, { taskName: task.userTaskName });
commentsData.push(task);
}
if (task.identitylinks.length > 0) {
const authorNames = acceptingOfficerNoDup(
'displayname',
task.identitylinks,
);
commentsData.push({
authorName: authorNames.join('、'),
taskName: task.userTaskName,
isLink: true,
});
}
if (task.comments.length > 0) {
task.comments.forEach((comment: IData) => {
Object.assign(comment, { taskName: task.userTaskName });
});
task.comments.sort(sortData);
commentsData.push(...task.comments);
}
});
return commentsData;
}
};
/**
* 去重重复名称
*
* @author fangZhiHao
* @date 2023-01-13 15:01:47
* @param {Array<string>} data
* @return {*}
*/
const noDup = (data: Array<string>) => {
const map = new Map();
for (let i = 0; i < data.length; i++) {
if (!map.has(data[i])) {
map.set(data[i], true);
}
}
return map;
};
/**
* 处理子流程中待办名
*
* @author fangZhiHao
* @date 2023-01-13 11:01:09
* @param {IData[]} handleTask
*/
const handlelinkName = (handleTask: IData[]) => {
handleTask.forEach((item: IData) => {
const linkName = [];
if (item.tasks) {
handlelinkName(item.tasks);
}
if (item.tasks) {
for (let i = 0; i < item.tasks.length; i++) {
if (item.tasks[i].isLink) {
const arr =
item.tasks[i].authorName.indexOf('、') !== -1
? item.tasks[i].authorName.split('、')
: item.tasks[i].authorName;
if (typeof arr === 'string') {
linkName.push(arr);
} else {
linkName.push(...arr);
}
}
if (item.tasks[i].linkName) {
const arr =
item.tasks[i].linkName.indexOf('、') !== -1
? item.tasks[i].linkName.split('、')
: item.tasks[i].linkName;
if (typeof arr === 'string') {
linkName.push(arr);
} else {
linkName.push(...arr);
}
}
}
}
const noDupName = [...noDup(linkName).keys()];
item.linkName = noDupName.join('、');
});
};
watch(
() => props.data,
(newVal, oldVal) => {
if (newVal !== oldVal && newVal) {
const commentsData: IData[] = [];
const copyData = clone(newVal);
let tasks = copyData.usertasks;
if (tasks.length > 0) {
tasks = tasks.reverse();
tasks.forEach((task: IData) => {
if (task.identitylinks.length > 0) {
const authorNames = acceptingOfficerNoDup(
'displayname',
task.identitylinks,
);
commentsData.push({
authorName: authorNames.join('、'),
taskName: task.userTaskName,
isLink: true,
});
}
if (task.comments.length > 0) {
task.comments.forEach((comment: IData) => {
Object.assign(comment, { taskName: task.userTaskName });
});
task.comments.sort(sortData);
commentsData.push(...task.comments);
}
});
UIData.value = commentsData;
const tasks = copyData.usertasks;
if (tasks) {
const handleTask = handleVal(tasks);
if (handleTask) {
handlelinkName(handleTask);
UIData.value = handleTask;
}
}
}
},
......@@ -83,50 +174,108 @@ export const ExtendActionTimeLine = defineComponent({
return dayjs(date).format(format);
};
return { ns, formatDate, UIData };
},
render() {
return (
<div class={this.ns.b()}>
{this.UIData &&
this.UIData.map((task: IData) => {
return (
/**
* 子流程展示隐藏
*
* @author fangZhiHao
* @date 2023-01-12 11:01:34
* @param {IData} userTask
*/
const changeExpand = (userTask: IData) => {
userTask.isShow = !userTask.isShow;
};
/**
* 绘制组件
*
* @author fangZhiHao
* @date 2023-01-12 11:01:07
* @param {IData[]} data
* @return {*}
*/
const renderTimeline = (data: IData[]) => {
return data.map((task: IData) => {
return (
<div
class={[
ns.b('task'),
ns.is('wrong', task.type && task.type.includes('驳回')),
ns.is('link', task.isLink),
ns.is('linkname', task.linkName),
]}
>
<div class={ns.be('task', 'tail')}></div>
<div
class={[ns.be('task', 'head'), ns.is('link-head', task.linkName)]}
></div>
<div class={ns.be('task', 'top')}>
<div
class={[
this.ns.b('task'),
this.ns.is('wrong', task.type && task.type.includes('驳回')),
this.ns.is('link', task.isLink),
ns.be('task', 'user-task-name'),
ns.is('task-link', task.linkName),
]}
>
<div class={this.ns.be('task', 'tail')}></div>
<div class={this.ns.be('task', 'head')}></div>
<div class={this.ns.be('task', 'top')}>
<div class={this.ns.be('task', 'user-task-name')}>
{task.taskName}
</div>
<div class={this.ns.be('task', 'author-name')}>
{task.authorName}
</div>
{task.type && (
<div class={this.ns.be('task', 'type')}>{task.type}</div>
)}
{task.time && (
<div class={this.ns.be('task', 'last-time')}>
{task.time && '处理时间'}
<span class={this.ns.be('task', 'last-time-text')}>
{task.time}
</span>
</div>
)}
{task.taskName}
</div>
{task.linkName ? (
<div class={ns.be('task', 'link-name')} title={task.linkName}>
{task.linkName}
</div>
<div class={this.ns.be('task', 'bottom')}>
<div class={this.ns.be('task', 'full-message')}>
{task.fullMessage}
</div>
) : null}
<div
class={[
ns.be('task', 'author-name'),
ns.is('has-type', task.type),
]}
title={task.authorName}
>
{task.authorName}
</div>
{task.type && (
<div class={ns.be('task', 'type')}>{task.type}</div>
)}
{task.time && (
<div class={ns.be('task', 'last-time')}>
{task.time && '处理时间'}
<span class={ns.be('task', 'last-time-text')}>
{task.time}
</span>
</div>
)}
</div>
<div class={ns.be('task', 'bottom')}>
<div class={ns.be('task', 'full-message')}>
{task.fullMessage
? `审批意见: ${task.fullMessage}`
: task.fullMessage}
</div>
);
})}
</div>
{task.tasks && task.tasks.length >= 1 && (
<div
class={ns.be('task', 'trigger')}
on-click={() => {
changeExpand(task);
}}
>
<i-icon type={task.isShow ? 'md-remove' : 'md-add'} />
</div>
)}
{task.tasks && (
<div class={ns.be('task', 'moreTask')} v-show={task.isShow}>
{renderTimeline(task.tasks)}
</div>
)}
</div>
);
});
};
return { ns, formatDate, UIData, renderTimeline };
},
render() {
return (
<div class={this.ns.b()}>
{this.UIData && this.renderTimeline(this.UIData)}
</div>
);
},
......
......@@ -637,61 +637,61 @@
resolved "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz"
integrity sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==
"@ibiz-template/command@^0.0.1-beta.36":
version "0.0.1-beta.36"
resolved "http://npm.zhr.icu/@ibiz-template%2fcommand/-/command-0.0.1-beta.36.tgz#acd85c6ebcd8a8ca6034dd14aa2b81ea18f0d1ca"
integrity sha512-4mGaEjl4gfMp+RvI0mbZfeDGK/Jya773TT7MgipuDI570gBVZSZYOyq6x5PdLRIzP16ema+HT58QlbqDG9Bwyw==
"@ibiz-template/command@^0.0.1-beta.37":
version "0.0.1-beta.37"
resolved "http://npm.zhr.icu/@ibiz-template%2fcommand/-/command-0.0.1-beta.37.tgz#ff9b250035d18bbfc6652af6fdf85f0001537923"
integrity sha512-5ErKPW3EfiA96mSRBECi78CZSnkOk8ORRItg8EZEVDS+WiwBcwPWUSR42g0Cwhz4LyUBNngaiJF/dFYI37kBFg==
dependencies:
qx-util "^0.4.4"
"@ibiz-template/controller@^0.0.1-beta.36":
version "0.0.1-beta.36"
resolved "http://npm.zhr.icu/@ibiz-template%2fcontroller/-/controller-0.0.1-beta.36.tgz#54a278d317573a6b6a1ad31f2204c6fc643cafc0"
integrity sha512-gCB6LMVGbbKM0No+cEnZz3/5jrYy9XfbtJRm730nA4ddDFuxIwzYUqTUIPHy/g9fLrLXF1bCBX3O2N/FVI5l6A==
"@ibiz-template/controller@^0.0.1-beta.37":
version "0.0.1-beta.37"
resolved "http://npm.zhr.icu/@ibiz-template%2fcontroller/-/controller-0.0.1-beta.37.tgz#581b3fb222b5ca1f97b864720028e3bdedde6fc6"
integrity sha512-TIqBFxbO/o8RMebS+eBeU/e2T84tB0RmamXnB70pW+2vdJU04kTXoQWUTNyMeyqJiISyFUeoGFVrfgfTmVCj9Q==
dependencies:
async-validator "^4.2.5"
dayjs "^1.11.5"
"@ibiz-template/core@^0.0.1-beta.36":
version "0.0.1-beta.36"
resolved "http://npm.zhr.icu/@ibiz-template%2fcore/-/core-0.0.1-beta.36.tgz#e51185c949a17dfa6e67bdd730caba63041c1328"
integrity sha512-chQfsRTFw+aONg24EGSCPxHwUb5bOb7ZInjeCzKWCdmRSneLidph2gb7l/2ydDscDPWXj+aDkyL4cUFXPzSwuw==
"@ibiz-template/core@^0.0.1-beta.37":
version "0.0.1-beta.37"
resolved "http://npm.zhr.icu/@ibiz-template%2fcore/-/core-0.0.1-beta.37.tgz#d263f714a5b6be7c98759b8c744d414cddb672eb"
integrity sha512-BhYFMTFtUwYTQaAjMK9J5p32QLJO3L3chdwgvz2GHFIxUFlhjn1ItUZDf8EviJUGq+bAz2zmdspuQT4PC/tFqQ==
dependencies:
axios "^1.2.1"
loglevel "^1.8.0"
pluralize "^8.0.0"
qs "^6.11.0"
"@ibiz-template/model@^0.0.1-beta.36":
version "0.0.1-beta.36"
resolved "http://npm.zhr.icu/@ibiz-template%2fmodel/-/model-0.0.1-beta.36.tgz#b5a869f6370dc565b7c5e087564b582c36decf49"
integrity sha512-Q7R3JW2dGypIyCzzVwSgzsb/QyzpX5fgqwZcDnpyRyHflP4dVnYaX0qtu3on0u+cQu+QiKB9AVDwHzv9VQxFDg==
"@ibiz-template/model@^0.0.1-beta.37":
version "0.0.1-beta.37"
resolved "http://npm.zhr.icu/@ibiz-template%2fmodel/-/model-0.0.1-beta.37.tgz#e5b93a1ecd275c59c171623a1e6784bcdcddd04f"
integrity sha512-bnlfhDJeEO5mkyXshzVcnCIEXlVHl9zCSsD0qXHyk3OGRNrth2giT78Cxg8ItVG/Opkcw2G2GEZ9dkEHT3MBCQ==
dependencies:
"@ibiz/dynamic-model-api" "^2.1.11"
pluralize "^8.0.0"
"@ibiz-template/runtime@^0.0.1-beta.36":
version "0.0.1-beta.36"
resolved "http://npm.zhr.icu/@ibiz-template%2fruntime/-/runtime-0.0.1-beta.36.tgz#3d06fe69e7c682e50278a452e4964a85c3f8a758"
integrity sha512-dynr0ffi4fnzOPvyfza9cWXLJ9egsw3eqnGMCixU8ZfgJt8e9I0Ft/yjOPnCwDr7HhFfezJljt3mWw76Bol6HQ==
"@ibiz-template/runtime@^0.0.1-beta.37":
version "0.0.1-beta.37"
resolved "http://npm.zhr.icu/@ibiz-template%2fruntime/-/runtime-0.0.1-beta.37.tgz#0756e73dba6d4d0342ab66348264ebae82fc6b0b"
integrity sha512-AtPpie4me5/hgBZYM7Z/qY3mowuvwGY3SmzNvcpKoi1P7TzPjzIT5Xu43CclgTntdNcpxHfw18BemR9Q6S/ddg==
dependencies:
"@ibiz-template/command" "^0.0.1-beta.36"
"@ibiz-template/command" "^0.0.1-beta.37"
qs "^6.11.0"
"@ibiz-template/service@^0.0.1-beta.36":
version "0.0.1-beta.36"
resolved "http://npm.zhr.icu/@ibiz-template%2fservice/-/service-0.0.1-beta.36.tgz#38ec52d9440528a801b7aade02b275b8140aa3bc"
integrity sha512-dQz4BHSyWMIZVVHRs3/LOa3eoKy6pQK2vCqBnG6xKZDjNTnWVvV4FLm/P9E/PLXvORXa2FJ/CsIfvVfMo6k9qg==
"@ibiz-template/service@^0.0.1-beta.37":
version "0.0.1-beta.37"
resolved "http://npm.zhr.icu/@ibiz-template%2fservice/-/service-0.0.1-beta.37.tgz#d3e439d3f0afd00ef135984c8a3b2c1fe3cb4f2d"
integrity sha512-vGKEJLnp7FH7939rQJAAx1z/9X754R6kC5GLmMWvS/TUrxIRwvmW4ZZVBIDddhnAmrgs/Z83wGPsr8W/IzrxBA==
"@ibiz-template/theme@^0.0.1-beta.36":
version "0.0.1-beta.36"
resolved "http://npm.zhr.icu/@ibiz-template%2ftheme/-/theme-0.0.1-beta.36.tgz#e63a9897cf08d5ff8a6ad7e6d18dcd1fd5419d3c"
integrity sha512-sPSUr20bcISev1wYvPI25hmJwcGQcwUfol+lb51qvAjV4l6nnk8HQxxWe6q7wxJr6pbW3I3E9SZVrDeT4oeyxA==
"@ibiz-template/theme@^0.0.1-beta.37":
version "0.0.1-beta.37"
resolved "http://npm.zhr.icu/@ibiz-template%2ftheme/-/theme-0.0.1-beta.37.tgz#ba6e85af1fd5ff7ff7f88e9702601021d6720162"
integrity sha512-EePnAAsawfQtXFm2vQfJis//ZnzE3A6FoZS443irv7hrcXMu7P4ZwyGEdqvjoIab/9YT8rWj8Kz6YTF32cgR6w==
"@ibiz-template/vue-util@^0.0.1-beta.36":
version "0.0.1-beta.36"
resolved "http://npm.zhr.icu/@ibiz-template%2fvue-util/-/vue-util-0.0.1-beta.36.tgz#650fe72bcb4881e81b9b93ecccc165c07b9ea1b4"
integrity sha512-TEmOBqYd4bWErc/koiL2TQzaTGnpEh/0pNXF0iREDVgZaAmk4QtW8QNdkleXFbcV1FdBPfuPplBOMp/zLxPgVw==
"@ibiz-template/vue-util@^0.0.1-beta.37":
version "0.0.1-beta.37"
resolved "http://npm.zhr.icu/@ibiz-template%2fvue-util/-/vue-util-0.0.1-beta.37.tgz#a0272a8702b230814cf0d0df9499c98441cec513"
integrity sha512-LtPPDNvh5GgNQcszD9VHVwdwog2yQv24mibxiGlZWEdOFXnjC/Ly8Da8n7/rI+GgY+QpNhkeALI8cp/EpNY6Ow==
"@ibiz/dynamic-model-api@^2.1.11":
version "2.1.11"
......
......@@ -1133,16 +1133,16 @@
"mOSFilePath" : "pssysapps/TemplatePublish/psappviewmsggroups/VMGroup2",
"name" : "视图消息组2",
"getPSAppViewMsgGroupDetails" : [ {
"name" : "视图消息",
"name" : "视图消息2",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg2"
"id" : "ViewMsg3"
}
}, {
"name" : "视图消息2",
"name" : "视图消息",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg3"
"id" : "ViewMsg2"
}
} ],
"rTMOSFilePath" : "pssysapps/TemplatePublish/psappviewmsggroups/VMGroup2"
......
{
"codeName" : "Test",
"controlType" : "TREEVIEW",
"getCreatePSControlAction" : {
"modelref" : true,
"id" : "create"
},
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Phone/PSTREEVIEWS/Test.json",
"getFetchPSControlAction" : {
"modelref" : true,
"id" : "fetch"
},
"getGetPSControlAction" : {
"modelref" : true,
"id" : "load"
},
"hookEventNames" : [ "SELECTIONCHANGE", "LOAD" ],
"logicName" : "test",
"mOSFilePath" : "psmodules/common/psdataentities/PHONE/psdetreeviews/Test",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Phone.json"
},
"getPSControlLogics" : [ {
"eventNames" : "SELECTIONCHANGE",
"logicTag" : "treeexpbar_tree",
"logicType" : "CUSTOM",
"name" : "treeexpbar_selectionchange"
}, {
"eventNames" : "LOAD",
"logicTag" : "treeexpbar_tree",
"logicType" : "CUSTOM",
"name" : "treeexpbar_load"
} ],
"getPSDETreeNodeRSs" : [ {
"getChildPSDETreeNode" : {
"modelref" : true,
"id" : "aaa"
},
"name" : "动态 - 动态",
"getParentPSDETreeNode" : {
"modelref" : true,
"id" : "aaa"
},
"parentValueLevel" : 1,
"searchMode" : 3
}, {
"getChildPSDETreeNode" : {
"modelref" : true,
"id" : "static1"
},
"name" : "默认根节点 - 静态1",
"getParentPSDETreeNode" : {
"modelref" : true,
"id" : "ROOT"
},
"parentValueLevel" : 1,
"searchMode" : 3
}, {
"getChildPSDETreeNode" : {
"modelref" : true,
"id" : "aaa"
},
"name" : "静态1 - 动态",
"getParentPSDETreeNode" : {
"modelref" : true,
"id" : "static1"
},
"parentValueLevel" : 1,
"searchMode" : 3
} ],
"getPSDETreeNodes" : [ {
"counterMode" : 0,
"name" : "默认根节点",
"nodeType" : "ROOT",
"nodeValue" : "root",
"text" : "默认根节点",
"treeNodeType" : "STATIC",
"hasPSDETreeNodeRSs" : true,
"appendPNodeId" : false,
"disableSelect" : false,
"enableCheck" : false,
"enableEditData" : false,
"enableNewData" : false,
"enableQuickCreate" : false,
"enableQuickSearch" : false,
"enableRemoveData" : false,
"enableViewData" : false,
"expandFirstOnly" : false,
"expanded" : false,
"rootNode" : true,
"selectFirstOnly" : false,
"selected" : false,
"id" : "ROOT"
}, {
"counterMode" : 0,
"getIdPSAppDEField" : {
"name" : "PHONEID",
"codeName" : "PhoneId"
},
"maxSize" : -1,
"name" : "动态",
"nodeType" : "aaa",
"getPSAppDEDataSet" : {
"modelref" : true,
"id" : "FetchDefault"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Phone.json"
},
"getTextPSAppDEField" : {
"name" : "PHONENAME",
"codeName" : "PhoneName"
},
"treeNodeType" : "DE",
"hasPSDETreeNodeRSs" : true,
"appendPNodeId" : false,
"disableSelect" : false,
"enableCheck" : false,
"enableEditData" : false,
"enableNewData" : false,
"enableQuickCreate" : false,
"enableQuickSearch" : false,
"enableRemoveData" : false,
"enableViewData" : false,
"expandFirstOnly" : false,
"expanded" : false,
"rootNode" : false,
"selectFirstOnly" : false,
"selected" : false,
"id" : "aaa"
}, {
"counterMode" : 0,
"name" : "静态1",
"nodeType" : "static1",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Phone.json"
},
"text" : "静态1",
"treeNodeType" : "STATIC",
"hasPSDETreeNodeRSs" : true,
"appendPNodeId" : true,
"disableSelect" : false,
"enableCheck" : false,
"enableEditData" : false,
"enableNewData" : false,
"enableQuickCreate" : false,
"enableQuickSearch" : false,
"enableRemoveData" : false,
"enableViewData" : false,
"expandFirstOnly" : false,
"expanded" : false,
"rootNode" : false,
"selectFirstOnly" : false,
"selected" : false,
"id" : "static1"
} ],
"rTMOSFilePath" : "pssysapps/Web/psappdeviews/phoneTreeExpView/psappviewctrls/treeexpbar_tree",
"getRemovePSControlAction" : {
"modelref" : true,
"id" : "remove"
},
"treeGridMode" : 0,
"getUpdatePSControlAction" : {
"modelref" : true,
"id" : "update"
},
"enableRootSelect" : false,
"outputIconDefault" : true,
"rootVisible" : false,
"modelid" : "62192417-A9EA-41E8-99F9-035F696C54DE",
"modeltype" : "PSDETREEVIEW"
}
\ No newline at end of file
......@@ -69,23 +69,6 @@
}
} ],
"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,
"name" : "表单项值规则",
"getPSDEFValueRule" : {
......@@ -117,6 +100,23 @@
},
"getPSDEFormItemName" : "StuNo",
"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" : [ {
"id" : "srfupdatedate",
......
......@@ -1253,23 +1253,6 @@
"id" : "FORM"
},
"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,
"name" : "表单项值规则",
"getPSDEFValueRule" : {
......@@ -1301,6 +1284,23 @@
},
"getPSDEFormItemName" : "StuNo",
"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" : [ {
"id" : "srfupdatedate",
......
......@@ -78,13 +78,13 @@
"id" : "TREEEXPBAR"
},
"getPSControls" : [ {
"codeName" : "Treeexpbar_tree",
"codeName" : "Test",
"controlType" : "TREEVIEW",
"getCreatePSControlAction" : {
"modelref" : true,
"id" : "create"
},
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Phone/PSTREEVIEWS/Treeexpbar_tree.json",
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Phone/PSTREEVIEWS/Test.json",
"getFetchPSControlAction" : {
"modelref" : true,
"id" : "fetch"
......@@ -94,7 +94,8 @@
"id" : "load"
},
"hookEventNames" : [ "SELECTIONCHANGE", "LOAD" ],
"mOSFilePath" : "psmodules/common/psdataentities/PHONE/psdetreeviews/Treeexpbar_tree",
"logicName" : "test",
"mOSFilePath" : "psmodules/common/psdataentities/PHONE/psdetreeviews/Test",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Phone.json"
......@@ -180,6 +181,131 @@
"showBusyIndicator" : true,
"id" : "treeexpbar_tree"
},
"getPSDETreeNodeRSs" : [ {
"getChildPSDETreeNode" : {
"modelref" : true,
"id" : "aaa"
},
"name" : "动态 - 动态",
"getParentPSDETreeNode" : {
"modelref" : true,
"id" : "aaa"
},
"parentValueLevel" : 1,
"searchMode" : 3
}, {
"getChildPSDETreeNode" : {
"modelref" : true,
"id" : "static1"
},
"name" : "默认根节点 - 静态1",
"getParentPSDETreeNode" : {
"modelref" : true,
"id" : "ROOT"
},
"parentValueLevel" : 1,
"searchMode" : 3
}, {
"getChildPSDETreeNode" : {
"modelref" : true,
"id" : "aaa"
},
"name" : "静态1 - 动态",
"getParentPSDETreeNode" : {
"modelref" : true,
"id" : "static1"
},
"parentValueLevel" : 1,
"searchMode" : 3
} ],
"getPSDETreeNodes" : [ {
"counterMode" : 0,
"name" : "默认根节点",
"nodeType" : "ROOT",
"nodeValue" : "root",
"text" : "默认根节点",
"treeNodeType" : "STATIC",
"hasPSDETreeNodeRSs" : true,
"appendPNodeId" : false,
"disableSelect" : false,
"enableCheck" : false,
"enableEditData" : false,
"enableNewData" : false,
"enableQuickCreate" : false,
"enableQuickSearch" : false,
"enableRemoveData" : false,
"enableViewData" : false,
"expandFirstOnly" : false,
"expanded" : false,
"rootNode" : true,
"selectFirstOnly" : false,
"selected" : false,
"id" : "ROOT"
}, {
"counterMode" : 0,
"getIdPSAppDEField" : {
"name" : "PHONEID",
"codeName" : "PhoneId"
},
"maxSize" : -1,
"name" : "动态",
"nodeType" : "aaa",
"getPSAppDEDataSet" : {
"modelref" : true,
"id" : "FetchDefault"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Phone.json"
},
"getTextPSAppDEField" : {
"name" : "PHONENAME",
"codeName" : "PhoneName"
},
"treeNodeType" : "DE",
"hasPSDETreeNodeRSs" : true,
"appendPNodeId" : false,
"disableSelect" : false,
"enableCheck" : false,
"enableEditData" : false,
"enableNewData" : false,
"enableQuickCreate" : false,
"enableQuickSearch" : false,
"enableRemoveData" : false,
"enableViewData" : false,
"expandFirstOnly" : false,
"expanded" : false,
"rootNode" : false,
"selectFirstOnly" : false,
"selected" : false,
"id" : "aaa"
}, {
"counterMode" : 0,
"name" : "静态1",
"nodeType" : "static1",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Phone.json"
},
"text" : "静态1",
"treeNodeType" : "STATIC",
"hasPSDETreeNodeRSs" : true,
"appendPNodeId" : true,
"disableSelect" : false,
"enableCheck" : false,
"enableEditData" : false,
"enableNewData" : false,
"enableQuickCreate" : false,
"enableQuickSearch" : false,
"enableRemoveData" : false,
"enableViewData" : false,
"expandFirstOnly" : false,
"expanded" : false,
"rootNode" : false,
"selectFirstOnly" : false,
"selected" : false,
"id" : "static1"
} ],
"rTMOSFilePath" : "pssysapps/Web/psappdeviews/phoneTreeExpView/psappviewctrls/treeexpbar_tree",
"getRemovePSControlAction" : {
"modelref" : true,
......@@ -194,7 +320,7 @@
"outputIconDefault" : true,
"rootVisible" : false,
"name" : "treeexpbar_tree",
"modelid" : "87abf85cee1a97b9d4e7db419e0e7a40_treeexpbar_tree",
"modelid" : "62192417-A9EA-41E8-99F9-035F696C54DE",
"modeltype" : "PSDETREEVIEW"
} ],
"rTMOSFilePath" : "pssysapps/Web/psappdeviews/phoneTreeExpView/psappviewctrls/treeexpbar",
......
......@@ -2007,16 +2007,16 @@
"mOSFilePath" : "pssysapps/Web/psappviewmsggroups/VMGroup2",
"name" : "视图消息组2",
"getPSAppViewMsgGroupDetails" : [ {
"name" : "视图消息",
"name" : "视图消息2",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg2"
"id" : "ViewMsg3"
}
}, {
"name" : "视图消息2",
"name" : "视图消息",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg3"
"id" : "ViewMsg2"
}
} ],
"rTMOSFilePath" : "pssysapps/Web/psappviewmsggroups/VMGroup2"
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册