Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
T
TrainSys
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
苏州培训方案
TrainSys
提交
14d62216
提交
14d62216
编写于
2月 22, 2023
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
lxm1993 发布系统代码 [TrainSys,网页端]
上级
f3968fa9
变更
8
展开全部
隐藏空白字符变更
内嵌
并排
正在显示
8 个修改的文件
包含
437 行增加
和
428 行删除
+437
-428
package.json
app_Web/package.json
+8
-8
pnpm-lock.yaml
app_Web/pnpm-lock.yaml
+45
-45
use-ibiz-upload.ts
app_Web/src/components/editor/upload/use/use-ibiz-upload.ts
+9
-3
use-iview-upload.ts
app_Web/src/components/editor/upload/use/use-iview-upload.ts
+6
-3
yarn.lock
app_Web/yarn.lock
+33
-33
TestRules.json
...SYSAPPS/Web/PSAPPDATAENTITIES/TEST/PSFORMS/TestRules.json
+112
-112
TESTTestRulesEditView.json
...sys/PSSYSAPPS/Web/PSAPPDEVIEWS/TESTTestRulesEditView.json
+112
-112
PSSYSAPP.json
...ces/model/cn/ibizlab/trainsys/PSSYSAPPS/Web/PSSYSAPP.json
+112
-112
未找到文件。
app_Web/package.json
浏览文件 @
14d62216
...
...
@@ -12,14 +12,14 @@
},
"dependencies"
:
{
"@floating-ui/dom"
:
"^1.0.11"
,
"@ibiz-template/command"
:
"^0.0.1-beta.4
2
"
,
"@ibiz-template/controller"
:
"^0.0.1-beta.4
2
"
,
"@ibiz-template/core"
:
"^0.0.1-beta.4
2
"
,
"@ibiz-template/model"
:
"^0.0.1-beta.4
2
"
,
"@ibiz-template/runtime"
:
"^0.0.1-beta.4
2
"
,
"@ibiz-template/service"
:
"^0.0.1-beta.4
2
"
,
"@ibiz-template/theme"
:
"^0.0.1-beta.4
2
"
,
"@ibiz-template/vue-util"
:
"^0.0.1-beta.4
2
"
,
"@ibiz-template/command"
:
"^0.0.1-beta.4
3
"
,
"@ibiz-template/controller"
:
"^0.0.1-beta.4
3
"
,
"@ibiz-template/core"
:
"^0.0.1-beta.4
3
"
,
"@ibiz-template/model"
:
"^0.0.1-beta.4
3
"
,
"@ibiz-template/runtime"
:
"^0.0.1-beta.4
3
"
,
"@ibiz-template/service"
:
"^0.0.1-beta.4
3
"
,
"@ibiz-template/theme"
:
"^0.0.1-beta.4
3
"
,
"@ibiz-template/vue-util"
:
"^0.0.1-beta.4
3
"
,
"@ibiz/dynamic-model-api"
:
"^2.1.11"
,
"dayjs"
:
"^1.11.7"
,
"lodash-es"
:
"^4.17.21"
,
...
...
app_Web/pnpm-lock.yaml
浏览文件 @
14d62216
...
...
@@ -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.4
2
'
@ibiz-template/controller'
:
^0.0.1-beta.4
2
'
@ibiz-template/core'
:
^0.0.1-beta.4
2
'
@ibiz-template/model'
:
^0.0.1-beta.4
2
'
@ibiz-template/runtime'
:
^0.0.1-beta.4
2
'
@ibiz-template/service'
:
^0.0.1-beta.4
2
'
@ibiz-template/theme'
:
^0.0.1-beta.4
2
'
@ibiz-template/vue-util'
:
^0.0.1-beta.4
2
'
@ibiz-template/command'
:
^0.0.1-beta.4
3
'
@ibiz-template/controller'
:
^0.0.1-beta.4
3
'
@ibiz-template/core'
:
^0.0.1-beta.4
3
'
@ibiz-template/model'
:
^0.0.1-beta.4
3
'
@ibiz-template/runtime'
:
^0.0.1-beta.4
3
'
@ibiz-template/service'
:
^0.0.1-beta.4
3
'
@ibiz-template/theme'
:
^0.0.1-beta.4
3
'
@ibiz-template/vue-util'
:
^0.0.1-beta.4
3
'
@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.4
2
'
@ibiz-template/controller'
:
0.0.1-beta.4
2_iusidrooyzvbltd3vx5jq3olky
'
@ibiz-template/core'
:
0.0.1-beta.4
2
_qzytosuu5eg3bvoa74ldx6evva
'
@ibiz-template/model'
:
0.0.1-beta.4
2
_nngk5znuztmoeynqrwf7jk7xse
'
@ibiz-template/runtime'
:
0.0.1-beta.4
2_5n2sfjjhqolgnbykjkvydyay4m
'
@ibiz-template/service'
:
0.0.1-beta.4
2_d5m4bblyi6squjln2viltbddp4
'
@ibiz-template/theme'
:
0.0.1-beta.4
2
'
@ibiz-template/vue-util'
:
0.0.1-beta.4
2_gjrqymqgzc4iuhbyljfdcy5c4y
'
@ibiz-template/command'
:
0.0.1-beta.4
3
'
@ibiz-template/controller'
:
0.0.1-beta.4
3_slryomq5tknhklb4dvlzdvjese
'
@ibiz-template/core'
:
0.0.1-beta.4
3
_qzytosuu5eg3bvoa74ldx6evva
'
@ibiz-template/model'
:
0.0.1-beta.4
3
_nngk5znuztmoeynqrwf7jk7xse
'
@ibiz-template/runtime'
:
0.0.1-beta.4
3_2zbuy3u6ge5ez2cf3af3kem2k4
'
@ibiz-template/service'
:
0.0.1-beta.4
3_6xsvy7p7ghf4p5znirqixvxifq
'
@ibiz-template/theme'
:
0.0.1-beta.4
3
'
@ibiz-template/vue-util'
:
0.0.1-beta.4
3_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.4
2
:
resolution
:
{
integrity
:
sha512-
f3Un//nr4NsOolKmMMpAqbjZXf4rricHEaO4mTFuAy/tucR871k6vwKD9R+KuW7SyKMGIZFAEdxpdaEKFgdfu
w==
}
/@ibiz-template/command/0.0.1-beta.4
3
:
resolution
:
{
integrity
:
sha512-
i/h2hdike1oYEK9FYYyGbQmX/3PgymsLOqkOkZ8wF038/mwlS5Jj9i/CpZJFxry5oo+lGoHP6xnCAvIqkYy/q
w==
}
dependencies
:
qx-util
:
0.4.4
dev
:
false
/@ibiz-template/controller/0.0.1-beta.4
2_iusidrooyzvbltd3vx5jq3olky
:
resolution
:
{
integrity
:
sha512-
TCQyQptOJBDYDLbK902Tm4IYo4oltZi9jBANyRVShiHfbtKbXtxn8M8XaLHrBIl/LN6H70QCArx822QplyDl4
Q==
}
/@ibiz-template/controller/0.0.1-beta.4
3_slryomq5tknhklb4dvlzdvjese
:
resolution
:
{
integrity
:
sha512-
9ichbQTq8nhs6zICAdi/Kb75W7uA90RVywBvndIX2yMRTPIB3GzPQRI6rrYULRiPulVH+RhpwKdjei8u9LRtz
Q==
}
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.4
2
_qzytosuu5eg3bvoa74ldx6evva
'
@ibiz-template/model'
:
0.0.1-beta.4
2
_nngk5znuztmoeynqrwf7jk7xse
'
@ibiz-template/runtime'
:
0.0.1-beta.4
2_5n2sfjjhqolgnbykjkvydyay4m
'
@ibiz-template/service'
:
0.0.1-beta.4
2_d5m4bblyi6squjln2viltbddp4
'
@ibiz-template/core'
:
0.0.1-beta.4
3
_qzytosuu5eg3bvoa74ldx6evva
'
@ibiz-template/model'
:
0.0.1-beta.4
3
_nngk5znuztmoeynqrwf7jk7xse
'
@ibiz-template/runtime'
:
0.0.1-beta.4
3_2zbuy3u6ge5ez2cf3af3kem2k4
'
@ibiz-template/service'
:
0.0.1-beta.4
3_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.4
2
_qzytosuu5eg3bvoa74ldx6evva
:
resolution
:
{
integrity
:
sha512-
AgezTveoZ9GT4dUjf4jP+3FbwmSZKwDiz684gGZI9VEQe4UC8v/YBL+d0qNEhFP36J+pui4oyk3RKRnElTwPXQ
==
}
/@ibiz-template/core/0.0.1-beta.4
3
_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.4
2
_nngk5znuztmoeynqrwf7jk7xse
:
resolution
:
{
integrity
:
sha512-
US0GreMMNn1sBeEVTo05znBqrRyn8v8a4NAfhNnzDp+6SD07m/iCEaBsxNGlLWEdmiPXTdBh5ROjVNSHf5rwo
w==
}
/@ibiz-template/model/0.0.1-beta.4
3
_nngk5znuztmoeynqrwf7jk7xse
:
resolution
:
{
integrity
:
sha512-
lg+aKKYONlfiGI/HrBqeW4dFvHCTHmRE47E6BaN9EulbbJOh88I36CFOVhFk9c8ZOGVkefssUfNw69HsiWVxd
w==
}
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.4
2_5n2sfjjhqolgnbykjkvydyay4m
:
resolution
:
{
integrity
:
sha512-
Go9/scD8VVhnRqd61DEKuG/1itTXMTAgUTIi5cGvcj1ecUXUxmPR6ZGSek2AASaDIIa4kHAq0iNgjwObLWlrPQ
==
}
/@ibiz-template/runtime/0.0.1-beta.4
3_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.4
2
'
@ibiz-template/core'
:
0.0.1-beta.4
2
_qzytosuu5eg3bvoa74ldx6evva
'
@ibiz-template/model'
:
0.0.1-beta.4
2
_nngk5znuztmoeynqrwf7jk7xse
'
@ibiz-template/service'
:
0.0.1-beta.4
2_d5m4bblyi6squjln2viltbddp4
'
@ibiz-template/command'
:
0.0.1-beta.4
3
'
@ibiz-template/core'
:
0.0.1-beta.4
3
_qzytosuu5eg3bvoa74ldx6evva
'
@ibiz-template/model'
:
0.0.1-beta.4
3
_nngk5znuztmoeynqrwf7jk7xse
'
@ibiz-template/service'
:
0.0.1-beta.4
3_6xsvy7p7ghf4p5znirqixvxifq
qs
:
6.11.0
qx-util
:
0.4.4
dev
:
false
/@ibiz-template/service/0.0.1-beta.4
2_d5m4bblyi6squjln2viltbddp4
:
resolution
:
{
integrity
:
sha512-
N1SPT7X5zAn0Uj9Unfe128s9Ue9uxsOXceLRgWju6Cem8JcoFaW3HDscde8Lj6etCURQbuRQ0lmvs+a/2iXOd
A==
}
/@ibiz-template/service/0.0.1-beta.4
3_6xsvy7p7ghf4p5znirqixvxifq
:
resolution
:
{
integrity
:
sha512-
ZLm7LIQH1zpt6PfgpS9x3wJcFrfjCEgMHIGnd/3NfwvXQG+aQBjpKOEL795BF6APw/CMKFTiCHZBA2IMfxd7f
A==
}
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.4
2
_qzytosuu5eg3bvoa74ldx6evva
'
@ibiz-template/model'
:
0.0.1-beta.4
2
_nngk5znuztmoeynqrwf7jk7xse
'
@ibiz-template/core'
:
0.0.1-beta.4
3
_qzytosuu5eg3bvoa74ldx6evva
'
@ibiz-template/model'
:
0.0.1-beta.4
3
_nngk5znuztmoeynqrwf7jk7xse
qx-util
:
0.4.4
ramda
:
0.28.0
dev
:
false
/@ibiz-template/theme/0.0.1-beta.4
2
:
resolution
:
{
integrity
:
sha512-
9Ux57VmYw38QZdtA0cbHBHHTsRQswQdaNqSGkwYyYGb6BebuK1esQF6Hxc9aKKBhAq5fNj5iA6Xb6NZcckMZTw
==
}
/@ibiz-template/theme/0.0.1-beta.4
3
:
resolution
:
{
integrity
:
sha512-
vDUaUohshlYERzzL0E/ufqvVIyFO8CaKfZQjswaTznZ+xLbZ2Ccx2g8cTnqdoNKNZ5sMDgBNV+GfebER0YhKfg
==
}
dev
:
false
/@ibiz-template/vue-util/0.0.1-beta.4
2_gjrqymqgzc4iuhbyljfdcy5c4y
:
resolution
:
{
integrity
:
sha512-
NhrH0Ij0rOcO69mPyXguc6ZLAK/rc495MMYay2/cifRpbEMML+afmQnMsaISt+70DshVFlr/O48KmxvjbSnOb
g==
}
/@ibiz-template/vue-util/0.0.1-beta.4
3_nbdgwly5hg5vk4aunofuu2tmru
:
resolution
:
{
integrity
:
sha512-
rdluZDoTQh+qMof3IvSgpzFSYa3pn5T9UVUgrioNI4FAePFPe/kqZ4lQMWHDZk3lwPPykTXaGJ7YbdB3nkfny
g==
}
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.4
2_iusidrooyzvbltd3vx5jq3olky
'
@ibiz-template/core'
:
0.0.1-beta.4
2
_qzytosuu5eg3bvoa74ldx6evva
'
@ibiz-template/model'
:
0.0.1-beta.4
2
_nngk5znuztmoeynqrwf7jk7xse
'
@ibiz-template/controller'
:
0.0.1-beta.4
3_slryomq5tknhklb4dvlzdvjese
'
@ibiz-template/core'
:
0.0.1-beta.4
3
_qzytosuu5eg3bvoa74ldx6evva
'
@ibiz-template/model'
:
0.0.1-beta.4
3
_nngk5znuztmoeynqrwf7jk7xse
qs
:
6.11.0
qx-util
:
0.4.4
ramda
:
0.28.0
...
...
app_Web/src/components/editor/upload/use/use-ibiz-upload.ts
浏览文件 @
14d62216
/* 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'
;
};
...
...
app_Web/src/components/editor/upload/use/use-iview-upload.ts
浏览文件 @
14d62216
/* 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
);
};
// 删除回调
...
...
app_Web/yarn.lock
浏览文件 @
14d62216
...
...
@@ -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.4
2
":
version "0.0.1-beta.4
2
"
resolved "http://npm.zhr.icu/@ibiz-template%2fcommand/-/command-0.0.1-beta.4
2.tgz#3b1c87787592e41f415943820490a7a548ad52cf
"
integrity sha512-
f3Un//nr4NsOolKmMMpAqbjZXf4rricHEaO4mTFuAy/tucR871k6vwKD9R+KuW7SyKMGIZFAEdxpdaEKFgdfu
w==
"@ibiz-template/command@^0.0.1-beta.4
3
":
version "0.0.1-beta.4
3
"
resolved "http://npm.zhr.icu/@ibiz-template%2fcommand/-/command-0.0.1-beta.4
3.tgz#753df2304b36b724aa6894171a029d45dc44ab65
"
integrity sha512-
i/h2hdike1oYEK9FYYyGbQmX/3PgymsLOqkOkZ8wF038/mwlS5Jj9i/CpZJFxry5oo+lGoHP6xnCAvIqkYy/q
w==
dependencies:
qx-util "^0.4.4"
"@ibiz-template/controller@^0.0.1-beta.4
2
":
version "0.0.1-beta.4
2
"
resolved "http://npm.zhr.icu/@ibiz-template%2fcontroller/-/controller-0.0.1-beta.4
2.tgz#0c13c1d12dfdc753bd2620a256e688433bf02637
"
integrity sha512-
TCQyQptOJBDYDLbK902Tm4IYo4oltZi9jBANyRVShiHfbtKbXtxn8M8XaLHrBIl/LN6H70QCArx822QplyDl4
Q==
"@ibiz-template/controller@^0.0.1-beta.4
3
":
version "0.0.1-beta.4
3
"
resolved "http://npm.zhr.icu/@ibiz-template%2fcontroller/-/controller-0.0.1-beta.4
3.tgz#af5c11882d321038336eadd56dfbd03285fc0626
"
integrity sha512-
9ichbQTq8nhs6zICAdi/Kb75W7uA90RVywBvndIX2yMRTPIB3GzPQRI6rrYULRiPulVH+RhpwKdjei8u9LRtz
Q==
dependencies:
async-validator "^4.2.5"
dayjs "^1.11.5"
"@ibiz-template/core@^0.0.1-beta.4
2
":
version "0.0.1-beta.4
2
"
resolved "http://npm.zhr.icu/@ibiz-template%2fcore/-/core-0.0.1-beta.4
2.tgz#eab54b05ccf9407a9285196f9aec489e5034e914
"
integrity sha512-
AgezTveoZ9GT4dUjf4jP+3FbwmSZKwDiz684gGZI9VEQe4UC8v/YBL+d0qNEhFP36J+pui4oyk3RKRnElTwPXQ
==
"@ibiz-template/core@^0.0.1-beta.4
3
":
version "0.0.1-beta.4
3
"
resolved "http://npm.zhr.icu/@ibiz-template%2fcore/-/core-0.0.1-beta.4
3.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.4
2
":
version "0.0.1-beta.4
2
"
resolved "http://npm.zhr.icu/@ibiz-template%2fmodel/-/model-0.0.1-beta.4
2.tgz#081b0f206ba140248f504505b7bfd48e9b16e960
"
integrity sha512-
US0GreMMNn1sBeEVTo05znBqrRyn8v8a4NAfhNnzDp+6SD07m/iCEaBsxNGlLWEdmiPXTdBh5ROjVNSHf5rwo
w==
"@ibiz-template/model@^0.0.1-beta.4
3
":
version "0.0.1-beta.4
3
"
resolved "http://npm.zhr.icu/@ibiz-template%2fmodel/-/model-0.0.1-beta.4
3.tgz#134af5a85c5ec61609cbbc2f41f39a76d670d12e
"
integrity sha512-
lg+aKKYONlfiGI/HrBqeW4dFvHCTHmRE47E6BaN9EulbbJOh88I36CFOVhFk9c8ZOGVkefssUfNw69HsiWVxd
w==
dependencies:
"@ibiz/dynamic-model-api" "^2.1.11"
pluralize "^8.0.0"
"@ibiz-template/runtime@^0.0.1-beta.4
2
":
version "0.0.1-beta.4
2
"
resolved "http://npm.zhr.icu/@ibiz-template%2fruntime/-/runtime-0.0.1-beta.4
2.tgz#d971c7cb2ea082a43aeb017c89298ee4166428e2
"
integrity sha512-
Go9/scD8VVhnRqd61DEKuG/1itTXMTAgUTIi5cGvcj1ecUXUxmPR6ZGSek2AASaDIIa4kHAq0iNgjwObLWlrPQ
==
"@ibiz-template/runtime@^0.0.1-beta.4
3
":
version "0.0.1-beta.4
3
"
resolved "http://npm.zhr.icu/@ibiz-template%2fruntime/-/runtime-0.0.1-beta.4
3.tgz#6d49a5c145979b257c809fb9a01adb0757b09cb8
"
integrity sha512-
ARvqPj8GxE92/UI3l6aNZ3ckEGbup2ivtbgRkxhPWogNuz1FWivosouoyqO67ka2LAnwvNE87mZg+EYyrCjXlA
==
dependencies:
"@ibiz-template/command" "^0.0.1-beta.4
2
"
"@ibiz-template/command" "^0.0.1-beta.4
3
"
qs "^6.11.0"
"@ibiz-template/service@^0.0.1-beta.4
2
":
version "0.0.1-beta.4
2
"
resolved "http://npm.zhr.icu/@ibiz-template%2fservice/-/service-0.0.1-beta.4
2.tgz#d39f1529c5c559aa2dba5d7f66528b71d85c42e
7"
integrity sha512-
N1SPT7X5zAn0Uj9Unfe128s9Ue9uxsOXceLRgWju6Cem8JcoFaW3HDscde8Lj6etCURQbuRQ0lmvs+a/2iXOd
A==
"@ibiz-template/service@^0.0.1-beta.4
3
":
version "0.0.1-beta.4
3
"
resolved "http://npm.zhr.icu/@ibiz-template%2fservice/-/service-0.0.1-beta.4
3.tgz#de346ae4426404bb701831b3277c665bb0c1260
7"
integrity sha512-
ZLm7LIQH1zpt6PfgpS9x3wJcFrfjCEgMHIGnd/3NfwvXQG+aQBjpKOEL795BF6APw/CMKFTiCHZBA2IMfxd7f
A==
"@ibiz-template/theme@^0.0.1-beta.4
2
":
version "0.0.1-beta.4
2
"
resolved "http://npm.zhr.icu/@ibiz-template%2ftheme/-/theme-0.0.1-beta.4
2.tgz#71d4faaf2f03348263939b511e968afac64b0628
"
integrity sha512-
9Ux57VmYw38QZdtA0cbHBHHTsRQswQdaNqSGkwYyYGb6BebuK1esQF6Hxc9aKKBhAq5fNj5iA6Xb6NZcckMZTw
==
"@ibiz-template/theme@^0.0.1-beta.4
3
":
version "0.0.1-beta.4
3
"
resolved "http://npm.zhr.icu/@ibiz-template%2ftheme/-/theme-0.0.1-beta.4
3.tgz#0a05c814ea25d0581abc66484ec4fb9b1416d924
"
integrity sha512-
vDUaUohshlYERzzL0E/ufqvVIyFO8CaKfZQjswaTznZ+xLbZ2Ccx2g8cTnqdoNKNZ5sMDgBNV+GfebER0YhKfg
==
"@ibiz-template/vue-util@^0.0.1-beta.4
2
":
version "0.0.1-beta.4
2
"
resolved "http://npm.zhr.icu/@ibiz-template%2fvue-util/-/vue-util-0.0.1-beta.4
2.tgz#b7ce9177430e90c48fe41a554eb80a4b2d017bae
"
integrity sha512-
NhrH0Ij0rOcO69mPyXguc6ZLAK/rc495MMYay2/cifRpbEMML+afmQnMsaISt+70DshVFlr/O48KmxvjbSnOb
g==
"@ibiz-template/vue-util@^0.0.1-beta.4
3
":
version "0.0.1-beta.4
3
"
resolved "http://npm.zhr.icu/@ibiz-template%2fvue-util/-/vue-util-0.0.1-beta.4
3.tgz#a004ca6d72cfdac81336a2d686c14f1e6fbac907
"
integrity sha512-
rdluZDoTQh+qMof3IvSgpzFSYa3pn5T9UVUgrioNI4FAePFPe/kqZ4lQMWHDZk3lwPPykTXaGJ7YbdB3nkfny
g==
"@ibiz/dynamic-model-api@^2.1.11":
version "2.1.11"
...
...
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSSYSAPPS/Web/PSAPPDATAENTITIES/TEST/PSFORMS/TestRules.json
浏览文件 @
14d62216
...
...
@@ -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);
\n
console.log(value);
\n
return 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);
\n
console.log(value);
\n
return 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"
,
...
...
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSSYSAPPS/Web/PSAPPDEVIEWS/TESTTestRulesEditView.json
浏览文件 @
14d62216
...
...
@@ -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);
\n
console.log(value);
\n
return 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);
\n
console.log(value);
\n
return 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"
,
...
...
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSSYSAPPS/Web/PSSYSAPP.json
浏览文件 @
14d62216
此差异已折叠。
点击以展开。
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录