Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
T
TrainSys
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
苏州培训方案
TrainSys
提交
d7a5f5bd
提交
d7a5f5bd
编写于
3月 07, 2023
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
lxm1993 发布系统代码 [TrainSys,网页端]
上级
740f2fbe
变更
22
隐藏空白字符变更
内嵌
并排
正在显示
22 个修改的文件
包含
593 行增加
和
526 行删除
+593
-526
package.json
app_Web/package.json
+8
-8
pnpm-lock.yaml
app_Web/pnpm-lock.yaml
+45
-45
git-publish.sh
app_Web/scripts/git-publish.sh
+2
-2
ibiz-grid-checkbox.tsx
.../check-box-list/ibiz-grid-checkbox/ibiz-grid-checkbox.tsx
+5
-6
ibiz-grid-picker.tsx
.../editor/data-picker/ibiz-grid-picker/ibiz-grid-picker.tsx
+20
-22
ibiz-picker.tsx
...components/editor/data-picker/ibiz-picker/ibiz-picker.tsx
+10
-0
ibiz-grid-date-picker.tsx
...te-picker/ibiz-grid-date-picker/ibiz-grid-date-picker.tsx
+8
-7
ibiz-grid-dropdown.tsx
...r/dropdown-list/ibiz-grid-dropdown/ibiz-grid-dropdown.tsx
+26
-9
grid-editor.tsx
app_Web/src/components/editor/grid-editor/grid-editor.tsx
+6
-1
ibiz-grid-radio.tsx
...tor/radio-button-list/ibiz-grid-radio/ibiz-grid-radio.tsx
+15
-7
ibiz-grid-input-number.tsx
...ext-box/ibiz-grid-input-number/ibiz-grid-input-number.tsx
+8
-7
ibiz-grid-input.tsx
...nents/editor/text-box/ibiz-grid-input/ibiz-grid-input.tsx
+8
-7
ibiz-input.tsx
.../src/components/editor/text-box/ibiz-input/ibiz-input.tsx
+18
-1
ibiz-grid-file-upload.tsx
...or/upload/ibiz-grid-file-upload/ibiz-grid-file-upload.tsx
+7
-5
grid-field-edit-column.tsx
...control/grid-field-edit-column/grid-field-edit-column.tsx
+4
-1
data-picker-provider.ts
app_Web/src/provider/editor/data-picker-provider.ts
+1
-0
index.ts
app_Web/src/provider/editor/index.ts
+4
-0
yarn.lock
app_Web/yarn.lock
+33
-33
PSSYSAPP.json
.../ibizlab/trainsys/PSSYSAPPS/TemplatePublish/PSSYSAPP.json
+4
-4
TestRules.json
...SYSAPPS/Web/PSAPPDATAENTITIES/TEST/PSFORMS/TestRules.json
+119
-119
TESTTestRulesEditView.json
...sys/PSSYSAPPS/Web/PSAPPDEVIEWS/TESTTestRulesEditView.json
+119
-119
PSSYSAPP.json
...ces/model/cn/ibizlab/trainsys/PSSYSAPPS/Web/PSSYSAPP.json
+123
-123
未找到文件。
app_Web/package.json
浏览文件 @
d7a5f5bd
...
@@ -12,14 +12,14 @@
...
@@ -12,14 +12,14 @@
},
},
"dependencies"
:
{
"dependencies"
:
{
"@floating-ui/dom"
:
"^1.0.11"
,
"@floating-ui/dom"
:
"^1.0.11"
,
"@ibiz-template/command"
:
"^0.0.1-beta.4
4
"
,
"@ibiz-template/command"
:
"^0.0.1-beta.4
5
"
,
"@ibiz-template/controller"
:
"^0.0.1-beta.4
4
"
,
"@ibiz-template/controller"
:
"^0.0.1-beta.4
5
"
,
"@ibiz-template/core"
:
"^0.0.1-beta.4
4
"
,
"@ibiz-template/core"
:
"^0.0.1-beta.4
5
"
,
"@ibiz-template/model"
:
"^0.0.1-beta.4
4
"
,
"@ibiz-template/model"
:
"^0.0.1-beta.4
5
"
,
"@ibiz-template/runtime"
:
"^0.0.1-beta.4
4
"
,
"@ibiz-template/runtime"
:
"^0.0.1-beta.4
5
"
,
"@ibiz-template/service"
:
"^0.0.1-beta.4
4
"
,
"@ibiz-template/service"
:
"^0.0.1-beta.4
5
"
,
"@ibiz-template/theme"
:
"^0.0.1-beta.4
4
"
,
"@ibiz-template/theme"
:
"^0.0.1-beta.4
5
"
,
"@ibiz-template/vue-util"
:
"^0.0.1-beta.4
4
"
,
"@ibiz-template/vue-util"
:
"^0.0.1-beta.4
5
"
,
"@ibiz/dynamic-model-api"
:
"^2.1.11"
,
"@ibiz/dynamic-model-api"
:
"^2.1.11"
,
"dayjs"
:
"^1.11.7"
,
"dayjs"
:
"^1.11.7"
,
"lodash-es"
:
"^4.17.21"
,
"lodash-es"
:
"^4.17.21"
,
...
...
app_Web/pnpm-lock.yaml
浏览文件 @
d7a5f5bd
...
@@ -4,14 +4,14 @@ specifiers:
...
@@ -4,14 +4,14 @@ specifiers:
'
@commitlint/cli'
:
^17.3.0
'
@commitlint/cli'
:
^17.3.0
'
@commitlint/config-conventional'
:
^17.3.0
'
@commitlint/config-conventional'
:
^17.3.0
'
@floating-ui/dom'
:
^1.0.11
'
@floating-ui/dom'
:
^1.0.11
'
@ibiz-template/command'
:
^0.0.1-beta.4
4
'
@ibiz-template/command'
:
^0.0.1-beta.4
5
'
@ibiz-template/controller'
:
^0.0.1-beta.4
4
'
@ibiz-template/controller'
:
^0.0.1-beta.4
5
'
@ibiz-template/core'
:
^0.0.1-beta.4
4
'
@ibiz-template/core'
:
^0.0.1-beta.4
5
'
@ibiz-template/model'
:
^0.0.1-beta.4
4
'
@ibiz-template/model'
:
^0.0.1-beta.4
5
'
@ibiz-template/runtime'
:
^0.0.1-beta.4
4
'
@ibiz-template/runtime'
:
^0.0.1-beta.4
5
'
@ibiz-template/service'
:
^0.0.1-beta.4
4
'
@ibiz-template/service'
:
^0.0.1-beta.4
5
'
@ibiz-template/theme'
:
^0.0.1-beta.4
4
'
@ibiz-template/theme'
:
^0.0.1-beta.4
5
'
@ibiz-template/vue-util'
:
^0.0.1-beta.4
4
'
@ibiz-template/vue-util'
:
^0.0.1-beta.4
5
'
@ibiz/dynamic-model-api'
:
^2.1.11
'
@ibiz/dynamic-model-api'
:
^2.1.11
'
@types/lodash-es'
:
^4.17.6
'
@types/lodash-es'
:
^4.17.6
'
@types/node'
:
^18.11.15
'
@types/node'
:
^18.11.15
...
@@ -63,14 +63,14 @@ specifiers:
...
@@ -63,14 +63,14 @@ specifiers:
dependencies
:
dependencies
:
'
@floating-ui/dom'
:
1.0.11
'
@floating-ui/dom'
:
1.0.11
'
@ibiz-template/command'
:
0.0.1-beta.4
4
'
@ibiz-template/command'
:
0.0.1-beta.4
5
'
@ibiz-template/controller'
:
0.0.1-beta.4
4_oxjbnusdps4lblyxtte2ypoxh
m
'
@ibiz-template/controller'
:
0.0.1-beta.4
5_ascd52r4b2mz7q73re4ekobro
m
'
@ibiz-template/core'
:
0.0.1-beta.4
4
_qzytosuu5eg3bvoa74ldx6evva
'
@ibiz-template/core'
:
0.0.1-beta.4
5
_qzytosuu5eg3bvoa74ldx6evva
'
@ibiz-template/model'
:
0.0.1-beta.4
4
_nngk5znuztmoeynqrwf7jk7xse
'
@ibiz-template/model'
:
0.0.1-beta.4
5
_nngk5znuztmoeynqrwf7jk7xse
'
@ibiz-template/runtime'
:
0.0.1-beta.4
4_jknvc3m3pbv7cj7kghad7zxdne
'
@ibiz-template/runtime'
:
0.0.1-beta.4
5_vb3m65ek2qqwieoxowjqlpfbfm
'
@ibiz-template/service'
:
0.0.1-beta.4
4_kcrltozjoki7oueymgwgiwiulq
'
@ibiz-template/service'
:
0.0.1-beta.4
5_rti225zbzf663o3ut5kaezgz7i
'
@ibiz-template/theme'
:
0.0.1-beta.4
4
'
@ibiz-template/theme'
:
0.0.1-beta.4
5
'
@ibiz-template/vue-util'
:
0.0.1-beta.4
4_tzwjhizx3xe4lnwqrqkmwkieae
'
@ibiz-template/vue-util'
:
0.0.1-beta.4
5_y2pdy62rrm3ctb4esspfmsho5a
'
@ibiz/dynamic-model-api'
:
2.1.11_qx-util@0.4.4
'
@ibiz/dynamic-model-api'
:
2.1.11_qx-util@0.4.4
dayjs
:
1.11.7
dayjs
:
1.11.7
lodash-es
:
4.17.21
lodash-es
:
4.17.21
...
@@ -891,14 +891,14 @@ packages:
...
@@ -891,14 +891,14 @@ packages:
resolution
:
{
integrity
:
sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==
}
resolution
:
{
integrity
:
sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==
}
dev
:
true
dev
:
true
/@ibiz-template/command/0.0.1-beta.4
4
:
/@ibiz-template/command/0.0.1-beta.4
5
:
resolution
:
{
integrity
:
sha512-
KEzd0WO1YlaW28ptLbELeZ88f8Hm4DQYxqCjamRFnlUAvInIaae8Zl55VNqfN/PWWbyHAGfmzcaQxeAyG4mbkw
==
}
resolution
:
{
integrity
:
sha512-
o/LTY7RiU/pn+vClhoSJLMdaO+l8lECT9UEyPCdrqwYdLo0/xbBiIPhYqHiCrmNpABIbsOEUlRo2i+aZb2R42Q
==
}
dependencies
:
dependencies
:
qx-util
:
0.4.4
qx-util
:
0.4.4
dev
:
false
dev
:
false
/@ibiz-template/controller/0.0.1-beta.4
4_oxjbnusdps4lblyxtte2ypoxh
m
:
/@ibiz-template/controller/0.0.1-beta.4
5_ascd52r4b2mz7q73re4ekobro
m
:
resolution
:
{
integrity
:
sha512-
OWoibmIx0YyB+Bd7YlZQkWDr2qeaZr910p85N/i0QKWjzanImv7xk2e3DupIWRbtXid6IukCzMw/K5nK7kLN+w
==
}
resolution
:
{
integrity
:
sha512-
Bc0oJgvH2QoAM3b/BLkxeVea1yZv5+oFIQAnkuDfFGoJ/4P52cYGXJhHjOGJB40w1zlPJOM32Wj2mLNVc8C2bA
==
}
peerDependencies
:
peerDependencies
:
'
@ibiz-template/core'
:
^0.0.1-beta.30
'
@ibiz-template/core'
:
^0.0.1-beta.30
'
@ibiz-template/model'
:
^0.0.1-beta.30
'
@ibiz-template/model'
:
^0.0.1-beta.30
...
@@ -908,10 +908,10 @@ packages:
...
@@ -908,10 +908,10 @@ packages:
qs
:
^6.11.0
qs
:
^6.11.0
qx-util
:
^0.4.4
qx-util
:
^0.4.4
dependencies
:
dependencies
:
'
@ibiz-template/core'
:
0.0.1-beta.4
4
_qzytosuu5eg3bvoa74ldx6evva
'
@ibiz-template/core'
:
0.0.1-beta.4
5
_qzytosuu5eg3bvoa74ldx6evva
'
@ibiz-template/model'
:
0.0.1-beta.4
4
_nngk5znuztmoeynqrwf7jk7xse
'
@ibiz-template/model'
:
0.0.1-beta.4
5
_nngk5znuztmoeynqrwf7jk7xse
'
@ibiz-template/runtime'
:
0.0.1-beta.4
4_jknvc3m3pbv7cj7kghad7zxdne
'
@ibiz-template/runtime'
:
0.0.1-beta.4
5_vb3m65ek2qqwieoxowjqlpfbfm
'
@ibiz-template/service'
:
0.0.1-beta.4
4_kcrltozjoki7oueymgwgiwiulq
'
@ibiz-template/service'
:
0.0.1-beta.4
5_rti225zbzf663o3ut5kaezgz7i
async-validator
:
4.2.5
async-validator
:
4.2.5
dayjs
:
1.11.7
dayjs
:
1.11.7
lodash-es
:
4.17.21
lodash-es
:
4.17.21
...
@@ -919,8 +919,8 @@ packages:
...
@@ -919,8 +919,8 @@ packages:
qx-util
:
0.4.4
qx-util
:
0.4.4
dev
:
false
dev
:
false
/@ibiz-template/core/0.0.1-beta.4
4
_qzytosuu5eg3bvoa74ldx6evva
:
/@ibiz-template/core/0.0.1-beta.4
5
_qzytosuu5eg3bvoa74ldx6evva
:
resolution
:
{
integrity
:
sha512-
A0jyXwGnzUszBBlA2ifk+i+FKWRl/SicYBSELnSzsprUp6uYhyRM8UxymgQJ2hvjOu6TLwcnuwZitY7a7SO5hg
==
}
resolution
:
{
integrity
:
sha512-
unVWmpQPuA0hUuweZjS0+vOkErtRYAt4fV8DSLVTESIyHFBKvA56fYLA2Qa750vV1dDELwntvijRYEhRGcPuCA
==
}
peerDependencies
:
peerDependencies
:
lodash-es
:
^4.17.21
lodash-es
:
^4.17.21
qx-util
:
^0.4.4
qx-util
:
^0.4.4
...
@@ -935,8 +935,8 @@ packages:
...
@@ -935,8 +935,8 @@ packages:
-
debug
-
debug
dev
:
false
dev
:
false
/@ibiz-template/model/0.0.1-beta.4
4
_nngk5znuztmoeynqrwf7jk7xse
:
/@ibiz-template/model/0.0.1-beta.4
5
_nngk5znuztmoeynqrwf7jk7xse
:
resolution
:
{
integrity
:
sha512-
1aTEvgMNdPAv6pvAyt3f5WoQFTE1qJrbEL0XX269eXVVQz1zQeUEOVPdMPFkS/I9JSPjX1InWeJk/lpNEfIpOA
==
}
resolution
:
{
integrity
:
sha512-
OQXFSeCLCAxNeaLGeFuoTGYIRhxnv4dLMGmjwL6c0vJTY8SPWU537ILSsCHsaTyEWNBm5BajpnRzYJYZQUKj2Q
==
}
peerDependencies
:
peerDependencies
:
'
@ibiz/dynamic-model-api'
:
^2.1.11
'
@ibiz/dynamic-model-api'
:
^2.1.11
lodash-es
:
^4.17.21
lodash-es
:
^4.17.21
...
@@ -948,42 +948,42 @@ packages:
...
@@ -948,42 +948,42 @@ packages:
qx-util
:
0.4.4
qx-util
:
0.4.4
dev
:
false
dev
:
false
/@ibiz-template/runtime/0.0.1-beta.4
4_jknvc3m3pbv7cj7kghad7zxdne
:
/@ibiz-template/runtime/0.0.1-beta.4
5_vb3m65ek2qqwieoxowjqlpfbfm
:
resolution
:
{
integrity
:
sha512-
4AOwlRM2oWtlYzoOIJtS1i/9M3EhPxRORdVOnCg3PM89hC6Vs8VWK8sW+xPfqX8FHhjMSQFXRoNzkFGeFl4/cQ
==
}
resolution
:
{
integrity
:
sha512-
zke/3sHy4E2ikC3x5yrq13zZac9BzmRr0tOjPckLmcmZhNqkURXu+ob2E1r8T0pwouXh3RLsMe7R4ilDDm7kOw
==
}
peerDependencies
:
peerDependencies
:
'
@ibiz-template/core'
:
^0.0.1-beta.30
'
@ibiz-template/core'
:
^0.0.1-beta.30
'
@ibiz-template/model'
:
^0.0.1-beta.30
'
@ibiz-template/model'
:
^0.0.1-beta.30
'
@ibiz-template/service'
:
^0.0.1-beta.30
'
@ibiz-template/service'
:
^0.0.1-beta.30
qx-util
:
^0.4.4
qx-util
:
^0.4.4
dependencies
:
dependencies
:
'
@ibiz-template/command'
:
0.0.1-beta.4
4
'
@ibiz-template/command'
:
0.0.1-beta.4
5
'
@ibiz-template/core'
:
0.0.1-beta.4
4
_qzytosuu5eg3bvoa74ldx6evva
'
@ibiz-template/core'
:
0.0.1-beta.4
5
_qzytosuu5eg3bvoa74ldx6evva
'
@ibiz-template/model'
:
0.0.1-beta.4
4
_nngk5znuztmoeynqrwf7jk7xse
'
@ibiz-template/model'
:
0.0.1-beta.4
5
_nngk5znuztmoeynqrwf7jk7xse
'
@ibiz-template/service'
:
0.0.1-beta.4
4_kcrltozjoki7oueymgwgiwiulq
'
@ibiz-template/service'
:
0.0.1-beta.4
5_rti225zbzf663o3ut5kaezgz7i
qs
:
6.11.0
qs
:
6.11.0
qx-util
:
0.4.4
qx-util
:
0.4.4
dev
:
false
dev
:
false
/@ibiz-template/service/0.0.1-beta.4
4_kcrltozjoki7oueymgwgiwiulq
:
/@ibiz-template/service/0.0.1-beta.4
5_rti225zbzf663o3ut5kaezgz7i
:
resolution
:
{
integrity
:
sha512-
kCZ7nj8Ul0T84cbO5+ugjvasXnD/gc2P2svyYflrLLWtLne7qhiW6qk51s3gvwQeNsj/yI5hkiZ74MhaC9+mNg
==
}
resolution
:
{
integrity
:
sha512-
xFYABBbrJJMInwQvDTTX8tlDGVbJiB/Fj5pa9JPWIwy97NcODObeoJkFk1BQy2HnTwJiOATbRL+s4E2adRSdnw
==
}
peerDependencies
:
peerDependencies
:
'
@ibiz-template/core'
:
^0.0.1-beta.30
'
@ibiz-template/core'
:
^0.0.1-beta.30
'
@ibiz-template/model'
:
^0.0.1-beta.30
'
@ibiz-template/model'
:
^0.0.1-beta.30
qx-util
:
^0.4.4
qx-util
:
^0.4.4
ramda
:
^0.28.0
ramda
:
^0.28.0
dependencies
:
dependencies
:
'
@ibiz-template/core'
:
0.0.1-beta.4
4
_qzytosuu5eg3bvoa74ldx6evva
'
@ibiz-template/core'
:
0.0.1-beta.4
5
_qzytosuu5eg3bvoa74ldx6evva
'
@ibiz-template/model'
:
0.0.1-beta.4
4
_nngk5znuztmoeynqrwf7jk7xse
'
@ibiz-template/model'
:
0.0.1-beta.4
5
_nngk5znuztmoeynqrwf7jk7xse
qx-util
:
0.4.4
qx-util
:
0.4.4
ramda
:
0.28.0
ramda
:
0.28.0
dev
:
false
dev
:
false
/@ibiz-template/theme/0.0.1-beta.4
4
:
/@ibiz-template/theme/0.0.1-beta.4
5
:
resolution
:
{
integrity
:
sha512-
sYdE5XuKglrRSWWxdMVvLNURzLkhHaxNRAVXWS5ThyPsk9v529/ZnN4Am/y/t58y9riqodx+DkL+HQwSsbhGzw
==
}
resolution
:
{
integrity
:
sha512-
lsgfyUqFUOIZWd34qKd2pubpzmfeaSRe81IQEkcdOBWhd5UdBzDfY4ChQhs9AQohMZXct1l+OBk2pDGi7TJNTQ
==
}
dev
:
false
dev
:
false
/@ibiz-template/vue-util/0.0.1-beta.4
4_tzwjhizx3xe4lnwqrqkmwkieae
:
/@ibiz-template/vue-util/0.0.1-beta.4
5_y2pdy62rrm3ctb4esspfmsho5a
:
resolution
:
{
integrity
:
sha512-
qHHAGg8grboFWHH46KI+UrFHJGjVLqevjmo3EASUKH2iNgD4yANMTU+sRTgIT0Bp4CqxcHllpMY4959rFfqsB
A==
}
resolution
:
{
integrity
:
sha512-
rvmLnQxLQJQBxXV3KwAy7w39RgN3wm1rE9B1R6csGWB8hyou0z9OwJygIz9afAPd1rVmK3LHMi7OVKVPOVfBk
A==
}
peerDependencies
:
peerDependencies
:
'
@ibiz-template/controller'
:
^0.0.1-beta.30
'
@ibiz-template/controller'
:
^0.0.1-beta.30
'
@ibiz-template/core'
:
^0.0.1-beta.30
'
@ibiz-template/core'
:
^0.0.1-beta.30
...
@@ -994,9 +994,9 @@ packages:
...
@@ -994,9 +994,9 @@ packages:
vue
:
^2.7.14
vue
:
^2.7.14
vue-router
:
^3.6.5
vue-router
:
^3.6.5
dependencies
:
dependencies
:
'
@ibiz-template/controller'
:
0.0.1-beta.4
4_oxjbnusdps4lblyxtte2ypoxh
m
'
@ibiz-template/controller'
:
0.0.1-beta.4
5_ascd52r4b2mz7q73re4ekobro
m
'
@ibiz-template/core'
:
0.0.1-beta.4
4
_qzytosuu5eg3bvoa74ldx6evva
'
@ibiz-template/core'
:
0.0.1-beta.4
5
_qzytosuu5eg3bvoa74ldx6evva
'
@ibiz-template/model'
:
0.0.1-beta.4
4
_nngk5znuztmoeynqrwf7jk7xse
'
@ibiz-template/model'
:
0.0.1-beta.4
5
_nngk5znuztmoeynqrwf7jk7xse
qs
:
6.11.0
qs
:
6.11.0
qx-util
:
0.4.4
qx-util
:
0.4.4
ramda
:
0.28.0
ramda
:
0.28.0
...
...
app_Web/scripts/git-publish.sh
浏览文件 @
d7a5f5bd
...
@@ -4,6 +4,6 @@ git commit -m "build: 升级底包"
...
@@ -4,6 +4,6 @@ git commit -m "build: 升级底包"
git push
git push
git checkout publish
git checkout publish
git pull
git pull
git merge
master
git merge
vue2
git push
git push
git checkout master
git checkout vue2
\ No newline at end of file
\ No newline at end of file
app_Web/src/components/editor/check-box-list/ibiz-grid-checkbox/ibiz-grid-checkbox.tsx
浏览文件 @
d7a5f5bd
import
{
defineComponent
}
from
'vue'
;
import
{
defineComponent
}
from
'vue'
;
import
{
import
{
getGridEditorEmits
,
getGridInputProps
,
getGridInputProps
,
useGridCellEditor
,
useGridCellEditor
,
useNamespace
,
useNamespace
,
...
@@ -8,13 +9,11 @@ import {
...
@@ -8,13 +9,11 @@ import {
export
const
IBizGridCheckbox
=
defineComponent
({
export
const
IBizGridCheckbox
=
defineComponent
({
name
:
'IBizGridCheckbox'
,
name
:
'IBizGridCheckbox'
,
props
:
getGridInputProps
(),
props
:
getGridInputProps
(),
setup
(
props
)
{
emits
:
getGridEditorEmits
(),
setup
(
props
,
{
emit
})
{
const
ns
=
useNamespace
(
'grid-checkbox'
);
const
ns
=
useNamespace
(
'grid-checkbox'
);
const
{
isInfoMode
,
componentRef
,
onOperateChange
,
onChange
}
=
const
{
isInfoMode
,
componentRef
,
onOperateChange
,
onChange
}
=
useGridCellEditor
(
props
.
rowDataChange
,
props
.
rowSave
,
{
useGridCellEditor
(
props
,
{
emit
});
isDelaySave
:
true
,
});
return
{
return
{
ns
,
ns
,
...
@@ -35,7 +34,7 @@ export const IBizGridCheckbox = defineComponent({
...
@@ -35,7 +34,7 @@ export const IBizGridCheckbox = defineComponent({
{
h
(
'IBizCheckbox'
,
{
{
h
(
'IBizCheckbox'
,
{
props
:
{
props
:
{
...
this
.
$props
,
...
this
.
$props
,
readonly
:
this
.
readonly
||
this
.
isInfoMode
,
readonly
:
this
.
isInfoMode
,
disabled
:
this
.
disabled
,
disabled
:
this
.
disabled
,
},
},
on
:
{
on
:
{
...
...
app_Web/src/components/editor/data-picker/ibiz-grid-picker/ibiz-grid-picker.tsx
浏览文件 @
d7a5f5bd
import
{
defineComponent
,
ref
}
from
'vue'
;
import
{
defineComponent
,
ref
}
from
'vue'
;
import
{
import
{
getGridDataPickerProps
,
getGridDataPickerProps
,
getGridEditorEmits
,
useGridCellEditor
,
useGridCellEditor
,
useNamespace
,
useNamespace
,
}
from
'@ibiz-template/vue-util'
;
}
from
'@ibiz-template/vue-util'
;
...
@@ -8,31 +9,28 @@ import {
...
@@ -8,31 +9,28 @@ import {
export
const
IBizGridPicker
=
defineComponent
({
export
const
IBizGridPicker
=
defineComponent
({
name
:
'IBizGridPicker'
,
name
:
'IBizGridPicker'
,
props
:
getGridDataPickerProps
(),
props
:
getGridDataPickerProps
(),
setup
(
props
)
{
emits
:
getGridEditorEmits
(),
setup
(
props
,
{
emit
})
{
const
ns
=
useNamespace
(
'grid-picker'
);
const
ns
=
useNamespace
(
'grid-picker'
);
const
multiple
=
[
'ADDRESSPICKUP_AC'
,
'ADDRESSPICKUP'
].
includes
(
props
.
controller
.
model
.
editorType
,
);
const
provider
=
ref
();
const
provider
=
ref
();
ibiz
.
register
.
editor
.
get
(
props
.
controller
.
model
).
then
(
value
=>
{
ibiz
.
register
.
editor
.
get
(
props
.
controller
.
model
).
then
(
value
=>
{
provider
.
value
=
value
;
provider
.
value
=
value
;
});
});
const
{
isInfoMode
,
componentRef
,
onOperateChange
,
onChange
}
=
const
multiple
=
[
'ADDRESSPICKUP_AC'
,
'ADDRESSPICKUP'
].
includes
(
useGridCellEditor
(
props
.
controller
.
model
.
editorType
,
async
(
val
:
unknown
,
name
?:
string
)
=>
{
);
await
props
.
rowDataChange
(
val
,
name
);
// 最后一次值变更是自身的值变更,name为空,此时执行保存
const
{
isInfoMode
,
componentRef
,
onOperateChange
,
onChange
,
onBlur
}
=
if
(
!
multiple
&&
!
name
)
{
useGridCellEditor
(
props
,
{
emit
});
await
props
.
rowSave
();
isInfoMode
.
value
=
true
;
const
onPickerChange
=
async
(
val
:
unknown
,
name
?:
string
)
=>
{
}
// 最后一次值变更是自身的值变更,name为空,此时执行保存
},
await
onChange
(
val
,
name
);
props
.
rowSave
,
if
(
!
multiple
&&
!
name
)
{
{
onBlur
();
isDelaySave
:
true
,
}
},
};
);
return
{
return
{
ns
,
ns
,
...
@@ -40,7 +38,7 @@ export const IBizGridPicker = defineComponent({
...
@@ -40,7 +38,7 @@ export const IBizGridPicker = defineComponent({
componentRef
,
componentRef
,
provider
,
provider
,
onOperateChange
,
onOperateChange
,
onChange
,
on
Picker
Change
,
};
};
},
},
render
(
h
)
{
render
(
h
)
{
...
@@ -55,11 +53,11 @@ export const IBizGridPicker = defineComponent({
...
@@ -55,11 +53,11 @@ export const IBizGridPicker = defineComponent({
h
(
this
.
provider
.
formEditor
,
{
h
(
this
.
provider
.
formEditor
,
{
props
:
{
props
:
{
...
this
.
$props
,
...
this
.
$props
,
readonly
:
this
.
readonly
||
this
.
isInfoMode
,
readonly
:
this
.
isInfoMode
,
disabled
:
this
.
disabled
,
disabled
:
this
.
disabled
,
},
},
on
:
{
on
:
{
change
:
this
.
onChange
,
change
:
this
.
on
Picker
Change
,
operate
:
this
.
onOperateChange
,
operate
:
this
.
onOperateChange
,
},
},
})
}
})
}
...
...
app_Web/src/components/editor/data-picker/ibiz-picker/ibiz-picker.tsx
浏览文件 @
d7a5f5bd
...
@@ -84,6 +84,7 @@ export const IBizPicker = defineComponent({
...
@@ -84,6 +84,7 @@ export const IBizPicker = defineComponent({
const
onACSelect
=
async
(
item
:
IData
)
=>
{
const
onACSelect
=
async
(
item
:
IData
)
=>
{
await
handleDataSelect
(
item
);
await
handleDataSelect
(
item
);
isShowAll
.
value
=
true
;
isShowAll
.
value
=
true
;
emit
(
'operate'
,
false
);
};
};
// 搜索
// 搜索
...
@@ -113,10 +114,16 @@ export const IBizPicker = defineComponent({
...
@@ -113,10 +114,16 @@ export const IBizPicker = defineComponent({
// 聚焦
// 聚焦
const
onFocus
=
(
e
:
IData
)
=>
{
const
onFocus
=
(
e
:
IData
)
=>
{
emit
(
'operate'
,
true
);
const
query
=
isShowAll
.
value
?
''
:
e
.
target
.
value
;
const
query
=
isShowAll
.
value
?
''
:
e
.
target
.
value
;
onSearch
(
query
);
onSearch
(
query
);
};
};
// 失焦
const
onBlur
=
()
=>
{
emit
(
'operate'
,
false
);
};
const
closeCircle
=
(
c
.
linkView
?
1
:
0
)
+
(
c
.
pickupView
?
1
:
0
);
const
closeCircle
=
(
c
.
linkView
?
1
:
0
)
+
(
c
.
pickupView
?
1
:
0
);
return
{
return
{
...
@@ -131,6 +138,7 @@ export const IBizPicker = defineComponent({
...
@@ -131,6 +138,7 @@ export const IBizPicker = defineComponent({
onClear
,
onClear
,
onFocus
,
onFocus
,
closeCircle
,
closeCircle
,
onBlur
,
};
};
},
},
render
()
{
render
()
{
...
@@ -177,10 +185,12 @@ export const IBizPicker = defineComponent({
...
@@ -177,10 +185,12 @@ export const IBizPicker = defineComponent({
placeholder=
{
this
.
c
.
placeHolder
}
placeholder=
{
this
.
c
.
placeHolder
}
placement=
'bottom'
placement=
'bottom'
clearable
clearable
transfer
transfer
-
class
-
name=
{
this
.
ns
.
e
(
'transfer'
)
}
transfer
-
class
-
name=
{
this
.
ns
.
e
(
'transfer'
)
}
on
-
on
-
focus=
{
this
.
onFocus
}
on
-
on
-
focus=
{
this
.
onFocus
}
on
-
on
-
search=
{
this
.
onSearch
}
on
-
on
-
search=
{
this
.
onSearch
}
on
-
on
-
clear=
{
this
.
onClear
}
on
-
on
-
clear=
{
this
.
onClear
}
on
-
on
-
blur=
{
this
.
onBlur
}
disabled=
{
this
.
disabled
}
disabled=
{
this
.
disabled
}
>
>
{
this
.
items
.
map
(
item
=>
{
{
this
.
items
.
map
(
item
=>
{
...
...
app_Web/src/components/editor/date-picker/ibiz-grid-date-picker/ibiz-grid-date-picker.tsx
浏览文件 @
d7a5f5bd
import
{
defineComponent
}
from
'vue'
;
import
{
defineComponent
}
from
'vue'
;
import
{
import
{
getGridDatePickerProps
,
getGridDatePickerProps
,
getGridEditorEmits
,
useGridCellEditor
,
useGridCellEditor
,
useNamespace
,
useNamespace
,
}
from
'@ibiz-template/vue-util'
;
}
from
'@ibiz-template/vue-util'
;
...
@@ -8,16 +9,16 @@ import {
...
@@ -8,16 +9,16 @@ import {
export
const
IBizGridDatePicker
=
defineComponent
({
export
const
IBizGridDatePicker
=
defineComponent
({
name
:
'IBizGridDatePicker'
,
name
:
'IBizGridDatePicker'
,
props
:
getGridDatePickerProps
(),
props
:
getGridDatePickerProps
(),
setup
(
props
)
{
emits
:
getGridEditorEmits
(),
setup
(
props
,
{
emit
})
{
const
ns
=
useNamespace
(
'grid-date-picker'
);
const
ns
=
useNamespace
(
'grid-date-picker'
);
const
{
isInfoMode
,
componentRef
,
onOperateChange
,
onChange
}
=
const
{
isInfoMode
,
componentRef
,
autoFocus
,
onOperateChange
,
onChange
}
=
useGridCellEditor
(
props
.
rowDataChange
,
props
.
rowSave
,
{
useGridCellEditor
(
props
,
{
emit
});
isDelaySave
:
true
,
});
return
{
return
{
ns
,
ns
,
isInfoMode
,
isInfoMode
,
autoFocus
,
componentRef
,
componentRef
,
onOperateChange
,
onOperateChange
,
onChange
,
onChange
,
...
@@ -34,9 +35,9 @@ export const IBizGridDatePicker = defineComponent({
...
@@ -34,9 +35,9 @@ export const IBizGridDatePicker = defineComponent({
{
h
(
'IBizDatePicker'
,
{
{
h
(
'IBizDatePicker'
,
{
props
:
{
props
:
{
...
this
.
$props
,
...
this
.
$props
,
readonly
:
this
.
readonly
||
this
.
isInfoMode
,
readonly
:
this
.
isInfoMode
,
disabled
:
this
.
disabled
,
disabled
:
this
.
disabled
,
autoFocus
:
t
rue
,
autoFocus
:
t
his
.
autoFocus
,
},
},
on
:
{
on
:
{
change
:
this
.
onChange
,
change
:
this
.
onChange
,
...
...
app_Web/src/components/editor/dropdown-list/ibiz-grid-dropdown/ibiz-grid-dropdown.tsx
浏览文件 @
d7a5f5bd
import
{
defineComponent
}
from
'vue'
;
import
{
defineComponent
}
from
'vue'
;
import
{
import
{
getGridDropdownProps
,
getGridDropdownProps
,
getGridEditorEmits
,
useGridCellEditor
,
useGridCellEditor
,
useNamespace
,
useNamespace
,
}
from
'@ibiz-template/vue-util'
;
}
from
'@ibiz-template/vue-util'
;
...
@@ -8,19 +9,35 @@ import {
...
@@ -8,19 +9,35 @@ import {
export
const
IBizGridDropdown
=
defineComponent
({
export
const
IBizGridDropdown
=
defineComponent
({
name
:
'IBizGridDropdown'
,
name
:
'IBizGridDropdown'
,
props
:
getGridDropdownProps
(),
props
:
getGridDropdownProps
(),
setup
(
props
)
{
emits
:
getGridEditorEmits
(),
setup
(
props
,
{
emit
})
{
const
ns
=
useNamespace
(
'grid-dropdown'
);
const
ns
=
useNamespace
(
'grid-dropdown'
);
const
{
isInfoMode
,
componentRef
,
onOperateChange
,
onChange
}
=
const
{
useGridCellEditor
(
props
.
rowDataChange
,
props
.
rowSave
,
{
isInfoMode
,
isDelaySave
:
props
.
controller
.
multiple
,
autoFocus
,
});
componentRef
,
onOperateChange
,
onChange
,
onBlur
,
}
=
useGridCellEditor
(
props
,
{
emit
,
});
const
onDropDownChange
=
async
(
val
:
unknown
,
name
?:
string
)
=>
{
await
onChange
(
val
,
name
);
// 单选时失焦触发行编辑失焦
if
(
!
props
.
controller
.
multiple
)
{
onBlur
();
}
};
return
{
return
{
ns
,
ns
,
isInfoMode
,
isInfoMode
,
autoFocus
,
componentRef
,
componentRef
,
onOperateChange
,
onOperateChange
,
onChange
,
on
DropDown
Change
,
};
};
},
},
render
(
h
)
{
render
(
h
)
{
...
@@ -34,12 +51,12 @@ export const IBizGridDropdown = defineComponent({
...
@@ -34,12 +51,12 @@ export const IBizGridDropdown = defineComponent({
{
h
(
'IBizDropdown'
,
{
{
h
(
'IBizDropdown'
,
{
props
:
{
props
:
{
...
this
.
$props
,
...
this
.
$props
,
readonly
:
this
.
readonly
||
this
.
isInfoMode
,
readonly
:
this
.
isInfoMode
,
disabled
:
this
.
disabled
,
disabled
:
this
.
disabled
,
autoFocus
:
t
rue
,
autoFocus
:
t
his
.
autoFocus
,
},
},
on
:
{
on
:
{
change
:
this
.
onChange
,
change
:
this
.
on
DropDown
Change
,
operate
:
this
.
onOperateChange
,
operate
:
this
.
onOperateChange
,
},
},
})
}
})
}
...
...
app_Web/src/components/editor/grid-editor/grid-editor.tsx
浏览文件 @
d7a5f5bd
...
@@ -15,7 +15,12 @@ export const GridEditor = defineComponent({
...
@@ -15,7 +15,12 @@ export const GridEditor = defineComponent({
setup
(
props
)
{
setup
(
props
)
{
const
ns
=
useNamespace
(
'grid-editor'
);
const
ns
=
useNamespace
(
'grid-editor'
);
const
editable
=
computed
(()
=>
{
const
editable
=
computed
(()
=>
{
return
!
props
.
disabled
&&
!
props
.
readonly
;
return
(
!
props
.
disabled
&&
!
props
.
readonly
&&
// 单元格模式下才会显示悬浮编辑状态
ibiz
.
config
.
gridEditShowMode
===
'cell'
);
});
});
return
{
ns
,
editable
};
return
{
ns
,
editable
};
},
},
...
...
app_Web/src/components/editor/radio-button-list/ibiz-grid-radio/ibiz-grid-radio.tsx
浏览文件 @
d7a5f5bd
import
{
defineComponent
}
from
'vue'
;
import
{
defineComponent
}
from
'vue'
;
import
{
import
{
getGridEditorEmits
,
getGridRadioProps
,
getGridRadioProps
,
useGridCellEditor
,
useGridCellEditor
,
useNamespace
,
useNamespace
,
...
@@ -8,19 +9,26 @@ import {
...
@@ -8,19 +9,26 @@ import {
export
const
IBizGridRadio
=
defineComponent
({
export
const
IBizGridRadio
=
defineComponent
({
name
:
'IBizGridRadio'
,
name
:
'IBizGridRadio'
,
props
:
getGridRadioProps
(),
props
:
getGridRadioProps
(),
setup
(
props
)
{
emits
:
getGridEditorEmits
(),
setup
(
props
,
{
emit
})
{
const
ns
=
useNamespace
(
'grid-radio'
);
const
ns
=
useNamespace
(
'grid-radio'
);
const
{
isInfoMode
,
componentRef
,
onOperateChange
,
onChange
}
=
const
{
isInfoMode
,
componentRef
,
onOperateChange
,
onChange
,
onBlur
}
=
useGridCellEditor
(
props
.
rowDataChange
,
props
.
rowSave
,
{
useGridCellEditor
(
props
,
{
isDelaySave
:
false
,
emit
,
});
});
const
onRadioChange
=
async
(
val
:
unknown
,
name
?:
string
)
=>
{
await
onChange
(
val
,
name
);
// 选中后就失焦
onBlur
();
};
return
{
return
{
ns
,
ns
,
isInfoMode
,
isInfoMode
,
componentRef
,
componentRef
,
onOperateChange
,
onOperateChange
,
onChange
,
on
Radio
Change
,
};
};
},
},
render
(
h
)
{
render
(
h
)
{
...
@@ -34,11 +42,11 @@ export const IBizGridRadio = defineComponent({
...
@@ -34,11 +42,11 @@ export const IBizGridRadio = defineComponent({
{
h
(
'IBizRadio'
,
{
{
h
(
'IBizRadio'
,
{
props
:
{
props
:
{
...
this
.
$props
,
...
this
.
$props
,
readonly
:
this
.
readonly
||
this
.
isInfoMode
,
readonly
:
this
.
isInfoMode
,
disabled
:
this
.
disabled
,
disabled
:
this
.
disabled
,
},
},
on
:
{
on
:
{
change
:
this
.
onChange
,
change
:
this
.
on
Radio
Change
,
operate
:
this
.
onOperateChange
,
operate
:
this
.
onOperateChange
,
},
},
})
}
})
}
...
...
app_Web/src/components/editor/text-box/ibiz-grid-input-number/ibiz-grid-input-number.tsx
浏览文件 @
d7a5f5bd
import
{
defineComponent
}
from
'vue'
;
import
{
defineComponent
}
from
'vue'
;
import
{
import
{
getGridEditorEmits
,
getGridInputNumberProps
,
getGridInputNumberProps
,
useGridCellEditor
,
useGridCellEditor
,
useNamespace
,
useNamespace
,
...
@@ -8,16 +9,16 @@ import {
...
@@ -8,16 +9,16 @@ import {
export
const
IBizGridInputNumber
=
defineComponent
({
export
const
IBizGridInputNumber
=
defineComponent
({
name
:
'IBizGridInputNumber'
,
name
:
'IBizGridInputNumber'
,
props
:
getGridInputNumberProps
(),
props
:
getGridInputNumberProps
(),
setup
(
props
)
{
emits
:
getGridEditorEmits
(),
setup
(
props
,
{
emit
})
{
const
ns
=
useNamespace
(
'grid-input-number'
);
const
ns
=
useNamespace
(
'grid-input-number'
);
const
{
isInfoMode
,
componentRef
,
onOperateChange
,
onChange
}
=
const
{
isInfoMode
,
autoFocus
,
componentRef
,
onOperateChange
,
onChange
}
=
useGridCellEditor
(
props
.
rowDataChange
,
props
.
rowSave
,
{
useGridCellEditor
(
props
,
{
emit
});
isDelaySave
:
true
,
});
return
{
return
{
ns
,
ns
,
isInfoMode
,
isInfoMode
,
autoFocus
,
componentRef
,
componentRef
,
onOperateChange
,
onOperateChange
,
onChange
,
onChange
,
...
@@ -34,9 +35,9 @@ export const IBizGridInputNumber = defineComponent({
...
@@ -34,9 +35,9 @@ export const IBizGridInputNumber = defineComponent({
{
h
(
'IBizInputNumber'
,
{
{
h
(
'IBizInputNumber'
,
{
props
:
{
props
:
{
...
this
.
$props
,
...
this
.
$props
,
readonly
:
this
.
readonly
||
this
.
isInfoMode
,
readonly
:
this
.
isInfoMode
,
disabled
:
this
.
disabled
,
disabled
:
this
.
disabled
,
autoFocus
:
t
rue
,
autoFocus
:
t
his
.
autoFocus
,
},
},
on
:
{
on
:
{
change
:
this
.
onChange
,
change
:
this
.
onChange
,
...
...
app_Web/src/components/editor/text-box/ibiz-grid-input/ibiz-grid-input.tsx
浏览文件 @
d7a5f5bd
import
{
defineComponent
}
from
'vue'
;
import
{
defineComponent
}
from
'vue'
;
import
{
import
{
getGridEditorEmits
,
getGridInputProps
,
getGridInputProps
,
useGridCellEditor
,
useGridCellEditor
,
useNamespace
,
useNamespace
,
...
@@ -8,16 +9,16 @@ import {
...
@@ -8,16 +9,16 @@ import {
export
const
IBizGridInput
=
defineComponent
({
export
const
IBizGridInput
=
defineComponent
({
name
:
'IBizGridInput'
,
name
:
'IBizGridInput'
,
props
:
getGridInputProps
(),
props
:
getGridInputProps
(),
setup
(
props
)
{
emits
:
getGridEditorEmits
(),
setup
(
props
,
{
emit
})
{
const
ns
=
useNamespace
(
'grid-input'
);
const
ns
=
useNamespace
(
'grid-input'
);
const
{
isInfoMode
,
componentRef
,
onOperateChange
,
onChange
}
=
const
{
isInfoMode
,
autoFocus
,
componentRef
,
onOperateChange
,
onChange
}
=
useGridCellEditor
(
props
.
rowDataChange
,
props
.
rowSave
,
{
useGridCellEditor
(
props
,
{
emit
});
isDelaySave
:
true
,
});
return
{
return
{
ns
,
ns
,
isInfoMode
,
isInfoMode
,
autoFocus
,
componentRef
,
componentRef
,
onOperateChange
,
onOperateChange
,
onChange
,
onChange
,
...
@@ -34,9 +35,9 @@ export const IBizGridInput = defineComponent({
...
@@ -34,9 +35,9 @@ export const IBizGridInput = defineComponent({
{
h
(
'IBizInput'
,
{
{
h
(
'IBizInput'
,
{
props
:
{
props
:
{
...
this
.
$props
,
...
this
.
$props
,
readonly
:
this
.
readonly
||
this
.
isInfoMode
,
readonly
:
this
.
isInfoMode
,
disabled
:
this
.
disabled
,
disabled
:
this
.
disabled
,
autoFocus
:
t
rue
,
autoFocus
:
t
his
.
autoFocus
,
},
},
on
:
{
on
:
{
change
:
this
.
onChange
,
change
:
this
.
onChange
,
...
...
app_Web/src/components/editor/text-box/ibiz-input/ibiz-input.tsx
浏览文件 @
d7a5f5bd
...
@@ -56,10 +56,15 @@ export const IBizInput = defineComponent({
...
@@ -56,10 +56,15 @@ export const IBizInput = defineComponent({
let
isDebounce
=
false
;
let
isDebounce
=
false
;
let
awaitSearch
:
()
=>
void
;
let
awaitSearch
:
()
=>
void
;
let
blurCacheValue
:
string
|
undefined
;
// 防抖值变更回调
// 防抖值变更回调
const
debounceChange
=
debounce
(
const
debounceChange
=
debounce
(
(
e
:
IData
)
=>
{
(
e
:
IData
)
=>
{
emit
(
'change'
,
e
.
target
.
value
);
// 拦截掉blur触发后change
if
(
blurCacheValue
!==
e
.
target
.
value
)
{
emit
(
'change'
,
e
.
target
.
value
);
}
blurCacheValue
=
undefined
;
isDebounce
=
false
;
isDebounce
=
false
;
if
(
awaitSearch
)
{
if
(
awaitSearch
)
{
awaitSearch
();
awaitSearch
();
...
@@ -84,6 +89,16 @@ export const IBizInput = defineComponent({
...
@@ -84,6 +89,16 @@ export const IBizInput = defineComponent({
}
}
};
};
/**
* blur时马上抛值变更
* @author lxm
* @date 2023-03-06 06:36:23
*/
const
handleBlur
=
()
=>
{
blurCacheValue
=
inputRef
.
value
.
currentValue
;
emit
(
'change'
,
blurCacheValue
);
};
// 自动聚焦
// 自动聚焦
if
(
props
.
autoFocus
)
{
if
(
props
.
autoFocus
)
{
watch
(
inputRef
,
newVal
=>
{
watch
(
inputRef
,
newVal
=>
{
...
@@ -101,6 +116,7 @@ export const IBizInput = defineComponent({
...
@@ -101,6 +116,7 @@ export const IBizInput = defineComponent({
currentVal
,
currentVal
,
handleChange
,
handleChange
,
handleKeyUp
,
handleKeyUp
,
handleBlur
,
inputRef
,
inputRef
,
};
};
},
},
...
@@ -124,6 +140,7 @@ export const IBizInput = defineComponent({
...
@@ -124,6 +140,7 @@ export const IBizInput = defineComponent({
type=
{
this
.
type
}
type=
{
this
.
type
}
rows=
{
this
.
rows
}
rows=
{
this
.
rows
}
on
-
on
-
change=
{
this
.
handleChange
}
on
-
on
-
change=
{
this
.
handleChange
}
on
-
on
-
blur=
{
this
.
handleBlur
}
nativeOnkeyup=
{
this
.
handleKeyUp
}
nativeOnkeyup=
{
this
.
handleKeyUp
}
class=
{
this
.
ns
.
b
(
'input'
)
}
class=
{
this
.
ns
.
b
(
'input'
)
}
disabled=
{
this
.
disabled
}
disabled=
{
this
.
disabled
}
...
...
app_Web/src/components/editor/upload/ibiz-grid-file-upload/ibiz-grid-file-upload.tsx
浏览文件 @
d7a5f5bd
/* eslint-disable no-param-reassign */
/* eslint-disable no-param-reassign */
import
{
RuntimeError
}
from
'@ibiz-template/core'
;
import
{
RuntimeError
}
from
'@ibiz-template/core'
;
import
{
import
{
getGridEditorEmits
,
getGridUploadProps
,
getGridUploadProps
,
useEventListener
,
useEventListener
,
useNamespace
,
useNamespace
,
...
@@ -17,7 +18,8 @@ import '@ibiz-template/theme/style/components/editor/ibiz-grid-file-upload/ibiz-
...
@@ -17,7 +18,8 @@ import '@ibiz-template/theme/style/components/editor/ibiz-grid-file-upload/ibiz-
export
const
IBizGridFileUpload
=
defineComponent
({
export
const
IBizGridFileUpload
=
defineComponent
({
name
:
'IBizGridFileUpload'
,
name
:
'IBizGridFileUpload'
,
props
:
getGridUploadProps
(),
props
:
getGridUploadProps
(),
setup
(
props
)
{
emits
:
getGridEditorEmits
(),
setup
(
props
,
{
emit
})
{
const
ns
=
useNamespace
(
'grid-file-upload'
);
const
ns
=
useNamespace
(
'grid-file-upload'
);
// 初始化文件上传编辑器的数据解析
// 初始化文件上传编辑器的数据解析
...
@@ -80,14 +82,14 @@ export const IBizGridFileUpload = defineComponent({
...
@@ -80,14 +82,14 @@ export const IBizGridFileUpload = defineComponent({
resultFiles
.
map
(
file
=>
({
name
:
file
.
name
,
id
:
file
.
id
})),
resultFiles
.
map
(
file
=>
({
name
:
file
.
name
,
id
:
file
.
id
})),
)
)
:
null
;
:
null
;
await
props
.
rowDataChange
(
valueStr
);
emit
(
'change'
,
valueStr
);
await
props
.
rowSave
(
);
emit
(
'rowSave'
);
}
}
};
};
// 非禁用的时候点击打开飘窗
// 非禁用
和只读
的时候点击打开飘窗
useEventListener
(
componentRef
,
'click'
,
_evt
=>
{
useEventListener
(
componentRef
,
'click'
,
_evt
=>
{
if
(
!
props
.
disabled
)
{
if
(
!
props
.
disabled
&&
!
props
.
readonly
)
{
openPopover
();
openPopover
();
}
}
});
});
...
...
app_Web/src/components/widgets/grid-control/grid-field-edit-column/grid-field-edit-column.tsx
浏览文件 @
d7a5f5bd
...
@@ -87,7 +87,10 @@ export const GridFieldEditColumn = defineComponent({
...
@@ -87,7 +87,10 @@ export const GridFieldEditColumn = defineComponent({
// 单元格行编辑下,单个出禁用无意义,所以禁用走的还是只读
// 单元格行编辑下,单个出禁用无意义,所以禁用走的还是只读
disabled
:
false
,
disabled
:
false
,
readonly
:
this
.
isReadonly
,
readonly
:
this
.
isReadonly
,
rowDataChange
:
this
.
rowDataChange
.
bind
(
this
),
hasError
:
!!
this
.
row
.
errors
[
codeName
],
},
on
:
{
change
:
this
.
rowDataChange
.
bind
(
this
),
rowSave
:
this
.
rowSave
.
bind
(
this
),
rowSave
:
this
.
rowSave
.
bind
(
this
),
},
},
})
}
})
}
...
...
app_Web/src/provider/editor/data-picker-provider.ts
浏览文件 @
d7a5f5bd
...
@@ -26,6 +26,7 @@ export class DataPickerEditorProvider implements IEditorProvider {
...
@@ -26,6 +26,7 @@ export class DataPickerEditorProvider implements IEditorProvider {
componentName
=
'IBizPickerDropDown'
;
componentName
=
'IBizPickerDropDown'
;
break
;
break
;
case
'PICKEREX_LINK'
:
case
'PICKEREX_LINK'
:
case
'PICKEREX_LINKONLY'
:
componentName
=
'IBizPickerLink'
;
componentName
=
'IBizPickerLink'
;
break
;
break
;
case
'ADDRESSPICKUP'
:
case
'ADDRESSPICKUP'
:
...
...
app_Web/src/provider/editor/index.ts
浏览文件 @
d7a5f5bd
...
@@ -83,6 +83,10 @@ export function presetEditorProvider(): void {
...
@@ -83,6 +83,10 @@ export function presetEditorProvider(): void {
'PICKEREX_LINK'
,
'PICKEREX_LINK'
,
new
DataPickerEditorProvider
(
'PICKEREX_LINK'
),
new
DataPickerEditorProvider
(
'PICKEREX_LINK'
),
);
);
editorRegister
.
register
(
'PICKEREX_LINKONLY'
,
new
DataPickerEditorProvider
(
'PICKEREX_LINKONLY'
),
);
editorRegister
.
register
(
editorRegister
.
register
(
'ADDRESSPICKUP'
,
'ADDRESSPICKUP'
,
new
DataPickerEditorProvider
(
'ADDRESSPICKUP'
),
new
DataPickerEditorProvider
(
'ADDRESSPICKUP'
),
...
...
app_Web/yarn.lock
浏览文件 @
d7a5f5bd
...
@@ -637,61 +637,61 @@
...
@@ -637,61 +637,61 @@
resolved "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz"
resolved "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz"
integrity sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==
integrity sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==
"@ibiz-template/command@^0.0.1-beta.4
4
":
"@ibiz-template/command@^0.0.1-beta.4
5
":
version "0.0.1-beta.4
4
"
version "0.0.1-beta.4
5
"
resolved "http://npm.zhr.icu/@ibiz-template%2fcommand/-/command-0.0.1-beta.4
4.tgz#a1e491fb3c0871ac67f082ee239f73b99c9fe324
"
resolved "http://npm.zhr.icu/@ibiz-template%2fcommand/-/command-0.0.1-beta.4
5.tgz#3fcdf95f60416d9398cffacef9abbf50540f8a2d
"
integrity sha512-
KEzd0WO1YlaW28ptLbELeZ88f8Hm4DQYxqCjamRFnlUAvInIaae8Zl55VNqfN/PWWbyHAGfmzcaQxeAyG4mbkw
==
integrity sha512-
o/LTY7RiU/pn+vClhoSJLMdaO+l8lECT9UEyPCdrqwYdLo0/xbBiIPhYqHiCrmNpABIbsOEUlRo2i+aZb2R42Q
==
dependencies:
dependencies:
qx-util "^0.4.4"
qx-util "^0.4.4"
"@ibiz-template/controller@^0.0.1-beta.4
4
":
"@ibiz-template/controller@^0.0.1-beta.4
5
":
version "0.0.1-beta.4
4
"
version "0.0.1-beta.4
5
"
resolved "http://npm.zhr.icu/@ibiz-template%2fcontroller/-/controller-0.0.1-beta.4
4.tgz#7e7bb85f8fb87fc44bb388c144da5d75dee23ac8
"
resolved "http://npm.zhr.icu/@ibiz-template%2fcontroller/-/controller-0.0.1-beta.4
5.tgz#499ab4325b0632ee83d48a6b3e7351641ff427f1
"
integrity sha512-
OWoibmIx0YyB+Bd7YlZQkWDr2qeaZr910p85N/i0QKWjzanImv7xk2e3DupIWRbtXid6IukCzMw/K5nK7kLN+w
==
integrity sha512-
Bc0oJgvH2QoAM3b/BLkxeVea1yZv5+oFIQAnkuDfFGoJ/4P52cYGXJhHjOGJB40w1zlPJOM32Wj2mLNVc8C2bA
==
dependencies:
dependencies:
async-validator "^4.2.5"
async-validator "^4.2.5"
dayjs "^1.11.5"
dayjs "^1.11.5"
"@ibiz-template/core@^0.0.1-beta.4
4
":
"@ibiz-template/core@^0.0.1-beta.4
5
":
version "0.0.1-beta.4
4
"
version "0.0.1-beta.4
5
"
resolved "http://npm.zhr.icu/@ibiz-template%2fcore/-/core-0.0.1-beta.4
4.tgz#ff2be50ff8216895159555e528b02fcca0638c77
"
resolved "http://npm.zhr.icu/@ibiz-template%2fcore/-/core-0.0.1-beta.4
5.tgz#a7886e2b27cfdee14cdc6814e444357091a344bf
"
integrity sha512-
A0jyXwGnzUszBBlA2ifk+i+FKWRl/SicYBSELnSzsprUp6uYhyRM8UxymgQJ2hvjOu6TLwcnuwZitY7a7SO5hg
==
integrity sha512-
unVWmpQPuA0hUuweZjS0+vOkErtRYAt4fV8DSLVTESIyHFBKvA56fYLA2Qa750vV1dDELwntvijRYEhRGcPuCA
==
dependencies:
dependencies:
axios "^1.2.1"
axios "^1.2.1"
loglevel "^1.8.0"
loglevel "^1.8.0"
pluralize "^8.0.0"
pluralize "^8.0.0"
qs "^6.11.0"
qs "^6.11.0"
"@ibiz-template/model@^0.0.1-beta.4
4
":
"@ibiz-template/model@^0.0.1-beta.4
5
":
version "0.0.1-beta.4
4
"
version "0.0.1-beta.4
5
"
resolved "http://npm.zhr.icu/@ibiz-template%2fmodel/-/model-0.0.1-beta.4
4.tgz#ead6c4139e355b79323d367cd0922c802b2227fc
"
resolved "http://npm.zhr.icu/@ibiz-template%2fmodel/-/model-0.0.1-beta.4
5.tgz#4dd27c4c4dfdd9ae3c9cbaa4a20dace8ff79f882
"
integrity sha512-
1aTEvgMNdPAv6pvAyt3f5WoQFTE1qJrbEL0XX269eXVVQz1zQeUEOVPdMPFkS/I9JSPjX1InWeJk/lpNEfIpOA
==
integrity sha512-
OQXFSeCLCAxNeaLGeFuoTGYIRhxnv4dLMGmjwL6c0vJTY8SPWU537ILSsCHsaTyEWNBm5BajpnRzYJYZQUKj2Q
==
dependencies:
dependencies:
"@ibiz/dynamic-model-api" "^2.1.11"
"@ibiz/dynamic-model-api" "^2.1.11"
pluralize "^8.0.0"
pluralize "^8.0.0"
"@ibiz-template/runtime@^0.0.1-beta.4
4
":
"@ibiz-template/runtime@^0.0.1-beta.4
5
":
version "0.0.1-beta.4
4
"
version "0.0.1-beta.4
5
"
resolved "http://npm.zhr.icu/@ibiz-template%2fruntime/-/runtime-0.0.1-beta.4
4.tgz#2fa355071e9ef718fd739395f5c50760a232754c
"
resolved "http://npm.zhr.icu/@ibiz-template%2fruntime/-/runtime-0.0.1-beta.4
5.tgz#340c85ef916c70274b87c7ed0378fc42799a651f
"
integrity sha512-
4AOwlRM2oWtlYzoOIJtS1i/9M3EhPxRORdVOnCg3PM89hC6Vs8VWK8sW+xPfqX8FHhjMSQFXRoNzkFGeFl4/cQ
==
integrity sha512-
zke/3sHy4E2ikC3x5yrq13zZac9BzmRr0tOjPckLmcmZhNqkURXu+ob2E1r8T0pwouXh3RLsMe7R4ilDDm7kOw
==
dependencies:
dependencies:
"@ibiz-template/command" "^0.0.1-beta.4
4
"
"@ibiz-template/command" "^0.0.1-beta.4
5
"
qs "^6.11.0"
qs "^6.11.0"
"@ibiz-template/service@^0.0.1-beta.4
4
":
"@ibiz-template/service@^0.0.1-beta.4
5
":
version "0.0.1-beta.4
4
"
version "0.0.1-beta.4
5
"
resolved "http://npm.zhr.icu/@ibiz-template%2fservice/-/service-0.0.1-beta.4
4.tgz#974a92bafa7e4bbe4c7834c6ed156e8f148155c7
"
resolved "http://npm.zhr.icu/@ibiz-template%2fservice/-/service-0.0.1-beta.4
5.tgz#a973a0def6fdb1d1abc52cb2137d6e018cb4a94d
"
integrity sha512-
kCZ7nj8Ul0T84cbO5+ugjvasXnD/gc2P2svyYflrLLWtLne7qhiW6qk51s3gvwQeNsj/yI5hkiZ74MhaC9+mNg
==
integrity sha512-
xFYABBbrJJMInwQvDTTX8tlDGVbJiB/Fj5pa9JPWIwy97NcODObeoJkFk1BQy2HnTwJiOATbRL+s4E2adRSdnw
==
"@ibiz-template/theme@^0.0.1-beta.4
4
":
"@ibiz-template/theme@^0.0.1-beta.4
5
":
version "0.0.1-beta.4
4
"
version "0.0.1-beta.4
5
"
resolved "http://npm.zhr.icu/@ibiz-template%2ftheme/-/theme-0.0.1-beta.4
4.tgz#ab155378c41b710e4c2d48eea0e1c1993b644fdb
"
resolved "http://npm.zhr.icu/@ibiz-template%2ftheme/-/theme-0.0.1-beta.4
5.tgz#a4998f93d01e5c6e93daf3f8d4103a373630ea97
"
integrity sha512-
sYdE5XuKglrRSWWxdMVvLNURzLkhHaxNRAVXWS5ThyPsk9v529/ZnN4Am/y/t58y9riqodx+DkL+HQwSsbhGzw
==
integrity sha512-
lsgfyUqFUOIZWd34qKd2pubpzmfeaSRe81IQEkcdOBWhd5UdBzDfY4ChQhs9AQohMZXct1l+OBk2pDGi7TJNTQ
==
"@ibiz-template/vue-util@^0.0.1-beta.4
4
":
"@ibiz-template/vue-util@^0.0.1-beta.4
5
":
version "0.0.1-beta.4
4
"
version "0.0.1-beta.4
5
"
resolved "http://npm.zhr.icu/@ibiz-template%2fvue-util/-/vue-util-0.0.1-beta.4
4.tgz#47eb74e7990e50dbd2465ff691c37aa7addca854
"
resolved "http://npm.zhr.icu/@ibiz-template%2fvue-util/-/vue-util-0.0.1-beta.4
5.tgz#f4bb6b6abc1e5bb9af4740ce69a0fbefbc697108
"
integrity sha512-
qHHAGg8grboFWHH46KI+UrFHJGjVLqevjmo3EASUKH2iNgD4yANMTU+sRTgIT0Bp4CqxcHllpMY4959rFfqsB
A==
integrity sha512-
rvmLnQxLQJQBxXV3KwAy7w39RgN3wm1rE9B1R6csGWB8hyou0z9OwJygIz9afAPd1rVmK3LHMi7OVKVPOVfBk
A==
"@ibiz/dynamic-model-api@^2.1.11":
"@ibiz/dynamic-model-api@^2.1.11":
version "2.1.11"
version "2.1.11"
...
...
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSSYSAPPS/TemplatePublish/PSSYSAPP.json
浏览文件 @
d7a5f5bd
...
@@ -1209,16 +1209,16 @@
...
@@ -1209,16 +1209,16 @@
"mOSFilePath"
:
"pssysapps/TemplatePublish/psappviewmsggroups/VMGroup2"
,
"mOSFilePath"
:
"pssysapps/TemplatePublish/psappviewmsggroups/VMGroup2"
,
"name"
:
"视图消息组2"
,
"name"
:
"视图消息组2"
,
"getPSAppViewMsgGroupDetails"
:
[
{
"getPSAppViewMsgGroupDetails"
:
[
{
"name"
:
"视图消息
2
"
,
"name"
:
"视图消息"
,
"getPSAppViewMsg"
:
{
"getPSAppViewMsg"
:
{
"modelref"
:
true
,
"modelref"
:
true
,
"id"
:
"ViewMsg
3
"
"id"
:
"ViewMsg
2
"
}
}
},
{
},
{
"name"
:
"视图消息"
,
"name"
:
"视图消息
2
"
,
"getPSAppViewMsg"
:
{
"getPSAppViewMsg"
:
{
"modelref"
:
true
,
"modelref"
:
true
,
"id"
:
"ViewMsg
2
"
"id"
:
"ViewMsg
3
"
}
}
}
],
}
],
"rTMOSFilePath"
:
"pssysapps/TemplatePublish/psappviewmsggroups/VMGroup2"
"rTMOSFilePath"
:
"pssysapps/TemplatePublish/psappviewmsggroups/VMGroup2"
...
...
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSSYSAPPS/Web/PSAPPDATAENTITIES/TEST/PSFORMS/TestRules.json
浏览文件 @
d7a5f5bd
...
@@ -37,125 +37,6 @@
...
@@ -37,125 +37,6 @@
}
}
}
],
}
],
"getPSDEFormItemVRs"
:
[
{
"getPSDEFormItemVRs"
:
[
{
"checkMode"
:
3
,
"name"
:
"表单项值规则"
,
"getPSDEFValueRule"
:
{
"codeName"
:
"ValueRule7"
,
"mOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD6/psdefvaluerules/ValueRule7"
,
"name"
:
"field6值规则"
,
"getPSDEFVRGroupCondition"
:
{
"condOp"
:
"AND"
,
"condType"
:
"GROUP"
,
"name"
:
"默认组"
,
"getPSDEFVRConditions"
:
[
{
"condOp"
:
"AND"
,
"condType"
:
"GROUP"
,
"name"
:
"[条件组]AND"
,
"getPSDEFVRConditions"
:
[
{
"condOp"
:
"NOTEQ"
,
"condType"
:
"SIMPLE"
,
"dEFName"
:
"FIELD6"
,
"name"
:
"[常规条件] 不等于(<>) (20)"
,
"paramValue"
:
"20"
},
{
"condOp"
:
"GT"
,
"condType"
:
"SIMPLE"
,
"dEFName"
:
"FIELD6"
,
"name"
:
"[常规条件] 大于(>) (5)"
,
"paramValue"
:
"5"
}
],
"ruleInfo"
:
">5并且不等于20"
}
],
"ruleInfo"
:
">5并且不等于20"
},
"rTMOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD6/psdefvaluerules/ValueRule7"
,
"ruleInfo"
:
">5并且不等于20"
,
"checkDefault"
:
false
,
"defaultMode"
:
false
,
"enableBackend"
:
true
,
"enableFront"
:
true
},
"getPSDEFormItemName"
:
"field6"
,
"valueRuleType"
:
"DEFVALUERULE"
},
{
"checkMode"
:
3
,
"name"
:
"表单项值规则"
,
"getPSDEFValueRule"
:
{
"codeName"
:
"ValueRule8"
,
"mOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD7/psdefvaluerules/ValueRule8"
,
"name"
:
"field7值规则"
,
"getPSDEFVRGroupCondition"
:
{
"condOp"
:
"AND"
,
"condType"
:
"GROUP"
,
"name"
:
"默认组"
,
"getPSDEFVRConditions"
:
[
{
"condOp"
:
"OR"
,
"condType"
:
"GROUP"
,
"name"
:
"[条件组]OR"
,
"getPSDEFVRConditions"
:
[
{
"condType"
:
"VALUERANGE2"
,
"dEFName"
:
"FIELD7"
,
"maxValue"
:
20.0
,
"minValue"
:
10.0
,
"name"
:
"[数值范围] 大于等于 10.0 且 小于等于 20.0"
,
"ruleInfo"
:
"数值必须大于等于[10.0]且小于等于[20.0]"
,
"includeMaxValue"
:
true
,
"includeMinValue"
:
true
},
{
"condType"
:
"VALUERANGE2"
,
"dEFName"
:
"FIELD7"
,
"maxValue"
:
40.0
,
"minValue"
:
30.0
,
"name"
:
"[数值范围] 大于等于 30.0 且 小于等于 40.0"
,
"ruleInfo"
:
"数值必须大于等于[30.0]且小于等于[40.0]"
,
"includeMaxValue"
:
true
,
"includeMinValue"
:
true
}
],
"ruleInfo"
:
"(数值必须大于等于[10.0]且小于等于[20.0] 或者 数值必须大于等于[30.0]且小于等于[40.0])"
}
],
"ruleInfo"
:
"(数值必须大于等于[10.0]且小于等于[20.0] 或者 数值必须大于等于[30.0]且小于等于[40.0])"
},
"rTMOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD7/psdefvaluerules/ValueRule8"
,
"ruleInfo"
:
"(数值必须大于等于[10.0]且小于等于[20.0] 或者 数值必须大于等于[30.0]且小于等于[40.0])"
,
"checkDefault"
:
false
,
"defaultMode"
:
false
,
"enableBackend"
:
true
,
"enableFront"
:
true
},
"getPSDEFormItemName"
:
"field7"
,
"valueRuleType"
:
"DEFVALUERULE"
},
{
"checkMode"
:
3
,
"name"
:
"表单项值规则"
,
"getPSDEFValueRule"
:
{
"codeName"
:
"ValueRule"
,
"mOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/AMOUNT/psdefvaluerules/ValueRule"
,
"name"
:
"amount值规则"
,
"getPSDEFVRGroupCondition"
:
{
"condOp"
:
"AND"
,
"condType"
:
"GROUP"
,
"name"
:
"默认组"
,
"getPSDEFVRConditions"
:
[
{
"condOp"
:
"EQ"
,
"condType"
:
"SIMPLE"
,
"dEFName"
:
"AMOUNT"
,
"name"
:
"[常规条件] 等于(=) (100)"
,
"paramType"
:
"SRCENTITYFIELD"
,
"paramValue"
:
"100"
,
"ruleInfo"
:
"amount等于100"
}
],
"ruleInfo"
:
"amount等于100"
},
"rTMOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/AMOUNT/psdefvaluerules/ValueRule"
,
"ruleInfo"
:
"amount等于100"
,
"checkDefault"
:
false
,
"defaultMode"
:
false
,
"enableBackend"
:
true
,
"enableFront"
:
true
},
"getPSDEFormItemName"
:
"amount"
,
"valueRuleType"
:
"DEFVALUERULE"
},
{
"checkMode"
:
3
,
"checkMode"
:
3
,
"name"
:
"表单项值规则"
,
"name"
:
"表单项值规则"
,
"getPSDEFValueRule"
:
{
"getPSDEFValueRule"
:
{
...
@@ -328,6 +209,37 @@
...
@@ -328,6 +209,37 @@
},
},
"getPSDEFormItemName"
:
"field4"
,
"getPSDEFormItemName"
:
"field4"
,
"valueRuleType"
:
"DEFVALUERULE"
"valueRuleType"
:
"DEFVALUERULE"
},
{
"checkMode"
:
3
,
"name"
:
"表单项值规则"
,
"getPSDEFValueRule"
:
{
"codeName"
:
"ValueRule"
,
"mOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/AMOUNT/psdefvaluerules/ValueRule"
,
"name"
:
"amount值规则"
,
"getPSDEFVRGroupCondition"
:
{
"condOp"
:
"AND"
,
"condType"
:
"GROUP"
,
"name"
:
"默认组"
,
"getPSDEFVRConditions"
:
[
{
"condOp"
:
"EQ"
,
"condType"
:
"SIMPLE"
,
"dEFName"
:
"AMOUNT"
,
"name"
:
"[常规条件] 等于(=) (100)"
,
"paramType"
:
"SRCENTITYFIELD"
,
"paramValue"
:
"100"
,
"ruleInfo"
:
"amount等于100"
}
],
"ruleInfo"
:
"amount等于100"
},
"rTMOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/AMOUNT/psdefvaluerules/ValueRule"
,
"ruleInfo"
:
"amount等于100"
,
"checkDefault"
:
false
,
"defaultMode"
:
false
,
"enableBackend"
:
true
,
"enableFront"
:
true
},
"getPSDEFormItemName"
:
"amount"
,
"valueRuleType"
:
"DEFVALUERULE"
},
{
},
{
"checkMode"
:
3
,
"checkMode"
:
3
,
"name"
:
"表单项值规则"
,
"name"
:
"表单项值规则"
,
...
@@ -391,6 +303,94 @@
...
@@ -391,6 +303,94 @@
},
},
"getPSDEFormItemName"
:
"field8"
,
"getPSDEFormItemName"
:
"field8"
,
"valueRuleType"
:
"DEFVALUERULE"
"valueRuleType"
:
"DEFVALUERULE"
},
{
"checkMode"
:
3
,
"name"
:
"表单项值规则"
,
"getPSDEFValueRule"
:
{
"codeName"
:
"ValueRule7"
,
"mOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD6/psdefvaluerules/ValueRule7"
,
"name"
:
"field6值规则"
,
"getPSDEFVRGroupCondition"
:
{
"condOp"
:
"AND"
,
"condType"
:
"GROUP"
,
"name"
:
"默认组"
,
"getPSDEFVRConditions"
:
[
{
"condOp"
:
"AND"
,
"condType"
:
"GROUP"
,
"name"
:
"[条件组]AND"
,
"getPSDEFVRConditions"
:
[
{
"condOp"
:
"NOTEQ"
,
"condType"
:
"SIMPLE"
,
"dEFName"
:
"FIELD6"
,
"name"
:
"[常规条件] 不等于(<>) (20)"
,
"paramValue"
:
"20"
},
{
"condOp"
:
"GT"
,
"condType"
:
"SIMPLE"
,
"dEFName"
:
"FIELD6"
,
"name"
:
"[常规条件] 大于(>) (5)"
,
"paramValue"
:
"5"
}
],
"ruleInfo"
:
">5并且不等于20"
}
],
"ruleInfo"
:
">5并且不等于20"
},
"rTMOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD6/psdefvaluerules/ValueRule7"
,
"ruleInfo"
:
">5并且不等于20"
,
"checkDefault"
:
false
,
"defaultMode"
:
false
,
"enableBackend"
:
true
,
"enableFront"
:
true
},
"getPSDEFormItemName"
:
"field6"
,
"valueRuleType"
:
"DEFVALUERULE"
},
{
"checkMode"
:
3
,
"name"
:
"表单项值规则"
,
"getPSDEFValueRule"
:
{
"codeName"
:
"ValueRule8"
,
"mOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD7/psdefvaluerules/ValueRule8"
,
"name"
:
"field7值规则"
,
"getPSDEFVRGroupCondition"
:
{
"condOp"
:
"AND"
,
"condType"
:
"GROUP"
,
"name"
:
"默认组"
,
"getPSDEFVRConditions"
:
[
{
"condOp"
:
"OR"
,
"condType"
:
"GROUP"
,
"name"
:
"[条件组]OR"
,
"getPSDEFVRConditions"
:
[
{
"condType"
:
"VALUERANGE2"
,
"dEFName"
:
"FIELD7"
,
"maxValue"
:
20.0
,
"minValue"
:
10.0
,
"name"
:
"[数值范围] 大于等于 10.0 且 小于等于 20.0"
,
"ruleInfo"
:
"数值必须大于等于[10.0]且小于等于[20.0]"
,
"includeMaxValue"
:
true
,
"includeMinValue"
:
true
},
{
"condType"
:
"VALUERANGE2"
,
"dEFName"
:
"FIELD7"
,
"maxValue"
:
40.0
,
"minValue"
:
30.0
,
"name"
:
"[数值范围] 大于等于 30.0 且 小于等于 40.0"
,
"ruleInfo"
:
"数值必须大于等于[30.0]且小于等于[40.0]"
,
"includeMaxValue"
:
true
,
"includeMinValue"
:
true
}
],
"ruleInfo"
:
"(数值必须大于等于[10.0]且小于等于[20.0] 或者 数值必须大于等于[30.0]且小于等于[40.0])"
}
],
"ruleInfo"
:
"(数值必须大于等于[10.0]且小于等于[20.0] 或者 数值必须大于等于[30.0]且小于等于[40.0])"
},
"rTMOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD7/psdefvaluerules/ValueRule8"
,
"ruleInfo"
:
"(数值必须大于等于[10.0]且小于等于[20.0] 或者 数值必须大于等于[30.0]且小于等于[40.0])"
,
"checkDefault"
:
false
,
"defaultMode"
:
false
,
"enableBackend"
:
true
,
"enableFront"
:
true
},
"getPSDEFormItemName"
:
"field7"
,
"valueRuleType"
:
"DEFVALUERULE"
}
],
}
],
"getPSDEFormItems"
:
[
{
"getPSDEFormItems"
:
[
{
"id"
:
"srfupdatedate"
,
"id"
:
"srfupdatedate"
,
...
...
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSSYSAPPS/Web/PSAPPDEVIEWS/TESTTestRulesEditView.json
浏览文件 @
d7a5f5bd
...
@@ -166,125 +166,6 @@
...
@@ -166,125 +166,6 @@
"id"
:
"FORM"
"id"
:
"FORM"
},
},
"getPSDEFormItemVRs"
:
[
{
"getPSDEFormItemVRs"
:
[
{
"checkMode"
:
3
,
"name"
:
"表单项值规则"
,
"getPSDEFValueRule"
:
{
"codeName"
:
"ValueRule7"
,
"mOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD6/psdefvaluerules/ValueRule7"
,
"name"
:
"field6值规则"
,
"getPSDEFVRGroupCondition"
:
{
"condOp"
:
"AND"
,
"condType"
:
"GROUP"
,
"name"
:
"默认组"
,
"getPSDEFVRConditions"
:
[
{
"condOp"
:
"AND"
,
"condType"
:
"GROUP"
,
"name"
:
"[条件组]AND"
,
"getPSDEFVRConditions"
:
[
{
"condOp"
:
"NOTEQ"
,
"condType"
:
"SIMPLE"
,
"dEFName"
:
"FIELD6"
,
"name"
:
"[常规条件] 不等于(<>) (20)"
,
"paramValue"
:
"20"
},
{
"condOp"
:
"GT"
,
"condType"
:
"SIMPLE"
,
"dEFName"
:
"FIELD6"
,
"name"
:
"[常规条件] 大于(>) (5)"
,
"paramValue"
:
"5"
}
],
"ruleInfo"
:
">5并且不等于20"
}
],
"ruleInfo"
:
">5并且不等于20"
},
"rTMOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD6/psdefvaluerules/ValueRule7"
,
"ruleInfo"
:
">5并且不等于20"
,
"checkDefault"
:
false
,
"defaultMode"
:
false
,
"enableBackend"
:
true
,
"enableFront"
:
true
},
"getPSDEFormItemName"
:
"field6"
,
"valueRuleType"
:
"DEFVALUERULE"
},
{
"checkMode"
:
3
,
"name"
:
"表单项值规则"
,
"getPSDEFValueRule"
:
{
"codeName"
:
"ValueRule8"
,
"mOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD7/psdefvaluerules/ValueRule8"
,
"name"
:
"field7值规则"
,
"getPSDEFVRGroupCondition"
:
{
"condOp"
:
"AND"
,
"condType"
:
"GROUP"
,
"name"
:
"默认组"
,
"getPSDEFVRConditions"
:
[
{
"condOp"
:
"OR"
,
"condType"
:
"GROUP"
,
"name"
:
"[条件组]OR"
,
"getPSDEFVRConditions"
:
[
{
"condType"
:
"VALUERANGE2"
,
"dEFName"
:
"FIELD7"
,
"maxValue"
:
20.0
,
"minValue"
:
10.0
,
"name"
:
"[数值范围] 大于等于 10.0 且 小于等于 20.0"
,
"ruleInfo"
:
"数值必须大于等于[10.0]且小于等于[20.0]"
,
"includeMaxValue"
:
true
,
"includeMinValue"
:
true
},
{
"condType"
:
"VALUERANGE2"
,
"dEFName"
:
"FIELD7"
,
"maxValue"
:
40.0
,
"minValue"
:
30.0
,
"name"
:
"[数值范围] 大于等于 30.0 且 小于等于 40.0"
,
"ruleInfo"
:
"数值必须大于等于[30.0]且小于等于[40.0]"
,
"includeMaxValue"
:
true
,
"includeMinValue"
:
true
}
],
"ruleInfo"
:
"(数值必须大于等于[10.0]且小于等于[20.0] 或者 数值必须大于等于[30.0]且小于等于[40.0])"
}
],
"ruleInfo"
:
"(数值必须大于等于[10.0]且小于等于[20.0] 或者 数值必须大于等于[30.0]且小于等于[40.0])"
},
"rTMOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD7/psdefvaluerules/ValueRule8"
,
"ruleInfo"
:
"(数值必须大于等于[10.0]且小于等于[20.0] 或者 数值必须大于等于[30.0]且小于等于[40.0])"
,
"checkDefault"
:
false
,
"defaultMode"
:
false
,
"enableBackend"
:
true
,
"enableFront"
:
true
},
"getPSDEFormItemName"
:
"field7"
,
"valueRuleType"
:
"DEFVALUERULE"
},
{
"checkMode"
:
3
,
"name"
:
"表单项值规则"
,
"getPSDEFValueRule"
:
{
"codeName"
:
"ValueRule"
,
"mOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/AMOUNT/psdefvaluerules/ValueRule"
,
"name"
:
"amount值规则"
,
"getPSDEFVRGroupCondition"
:
{
"condOp"
:
"AND"
,
"condType"
:
"GROUP"
,
"name"
:
"默认组"
,
"getPSDEFVRConditions"
:
[
{
"condOp"
:
"EQ"
,
"condType"
:
"SIMPLE"
,
"dEFName"
:
"AMOUNT"
,
"name"
:
"[常规条件] 等于(=) (100)"
,
"paramType"
:
"SRCENTITYFIELD"
,
"paramValue"
:
"100"
,
"ruleInfo"
:
"amount等于100"
}
],
"ruleInfo"
:
"amount等于100"
},
"rTMOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/AMOUNT/psdefvaluerules/ValueRule"
,
"ruleInfo"
:
"amount等于100"
,
"checkDefault"
:
false
,
"defaultMode"
:
false
,
"enableBackend"
:
true
,
"enableFront"
:
true
},
"getPSDEFormItemName"
:
"amount"
,
"valueRuleType"
:
"DEFVALUERULE"
},
{
"checkMode"
:
3
,
"checkMode"
:
3
,
"name"
:
"表单项值规则"
,
"name"
:
"表单项值规则"
,
"getPSDEFValueRule"
:
{
"getPSDEFValueRule"
:
{
...
@@ -457,6 +338,37 @@
...
@@ -457,6 +338,37 @@
},
},
"getPSDEFormItemName"
:
"field4"
,
"getPSDEFormItemName"
:
"field4"
,
"valueRuleType"
:
"DEFVALUERULE"
"valueRuleType"
:
"DEFVALUERULE"
},
{
"checkMode"
:
3
,
"name"
:
"表单项值规则"
,
"getPSDEFValueRule"
:
{
"codeName"
:
"ValueRule"
,
"mOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/AMOUNT/psdefvaluerules/ValueRule"
,
"name"
:
"amount值规则"
,
"getPSDEFVRGroupCondition"
:
{
"condOp"
:
"AND"
,
"condType"
:
"GROUP"
,
"name"
:
"默认组"
,
"getPSDEFVRConditions"
:
[
{
"condOp"
:
"EQ"
,
"condType"
:
"SIMPLE"
,
"dEFName"
:
"AMOUNT"
,
"name"
:
"[常规条件] 等于(=) (100)"
,
"paramType"
:
"SRCENTITYFIELD"
,
"paramValue"
:
"100"
,
"ruleInfo"
:
"amount等于100"
}
],
"ruleInfo"
:
"amount等于100"
},
"rTMOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/AMOUNT/psdefvaluerules/ValueRule"
,
"ruleInfo"
:
"amount等于100"
,
"checkDefault"
:
false
,
"defaultMode"
:
false
,
"enableBackend"
:
true
,
"enableFront"
:
true
},
"getPSDEFormItemName"
:
"amount"
,
"valueRuleType"
:
"DEFVALUERULE"
},
{
},
{
"checkMode"
:
3
,
"checkMode"
:
3
,
"name"
:
"表单项值规则"
,
"name"
:
"表单项值规则"
,
...
@@ -520,6 +432,94 @@
...
@@ -520,6 +432,94 @@
},
},
"getPSDEFormItemName"
:
"field8"
,
"getPSDEFormItemName"
:
"field8"
,
"valueRuleType"
:
"DEFVALUERULE"
"valueRuleType"
:
"DEFVALUERULE"
},
{
"checkMode"
:
3
,
"name"
:
"表单项值规则"
,
"getPSDEFValueRule"
:
{
"codeName"
:
"ValueRule7"
,
"mOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD6/psdefvaluerules/ValueRule7"
,
"name"
:
"field6值规则"
,
"getPSDEFVRGroupCondition"
:
{
"condOp"
:
"AND"
,
"condType"
:
"GROUP"
,
"name"
:
"默认组"
,
"getPSDEFVRConditions"
:
[
{
"condOp"
:
"AND"
,
"condType"
:
"GROUP"
,
"name"
:
"[条件组]AND"
,
"getPSDEFVRConditions"
:
[
{
"condOp"
:
"NOTEQ"
,
"condType"
:
"SIMPLE"
,
"dEFName"
:
"FIELD6"
,
"name"
:
"[常规条件] 不等于(<>) (20)"
,
"paramValue"
:
"20"
},
{
"condOp"
:
"GT"
,
"condType"
:
"SIMPLE"
,
"dEFName"
:
"FIELD6"
,
"name"
:
"[常规条件] 大于(>) (5)"
,
"paramValue"
:
"5"
}
],
"ruleInfo"
:
">5并且不等于20"
}
],
"ruleInfo"
:
">5并且不等于20"
},
"rTMOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD6/psdefvaluerules/ValueRule7"
,
"ruleInfo"
:
">5并且不等于20"
,
"checkDefault"
:
false
,
"defaultMode"
:
false
,
"enableBackend"
:
true
,
"enableFront"
:
true
},
"getPSDEFormItemName"
:
"field6"
,
"valueRuleType"
:
"DEFVALUERULE"
},
{
"checkMode"
:
3
,
"name"
:
"表单项值规则"
,
"getPSDEFValueRule"
:
{
"codeName"
:
"ValueRule8"
,
"mOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD7/psdefvaluerules/ValueRule8"
,
"name"
:
"field7值规则"
,
"getPSDEFVRGroupCondition"
:
{
"condOp"
:
"AND"
,
"condType"
:
"GROUP"
,
"name"
:
"默认组"
,
"getPSDEFVRConditions"
:
[
{
"condOp"
:
"OR"
,
"condType"
:
"GROUP"
,
"name"
:
"[条件组]OR"
,
"getPSDEFVRConditions"
:
[
{
"condType"
:
"VALUERANGE2"
,
"dEFName"
:
"FIELD7"
,
"maxValue"
:
20.0
,
"minValue"
:
10.0
,
"name"
:
"[数值范围] 大于等于 10.0 且 小于等于 20.0"
,
"ruleInfo"
:
"数值必须大于等于[10.0]且小于等于[20.0]"
,
"includeMaxValue"
:
true
,
"includeMinValue"
:
true
},
{
"condType"
:
"VALUERANGE2"
,
"dEFName"
:
"FIELD7"
,
"maxValue"
:
40.0
,
"minValue"
:
30.0
,
"name"
:
"[数值范围] 大于等于 30.0 且 小于等于 40.0"
,
"ruleInfo"
:
"数值必须大于等于[30.0]且小于等于[40.0]"
,
"includeMaxValue"
:
true
,
"includeMinValue"
:
true
}
],
"ruleInfo"
:
"(数值必须大于等于[10.0]且小于等于[20.0] 或者 数值必须大于等于[30.0]且小于等于[40.0])"
}
],
"ruleInfo"
:
"(数值必须大于等于[10.0]且小于等于[20.0] 或者 数值必须大于等于[30.0]且小于等于[40.0])"
},
"rTMOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD7/psdefvaluerules/ValueRule8"
,
"ruleInfo"
:
"(数值必须大于等于[10.0]且小于等于[20.0] 或者 数值必须大于等于[30.0]且小于等于[40.0])"
,
"checkDefault"
:
false
,
"defaultMode"
:
false
,
"enableBackend"
:
true
,
"enableFront"
:
true
},
"getPSDEFormItemName"
:
"field7"
,
"valueRuleType"
:
"DEFVALUERULE"
}
],
}
],
"getPSDEFormItems"
:
[
{
"getPSDEFormItems"
:
[
{
"id"
:
"srfupdatedate"
,
"id"
:
"srfupdatedate"
,
...
...
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSSYSAPPS/Web/PSSYSAPP.json
浏览文件 @
d7a5f5bd
...
@@ -2311,16 +2311,16 @@
...
@@ -2311,16 +2311,16 @@
"mOSFilePath"
:
"pssysapps/Web/psappviewmsggroups/VMGroup2"
,
"mOSFilePath"
:
"pssysapps/Web/psappviewmsggroups/VMGroup2"
,
"name"
:
"视图消息组2"
,
"name"
:
"视图消息组2"
,
"getPSAppViewMsgGroupDetails"
:
[
{
"getPSAppViewMsgGroupDetails"
:
[
{
"name"
:
"视图消息
2
"
,
"name"
:
"视图消息"
,
"getPSAppViewMsg"
:
{
"getPSAppViewMsg"
:
{
"modelref"
:
true
,
"modelref"
:
true
,
"id"
:
"ViewMsg
3
"
"id"
:
"ViewMsg
2
"
}
}
},
{
},
{
"name"
:
"视图消息"
,
"name"
:
"视图消息
2
"
,
"getPSAppViewMsg"
:
{
"getPSAppViewMsg"
:
{
"modelref"
:
true
,
"modelref"
:
true
,
"id"
:
"ViewMsg
2
"
"id"
:
"ViewMsg
3
"
}
}
}
],
}
],
"rTMOSFilePath"
:
"pssysapps/Web/psappviewmsggroups/VMGroup2"
"rTMOSFilePath"
:
"pssysapps/Web/psappviewmsggroups/VMGroup2"
...
@@ -17194,125 +17194,6 @@
...
@@ -17194,125 +17194,6 @@
"id"
:
"FORM"
"id"
:
"FORM"
},
},
"getPSDEFormItemVRs"
:
[
{
"getPSDEFormItemVRs"
:
[
{
"checkMode"
:
3
,
"name"
:
"表单项值规则"
,
"getPSDEFValueRule"
:
{
"codeName"
:
"ValueRule7"
,
"mOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD6/psdefvaluerules/ValueRule7"
,
"name"
:
"field6值规则"
,
"getPSDEFVRGroupCondition"
:
{
"condOp"
:
"AND"
,
"condType"
:
"GROUP"
,
"name"
:
"默认组"
,
"getPSDEFVRConditions"
:
[
{
"condOp"
:
"AND"
,
"condType"
:
"GROUP"
,
"name"
:
"[条件组]AND"
,
"getPSDEFVRConditions"
:
[
{
"condOp"
:
"NOTEQ"
,
"condType"
:
"SIMPLE"
,
"dEFName"
:
"FIELD6"
,
"name"
:
"[常规条件] 不等于(<>) (20)"
,
"paramValue"
:
"20"
},
{
"condOp"
:
"GT"
,
"condType"
:
"SIMPLE"
,
"dEFName"
:
"FIELD6"
,
"name"
:
"[常规条件] 大于(>) (5)"
,
"paramValue"
:
"5"
}
],
"ruleInfo"
:
">5并且不等于20"
}
],
"ruleInfo"
:
">5并且不等于20"
},
"rTMOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD6/psdefvaluerules/ValueRule7"
,
"ruleInfo"
:
">5并且不等于20"
,
"checkDefault"
:
false
,
"defaultMode"
:
false
,
"enableBackend"
:
true
,
"enableFront"
:
true
},
"getPSDEFormItemName"
:
"field6"
,
"valueRuleType"
:
"DEFVALUERULE"
},
{
"checkMode"
:
3
,
"name"
:
"表单项值规则"
,
"getPSDEFValueRule"
:
{
"codeName"
:
"ValueRule8"
,
"mOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD7/psdefvaluerules/ValueRule8"
,
"name"
:
"field7值规则"
,
"getPSDEFVRGroupCondition"
:
{
"condOp"
:
"AND"
,
"condType"
:
"GROUP"
,
"name"
:
"默认组"
,
"getPSDEFVRConditions"
:
[
{
"condOp"
:
"OR"
,
"condType"
:
"GROUP"
,
"name"
:
"[条件组]OR"
,
"getPSDEFVRConditions"
:
[
{
"condType"
:
"VALUERANGE2"
,
"dEFName"
:
"FIELD7"
,
"maxValue"
:
20.0
,
"minValue"
:
10.0
,
"name"
:
"[数值范围] 大于等于 10.0 且 小于等于 20.0"
,
"ruleInfo"
:
"数值必须大于等于[10.0]且小于等于[20.0]"
,
"includeMaxValue"
:
true
,
"includeMinValue"
:
true
},
{
"condType"
:
"VALUERANGE2"
,
"dEFName"
:
"FIELD7"
,
"maxValue"
:
40.0
,
"minValue"
:
30.0
,
"name"
:
"[数值范围] 大于等于 30.0 且 小于等于 40.0"
,
"ruleInfo"
:
"数值必须大于等于[30.0]且小于等于[40.0]"
,
"includeMaxValue"
:
true
,
"includeMinValue"
:
true
}
],
"ruleInfo"
:
"(数值必须大于等于[10.0]且小于等于[20.0] 或者 数值必须大于等于[30.0]且小于等于[40.0])"
}
],
"ruleInfo"
:
"(数值必须大于等于[10.0]且小于等于[20.0] 或者 数值必须大于等于[30.0]且小于等于[40.0])"
},
"rTMOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD7/psdefvaluerules/ValueRule8"
,
"ruleInfo"
:
"(数值必须大于等于[10.0]且小于等于[20.0] 或者 数值必须大于等于[30.0]且小于等于[40.0])"
,
"checkDefault"
:
false
,
"defaultMode"
:
false
,
"enableBackend"
:
true
,
"enableFront"
:
true
},
"getPSDEFormItemName"
:
"field7"
,
"valueRuleType"
:
"DEFVALUERULE"
},
{
"checkMode"
:
3
,
"name"
:
"表单项值规则"
,
"getPSDEFValueRule"
:
{
"codeName"
:
"ValueRule"
,
"mOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/AMOUNT/psdefvaluerules/ValueRule"
,
"name"
:
"amount值规则"
,
"getPSDEFVRGroupCondition"
:
{
"condOp"
:
"AND"
,
"condType"
:
"GROUP"
,
"name"
:
"默认组"
,
"getPSDEFVRConditions"
:
[
{
"condOp"
:
"EQ"
,
"condType"
:
"SIMPLE"
,
"dEFName"
:
"AMOUNT"
,
"name"
:
"[常规条件] 等于(=) (100)"
,
"paramType"
:
"SRCENTITYFIELD"
,
"paramValue"
:
"100"
,
"ruleInfo"
:
"amount等于100"
}
],
"ruleInfo"
:
"amount等于100"
},
"rTMOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/AMOUNT/psdefvaluerules/ValueRule"
,
"ruleInfo"
:
"amount等于100"
,
"checkDefault"
:
false
,
"defaultMode"
:
false
,
"enableBackend"
:
true
,
"enableFront"
:
true
},
"getPSDEFormItemName"
:
"amount"
,
"valueRuleType"
:
"DEFVALUERULE"
},
{
"checkMode"
:
3
,
"checkMode"
:
3
,
"name"
:
"表单项值规则"
,
"name"
:
"表单项值规则"
,
"getPSDEFValueRule"
:
{
"getPSDEFValueRule"
:
{
...
@@ -17485,6 +17366,37 @@
...
@@ -17485,6 +17366,37 @@
},
},
"getPSDEFormItemName"
:
"field4"
,
"getPSDEFormItemName"
:
"field4"
,
"valueRuleType"
:
"DEFVALUERULE"
"valueRuleType"
:
"DEFVALUERULE"
},
{
"checkMode"
:
3
,
"name"
:
"表单项值规则"
,
"getPSDEFValueRule"
:
{
"codeName"
:
"ValueRule"
,
"mOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/AMOUNT/psdefvaluerules/ValueRule"
,
"name"
:
"amount值规则"
,
"getPSDEFVRGroupCondition"
:
{
"condOp"
:
"AND"
,
"condType"
:
"GROUP"
,
"name"
:
"默认组"
,
"getPSDEFVRConditions"
:
[
{
"condOp"
:
"EQ"
,
"condType"
:
"SIMPLE"
,
"dEFName"
:
"AMOUNT"
,
"name"
:
"[常规条件] 等于(=) (100)"
,
"paramType"
:
"SRCENTITYFIELD"
,
"paramValue"
:
"100"
,
"ruleInfo"
:
"amount等于100"
}
],
"ruleInfo"
:
"amount等于100"
},
"rTMOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/AMOUNT/psdefvaluerules/ValueRule"
,
"ruleInfo"
:
"amount等于100"
,
"checkDefault"
:
false
,
"defaultMode"
:
false
,
"enableBackend"
:
true
,
"enableFront"
:
true
},
"getPSDEFormItemName"
:
"amount"
,
"valueRuleType"
:
"DEFVALUERULE"
},
{
},
{
"checkMode"
:
3
,
"checkMode"
:
3
,
"name"
:
"表单项值规则"
,
"name"
:
"表单项值规则"
,
...
@@ -17548,6 +17460,94 @@
...
@@ -17548,6 +17460,94 @@
},
},
"getPSDEFormItemName"
:
"field8"
,
"getPSDEFormItemName"
:
"field8"
,
"valueRuleType"
:
"DEFVALUERULE"
"valueRuleType"
:
"DEFVALUERULE"
},
{
"checkMode"
:
3
,
"name"
:
"表单项值规则"
,
"getPSDEFValueRule"
:
{
"codeName"
:
"ValueRule7"
,
"mOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD6/psdefvaluerules/ValueRule7"
,
"name"
:
"field6值规则"
,
"getPSDEFVRGroupCondition"
:
{
"condOp"
:
"AND"
,
"condType"
:
"GROUP"
,
"name"
:
"默认组"
,
"getPSDEFVRConditions"
:
[
{
"condOp"
:
"AND"
,
"condType"
:
"GROUP"
,
"name"
:
"[条件组]AND"
,
"getPSDEFVRConditions"
:
[
{
"condOp"
:
"NOTEQ"
,
"condType"
:
"SIMPLE"
,
"dEFName"
:
"FIELD6"
,
"name"
:
"[常规条件] 不等于(<>) (20)"
,
"paramValue"
:
"20"
},
{
"condOp"
:
"GT"
,
"condType"
:
"SIMPLE"
,
"dEFName"
:
"FIELD6"
,
"name"
:
"[常规条件] 大于(>) (5)"
,
"paramValue"
:
"5"
}
],
"ruleInfo"
:
">5并且不等于20"
}
],
"ruleInfo"
:
">5并且不等于20"
},
"rTMOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD6/psdefvaluerules/ValueRule7"
,
"ruleInfo"
:
">5并且不等于20"
,
"checkDefault"
:
false
,
"defaultMode"
:
false
,
"enableBackend"
:
true
,
"enableFront"
:
true
},
"getPSDEFormItemName"
:
"field6"
,
"valueRuleType"
:
"DEFVALUERULE"
},
{
"checkMode"
:
3
,
"name"
:
"表单项值规则"
,
"getPSDEFValueRule"
:
{
"codeName"
:
"ValueRule8"
,
"mOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD7/psdefvaluerules/ValueRule8"
,
"name"
:
"field7值规则"
,
"getPSDEFVRGroupCondition"
:
{
"condOp"
:
"AND"
,
"condType"
:
"GROUP"
,
"name"
:
"默认组"
,
"getPSDEFVRConditions"
:
[
{
"condOp"
:
"OR"
,
"condType"
:
"GROUP"
,
"name"
:
"[条件组]OR"
,
"getPSDEFVRConditions"
:
[
{
"condType"
:
"VALUERANGE2"
,
"dEFName"
:
"FIELD7"
,
"maxValue"
:
20.0
,
"minValue"
:
10.0
,
"name"
:
"[数值范围] 大于等于 10.0 且 小于等于 20.0"
,
"ruleInfo"
:
"数值必须大于等于[10.0]且小于等于[20.0]"
,
"includeMaxValue"
:
true
,
"includeMinValue"
:
true
},
{
"condType"
:
"VALUERANGE2"
,
"dEFName"
:
"FIELD7"
,
"maxValue"
:
40.0
,
"minValue"
:
30.0
,
"name"
:
"[数值范围] 大于等于 30.0 且 小于等于 40.0"
,
"ruleInfo"
:
"数值必须大于等于[30.0]且小于等于[40.0]"
,
"includeMaxValue"
:
true
,
"includeMinValue"
:
true
}
],
"ruleInfo"
:
"(数值必须大于等于[10.0]且小于等于[20.0] 或者 数值必须大于等于[30.0]且小于等于[40.0])"
}
],
"ruleInfo"
:
"(数值必须大于等于[10.0]且小于等于[20.0] 或者 数值必须大于等于[30.0]且小于等于[40.0])"
},
"rTMOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD7/psdefvaluerules/ValueRule8"
,
"ruleInfo"
:
"(数值必须大于等于[10.0]且小于等于[20.0] 或者 数值必须大于等于[30.0]且小于等于[40.0])"
,
"checkDefault"
:
false
,
"defaultMode"
:
false
,
"enableBackend"
:
true
,
"enableFront"
:
true
},
"getPSDEFormItemName"
:
"field7"
,
"valueRuleType"
:
"DEFVALUERULE"
}
],
}
],
"getPSDEFormItems"
:
[
{
"getPSDEFormItems"
:
[
{
"id"
:
"srfupdatedate"
,
"id"
:
"srfupdatedate"
,
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录