Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
T
TrainSys
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
苏州培训方案
TrainSys
提交
e4ed6d8c
提交
e4ed6d8c
编写于
10月 23, 2023
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
tony001 部署微服务应用 [TrainSys,Mob]
上级
ae774b71
变更
12
显示空白字符变更
内嵌
并排
正在显示
12 个修改的文件
包含
1161 行增加
和
484 行删除
+1161
-484
package.json
app_Mob/package.json
+16
-16
pnpm-lock.yaml
app_Mob/pnpm-lock.yaml
+1042
-414
pinia.system.prod.js
app_Mob/public/extras/js/pinia/2.1.7/pinia.system.prod.js
+6
-0
system-import.json
app_Mob/public/extras/json/system-import.json
+1
-1
App.tsx
app_Mob/src/App.tsx
+6
-2
create-vue-app.ts
app_Mob/src/create-vue-app.ts
+9
-2
main.ts
app_Mob/src/main.ts
+1
-0
swarm.yaml
app_Mob/swarm.yaml
+1
-1
config.xml
config.xml
+30
-0
PSSYSAPP.json
...ces/model/cn/ibizlab/trainsys/PSSYSAPPS/Mob/PSSYSAPP.json
+1
-0
PSSYSAPP.json
.../ibizlab/trainsys/PSSYSAPPS/TemplatePublish/PSSYSAPP.json
+4
-4
PSSYSAPP.json
...ces/model/cn/ibizlab/trainsys/PSSYSAPPS/Web/PSSYSAPP.json
+44
-44
未找到文件。
app_Mob/package.json
浏览文件 @
e4ed6d8c
...
@@ -11,13 +11,13 @@
...
@@ -11,13 +11,13 @@
},
},
"dependencies"
:
{
"dependencies"
:
{
"@ibiz-template-package/vs-tree-ex"
:
"^0.1.1"
,
"@ibiz-template-package/vs-tree-ex"
:
"^0.1.1"
,
"@ibiz-template/core"
:
"0.
1.36
"
,
"@ibiz-template/core"
:
"0.
2.0
"
,
"@ibiz-template/mob-theme"
:
"^0.2.
4
"
,
"@ibiz-template/mob-theme"
:
"^0.2.
5
"
,
"@ibiz-template/mob-vue3-components"
:
"0.0.1-alpha.1
5
"
,
"@ibiz-template/mob-vue3-components"
:
"0.0.1-alpha.1
6
"
,
"@ibiz-template/model-helper"
:
"0.
1.37
"
,
"@ibiz-template/model-helper"
:
"0.
2.0
"
,
"@ibiz-template/runtime"
:
"0.
1.37
"
,
"@ibiz-template/runtime"
:
"0.
2.0
"
,
"@ibiz-template/theme"
:
"0.
1.24
"
,
"@ibiz-template/theme"
:
"0.
2.0
"
,
"@ibiz-template/vue3-util"
:
"0.
1.37
"
,
"@ibiz-template/vue3-util"
:
"0.
2.0
"
,
"@ibiz/model-core"
:
"^0.0.19"
,
"@ibiz/model-core"
:
"^0.0.19"
,
"async-validator"
:
"^4.2.5"
,
"async-validator"
:
"^4.2.5"
,
"dayjs"
:
"^1.11.10"
,
"dayjs"
:
"^1.11.10"
,
...
@@ -29,19 +29,19 @@
...
@@ -29,19 +29,19 @@
"qx-util"
:
"^0.4.8"
,
"qx-util"
:
"^0.4.8"
,
"ramda"
:
"^0.29.1"
,
"ramda"
:
"^0.29.1"
,
"vant"
:
"^4.7.2"
,
"vant"
:
"^4.7.2"
,
"vue"
:
"^3.3.
4
"
,
"vue"
:
"^3.3.
6
"
,
"vue-i18n"
:
"^9.5.0"
,
"vue-i18n"
:
"^9.5.0"
,
"vue-router"
:
"^4.2.5"
"vue-router"
:
"^4.2.5"
},
},
"devDependencies"
:
{
"devDependencies"
:
{
"@commitlint/cli"
:
"^1
7.8
.0"
,
"@commitlint/cli"
:
"^1
8.0
.0"
,
"@commitlint/config-conventional"
:
"^1
7.8
.0"
,
"@commitlint/config-conventional"
:
"^1
8.0
.0"
,
"@types/jest"
:
"^29.5.6"
,
"@types/jest"
:
"^29.5.6"
,
"@types/lodash-es"
:
"^4.17.10"
,
"@types/lodash-es"
:
"^4.17.10"
,
"@types/node"
:
"^20.8.7"
,
"@types/node"
:
"^20.8.7"
,
"@types/qs"
:
"^6.9.9"
,
"@types/qs"
:
"^6.9.9"
,
"@types/ramda"
:
"^0.29.
6
"
,
"@types/ramda"
:
"^0.29.
7
"
,
"@types/systemjs"
:
"^6.13.
3
"
,
"@types/systemjs"
:
"^6.13.
4
"
,
"@typescript-eslint/eslint-plugin"
:
"^6.8.0"
,
"@typescript-eslint/eslint-plugin"
:
"^6.8.0"
,
"@typescript-eslint/parser"
:
"^6.8.0"
,
"@typescript-eslint/parser"
:
"^6.8.0"
,
"@vitejs/plugin-legacy"
:
"^4.1.1"
,
"@vitejs/plugin-legacy"
:
"^4.1.1"
,
...
@@ -50,16 +50,16 @@
...
@@ -50,16 +50,16 @@
"@vue/babel-helper-vue-jsx-merge-props"
:
"^1.4.0"
,
"@vue/babel-helper-vue-jsx-merge-props"
:
"^1.4.0"
,
"@vue/eslint-config-typescript"
:
"^12.0.0"
,
"@vue/eslint-config-typescript"
:
"^12.0.0"
,
"cpy"
:
"8.1.2"
,
"cpy"
:
"8.1.2"
,
"eslint"
:
"^8.5
1
.0"
,
"eslint"
:
"^8.5
2
.0"
,
"eslint-config-airbnb-base"
:
"^15.0.0"
,
"eslint-config-airbnb-base"
:
"^15.0.0"
,
"eslint-config-prettier"
:
"^9.0.0"
,
"eslint-config-prettier"
:
"^9.0.0"
,
"eslint-plugin-import"
:
"^2.2
8.1
"
,
"eslint-plugin-import"
:
"^2.2
9.0
"
,
"eslint-plugin-prettier"
:
"^5.0.1"
,
"eslint-plugin-prettier"
:
"^5.0.1"
,
"eslint-plugin-unused-imports"
:
"^3.0.0"
,
"eslint-plugin-unused-imports"
:
"^3.0.0"
,
"eslint-plugin-vue"
:
"^9.17.0"
,
"eslint-plugin-vue"
:
"^9.17.0"
,
"husky"
:
"^8.0.3"
,
"husky"
:
"^8.0.3"
,
"jsdom"
:
"^22.1.0"
,
"jsdom"
:
"^22.1.0"
,
"lint-staged"
:
"^15.0.
1
"
,
"lint-staged"
:
"^15.0.
2
"
,
"postcss"
:
"^8.4.31"
,
"postcss"
:
"^8.4.31"
,
"postcss-scss"
:
"^4.0.9"
,
"postcss-scss"
:
"^4.0.9"
,
"prettier"
:
"^3.0.3"
,
"prettier"
:
"^3.0.3"
,
...
@@ -77,7 +77,7 @@
...
@@ -77,7 +77,7 @@
"vite"
:
"^4.5.0"
,
"vite"
:
"^4.5.0"
,
"vite-plugin-eslint"
:
"^1.8.1"
,
"vite-plugin-eslint"
:
"^1.8.1"
,
"vue-eslint-parser"
:
"^9.3.2"
,
"vue-eslint-parser"
:
"^9.3.2"
,
"vue-tsc"
:
"^1.8.
19
"
"vue-tsc"
:
"^1.8.
20
"
},
},
"lint-staged"
:
{
"lint-staged"
:
{
"*.{ts,vue}"
:
"eslint --fix"
,
"*.{ts,vue}"
:
"eslint --fix"
,
...
...
app_Mob/pnpm-lock.yaml
浏览文件 @
e4ed6d8c
因为 它太大了无法显示 源差异 。您可以改为
查看blob
。
app_Mob/public/extras/js/pinia/2.1.7/pinia.system.prod.js
0 → 100644
浏览文件 @
e4ed6d8c
/*!
* pinia v2.1.7
* (c) 2023 Eduardo San Martin Morote
* @license MIT
*/
System
.
register
([
"vue"
],(
function
(
t
){
"use strict"
;
var
e
,
n
,
i
,
o
,
s
,
r
,
c
,
a
,
u
,
p
,
f
,
h
,
l
,
d
,
y
,
$
;
return
{
setters
:[
function
(
t
){
e
=
t
.
hasInjectionContext
,
n
=
t
.
inject
,
i
=
t
.
effectScope
,
o
=
t
.
ref
,
s
=
t
.
markRaw
,
r
=
t
.
getCurrentScope
,
c
=
t
.
onScopeDispose
,
a
=
t
.
watch
,
u
=
t
.
reactive
,
p
=
t
.
isRef
,
f
=
t
.
isReactive
,
h
=
t
.
toRaw
,
l
=
t
.
nextTick
,
d
=
t
.
toRefs
,
y
=
t
.
computed
,
$
=
t
.
toRef
}],
execute
:
function
(){
t
({
acceptHMRUpdate
:
function
(
t
,
e
){
return
()
=>
{}},
createPinia
:
function
(){
const
t
=
i
(
!
0
),
e
=
t
.
run
((()
=>
o
({})));
let
n
=
[],
r
=
[];
const
c
=
s
({
install
(
t
){
_
(
c
),
c
.
_a
=
t
,
t
.
provide
(
j
,
c
),
t
.
config
.
globalProperties
.
$pinia
=
c
,
r
.
forEach
((
t
=>
n
.
push
(
t
))),
r
=
[]},
use
(
t
){
return
this
.
_a
||
v
?
n
.
push
(
t
):
r
.
push
(
t
),
this
},
_p
:
n
,
_a
:
null
,
_e
:
t
,
_s
:
new
Map
,
state
:
e
});
return
c
},
defineStore
:
function
(
t
,
i
,
o
){
let
r
,
c
;
const
a
=
"function"
==
typeof
i
;
"string"
==
typeof
t
?(
r
=
t
,
c
=
a
?
o
:
i
):(
c
=
t
,
r
=
t
.
id
);
function
u
(
t
,
o
){
const
u
=
e
();(
t
=
t
||
(
u
?
n
(
j
,
null
):
null
))
&&
_
(
t
),(
t
=
b
).
_s
.
has
(
r
)
||
(
a
?
M
(
r
,
i
,
c
,
t
):
function
(
t
,
e
,
n
,
i
){
const
{
state
:
o
,
actions
:
r
,
getters
:
c
}
=
e
,
a
=
n
.
state
.
value
[
t
];
let
u
;
function
p
(){
a
||
(
n
.
state
.
value
[
t
]
=
o
?
o
():{});
const
e
=
d
(
n
.
state
.
value
[
t
]);
return
x
(
e
,
r
,
Object
.
keys
(
c
||
{}).
reduce
(((
e
,
i
)
=>
(
e
[
i
]
=
s
(
y
((()
=>
{
_
(
n
);
const
e
=
n
.
_s
.
get
(
t
);
return
c
[
i
].
call
(
e
,
e
)}))),
e
)),{}))}
u
=
M
(
t
,
p
,
e
,
n
,
i
,
!
0
)}(
r
,
c
,
t
));
return
t
.
_s
.
get
(
r
)}
return
u
.
$id
=
r
,
u
},
mapActions
:
function
(
t
,
e
){
return
Array
.
isArray
(
e
)?
e
.
reduce
(((
e
,
n
)
=>
(
e
[
n
]
=
function
(...
e
){
return
t
(
this
.
$pinia
)[
n
](...
e
)},
e
)),{}):
Object
.
keys
(
e
).
reduce
(((
n
,
i
)
=>
(
n
[
i
]
=
function
(...
n
){
return
t
(
this
.
$pinia
)[
e
[
i
]](...
n
)},
n
)),{})},
mapState
:
C
,
mapStores
:
function
(...
t
){
return
t
.
reduce
(((
t
,
e
)
=>
(
t
[
e
.
$id
+
E
]
=
function
(){
return
e
(
this
.
$pinia
)},
t
)),{})},
mapWritableState
:
function
(
t
,
e
){
return
Array
.
isArray
(
e
)?
e
.
reduce
(((
e
,
n
)
=>
(
e
[
n
]
=
{
get
(){
return
t
(
this
.
$pinia
)[
n
]},
set
(
e
){
return
t
(
this
.
$pinia
)[
n
]
=
e
}},
e
)),{}):
Object
.
keys
(
e
).
reduce
(((
n
,
i
)
=>
(
n
[
i
]
=
{
get
(){
return
t
(
this
.
$pinia
)[
e
[
i
]]},
set
(
n
){
return
t
(
this
.
$pinia
)[
e
[
i
]]
=
n
}},
n
)),{})},
setMapStoreSuffix
:
function
(
t
){
E
=
t
},
skipHydrate
:
function
(
t
){
return
Object
.
defineProperty
(
t
,
k
,{})},
storeToRefs
:
function
(
t
){{
t
=
h
(
t
);
const
e
=
{};
for
(
const
n
in
t
){
const
i
=
t
[
n
];(
p
(
i
)
||
f
(
i
))
&&
(
e
[
n
]
=
$
(
t
,
n
))}
return
e
}}});
var
v
=!
1
;
let
b
;
const
_
=
t
(
"setActivePinia"
,(
t
=>
b
=
t
)),
j
=
(
t
(
"getActivePinia"
,(()
=>
e
()
&&
n
(
j
)
||
b
)),
Symbol
());
function
S
(
t
){
return
t
&&
"object"
==
typeof
t
&&
"[object Object]"
===
Object
.
prototype
.
toString
.
call
(
t
)
&&
"function"
!=
typeof
t
.
toJSON
}
var
g
;
t
(
"MutationType"
,
g
),
function
(
t
){
t
.
direct
=
"direct"
,
t
.
patchObject
=
"patch object"
,
t
.
patchFunction
=
"patch function"
}(
g
||
t
(
"MutationType"
,
g
=
{}));
const
O
=
"undefined"
!=
typeof
window
;
const
m
=
()
=>
{};
function
P
(
t
,
e
,
n
,
i
=
m
){
t
.
push
(
e
);
const
o
=
()
=>
{
const
n
=
t
.
indexOf
(
e
);
n
>-
1
&&
(
t
.
splice
(
n
,
1
),
i
())};
return
!
n
&&
r
()
&&
c
(
o
),
o
}
function
A
(
t
,...
e
){
t
.
slice
().
forEach
((
t
=>
{
t
(...
e
)}))}
const
w
=
t
=>
t
();
function
R
(
t
,
e
){
t
instanceof
Map
&&
e
instanceof
Map
&&
e
.
forEach
(((
e
,
n
)
=>
t
.
set
(
n
,
e
))),
t
instanceof
Set
&&
e
instanceof
Set
&&
e
.
forEach
(
t
.
add
,
t
);
for
(
const
n
in
e
){
if
(
!
e
.
hasOwnProperty
(
n
))
continue
;
const
i
=
e
[
n
],
o
=
t
[
n
];
t
[
n
]
=
S
(
o
)
&&
S
(
i
)
&&
t
.
hasOwnProperty
(
n
)
&&!
p
(
i
)
&&!
f
(
i
)?
R
(
o
,
i
):
i
}
return
t
}
const
k
=
Symbol
();
const
{
assign
:
x
}
=
Object
;
function
M
(
t
,
e
,
n
=
{},
s
,
r
,
c
){
let
d
;
const
y
=
x
({
actions
:{}},
n
),
$
=
{
deep
:
!
0
};
let
v
,
b
,
j
,
O
=
[],
M
=
[];
const
E
=
s
.
state
.
value
[
t
];
let
C
;
function
I
(
e
){
let
n
;
v
=
b
=!
1
,
"function"
==
typeof
e
?(
e
(
s
.
state
.
value
[
t
]),
n
=
{
type
:
g
.
patchFunction
,
storeId
:
t
,
events
:
j
}):(
R
(
s
.
state
.
value
[
t
],
e
),
n
=
{
type
:
g
.
patchObject
,
payload
:
e
,
storeId
:
t
,
events
:
j
});
const
i
=
C
=
Symbol
();
l
().
then
((()
=>
{
C
===
i
&&
(
v
=!
0
)})),
b
=!
0
,
A
(
O
,
n
,
s
.
state
.
value
[
t
])}
c
||
E
||
(
s
.
state
.
value
[
t
]
=
{}),
o
({});
const
T
=
c
?
function
(){
const
{
state
:
t
}
=
n
,
e
=
t
?
t
():{};
this
.
$patch
((
t
=>
{
x
(
t
,
e
)}))}:
m
;
function
F
(
e
,
n
){
return
function
(){
_
(
s
);
const
i
=
Array
.
from
(
arguments
),
o
=
[],
r
=
[];
let
c
;
A
(
M
,{
args
:
i
,
name
:
e
,
store
:
W
,
after
:
function
(
t
){
o
.
push
(
t
)},
onError
:
function
(
t
){
r
.
push
(
t
)}});
try
{
c
=
n
.
apply
(
this
&&
this
.
$id
===
t
?
this
:
W
,
i
)}
catch
(
t
){
throw
A
(
r
,
t
),
t
}
return
c
instanceof
Promise
?
c
.
then
((
t
=>
(
A
(
o
,
t
),
t
))).
catch
((
t
=>
(
A
(
r
,
t
),
Promise
.
reject
(
t
)))):(
A
(
o
,
c
),
c
)}}
const
H
=
{
_p
:
s
,
$id
:
t
,
$onAction
:
P
.
bind
(
null
,
M
),
$patch
:
I
,
$reset
:
T
,
$subscribe
(
e
,
n
=
{}){
const
i
=
P
(
O
,
e
,
n
.
detached
,(()
=>
o
())),
o
=
d
.
run
((()
=>
a
((()
=>
s
.
state
.
value
[
t
]),(
i
=>
{(
"sync"
===
n
.
flush
?
b
:
v
)
&&
e
({
storeId
:
t
,
type
:
g
.
direct
,
events
:
j
},
i
)}),
x
({},
$
,
n
))));
return
i
},
$dispose
:
function
(){
d
.
stop
(),
O
=
[],
M
=
[],
s
.
_s
.
delete
(
t
)}},
W
=
u
(
H
);
s
.
_s
.
set
(
t
,
W
);
const
D
=
(
s
.
_a
&&
s
.
_a
.
runWithContext
||
w
)((()
=>
s
.
_e
.
run
((()
=>
(
d
=
i
()).
run
(
e
)))));
for
(
const
e
in
D
){
const
n
=
D
[
e
];
if
(
p
(
n
)
&&
(
!
p
(
J
=
n
)
||!
J
.
effect
)
||
f
(
n
))
c
||
(
!
E
||
S
(
G
=
n
)
&&
G
.
hasOwnProperty
(
k
)
||
(
p
(
n
)?
n
.
value
=
E
[
e
]:
R
(
n
,
E
[
e
])),
s
.
state
.
value
[
t
][
e
]
=
n
);
else
if
(
"function"
==
typeof
n
){
const
t
=
F
(
e
,
n
);
D
[
e
]
=
t
,
y
.
actions
[
e
]
=
n
}}
var
G
,
J
;
return
x
(
W
,
D
),
x
(
h
(
W
),
D
),
Object
.
defineProperty
(
W
,
"$state"
,{
get
:()
=>
s
.
state
.
value
[
t
],
set
:
t
=>
{
I
((
e
=>
{
x
(
e
,
t
)}))}}),
s
.
_p
.
forEach
((
t
=>
{
x
(
W
,
d
.
run
((()
=>
t
({
store
:
W
,
app
:
s
.
_a
,
pinia
:
s
,
options
:
y
}))))})),
E
&&
c
&&
n
.
hydrate
&&
n
.
hydrate
(
W
.
$state
,
E
),
v
=!
0
,
b
=!
0
,
W
}
let
E
=
"Store"
;
function
C
(
t
,
e
){
return
Array
.
isArray
(
e
)?
e
.
reduce
(((
e
,
n
)
=>
(
e
[
n
]
=
function
(){
return
t
(
this
.
$pinia
)[
n
]},
e
)),{}):
Object
.
keys
(
e
).
reduce
(((
n
,
i
)
=>
(
n
[
i
]
=
function
(){
const
n
=
t
(
this
.
$pinia
),
o
=
e
[
i
];
return
"function"
==
typeof
o
?
o
.
call
(
this
,
n
):
n
[
o
]},
n
)),{})}
t
(
"mapGetters"
,
C
);
t
(
"PiniaVuePlugin"
,(
function
(
t
){
t
.
mixin
({
beforeCreate
(){
const
t
=
this
.
$options
;
if
(
t
.
pinia
){
const
e
=
t
.
pinia
;
if
(
!
this
.
_provided
){
const
t
=
{};
Object
.
defineProperty
(
this
,
"_provided"
,{
get
:()
=>
t
,
set
:
e
=>
Object
.
assign
(
t
,
e
)})}
this
.
_provided
[
j
]
=
e
,
this
.
$pinia
||
(
this
.
$pinia
=
e
),
e
.
_a
=
this
,
O
&&
_
(
e
)}
else
!
this
.
$pinia
&&
t
.
parent
&&
t
.
parent
.
$pinia
&&
(
this
.
$pinia
=
t
.
parent
.
$pinia
)},
destroyed
(){
delete
this
.
_pStores
}})}))}}}));
app_Mob/public/extras/json/system-import.json
浏览文件 @
e4ed6d8c
...
@@ -18,7 +18,7 @@
...
@@ -18,7 +18,7 @@
"lodash-es"
:
"../js/lodash/4.17.21/lodash.min.js"
,
"lodash-es"
:
"../js/lodash/4.17.21/lodash.min.js"
,
"qx-util"
:
"../js/qx-util/0.4.8/qx-util.umd.js"
,
"qx-util"
:
"../js/qx-util/0.4.8/qx-util.umd.js"
,
"vuedraggable"
:
"../js/vuedraggable/4.1.0/vuedraggable.umd.min.js"
,
"vuedraggable"
:
"../js/vuedraggable/4.1.0/vuedraggable.umd.min.js"
,
"pinia"
:
"../js/pinia/2.1.
6
/pinia.system.prod.js"
,
"pinia"
:
"../js/pinia/2.1.
7
/pinia.system.prod.js"
,
"cherry-markdown"
:
"../js/cherry-markdown/0.8.26/cherry-markdown.system.min.js"
,
"cherry-markdown"
:
"../js/cherry-markdown/0.8.26/cherry-markdown.system.min.js"
,
"path-browserify"
:
"../js/path-browserify/1.0.1/index.system.min.js"
,
"path-browserify"
:
"../js/path-browserify/1.0.1/index.system.min.js"
,
"@ibiz-template-package/vs-tree-ex"
:
"../js/@ibiz-template-package/vs-tree-ex/0.1.1/vs-tree.system.js"
,
"@ibiz-template-package/vs-tree-ex"
:
"../js/@ibiz-template-package/vs-tree-ex/0.1.1/vs-tree.system.js"
,
...
...
app_Mob/src/App.tsx
浏览文件 @
e4ed6d8c
import
{
useViewStack
}
from
'@ibiz-template/mob-vue3-components'
;
import
{
useViewStack
,
routerCallback
,
}
from
'@ibiz-template/mob-vue3-components'
;
import
{
Modal
,
ViewMode
}
from
'@ibiz-template/runtime'
;
import
{
Modal
,
ViewMode
}
from
'@ibiz-template/runtime'
;
import
{
defineComponent
,
onUnmounted
,
ref
}
from
'vue'
;
import
{
defineComponent
,
onUnmounted
,
ref
}
from
'vue'
;
import
'./App.scss'
;
import
'./App.scss'
;
...
@@ -27,7 +30,8 @@ export default defineComponent({
...
@@ -27,7 +30,8 @@ export default defineComponent({
mode
:
ViewMode
.
ROUTE
,
mode
:
ViewMode
.
ROUTE
,
viewUsage
:
1
,
viewUsage
:
1
,
routeDepth
:
1
,
routeDepth
:
1
,
dismiss
:
()
=>
{
dismiss
:
modal
=>
{
routerCallback
.
close
(
key
,
modal
);
goBack
();
goBack
();
viewModals
.
delete
(
key
);
viewModals
.
delete
(
key
);
},
},
...
...
app_Mob/src/create-vue-app.ts
浏览文件 @
e4ed6d8c
import
{
App
,
Component
,
createApp
}
from
'vue'
;
import
{
App
,
Component
,
createApp
}
from
'vue'
;
import
MobVue3Components
,
{
import
MobVue3Components
,
{
i18n
,
loadingDirective
,
piniaInstance
,
piniaInstance
,
}
from
'@ibiz-template/mob-vue3-components'
;
}
from
'@ibiz-template/mob-vue3-components'
;
import
Vant
,
{
allowMultipleToast
}
from
'vant'
;
import
Vant
,
{
allowMultipleToast
}
from
'vant'
;
...
@@ -23,10 +25,15 @@ export function createVueApp(
...
@@ -23,10 +25,15 @@ export function createVueApp(
rootProps
?:
IData
,
rootProps
?:
IData
,
):
App
<
Element
>
{
):
App
<
Element
>
{
const
app
=
createApp
(
rootComponent
,
rootProps
);
const
app
=
createApp
(
rootComponent
,
rootProps
);
// 全局 Vue 异常处理
app
.
config
.
errorHandler
=
function
(
err
:
unknown
):
void
{
ibiz
.
util
.
error
.
handle
(
err
);
};
app
.
use
(
i18n
);
app
.
use
(
Vant
).
use
(
piniaInstance
).
use
(
MobVue3Components
).
use
(
UserRegister
);
app
.
use
(
Vant
).
use
(
piniaInstance
).
use
(
MobVue3Components
).
use
(
UserRegister
);
ibiz
.
plugin
.
register
(
app
);
ibiz
.
plugin
.
register
(
app
);
// loading指令
app
.
directive
(
'loading'
,
loadingDirective
);
return
app
;
return
app
;
}
}
app_Mob/src/main.ts
浏览文件 @
e4ed6d8c
...
@@ -67,6 +67,7 @@ async function createApp(): Promise<void> {
...
@@ -67,6 +67,7 @@ async function createApp(): Promise<void> {
installDefaultViewLayout
((
key
,
model
)
=>
{
installDefaultViewLayout
((
key
,
model
)
=>
{
ibiz
.
util
.
layoutPanel
.
register
(
key
,
model
);
ibiz
.
util
.
layoutPanel
.
register
(
key
,
model
);
});
});
await
ibiz
.
i18n
.
init
();
app
.
mount
(
'#app'
);
app
.
mount
(
'#app'
);
}
}
...
...
app_Mob/swarm.yaml
浏览文件 @
e4ed6d8c
...
@@ -3,7 +3,7 @@ services:
...
@@ -3,7 +3,7 @@ services:
trainsys-app-mob
:
trainsys-app-mob
:
image
:
dstimage
image
:
dstimage
ports
:
ports
:
-
"
8
0:80"
-
"
5020
0:80"
networks
:
networks
:
-
agent_network
-
agent_network
environment
:
environment
:
...
...
config.xml
浏览文件 @
e4ed6d8c
...
@@ -55,6 +55,36 @@
...
@@ -55,6 +55,36 @@
git clone -b master $para2 trainsys/
git clone -b master $para2 trainsys/
export NODE_OPTIONS=--max-old-space-size=4096
export NODE_OPTIONS=--max-old-space-size=4096
cd trainsys/
cd trainsys/
mkdir -p /var/lib/jenkins/appcache/64777BB9-78E2-44DD-AEF6-FF87AC45C1D5
if [ -e app_Mob/.dynamic ]
then
cd app_Mob
else
cd app_Mob/app
fi
sed -i "s#dstimage#$para5#g" swarm.yaml
if [[ $para3 = all ]];then
mv Dockerfile-ALL Dockerfile
set +e
sed -i "s#/api#/sztrainsys__mob#g" src/environments/environment.ts
sed -i "s#outputDir#//outputDir#g" vue.config.js
set -e
yarn
ln -s /var/lib/jenkins/appcache/64777BB9-78E2-44DD-AEF6-FF87AC45C1D5 node_modules/.cache
yarn build
else
if [ -e .dynamic ]
then
mv ../trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSSYSAPPS/Mob model
else
mv ../../trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSSYSAPPS/Mob model
fi
sed -i "s#srcimagename#$para4#g" Dockerfile-MODEL
mv Dockerfile-MODEL Dockerfile
fi
docker build -t $para5 .
docker push $para5
docker -H $para1 stack deploy --compose-file=swarm.yaml ebsx --with-registry-auth
</command>
</command>
</hudson.tasks.Shell>
</hudson.tasks.Shell>
</builders>
</builders>
...
...
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSSYSAPPS/Mob/PSSYSAPP.json
浏览文件 @
e4ed6d8c
...
@@ -139,6 +139,7 @@
...
@@ -139,6 +139,7 @@
"codeListTag" : "Test__TestAll",
"codeListTag" : "Test__TestAll",
"codeListType" : "DYNAMIC",
"codeListType" : "DYNAMIC",
"codeName" : "TestAll",
"codeName" : "TestAll",
"customCond" : "{N_TESTNAME_LIKE: \"1\", navParam: \"%srfpersonname%\", size: \"%size%\"}",
"dynaInstMode" : 0,
"dynaInstMode" : 0,
"dynaModelFilePath" : "PSSYSAPPS/Mob/PSAPPCODELISTS/TestAll.json",
"dynaModelFilePath" : "PSSYSAPPS/Mob/PSAPPCODELISTS/TestAll.json",
"emptyText" : "未定义",
"emptyText" : "未定义",
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSSYSAPPS/TemplatePublish/PSSYSAPP.json
浏览文件 @
e4ed6d8c
...
@@ -1432,16 +1432,16 @@
...
@@ -1432,16 +1432,16 @@
"codeName"
:
"VMGroup2"
,
"codeName"
:
"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
"
}
}
}
]
}
]
},
{
},
{
...
...
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSSYSAPPS/Web/PSSYSAPP.json
浏览文件 @
e4ed6d8c
...
@@ -9776,16 +9776,16 @@
...
@@ -9776,16 +9776,16 @@
"codeName" : "VMGroup2",
"codeName" : "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
"
}
}
} ]
} ]
}, {
}, {
...
@@ -9814,12 +9814,6 @@
...
@@ -9814,12 +9814,6 @@
"codeName" : "VMGroup3",
"codeName" : "VMGroup3",
"name" : "视图消息类型测试",
"name" : "视图消息类型测试",
"getPSAppViewMsgGroupDetails" : [ {
"getPSAppViewMsgGroupDetails" : [ {
"name" : "消息类型-常规信息",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg4"
}
}, {
"name" : "消息类型-警告信息",
"name" : "消息类型-警告信息",
"getPSAppViewMsg" : {
"getPSAppViewMsg" : {
"modelref" : true,
"modelref" : true,
...
@@ -9831,6 +9825,12 @@
...
@@ -9831,6 +9825,12 @@
"modelref" : true,
"modelref" : true,
"id" : "ViewMsg6"
"id" : "ViewMsg6"
}
}
}, {
"name" : "消息类型-常规信息",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg4"
}
} ]
} ]
}, {
}, {
"codeName" : "VMGroup7",
"codeName" : "VMGroup7",
...
@@ -9851,12 +9851,6 @@
...
@@ -9851,12 +9851,6 @@
"modelref" : true,
"modelref" : true,
"id" : "ViewMsg7"
"id" : "ViewMsg7"
}
}
}, {
"name" : "消息位置-视图内容区",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg9"
}
}, {
}, {
"name" : "消息位置-视图下方",
"name" : "消息位置-视图下方",
"getPSAppViewMsg" : {
"getPSAppViewMsg" : {
...
@@ -9869,31 +9863,17 @@
...
@@ -9869,31 +9863,17 @@
"modelref" : true,
"modelref" : true,
"id" : "ViewMsg10"
"id" : "ViewMsg10"
}
}
} ]
}, {
"codeName" : "VMGroup8",
"name" : "【静态测试】",
"getPSAppViewMsgGroupDetails" : [ {
"name" : "消息类型-警告信息",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg5"
},
"position" : "POPUP"
}, {
"name" : "消息类型-常规信息",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg4"
},
"position" : "POPUP"
}, {
}, {
"name" : "
关闭模式-无删除-上方-常规
",
"name" : "
消息位置-视图内容区
",
"getPSAppViewMsg" : {
"getPSAppViewMsg" : {
"modelref" : true,
"modelref" : true,
"id" : "ViewMsg
11
"
"id" : "ViewMsg
9
"
}
}
} ]
}, {
}, {
"codeName" : "VMGroup8",
"name" : "【静态测试】",
"getPSAppViewMsgGroupDetails" : [ {
"name" : "消息位置-视图内容区",
"name" : "消息位置-视图内容区",
"getPSAppViewMsg" : {
"getPSAppViewMsg" : {
"modelref" : true,
"modelref" : true,
...
@@ -9905,12 +9885,26 @@
...
@@ -9905,12 +9885,26 @@
"modelref" : true,
"modelref" : true,
"id" : "ViewMsg12"
"id" : "ViewMsg12"
}
}
}, {
"name" : "消息类型-警告信息",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg5"
},
"position" : "POPUP"
}, {
}, {
"name" : "关闭模式-本次删除-上方-警告",
"name" : "关闭模式-本次删除-上方-警告",
"getPSAppViewMsg" : {
"getPSAppViewMsg" : {
"modelref" : true,
"modelref" : true,
"id" : "ViewMsg13"
"id" : "ViewMsg13"
}
}
}, {
"name" : "消息类型-错误信息",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg6"
},
"position" : "POPUP"
}, {
}, {
"name" : "消息位置-视图下方",
"name" : "消息位置-视图下方",
"getPSAppViewMsg" : {
"getPSAppViewMsg" : {
...
@@ -9918,23 +9912,23 @@
...
@@ -9918,23 +9912,23 @@
"id" : "ViewMsg8"
"id" : "ViewMsg8"
}
}
}, {
}, {
"name" : "消息类型-
错误
信息",
"name" : "消息类型-
常规
信息",
"getPSAppViewMsg" : {
"getPSAppViewMsg" : {
"modelref" : true,
"modelref" : true,
"id" : "ViewMsg
6
"
"id" : "ViewMsg
4
"
},
},
"position" : "POPUP"
"position" : "POPUP"
} ]
}, {
}, {
"codeName" : "VMGroup5",
"name" : "关闭模式-无删除-上方-常规",
"name" : "视图消息关闭模式",
"getPSAppViewMsgGroupDetails" : [ {
"name" : "关闭模式-默认删除",
"getPSAppViewMsg" : {
"getPSAppViewMsg" : {
"modelref" : true,
"modelref" : true,
"id" : "ViewMsg1
2
"
"id" : "ViewMsg1
1
"
}
}
} ]
}, {
}, {
"codeName" : "VMGroup5",
"name" : "视图消息关闭模式",
"getPSAppViewMsgGroupDetails" : [ {
"name" : "关闭模式-本次删除",
"name" : "关闭模式-本次删除",
"getPSAppViewMsg" : {
"getPSAppViewMsg" : {
"modelref" : true,
"modelref" : true,
...
@@ -9946,6 +9940,12 @@
...
@@ -9946,6 +9940,12 @@
"modelref" : true,
"modelref" : true,
"id" : "ViewMsg11"
"id" : "ViewMsg11"
}
}
}, {
"name" : "关闭模式-默认删除",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg12"
}
} ]
} ]
}, {
}, {
"codeName" : "VMGroup6",
"codeName" : "VMGroup6",
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录