Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
T
TrainSys
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
苏州培训方案
TrainSys
提交
e187548a
提交
e187548a
编写于
2月 13, 2023
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
lxm1993 发布系统代码 [TrainSys,网页端]
上级
4e774f68
变更
9
显示空白字符变更
内嵌
并排
正在显示
9 个修改的文件
包含
133 行增加
和
98 行删除
+133
-98
package.json
app_Web/package.json
+8
-8
pnpm-lock.yaml
app_Web/pnpm-lock.yaml
+45
-45
auth-guard.ts
app_Web/src/guard/auth-guard/auth-guard.ts
+25
-1
file-uploader-provider.ts
app_Web/src/provider/editor/file-uploader-provider.ts
+2
-2
index.ts
app_Web/src/provider/editor/index.ts
+8
-0
login-view.tsx
app_Web/src/views/login-view/login-view.tsx
+4
-1
yarn.lock
app_Web/yarn.lock
+33
-33
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/package.json
浏览文件 @
e187548a
...
@@ -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
0
"
,
"@ibiz-template/command"
:
"^0.0.1-beta.4
1
"
,
"@ibiz-template/controller"
:
"^0.0.1-beta.4
0
"
,
"@ibiz-template/controller"
:
"^0.0.1-beta.4
1
"
,
"@ibiz-template/core"
:
"^0.0.1-beta.4
0
"
,
"@ibiz-template/core"
:
"^0.0.1-beta.4
1
"
,
"@ibiz-template/model"
:
"^0.0.1-beta.4
0
"
,
"@ibiz-template/model"
:
"^0.0.1-beta.4
1
"
,
"@ibiz-template/runtime"
:
"^0.0.1-beta.4
0
"
,
"@ibiz-template/runtime"
:
"^0.0.1-beta.4
1
"
,
"@ibiz-template/service"
:
"^0.0.1-beta.4
0
"
,
"@ibiz-template/service"
:
"^0.0.1-beta.4
1
"
,
"@ibiz-template/theme"
:
"^0.0.1-beta.4
0
"
,
"@ibiz-template/theme"
:
"^0.0.1-beta.4
1
"
,
"@ibiz-template/vue-util"
:
"^0.0.1-beta.4
0
"
,
"@ibiz-template/vue-util"
:
"^0.0.1-beta.4
1
"
,
"@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
浏览文件 @
e187548a
...
@@ -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
0
'
@ibiz-template/command'
:
^0.0.1-beta.4
1
'
@ibiz-template/controller'
:
^0.0.1-beta.4
0
'
@ibiz-template/controller'
:
^0.0.1-beta.4
1
'
@ibiz-template/core'
:
^0.0.1-beta.4
0
'
@ibiz-template/core'
:
^0.0.1-beta.4
1
'
@ibiz-template/model'
:
^0.0.1-beta.4
0
'
@ibiz-template/model'
:
^0.0.1-beta.4
1
'
@ibiz-template/runtime'
:
^0.0.1-beta.4
0
'
@ibiz-template/runtime'
:
^0.0.1-beta.4
1
'
@ibiz-template/service'
:
^0.0.1-beta.4
0
'
@ibiz-template/service'
:
^0.0.1-beta.4
1
'
@ibiz-template/theme'
:
^0.0.1-beta.4
0
'
@ibiz-template/theme'
:
^0.0.1-beta.4
1
'
@ibiz-template/vue-util'
:
^0.0.1-beta.4
0
'
@ibiz-template/vue-util'
:
^0.0.1-beta.4
1
'
@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
0
'
@ibiz-template/command'
:
0.0.1-beta.4
1
'
@ibiz-template/controller'
:
0.0.1-beta.4
0_37ayjn5zkwz5xrcggrk7vrtss4
'
@ibiz-template/controller'
:
0.0.1-beta.4
1_mhiv3zm2gzaps2sbh5iulywewu
'
@ibiz-template/core'
:
0.0.1-beta.4
0
_qzytosuu5eg3bvoa74ldx6evva
'
@ibiz-template/core'
:
0.0.1-beta.4
1
_qzytosuu5eg3bvoa74ldx6evva
'
@ibiz-template/model'
:
0.0.1-beta.4
0
_nngk5znuztmoeynqrwf7jk7xse
'
@ibiz-template/model'
:
0.0.1-beta.4
1
_nngk5znuztmoeynqrwf7jk7xse
'
@ibiz-template/runtime'
:
0.0.1-beta.4
0_e7rgjzviy5tpqlggmtw55jhx5m
'
@ibiz-template/runtime'
:
0.0.1-beta.4
1_5shx2vah5cuah4fqujcr4k2cja
'
@ibiz-template/service'
:
0.0.1-beta.4
0_b3wzgms7gw3yr4dgumchumncyq
'
@ibiz-template/service'
:
0.0.1-beta.4
1_r3w3xhniijev2yzvfsjiwouuxi
'
@ibiz-template/theme'
:
0.0.1-beta.4
0
'
@ibiz-template/theme'
:
0.0.1-beta.4
1
'
@ibiz-template/vue-util'
:
0.0.1-beta.4
0_rlbhvadyq25fgcwpie3epzkuwi
'
@ibiz-template/vue-util'
:
0.0.1-beta.4
1_ej6v47uock3ysfitevcsukqpay
'
@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
0
:
/@ibiz-template/command/0.0.1-beta.4
1
:
resolution
:
{
integrity
:
sha512-
s42DRfv/hNKI9Fo9xxvw6JFcyTX3l/aZp2ktO8ImxWMfJpKhCDoEHzVCxovQ6AfJS3J0wvxbow3rLsqxtxiRN
Q==
}
resolution
:
{
integrity
:
sha512-
cNshIH+N3wrib63K7XWu9tHEstmCtIo+sP0SVZ5hJFWeoE7Ewghg+7Cw6wm7DMklxEq38Y1C2d9bxqaJY7dQD
Q==
}
dependencies
:
dependencies
:
qx-util
:
0.4.4
qx-util
:
0.4.4
dev
:
false
dev
:
false
/@ibiz-template/controller/0.0.1-beta.4
0_37ayjn5zkwz5xrcggrk7vrtss4
:
/@ibiz-template/controller/0.0.1-beta.4
1_mhiv3zm2gzaps2sbh5iulywewu
:
resolution
:
{
integrity
:
sha512-
VJX7AbqAKAKj+p7tL64qNV8QVnR4Yt5gkIJGbqcnmDdvQm62MYJLhE7GU+NG1zID27d6MASxUeYbKJvSZlEEig
==
}
resolution
:
{
integrity
:
sha512-
FlRm1Ki+ML0lAnRqJo2O9om1aQShRKIQU9HyQL8WpGfGJP95Rlh7TDRcJd5d4s9deJed1KU5nMTTH9o0IQDOZA
==
}
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
0
_qzytosuu5eg3bvoa74ldx6evva
'
@ibiz-template/core'
:
0.0.1-beta.4
1
_qzytosuu5eg3bvoa74ldx6evva
'
@ibiz-template/model'
:
0.0.1-beta.4
0
_nngk5znuztmoeynqrwf7jk7xse
'
@ibiz-template/model'
:
0.0.1-beta.4
1
_nngk5znuztmoeynqrwf7jk7xse
'
@ibiz-template/runtime'
:
0.0.1-beta.4
0_e7rgjzviy5tpqlggmtw55jhx5m
'
@ibiz-template/runtime'
:
0.0.1-beta.4
1_5shx2vah5cuah4fqujcr4k2cja
'
@ibiz-template/service'
:
0.0.1-beta.4
0_b3wzgms7gw3yr4dgumchumncyq
'
@ibiz-template/service'
:
0.0.1-beta.4
1_r3w3xhniijev2yzvfsjiwouuxi
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
0
_qzytosuu5eg3bvoa74ldx6evva
:
/@ibiz-template/core/0.0.1-beta.4
1
_qzytosuu5eg3bvoa74ldx6evva
:
resolution
:
{
integrity
:
sha512-
FWyK9inmmq9a/5mW5feEqI356edd/4kQKsM1B+GjkOPDr28zxDscuZ2tz3SPNjNQ76TLOPOeCKhc6vNt7ZBijw
==
}
resolution
:
{
integrity
:
sha512-
viuGlkK8VjTI1wia0yIz4zxtZBvSCzJEmlpiRovCo9jAnl+Bm7FE+H/MJl//CenVD+vEL0GDaUh+YR1tNQ4t2Q
==
}
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
0
_nngk5znuztmoeynqrwf7jk7xse
:
/@ibiz-template/model/0.0.1-beta.4
1
_nngk5znuztmoeynqrwf7jk7xse
:
resolution
:
{
integrity
:
sha512-
e+rkkzu69lfR7UTDzS0LCNZI+s477AXaBHZZHljSiKJUYjiyL6gZqDu38PtrNh7oEwI2WGSz+uoPmOu3Qsv6N
Q==
}
resolution
:
{
integrity
:
sha512-
7bLJHEbIUeAX2B2VYNCF8nKTT1CCr4bLZTFBKYMqx9itySEaPfCHy0TWXsvbZ8HTGPjpsBiBgyYcN0UEPPOyA
Q==
}
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
0_e7rgjzviy5tpqlggmtw55jhx5m
:
/@ibiz-template/runtime/0.0.1-beta.4
1_5shx2vah5cuah4fqujcr4k2cja
:
resolution
:
{
integrity
:
sha512-
8/iqeafg6QkhaEdlyXg+wU5yUQBoH4RXn3s8habC2L6Z9hvGNkQplkgmmIya+Ndi7LazFGBZfVSzSQWNp2Xcy
g==
}
resolution
:
{
integrity
:
sha512-
Y2brQzrfLr/NmEkAaWwOI53Qo/pjA+qyAzDf3dS++vIPhZ0u4SltFNLpJKY3LERsYU9cPobx8V2zbK2P20t3C
g==
}
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
0
'
@ibiz-template/command'
:
0.0.1-beta.4
1
'
@ibiz-template/core'
:
0.0.1-beta.4
0
_qzytosuu5eg3bvoa74ldx6evva
'
@ibiz-template/core'
:
0.0.1-beta.4
1
_qzytosuu5eg3bvoa74ldx6evva
'
@ibiz-template/model'
:
0.0.1-beta.4
0
_nngk5znuztmoeynqrwf7jk7xse
'
@ibiz-template/model'
:
0.0.1-beta.4
1
_nngk5znuztmoeynqrwf7jk7xse
'
@ibiz-template/service'
:
0.0.1-beta.4
0_b3wzgms7gw3yr4dgumchumncyq
'
@ibiz-template/service'
:
0.0.1-beta.4
1_r3w3xhniijev2yzvfsjiwouuxi
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
0_b3wzgms7gw3yr4dgumchumncyq
:
/@ibiz-template/service/0.0.1-beta.4
1_r3w3xhniijev2yzvfsjiwouuxi
:
resolution
:
{
integrity
:
sha512-
axqcFVRkOB+Gt+IGNxtqkwm8lpANBy6rts9z/YR2kgWwvG2eAXXyN4XZzysKFBKKe/ATXIspXp+JLzDByWLUUg
==
}
resolution
:
{
integrity
:
sha512-
XAlLgCU1DKs2ApNBE+7wFjHeGwcKB4sctWCpPNUoJLGmSCJtgoEpCWLojVk0zhgzGkYF36WQFurmVn1RkN20Aw
==
}
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
0
_qzytosuu5eg3bvoa74ldx6evva
'
@ibiz-template/core'
:
0.0.1-beta.4
1
_qzytosuu5eg3bvoa74ldx6evva
'
@ibiz-template/model'
:
0.0.1-beta.4
0
_nngk5znuztmoeynqrwf7jk7xse
'
@ibiz-template/model'
:
0.0.1-beta.4
1
_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
0
:
/@ibiz-template/theme/0.0.1-beta.4
1
:
resolution
:
{
integrity
:
sha512-
97Nm2XjAJzvZYRJHT4MNl/6ayFoc5aeITqgSZoTuwUSqP/HWgd9yZzeJ9l5dVLa/6/fR7R8sqDqUoWa+F2X57
w==
}
resolution
:
{
integrity
:
sha512-
kKGu0XA/wh5qQApHaPrGVfdcIITmSySdsay1+FJ4Xoq3f772LXSBPQmuvBYXdWeKYNcQJgqhkk9v0KvVAjUZO
w==
}
dev
:
false
dev
:
false
/@ibiz-template/vue-util/0.0.1-beta.4
0_rlbhvadyq25fgcwpie3epzkuwi
:
/@ibiz-template/vue-util/0.0.1-beta.4
1_ej6v47uock3ysfitevcsukqpay
:
resolution
:
{
integrity
:
sha512-
yKMC5wffJa9rHaUIs7YClEFxouHQkiEqvBhETGtqfImwaI+BMw0ytz6g01SWXQcRivy6r+nYBqqawCSbz7d8+g
==
}
resolution
:
{
integrity
:
sha512-
z6qc+9HKbsM7fSBaPxlTFy8l9OOHytKPVaWNSrzulVvBjaltDvAaF+Ksdi/JKkNpCoEmz1T86BBTczaagBF5PQ
==
}
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
0_37ayjn5zkwz5xrcggrk7vrtss4
'
@ibiz-template/controller'
:
0.0.1-beta.4
1_mhiv3zm2gzaps2sbh5iulywewu
'
@ibiz-template/core'
:
0.0.1-beta.4
0
_qzytosuu5eg3bvoa74ldx6evva
'
@ibiz-template/core'
:
0.0.1-beta.4
1
_qzytosuu5eg3bvoa74ldx6evva
'
@ibiz-template/model'
:
0.0.1-beta.4
0
_nngk5znuztmoeynqrwf7jk7xse
'
@ibiz-template/model'
:
0.0.1-beta.4
1
_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/src/guard/auth-guard/auth-guard.ts
浏览文件 @
e187548a
import
{
OrgData
}
from
'@ibiz-template/core'
;
import
{
CoreConst
,
OrgData
}
from
'@ibiz-template/core'
;
import
{
ModelUtil
}
from
'@ibiz-template/model'
;
import
{
ModelUtil
}
from
'@ibiz-template/model'
;
import
{
getCookie
,
setCookie
}
from
'qx-util'
;
import
{
UnauthorizedHandler
}
from
'../unauthorized-handler/unauthorized-handler'
;
import
{
UnauthorizedHandler
}
from
'../unauthorized-handler/unauthorized-handler'
;
/**
/**
...
@@ -82,6 +83,28 @@ async function loadOrgData(): Promise<void> {
...
@@ -82,6 +83,28 @@ async function loadOrgData(): Promise<void> {
}
}
}
}
function
setRefreshToken
()
{
const
token
=
getCookie
(
CoreConst
.
TOKEN
);
const
expirein
=
getCookie
(
CoreConst
.
TOKEN_EXPIRES
);
if
(
token
&&
expirein
)
{
// 计算到过期时间所需的延时毫秒数,预留提前量
let
wait
=
Number
(
expirein
)
-
new
Date
().
getTime
();
const
early
=
5
*
60
*
1000
;
wait
=
wait
>
early
?
wait
-
early
:
0
;
setTimeout
(
async
()
=>
{
const
res
=
await
ibiz
.
net
.
get
(
`/uaa/refreshtoken2`
);
if
(
res
.
ok
)
{
setCookie
(
CoreConst
.
TOKEN
,
res
.
data
.
token
,
0
,
true
);
const
expiredDate
=
new
Date
().
getTime
()
+
(
res
.
data
.
expirein
||
7199
)
*
1000
;
setCookie
(
CoreConst
.
TOKEN_EXPIRES
,
`
${
expiredDate
}
`
,
0
,
true
);
}
// 下一次延时做准备
setRefreshToken
();
},
wait
);
}
}
/**
/**
* 应用参数初始化
* 应用参数初始化
*
*
...
@@ -94,6 +117,7 @@ async function appInit(): Promise<void> {
...
@@ -94,6 +117,7 @@ async function appInit(): Promise<void> {
await
loadOrgData
();
await
loadOrgData
();
await
loadAppData
();
await
loadAppData
();
await
loadModel
();
await
loadModel
();
setRefreshToken
();
// 设置权限服务需要的appData里的数据
// 设置权限服务需要的appData里的数据
await
ibiz
.
authority
.
init
();
await
ibiz
.
authority
.
init
();
}
catch
(
error
)
{
}
catch
(
error
)
{
...
...
app_Web/src/provider/editor/file-uploader-provider.ts
浏览文件 @
e187548a
...
@@ -20,9 +20,9 @@ export class FileUploaderEditorProvider implements IEditorProvider {
...
@@ -20,9 +20,9 @@ export class FileUploaderEditorProvider implements IEditorProvider {
gridEditor
:
string
=
'IBizGridFileUpload'
;
gridEditor
:
string
=
'IBizGridFileUpload'
;
constructor
(
editorType
:
string
)
{
constructor
(
editorType
:
string
)
{
if
(
editorType
===
'PICTURE'
)
{
if
(
editorType
.
includes
(
'PICTURE'
)
)
{
this
.
formEditor
=
'IBizImageUpload'
;
this
.
formEditor
=
'IBizImageUpload'
;
}
else
if
(
editorType
===
'FILEUPLOADER'
)
{
}
else
if
(
editorType
.
includes
(
'FILEUPLOADER'
)
)
{
this
.
formEditor
=
'IBizFileUpload'
;
this
.
formEditor
=
'IBizFileUpload'
;
}
}
}
}
...
...
app_Web/src/provider/editor/index.ts
浏览文件 @
e187548a
...
@@ -58,8 +58,16 @@ export function presetEditorProvider(): void {
...
@@ -58,8 +58,16 @@ export function presetEditorProvider(): void {
'FILEUPLOADER'
,
'FILEUPLOADER'
,
new
FileUploaderEditorProvider
(
'FILEUPLOADER'
),
new
FileUploaderEditorProvider
(
'FILEUPLOADER'
),
);
);
editorRegister
.
register
(
'FILEUPLOADER_ONE'
,
new
FileUploaderEditorProvider
(
'FILEUPLOADER_ONE'
),
);
// 图片上传
// 图片上传
editorRegister
.
register
(
'PICTURE'
,
new
FileUploaderEditorProvider
(
'PICTURE'
));
editorRegister
.
register
(
'PICTURE'
,
new
FileUploaderEditorProvider
(
'PICTURE'
));
editorRegister
.
register
(
'PICTURE_ONE'
,
new
FileUploaderEditorProvider
(
'PICTURE_ONE'
),
);
// 数据选择类
// 数据选择类
editorRegister
.
register
(
'PICKER'
,
new
DataPickerEditorProvider
(
'PICKER'
));
editorRegister
.
register
(
'PICKER'
,
new
DataPickerEditorProvider
(
'PICKER'
));
...
...
app_Web/src/views/login-view/login-view.tsx
浏览文件 @
e187548a
...
@@ -77,7 +77,10 @@ export default defineComponent({
...
@@ -77,7 +77,10 @@ export default defineComponent({
if
(
res
.
ok
)
{
if
(
res
.
ok
)
{
const
{
data
}
=
res
;
const
{
data
}
=
res
;
if
(
data
&&
data
.
token
)
{
if
(
data
&&
data
.
token
)
{
setCookie
(
CoreConst
.
TOKEN
,
data
.
token
,
7
,
true
);
setCookie
(
CoreConst
.
TOKEN
,
data
.
token
,
0
,
true
);
const
expiredDate
=
new
Date
().
getTime
()
+
(
data
.
expirein
||
7199
)
*
1000
;
setCookie
(
CoreConst
.
TOKEN_EXPIRES
,
`
${
expiredDate
}
`
,
0
,
true
);
router
.
push
({
path
:
ru
});
router
.
push
({
path
:
ru
});
return
;
return
;
}
}
...
...
app_Web/yarn.lock
浏览文件 @
e187548a
...
@@ -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
0
":
"@ibiz-template/command@^0.0.1-beta.4
1
":
version "0.0.1-beta.4
0
"
version "0.0.1-beta.4
1
"
resolved "http://npm.zhr.icu/@ibiz-template%2fcommand/-/command-0.0.1-beta.4
0.tgz#ac59fe33c2afa8de10e1d5d05a3e0ee159ecaf45
"
resolved "http://npm.zhr.icu/@ibiz-template%2fcommand/-/command-0.0.1-beta.4
1.tgz#e44133575219ab3dadd5658f5ccdccd46dd3bbe0
"
integrity sha512-
s42DRfv/hNKI9Fo9xxvw6JFcyTX3l/aZp2ktO8ImxWMfJpKhCDoEHzVCxovQ6AfJS3J0wvxbow3rLsqxtxiRN
Q==
integrity sha512-
cNshIH+N3wrib63K7XWu9tHEstmCtIo+sP0SVZ5hJFWeoE7Ewghg+7Cw6wm7DMklxEq38Y1C2d9bxqaJY7dQD
Q==
dependencies:
dependencies:
qx-util "^0.4.4"
qx-util "^0.4.4"
"@ibiz-template/controller@^0.0.1-beta.4
0
":
"@ibiz-template/controller@^0.0.1-beta.4
1
":
version "0.0.1-beta.4
0
"
version "0.0.1-beta.4
1
"
resolved "http://npm.zhr.icu/@ibiz-template%2fcontroller/-/controller-0.0.1-beta.4
0.tgz#912f5f6a43daa15902779d13d7c91dab9d055ee6
"
resolved "http://npm.zhr.icu/@ibiz-template%2fcontroller/-/controller-0.0.1-beta.4
1.tgz#7f8c8073be112ab94c0ec040d5c2dc361cd85f6a
"
integrity sha512-
VJX7AbqAKAKj+p7tL64qNV8QVnR4Yt5gkIJGbqcnmDdvQm62MYJLhE7GU+NG1zID27d6MASxUeYbKJvSZlEEig
==
integrity sha512-
FlRm1Ki+ML0lAnRqJo2O9om1aQShRKIQU9HyQL8WpGfGJP95Rlh7TDRcJd5d4s9deJed1KU5nMTTH9o0IQDOZA
==
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
0
":
"@ibiz-template/core@^0.0.1-beta.4
1
":
version "0.0.1-beta.4
0
"
version "0.0.1-beta.4
1
"
resolved "http://npm.zhr.icu/@ibiz-template%2fcore/-/core-0.0.1-beta.4
0.tgz#3d9769005c4f869f1fcfc49508544015a2f765d1
"
resolved "http://npm.zhr.icu/@ibiz-template%2fcore/-/core-0.0.1-beta.4
1.tgz#93f6e1706d9e717a03f41e7ae00d72a809c89ce3
"
integrity sha512-
FWyK9inmmq9a/5mW5feEqI356edd/4kQKsM1B+GjkOPDr28zxDscuZ2tz3SPNjNQ76TLOPOeCKhc6vNt7ZBijw
==
integrity sha512-
viuGlkK8VjTI1wia0yIz4zxtZBvSCzJEmlpiRovCo9jAnl+Bm7FE+H/MJl//CenVD+vEL0GDaUh+YR1tNQ4t2Q
==
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
0
":
"@ibiz-template/model@^0.0.1-beta.4
1
":
version "0.0.1-beta.4
0
"
version "0.0.1-beta.4
1
"
resolved "http://npm.zhr.icu/@ibiz-template%2fmodel/-/model-0.0.1-beta.4
0.tgz#5386c514902515b66eece39ca0256d1642fd4dcc
"
resolved "http://npm.zhr.icu/@ibiz-template%2fmodel/-/model-0.0.1-beta.4
1.tgz#b3f5606e3212016f62503da470a6b45a7c54ead7
"
integrity sha512-
e+rkkzu69lfR7UTDzS0LCNZI+s477AXaBHZZHljSiKJUYjiyL6gZqDu38PtrNh7oEwI2WGSz+uoPmOu3Qsv6N
Q==
integrity sha512-
7bLJHEbIUeAX2B2VYNCF8nKTT1CCr4bLZTFBKYMqx9itySEaPfCHy0TWXsvbZ8HTGPjpsBiBgyYcN0UEPPOyA
Q==
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
0
":
"@ibiz-template/runtime@^0.0.1-beta.4
1
":
version "0.0.1-beta.4
0
"
version "0.0.1-beta.4
1
"
resolved "http://npm.zhr.icu/@ibiz-template%2fruntime/-/runtime-0.0.1-beta.4
0.tgz#67a79e2b1996fbbe489a9d510b695151dbd26506
"
resolved "http://npm.zhr.icu/@ibiz-template%2fruntime/-/runtime-0.0.1-beta.4
1.tgz#efe6fbe4276a1dad2496af99987d9870990229fa
"
integrity sha512-
8/iqeafg6QkhaEdlyXg+wU5yUQBoH4RXn3s8habC2L6Z9hvGNkQplkgmmIya+Ndi7LazFGBZfVSzSQWNp2Xcy
g==
integrity sha512-
Y2brQzrfLr/NmEkAaWwOI53Qo/pjA+qyAzDf3dS++vIPhZ0u4SltFNLpJKY3LERsYU9cPobx8V2zbK2P20t3C
g==
dependencies:
dependencies:
"@ibiz-template/command" "^0.0.1-beta.4
0
"
"@ibiz-template/command" "^0.0.1-beta.4
1
"
qs "^6.11.0"
qs "^6.11.0"
"@ibiz-template/service@^0.0.1-beta.4
0
":
"@ibiz-template/service@^0.0.1-beta.4
1
":
version "0.0.1-beta.4
0
"
version "0.0.1-beta.4
1
"
resolved "http://npm.zhr.icu/@ibiz-template%2fservice/-/service-0.0.1-beta.4
0.tgz#48a1bd3af9d19c6dbe49e35d8f3c413d3e1d83a3
"
resolved "http://npm.zhr.icu/@ibiz-template%2fservice/-/service-0.0.1-beta.4
1.tgz#82f25c1cbf4f5e0e6357c744a3d354ff5a20f572
"
integrity sha512-
axqcFVRkOB+Gt+IGNxtqkwm8lpANBy6rts9z/YR2kgWwvG2eAXXyN4XZzysKFBKKe/ATXIspXp+JLzDByWLUUg
==
integrity sha512-
XAlLgCU1DKs2ApNBE+7wFjHeGwcKB4sctWCpPNUoJLGmSCJtgoEpCWLojVk0zhgzGkYF36WQFurmVn1RkN20Aw
==
"@ibiz-template/theme@^0.0.1-beta.4
0
":
"@ibiz-template/theme@^0.0.1-beta.4
1
":
version "0.0.1-beta.4
0
"
version "0.0.1-beta.4
1
"
resolved "http://npm.zhr.icu/@ibiz-template%2ftheme/-/theme-0.0.1-beta.4
0.tgz#b857bf1e6b3e9c6c55701d13313209190bb64586
"
resolved "http://npm.zhr.icu/@ibiz-template%2ftheme/-/theme-0.0.1-beta.4
1.tgz#62408384c67fa37893b3f19812df9286468079ed
"
integrity sha512-
97Nm2XjAJzvZYRJHT4MNl/6ayFoc5aeITqgSZoTuwUSqP/HWgd9yZzeJ9l5dVLa/6/fR7R8sqDqUoWa+F2X57
w==
integrity sha512-
kKGu0XA/wh5qQApHaPrGVfdcIITmSySdsay1+FJ4Xoq3f772LXSBPQmuvBYXdWeKYNcQJgqhkk9v0KvVAjUZO
w==
"@ibiz-template/vue-util@^0.0.1-beta.4
0
":
"@ibiz-template/vue-util@^0.0.1-beta.4
1
":
version "0.0.1-beta.4
0
"
version "0.0.1-beta.4
1
"
resolved "http://npm.zhr.icu/@ibiz-template%2fvue-util/-/vue-util-0.0.1-beta.4
0.tgz#074b6ad3beaa7516785748c628ca09a799b4b79a
"
resolved "http://npm.zhr.icu/@ibiz-template%2fvue-util/-/vue-util-0.0.1-beta.4
1.tgz#a35ea850c5f282c60e1d3a4a369737654407c679
"
integrity sha512-
yKMC5wffJa9rHaUIs7YClEFxouHQkiEqvBhETGtqfImwaI+BMw0ytz6g01SWXQcRivy6r+nYBqqawCSbz7d8+g
==
integrity sha512-
z6qc+9HKbsM7fSBaPxlTFy8l9OOHytKPVaWNSrzulVvBjaltDvAaF+Ksdi/JKkNpCoEmz1T86BBTczaagBF5PQ
==
"@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
浏览文件 @
e187548a
...
@@ -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/PSSYSAPP.json
浏览文件 @
e187548a
...
@@ -2155,16 +2155,16 @@
...
@@ -2155,16 +2155,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"
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录