Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
T
TrainSys
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
苏州培训方案
TrainSys
提交
a9d7935b
提交
a9d7935b
编写于
12月 07, 2023
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
tony001 发布系统代码 [TrainSys,Mob]
上级
841b332e
变更
8
显示空白字符变更
内嵌
并排
正在显示
8 个修改的文件
包含
131 行增加
和
88 行删除
+131
-88
CHANGELOG.md
app_Mob/CHANGELOG.md
+18
-0
Dockerfile-ALL
app_Mob/Dockerfile-ALL
+1
-2
package.json
app_Mob/package.json
+7
-7
pnpm-lock.yaml
app_Mob/pnpm-lock.yaml
+43
-43
main.ts
app_Mob/src/main.ts
+2
-0
unauthorized-handler.ts
...Mob/src/util/unauthorized-handler/unauthorized-handler.ts
+40
-11
ibiz-vite-plugin.ts
app_Mob/vite-plugins/ibiz-vite-plugin.ts
+0
-5
PSSYSAPP.json
...ces/model/cn/ibizlab/trainsys/PSSYSAPPS/Web/PSSYSAPP.json
+20
-20
未找到文件。
app_Mob/CHANGELOG.md
浏览文件 @
a9d7935b
...
@@ -7,6 +7,24 @@
...
@@ -7,6 +7,24 @@
## [Unreleased]
## [Unreleased]
## [0.0.2] - 2023-12-06
### Added
-
支持面板分组容器 & 面板分页容器
-
支持确认操作框工具类
-
dashboard支持嵌入视图
-
列表支持选择模式和默认模式
-
403时补充弹窗提示,点击确认后退出登录
### Change
-
表单多数据部件样式优化
### Fixed
-
修复关系界面标题为空时绘制标题容器
## [0.0.1] - 2023-12-04
## [0.0.1] - 2023-12-04
正式发版
正式发版
...
...
app_Mob/Dockerfile-ALL
浏览文件 @
a9d7935b
FROM image.ibizlab.cn/library/nginx-dynamic:v5.
4
FROM image.ibizlab.cn/library/nginx-dynamic:v5.
1
WORKDIR /
WORKDIR /
COPY dist /dist
COPY dist /dist
COPY environment.config /
COPY environment.config /
RUN sed -i "s#20086#30086#g" /etc/nginx/conf.d/nginx.conf
RUN sed -i "s#20086#30086#g" /etc/nginx/conf.d/nginx.conf
RUN sed -i "/server_name/a \ keepalive_time 3600;" /etc/nginx/conf.d/nginx.conf
\ No newline at end of file
app_Mob/package.json
浏览文件 @
a9d7935b
{
{
"name"
:
"@ibiz-template/next-mob"
,
"name"
:
"@ibiz-template/next-mob"
,
"private"
:
true
,
"private"
:
true
,
"version"
:
"0.0.
1
"
,
"version"
:
"0.0.
2
"
,
"description"
:
"An Ionic project"
,
"description"
:
"An Ionic project"
,
"scripts"
:
{
"scripts"
:
{
"dev"
:
"vite"
,
"dev"
:
"vite"
,
...
@@ -11,14 +11,14 @@
...
@@ -11,14 +11,14 @@
},
},
"dependencies"
:
{
"dependencies"
:
{
"@ibiz-template-package/vs-tree-ex"
:
"^0.1.1"
,
"@ibiz-template-package/vs-tree-ex"
:
"^0.1.1"
,
"@ibiz-template/core"
:
"^0.4.
0
"
,
"@ibiz-template/core"
:
"^0.4.
5
"
,
"@ibiz-template/mob-theme"
:
"^0.2.9"
,
"@ibiz-template/mob-theme"
:
"^0.2.9"
,
"@ibiz-template/mob-vue3-components"
:
"^0.0.
1
"
,
"@ibiz-template/mob-vue3-components"
:
"^0.0.
2
"
,
"@ibiz-template/model-helper"
:
"^0.4.
4
"
,
"@ibiz-template/model-helper"
:
"^0.4.
5
"
,
"@ibiz-template/runtime"
:
"^0.4.
4
"
,
"@ibiz-template/runtime"
:
"^0.4.
5
"
,
"@ibiz-template/theme"
:
"^0.4.0"
,
"@ibiz-template/theme"
:
"^0.4.0"
,
"@ibiz-template/vue3-util"
:
"^0.4.
4
"
,
"@ibiz-template/vue3-util"
:
"^0.4.
5
"
,
"@ibiz/model-core"
:
"^0.0.2
1
"
,
"@ibiz/model-core"
:
"^0.0.2
6
"
,
"async-validator"
:
"^4.2.5"
,
"async-validator"
:
"^4.2.5"
,
"dayjs"
:
"^1.11.10"
,
"dayjs"
:
"^1.11.10"
,
"echarts"
:
"^5.4.3"
,
"echarts"
:
"^5.4.3"
,
...
...
app_Mob/pnpm-lock.yaml
浏览文件 @
a9d7935b
...
@@ -9,29 +9,29 @@ dependencies:
...
@@ -9,29 +9,29 @@ dependencies:
specifier
:
^0.1.1
specifier
:
^0.1.1
version
:
0.1.1(vue@3.3.8)
version
:
0.1.1(vue@3.3.8)
'
@ibiz-template/core'
:
'
@ibiz-template/core'
:
specifier
:
^0.4.
0
specifier
:
^0.4.
5
version
:
0.4.
0
(axios@1.4.0)(lodash-es@4.17.21)(qs@6.11.2)(qx-util@0.4.8)(ramda@0.29.1)
version
:
0.4.
5
(axios@1.4.0)(lodash-es@4.17.21)(qs@6.11.2)(qx-util@0.4.8)(ramda@0.29.1)
'
@ibiz-template/mob-theme'
:
'
@ibiz-template/mob-theme'
:
specifier
:
^0.2.9
specifier
:
^0.2.9
version
:
0.2.9
version
:
0.2.9
'
@ibiz-template/mob-vue3-components'
:
'
@ibiz-template/mob-vue3-components'
:
specifier
:
^0.0.
1
specifier
:
^0.0.
2
version
:
0.0.
1(@ibiz-template/core@0.4.0)(@ibiz-template/model-helper@0.4.4)(@ibiz-template/runtime@0.4.4)(@ibiz-template/theme@0.4.0)(@ibiz-template/vue3-util@0.4.4)(@ibiz/model-core@0.0.21
)(async-validator@4.2.5)(dayjs@1.11.10)(echarts@5.4.3)(lodash-es@4.17.21)(pinia@2.1.7)(qs@6.11.2)(qx-util@0.4.8)(ramda@0.29.1)(vant@4.7.2)(vue-router@4.2.5)(vue3-hash-calendar@1.1.3)(vue@3.3.8)
version
:
0.0.
2(@ibiz-template/core@0.4.5)(@ibiz-template/model-helper@0.4.5)(@ibiz-template/runtime@0.4.5)(@ibiz-template/theme@0.4.0)(@ibiz-template/vue3-util@0.4.5)(@ibiz/model-core@0.0.26
)(async-validator@4.2.5)(dayjs@1.11.10)(echarts@5.4.3)(lodash-es@4.17.21)(pinia@2.1.7)(qs@6.11.2)(qx-util@0.4.8)(ramda@0.29.1)(vant@4.7.2)(vue-router@4.2.5)(vue3-hash-calendar@1.1.3)(vue@3.3.8)
'
@ibiz-template/model-helper'
:
'
@ibiz-template/model-helper'
:
specifier
:
^0.4.
4
specifier
:
^0.4.
5
version
:
0.4.
4(@ibiz-template/runtime@0.4.4
)(ramda@0.29.1)
version
:
0.4.
5(@ibiz-template/runtime@0.4.5
)(ramda@0.29.1)
'
@ibiz-template/runtime'
:
'
@ibiz-template/runtime'
:
specifier
:
^0.4.
4
specifier
:
^0.4.
5
version
:
0.4.
4(@ibiz-template/core@0.4.0)(@ibiz/model-core@0.0.21
)(async-validator@4.2.5)(dayjs@1.11.10)(echarts@5.4.3)(handlebars@4.7.8)(lodash-es@4.17.21)(mqtt@2.18.9)(path-browserify@1.0.1)(qs@6.11.2)(qx-util@0.4.8)(ramda@0.29.1)
version
:
0.4.
5(@ibiz-template/core@0.4.5)(@ibiz/model-core@0.0.26
)(async-validator@4.2.5)(dayjs@1.11.10)(echarts@5.4.3)(handlebars@4.7.8)(lodash-es@4.17.21)(mqtt@2.18.9)(path-browserify@1.0.1)(qs@6.11.2)(qx-util@0.4.8)(ramda@0.29.1)
'
@ibiz-template/theme'
:
'
@ibiz-template/theme'
:
specifier
:
^0.4.0
specifier
:
^0.4.0
version
:
0.4.0
version
:
0.4.0
'
@ibiz-template/vue3-util'
:
'
@ibiz-template/vue3-util'
:
specifier
:
^0.4.
4
specifier
:
^0.4.
5
version
:
0.4.
4(@ibiz-template/core@0.4.0)(@ibiz-template/runtime@0.4.4)(@ibiz/model-core@0.0.21
)(dayjs@1.11.10)(path-browserify@1.0.1)(pinia@2.1.7)(qs@6.11.2)(qx-util@0.4.8)(ramda@0.29.1)(vue-router@4.2.5)(vue@3.3.8)
version
:
0.4.
5(@ibiz-template/core@0.4.5)(@ibiz-template/runtime@0.4.5)(@ibiz/model-core@0.0.26
)(dayjs@1.11.10)(path-browserify@1.0.1)(pinia@2.1.7)(qs@6.11.2)(qx-util@0.4.8)(ramda@0.29.1)(vue-router@4.2.5)(vue@3.3.8)
'
@ibiz/model-core'
:
'
@ibiz/model-core'
:
specifier
:
^0.0.2
1
specifier
:
^0.0.2
6
version
:
0.0.2
1
version
:
0.0.2
6
async-validator
:
async-validator
:
specifier
:
^4.2.5
specifier
:
^4.2.5
version
:
4.2.5
version
:
4.2.5
...
@@ -2077,8 +2077,8 @@ packages:
...
@@ -2077,8 +2077,8 @@ packages:
-
vue
-
vue
dev
:
false
dev
:
false
/@ibiz-template/core@0.4.
0
(axios@1.4.0)(lodash-es@4.17.21)(qs@6.11.2)(qx-util@0.4.8)(ramda@0.29.1)
:
/@ibiz-template/core@0.4.
5
(axios@1.4.0)(lodash-es@4.17.21)(qs@6.11.2)(qx-util@0.4.8)(ramda@0.29.1)
:
resolution
:
{
integrity
:
sha512-
Roc/F9amSt56eRjW+NtnhYz59M8U6aB4BBFcB6DAAMenibAMtxbhKSwagVx/iAdUjnH1q1iNV/Yw+t1A+BoFag
==
}
resolution
:
{
integrity
:
sha512-
sxJscZ6h12+NzXb1vdypnU+AEHIwpXxi66A33KezN4xKwgoXq4d0/OUuFvAzKQsBAB5t1k06l+7UhFmF8gPVqQ
==
}
peerDependencies
:
peerDependencies
:
axios
:
^1.4.0
axios
:
^1.4.0
lodash-es
:
^4.17.21
lodash-es
:
^4.17.21
...
@@ -2102,8 +2102,8 @@ packages:
...
@@ -2102,8 +2102,8 @@ packages:
'
@ibiz-template/theme'
:
0.1.24
'
@ibiz-template/theme'
:
0.1.24
dev
:
false
dev
:
false
/@ibiz-template/mob-vue3-components@0.0.
1(@ibiz-template/core@0.4.0)(@ibiz-template/model-helper@0.4.4)(@ibiz-template/runtime@0.4.4)(@ibiz-template/theme@0.4.0)(@ibiz-template/vue3-util@0.4.4)(@ibiz/model-core@0.0.21
)(async-validator@4.2.5)(dayjs@1.11.10)(echarts@5.4.3)(lodash-es@4.17.21)(pinia@2.1.7)(qs@6.11.2)(qx-util@0.4.8)(ramda@0.29.1)(vant@4.7.2)(vue-router@4.2.5)(vue3-hash-calendar@1.1.3)(vue@3.3.8)
:
/@ibiz-template/mob-vue3-components@0.0.
2(@ibiz-template/core@0.4.5)(@ibiz-template/model-helper@0.4.5)(@ibiz-template/runtime@0.4.5)(@ibiz-template/theme@0.4.0)(@ibiz-template/vue3-util@0.4.5)(@ibiz/model-core@0.0.26
)(async-validator@4.2.5)(dayjs@1.11.10)(echarts@5.4.3)(lodash-es@4.17.21)(pinia@2.1.7)(qs@6.11.2)(qx-util@0.4.8)(ramda@0.29.1)(vant@4.7.2)(vue-router@4.2.5)(vue3-hash-calendar@1.1.3)(vue@3.3.8)
:
resolution
:
{
integrity
:
sha512-
d73ut9UEuqszDmZYc8TNA31241ulhNeymnKm5/YqD0QlT/RN9mCAnrIsWRmLzazV+JgtfROazLGQF/Jj3YE2h
A==
}
resolution
:
{
integrity
:
sha512-
H9te5XGVwAZNcMi53NMqPg0D2bkmgrzaL38G5p2rbt6fgdEgIrANgedKEKv9SPWNT2ey5WAGY0cio5ALsIqHx
A==
}
peerDependencies
:
peerDependencies
:
'
@ibiz-template/core'
:
^0.1.3
'
@ibiz-template/core'
:
^0.1.3
'
@ibiz-template/model-helper'
:
^0.1.3
'
@ibiz-template/model-helper'
:
^0.1.3
...
@@ -2125,12 +2125,12 @@ packages:
...
@@ -2125,12 +2125,12 @@ packages:
vue3-hash-calendar
:
^1.1.3
vue3-hash-calendar
:
^1.1.3
dependencies
:
dependencies
:
'
@ibiz-template-package/vs-tree-ex'
:
0.1.1(vue@3.3.8)
'
@ibiz-template-package/vs-tree-ex'
:
0.1.1(vue@3.3.8)
'
@ibiz-template/core'
:
0.4.
0
(axios@1.4.0)(lodash-es@4.17.21)(qs@6.11.2)(qx-util@0.4.8)(ramda@0.29.1)
'
@ibiz-template/core'
:
0.4.
5
(axios@1.4.0)(lodash-es@4.17.21)(qs@6.11.2)(qx-util@0.4.8)(ramda@0.29.1)
'
@ibiz-template/model-helper'
:
0.4.
4(@ibiz-template/runtime@0.4.4
)(ramda@0.29.1)
'
@ibiz-template/model-helper'
:
0.4.
5(@ibiz-template/runtime@0.4.5
)(ramda@0.29.1)
'
@ibiz-template/runtime'
:
0.4.
4(@ibiz-template/core@0.4.0)(@ibiz/model-core@0.0.21
)(async-validator@4.2.5)(dayjs@1.11.10)(echarts@5.4.3)(handlebars@4.7.8)(lodash-es@4.17.21)(mqtt@2.18.9)(path-browserify@1.0.1)(qs@6.11.2)(qx-util@0.4.8)(ramda@0.29.1)
'
@ibiz-template/runtime'
:
0.4.
5(@ibiz-template/core@0.4.5)(@ibiz/model-core@0.0.26
)(async-validator@4.2.5)(dayjs@1.11.10)(echarts@5.4.3)(handlebars@4.7.8)(lodash-es@4.17.21)(mqtt@2.18.9)(path-browserify@1.0.1)(qs@6.11.2)(qx-util@0.4.8)(ramda@0.29.1)
'
@ibiz-template/theme'
:
0.4.0
'
@ibiz-template/theme'
:
0.4.0
'
@ibiz-template/vue3-util'
:
0.4.
4(@ibiz-template/core@0.4.0)(@ibiz-template/runtime@0.4.4)(@ibiz/model-core@0.0.21
)(dayjs@1.11.10)(path-browserify@1.0.1)(pinia@2.1.7)(qs@6.11.2)(qx-util@0.4.8)(ramda@0.29.1)(vue-router@4.2.5)(vue@3.3.8)
'
@ibiz-template/vue3-util'
:
0.4.
5(@ibiz-template/core@0.4.5)(@ibiz-template/runtime@0.4.5)(@ibiz/model-core@0.0.26
)(dayjs@1.11.10)(path-browserify@1.0.1)(pinia@2.1.7)(qs@6.11.2)(qx-util@0.4.8)(ramda@0.29.1)(vue-router@4.2.5)(vue@3.3.8)
'
@ibiz/model-core'
:
0.0.2
1
'
@ibiz/model-core'
:
0.0.2
6
async-validator
:
4.2.5
async-validator
:
4.2.5
cherry-markdown
:
0.8.26
cherry-markdown
:
0.8.26
dayjs
:
1.11.10
dayjs
:
1.11.10
...
@@ -2154,24 +2154,24 @@ packages:
...
@@ -2154,24 +2154,24 @@ packages:
-
utf-8-validate
-
utf-8-validate
dev
:
false
dev
:
false
/@ibiz-template/model-helper@0.4.
4(@ibiz-template/runtime@0.4.4
)(ramda@0.29.1)
:
/@ibiz-template/model-helper@0.4.
5(@ibiz-template/runtime@0.4.5
)(ramda@0.29.1)
:
resolution
:
{
integrity
:
sha512-
qjJQ6vSYOWZ7WLVcLLvnwk4U/Xc9vF+jY3hWUM4dwbEeOQqtAGWUq3Jf9P9bf0Yr2alks4bI5KkjjQGgRnbOIQ
==
}
resolution
:
{
integrity
:
sha512-
v5KBwMejmU2EXJbSqzeWerdpqzGtnROBNtr7UN63Ta7pBg8GKaFQ9NIvE12VDMT5bdNYmLMZAImNce9/Sdw4Kw
==
}
peerDependencies
:
peerDependencies
:
'
@ibiz-template/runtime'
:
^0.4.0
'
@ibiz-template/runtime'
:
^0.4.0
ramda
:
^0.29.0
ramda
:
^0.29.0
dependencies
:
dependencies
:
'
@ibiz-template/runtime'
:
0.4.
4(@ibiz-template/core@0.4.0)(@ibiz/model-core@0.0.21
)(async-validator@4.2.5)(dayjs@1.11.10)(echarts@5.4.3)(handlebars@4.7.8)(lodash-es@4.17.21)(mqtt@2.18.9)(path-browserify@1.0.1)(qs@6.11.2)(qx-util@0.4.8)(ramda@0.29.1)
'
@ibiz-template/runtime'
:
0.4.
5(@ibiz-template/core@0.4.5)(@ibiz/model-core@0.0.26
)(async-validator@4.2.5)(dayjs@1.11.10)(echarts@5.4.3)(handlebars@4.7.8)(lodash-es@4.17.21)(mqtt@2.18.9)(path-browserify@1.0.1)(qs@6.11.2)(qx-util@0.4.8)(ramda@0.29.1)
'
@ibiz/model-core'
:
0.0.2
3
'
@ibiz/model-core'
:
0.0.2
4
'
@ibiz/rt-model-api'
:
0.1.
27
'
@ibiz/rt-model-api'
:
0.1.
32
pluralize
:
8.0.0
pluralize
:
8.0.0
ramda
:
0.29.1
ramda
:
0.29.1
dev
:
false
dev
:
false
/@ibiz-template/runtime@0.4.
4(@ibiz-template/core@0.4.0)(@ibiz/model-core@0.0.21
)(async-validator@4.2.5)(dayjs@1.11.10)(echarts@5.4.3)(handlebars@4.7.8)(lodash-es@4.17.21)(mqtt@2.18.9)(path-browserify@1.0.1)(qs@6.11.2)(qx-util@0.4.8)(ramda@0.29.1)
:
/@ibiz-template/runtime@0.4.
5(@ibiz-template/core@0.4.5)(@ibiz/model-core@0.0.26
)(async-validator@4.2.5)(dayjs@1.11.10)(echarts@5.4.3)(handlebars@4.7.8)(lodash-es@4.17.21)(mqtt@2.18.9)(path-browserify@1.0.1)(qs@6.11.2)(qx-util@0.4.8)(ramda@0.29.1)
:
resolution
:
{
integrity
:
sha512-
lTnw1bslrsS+lPf2749mzi/xNLUeAy/jL+BTRi/LEBNevOvciNelV8u1kpJ9CnsnQT67omX6kcEz4GqFSaaMl
w==
}
resolution
:
{
integrity
:
sha512-
tt+EoPhUz9J0yeHuBy31PpWenvs5Ym/7nroLkBQN8u8/C/I2px9svkpOrf9TPJpjXw7hY+83H2OWwN4pIGfdY
w==
}
peerDependencies
:
peerDependencies
:
'
@ibiz-template/core'
:
^0.4.0
'
@ibiz-template/core'
:
^0.4.0
'
@ibiz/model-core'
:
^0.0.2
3
'
@ibiz/model-core'
:
^0.0.2
4
async-validator
:
^4.2.5
async-validator
:
^4.2.5
dayjs
:
^1.11.7
dayjs
:
^1.11.7
echarts
:
^5.4.3
echarts
:
^5.4.3
...
@@ -2183,8 +2183,8 @@ packages:
...
@@ -2183,8 +2183,8 @@ packages:
qx-util
:
^0.4.8
qx-util
:
^0.4.8
ramda
:
^0.29.0
ramda
:
^0.29.0
dependencies
:
dependencies
:
'
@ibiz-template/core'
:
0.4.
0
(axios@1.4.0)(lodash-es@4.17.21)(qs@6.11.2)(qx-util@0.4.8)(ramda@0.29.1)
'
@ibiz-template/core'
:
0.4.
5
(axios@1.4.0)(lodash-es@4.17.21)(qs@6.11.2)(qx-util@0.4.8)(ramda@0.29.1)
'
@ibiz/model-core'
:
0.0.2
1
'
@ibiz/model-core'
:
0.0.2
6
async-validator
:
4.2.5
async-validator
:
4.2.5
dayjs
:
1.11.10
dayjs
:
1.11.10
echarts
:
5.4.3
echarts
:
5.4.3
...
@@ -2205,12 +2205,12 @@ packages:
...
@@ -2205,12 +2205,12 @@ packages:
resolution
:
{
integrity
:
sha512-az5CgKBBORRjxQe/Qijo+4LvjyqGKR/zXchnTvO8Bd0/jiStSJsACuZfjDUmkNpi0zpfpgb3rJLmZGS6puBTZA==
}
resolution
:
{
integrity
:
sha512-az5CgKBBORRjxQe/Qijo+4LvjyqGKR/zXchnTvO8Bd0/jiStSJsACuZfjDUmkNpi0zpfpgb3rJLmZGS6puBTZA==
}
dev
:
false
dev
:
false
/@ibiz-template/vue3-util@0.4.
4(@ibiz-template/core@0.4.0)(@ibiz-template/runtime@0.4.4)(@ibiz/model-core@0.0.21
)(dayjs@1.11.10)(path-browserify@1.0.1)(pinia@2.1.7)(qs@6.11.2)(qx-util@0.4.8)(ramda@0.29.1)(vue-router@4.2.5)(vue@3.3.8)
:
/@ibiz-template/vue3-util@0.4.
5(@ibiz-template/core@0.4.5)(@ibiz-template/runtime@0.4.5)(@ibiz/model-core@0.0.26
)(dayjs@1.11.10)(path-browserify@1.0.1)(pinia@2.1.7)(qs@6.11.2)(qx-util@0.4.8)(ramda@0.29.1)(vue-router@4.2.5)(vue@3.3.8)
:
resolution
:
{
integrity
:
sha512-
I33OVuzIiOns6BNaNwAkkgqFLcnTahv6bYcUjkPxDLhYFQwmyq3F6d+EM5cLtDGOdgGfV0OM2k4KoUjawenoPQ
==
}
resolution
:
{
integrity
:
sha512-
DksyLASAyQLlg4JRjI2eXFYw2KUKdWgd4JfuYjzsb2lHB7MJxgoXQNsLsz8eU4XUescvE/J9868/i/NAvyHGDw
==
}
peerDependencies
:
peerDependencies
:
'
@ibiz-template/core'
:
^0.4.0
'
@ibiz-template/core'
:
^0.4.0
'
@ibiz-template/runtime'
:
^0.4.0
'
@ibiz-template/runtime'
:
^0.4.0
'
@ibiz/model-core'
:
^0.0.2
3
'
@ibiz/model-core'
:
^0.0.2
4
dayjs
:
^1.11.10
dayjs
:
^1.11.10
path-browserify
:
^1.0.1
path-browserify
:
^1.0.1
pinia
:
^2.1.7
pinia
:
^2.1.7
...
@@ -2220,9 +2220,9 @@ packages:
...
@@ -2220,9 +2220,9 @@ packages:
vue
:
^3.3.4
vue
:
^3.3.4
vue-router
:
^4.2.4
vue-router
:
^4.2.4
dependencies
:
dependencies
:
'
@ibiz-template/core'
:
0.4.
0
(axios@1.4.0)(lodash-es@4.17.21)(qs@6.11.2)(qx-util@0.4.8)(ramda@0.29.1)
'
@ibiz-template/core'
:
0.4.
5
(axios@1.4.0)(lodash-es@4.17.21)(qs@6.11.2)(qx-util@0.4.8)(ramda@0.29.1)
'
@ibiz-template/runtime'
:
0.4.
4(@ibiz-template/core@0.4.0)(@ibiz/model-core@0.0.21
)(async-validator@4.2.5)(dayjs@1.11.10)(echarts@5.4.3)(handlebars@4.7.8)(lodash-es@4.17.21)(mqtt@2.18.9)(path-browserify@1.0.1)(qs@6.11.2)(qx-util@0.4.8)(ramda@0.29.1)
'
@ibiz-template/runtime'
:
0.4.
5(@ibiz-template/core@0.4.5)(@ibiz/model-core@0.0.26
)(async-validator@4.2.5)(dayjs@1.11.10)(echarts@5.4.3)(handlebars@4.7.8)(lodash-es@4.17.21)(mqtt@2.18.9)(path-browserify@1.0.1)(qs@6.11.2)(qx-util@0.4.8)(ramda@0.29.1)
'
@ibiz/model-core'
:
0.0.2
1
'
@ibiz/model-core'
:
0.0.2
6
dayjs
:
1.11.10
dayjs
:
1.11.10
path-browserify
:
1.0.1
path-browserify
:
1.0.1
pinia
:
2.1.7(typescript@5.2.2)(vue@3.3.8)
pinia
:
2.1.7(typescript@5.2.2)(vue@3.3.8)
...
@@ -2233,16 +2233,16 @@ packages:
...
@@ -2233,16 +2233,16 @@ packages:
vue-router
:
4.2.5(vue@3.3.8)
vue-router
:
4.2.5(vue@3.3.8)
dev
:
false
dev
:
false
/@ibiz/model-core@0.0.2
1
:
/@ibiz/model-core@0.0.2
4
:
resolution
:
{
integrity
:
sha512-
suA52HMU6yaDpfNb17+SbNM3sbfYXGf21nVnnKMQP6vAolKic46fHu+x3/yh0vuhOwok7j9bgtPMHmJakIaOJQ
==
}
resolution
:
{
integrity
:
sha512-
O0Wzbr0I7CwTYcfX+dxZLIuFKB7ecjD94cBYsK73vATSQiw8x8xZk2IhsZYCr8F+amJss2/zMjEaIMgyVcWg3A
==
}
dev
:
false
dev
:
false
/@ibiz/model-core@0.0.2
3
:
/@ibiz/model-core@0.0.2
6
:
resolution
:
{
integrity
:
sha512-
PZsCjN/3DM8Ilzq2nFbaZocSYAriKtn1QERRncdcEOIGYcuys8HM6bUrdp6VxYJEOyNU3PQDVXkJMnfrLHD9zg
==
}
resolution
:
{
integrity
:
sha512-
Dui0YoFf/uLptcQVZHZsU7hniRk7oWPYxKpHlNiTn2bOqh/6KJjVTzrE/mrs4qp+NynDGNEJ5YON94MblGt6BA
==
}
dev
:
false
dev
:
false
/@ibiz/rt-model-api@0.1.
27
:
/@ibiz/rt-model-api@0.1.
32
:
resolution
:
{
integrity
:
sha512-
FETP5aF0ke+ZEG4mTcWZuKz3EySEPUf5Rc+x3i/LQ9q3tVBX8uqOgpc9+WHux/Dlrgi/JLogI1mOn9RAGU/1fQ
==
}
resolution
:
{
integrity
:
sha512-
9EBY5FT2CCrkDlRyb3vY5L7CNoSwbo9Ouf37bGTfRquuLm/uJnfEq+ybvCpS5+AlnxFJvsGtAJPpBjbEL/GSkA
==
}
dev
:
false
dev
:
false
/@intlify/core-base@9.6.5
:
/@intlify/core-base@9.6.5
:
...
...
app_Mob/src/main.ts
浏览文件 @
a9d7935b
...
@@ -7,6 +7,7 @@ import {
...
@@ -7,6 +7,7 @@ import {
ModalUtil
,
ModalUtil
,
NotificationUtil
,
NotificationUtil
,
OpenViewUtil
,
OpenViewUtil
,
ConfirmUtil
,
OverlayController
,
OverlayController
,
}
from
'@ibiz-template/mob-vue3-components'
;
}
from
'@ibiz-template/mob-vue3-components'
;
import
{
OverlayContainer
,
PluginFactory
}
from
'@ibiz-template/vue3-util'
;
import
{
OverlayContainer
,
PluginFactory
}
from
'@ibiz-template/vue3-util'
;
...
@@ -59,6 +60,7 @@ async function createApp(): Promise<void> {
...
@@ -59,6 +60,7 @@ async function createApp(): Promise<void> {
ibiz
.
openView
=
new
OpenViewUtil
(
router
);
ibiz
.
openView
=
new
OpenViewUtil
(
router
);
ibiz
.
message
=
new
MessageUtil
();
ibiz
.
message
=
new
MessageUtil
();
ibiz
.
modal
=
new
ModalUtil
();
ibiz
.
modal
=
new
ModalUtil
();
ibiz
.
confirm
=
new
ConfirmUtil
();
ibiz
.
notification
=
new
NotificationUtil
();
ibiz
.
notification
=
new
NotificationUtil
();
ibiz
.
loading
=
new
LoadingUtil
();
ibiz
.
loading
=
new
LoadingUtil
();
ibiz
.
overlay
=
new
OverlayController
();
ibiz
.
overlay
=
new
OverlayController
();
...
...
app_Mob/src/util/unauthorized-handler/unauthorized-handler.ts
浏览文件 @
a9d7935b
...
@@ -17,7 +17,10 @@ import { IErrorHandler } from '@ibiz-template/runtime';
...
@@ -17,7 +17,10 @@ import { IErrorHandler } from '@ibiz-template/runtime';
*/
*/
export
class
UnauthorizedHandler
implements
IErrorHandler
{
export
class
UnauthorizedHandler
implements
IErrorHandler
{
match
(
error
:
unknown
):
boolean
{
match
(
error
:
unknown
):
boolean
{
return
error
instanceof
HttpError
&&
error
.
status
===
401
;
return
(
error
instanceof
HttpError
&&
(
error
.
status
===
401
||
error
.
status
===
403
)
);
}
}
/**
/**
...
@@ -73,10 +76,30 @@ export class UnauthorizedHandler implements IErrorHandler {
...
@@ -73,10 +76,30 @@ export class UnauthorizedHandler implements IErrorHandler {
const
targetUrl
=
`
${
UrlHelper
.
routeBase
}
/login?ru=
${
encodeURIComponent
(
const
targetUrl
=
`
${
UrlHelper
.
routeBase
}
/login?ru=
${
encodeURIComponent
(
ru
,
ru
,
)}
`
;
)}
`
;
//
跳转登录地址,不加延时vue-router感知不到路由变更。
//
改无权限跳转登录页后,刷新页面。避免无权限模型加载异常
setTimeout
(()
=>
{
document
.
body
.
style
.
display
=
'none'
;
window
.
location
.
href
=
targetUrl
;
window
.
location
.
href
=
targetUrl
;
},
0
);
window
.
location
.
reload
();
}
/**
* 处理403
* @author lxm
* @date 2023-12-06 10:19:12
* @protected
* @return {*} {Promise<void>}
*/
protected
async
handle403
():
Promise
<
void
>
{
const
result
=
await
ibiz
.
modal
.
confirm
({
title
:
'当前账户被禁止访问'
,
desc
:
'是否要退出当前账户?'
,
});
if
(
result
)
{
const
bol
=
await
ibiz
.
auth
.
logout
();
if
(
bol
)
{
window
.
location
.
reload
();
}
}
}
}
/**
/**
...
@@ -87,7 +110,8 @@ export class UnauthorizedHandler implements IErrorHandler {
...
@@ -87,7 +110,8 @@ export class UnauthorizedHandler implements IErrorHandler {
* @returns {*} {Promise<void>}
* @returns {*} {Promise<void>}
*/
*/
handle
(
error
:
unknown
):
boolean
|
undefined
{
handle
(
error
:
unknown
):
boolean
|
undefined
{
if
(
error
instanceof
HttpError
&&
error
.
status
===
401
)
{
if
(
error
instanceof
HttpError
)
{
if
(
error
.
status
===
401
)
{
if
(
ibiz
.
env
.
loginMode
===
LoginMode
.
CAS
)
{
if
(
ibiz
.
env
.
loginMode
===
LoginMode
.
CAS
)
{
this
.
casLogin
();
this
.
casLogin
();
}
else
{
}
else
{
...
@@ -95,5 +119,10 @@ export class UnauthorizedHandler implements IErrorHandler {
...
@@ -95,5 +119,10 @@ export class UnauthorizedHandler implements IErrorHandler {
}
}
return
true
;
return
true
;
}
}
if
(
error
.
status
===
403
)
{
this
.
handle403
();
return
true
;
}
}
}
}
}
}
app_Mob/vite-plugins/ibiz-vite-plugin.ts
浏览文件 @
a9d7935b
...
@@ -35,11 +35,6 @@ function IBizVitePlugin(): Plugin[] {
...
@@ -35,11 +35,6 @@ function IBizVitePlugin(): Plugin[] {
const
outFile
=
join
(
baseOutModule
,
pkg
,
'index.system.min.js'
);
const
outFile
=
join
(
baseOutModule
,
pkg
,
'index.system.min.js'
);
copyFileSync
(
cpFile
,
outFile
);
copyFileSync
(
cpFile
,
outFile
);
});
});
templatePackages
.
forEach
(
pkg
=>
{
const
cpFile
=
join
(
baseModule
,
pkg
,
'dist/index.system.min.js.map'
);
const
outFile
=
join
(
baseOutModule
,
pkg
,
'index.system.min.js.map'
);
copyFileSync
(
cpFile
,
outFile
);
});
}
}
// eslint-disable-next-line no-lone-blocks
// eslint-disable-next-line no-lone-blocks
{
{
...
...
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSSYSAPPS/Web/PSSYSAPP.json
浏览文件 @
a9d7935b
...
@@ -11537,16 +11537,16 @@
...
@@ -11537,16 +11537,16 @@
"codeName" : "VMGroup3",
"codeName" : "VMGroup3",
"name" : "视图消息类型测试",
"name" : "视图消息类型测试",
"getPSAppViewMsgGroupDetails" : [ {
"getPSAppViewMsgGroupDetails" : [ {
"name" : "消息类型-
错误
信息",
"name" : "消息类型-
警告
信息",
"getPSAppViewMsg" : {
"getPSAppViewMsg" : {
"modelref" : true,
"modelref" : true,
"id" : "ViewMsg
6
"
"id" : "ViewMsg
5
"
}
}
}, {
}, {
"name" : "消息类型-
警告
信息",
"name" : "消息类型-
错误
信息",
"getPSAppViewMsg" : {
"getPSAppViewMsg" : {
"modelref" : true,
"modelref" : true,
"id" : "ViewMsg
5
"
"id" : "ViewMsg
6
"
}
}
}, {
}, {
"name" : "消息类型-常规信息",
"name" : "消息类型-常规信息",
...
@@ -11569,22 +11569,16 @@
...
@@ -11569,22 +11569,16 @@
"codeName" : "VMGroup4",
"codeName" : "VMGroup4",
"name" : "视图消息位置测试",
"name" : "视图消息位置测试",
"getPSAppViewMsgGroupDetails" : [ {
"getPSAppViewMsgGroupDetails" : [ {
"name" : "消息位置-弹出",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg10"
}
}, {
"name" : "消息位置-视图上方",
"name" : "消息位置-视图上方",
"getPSAppViewMsg" : {
"getPSAppViewMsg" : {
"modelref" : true,
"modelref" : true,
"id" : "ViewMsg7"
"id" : "ViewMsg7"
}
}
}, {
}, {
"name" : "消息位置-
视图内容区
",
"name" : "消息位置-
弹出
",
"getPSAppViewMsg" : {
"getPSAppViewMsg" : {
"modelref" : true,
"modelref" : true,
"id" : "ViewMsg
9
"
"id" : "ViewMsg
10
"
}
}
}, {
}, {
"name" : "消息位置-视图下方",
"name" : "消息位置-视图下方",
...
@@ -11592,21 +11586,27 @@
...
@@ -11592,21 +11586,27 @@
"modelref" : true,
"modelref" : true,
"id" : "ViewMsg8"
"id" : "ViewMsg8"
}
}
}, {
"name" : "消息位置-视图内容区",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg9"
}
} ]
} ]
}, {
}, {
"codeName" : "VMGroup8",
"codeName" : "VMGroup8",
"name" : "【静态测试】",
"name" : "【静态测试】",
"getPSAppViewMsgGroupDetails" : [ {
"getPSAppViewMsgGroupDetails" : [ {
"name" : "
关闭模式-本次删除-上方-警告
",
"name" : "
消息位置-视图下方
",
"getPSAppViewMsg" : {
"getPSAppViewMsg" : {
"modelref" : true,
"modelref" : true,
"id" : "ViewMsg
13
"
"id" : "ViewMsg
8
"
}
}
}, {
}, {
"name" : "
消息位置-视图下方
",
"name" : "
关闭模式-本次删除-上方-警告
",
"getPSAppViewMsg" : {
"getPSAppViewMsg" : {
"modelref" : true,
"modelref" : true,
"id" : "ViewMsg
8
"
"id" : "ViewMsg
13
"
}
}
}, {
}, {
"name" : "消息类型-错误信息",
"name" : "消息类型-错误信息",
...
@@ -11658,16 +11658,16 @@
...
@@ -11658,16 +11658,16 @@
"id" : "ViewMsg12"
"id" : "ViewMsg12"
}
}
}, {
}, {
"name" : "关闭模式-
本次
删除",
"name" : "关闭模式-
无
删除",
"getPSAppViewMsg" : {
"getPSAppViewMsg" : {
"modelref" : true,
"modelref" : true,
"id" : "ViewMsg1
3
"
"id" : "ViewMsg1
1
"
}
}
}, {
}, {
"name" : "关闭模式-
无
删除",
"name" : "关闭模式-
本次
删除",
"getPSAppViewMsg" : {
"getPSAppViewMsg" : {
"modelref" : true,
"modelref" : true,
"id" : "ViewMsg1
1
"
"id" : "ViewMsg1
3
"
}
}
} ]
} ]
}, {
}, {
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录