Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
T
TrainSys
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
苏州培训方案
TrainSys
提交
07c2a3e2
提交
07c2a3e2
编写于
1月 18, 2024
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
zhujiamin 发布系统代码 [TrainSys,网页端]
上级
ce2054c0
变更
12
显示空白字符变更
内嵌
并排
正在显示
12 个修改的文件
包含
189 行增加
和
97 行删除
+189
-97
package.json
app_Web/package.json
+7
-7
pnpm-lock.yaml
app_Web/pnpm-lock.yaml
+41
-41
app-register.ts
app_Web/src/app-register.ts
+2
-0
view-shell.tsx
app_Web/src/components/view-shell/view-shell.tsx
+1
-0
index.ts
app_Web/src/components/views/index.ts
+1
-0
pickup-view2.tsx
app_Web/src/components/views/pickup-view2/pickup-view2.tsx
+65
-0
pickup-view-panel.tsx
...omponents/widgets/pickup-view-panel/pickup-view-panel.tsx
+2
-0
tree-control.tsx
app_Web/src/components/widgets/tree-control/tree-control.tsx
+7
-3
index.ts
app_Web/src/provider/view/index.ts
+3
-0
pickup-view2-provider.ts
app_Web/src/provider/view/pickup-view2-provider.ts
+14
-0
PSSYSAPP.json
.../ibizlab/trainsys/PSSYSAPPS/TemplatePublish/PSSYSAPP.json
+4
-4
PSSYSAPP.json
...ces/model/cn/ibizlab/trainsys/PSSYSAPPS/Web/PSSYSAPP.json
+42
-42
未找到文件。
app_Web/package.json
浏览文件 @
07c2a3e2
...
...
@@ -13,13 +13,13 @@
"dependencies"
:
{
"@floating-ui/dom"
:
"^1.5.3"
,
"@ibiz-template/command"
:
"^0.0.1-beta.50"
,
"@ibiz-template/controller"
:
"^0.0.1-beta.13
7
"
,
"@ibiz-template/core"
:
"^0.0.1-beta.13
7
"
,
"@ibiz-template/model"
:
"^0.0.1-beta.13
7
"
,
"@ibiz-template/runtime"
:
"^0.0.1-beta.13
7
"
,
"@ibiz-template/service"
:
"^0.0.1-beta.13
7
"
,
"@ibiz-template/theme"
:
"^0.0.1-beta.13
7
"
,
"@ibiz-template/vue-util"
:
"^0.0.1-beta.13
7
"
,
"@ibiz-template/controller"
:
"^0.0.1-beta.13
8
"
,
"@ibiz-template/core"
:
"^0.0.1-beta.13
8
"
,
"@ibiz-template/model"
:
"^0.0.1-beta.13
8
"
,
"@ibiz-template/runtime"
:
"^0.0.1-beta.13
8
"
,
"@ibiz-template/service"
:
"^0.0.1-beta.13
8
"
,
"@ibiz-template/theme"
:
"^0.0.1-beta.13
8
"
,
"@ibiz-template/vue-util"
:
"^0.0.1-beta.13
8
"
,
"@ibiz/dynamic-model-api"
:
"^2.1.28"
,
"@riophae/vue-treeselect"
:
"^0.4.0"
,
"dayjs"
:
"^1.11.10"
,
...
...
app_Web/pnpm-lock.yaml
浏览文件 @
07c2a3e2
...
...
@@ -12,26 +12,26 @@ dependencies:
specifier
:
^0.0.1-beta.50
version
:
0.0.1-beta.50
'
@ibiz-template/controller'
:
specifier
:
^0.0.1-beta.13
7
version
:
0.0.1-beta.13
7(@ibiz-template/core@0.0.1-beta.137)(@ibiz-template/model@0.0.1-beta.137)(@ibiz-template/runtime@0.0.1-beta.137)(@ibiz-template/service@0.0.1-beta.137
)(lodash-es@4.17.21)(qs@6.11.2)(qx-util@0.4.8)
specifier
:
^0.0.1-beta.13
8
version
:
0.0.1-beta.13
8(@ibiz-template/core@0.0.1-beta.138)(@ibiz-template/model@0.0.1-beta.138)(@ibiz-template/runtime@0.0.1-beta.138)(@ibiz-template/service@0.0.1-beta.138
)(lodash-es@4.17.21)(qs@6.11.2)(qx-util@0.4.8)
'
@ibiz-template/core'
:
specifier
:
^0.0.1-beta.13
7
version
:
0.0.1-beta.13
7
(lodash-es@4.17.21)(qx-util@0.4.8)(ramda@0.29.1)
specifier
:
^0.0.1-beta.13
8
version
:
0.0.1-beta.13
8
(lodash-es@4.17.21)(qx-util@0.4.8)(ramda@0.29.1)
'
@ibiz-template/model'
:
specifier
:
^0.0.1-beta.13
7
version
:
0.0.1-beta.13
7
(@ibiz/dynamic-model-api@2.1.28)(lodash-es@4.17.21)(qx-util@0.4.8)
specifier
:
^0.0.1-beta.13
8
version
:
0.0.1-beta.13
8
(@ibiz/dynamic-model-api@2.1.28)(lodash-es@4.17.21)(qx-util@0.4.8)
'
@ibiz-template/runtime'
:
specifier
:
^0.0.1-beta.13
7
version
:
0.0.1-beta.13
7(@ibiz-template/core@0.0.1-beta.137)(@ibiz-template/model@0.0.1-beta.137)(@ibiz-template/service@0.0.1-beta.137
)(qx-util@0.4.8)
specifier
:
^0.0.1-beta.13
8
version
:
0.0.1-beta.13
8(@ibiz-template/core@0.0.1-beta.138)(@ibiz-template/model@0.0.1-beta.138)(@ibiz-template/service@0.0.1-beta.138
)(qx-util@0.4.8)
'
@ibiz-template/service'
:
specifier
:
^0.0.1-beta.13
7
version
:
0.0.1-beta.13
7(@ibiz-template/core@0.0.1-beta.137)(@ibiz-template/model@0.0.1-beta.137
)(qx-util@0.4.8)(ramda@0.29.1)
specifier
:
^0.0.1-beta.13
8
version
:
0.0.1-beta.13
8(@ibiz-template/core@0.0.1-beta.138)(@ibiz-template/model@0.0.1-beta.138
)(qx-util@0.4.8)(ramda@0.29.1)
'
@ibiz-template/theme'
:
specifier
:
^0.0.1-beta.13
7
version
:
0.0.1-beta.13
7
specifier
:
^0.0.1-beta.13
8
version
:
0.0.1-beta.13
8
'
@ibiz-template/vue-util'
:
specifier
:
^0.0.1-beta.13
7
version
:
0.0.1-beta.13
7(@ibiz-template/controller@0.0.1-beta.137)(@ibiz-template/core@0.0.1-beta.137)(@ibiz-template/model@0.0.1-beta.137)(@ibiz-template/service@0.0.1-beta.137
)(qs@6.11.2)(qx-util@0.4.8)(ramda@0.29.1)(vue-router@3.6.5)(vue@2.7.15)
specifier
:
^0.0.1-beta.13
8
version
:
0.0.1-beta.13
8(@ibiz-template/controller@0.0.1-beta.138)(@ibiz-template/core@0.0.1-beta.138)(@ibiz-template/model@0.0.1-beta.138)(@ibiz-template/service@0.0.1-beta.138
)(qs@6.11.2)(qx-util@0.4.8)(ramda@0.29.1)(vue-router@3.6.5)(vue@2.7.15)
'
@ibiz/dynamic-model-api'
:
specifier
:
^2.1.28
version
:
2.1.28(qx-util@0.4.8)
...
...
@@ -949,8 +949,8 @@ packages:
qx-util
:
0.4.8
dev
:
false
/@ibiz-template/controller@0.0.1-beta.13
7(@ibiz-template/core@0.0.1-beta.137)(@ibiz-template/model@0.0.1-beta.137)(@ibiz-template/runtime@0.0.1-beta.137)(@ibiz-template/service@0.0.1-beta.137
)(lodash-es@4.17.21)(qs@6.11.2)(qx-util@0.4.8)
:
resolution
:
{
integrity
:
sha512-
HA8pFu/kBa3UKzgQqQn5IDb7wrxeajIRvATM+CfjEU3LDMLoIAsfHPgJGY7UmtGHwVvkyHIYJMbaw71u2FOj/
Q==
}
/@ibiz-template/controller@0.0.1-beta.13
8(@ibiz-template/core@0.0.1-beta.138)(@ibiz-template/model@0.0.1-beta.138)(@ibiz-template/runtime@0.0.1-beta.138)(@ibiz-template/service@0.0.1-beta.138
)(lodash-es@4.17.21)(qs@6.11.2)(qx-util@0.4.8)
:
resolution
:
{
integrity
:
sha512-
0V3QpVshCiiQPr+9/uSi1HoogC0y1VL2nfHfNwR8c6D01aqvJWu7eR+ugTsWoqxqSFKqeo/ygRxcnET+huMph
Q==
}
peerDependencies
:
'
@ibiz-template/core'
:
^0.0.1-beta.132
'
@ibiz-template/model'
:
^0.0.1-beta.132
...
...
@@ -960,10 +960,10 @@ packages:
qs
:
^6.11.0
qx-util
:
^0.4.8
dependencies
:
'
@ibiz-template/core'
:
0.0.1-beta.13
7
(lodash-es@4.17.21)(qx-util@0.4.8)(ramda@0.29.1)
'
@ibiz-template/model'
:
0.0.1-beta.13
7
(@ibiz/dynamic-model-api@2.1.28)(lodash-es@4.17.21)(qx-util@0.4.8)
'
@ibiz-template/runtime'
:
0.0.1-beta.13
7(@ibiz-template/core@0.0.1-beta.137)(@ibiz-template/model@0.0.1-beta.137)(@ibiz-template/service@0.0.1-beta.137
)(qx-util@0.4.8)
'
@ibiz-template/service'
:
0.0.1-beta.13
7(@ibiz-template/core@0.0.1-beta.137)(@ibiz-template/model@0.0.1-beta.137
)(qx-util@0.4.8)(ramda@0.29.1)
'
@ibiz-template/core'
:
0.0.1-beta.13
8
(lodash-es@4.17.21)(qx-util@0.4.8)(ramda@0.29.1)
'
@ibiz-template/model'
:
0.0.1-beta.13
8
(@ibiz/dynamic-model-api@2.1.28)(lodash-es@4.17.21)(qx-util@0.4.8)
'
@ibiz-template/runtime'
:
0.0.1-beta.13
8(@ibiz-template/core@0.0.1-beta.138)(@ibiz-template/model@0.0.1-beta.138)(@ibiz-template/service@0.0.1-beta.138
)(qx-util@0.4.8)
'
@ibiz-template/service'
:
0.0.1-beta.13
8(@ibiz-template/core@0.0.1-beta.138)(@ibiz-template/model@0.0.1-beta.138
)(qx-util@0.4.8)(ramda@0.29.1)
async-validator
:
4.2.5
dayjs
:
1.11.10
lodash-es
:
4.17.21
...
...
@@ -971,8 +971,8 @@ packages:
qx-util
:
0.4.8
dev
:
false
/@ibiz-template/core@0.0.1-beta.13
7
(lodash-es@4.17.21)(qx-util@0.4.8)(ramda@0.29.1)
:
resolution
:
{
integrity
:
sha512-
LV5M0vDr/x6nfiws8HdkT8H+8oKraOrfPevsEVh91bZpz8TroCzQ6ckU4lmV2CxZfNEavA7MCs1pPRRiRgdtbg
==
}
/@ibiz-template/core@0.0.1-beta.13
8
(lodash-es@4.17.21)(qx-util@0.4.8)(ramda@0.29.1)
:
resolution
:
{
integrity
:
sha512-
NADdShzXTouOQbFpo8oByqJ8L5nKquA203mWylE/l4w/j5cd7rrnVerr4vXQqJqNoYBoO71TwuD6bqggiOmKeA
==
}
peerDependencies
:
lodash-es
:
^4.17.21
qx-util
:
^0.4.8
...
...
@@ -989,8 +989,8 @@ packages:
-
debug
dev
:
false
/@ibiz-template/model@0.0.1-beta.13
7
(@ibiz/dynamic-model-api@2.1.28)(lodash-es@4.17.21)(qx-util@0.4.8)
:
resolution
:
{
integrity
:
sha512-
YxnpJaRVYxVyKzU6SLEy8qMb3ZYBkdkkNCsrNRreAH2OM5RGbT6Xz4XNq37L2x4g2N1jJDReNsSO97Ecx5LguQ
==
}
/@ibiz-template/model@0.0.1-beta.13
8
(@ibiz/dynamic-model-api@2.1.28)(lodash-es@4.17.21)(qx-util@0.4.8)
:
resolution
:
{
integrity
:
sha512-
5scwfaLWvIO6yzi2vtVgAie7Gy3ZDa/WMeD51zBLI3kGYUc8nN7P/oGNVAfHEH3AVGqfpfGlq0QLkUwGBvp6vg
==
}
peerDependencies
:
'
@ibiz/dynamic-model-api'
:
^2.1.28
lodash-es
:
^4.17.21
...
...
@@ -1002,8 +1002,8 @@ packages:
qx-util
:
0.4.8
dev
:
false
/@ibiz-template/runtime@0.0.1-beta.13
7(@ibiz-template/core@0.0.1-beta.137)(@ibiz-template/model@0.0.1-beta.137)(@ibiz-template/service@0.0.1-beta.137
)(qx-util@0.4.8)
:
resolution
:
{
integrity
:
sha512-
vbA1sqN49vORqFQ0cW/FKxIYJxPTyXZ9jDNHQQ4UozzWYqbWofZMKlpn+Iv1iNS9qHKmPWXfOiN/8vDavmLIFA
==
}
/@ibiz-template/runtime@0.0.1-beta.13
8(@ibiz-template/core@0.0.1-beta.138)(@ibiz-template/model@0.0.1-beta.138)(@ibiz-template/service@0.0.1-beta.138
)(qx-util@0.4.8)
:
resolution
:
{
integrity
:
sha512-
Zw0OkUlW31gy1eofphC1HTZFBjBph0kbiu1dtXsfW49yb1l9HfwMQqBId4brZ60KetrdnocCYNu+OfA3imS/3Q
==
}
peerDependencies
:
'
@ibiz-template/core'
:
^0.0.1-beta.132
'
@ibiz-template/model'
:
^0.0.1-beta.132
...
...
@@ -1011,33 +1011,33 @@ packages:
qx-util
:
^0.4.8
dependencies
:
'
@ibiz-template/command'
:
0.0.1-beta.50
'
@ibiz-template/core'
:
0.0.1-beta.13
7
(lodash-es@4.17.21)(qx-util@0.4.8)(ramda@0.29.1)
'
@ibiz-template/model'
:
0.0.1-beta.13
7
(@ibiz/dynamic-model-api@2.1.28)(lodash-es@4.17.21)(qx-util@0.4.8)
'
@ibiz-template/service'
:
0.0.1-beta.13
7(@ibiz-template/core@0.0.1-beta.137)(@ibiz-template/model@0.0.1-beta.137
)(qx-util@0.4.8)(ramda@0.29.1)
'
@ibiz-template/core'
:
0.0.1-beta.13
8
(lodash-es@4.17.21)(qx-util@0.4.8)(ramda@0.29.1)
'
@ibiz-template/model'
:
0.0.1-beta.13
8
(@ibiz/dynamic-model-api@2.1.28)(lodash-es@4.17.21)(qx-util@0.4.8)
'
@ibiz-template/service'
:
0.0.1-beta.13
8(@ibiz-template/core@0.0.1-beta.138)(@ibiz-template/model@0.0.1-beta.138
)(qx-util@0.4.8)(ramda@0.29.1)
qs
:
6.11.2
qx-util
:
0.4.8
dev
:
false
/@ibiz-template/service@0.0.1-beta.13
7(@ibiz-template/core@0.0.1-beta.137)(@ibiz-template/model@0.0.1-beta.137
)(qx-util@0.4.8)(ramda@0.29.1)
:
resolution
:
{
integrity
:
sha512-
vdmlFtxnJpEhUpaOqQSanK/XqYleVlNNtMlJJWgwAdIYLsj9mLWa3fxyav7mFb+UBIjmf17wyogyW2ibip/EDQ
==
}
/@ibiz-template/service@0.0.1-beta.13
8(@ibiz-template/core@0.0.1-beta.138)(@ibiz-template/model@0.0.1-beta.138
)(qx-util@0.4.8)(ramda@0.29.1)
:
resolution
:
{
integrity
:
sha512-
18K583/cW1c/y+r+QNsB21kvWesIBza7hALGOpXTMw6BxzWM2WewU/UAdwaauWinahJD2ojYbBI4LUovbDTbxw
==
}
peerDependencies
:
'
@ibiz-template/core'
:
^0.0.1-beta.132
'
@ibiz-template/model'
:
^0.0.1-beta.132
qx-util
:
^0.4.8
ramda
:
^0.28.0
dependencies
:
'
@ibiz-template/core'
:
0.0.1-beta.13
7
(lodash-es@4.17.21)(qx-util@0.4.8)(ramda@0.29.1)
'
@ibiz-template/model'
:
0.0.1-beta.13
7
(@ibiz/dynamic-model-api@2.1.28)(lodash-es@4.17.21)(qx-util@0.4.8)
'
@ibiz-template/core'
:
0.0.1-beta.13
8
(lodash-es@4.17.21)(qx-util@0.4.8)(ramda@0.29.1)
'
@ibiz-template/model'
:
0.0.1-beta.13
8
(@ibiz/dynamic-model-api@2.1.28)(lodash-es@4.17.21)(qx-util@0.4.8)
qx-util
:
0.4.8
ramda
:
0.29.1
dev
:
false
/@ibiz-template/theme@0.0.1-beta.13
7
:
resolution
:
{
integrity
:
sha512-
9G58i6hYzI3OoUALAjrCRtFxfWJUAAJsfM6FU23h7tdbd+2D1q2HlpBTDPCrT5Ufvx7ZRuT6oom/HacBOAiE3g
==
}
/@ibiz-template/theme@0.0.1-beta.13
8
:
resolution
:
{
integrity
:
sha512-
yjt9MBrtuDxnl7/8t9KTl9NP0eMkLy7BVLHOyTH7BMPIMLb/Fhxtlt3wCMtt3NDskW+6BdVHAFo6G338mucygQ
==
}
dev
:
false
/@ibiz-template/vue-util@0.0.1-beta.13
7(@ibiz-template/controller@0.0.1-beta.137)(@ibiz-template/core@0.0.1-beta.137)(@ibiz-template/model@0.0.1-beta.137)(@ibiz-template/service@0.0.1-beta.137
)(qs@6.11.2)(qx-util@0.4.8)(ramda@0.29.1)(vue-router@3.6.5)(vue@2.7.15)
:
resolution
:
{
integrity
:
sha512-
EBLuNXRqBPVddFjyNIdg1MhIppYL/C8oUZlNBP/XrpsWyebTjEoSaktWEXNV1TYzq5EXJ1cCFsOAHKqtD4EEhw
==
}
/@ibiz-template/vue-util@0.0.1-beta.13
8(@ibiz-template/controller@0.0.1-beta.138)(@ibiz-template/core@0.0.1-beta.138)(@ibiz-template/model@0.0.1-beta.138)(@ibiz-template/service@0.0.1-beta.138
)(qs@6.11.2)(qx-util@0.4.8)(ramda@0.29.1)(vue-router@3.6.5)(vue@2.7.15)
:
resolution
:
{
integrity
:
sha512-
q9u6sJmcnRA/BeqyPidb/s8BTtKSKVnc9T58r25Ll1x4/ljiIF/XHhunG7GHJFDIW3nmxU4fa113LL0MIofzcQ
==
}
peerDependencies
:
'
@ibiz-template/controller'
:
^0.0.1-beta.132
'
@ibiz-template/core'
:
^0.0.1-beta.132
...
...
@@ -1049,10 +1049,10 @@ packages:
vue
:
^2.7.14
vue-router
:
^3.6.5
dependencies
:
'
@ibiz-template/controller'
:
0.0.1-beta.13
7(@ibiz-template/core@0.0.1-beta.137)(@ibiz-template/model@0.0.1-beta.137)(@ibiz-template/runtime@0.0.1-beta.137)(@ibiz-template/service@0.0.1-beta.137
)(lodash-es@4.17.21)(qs@6.11.2)(qx-util@0.4.8)
'
@ibiz-template/core'
:
0.0.1-beta.13
7
(lodash-es@4.17.21)(qx-util@0.4.8)(ramda@0.29.1)
'
@ibiz-template/model'
:
0.0.1-beta.13
7
(@ibiz/dynamic-model-api@2.1.28)(lodash-es@4.17.21)(qx-util@0.4.8)
'
@ibiz-template/service'
:
0.0.1-beta.13
7(@ibiz-template/core@0.0.1-beta.137)(@ibiz-template/model@0.0.1-beta.137
)(qx-util@0.4.8)(ramda@0.29.1)
'
@ibiz-template/controller'
:
0.0.1-beta.13
8(@ibiz-template/core@0.0.1-beta.138)(@ibiz-template/model@0.0.1-beta.138)(@ibiz-template/runtime@0.0.1-beta.138)(@ibiz-template/service@0.0.1-beta.138
)(lodash-es@4.17.21)(qs@6.11.2)(qx-util@0.4.8)
'
@ibiz-template/core'
:
0.0.1-beta.13
8
(lodash-es@4.17.21)(qx-util@0.4.8)(ramda@0.29.1)
'
@ibiz-template/model'
:
0.0.1-beta.13
8
(@ibiz/dynamic-model-api@2.1.28)(lodash-es@4.17.21)(qx-util@0.4.8)
'
@ibiz-template/service'
:
0.0.1-beta.13
8(@ibiz-template/core@0.0.1-beta.138)(@ibiz-template/model@0.0.1-beta.138
)(qx-util@0.4.8)(ramda@0.29.1)
qs
:
6.11.2
qx-util
:
0.4.8
ramda
:
0.29.1
...
...
app_Web/src/app-register.ts
浏览文件 @
07c2a3e2
...
...
@@ -61,6 +61,7 @@ import {
ListExpView
,
ListView
,
TreeExpView
,
PickupView2
,
}
from
'./components/views'
;
import
{
IndexView
}
from
'./views'
;
import
AppKeepAlive
from
'./components/common/app-keep-alive/app-keep-alive.vue'
;
...
...
@@ -153,6 +154,7 @@ export const AppRegister = {
v
.
component
(
'ListExpView'
,
ListExpView
);
v
.
component
(
'ListView'
,
ListView
);
v
.
component
(
'TreeExpView'
,
TreeExpView
);
v
.
component
(
'PickupView2'
,
PickupView2
);
// 注册部件组件
v
.
component
(
'AppMenu'
,
AppMenu
);
v
.
component
(
'GridControl'
,
GridControl
);
...
...
app_Web/src/components/view-shell/view-shell.tsx
浏览文件 @
07c2a3e2
...
...
@@ -13,6 +13,7 @@ export const ViewShell = defineComponent({
modal
:
{
type
:
Object
as
PropType
<
IModal
>
},
isRouter
:
{
type
:
Boolean
},
modelPath
:
{
type
:
String
,
required
:
true
},
noLoadDefault
:
{
type
:
Boolean
,
default
:
false
},
},
setup
(
props
)
{
const
provider
=
ref
<
IViewProvider
>
();
...
...
app_Web/src/components/views/index.ts
浏览文件 @
07c2a3e2
...
...
@@ -14,3 +14,4 @@ export * from './tab-exp-view/tab-exp-view';
export
*
from
'./list-exp-view/list-exp-view'
;
export
*
from
'./list-view/list-view'
;
export
*
from
'./tree-exp-view/tree-exp-view'
;
export
*
from
'./pickup-view2/pickup-view2'
;
app_Web/src/components/views/pickup-view2/pickup-view2.tsx
0 → 100644
浏览文件 @
07c2a3e2
import
{
IModal
}
from
'@ibiz-template/runtime'
;
import
{
useNamespace
,
usePickupView2Controller
,
}
from
'@ibiz-template/vue-util'
;
import
{
defineComponent
,
getCurrentInstance
,
PropType
,
VNode
}
from
'vue'
;
import
'@ibiz-template/theme/style/components/views/pickup-view2/pickup-view2.scss'
;
export
const
PickupView2
=
defineComponent
({
props
:
{
context
:
Object
as
PropType
<
IContext
>
,
params
:
{
type
:
Object
as
PropType
<
IParams
>
,
default
:
()
=>
({})
},
modelPath
:
{
type
:
String
,
required
:
true
},
modal
:
{
type
:
Object
as
PropType
<
IModal
>
},
noLoadDefault
:
{
type
:
Boolean
,
required
:
false
},
},
setup
(
props
)
{
const
{
proxy
}
=
getCurrentInstance
()
!
;
const
c
=
usePickupView2Controller
(
proxy
,
props
.
modelPath
);
const
ns
=
useNamespace
(
'view-depickupview2'
);
return
{
c
,
ns
};
},
render
(
h
)
{
let
panelComponent
=
null
;
let
treeComponent
:
VNode
|
null
=
null
;
if
(
this
.
c
.
complete
)
{
const
{
tree
,
pickupViewPanel
}
=
this
.
c
.
model
;
if
(
this
.
c
.
providers
[
tree
.
name
])
{
treeComponent
=
h
(
this
.
c
.
providers
[
tree
.
name
].
component
,
{
props
:
{
modelData
:
tree
,
context
:
this
.
c
.
context
,
params
:
this
.
c
.
params
,
isSelectFirstDefault
:
true
,
},
on
:
{
neuronInit
:
this
.
c
.
nerve
.
onNeuronInit
(
'tree'
),
},
});
}
if
(
this
.
c
.
providers
[
pickupViewPanel
.
name
])
{
panelComponent
=
h
(
this
.
c
.
providers
[
pickupViewPanel
.
name
].
component
,
{
props
:
{
modelData
:
pickupViewPanel
,
context
:
this
.
c
.
navPanelParams
.
context
,
params
:
this
.
c
.
navPanelParams
.
params
,
noLoadDefault
:
true
,
},
on
:
{
neuronInit
:
this
.
c
.
nerve
.
onNeuronInit
(
pickupViewPanel
.
name
),
},
});
}
}
return
(
<
view
-
base
controller=
{
this
.
c
}
>
<
div
class=
{
this
.
ns
.
b
(
'container'
)
}
>
<
div
class=
{
this
.
ns
.
b
(
'left'
)
}
>
{
treeComponent
}
</
div
>
<
div
class=
{
this
.
ns
.
b
(
'right'
)
}
>
{
panelComponent
}
</
div
>
</
div
>
</
view
-
base
>
);
},
});
app_Web/src/components/widgets/pickup-view-panel/pickup-view-panel.tsx
浏览文件 @
07c2a3e2
...
...
@@ -11,6 +11,7 @@ export const PickupViewPanel = defineComponent({
},
context
:
{
type
:
Object
as
PropType
<
IContext
>
,
required
:
true
},
params
:
{
type
:
Object
as
PropType
<
IParams
>
,
default
:
()
=>
({})
},
noLoadDefault
:
{
type
:
Boolean
,
default
:
false
},
},
setup
(
props
)
{
const
{
proxy
}
=
getCurrentInstance
()
!
;
...
...
@@ -39,6 +40,7 @@ export const PickupViewPanel = defineComponent({
params
:
this
.
c
.
params
,
modal
:
this
.
modal
,
modelPath
:
this
.
viewPath
,
noLoadDefault
:
this
.
noLoadDefault
,
},
on
:
{
neuronInit
:
this
.
c
.
nerve
.
onNeuronInit
(
'embedView'
),
...
...
app_Web/src/components/widgets/tree-control/tree-control.tsx
浏览文件 @
07c2a3e2
...
...
@@ -74,9 +74,13 @@ export const TreeControl = defineComponent({
c
.
isSelectFirstDefault
&&
c
.
defaultSelectKeys
.
length
===
0
)
{
if
(
data
[
0
]?.
id
)
{
// UI上通过 key 设置某个节点的当前选中状态
treeRef
.
value
!
.
setCurrentKey
(
data
[
0
].
id
);
c
.
onTreeNodeClick
(
data
[
0
]);
}
else
{
ibiz
.
log
.
error
(
'树加载成功后无数据'
);
}
}
if
(
isFirstLoad
&&
...
...
app_Web/src/provider/view/index.ts
浏览文件 @
07c2a3e2
...
...
@@ -16,6 +16,7 @@ import { WFDynaActionViewProvider } from './wf-dyna-action-view-provider';
import
{
WFDynaEditView3Provider
}
from
'./wf-dyna-edit-view3-provider'
;
import
{
WFDynaStartViewProvider
}
from
'./wf-dyna-start-view-provider'
;
import
{
WFStepTraceViewProvider
}
from
'./wf-step-trace-view-provider'
;
import
{
PickupView2Provider
}
from
'./pickup-view2-provider'
;
/**
* 预置默认的视图适配器
...
...
@@ -49,6 +50,7 @@ export function presetViewProvider(): void {
view
.
register
(
ViewType
.
APP_WF_STEP_TRACE_VIEW
,
new
WFStepTraceViewProvider
());
view
.
register
(
ViewType
.
APP_PORTAL_VIEW
,
new
AppPortalViewProvider
());
view
.
register
(
ViewType
.
DE_PORTAL_VIEW
,
new
AppPortalViewProvider
());
view
.
register
(
ViewType
.
DE_PICKUP_VIEW2
,
new
PickupView2Provider
());
// 导航
view
.
register
(
ViewType
.
DE_TAB_EXP_VIEW
,
new
TabExpViewProvider
());
view
.
register
(
ViewType
.
DE_LIST_EXP_VIEW
,
new
ListExpViewProvider
());
...
...
@@ -74,4 +76,5 @@ export {
ListViewProvider
,
TabExpViewProvider
,
TreeExpViewProvider
,
PickupView2Provider
,
};
app_Web/src/provider/view/pickup-view2-provider.ts
0 → 100644
浏览文件 @
07c2a3e2
import
{
IViewProvider
}
from
'@ibiz-template/controller'
;
/**
* 实体数据选择视图(左右关系)适配器
*
* @author lxm
* @date 2022-10-25 18:10:57
* @export
* @class PickupView2Provider
* @implements {IViewProvider}
*/
export
class
PickupView2Provider
implements
IViewProvider
{
component
:
string
=
'PickupView2'
;
}
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSSYSAPPS/TemplatePublish/PSSYSAPP.json
浏览文件 @
07c2a3e2
...
...
@@ -1579,16 +1579,16 @@
"codeName"
:
"VMGroup2"
,
"name"
:
"视图消息组2"
,
"getPSAppViewMsgGroupDetails"
:
[
{
"name"
:
"视图消息
2
"
,
"name"
:
"视图消息"
,
"getPSAppViewMsg"
:
{
"modelref"
:
true
,
"id"
:
"ViewMsg
3
"
"id"
:
"ViewMsg
2
"
}
},
{
"name"
:
"视图消息"
,
"name"
:
"视图消息
2
"
,
"getPSAppViewMsg"
:
{
"modelref"
:
true
,
"id"
:
"ViewMsg
2
"
"id"
:
"ViewMsg
3
"
}
}
]
},
{
...
...
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSSYSAPPS/Web/PSSYSAPP.json
浏览文件 @
07c2a3e2
...
...
@@ -12841,16 +12841,16 @@
"codeName" : "VMGroup2",
"name" : "视图消息组2",
"getPSAppViewMsgGroupDetails" : [ {
"name" : "视图消息
2
",
"name" : "视图消息",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg
3
"
"id" : "ViewMsg
2
"
}
}, {
"name" : "视图消息",
"name" : "视图消息
2
",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg
2
"
"id" : "ViewMsg
3
"
}
} ]
}, {
...
...
@@ -12879,16 +12879,16 @@
"codeName" : "VMGroup3",
"name" : "视图消息类型测试",
"getPSAppViewMsgGroupDetails" : [ {
"name" : "消息类型-
警告
信息",
"name" : "消息类型-
错误
信息",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg
5
"
"id" : "ViewMsg
6
"
}
}, {
"name" : "消息类型-
错误
信息",
"name" : "消息类型-
警告
信息",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg
6
"
"id" : "ViewMsg
5
"
}
}, {
"name" : "消息类型-常规信息",
...
...
@@ -12911,6 +12911,12 @@
"codeName" : "VMGroup4",
"name" : "视图消息位置测试",
"getPSAppViewMsgGroupDetails" : [ {
"name" : "消息位置-弹出",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg10"
}
}, {
"name" : "消息位置-视图内容区",
"getPSAppViewMsg" : {
"modelref" : true,
...
...
@@ -12928,29 +12934,23 @@
"modelref" : true,
"id" : "ViewMsg8"
}
}, {
"name" : "消息位置-弹出",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg10"
}
} ]
}, {
"codeName" : "VMGroup8",
"name" : "【静态测试】",
"getPSAppViewMsgGroupDetails" : [ {
"name" : "
消息类型-常规信息
",
"name" : "
关闭模式-本次删除-上方-警告
",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg4"
},
"position" : "POPUP"
"id" : "ViewMsg13"
}
}, {
"name" : "
关闭模式-无删除-上方-常规
",
"name" : "
消息类型-错误信息
",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg11"
}
"id" : "ViewMsg6"
},
"position" : "POPUP"
}, {
"name" : "消息位置-视图下方",
"getPSAppViewMsg" : {
...
...
@@ -12958,17 +12958,18 @@
"id" : "ViewMsg8"
}
}, {
"name" : "
消息位置-视图内容区
",
"name" : "
关闭模式-无删除-上方-常规
",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg
9
"
"id" : "ViewMsg
11
"
}
}, {
"name" : "
关闭模式-默认删除-上方-错误
",
"name" : "
消息类型-常规信息
",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg12"
}
"id" : "ViewMsg4"
},
"position" : "POPUP"
}, {
"name" : "消息类型-警告信息",
"getPSAppViewMsg" : {
...
...
@@ -12977,55 +12978,54 @@
},
"position" : "POPUP"
}, {
"name" : "关闭模式-
本次删除-上方-警告
",
"name" : "关闭模式-
默认删除-上方-错误
",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg1
3
"
"id" : "ViewMsg1
2
"
}
}, {
"name" : "消息
类型-错误信息
",
"name" : "消息
位置-视图内容区
",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg6"
},
"position" : "POPUP"
"id" : "ViewMsg9"
}
} ]
}, {
"codeName" : "VMGroup5",
"name" : "视图消息关闭模式",
"getPSAppViewMsgGroupDetails" : [ {
"name" : "关闭模式-
默认
删除",
"name" : "关闭模式-
无
删除",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg1
2
"
"id" : "ViewMsg1
1
"
}
}, {
"name" : "关闭模式-
本次
删除",
"name" : "关闭模式-
默认
删除",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg1
3
"
"id" : "ViewMsg1
2
"
}
}, {
"name" : "关闭模式-
无
删除",
"name" : "关闭模式-
本次
删除",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg1
1
"
"id" : "ViewMsg1
3
"
}
} ]
}, {
"codeName" : "VMGroup6",
"name" : "视图消息动态模式测试",
"getPSAppViewMsgGroupDetails" : [ {
"name" : "动态模式-
静态内容
",
"name" : "动态模式-
实体数据集
",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg1
5
"
"id" : "ViewMsg1
4
"
}
}, {
"name" : "动态模式-
实体数据集
",
"name" : "动态模式-
静态内容
",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg1
4
"
"id" : "ViewMsg1
5
"
}
} ]
} ],
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录