Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
T
TrainSys
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
苏州培训方案
TrainSys
提交
14fa698a
提交
14fa698a
编写于
5月 17, 2023
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
lxm1993 发布系统代码 [TrainSys,网页端]
上级
274117a2
变更
8
展开全部
隐藏空白字符变更
内嵌
并排
正在显示
8 个修改的文件
包含
120 行增加
和
86 行删除
+120
-86
CHANGELOG.md
app_Web/CHANGELOG.md
+14
-0
package.json
app_Web/package.json
+7
-7
pnpm-lock.yaml
app_Web/pnpm-lock.yaml
+41
-41
grid-control.tsx
app_Web/src/components/widgets/grid-control/grid-control.tsx
+15
-1
grid-control.util.ts
.../src/components/widgets/grid-control/grid-control.util.ts
+7
-1
yarn.lock
app_Web/yarn.lock
+28
-28
PSSYSAPP.json
.../ibizlab/trainsys/PSSYSAPPS/TemplatePublish/PSSYSAPP.json
+4
-4
PSSYSAPP.json
...ces/model/cn/ibizlab/trainsys/PSSYSAPPS/Web/PSSYSAPP.json
+4
-4
未找到文件。
app_Web/CHANGELOG.md
0 → 100644
浏览文件 @
14fa698a
# 版本变更日志
这个项目的所有关键变化都将记录在此文件中.
此日志格式基于
[
Keep a Changelog
](
https://keepachangelog.com/zh-CN/1.0.0/
)
,
并且此项目遵循
[
Semantic Versioning
](
https://semver.org/lang/zh-CN/
)
.
## [Unreleased]
## [0.0.1] - 2023-05-16
### Added
-
补充视图逻辑类型、界面行为补充标题等输出
\
app_Web/package.json
浏览文件 @
14fa698a
...
...
@@ -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.7
7
"
,
"@ibiz-template/core"
:
"^0.0.1-beta.7
7
"
,
"@ibiz-template/model"
:
"^0.0.1-beta.7
7
"
,
"@ibiz-template/runtime"
:
"^0.0.1-beta.7
7
"
,
"@ibiz-template/service"
:
"^0.0.1-beta.7
7
"
,
"@ibiz-template/theme"
:
"^0.0.1-beta.7
7
"
,
"@ibiz-template/vue-util"
:
"^0.0.1-beta.7
7
"
,
"@ibiz-template/controller"
:
"^0.0.1-beta.7
8
"
,
"@ibiz-template/core"
:
"^0.0.1-beta.7
8
"
,
"@ibiz-template/model"
:
"^0.0.1-beta.7
8
"
,
"@ibiz-template/runtime"
:
"^0.0.1-beta.7
8
"
,
"@ibiz-template/service"
:
"^0.0.1-beta.7
8
"
,
"@ibiz-template/theme"
:
"^0.0.1-beta.7
8
"
,
"@ibiz-template/vue-util"
:
"^0.0.1-beta.7
8
"
,
"@ibiz/dynamic-model-api"
:
"^2.1.17"
,
"@riophae/vue-treeselect"
:
"^0.4.0"
,
"dayjs"
:
"^1.11.7"
,
...
...
app_Web/pnpm-lock.yaml
浏览文件 @
14fa698a
此差异已折叠。
点击以展开。
app_Web/src/components/widgets/grid-control/grid-control.tsx
浏览文件 @
14fa698a
import
{
GridModel
}
from
'@ibiz-template/model'
;
import
{
useGridController
,
useNamespace
}
from
'@ibiz-template/vue-util'
;
import
{
computed
,
defineComponent
,
getCurrentInstance
,
h
,
...
...
@@ -127,10 +128,15 @@ export const GridControl = defineComponent({
}
});
const
tableData
=
computed
(()
=>
{
return
[{
hiddenRow
:
true
},
...
c
.
items
];
});
return
{
c
,
ns
,
columns
,
tableData
,
onDbRowClick
,
onUIRowClick
,
onSelectionChange
,
...
...
@@ -158,6 +164,13 @@ export const GridControl = defineComponent({
const
columnName
=
column
.
codeName
;
columnSlots
[
columnName
]
=
({
row
,
index
}:
IData
)
=>
{
const
rowController
=
this
.
c
.
rows
[
index
];
if
(
row
.
hiddenRow
)
{
return
(
<
span
style=
'word-break: break-word;white-space: pre-wrap;'
>
隐藏行的列隐藏行的列隐藏行的列隐藏行的列隐藏行的列隐藏行的列隐藏行的列隐藏行的列隐藏行的列隐藏行的列隐藏行的列隐藏行的列
</
span
>
);
}
if
(
rowController
)
{
return
h
(
this
.
c
.
providers
[
columnName
].
component
,
{
props
:
{
...
...
@@ -186,12 +199,13 @@ export const GridControl = defineComponent({
class=
{
this
.
ns
.
b
(
'content'
)
}
show
-
header=
{
!
this
.
c
.
model
.
source
.
hideHeader
}
highlight
-
row
data=
{
this
.
c
.
items
}
data=
{
this
.
tableData
}
columns=
{
this
.
columns
}
on
-
on
-
row
-
click=
{
this
.
onUIRowClick
}
on
-
on
-
row
-
dblclick=
{
this
.
onDbRowClick
}
on
-
on
-
selection
-
change=
{
this
.
onSelectionChange
}
on
-
on
-
sort
-
change=
{
this
.
onSortChange
}
row
-
class
-
name=
{
(
row
:
IData
)
=>
(
row
.
hiddenRow
?
'hidden-row'
:
''
)
}
scopedSlots=
{
columnSlots
}
></
i
-
table
>
{
this
.
c
.
model
.
source
.
enablePagingBar
&&
(
...
...
app_Web/src/components/widgets/grid-control/grid-control.util.ts
浏览文件 @
14fa698a
...
...
@@ -140,7 +140,13 @@ export function useITableEvent(c: GridController) {
function
onSelectionChange
(
selection
:
IData
[])
{
// 单选的时候选中效果靠点击事件
if
(
!
c
.
singleSelect
)
{
const
origins
=
selection
.
map
(
item
=>
getOriginData
(
item
));
const
origins
:
IData
[]
=
[];
selection
.
forEach
(
item
=>
{
const
find
=
getOriginData
(
item
);
if
(
find
)
{
origins
.
push
(
find
);
}
});
c
.
onSelectionChange
(
origins
);
}
}
...
...
app_Web/yarn.lock
浏览文件 @
14fa698a
...
...
@@ -651,54 +651,54 @@
dependencies:
qx-util "^0.4.8"
"@ibiz-template/controller@^0.0.1-beta.7
7
":
version "0.0.1-beta.7
7
"
resolved "http://npm.zhr.icu/@ibiz-template/controller/-/controller-0.0.1-beta.7
7.tgz#20362ed4bc3a818c342a27d0acb95e626e720112
"
integrity sha512-
GgeVlmwwEKUyKzgA7KqKejCfzEcXs4wpDwAs3pZgCJa+wkm7d5MbFsAnG07ltvYEy8re1hP8V+uTTLwWP1IvF
g==
"@ibiz-template/controller@^0.0.1-beta.7
8
":
version "0.0.1-beta.7
8
"
resolved "http://npm.zhr.icu/@ibiz-template/controller/-/controller-0.0.1-beta.7
8.tgz#d2abc93214a0346ec81cf5083bd06839f34d1d90
"
integrity sha512-
V6tjmXDb3YXXW+uzZyCiFdgyXQt/JB7fg5x2V6jH6pQxr9502butZWw9wLOGQWOZIknDmBR7h3vAoL3aL88Mz
g==
dependencies:
async-validator "^4.2.5"
dayjs "^1.11.5"
"@ibiz-template/core@^0.0.1-beta.7
7
":
version "0.0.1-beta.7
7
"
resolved "http://npm.zhr.icu/@ibiz-template/core/-/core-0.0.1-beta.7
7.tgz#655c5845c0e9d27ec815a21a879c47b0b6a4c10e
"
integrity sha512-
rDKXX1z8CSnWkAYzgyIj0ZyIniCREMiTQke5R/fvFkAkivnOw0nT2nDdmQ9nCMCLnEJTIYuT2t5tA+Q5Gv4BnQ
==
"@ibiz-template/core@^0.0.1-beta.7
8
":
version "0.0.1-beta.7
8
"
resolved "http://npm.zhr.icu/@ibiz-template/core/-/core-0.0.1-beta.7
8.tgz#0d08d56814485b9a7dad2383bbbaf26bd89323e6
"
integrity sha512-
QOJl1T3IZ5limPO3qWHIoHsZHpXVzUfl4gZ+9vTM/GUq48lFO8i1Xfefcl6uMWtOtrXnuGnZ/QdzvwwvTwVsAA
==
dependencies:
axios "^1.2.1"
loglevel "^1.8.0"
pluralize "^8.0.0"
qs "^6.11.0"
"@ibiz-template/model@^0.0.1-beta.7
7
":
version "0.0.1-beta.7
7
"
resolved "http://npm.zhr.icu/@ibiz-template/model/-/model-0.0.1-beta.7
7.tgz#9115e5bf2316333808598c7efa7b62a85f2e794
6"
integrity sha512-
oHoqkbcxHPasJxcx4Pkng8g52mNS9DmwgUawQQJaA/1WWwwO7VP1Yi0wXjrROtj302gt/KZOeg2AJ5REy0w/vA
==
"@ibiz-template/model@^0.0.1-beta.7
8
":
version "0.0.1-beta.7
8
"
resolved "http://npm.zhr.icu/@ibiz-template/model/-/model-0.0.1-beta.7
8.tgz#a1b1f2efaa8a2e4c27ebe53b128743ad862ac1e
6"
integrity sha512-
iQsG1sOP5B9B/j6eeUkb7cSkrk2Cs15bQKc2IGhSNxfknoFb6ItuONDj6Fo0RBW/B+FBF1PK2Cp6w9JSsfFXdQ
==
dependencies:
"@ibiz/dynamic-model-api" "^2.1.17"
pluralize "^8.0.0"
"@ibiz-template/runtime@^0.0.1-beta.7
7
":
version "0.0.1-beta.7
7
"
resolved "http://npm.zhr.icu/@ibiz-template/runtime/-/runtime-0.0.1-beta.7
7.tgz#f4398d83c8561c75b2f46b132a26b05e75800125
"
integrity sha512-
MLZTfCDkPIKUJV6Bdab3w1ulR7V8FDH4BBDb32bwyU4UDJ1JxiMmrLv9lcrc5BTvN2Dt9chjei+WK1NiAqND4
w==
"@ibiz-template/runtime@^0.0.1-beta.7
8
":
version "0.0.1-beta.7
8
"
resolved "http://npm.zhr.icu/@ibiz-template/runtime/-/runtime-0.0.1-beta.7
8.tgz#0956ba6ae53d7aa2fbdcb683fe43ecf41c15aeb2
"
integrity sha512-
WqzofBjaCLb8L5gsdM4hlsyqlx6uy5BHdkBQg70Cq2XdNSvph9wSjgMfYnPB+VHUOrrOtzcfpmEUXOVlOccym
w==
dependencies:
"@ibiz-template/command" "^0.0.1-beta.50"
qs "^6.11.0"
"@ibiz-template/service@^0.0.1-beta.7
7
":
version "0.0.1-beta.7
7
"
resolved "http://npm.zhr.icu/@ibiz-template/service/-/service-0.0.1-beta.7
7.tgz#bd2d7d3b17c7beea49b9800d1c0fa41555633f79
"
integrity sha512-
SNcZRp5uNcFH5g36POla2HwhDthBToggF0WWpTWVo721o623E8Qb88MF9KEwdbHMi30ZURZbzp79yVQN5pTx5
Q==
"@ibiz-template/service@^0.0.1-beta.7
8
":
version "0.0.1-beta.7
8
"
resolved "http://npm.zhr.icu/@ibiz-template/service/-/service-0.0.1-beta.7
8.tgz#3acb003ad0263e92c25d02d2415ecd4f1d006610
"
integrity sha512-
CZ40KJnsjMQoJLCC4wRzSWe/q0nmTVVrk1uN992aR8HEwgj4BLldtTCxLnNmLQ2qkXyCSxinNakDCX8/2Xf/8
Q==
"@ibiz-template/theme@^0.0.1-beta.7
7
":
version "0.0.1-beta.7
7
"
resolved "http://npm.zhr.icu/@ibiz-template/theme/-/theme-0.0.1-beta.7
7.tgz#d51a29d2da68c6e51b320d712976261b80843c9f
"
integrity sha512-
4RHj4vm7Mwn+MiVHfKSQZLZYqhVXYQvZo2BQN8CoP4Fg6UGooE1PirCm8YKe5arJNgEefooT1nTJ3ArDThg9wQ
==
"@ibiz-template/theme@^0.0.1-beta.7
8
":
version "0.0.1-beta.7
8
"
resolved "http://npm.zhr.icu/@ibiz-template/theme/-/theme-0.0.1-beta.7
8.tgz#ea28c0592cbf895d142b461a3a4c49fc16b914ea
"
integrity sha512-
k0P+ofq70achR2sXrq7P0mj8ckoZ+ZNXmSXFZAgUgcISdXqJakFYz0YjI+tN3+7kFymruFImaD7KsRjSzUm5bA
==
"@ibiz-template/vue-util@^0.0.1-beta.7
7
":
version "0.0.1-beta.7
7
"
resolved "http://npm.zhr.icu/@ibiz-template/vue-util/-/vue-util-0.0.1-beta.7
7.tgz#0d63e9946b59e6a835debf2deaafc3edc9c490d7
"
integrity sha512-
PCc93yJJDIjs2pNnkDPpJ1z679iITbeLvviWCohxDWpzV5zZw7s6lie0PKNBt+qsHUVGl1YmgkGKhqHpeOPVzg
==
"@ibiz-template/vue-util@^0.0.1-beta.7
8
":
version "0.0.1-beta.7
8
"
resolved "http://npm.zhr.icu/@ibiz-template/vue-util/-/vue-util-0.0.1-beta.7
8.tgz#5f2300843eb0ffcf2fdfe6fe49b1f3666dd10fa8
"
integrity sha512-
NXc6cO/hA9OKkllk+ayVsn9QwPDsVfL2gvjrzG/0NN7f6hBslZPNvIhzyfkQHAHxBIbEP9NagUvo33LaM47kWA
==
"@ibiz/dynamic-model-api@^2.1.17":
version "2.1.17"
...
...
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSSYSAPPS/TemplatePublish/PSSYSAPP.json
浏览文件 @
14fa698a
...
...
@@ -1049,16 +1049,16 @@
"codeName"
:
"VMGroup2"
,
"name"
:
"视图消息组2"
,
"getPSAppViewMsgGroupDetails"
:
[
{
"name"
:
"视图消息"
,
"name"
:
"视图消息
2
"
,
"getPSAppViewMsg"
:
{
"modelref"
:
true
,
"id"
:
"ViewMsg
2
"
"id"
:
"ViewMsg
3
"
}
},
{
"name"
:
"视图消息
2
"
,
"name"
:
"视图消息"
,
"getPSAppViewMsg"
:
{
"modelref"
:
true
,
"id"
:
"ViewMsg
3
"
"id"
:
"ViewMsg
2
"
}
}
]
},
{
...
...
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSSYSAPPS/Web/PSSYSAPP.json
浏览文件 @
14fa698a
...
...
@@ -2078,16 +2078,16 @@
"codeName"
:
"VMGroup2"
,
"name"
:
"视图消息组2"
,
"getPSAppViewMsgGroupDetails"
:
[
{
"name"
:
"视图消息"
,
"name"
:
"视图消息
2
"
,
"getPSAppViewMsg"
:
{
"modelref"
:
true
,
"id"
:
"ViewMsg
2
"
"id"
:
"ViewMsg
3
"
}
},
{
"name"
:
"视图消息
2
"
,
"name"
:
"视图消息"
,
"getPSAppViewMsg"
:
{
"modelref"
:
true
,
"id"
:
"ViewMsg
3
"
"id"
:
"ViewMsg
2
"
}
}
]
}
],
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录