Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
T
TrainSys
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
苏州培训方案
TrainSys
提交
2caea70f
提交
2caea70f
编写于
10月 31, 2023
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
zhujiamin 发布系统代码 [TrainSys,网页端]
上级
9e8a0a9e
变更
6
隐藏空白字符变更
内嵌
并排
正在显示
6 个修改的文件
包含
82 行增加
和
68 行删除
+82
-68
package.json
app_Web/package.json
+7
-7
pnpm-lock.yaml
app_Web/pnpm-lock.yaml
+41
-41
ibiz-grid-file-upload.tsx
...or/upload/ibiz-grid-file-upload/ibiz-grid-file-upload.tsx
+2
-5
portlet-layout.tsx
...b/src/components/layout/portlet-layout/portlet-layout.tsx
+15
-14
dashboard-control.tsx
...omponents/widgets/dashboard-control/dashboard-control.tsx
+16
-1
index.ts
app_Web/src/provider/view/index.ts
+1
-0
未找到文件。
app_Web/package.json
浏览文件 @
2caea70f
...
...
@@ -13,13 +13,13 @@
"dependencies"
:
{
"@floating-ui/dom"
:
"^1.0.11"
,
"@ibiz-template/command"
:
"^0.0.1-beta.50"
,
"@ibiz-template/controller"
:
"^0.0.1-beta.12
7
"
,
"@ibiz-template/core"
:
"^0.0.1-beta.12
7
"
,
"@ibiz-template/model"
:
"^0.0.1-beta.12
7
"
,
"@ibiz-template/runtime"
:
"^0.0.1-beta.12
7
"
,
"@ibiz-template/service"
:
"^0.0.1-beta.12
7
"
,
"@ibiz-template/theme"
:
"^0.0.1-beta.12
7
"
,
"@ibiz-template/vue-util"
:
"^0.0.1-beta.12
7
"
,
"@ibiz-template/controller"
:
"^0.0.1-beta.12
8
"
,
"@ibiz-template/core"
:
"^0.0.1-beta.12
8
"
,
"@ibiz-template/model"
:
"^0.0.1-beta.12
8
"
,
"@ibiz-template/runtime"
:
"^0.0.1-beta.12
8
"
,
"@ibiz-template/service"
:
"^0.0.1-beta.12
8
"
,
"@ibiz-template/theme"
:
"^0.0.1-beta.12
8
"
,
"@ibiz-template/vue-util"
:
"^0.0.1-beta.12
8
"
,
"@ibiz/dynamic-model-api"
:
"^2.1.28"
,
"@riophae/vue-treeselect"
:
"^0.4.0"
,
"dayjs"
:
"^1.11.7"
,
...
...
app_Web/pnpm-lock.yaml
浏览文件 @
2caea70f
...
...
@@ -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.12
7
version
:
0.0.1-beta.12
7(@ibiz-template/core@0.0.1-beta.127)(@ibiz-template/model@0.0.1-beta.127)(@ibiz-template/runtime@0.0.1-beta.127)(@ibiz-template/service@0.0.1-beta.127
)(lodash-es@4.17.21)(qs@6.11.1)(qx-util@0.4.8)
specifier
:
^0.0.1-beta.12
8
version
:
0.0.1-beta.12
8(@ibiz-template/core@0.0.1-beta.128)(@ibiz-template/model@0.0.1-beta.128)(@ibiz-template/runtime@0.0.1-beta.128)(@ibiz-template/service@0.0.1-beta.128
)(lodash-es@4.17.21)(qs@6.11.1)(qx-util@0.4.8)
'
@ibiz-template/core'
:
specifier
:
^0.0.1-beta.12
7
version
:
0.0.1-beta.12
7
(lodash-es@4.17.21)(qx-util@0.4.8)(ramda@0.28.0)
specifier
:
^0.0.1-beta.12
8
version
:
0.0.1-beta.12
8
(lodash-es@4.17.21)(qx-util@0.4.8)(ramda@0.28.0)
'
@ibiz-template/model'
:
specifier
:
^0.0.1-beta.12
7
version
:
0.0.1-beta.12
7
(@ibiz/dynamic-model-api@2.1.28)(lodash-es@4.17.21)(qx-util@0.4.8)
specifier
:
^0.0.1-beta.12
8
version
:
0.0.1-beta.12
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.12
7
version
:
0.0.1-beta.12
7(@ibiz-template/core@0.0.1-beta.127)(@ibiz-template/model@0.0.1-beta.127)(@ibiz-template/service@0.0.1-beta.127
)(qx-util@0.4.8)
specifier
:
^0.0.1-beta.12
8
version
:
0.0.1-beta.12
8(@ibiz-template/core@0.0.1-beta.128)(@ibiz-template/model@0.0.1-beta.128)(@ibiz-template/service@0.0.1-beta.128
)(qx-util@0.4.8)
'
@ibiz-template/service'
:
specifier
:
^0.0.1-beta.12
7
version
:
0.0.1-beta.12
7(@ibiz-template/core@0.0.1-beta.127)(@ibiz-template/model@0.0.1-beta.127
)(qx-util@0.4.8)(ramda@0.28.0)
specifier
:
^0.0.1-beta.12
8
version
:
0.0.1-beta.12
8(@ibiz-template/core@0.0.1-beta.128)(@ibiz-template/model@0.0.1-beta.128
)(qx-util@0.4.8)(ramda@0.28.0)
'
@ibiz-template/theme'
:
specifier
:
^0.0.1-beta.12
7
version
:
0.0.1-beta.12
7
specifier
:
^0.0.1-beta.12
8
version
:
0.0.1-beta.12
8
'
@ibiz-template/vue-util'
:
specifier
:
^0.0.1-beta.12
7
version
:
0.0.1-beta.12
7(@ibiz-template/controller@0.0.1-beta.127)(@ibiz-template/core@0.0.1-beta.127)(@ibiz-template/model@0.0.1-beta.127)(@ibiz-template/service@0.0.1-beta.127
)(qs@6.11.1)(qx-util@0.4.8)(ramda@0.28.0)(vue-router@3.6.5)(vue@2.7.14)
specifier
:
^0.0.1-beta.12
8
version
:
0.0.1-beta.12
8(@ibiz-template/controller@0.0.1-beta.128)(@ibiz-template/core@0.0.1-beta.128)(@ibiz-template/model@0.0.1-beta.128)(@ibiz-template/service@0.0.1-beta.128
)(qs@6.11.1)(qx-util@0.4.8)(ramda@0.28.0)(vue-router@3.6.5)(vue@2.7.14)
'
@ibiz/dynamic-model-api'
:
specifier
:
^2.1.28
version
:
2.1.28(qx-util@0.4.8)
...
...
@@ -939,8 +939,8 @@ packages:
qx-util
:
0.4.8
dev
:
false
/@ibiz-template/controller@0.0.1-beta.12
7(@ibiz-template/core@0.0.1-beta.127)(@ibiz-template/model@0.0.1-beta.127)(@ibiz-template/runtime@0.0.1-beta.127)(@ibiz-template/service@0.0.1-beta.127
)(lodash-es@4.17.21)(qs@6.11.1)(qx-util@0.4.8)
:
resolution
:
{
integrity
:
sha512-
7dpVXI1ClXyJeshIsUG4RZakMeUoTNyuvx1Kj6Th4d1Y49b2fn4iM2q4zdIwJvgQkCYSS5NWZ3u8lRLOamhMDg
==
}
/@ibiz-template/controller@0.0.1-beta.12
8(@ibiz-template/core@0.0.1-beta.128)(@ibiz-template/model@0.0.1-beta.128)(@ibiz-template/runtime@0.0.1-beta.128)(@ibiz-template/service@0.0.1-beta.128
)(lodash-es@4.17.21)(qs@6.11.1)(qx-util@0.4.8)
:
resolution
:
{
integrity
:
sha512-
uK7c5MfQ7HMUIHypAlqn/okfTV81iVVs51xjxleWMJexHdr5jOdaeznJivpP8U9UjhBS1lxja+7kzJ8KEunNdA
==
}
peerDependencies
:
'
@ibiz-template/core'
:
^0.0.1-beta.30
'
@ibiz-template/model'
:
^0.0.1-beta.30
...
...
@@ -950,10 +950,10 @@ packages:
qs
:
^6.11.0
qx-util
:
^0.4.8
dependencies
:
'
@ibiz-template/core'
:
0.0.1-beta.12
7
(lodash-es@4.17.21)(qx-util@0.4.8)(ramda@0.28.0)
'
@ibiz-template/model'
:
0.0.1-beta.12
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.12
7(@ibiz-template/core@0.0.1-beta.127)(@ibiz-template/model@0.0.1-beta.127)(@ibiz-template/service@0.0.1-beta.127
)(qx-util@0.4.8)
'
@ibiz-template/service'
:
0.0.1-beta.12
7(@ibiz-template/core@0.0.1-beta.127)(@ibiz-template/model@0.0.1-beta.127
)(qx-util@0.4.8)(ramda@0.28.0)
'
@ibiz-template/core'
:
0.0.1-beta.12
8
(lodash-es@4.17.21)(qx-util@0.4.8)(ramda@0.28.0)
'
@ibiz-template/model'
:
0.0.1-beta.12
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.12
8(@ibiz-template/core@0.0.1-beta.128)(@ibiz-template/model@0.0.1-beta.128)(@ibiz-template/service@0.0.1-beta.128
)(qx-util@0.4.8)
'
@ibiz-template/service'
:
0.0.1-beta.12
8(@ibiz-template/core@0.0.1-beta.128)(@ibiz-template/model@0.0.1-beta.128
)(qx-util@0.4.8)(ramda@0.28.0)
async-validator
:
4.2.5
dayjs
:
1.11.7
lodash-es
:
4.17.21
...
...
@@ -961,8 +961,8 @@ packages:
qx-util
:
0.4.8
dev
:
false
/@ibiz-template/core@0.0.1-beta.12
7
(lodash-es@4.17.21)(qx-util@0.4.8)(ramda@0.28.0)
:
resolution
:
{
integrity
:
sha512-
k7LsO2H0ca59PKf7K/uMXHVMElOpkXfbQfEwB9Fecq1PCHKD/W4puO9aSmJRTLwv26SrECJIdLcYu26gncm8Tg
==
}
/@ibiz-template/core@0.0.1-beta.12
8
(lodash-es@4.17.21)(qx-util@0.4.8)(ramda@0.28.0)
:
resolution
:
{
integrity
:
sha512-
VTuizfi/ck1SEiWuilj4L9Wl6njnT1EV95hgKVnIrE53VO/rEJFaTK3M1mq0vI69UBrdNESG7ClHfduQiwQ/WQ
==
}
peerDependencies
:
lodash-es
:
^4.17.21
qx-util
:
^0.4.8
...
...
@@ -979,8 +979,8 @@ packages:
-
debug
dev
:
false
/@ibiz-template/model@0.0.1-beta.12
7
(@ibiz/dynamic-model-api@2.1.28)(lodash-es@4.17.21)(qx-util@0.4.8)
:
resolution
:
{
integrity
:
sha512-
fRoIWsLujfc4jaIJnqI63gqCAmA9OjEpW4y+vILlVk65CF9ULKLTCpktSu6fSyu1+3kYh3qPng+VhWQTDOhQsQ
==
}
/@ibiz-template/model@0.0.1-beta.12
8
(@ibiz/dynamic-model-api@2.1.28)(lodash-es@4.17.21)(qx-util@0.4.8)
:
resolution
:
{
integrity
:
sha512-
YyO1/vCyUiUg+oPDltSmuVknpwTZ2Pv1cTfwlkKIYDXpv1dYzCJ0hb+910nKfS/6p6pm2JrfXlwLp9jyHFQBig
==
}
peerDependencies
:
'
@ibiz/dynamic-model-api'
:
^2.1.28
lodash-es
:
^4.17.21
...
...
@@ -992,8 +992,8 @@ packages:
qx-util
:
0.4.8
dev
:
false
/@ibiz-template/runtime@0.0.1-beta.12
7(@ibiz-template/core@0.0.1-beta.127)(@ibiz-template/model@0.0.1-beta.127)(@ibiz-template/service@0.0.1-beta.127
)(qx-util@0.4.8)
:
resolution
:
{
integrity
:
sha512-
eAKqcor4ev6/b4pjxdzPb8J/ewsEj3NJ74PLmImrRpPFm0Or10Iac74uZt0aDNSXWgDfJu/A54MJcfrM5WwvEA
==
}
/@ibiz-template/runtime@0.0.1-beta.12
8(@ibiz-template/core@0.0.1-beta.128)(@ibiz-template/model@0.0.1-beta.128)(@ibiz-template/service@0.0.1-beta.128
)(qx-util@0.4.8)
:
resolution
:
{
integrity
:
sha512-
mukS6CXV/RvQZg4oYyRkyp9qp+LA+Ce8gUAdPlr3aJS/KWDltQNiSpXr07wxgTXs2Ph6LXztp6VGWWtfYdHgRg
==
}
peerDependencies
:
'
@ibiz-template/core'
:
^0.0.1-beta.30
'
@ibiz-template/model'
:
^0.0.1-beta.30
...
...
@@ -1001,33 +1001,33 @@ packages:
qx-util
:
^0.4.8
dependencies
:
'
@ibiz-template/command'
:
0.0.1-beta.50
'
@ibiz-template/core'
:
0.0.1-beta.12
7
(lodash-es@4.17.21)(qx-util@0.4.8)(ramda@0.28.0)
'
@ibiz-template/model'
:
0.0.1-beta.12
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.12
7(@ibiz-template/core@0.0.1-beta.127)(@ibiz-template/model@0.0.1-beta.127
)(qx-util@0.4.8)(ramda@0.28.0)
'
@ibiz-template/core'
:
0.0.1-beta.12
8
(lodash-es@4.17.21)(qx-util@0.4.8)(ramda@0.28.0)
'
@ibiz-template/model'
:
0.0.1-beta.12
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.12
8(@ibiz-template/core@0.0.1-beta.128)(@ibiz-template/model@0.0.1-beta.128
)(qx-util@0.4.8)(ramda@0.28.0)
qs
:
6.11.1
qx-util
:
0.4.8
dev
:
false
/@ibiz-template/service@0.0.1-beta.12
7(@ibiz-template/core@0.0.1-beta.127)(@ibiz-template/model@0.0.1-beta.127
)(qx-util@0.4.8)(ramda@0.28.0)
:
resolution
:
{
integrity
:
sha512-
QPIEkaIUBMS0p9y/iCCW2kfKVtLra0s4MGQB+xCrfX2ssaFLe0IJ9/wXyjAWWbKiw8j1oLOVnqw7RsF7gbgKRw
==
}
/@ibiz-template/service@0.0.1-beta.12
8(@ibiz-template/core@0.0.1-beta.128)(@ibiz-template/model@0.0.1-beta.128
)(qx-util@0.4.8)(ramda@0.28.0)
:
resolution
:
{
integrity
:
sha512-
xjPqQ0cq5Hc+pHLDlGQhw96jG699Wvg02L818b/cA+/42cLKIVjsRJAdGK//iPGSAqmrZmcc77gXMVOlmUQuEg
==
}
peerDependencies
:
'
@ibiz-template/core'
:
^0.0.1-beta.30
'
@ibiz-template/model'
:
^0.0.1-beta.30
qx-util
:
^0.4.8
ramda
:
^0.28.0
dependencies
:
'
@ibiz-template/core'
:
0.0.1-beta.12
7
(lodash-es@4.17.21)(qx-util@0.4.8)(ramda@0.28.0)
'
@ibiz-template/model'
:
0.0.1-beta.12
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.12
8
(lodash-es@4.17.21)(qx-util@0.4.8)(ramda@0.28.0)
'
@ibiz-template/model'
:
0.0.1-beta.12
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.28.0
dev
:
false
/@ibiz-template/theme@0.0.1-beta.12
7
:
resolution
:
{
integrity
:
sha512-
QoUEE0YB/bCGjlJ/2tV3WtFVE/j3HmLKiDHlqk6RBLfPOYde/3wW8tj87ANfAN1QVWzweA9TDDf/GjC0jlM8kw
==
}
/@ibiz-template/theme@0.0.1-beta.12
8
:
resolution
:
{
integrity
:
sha512-
3ZEBw0TO/7xO2UNQyR3Fw0hfERJzHTcH9sLQDv8rv4LNI1mRP3xfilv4UVBbj1xKb1VXmjYwE18j7R54Ii6Z/g
==
}
dev
:
false
/@ibiz-template/vue-util@0.0.1-beta.12
7(@ibiz-template/controller@0.0.1-beta.127)(@ibiz-template/core@0.0.1-beta.127)(@ibiz-template/model@0.0.1-beta.127)(@ibiz-template/service@0.0.1-beta.127
)(qs@6.11.1)(qx-util@0.4.8)(ramda@0.28.0)(vue-router@3.6.5)(vue@2.7.14)
:
resolution
:
{
integrity
:
sha512-
pLD7QR97GvhzvE0PWDcGyuSwS8RYrZtBmNn3BAmhyn7ciCM2Pz1jbv2ihmjVyZkyqCsQWELftuPXYjKbteMvXQ
==
}
/@ibiz-template/vue-util@0.0.1-beta.12
8(@ibiz-template/controller@0.0.1-beta.128)(@ibiz-template/core@0.0.1-beta.128)(@ibiz-template/model@0.0.1-beta.128)(@ibiz-template/service@0.0.1-beta.128
)(qs@6.11.1)(qx-util@0.4.8)(ramda@0.28.0)(vue-router@3.6.5)(vue@2.7.14)
:
resolution
:
{
integrity
:
sha512-
cexyura4gSpJjI2Bg/lDD7IV2lztSPWyI/g7NdW8kXyiP3dHF3b3MNxxQ/0qVdCMLPlYpOBbhm1yt/8NzX33Kw
==
}
peerDependencies
:
'
@ibiz-template/controller'
:
^0.0.1-beta.30
'
@ibiz-template/core'
:
^0.0.1-beta.30
...
...
@@ -1039,10 +1039,10 @@ packages:
vue
:
^2.7.14
vue-router
:
^3.6.5
dependencies
:
'
@ibiz-template/controller'
:
0.0.1-beta.12
7(@ibiz-template/core@0.0.1-beta.127)(@ibiz-template/model@0.0.1-beta.127)(@ibiz-template/runtime@0.0.1-beta.127)(@ibiz-template/service@0.0.1-beta.127
)(lodash-es@4.17.21)(qs@6.11.1)(qx-util@0.4.8)
'
@ibiz-template/core'
:
0.0.1-beta.12
7
(lodash-es@4.17.21)(qx-util@0.4.8)(ramda@0.28.0)
'
@ibiz-template/model'
:
0.0.1-beta.12
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.12
7(@ibiz-template/core@0.0.1-beta.127)(@ibiz-template/model@0.0.1-beta.127
)(qx-util@0.4.8)(ramda@0.28.0)
'
@ibiz-template/controller'
:
0.0.1-beta.12
8(@ibiz-template/core@0.0.1-beta.128)(@ibiz-template/model@0.0.1-beta.128)(@ibiz-template/runtime@0.0.1-beta.128)(@ibiz-template/service@0.0.1-beta.128
)(lodash-es@4.17.21)(qs@6.11.1)(qx-util@0.4.8)
'
@ibiz-template/core'
:
0.0.1-beta.12
8
(lodash-es@4.17.21)(qx-util@0.4.8)(ramda@0.28.0)
'
@ibiz-template/model'
:
0.0.1-beta.12
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.12
8(@ibiz-template/core@0.0.1-beta.128)(@ibiz-template/model@0.0.1-beta.128
)(qx-util@0.4.8)(ramda@0.28.0)
qs
:
6.11.1
qx-util
:
0.4.8
ramda
:
0.28.0
...
...
app_Web/src/components/editor/upload/ibiz-grid-file-upload/ibiz-grid-file-upload.tsx
浏览文件 @
2caea70f
...
...
@@ -89,7 +89,7 @@ export const IBizGridFileUpload = defineComponent({
// 非禁用和只读的时候点击打开飘窗
useEventListener
(
componentRef
,
'click'
,
_evt
=>
{
if
(
!
props
.
disabled
&&
!
props
.
readonly
)
{
if
(
!
props
.
readonly
)
{
openPopover
();
}
});
...
...
@@ -97,7 +97,7 @@ export const IBizGridFileUpload = defineComponent({
const
onFileClick
=
(
file
:
FileInfo
)
=>
{
// 编辑态时点击触发的打开飘窗,其他行为都禁用
// 图片点击不下载,弹出预览
if
(
!
props
.
disabled
||
file
.
isImage
)
{
if
(
file
.
isImage
)
{
return
;
}
props
.
controller
.
fileDownload
(
file
as
Required
<
FileInfo
>
);
...
...
@@ -105,9 +105,6 @@ export const IBizGridFileUpload = defineComponent({
const
onImageClick
=
(
file
:
FileInfo
)
=>
{
// 编辑态时点击触发的打开飘窗,其他行为都禁用
if
(
!
props
.
disabled
)
{
return
;
}
openImagePreview
(
file
);
};
...
...
app_Web/src/components/layout/portlet-layout/portlet-layout.tsx
浏览文件 @
2caea70f
import
{
PortletPartController
}
from
'@ibiz-template/controller'
;
import
{
useNamespace
}
from
'@ibiz-template/vue-util'
;
import
{
computed
,
defineComponent
}
from
'vue'
;
import
{
IPSUIActionGroupDetail
}
from
'@ibiz-template/model'
;
import
'./portlet-layout.scss'
;
/**
...
...
@@ -23,17 +24,17 @@ export const PortletLayout = defineComponent({
});
// 点击工具栏处理
//
const onActionClick = async (
//
detail: IPSUIActionGroupDetail,
//
event: MouseEvent,
//
) => {
//
await props.controller.onActionClick(detail, event);
//
};
const
onActionClick
=
async
(
detail
:
IPSUIActionGroupDetail
,
event
:
MouseEvent
,
)
=>
{
await
props
.
controller
.
onActionClick
(
detail
,
event
);
};
return
{
ns
,
isShowHeader
};
return
{
ns
,
isShowHeader
,
onActionClick
};
},
render
()
{
const
{
model
}
=
this
.
$prop
s
.
controller
;
const
{
model
,
state
}
=
thi
s
.
controller
;
return
(
<
div
class=
{
[
this
.
ns
.
b
(),
this
.
ns
.
is
(
'no-header'
,
!
this
.
isShowHeader
)]
}
>
{
this
.
isShowHeader
&&
(
...
...
@@ -51,16 +52,16 @@ export const PortletLayout = defineComponent({
</
div
>
)
}
</
div
>
{
/*
<div class={this.ns.be('header', 'right')}>
{model.actionGroup && (
<
div
class=
{
this
.
ns
.
be
(
'header'
,
'right'
)
}
>
{
model
.
actionGroup
&&
state
.
actionGroupState
&&
(
<
action
-
toolbar
class=
{
this
.
ns
.
e
(
'toolbar'
)
}
action
-details={this.controller.model.uiActionGroupDetails
}
actions
-s
tate={state.actionGroupState}
on
ActionC
lick={this.onActionClick}
action
Group=
{
model
.
actionGroup
}
actions
S
tate=
{
state
.
actionGroupState
}
on
-
action
-
c
lick=
{
this
.
onActionClick
}
></
action
-
toolbar
>
)
}
</div>
*/
}
</
div
>
</
div
>
)
}
<
div
key=
'content'
class=
{
this
.
ns
.
b
(
'content'
)
}
>
...
...
app_Web/src/components/widgets/dashboard-control/dashboard-control.tsx
浏览文件 @
2caea70f
...
...
@@ -5,7 +5,14 @@ import {
PortletPartModel
,
}
from
'@ibiz-template/model'
;
import
{
useDashboardController
,
useNamespace
}
from
'@ibiz-template/vue-util'
;
import
{
defineComponent
,
getCurrentInstance
,
h
,
PropType
,
VNode
}
from
'vue'
;
import
{
defineComponent
,
getCurrentInstance
,
h
,
PropType
,
reactive
,
VNode
,
}
from
'vue'
;
import
'./dashboard-control.scss'
;
/**
...
...
@@ -71,6 +78,14 @@ export const DashboardControl = defineComponent({
props
.
params
,
);
c
.
nerve
.
self
.
evt
.
on
(
'created'
,
()
=>
{
Object
.
values
(
c
.
portlets
).
forEach
(
portlet
=>
{
Object
.
assign
(
portlet
,
{
state
:
reactive
(
portlet
.
state
),
});
});
});
const
ns
=
useNamespace
(
'dashboard'
);
return
{
c
,
ns
};
...
...
app_Web/src/provider/view/index.ts
浏览文件 @
2caea70f
...
...
@@ -48,6 +48,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_TAB_EXP_VIEW
,
new
TabExpViewProvider
());
view
.
register
(
ViewType
.
DE_LIST_EXP_VIEW
,
new
ListExpViewProvider
());
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录