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

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

上级 f3968fa9
......@@ -12,14 +12,14 @@
},
"dependencies": {
"@floating-ui/dom": "^1.0.11",
"@ibiz-template/command": "^0.0.1-beta.42",
"@ibiz-template/controller": "^0.0.1-beta.42",
"@ibiz-template/core": "^0.0.1-beta.42",
"@ibiz-template/model": "^0.0.1-beta.42",
"@ibiz-template/runtime": "^0.0.1-beta.42",
"@ibiz-template/service": "^0.0.1-beta.42",
"@ibiz-template/theme": "^0.0.1-beta.42",
"@ibiz-template/vue-util": "^0.0.1-beta.42",
"@ibiz-template/command": "^0.0.1-beta.43",
"@ibiz-template/controller": "^0.0.1-beta.43",
"@ibiz-template/core": "^0.0.1-beta.43",
"@ibiz-template/model": "^0.0.1-beta.43",
"@ibiz-template/runtime": "^0.0.1-beta.43",
"@ibiz-template/service": "^0.0.1-beta.43",
"@ibiz-template/theme": "^0.0.1-beta.43",
"@ibiz-template/vue-util": "^0.0.1-beta.43",
"@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.42
'@ibiz-template/controller': ^0.0.1-beta.42
'@ibiz-template/core': ^0.0.1-beta.42
'@ibiz-template/model': ^0.0.1-beta.42
'@ibiz-template/runtime': ^0.0.1-beta.42
'@ibiz-template/service': ^0.0.1-beta.42
'@ibiz-template/theme': ^0.0.1-beta.42
'@ibiz-template/vue-util': ^0.0.1-beta.42
'@ibiz-template/command': ^0.0.1-beta.43
'@ibiz-template/controller': ^0.0.1-beta.43
'@ibiz-template/core': ^0.0.1-beta.43
'@ibiz-template/model': ^0.0.1-beta.43
'@ibiz-template/runtime': ^0.0.1-beta.43
'@ibiz-template/service': ^0.0.1-beta.43
'@ibiz-template/theme': ^0.0.1-beta.43
'@ibiz-template/vue-util': ^0.0.1-beta.43
'@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.42
'@ibiz-template/controller': 0.0.1-beta.42_iusidrooyzvbltd3vx5jq3olky
'@ibiz-template/core': 0.0.1-beta.42_qzytosuu5eg3bvoa74ldx6evva
'@ibiz-template/model': 0.0.1-beta.42_nngk5znuztmoeynqrwf7jk7xse
'@ibiz-template/runtime': 0.0.1-beta.42_5n2sfjjhqolgnbykjkvydyay4m
'@ibiz-template/service': 0.0.1-beta.42_d5m4bblyi6squjln2viltbddp4
'@ibiz-template/theme': 0.0.1-beta.42
'@ibiz-template/vue-util': 0.0.1-beta.42_gjrqymqgzc4iuhbyljfdcy5c4y
'@ibiz-template/command': 0.0.1-beta.43
'@ibiz-template/controller': 0.0.1-beta.43_slryomq5tknhklb4dvlzdvjese
'@ibiz-template/core': 0.0.1-beta.43_qzytosuu5eg3bvoa74ldx6evva
'@ibiz-template/model': 0.0.1-beta.43_nngk5znuztmoeynqrwf7jk7xse
'@ibiz-template/runtime': 0.0.1-beta.43_2zbuy3u6ge5ez2cf3af3kem2k4
'@ibiz-template/service': 0.0.1-beta.43_6xsvy7p7ghf4p5znirqixvxifq
'@ibiz-template/theme': 0.0.1-beta.43
'@ibiz-template/vue-util': 0.0.1-beta.43_nbdgwly5hg5vk4aunofuu2tmru
'@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.42:
resolution: {integrity: sha512-f3Un//nr4NsOolKmMMpAqbjZXf4rricHEaO4mTFuAy/tucR871k6vwKD9R+KuW7SyKMGIZFAEdxpdaEKFgdfuw==}
/@ibiz-template/command/0.0.1-beta.43:
resolution: {integrity: sha512-i/h2hdike1oYEK9FYYyGbQmX/3PgymsLOqkOkZ8wF038/mwlS5Jj9i/CpZJFxry5oo+lGoHP6xnCAvIqkYy/qw==}
dependencies:
qx-util: 0.4.4
dev: false
/@ibiz-template/controller/0.0.1-beta.42_iusidrooyzvbltd3vx5jq3olky:
resolution: {integrity: sha512-TCQyQptOJBDYDLbK902Tm4IYo4oltZi9jBANyRVShiHfbtKbXtxn8M8XaLHrBIl/LN6H70QCArx822QplyDl4Q==}
/@ibiz-template/controller/0.0.1-beta.43_slryomq5tknhklb4dvlzdvjese:
resolution: {integrity: sha512-9ichbQTq8nhs6zICAdi/Kb75W7uA90RVywBvndIX2yMRTPIB3GzPQRI6rrYULRiPulVH+RhpwKdjei8u9LRtzQ==}
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.42_qzytosuu5eg3bvoa74ldx6evva
'@ibiz-template/model': 0.0.1-beta.42_nngk5znuztmoeynqrwf7jk7xse
'@ibiz-template/runtime': 0.0.1-beta.42_5n2sfjjhqolgnbykjkvydyay4m
'@ibiz-template/service': 0.0.1-beta.42_d5m4bblyi6squjln2viltbddp4
'@ibiz-template/core': 0.0.1-beta.43_qzytosuu5eg3bvoa74ldx6evva
'@ibiz-template/model': 0.0.1-beta.43_nngk5znuztmoeynqrwf7jk7xse
'@ibiz-template/runtime': 0.0.1-beta.43_2zbuy3u6ge5ez2cf3af3kem2k4
'@ibiz-template/service': 0.0.1-beta.43_6xsvy7p7ghf4p5znirqixvxifq
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.42_qzytosuu5eg3bvoa74ldx6evva:
resolution: {integrity: sha512-AgezTveoZ9GT4dUjf4jP+3FbwmSZKwDiz684gGZI9VEQe4UC8v/YBL+d0qNEhFP36J+pui4oyk3RKRnElTwPXQ==}
/@ibiz-template/core/0.0.1-beta.43_qzytosuu5eg3bvoa74ldx6evva:
resolution: {integrity: sha512-tCeBvD+EF4xWCgf4kGE4FCrUM5025omXxHTpPnzvlr2RYuCVBQHD3eoMTYAjkGMZeCLlIQ2SNWOSCGKMPEfPdA==}
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.42_nngk5znuztmoeynqrwf7jk7xse:
resolution: {integrity: sha512-US0GreMMNn1sBeEVTo05znBqrRyn8v8a4NAfhNnzDp+6SD07m/iCEaBsxNGlLWEdmiPXTdBh5ROjVNSHf5rwow==}
/@ibiz-template/model/0.0.1-beta.43_nngk5znuztmoeynqrwf7jk7xse:
resolution: {integrity: sha512-lg+aKKYONlfiGI/HrBqeW4dFvHCTHmRE47E6BaN9EulbbJOh88I36CFOVhFk9c8ZOGVkefssUfNw69HsiWVxdw==}
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.42_5n2sfjjhqolgnbykjkvydyay4m:
resolution: {integrity: sha512-Go9/scD8VVhnRqd61DEKuG/1itTXMTAgUTIi5cGvcj1ecUXUxmPR6ZGSek2AASaDIIa4kHAq0iNgjwObLWlrPQ==}
/@ibiz-template/runtime/0.0.1-beta.43_2zbuy3u6ge5ez2cf3af3kem2k4:
resolution: {integrity: sha512-ARvqPj8GxE92/UI3l6aNZ3ckEGbup2ivtbgRkxhPWogNuz1FWivosouoyqO67ka2LAnwvNE87mZg+EYyrCjXlA==}
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.42
'@ibiz-template/core': 0.0.1-beta.42_qzytosuu5eg3bvoa74ldx6evva
'@ibiz-template/model': 0.0.1-beta.42_nngk5znuztmoeynqrwf7jk7xse
'@ibiz-template/service': 0.0.1-beta.42_d5m4bblyi6squjln2viltbddp4
'@ibiz-template/command': 0.0.1-beta.43
'@ibiz-template/core': 0.0.1-beta.43_qzytosuu5eg3bvoa74ldx6evva
'@ibiz-template/model': 0.0.1-beta.43_nngk5znuztmoeynqrwf7jk7xse
'@ibiz-template/service': 0.0.1-beta.43_6xsvy7p7ghf4p5znirqixvxifq
qs: 6.11.0
qx-util: 0.4.4
dev: false
/@ibiz-template/service/0.0.1-beta.42_d5m4bblyi6squjln2viltbddp4:
resolution: {integrity: sha512-N1SPT7X5zAn0Uj9Unfe128s9Ue9uxsOXceLRgWju6Cem8JcoFaW3HDscde8Lj6etCURQbuRQ0lmvs+a/2iXOdA==}
/@ibiz-template/service/0.0.1-beta.43_6xsvy7p7ghf4p5znirqixvxifq:
resolution: {integrity: sha512-ZLm7LIQH1zpt6PfgpS9x3wJcFrfjCEgMHIGnd/3NfwvXQG+aQBjpKOEL795BF6APw/CMKFTiCHZBA2IMfxd7fA==}
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.42_qzytosuu5eg3bvoa74ldx6evva
'@ibiz-template/model': 0.0.1-beta.42_nngk5znuztmoeynqrwf7jk7xse
'@ibiz-template/core': 0.0.1-beta.43_qzytosuu5eg3bvoa74ldx6evva
'@ibiz-template/model': 0.0.1-beta.43_nngk5znuztmoeynqrwf7jk7xse
qx-util: 0.4.4
ramda: 0.28.0
dev: false
/@ibiz-template/theme/0.0.1-beta.42:
resolution: {integrity: sha512-9Ux57VmYw38QZdtA0cbHBHHTsRQswQdaNqSGkwYyYGb6BebuK1esQF6Hxc9aKKBhAq5fNj5iA6Xb6NZcckMZTw==}
/@ibiz-template/theme/0.0.1-beta.43:
resolution: {integrity: sha512-vDUaUohshlYERzzL0E/ufqvVIyFO8CaKfZQjswaTznZ+xLbZ2Ccx2g8cTnqdoNKNZ5sMDgBNV+GfebER0YhKfg==}
dev: false
/@ibiz-template/vue-util/0.0.1-beta.42_gjrqymqgzc4iuhbyljfdcy5c4y:
resolution: {integrity: sha512-NhrH0Ij0rOcO69mPyXguc6ZLAK/rc495MMYay2/cifRpbEMML+afmQnMsaISt+70DshVFlr/O48KmxvjbSnObg==}
/@ibiz-template/vue-util/0.0.1-beta.43_nbdgwly5hg5vk4aunofuu2tmru:
resolution: {integrity: sha512-rdluZDoTQh+qMof3IvSgpzFSYa3pn5T9UVUgrioNI4FAePFPe/kqZ4lQMWHDZk3lwPPykTXaGJ7YbdB3nkfnyg==}
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.42_iusidrooyzvbltd3vx5jq3olky
'@ibiz-template/core': 0.0.1-beta.42_qzytosuu5eg3bvoa74ldx6evva
'@ibiz-template/model': 0.0.1-beta.42_nngk5znuztmoeynqrwf7jk7xse
'@ibiz-template/controller': 0.0.1-beta.43_slryomq5tknhklb4dvlzdvjese
'@ibiz-template/core': 0.0.1-beta.43_qzytosuu5eg3bvoa74ldx6evva
'@ibiz-template/model': 0.0.1-beta.43_nngk5znuztmoeynqrwf7jk7xse
qs: 6.11.0
qx-util: 0.4.4
ramda: 0.28.0
......
/* eslint-disable no-param-reassign */
import { UploadEditorController } from '@ibiz-template/controller';
import {
HttpError,
HttpResponse,
isImage,
IUploadFile,
uploadFile,
} from '@ibiz-template/core';
import { Ref, ref, watch } from 'vue';
import { ErrorHandler } from '@/util';
export type FileInfo = {
name: string;
......@@ -211,7 +213,7 @@ export function useIBizUpload(opts: {
};
const onSuccess = (resultFiles: IUploadFile[], res: HttpResponse) => {
// 暂时只处理单个文件上传
// 一次上传成功这一批的文件都成功
resultFiles.forEach(file => {
fileList.value.find(item => {
if (item.id === file.uid) {
......@@ -227,8 +229,8 @@ export function useIBizUpload(opts: {
});
};
const onError = (resultFiles: IUploadFile[]) => {
// 暂时只处理单个文件上传
const onError = (resultFiles: IUploadFile[], error: unknown) => {
// 一次报错这一批的文件都上传失败
resultFiles.forEach(file => {
fileList.value.find(item => {
if (item.id === file.uid) {
......@@ -239,9 +241,13 @@ export function useIBizUpload(opts: {
return false;
});
});
// 处理报错信息
// eslint-disable-next-line @typescript-eslint/no-explicit-any
ErrorHandler.handlerError(new HttpError(error as any));
};
const onFinish = (_resultFiles: IUploadFile[]) => {
fileList.value = fileList.value.filter(file => file.status === 'finished');
uploadState.value = 'done';
};
......
/* eslint-disable no-param-reassign */
import { UploadEditorController } from '@ibiz-template/controller';
import { HttpError } from '@ibiz-template/core';
import { getCookie } from 'qx-util';
import { Ref, ref, watch } from 'vue';
/**
* iview的Upload适配逻辑
*
......@@ -132,9 +132,12 @@ export function useIViewUpload(
};
// 上传失败回调
const onError = (error: IData) => {
const onError = (error: IData, response: IData) => {
uploadCache.count -= 1;
throw error;
throw new HttpError({
response: { data: response, status: error.status },
// eslint-disable-next-line @typescript-eslint/no-explicit-any
} as any);
};
// 删除回调
......
......@@ -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.42":
version "0.0.1-beta.42"
resolved "http://npm.zhr.icu/@ibiz-template%2fcommand/-/command-0.0.1-beta.42.tgz#3b1c87787592e41f415943820490a7a548ad52cf"
integrity sha512-f3Un//nr4NsOolKmMMpAqbjZXf4rricHEaO4mTFuAy/tucR871k6vwKD9R+KuW7SyKMGIZFAEdxpdaEKFgdfuw==
"@ibiz-template/command@^0.0.1-beta.43":
version "0.0.1-beta.43"
resolved "http://npm.zhr.icu/@ibiz-template%2fcommand/-/command-0.0.1-beta.43.tgz#753df2304b36b724aa6894171a029d45dc44ab65"
integrity sha512-i/h2hdike1oYEK9FYYyGbQmX/3PgymsLOqkOkZ8wF038/mwlS5Jj9i/CpZJFxry5oo+lGoHP6xnCAvIqkYy/qw==
dependencies:
qx-util "^0.4.4"
"@ibiz-template/controller@^0.0.1-beta.42":
version "0.0.1-beta.42"
resolved "http://npm.zhr.icu/@ibiz-template%2fcontroller/-/controller-0.0.1-beta.42.tgz#0c13c1d12dfdc753bd2620a256e688433bf02637"
integrity sha512-TCQyQptOJBDYDLbK902Tm4IYo4oltZi9jBANyRVShiHfbtKbXtxn8M8XaLHrBIl/LN6H70QCArx822QplyDl4Q==
"@ibiz-template/controller@^0.0.1-beta.43":
version "0.0.1-beta.43"
resolved "http://npm.zhr.icu/@ibiz-template%2fcontroller/-/controller-0.0.1-beta.43.tgz#af5c11882d321038336eadd56dfbd03285fc0626"
integrity sha512-9ichbQTq8nhs6zICAdi/Kb75W7uA90RVywBvndIX2yMRTPIB3GzPQRI6rrYULRiPulVH+RhpwKdjei8u9LRtzQ==
dependencies:
async-validator "^4.2.5"
dayjs "^1.11.5"
"@ibiz-template/core@^0.0.1-beta.42":
version "0.0.1-beta.42"
resolved "http://npm.zhr.icu/@ibiz-template%2fcore/-/core-0.0.1-beta.42.tgz#eab54b05ccf9407a9285196f9aec489e5034e914"
integrity sha512-AgezTveoZ9GT4dUjf4jP+3FbwmSZKwDiz684gGZI9VEQe4UC8v/YBL+d0qNEhFP36J+pui4oyk3RKRnElTwPXQ==
"@ibiz-template/core@^0.0.1-beta.43":
version "0.0.1-beta.43"
resolved "http://npm.zhr.icu/@ibiz-template%2fcore/-/core-0.0.1-beta.43.tgz#24600e0468c9a76936aa55970ccd7bedd261a763"
integrity sha512-tCeBvD+EF4xWCgf4kGE4FCrUM5025omXxHTpPnzvlr2RYuCVBQHD3eoMTYAjkGMZeCLlIQ2SNWOSCGKMPEfPdA==
dependencies:
axios "^1.2.1"
loglevel "^1.8.0"
pluralize "^8.0.0"
qs "^6.11.0"
"@ibiz-template/model@^0.0.1-beta.42":
version "0.0.1-beta.42"
resolved "http://npm.zhr.icu/@ibiz-template%2fmodel/-/model-0.0.1-beta.42.tgz#081b0f206ba140248f504505b7bfd48e9b16e960"
integrity sha512-US0GreMMNn1sBeEVTo05znBqrRyn8v8a4NAfhNnzDp+6SD07m/iCEaBsxNGlLWEdmiPXTdBh5ROjVNSHf5rwow==
"@ibiz-template/model@^0.0.1-beta.43":
version "0.0.1-beta.43"
resolved "http://npm.zhr.icu/@ibiz-template%2fmodel/-/model-0.0.1-beta.43.tgz#134af5a85c5ec61609cbbc2f41f39a76d670d12e"
integrity sha512-lg+aKKYONlfiGI/HrBqeW4dFvHCTHmRE47E6BaN9EulbbJOh88I36CFOVhFk9c8ZOGVkefssUfNw69HsiWVxdw==
dependencies:
"@ibiz/dynamic-model-api" "^2.1.11"
pluralize "^8.0.0"
"@ibiz-template/runtime@^0.0.1-beta.42":
version "0.0.1-beta.42"
resolved "http://npm.zhr.icu/@ibiz-template%2fruntime/-/runtime-0.0.1-beta.42.tgz#d971c7cb2ea082a43aeb017c89298ee4166428e2"
integrity sha512-Go9/scD8VVhnRqd61DEKuG/1itTXMTAgUTIi5cGvcj1ecUXUxmPR6ZGSek2AASaDIIa4kHAq0iNgjwObLWlrPQ==
"@ibiz-template/runtime@^0.0.1-beta.43":
version "0.0.1-beta.43"
resolved "http://npm.zhr.icu/@ibiz-template%2fruntime/-/runtime-0.0.1-beta.43.tgz#6d49a5c145979b257c809fb9a01adb0757b09cb8"
integrity sha512-ARvqPj8GxE92/UI3l6aNZ3ckEGbup2ivtbgRkxhPWogNuz1FWivosouoyqO67ka2LAnwvNE87mZg+EYyrCjXlA==
dependencies:
"@ibiz-template/command" "^0.0.1-beta.42"
"@ibiz-template/command" "^0.0.1-beta.43"
qs "^6.11.0"
"@ibiz-template/service@^0.0.1-beta.42":
version "0.0.1-beta.42"
resolved "http://npm.zhr.icu/@ibiz-template%2fservice/-/service-0.0.1-beta.42.tgz#d39f1529c5c559aa2dba5d7f66528b71d85c42e7"
integrity sha512-N1SPT7X5zAn0Uj9Unfe128s9Ue9uxsOXceLRgWju6Cem8JcoFaW3HDscde8Lj6etCURQbuRQ0lmvs+a/2iXOdA==
"@ibiz-template/service@^0.0.1-beta.43":
version "0.0.1-beta.43"
resolved "http://npm.zhr.icu/@ibiz-template%2fservice/-/service-0.0.1-beta.43.tgz#de346ae4426404bb701831b3277c665bb0c12607"
integrity sha512-ZLm7LIQH1zpt6PfgpS9x3wJcFrfjCEgMHIGnd/3NfwvXQG+aQBjpKOEL795BF6APw/CMKFTiCHZBA2IMfxd7fA==
"@ibiz-template/theme@^0.0.1-beta.42":
version "0.0.1-beta.42"
resolved "http://npm.zhr.icu/@ibiz-template%2ftheme/-/theme-0.0.1-beta.42.tgz#71d4faaf2f03348263939b511e968afac64b0628"
integrity sha512-9Ux57VmYw38QZdtA0cbHBHHTsRQswQdaNqSGkwYyYGb6BebuK1esQF6Hxc9aKKBhAq5fNj5iA6Xb6NZcckMZTw==
"@ibiz-template/theme@^0.0.1-beta.43":
version "0.0.1-beta.43"
resolved "http://npm.zhr.icu/@ibiz-template%2ftheme/-/theme-0.0.1-beta.43.tgz#0a05c814ea25d0581abc66484ec4fb9b1416d924"
integrity sha512-vDUaUohshlYERzzL0E/ufqvVIyFO8CaKfZQjswaTznZ+xLbZ2Ccx2g8cTnqdoNKNZ5sMDgBNV+GfebER0YhKfg==
"@ibiz-template/vue-util@^0.0.1-beta.42":
version "0.0.1-beta.42"
resolved "http://npm.zhr.icu/@ibiz-template%2fvue-util/-/vue-util-0.0.1-beta.42.tgz#b7ce9177430e90c48fe41a554eb80a4b2d017bae"
integrity sha512-NhrH0Ij0rOcO69mPyXguc6ZLAK/rc495MMYay2/cifRpbEMML+afmQnMsaISt+70DshVFlr/O48KmxvjbSnObg==
"@ibiz-template/vue-util@^0.0.1-beta.43":
version "0.0.1-beta.43"
resolved "http://npm.zhr.icu/@ibiz-template%2fvue-util/-/vue-util-0.0.1-beta.43.tgz#a004ca6d72cfdac81336a2d686c14f1e6fbac907"
integrity sha512-rdluZDoTQh+qMof3IvSgpzFSYa3pn5T9UVUgrioNI4FAePFPe/kqZ4lQMWHDZk3lwPPykTXaGJ7YbdB3nkfnyg==
"@ibiz/dynamic-model-api@^2.1.11":
version "2.1.11"
......
......@@ -37,118 +37,6 @@
}
} ],
"getPSDEFormItemVRs" : [ {
"checkMode" : 3,
"name" : "表单项值规则",
"getPSDEFValueRule" : {
"codeName" : "ValueRule5",
"mOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD4/psdefvaluerules/ValueRule5",
"name" : "field4值规则",
"getPSDEFVRGroupCondition" : {
"condOp" : "AND",
"condType" : "GROUP",
"name" : "默认组",
"getPSDEFVRConditions" : [ {
"condType" : "SYSVALUERULE",
"dEFName" : "FIELD4",
"name" : "[系统值规则]URL",
"getPSSysValueRule" : {
"codeName" : "ValueRule17",
"dynaModelFilePath" : "PSSYSVALUERULES/ValueRule17.json",
"mOSFilePath" : "pssysvaluerules/ValueRule17",
"name" : "URL",
"rTMOSFilePath" : "pssysvaluerules/ValueRule17",
"regExCode" : "[a-zA-z]+://(\\w+(-\\w+)*)(\\.(\\w+(-\\w+)*))*(\\?\\S*)?",
"ruleInfo" : "内容必须为有效URL格式",
"ruleType" : "REG",
"enableBackend" : true,
"enableFront" : true
},
"ruleInfo" : "内容必须为有效URL格式"
} ],
"ruleInfo" : "内容必须为有效URL格式"
},
"rTMOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD4/psdefvaluerules/ValueRule5",
"ruleInfo" : "内容必须为有效URL格式",
"checkDefault" : false,
"defaultMode" : false,
"enableBackend" : true,
"enableFront" : true
},
"getPSDEFormItemName" : "field4",
"valueRuleType" : "DEFVALUERULE"
}, {
"checkMode" : 3,
"name" : "表单项值规则",
"getPSDEFValueRule" : {
"codeName" : "ValueRule4",
"mOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD3/psdefvaluerules/ValueRule4",
"name" : "field3值规则",
"getPSDEFVRGroupCondition" : {
"condOp" : "AND",
"condType" : "GROUP",
"name" : "默认组",
"getPSDEFVRConditions" : [ {
"condType" : "STRINGLENGTH",
"dEFName" : "FIELD3",
"maxValue" : 15,
"minValue" : 5,
"name" : "[字符长度] 大于等于 5 且 小于等于 15",
"ruleInfo" : "5<=field3字符长度<=15",
"includeMaxValue" : true,
"includeMinValue" : true
} ],
"ruleInfo" : "5<=field3字符长度<=15"
},
"rTMOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD3/psdefvaluerules/ValueRule4",
"ruleInfo" : "5<=field3字符长度<=15",
"checkDefault" : false,
"defaultMode" : false,
"enableBackend" : true,
"enableFront" : true
},
"getPSDEFormItemName" : "field3",
"valueRuleType" : "DEFVALUERULE"
}, {
"checkMode" : 3,
"name" : "表单项值规则",
"getPSDEFValueRule" : {
"codeName" : "ValueRule6",
"mOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD5/psdefvaluerules/ValueRule6",
"name" : "field5值规则",
"getPSDEFVRGroupCondition" : {
"condOp" : "AND",
"condType" : "GROUP",
"name" : "默认组",
"getPSDEFVRConditions" : [ {
"condType" : "SYSVALUERULE",
"dEFName" : "FIELD5",
"name" : "[系统值规则]脚本值规则测试",
"getPSSysValueRule" : {
"codeName" : "ValueRule20",
"dynaModelFilePath" : "PSSYSVALUERULES/ValueRule20.json",
"mOSFilePath" : "pssysvaluerules/ValueRule20",
"name" : "脚本值规则测试",
"rTMOSFilePath" : "pssysvaluerules/ValueRule20",
"ruleInfo" : "脚本校验",
"ruleType" : "SCRIPT",
"scriptCode" : "console.log(data);\nconsole.log(value);\nreturn false;",
"enableBackend" : true,
"enableFront" : true
},
"ruleInfo" : "脚本校验"
} ],
"ruleInfo" : "脚本校验"
},
"rTMOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD5/psdefvaluerules/ValueRule6",
"ruleInfo" : "脚本校验",
"checkDefault" : false,
"defaultMode" : false,
"enableBackend" : true,
"enableFront" : true
},
"getPSDEFormItemName" : "field5",
"valueRuleType" : "DEFVALUERULE"
}, {
"checkMode" : 3,
"name" : "表单项值规则",
"getPSDEFValueRule" : {
......@@ -391,6 +279,118 @@
},
"getPSDEFormItemName" : "field7",
"valueRuleType" : "DEFVALUERULE"
}, {
"checkMode" : 3,
"name" : "表单项值规则",
"getPSDEFValueRule" : {
"codeName" : "ValueRule5",
"mOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD4/psdefvaluerules/ValueRule5",
"name" : "field4值规则",
"getPSDEFVRGroupCondition" : {
"condOp" : "AND",
"condType" : "GROUP",
"name" : "默认组",
"getPSDEFVRConditions" : [ {
"condType" : "SYSVALUERULE",
"dEFName" : "FIELD4",
"name" : "[系统值规则]URL",
"getPSSysValueRule" : {
"codeName" : "ValueRule17",
"dynaModelFilePath" : "PSSYSVALUERULES/ValueRule17.json",
"mOSFilePath" : "pssysvaluerules/ValueRule17",
"name" : "URL",
"rTMOSFilePath" : "pssysvaluerules/ValueRule17",
"regExCode" : "[a-zA-z]+://(\\w+(-\\w+)*)(\\.(\\w+(-\\w+)*))*(\\?\\S*)?",
"ruleInfo" : "内容必须为有效URL格式",
"ruleType" : "REG",
"enableBackend" : true,
"enableFront" : true
},
"ruleInfo" : "内容必须为有效URL格式"
} ],
"ruleInfo" : "内容必须为有效URL格式"
},
"rTMOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD4/psdefvaluerules/ValueRule5",
"ruleInfo" : "内容必须为有效URL格式",
"checkDefault" : false,
"defaultMode" : false,
"enableBackend" : true,
"enableFront" : true
},
"getPSDEFormItemName" : "field4",
"valueRuleType" : "DEFVALUERULE"
}, {
"checkMode" : 3,
"name" : "表单项值规则",
"getPSDEFValueRule" : {
"codeName" : "ValueRule4",
"mOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD3/psdefvaluerules/ValueRule4",
"name" : "field3值规则",
"getPSDEFVRGroupCondition" : {
"condOp" : "AND",
"condType" : "GROUP",
"name" : "默认组",
"getPSDEFVRConditions" : [ {
"condType" : "STRINGLENGTH",
"dEFName" : "FIELD3",
"maxValue" : 15,
"minValue" : 5,
"name" : "[字符长度] 大于等于 5 且 小于等于 15",
"ruleInfo" : "5<=field3字符长度<=15",
"includeMaxValue" : true,
"includeMinValue" : true
} ],
"ruleInfo" : "5<=field3字符长度<=15"
},
"rTMOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD3/psdefvaluerules/ValueRule4",
"ruleInfo" : "5<=field3字符长度<=15",
"checkDefault" : false,
"defaultMode" : false,
"enableBackend" : true,
"enableFront" : true
},
"getPSDEFormItemName" : "field3",
"valueRuleType" : "DEFVALUERULE"
}, {
"checkMode" : 3,
"name" : "表单项值规则",
"getPSDEFValueRule" : {
"codeName" : "ValueRule6",
"mOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD5/psdefvaluerules/ValueRule6",
"name" : "field5值规则",
"getPSDEFVRGroupCondition" : {
"condOp" : "AND",
"condType" : "GROUP",
"name" : "默认组",
"getPSDEFVRConditions" : [ {
"condType" : "SYSVALUERULE",
"dEFName" : "FIELD5",
"name" : "[系统值规则]脚本值规则测试",
"getPSSysValueRule" : {
"codeName" : "ValueRule20",
"dynaModelFilePath" : "PSSYSVALUERULES/ValueRule20.json",
"mOSFilePath" : "pssysvaluerules/ValueRule20",
"name" : "脚本值规则测试",
"rTMOSFilePath" : "pssysvaluerules/ValueRule20",
"ruleInfo" : "脚本校验",
"ruleType" : "SCRIPT",
"scriptCode" : "console.log(data);\nconsole.log(value);\nreturn false;",
"enableBackend" : true,
"enableFront" : true
},
"ruleInfo" : "脚本校验"
} ],
"ruleInfo" : "脚本校验"
},
"rTMOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD5/psdefvaluerules/ValueRule6",
"ruleInfo" : "脚本校验",
"checkDefault" : false,
"defaultMode" : false,
"enableBackend" : true,
"enableFront" : true
},
"getPSDEFormItemName" : "field5",
"valueRuleType" : "DEFVALUERULE"
} ],
"getPSDEFormItems" : [ {
"id" : "srfupdatedate",
......
......@@ -166,118 +166,6 @@
"id" : "FORM"
},
"getPSDEFormItemVRs" : [ {
"checkMode" : 3,
"name" : "表单项值规则",
"getPSDEFValueRule" : {
"codeName" : "ValueRule5",
"mOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD4/psdefvaluerules/ValueRule5",
"name" : "field4值规则",
"getPSDEFVRGroupCondition" : {
"condOp" : "AND",
"condType" : "GROUP",
"name" : "默认组",
"getPSDEFVRConditions" : [ {
"condType" : "SYSVALUERULE",
"dEFName" : "FIELD4",
"name" : "[系统值规则]URL",
"getPSSysValueRule" : {
"codeName" : "ValueRule17",
"dynaModelFilePath" : "PSSYSVALUERULES/ValueRule17.json",
"mOSFilePath" : "pssysvaluerules/ValueRule17",
"name" : "URL",
"rTMOSFilePath" : "pssysvaluerules/ValueRule17",
"regExCode" : "[a-zA-z]+://(\\w+(-\\w+)*)(\\.(\\w+(-\\w+)*))*(\\?\\S*)?",
"ruleInfo" : "内容必须为有效URL格式",
"ruleType" : "REG",
"enableBackend" : true,
"enableFront" : true
},
"ruleInfo" : "内容必须为有效URL格式"
} ],
"ruleInfo" : "内容必须为有效URL格式"
},
"rTMOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD4/psdefvaluerules/ValueRule5",
"ruleInfo" : "内容必须为有效URL格式",
"checkDefault" : false,
"defaultMode" : false,
"enableBackend" : true,
"enableFront" : true
},
"getPSDEFormItemName" : "field4",
"valueRuleType" : "DEFVALUERULE"
}, {
"checkMode" : 3,
"name" : "表单项值规则",
"getPSDEFValueRule" : {
"codeName" : "ValueRule4",
"mOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD3/psdefvaluerules/ValueRule4",
"name" : "field3值规则",
"getPSDEFVRGroupCondition" : {
"condOp" : "AND",
"condType" : "GROUP",
"name" : "默认组",
"getPSDEFVRConditions" : [ {
"condType" : "STRINGLENGTH",
"dEFName" : "FIELD3",
"maxValue" : 15,
"minValue" : 5,
"name" : "[字符长度] 大于等于 5 且 小于等于 15",
"ruleInfo" : "5<=field3字符长度<=15",
"includeMaxValue" : true,
"includeMinValue" : true
} ],
"ruleInfo" : "5<=field3字符长度<=15"
},
"rTMOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD3/psdefvaluerules/ValueRule4",
"ruleInfo" : "5<=field3字符长度<=15",
"checkDefault" : false,
"defaultMode" : false,
"enableBackend" : true,
"enableFront" : true
},
"getPSDEFormItemName" : "field3",
"valueRuleType" : "DEFVALUERULE"
}, {
"checkMode" : 3,
"name" : "表单项值规则",
"getPSDEFValueRule" : {
"codeName" : "ValueRule6",
"mOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD5/psdefvaluerules/ValueRule6",
"name" : "field5值规则",
"getPSDEFVRGroupCondition" : {
"condOp" : "AND",
"condType" : "GROUP",
"name" : "默认组",
"getPSDEFVRConditions" : [ {
"condType" : "SYSVALUERULE",
"dEFName" : "FIELD5",
"name" : "[系统值规则]脚本值规则测试",
"getPSSysValueRule" : {
"codeName" : "ValueRule20",
"dynaModelFilePath" : "PSSYSVALUERULES/ValueRule20.json",
"mOSFilePath" : "pssysvaluerules/ValueRule20",
"name" : "脚本值规则测试",
"rTMOSFilePath" : "pssysvaluerules/ValueRule20",
"ruleInfo" : "脚本校验",
"ruleType" : "SCRIPT",
"scriptCode" : "console.log(data);\nconsole.log(value);\nreturn false;",
"enableBackend" : true,
"enableFront" : true
},
"ruleInfo" : "脚本校验"
} ],
"ruleInfo" : "脚本校验"
},
"rTMOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD5/psdefvaluerules/ValueRule6",
"ruleInfo" : "脚本校验",
"checkDefault" : false,
"defaultMode" : false,
"enableBackend" : true,
"enableFront" : true
},
"getPSDEFormItemName" : "field5",
"valueRuleType" : "DEFVALUERULE"
}, {
"checkMode" : 3,
"name" : "表单项值规则",
"getPSDEFValueRule" : {
......@@ -520,6 +408,118 @@
},
"getPSDEFormItemName" : "field7",
"valueRuleType" : "DEFVALUERULE"
}, {
"checkMode" : 3,
"name" : "表单项值规则",
"getPSDEFValueRule" : {
"codeName" : "ValueRule5",
"mOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD4/psdefvaluerules/ValueRule5",
"name" : "field4值规则",
"getPSDEFVRGroupCondition" : {
"condOp" : "AND",
"condType" : "GROUP",
"name" : "默认组",
"getPSDEFVRConditions" : [ {
"condType" : "SYSVALUERULE",
"dEFName" : "FIELD4",
"name" : "[系统值规则]URL",
"getPSSysValueRule" : {
"codeName" : "ValueRule17",
"dynaModelFilePath" : "PSSYSVALUERULES/ValueRule17.json",
"mOSFilePath" : "pssysvaluerules/ValueRule17",
"name" : "URL",
"rTMOSFilePath" : "pssysvaluerules/ValueRule17",
"regExCode" : "[a-zA-z]+://(\\w+(-\\w+)*)(\\.(\\w+(-\\w+)*))*(\\?\\S*)?",
"ruleInfo" : "内容必须为有效URL格式",
"ruleType" : "REG",
"enableBackend" : true,
"enableFront" : true
},
"ruleInfo" : "内容必须为有效URL格式"
} ],
"ruleInfo" : "内容必须为有效URL格式"
},
"rTMOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD4/psdefvaluerules/ValueRule5",
"ruleInfo" : "内容必须为有效URL格式",
"checkDefault" : false,
"defaultMode" : false,
"enableBackend" : true,
"enableFront" : true
},
"getPSDEFormItemName" : "field4",
"valueRuleType" : "DEFVALUERULE"
}, {
"checkMode" : 3,
"name" : "表单项值规则",
"getPSDEFValueRule" : {
"codeName" : "ValueRule4",
"mOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD3/psdefvaluerules/ValueRule4",
"name" : "field3值规则",
"getPSDEFVRGroupCondition" : {
"condOp" : "AND",
"condType" : "GROUP",
"name" : "默认组",
"getPSDEFVRConditions" : [ {
"condType" : "STRINGLENGTH",
"dEFName" : "FIELD3",
"maxValue" : 15,
"minValue" : 5,
"name" : "[字符长度] 大于等于 5 且 小于等于 15",
"ruleInfo" : "5<=field3字符长度<=15",
"includeMaxValue" : true,
"includeMinValue" : true
} ],
"ruleInfo" : "5<=field3字符长度<=15"
},
"rTMOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD3/psdefvaluerules/ValueRule4",
"ruleInfo" : "5<=field3字符长度<=15",
"checkDefault" : false,
"defaultMode" : false,
"enableBackend" : true,
"enableFront" : true
},
"getPSDEFormItemName" : "field3",
"valueRuleType" : "DEFVALUERULE"
}, {
"checkMode" : 3,
"name" : "表单项值规则",
"getPSDEFValueRule" : {
"codeName" : "ValueRule6",
"mOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD5/psdefvaluerules/ValueRule6",
"name" : "field5值规则",
"getPSDEFVRGroupCondition" : {
"condOp" : "AND",
"condType" : "GROUP",
"name" : "默认组",
"getPSDEFVRConditions" : [ {
"condType" : "SYSVALUERULE",
"dEFName" : "FIELD5",
"name" : "[系统值规则]脚本值规则测试",
"getPSSysValueRule" : {
"codeName" : "ValueRule20",
"dynaModelFilePath" : "PSSYSVALUERULES/ValueRule20.json",
"mOSFilePath" : "pssysvaluerules/ValueRule20",
"name" : "脚本值规则测试",
"rTMOSFilePath" : "pssysvaluerules/ValueRule20",
"ruleInfo" : "脚本校验",
"ruleType" : "SCRIPT",
"scriptCode" : "console.log(data);\nconsole.log(value);\nreturn false;",
"enableBackend" : true,
"enableFront" : true
},
"ruleInfo" : "脚本校验"
} ],
"ruleInfo" : "脚本校验"
},
"rTMOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD5/psdefvaluerules/ValueRule6",
"ruleInfo" : "脚本校验",
"checkDefault" : false,
"defaultMode" : false,
"enableBackend" : true,
"enableFront" : true
},
"getPSDEFormItemName" : "field5",
"valueRuleType" : "DEFVALUERULE"
} ],
"getPSDEFormItems" : [ {
"id" : "srfupdatedate",
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册