Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
T
TrainSys
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
苏州培训方案
TrainSys
提交
a79322d7
提交
a79322d7
编写于
3月 10, 2023
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
lxm1993 发布系统代码 [TrainSys,网页端]
上级
33a5cbe0
变更
14
展开全部
隐藏空白字符变更
内嵌
并排
正在显示
14 个修改的文件
包含
1529 行增加
和
1479 行删除
+1529
-1479
package.json
app_Web/package.json
+8
-8
pnpm-lock.yaml
app_Web/pnpm-lock.yaml
+1016
-939
view-toolbar.tsx
app_Web/src/components/common/view-toolbar/view-toolbar.tsx
+8
-1
wf-toolbar.tsx
app_Web/src/components/common/wf-toolbar/wf-toolbar.tsx
+8
-1
error-handler.ts
app_Web/src/util/error-handler/error-handler.ts
+5
-1
yarn.lock
app_Web/yarn.lock
+33
-33
config.xml
config.xml
+0
-6
TestRules.json
...SYSAPPS/Web/PSAPPDATAENTITIES/TEST/PSFORMS/TestRules.json
+148
-148
TESTTestRulesEditView.json
...sys/PSSYSAPPS/Web/PSAPPDEVIEWS/TESTTestRulesEditView.json
+148
-148
PSSYSAPP.json
...ces/model/cn/ibizlab/trainsys/PSSYSAPPS/Web/PSSYSAPP.json
+148
-148
pom.xml
trainsys-provider/pom.xml
+1
-1
Dockerfile
trainsys-provider/src/main/docker/Dockerfile
+1
-1
trainsys-provider-trainsys-k8s.yaml
...vider/src/main/docker/trainsys-provider-trainsys-k8s.yaml
+4
-29
trainsys-provider-trainsys.yaml
...-provider/src/main/docker/trainsys-provider-trainsys.yaml
+1
-15
未找到文件。
app_Web/package.json
浏览文件 @
a79322d7
...
...
@@ -12,14 +12,14 @@
},
"dependencies"
:
{
"@floating-ui/dom"
:
"^1.0.11"
,
"@ibiz-template/command"
:
"^0.0.1-beta.4
5
"
,
"@ibiz-template/controller"
:
"^0.0.1-beta.4
5
"
,
"@ibiz-template/core"
:
"^0.0.1-beta.4
5
"
,
"@ibiz-template/model"
:
"^0.0.1-beta.4
5
"
,
"@ibiz-template/runtime"
:
"^0.0.1-beta.4
5
"
,
"@ibiz-template/service"
:
"^0.0.1-beta.4
5
"
,
"@ibiz-template/theme"
:
"^0.0.1-beta.4
5
"
,
"@ibiz-template/vue-util"
:
"^0.0.1-beta.4
5
"
,
"@ibiz-template/command"
:
"^0.0.1-beta.4
6
"
,
"@ibiz-template/controller"
:
"^0.0.1-beta.4
6
"
,
"@ibiz-template/core"
:
"^0.0.1-beta.4
6
"
,
"@ibiz-template/model"
:
"^0.0.1-beta.4
6
"
,
"@ibiz-template/runtime"
:
"^0.0.1-beta.4
6
"
,
"@ibiz-template/service"
:
"^0.0.1-beta.4
6
"
,
"@ibiz-template/theme"
:
"^0.0.1-beta.4
6
"
,
"@ibiz-template/vue-util"
:
"^0.0.1-beta.4
6
"
,
"@ibiz/dynamic-model-api"
:
"^2.1.11"
,
"dayjs"
:
"^1.11.7"
,
"lodash-es"
:
"^4.17.21"
,
...
...
app_Web/pnpm-lock.yaml
浏览文件 @
a79322d7
因为 它太大了无法显示 源差异 。您可以改为
查看blob
。
app_Web/src/components/common/view-toolbar/view-toolbar.tsx
浏览文件 @
a79322d7
...
...
@@ -55,7 +55,7 @@ export const ViewToolbar = defineComponent({
});
// 点击事件
const
handleClick
=
async
(
item
:
IPSDEToolbarItem
,
_event
:
MouseEvent
)
=>
{
const
_
handleClick
=
async
(
item
:
IPSDEToolbarItem
,
_event
:
MouseEvent
)
=>
{
props
.
toolbarState
.
setLoading
(
item
.
id
);
try
{
await
neuron
.
evt
.
asyncEmit
(
...
...
@@ -68,6 +68,13 @@ export const ViewToolbar = defineComponent({
}
};
// 按钮点击加延时。解决子界面行编辑没有失焦的情况下先触发了按钮的行为。
const
handleClick
=
async
(
item
:
IPSDEToolbarItem
,
event
:
MouseEvent
)
=>
{
setTimeout
(()
=>
{
_handleClick
(
item
,
event
);
},
30
);
};
return
{
ns
,
doingToolbarItem
,
handleClick
,
btnSize
};
},
render
()
{
...
...
app_Web/src/components/common/wf-toolbar/wf-toolbar.tsx
浏览文件 @
a79322d7
...
...
@@ -15,10 +15,17 @@ export const WFToolbar = defineComponent({
const
ns
=
useNamespace
(
'wf-toolbar'
);
// 点击事件抛给表格执行
const
handleClick
=
async
(
link
:
WFLink
,
event
:
MouseEvent
)
=>
{
const
_
handleClick
=
async
(
link
:
WFLink
,
event
:
MouseEvent
)
=>
{
emit
(
'wf-link-click'
,
link
,
event
);
};
// 按钮点击加延时。解决子界面行编辑没有失焦的情况下先触发了按钮的行为。
const
handleClick
=
async
(
link
:
WFLink
,
event
:
MouseEvent
)
=>
{
setTimeout
(()
=>
{
_handleClick
(
link
,
event
);
},
30
);
};
return
{
ns
,
handleClick
};
},
render
()
{
...
...
app_Web/src/util/error-handler/error-handler.ts
浏览文件 @
a79322d7
...
...
@@ -24,7 +24,11 @@ export class ErrorHandler {
err
instanceof
DefectModelError
||
err
instanceof
UnsupportedModelError
)
{
ibiz
.
message
.
error
(
err
.
message
,
10
,
true
);
if
(
ibiz
.
env
.
dev
)
{
ibiz
.
message
.
error
(
err
.
message
,
10
,
true
);
}
else
{
ibiz
.
log
.
error
(
err
.
message
);
}
}
else
if
(
err
instanceof
HttpError
)
{
if
(
err
.
status
===
401
)
{
UnauthorizedHandler
.
handle
();
...
...
app_Web/yarn.lock
浏览文件 @
a79322d7
...
...
@@ -637,61 +637,61 @@
resolved "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz"
integrity sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==
"@ibiz-template/command@^0.0.1-beta.4
5
":
version "0.0.1-beta.4
5
"
resolved "http://npm.zhr.icu/@ibiz-template
%2fcommand/-/command-0.0.1-beta.45.tgz#3fcdf95f60416d9398cffacef9abbf50540f8a2d
"
integrity sha512-
o/LTY7RiU/pn+vClhoSJLMdaO+l8lECT9UEyPCdrqwYdLo0/xbBiIPhYqHiCrmNpABIbsOEUlRo2i+aZb2R42Q
==
"@ibiz-template/command@^0.0.1-beta.4
6
":
version "0.0.1-beta.4
6
"
resolved "http://npm.zhr.icu/@ibiz-template
/command/-/command-0.0.1-beta.46.tgz#abb30e69438f212ce197f28b212b4ece58a89a54
"
integrity sha512-
iM7aOGrOHfkQpHMeEKn4RARfzWEqpX05iR76Yw4JvqOxT5TmsI2ouRnKaCbylpOv5SBjjrxrxgJtK5erW8CCow
==
dependencies:
qx-util "^0.4.4"
"@ibiz-template/controller@^0.0.1-beta.4
5
":
version "0.0.1-beta.4
5
"
resolved "http://npm.zhr.icu/@ibiz-template
%2fcontroller/-/controller-0.0.1-beta.45.tgz#499ab4325b0632ee83d48a6b3e7351641ff427f1
"
integrity sha512-
Bc0oJgvH2QoAM3b/BLkxeVea1yZv5+oFIQAnkuDfFGoJ/4P52cYGXJhHjOGJB40w1zlPJOM32Wj2mLNVc8C2bA
==
"@ibiz-template/controller@^0.0.1-beta.4
6
":
version "0.0.1-beta.4
6
"
resolved "http://npm.zhr.icu/@ibiz-template
/controller/-/controller-0.0.1-beta.46.tgz#e8e8bf941ccb9de83bce1eb3294f9937df7eeafc
"
integrity sha512-
6iJVrRDhhS0OFOK+oAj2QaGSCKJ8M+tysYJgVX2yXW2K2gwOhMw78TOEIZ17Gs/5Qiwk14lb4GJoYKPBZj5Dcw
==
dependencies:
async-validator "^4.2.5"
dayjs "^1.11.5"
"@ibiz-template/core@^0.0.1-beta.4
5
":
version "0.0.1-beta.4
5
"
resolved "http://npm.zhr.icu/@ibiz-template
%2fcore/-/core-0.0.1-beta.45.tgz#a7886e2b27cfdee14cdc6814e444357091a344bf
"
integrity sha512-
unVWmpQPuA0hUuweZjS0+vOkErtRYAt4fV8DSLVTESIyHFBKvA56fYLA2Qa750vV1dDELwntvijRYEhRGcPuCA
==
"@ibiz-template/core@^0.0.1-beta.4
6
":
version "0.0.1-beta.4
6
"
resolved "http://npm.zhr.icu/@ibiz-template
/core/-/core-0.0.1-beta.46.tgz#0a9ec5478e0b810a835faffe5cc87442d855328d
"
integrity sha512-
mkyjamjNjF3zVmUyfDo1MDAlgz2dwH5QF7J/5YVnMrY7E1OAF0G+YoHJalAELZl7cIUiab2HBUEzJ33Bpfi7FQ
==
dependencies:
axios "^1.2.1"
loglevel "^1.8.0"
pluralize "^8.0.0"
qs "^6.11.0"
"@ibiz-template/model@^0.0.1-beta.4
5
":
version "0.0.1-beta.4
5
"
resolved "http://npm.zhr.icu/@ibiz-template
%2fmodel/-/model-0.0.1-beta.45.tgz#4dd27c4c4dfdd9ae3c9cbaa4a20dace8ff79f882
"
integrity sha512-
OQXFSeCLCAxNeaLGeFuoTGYIRhxnv4dLMGmjwL6c0vJTY8SPWU537ILSsCHsaTyEWNBm5BajpnRzYJYZQUKj2
Q==
"@ibiz-template/model@^0.0.1-beta.4
6
":
version "0.0.1-beta.4
6
"
resolved "http://npm.zhr.icu/@ibiz-template
/model/-/model-0.0.1-beta.46.tgz#a37726dcf07e3e6d67fdc81166e06f03ed0b27c9
"
integrity sha512-
RRcEHWeYHsdKrklw2ElfJEvMQnS8vS3k+GalG6Kr/oyOxOFtCoLjWgi7iUWYQ7eSl9d+G7K7h9Yhg+UeDLQgn
Q==
dependencies:
"@ibiz/dynamic-model-api" "^2.1.11"
pluralize "^8.0.0"
"@ibiz-template/runtime@^0.0.1-beta.4
5
":
version "0.0.1-beta.4
5
"
resolved "http://npm.zhr.icu/@ibiz-template
%2fruntime/-/runtime-0.0.1-beta.45.tgz#340c85ef916c70274b87c7ed0378fc42799a651f
"
integrity sha512-
zke/3sHy4E2ikC3x5yrq13zZac9BzmRr0tOjPckLmcmZhNqkURXu+ob2E1r8T0pwouXh3RLsMe7R4ilDDm7kOw
==
"@ibiz-template/runtime@^0.0.1-beta.4
6
":
version "0.0.1-beta.4
6
"
resolved "http://npm.zhr.icu/@ibiz-template
/runtime/-/runtime-0.0.1-beta.46.tgz#433d4cceda2c295ff37f0308031161ae61a7f9be
"
integrity sha512-
4ttc1O5jksd+SVSWEB3R32tQr7QSJLXoo6YXMYdpP6ewnhsIFakqa3fAVk3xk1V5Oo80Vu721S8npoYhNbTX2A
==
dependencies:
"@ibiz-template/command" "^0.0.1-beta.4
5
"
"@ibiz-template/command" "^0.0.1-beta.4
6
"
qs "^6.11.0"
"@ibiz-template/service@^0.0.1-beta.4
5
":
version "0.0.1-beta.4
5
"
resolved "http://npm.zhr.icu/@ibiz-template
%2fservice/-/service-0.0.1-beta.45.tgz#a973a0def6fdb1d1abc52cb2137d6e018cb4a94
d"
integrity sha512-
xFYABBbrJJMInwQvDTTX8tlDGVbJiB/Fj5pa9JPWIwy97NcODObeoJkFk1BQy2HnTwJiOATbRL+s4E2adRSdnw
==
"@ibiz-template/service@^0.0.1-beta.4
6
":
version "0.0.1-beta.4
6
"
resolved "http://npm.zhr.icu/@ibiz-template
/service/-/service-0.0.1-beta.46.tgz#2876d62e75b8a65a0c1b5799beacc21b62de10a
d"
integrity sha512-
yK6Y8u45N+7mRhIsUEht+X2+RYV0GridUlu8gj0Qdo54pTSdTo5NG6dhl0bdVn1HO1A681Cv2A0ccR51lYQvcA
==
"@ibiz-template/theme@^0.0.1-beta.4
5
":
version "0.0.1-beta.4
5
"
resolved "http://npm.zhr.icu/@ibiz-template
%2ftheme/-/theme-0.0.1-beta.45.tgz#a4998f93d01e5c6e93daf3f8d4103a373630ea97
"
integrity sha512-
lsgfyUqFUOIZWd34qKd2pubpzmfeaSRe81IQEkcdOBWhd5UdBzDfY4ChQhs9AQohMZXct1l+OBk2pDGi7TJNTQ
==
"@ibiz-template/theme@^0.0.1-beta.4
6
":
version "0.0.1-beta.4
6
"
resolved "http://npm.zhr.icu/@ibiz-template
/theme/-/theme-0.0.1-beta.46.tgz#d1f410bad673bd78549fba37b2e8b4690aa9bc6b
"
integrity sha512-
SByWF8Zy6Xsl9it4ia7VAw20K1WL6f7T4XohFg/dhOl0WtrbQJudzVl83gTjsB2hwZv6w0nFqq7IkzNnDV5dkA
==
"@ibiz-template/vue-util@^0.0.1-beta.4
5
":
version "0.0.1-beta.4
5
"
resolved "http://npm.zhr.icu/@ibiz-template
%2fvue-util/-/vue-util-0.0.1-beta.45.tgz#f4bb6b6abc1e5bb9af4740ce69a0fbefbc697108
"
integrity sha512-
rvmLnQxLQJQBxXV3KwAy7w39RgN3wm1rE9B1R6csGWB8hyou0z9OwJygIz9afAPd1rVmK3LHMi7OVKVPOVfBkA
==
"@ibiz-template/vue-util@^0.0.1-beta.4
6
":
version "0.0.1-beta.4
6
"
resolved "http://npm.zhr.icu/@ibiz-template
/vue-util/-/vue-util-0.0.1-beta.46.tgz#feb1e1d8cec7eeb1bdccfa2f1ce6f36ab665791e
"
integrity sha512-
pzNu3DiY7eyKiLPRkBj54B59Up3jRng5utFrXOu1ANL62rleRUc7u72Zycgutr9QCoJPCp3XDDxP1Gr7IWn5Bg
==
"@ibiz/dynamic-model-api@^2.1.11":
version "2.1.11"
...
...
config.xml
浏览文件 @
a79322d7
...
...
@@ -55,12 +55,6 @@
git clone -b master $para2 trainsys/
export NODE_OPTIONS=--max-old-space-size=4096
cd trainsys/
mvn clean package -Ptrainsys
mvn install -Ptrainsys
cd trainsys-provider
mvn -Ptrainsys docker:build
mvn -Ptrainsys docker:push
docker -H $para1 stack deploy --compose-file=src/main/docker/trainsys-provider-trainsys.yaml ebsx --with-registry-auth
</command>
</hudson.tasks.Shell>
</builders>
...
...
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSSYSAPPS/Web/PSAPPDATAENTITIES/TEST/PSFORMS/TestRules.json
浏览文件 @
a79322d7
此差异已折叠。
点击以展开。
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSSYSAPPS/Web/PSAPPDEVIEWS/TESTTestRulesEditView.json
浏览文件 @
a79322d7
此差异已折叠。
点击以展开。
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSSYSAPPS/Web/PSSYSAPP.json
浏览文件 @
a79322d7
此差异已折叠。
点击以展开。
trainsys-provider/pom.xml
浏览文件 @
a79322d7
...
...
@@ -33,7 +33,7 @@
<profiles>
<profile>
<id>
trainsys
</id>
<id>
runtime
</id>
<build>
<resources>
<resource>
...
...
trainsys-provider/src/main/docker/Dockerfile
浏览文件 @
a79322d7
...
...
@@ -10,6 +10,6 @@ CMD echo "The application will start in ${IBIZ_SLEEP}s..." && \
sleep ${IBIZ_SLEEP} && \
java ${JAVA_OPTS} -Duser.timezone=$TZ -Djava.security.egd=file:/dev/./urandom -jar /trainsys-provider.jar
EXPOSE
50000
EXPOSE
8081
ADD
trainsys-provider.jar /trainsys-provider.jar
trainsys-provider/src/main/docker/trainsys-provider-trainsys-k8s.yaml
浏览文件 @
a79322d7
...
...
@@ -22,32 +22,7 @@ spec:
image
:
registry.cn-shanghai.aliyuncs.com/ibizsys/trainsys-provider:latest
imagePullPolicy
:
Always
ports
:
-
containerPort
:
50000
env
:
-
name
:
SPRING_CLOUD_NACOS_DISCOVERY_IP
value
:
"
172.16.240.140"
-
name
:
SERVER_PORT
value
:
"
50000"
-
name
:
SPRING_CLOUD_NACOS_DISCOVERY_SERVER-ADDR
value
:
"
172.16.240.140:8848"
-
name
:
SPRING_REDIS_HOST
value
:
"
127.0.0.1"
-
name
:
SPRING_REDIS_PORT
value
:
"
6379"
-
name
:
SPRING_REDIS_DATABASE
value
:
"
0"
-
name
:
SPRING_DATASOURCE_USERNAME
value
:
"
a_LAB01_d23cc850e"
-
name
:
SPRING_DATASOURCE_PASSWORD
value
:
"
f9Df4556"
-
name
:
SPRING_DATASOURCE_URL
value
:
"
jdbc:mysql://172.16.186.185:3306/a_LAB01_d23cc850e?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8&useOldAliasMetadataBehavior=true&serverTimezone=Asia/Shanghai&allowMultiQueries=true&serverTimezone=GMT%2B8"
-
name
:
SPRING_DATASOURCE_DRIVER-CLASS-NAME
value
:
"
com.mysql.jdbc.Driver"
-
name
:
SPRING_DATASOURCE_DEFAULTSCHEMA
value
:
"
a_LAB01_d23cc850e"
-
name
:
NACOS
value
:
"
172.16.240.140:8848"
-
containerPort
:
8081
---
apiVersion
:
v1
...
...
@@ -60,9 +35,9 @@ spec:
type
:
NodePort
ports
:
-
name
:
http
port
:
50000
targetPort
:
50000
nodePort
:
50000
port
:
8081
targetPort
:
8081
nodePort
:
8081
protocol
:
TCP
selector
:
app
:
trainsys-provider
...
...
trainsys-provider/src/main/docker/trainsys-provider-trainsys.yaml
浏览文件 @
a79322d7
...
...
@@ -3,23 +3,9 @@ services:
trainsys-provider
:
image
:
registry.cn-shanghai.aliyuncs.com/ibizsys/trainsys-provider:latest
ports
:
-
"
50000:50000
"
-
"
8081:8081
"
networks
:
-
agent_network
environment
:
-
SPRING_CLOUD_NACOS_DISCOVERY_IP=172.16.240.140
-
SERVER_PORT=50000
-
SPRING_CLOUD_NACOS_DISCOVERY_SERVER-ADDR=172.16.240.140:8848
-
SPRING_CLOUD_NACOS_CONFIG_SERVER-ADDR=172.16.240.140:8848
-
SPRING_REDIS_HOST=127.0.0.1
-
SPRING_REDIS_PORT=6379
-
SPRING_REDIS_DATABASE=0
-
SPRING_DATASOURCE_USERNAME=a_LAB01_d23cc850e
-
SPRING_DATASOURCE_PASSWORD=f9Df4556
-
SPRING_DATASOURCE_URL=jdbc:mysql://172.16.186.185:3306/a_LAB01_d23cc850e?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8&useOldAliasMetadataBehavior=true&serverTimezone=Asia/Shanghai&allowMultiQueries=true&serverTimezone=GMT%2B8
-
SPRING_DATASOURCE_DRIVER-CLASS-NAME=com.mysql.jdbc.Driver
-
SPRING_DATASOURCE_DEFAULTSCHEMA=a_LAB01_d23cc850e
-
NACOS=172.16.240.140:8848
deploy
:
resources
:
limits
:
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录