Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
功
功能演示系统
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
示例
功能演示系统
提交
c809b342
提交
c809b342
编写于
11月 15, 2022
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
tony001 发布系统代码 [后台服务,演示应用]
上级
31192118
变更
17
展开全部
隐藏空白字符变更
内嵌
并排
正在显示
17 个修改的文件
包含
356 行增加
和
162 行删除
+356
-162
redirect.svg
app_Web/public/assets/img/redirect.svg
+73
-0
redirect.svg
app_Web/src/assets/img/redirect.svg
+73
-0
app-message-popover.vue
...rc/components/app-message-popover/app-message-popover.vue
+17
-7
app-todo-list.vue
app_Web/src/components/app-todo-list/app-todo-list.vue
+16
-5
ibizsample0021-usr1114433946-wfdyna-edit-view-base.vue
...ew/ibizsample0021-usr1114433946-wfdyna-edit-view-base.vue
+1
-1
ibizsample0021-wfdyna-edit-view-base.vue
...wfdyna-edit-view/ibizsample0021-wfdyna-edit-view-base.vue
+1
-1
app-wfredirect-view-base.vue
.../ungroup/app-wfredirect-view/app-wfredirect-view-base.vue
+18
-12
app-wfredirect-view.less
...ages/ungroup/app-wfredirect-view/app-wfredirect-view.less
+18
-1
ui-service.ts
app_Web/src/uiservice/ui-service.ts
+42
-8
guide-return-form-form-base.vue
...ok/guide-return-form-form/guide-return-form-form-base.vue
+5
-5
guide-view-form-form-base.vue
...izbook/guide-view-form-form/guide-view-form-form-base.vue
+5
-5
usr2-dataview-base.vue
...src/widgets/ibizbook/usr2-dataview/usr2-dataview-base.vue
+26
-56
Usr.json
...SSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK/PSGANTTS/Usr.json
+20
-20
TreeTable.json
.../PSAPPDATAENTITIES/IBIZBOOK/PSTREEGRIDICES/TreeTable.json
+10
-10
IBIZBOOKGanttView.json
...temodel/PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKGanttView.json
+20
-20
IBIZBOOKTreeGridExView.json
...el/PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKTreeGridExView.json
+10
-10
h2_table.xml
demo-core/src/main/resources/liquibase/h2_table.xml
+1
-1
未找到文件。
app_Web/public/assets/img/redirect.svg
0 → 100644
浏览文件 @
c809b342
此差异已折叠。
点击以展开。
app_Web/src/assets/img/redirect.svg
0 → 100644
浏览文件 @
c809b342
此差异已折叠。
点击以展开。
app_Web/src/components/app-message-popover/app-message-popover.vue
浏览文件 @
c809b342
...
@@ -171,12 +171,22 @@ export default class AppMessagePopover extends Vue {
...
@@ -171,12 +171,22 @@ export default class AppMessagePopover extends Vue {
* 点击标签事件
* 点击标签事件
*/
*/
public
handleTag
(
data
:
any
)
{
public
handleTag
(
data
:
any
)
{
if
(
!
data
)
return
this
.
$message
.
error
(
"未获取到标签内容"
);
if
(
!
data
)
return
;
// 拼接要打开的窗口地址
const
baseUrl
:
any
=
Environment
.
BaseUrl
;
const
baseUrl
:
any
=
Environment
.
BaseUrl
;
this
.
$http
.
get
(
baseUrl
+
`/wfcore/mytasks/
${
data
.
processDefinitionKey
}
/web/
${
data
.
processInstanceBusinessKey
}
/usertasks/
${
data
.
taskDefinitionKey
}
`
).
then
((
response
:
any
)
=>
{
const
openUrl
:
any
=
baseUrl
+
`/wfcore/mytasks/
${
data
.
processDefinitionKey
}
/web/
${
data
.
processInstanceBusinessKey
}
/usertasks/
${
data
.
taskDefinitionKey
}
`
;
const
{
status
,
data
}
=
response
;
// 打开新窗口
if
(
status
&&
status
==
200
)
{
window
.
open
(
openUrl
,
'_blank'
);
const
url
=
data
.
substr
(
data
.
indexOf
(
"#"
)
+
1
);
const
indexPath
=
this
.
$viewTool
.
getIndexRoutePath
(
this
.
$route
);
this
.
$router
.
push
({
path
:
`
${
indexPath
}${
url
}
`
});
}
else
{
const
message
=
data
.
message
?
data
.
message
:
'跳转失败'
;
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
message
});
}
}).
catch
((
error
:
any
)
=>
{
const
message
=
error
.
message
?
error
.
message
:
'跳转失败'
;
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
message
});
})
}
}
/**
/**
...
@@ -223,5 +233,5 @@ export default class AppMessagePopover extends Vue {
...
@@ -223,5 +233,5 @@ export default class AppMessagePopover extends Vue {
</
script
>
</
script
>
<
style
lang=
'less'
>
<
style
lang=
'less'
>
@import "app-message-popover.less";
@import "app-message-popover.less";
</
style
>
</
style
>
\ No newline at end of file
app_Web/src/components/app-todo-list/app-todo-list.vue
浏览文件 @
c809b342
...
@@ -51,7 +51,8 @@ export default class AppTodoList extends Vue {
...
@@ -51,7 +51,8 @@ export default class AppTodoList extends Vue {
}
}
}
}
}).
catch
((
error
:
any
)
=>
{
}).
catch
((
error
:
any
)
=>
{
console
.
warn
(
"加载数据错误"
);
const
message
=
error
.
message
?
error
.
message
:
'加载数据错误'
;
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
message
});
})
})
}
}
...
@@ -61,11 +62,21 @@ export default class AppTodoList extends Vue {
...
@@ -61,11 +62,21 @@ export default class AppTodoList extends Vue {
*/
*/
public
handleClick
(
data
:
any
)
{
public
handleClick
(
data
:
any
)
{
if
(
!
data
)
return
;
if
(
!
data
)
return
;
// 拼接要打开的窗口地址
const
baseUrl
:
any
=
Environment
.
BaseUrl
;
const
baseUrl
:
any
=
Environment
.
BaseUrl
;
const
openUrl
:
any
=
baseUrl
+
`/wfcore/mytasks/
${
data
.
processDefinitionKey
}
/web/
${
data
.
processInstanceBusinessKey
}
/usertasks/
${
data
.
taskDefinitionKey
}
`
;
this
.
$http
.
get
(
baseUrl
+
`/wfcore/mytasks/
${
data
.
processDefinitionKey
}
/web/
${
data
.
processInstanceBusinessKey
}
/usertasks/
${
data
.
taskDefinitionKey
}
`
).
then
((
response
:
any
)
=>
{
// 打开新窗口
const
{
status
,
data
}
=
response
;
window
.
open
(
openUrl
,
'_blank'
);
if
(
status
&&
status
==
200
)
{
const
url
=
data
.
substr
(
data
.
indexOf
(
"#"
)
+
1
);
const
indexPath
=
this
.
$viewTool
.
getIndexRoutePath
(
this
.
$route
);
this
.
$router
.
push
({
path
:
`
${
indexPath
}${
url
}
`
});
}
else
{
const
message
=
data
.
message
?
data
.
message
:
'跳转失败'
;
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
message
});
}
}).
catch
((
error
:
any
)
=>
{
const
message
=
error
.
message
?
error
.
message
:
'跳转失败'
;
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
message
});
})
}
}
}
}
...
...
app_Web/src/pages/sample/ibizsample0021-usr1114433946-wfdyna-edit-view/ibizsample0021-usr1114433946-wfdyna-edit-view-base.vue
浏览文件 @
c809b342
...
@@ -785,7 +785,7 @@ export default class IBIZSample0021Usr1114433946WFDynaEditViewBase extends Vue {
...
@@ -785,7 +785,7 @@ export default class IBIZSample0021Usr1114433946WFDynaEditViewBase extends Vue {
*/
*/
public
getWFLinkModel
():
Promise
<
any
>
{
public
getWFLinkModel
():
Promise
<
any
>
{
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
let
datas
:
any
[]
=
[]
;
let
datas
:
{}
=
{}
;
if
(
Object
.
keys
(
this
.
viewparams
).
length
>
0
)
{
if
(
Object
.
keys
(
this
.
viewparams
).
length
>
0
)
{
Object
.
assign
(
datas
,
{
'processDefinitionKey'
:
this
.
viewparams
.
processDefinitionKey
});
Object
.
assign
(
datas
,
{
'processDefinitionKey'
:
this
.
viewparams
.
processDefinitionKey
});
Object
.
assign
(
datas
,
{
'taskDefinitionKey'
:
this
.
viewparams
.
taskDefinitionKey
||
this
.
viewparams
.
userTaskId
});
Object
.
assign
(
datas
,
{
'taskDefinitionKey'
:
this
.
viewparams
.
taskDefinitionKey
||
this
.
viewparams
.
userTaskId
});
...
...
app_Web/src/pages/sample/ibizsample0021-wfdyna-edit-view/ibizsample0021-wfdyna-edit-view-base.vue
浏览文件 @
c809b342
...
@@ -968,7 +968,7 @@ export default class IBIZSample0021WFDynaEditViewBase extends Vue {
...
@@ -968,7 +968,7 @@ export default class IBIZSample0021WFDynaEditViewBase extends Vue {
*/
*/
public
getWFLinkModel
():
Promise
<
any
>
{
public
getWFLinkModel
():
Promise
<
any
>
{
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
let
datas
:
any
[]
=
[]
;
let
datas
:
{}
=
{}
;
if
(
Object
.
keys
(
this
.
viewparams
).
length
>
0
)
{
if
(
Object
.
keys
(
this
.
viewparams
).
length
>
0
)
{
Object
.
assign
(
datas
,
{
'processDefinitionKey'
:
this
.
viewparams
.
processDefinitionKey
});
Object
.
assign
(
datas
,
{
'processDefinitionKey'
:
this
.
viewparams
.
processDefinitionKey
});
Object
.
assign
(
datas
,
{
'taskDefinitionKey'
:
this
.
viewparams
.
taskDefinitionKey
||
this
.
viewparams
.
userTaskId
});
Object
.
assign
(
datas
,
{
'taskDefinitionKey'
:
this
.
viewparams
.
taskDefinitionKey
||
this
.
viewparams
.
userTaskId
});
...
...
app_Web/src/pages/ungroup/app-wfredirect-view/app-wfredirect-view-base.vue
浏览文件 @
c809b342
<
template
>
<
template
>
<div
class=
"
app-wfredirect-view
app-wfredirect-view"
>
<div
class=
"
view-container
app-wfredirect-view"
>
<app-studioaction
:viewTitle=
"$t(model.srfCaption)"
viewName=
"appwfredirectview"
></app-studioaction>
<app-studioaction
:viewTitle=
"$t(model.srfCaption)"
viewName=
"appwfredirectview"
></app-studioaction>
<card
class=
'view-card '
:dis-hover=
"true"
:bordered=
"false"
>
<img
src=
"@/assets/img/redirect.svg"
/>
<div
class=
"context"
>
页面跳转中~
</div>
</card>
</div>
</div>
</
template
>
</
template
>
// 基于 @VIEW/@MACRO/VIEW-BASE.vue.ftl 生成
// 基于 @VIEW/@MACRO/VIEW-BASE.vue.ftl 生成
...
@@ -16,6 +20,7 @@ import { Subject,Subscription } from 'rxjs';
...
@@ -16,6 +20,7 @@ import { Subject,Subscription } from 'rxjs';
import
UIService
from
'@/uiservice/ui-service'
;
import
UIService
from
'@/uiservice/ui-service'
;
import
qs
from
'qs'
;
@
Component
({
@
Component
({
...
@@ -584,23 +589,24 @@ export default class AppWFRedirectViewBase extends Vue {
...
@@ -584,23 +589,24 @@ export default class AppWFRedirectViewBase extends Vue {
*/
*/
public
isEnableWorkflow
:
boolean
=
true
;
public
isEnableWorkflow
:
boolean
=
true
;
/**
/**
* 初始化视图
* 初始化视图
*
*
* @memberof AppWFRedirectViewBase
* @memberof AppWFRedirectViewBase
*/
*/
public
async
viewInit
(){
public
async
viewInit
(){
const
{
srfkey
:
srfkey
,
srfappde
:
srfappde
,
srfworklist
:
srfworklist
}
=
this
.
viewparams
;
let
{
srfappkey
,
srfappde
,
userTaskId
}
=
this
.
viewparams
;
const
uiService
:
UIService
=
new
UIService
();
const
uiService
:
UIService
=
new
UIService
();
const
targetService
:
any
=
await
uiService
.
getService
(
srfappde
.
toLowerCase
());
const
targetService
:
any
=
await
uiService
.
getService
(
srfappde
.
toLowerCase
());
targetService
.
getRDAppView
(
srfkey
,
this
.
isEnableWorkflow
).
then
((
res
:
any
)
=>
{
targetService
.
getRDAppView
(
srfappkey
,
this
.
isEnableWorkflow
).
then
((
res
:
any
)
=>
{
if
(
res
&&
res
.
viewname
&&
res
.
srfappde
){
if
(
res
&&
res
.
viewname
&&
res
.
srfappde
)
{
// ?worklist=${srfworklist}
const
indexPath
=
this
.
$viewTool
.
getIndexRoutePath
(
this
.
$route
);
console
.
log
(
'重定向之后的视图'
+
res
.
viewname
);
let
routePath
:
string
=
`
${
indexPath
}
/
${
res
.
srfappde
}
/
${
srfappkey
}
/
${
res
.
viewname
}
`
;
const
path
:
string
=
`/
${
res
.
srfappde
}
/
${
srfkey
}
/
${
res
.
viewname
}
`
;
if
(
userTaskId
)
{
this
.
$router
.
push
({
path
:
path
});
routePath
=
`
${
routePath
}
?
${
qs
.
stringify
({
taskDefinitionKey
:
userTaskId
},
{
delimiter
:
';'
})}
`
;
}
else
{
}
this
.
$router
.
push
({
path
:
routePath
});
}
else
{
console
.
error
(
"未查找到重定向视图"
)
console
.
error
(
"未查找到重定向视图"
)
}
}
})
})
...
...
app_Web/src/pages/ungroup/app-wfredirect-view/app-wfredirect-view.less
浏览文件 @
c809b342
...
@@ -5,5 +5,22 @@
...
@@ -5,5 +5,22 @@
.app-wfredirect-view{
.app-wfredirect-view{
width:100%;
width: 100%;
height: 100%;
.view-card {
.ivu-card-body {
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
.context {
padding-top: 26px;
margin-left: 1em;
font-size: 24px;
font-family: ui-monospace;
}
}
}
}
}
app_Web/src/uiservice/ui-service.ts
浏览文件 @
c809b342
...
@@ -13,18 +13,34 @@ export default class UIService {
...
@@ -13,18 +13,34 @@ export default class UIService {
/**
/**
* Vue 状态管理器
* Vue 状态管理器
*
*
* @pr
ivate
* @pr
otected
* @type {(any | null)}
* @type {(any | null)}
* @memberof UIService
* @memberof UIService
*/
*/
private
$store
:
Store
<
any
>
|
null
=
null
;
protected
$store
:
Store
<
any
>
|
null
=
null
;
/**
* 所有关联视图
*
* @memberof IBIZSample0021UIServiceBase
*/
protected
allViewMap
:
Map
<
string
,
Object
>
=
new
Map
();
/**
* 流程状态数组
*
* @protected
* @type {Array<string>}
* @memberof UIService
*/
protected
InWorkflowArray
:
Array
<
string
>
=
[
'todo'
,
'toread'
];
/**
/**
* 所依赖权限服务
* 所依赖权限服务
*
*
* @memberof UIService
* @memberof UIService
*/
*/
public
authService
:
any
;
public
authService
:
any
;
/**
/**
* Creates an instance of UIService.
* Creates an instance of UIService.
...
@@ -64,13 +80,31 @@ export default class UIService {
...
@@ -64,13 +80,31 @@ export default class UIService {
* @param tag 资源标识
* @param tag 资源标识
* @memberof UIService
* @memberof UIService
*/
*/
public
getResourceOPPrivs
(
tag
:
any
)
{
public
getResourceOPPrivs
(
tag
:
any
)
{
if
(
!
this
.
authService
)
{
if
(
!
this
.
authService
)
{
this
.
authService
=
new
AuthService
(
this
.
getStore
());
this
.
authService
=
new
AuthService
(
this
.
getStore
());
}
}
return
this
.
authService
.
getResourcePermission
(
this
.
authService
.
sysOPPrivsMap
.
get
(
tag
))?
1
:
0
;
return
this
.
authService
.
getResourcePermission
(
this
.
authService
.
sysOPPrivsMap
.
get
(
tag
))
?
1
:
0
;
}
}
/**
* 获取工作流视图
*
* @memberof UIService
*/
public
getWFView
()
{
let
result
=
this
.
allViewMap
.
get
(
"WFEDITVIEW:"
);
if
(
!
result
)
{
const
allViews
:
any
=
this
.
allViewMap
.
values
();
for
(
let
value
of
allViews
)
{
if
(
value
.
viewType
===
'DEWFDYNAEDITVIEW'
){
return
value
;
}
}
}
else
{
return
result
;
}
}
}
}
\ No newline at end of file
app_Web/src/widgets/ibizbook/guide-return-form-form/guide-return-form-form-base.vue
浏览文件 @
c809b342
...
@@ -1344,7 +1344,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
...
@@ -1344,7 +1344,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
*/
*/
public
async
load
(
opt
:
any
=
{}):
Promise
<
any
>
{
public
async
load
(
opt
:
any
=
{}):
Promise
<
any
>
{
if
(
!
this
.
loadAction
){
if
(
!
this
.
loadAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.loadaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.loadaction'
)
as
string
)
});
return
;
return
;
}
}
const
arg
:
any
=
{
...
opt
};
const
arg
:
any
=
{
...
opt
};
...
@@ -1391,7 +1391,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
...
@@ -1391,7 +1391,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
*/
*/
public
async
loadDraft
(
opt
:
any
=
{}):
Promise
<
any
>
{
public
async
loadDraft
(
opt
:
any
=
{}):
Promise
<
any
>
{
if
(
!
this
.
loaddraftAction
)
{
if
(
!
this
.
loaddraftAction
)
{
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.loaddraftaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.loaddraftaction'
)
as
string
)
});
return
;
return
;
}
}
const
arg
:
any
=
{
...
opt
}
;
const
arg
:
any
=
{
...
opt
}
;
...
@@ -1461,7 +1461,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
...
@@ -1461,7 +1461,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
const
action
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)
?
this
.
updateAction
:
this
.
createAction
;
const
action
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)
?
this
.
updateAction
:
this
.
createAction
;
if
(
!
action
){
if
(
!
action
){
let
actionName
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)?
"updateAction"
:
"createAction"
;
let
actionName
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)?
"updateAction"
:
"createAction"
;
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
return
;
return
;
}
}
Object
.
assign
(
arg
,{
viewparams
:
this
.
viewparams
});
Object
.
assign
(
arg
,{
viewparams
:
this
.
viewparams
});
...
@@ -1569,7 +1569,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
...
@@ -1569,7 +1569,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
const
action
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)
?
this
.
updateAction
:
this
.
createAction
;
const
action
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)
?
this
.
updateAction
:
this
.
createAction
;
if
(
!
action
){
if
(
!
action
){
let
actionName
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)?
"updateAction"
:
"createAction"
;
let
actionName
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)?
"updateAction"
:
"createAction"
;
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
return
;
return
;
}
}
Object
.
assign
(
arg
,
{
viewparams
:
this
.
viewparams
});
Object
.
assign
(
arg
,
{
viewparams
:
this
.
viewparams
});
...
@@ -1661,7 +1661,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
...
@@ -1661,7 +1661,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
public
remove
(
opt
:
Array
<
any
>
=
[],
showResultInfo
?:
boolean
):
Promise
<
any
>
{
public
remove
(
opt
:
Array
<
any
>
=
[],
showResultInfo
?:
boolean
):
Promise
<
any
>
{
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
if
(
!
this
.
removeAction
){
if
(
!
this
.
removeAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.removeaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.removeaction'
)
as
string
)
});
return
;
return
;
}
}
const
arg
:
any
=
opt
[
0
];
const
arg
:
any
=
opt
[
0
];
...
...
app_Web/src/widgets/ibizbook/guide-view-form-form/guide-view-form-form-base.vue
浏览文件 @
c809b342
...
@@ -1447,7 +1447,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
...
@@ -1447,7 +1447,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
*/
*/
public
async
load
(
opt
:
any
=
{}):
Promise
<
any
>
{
public
async
load
(
opt
:
any
=
{}):
Promise
<
any
>
{
if
(
!
this
.
loadAction
){
if
(
!
this
.
loadAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.loadaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.loadaction'
)
as
string
)
});
return
;
return
;
}
}
const
arg
:
any
=
{
...
opt
};
const
arg
:
any
=
{
...
opt
};
...
@@ -1494,7 +1494,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
...
@@ -1494,7 +1494,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
*/
*/
public
async
loadDraft
(
opt
:
any
=
{}):
Promise
<
any
>
{
public
async
loadDraft
(
opt
:
any
=
{}):
Promise
<
any
>
{
if
(
!
this
.
loaddraftAction
)
{
if
(
!
this
.
loaddraftAction
)
{
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.loaddraftaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.loaddraftaction'
)
as
string
)
});
return
;
return
;
}
}
const
arg
:
any
=
{
...
opt
}
;
const
arg
:
any
=
{
...
opt
}
;
...
@@ -1564,7 +1564,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
...
@@ -1564,7 +1564,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
const
action
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)
?
this
.
updateAction
:
this
.
createAction
;
const
action
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)
?
this
.
updateAction
:
this
.
createAction
;
if
(
!
action
){
if
(
!
action
){
let
actionName
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)?
"updateAction"
:
"createAction"
;
let
actionName
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)?
"updateAction"
:
"createAction"
;
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
return
;
return
;
}
}
Object
.
assign
(
arg
,{
viewparams
:
this
.
viewparams
});
Object
.
assign
(
arg
,{
viewparams
:
this
.
viewparams
});
...
@@ -1672,7 +1672,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
...
@@ -1672,7 +1672,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
const
action
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)
?
this
.
updateAction
:
this
.
createAction
;
const
action
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)
?
this
.
updateAction
:
this
.
createAction
;
if
(
!
action
){
if
(
!
action
){
let
actionName
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)?
"updateAction"
:
"createAction"
;
let
actionName
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)?
"updateAction"
:
"createAction"
;
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
return
;
return
;
}
}
Object
.
assign
(
arg
,
{
viewparams
:
this
.
viewparams
});
Object
.
assign
(
arg
,
{
viewparams
:
this
.
viewparams
});
...
@@ -1764,7 +1764,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
...
@@ -1764,7 +1764,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
public
remove
(
opt
:
Array
<
any
>
=
[],
showResultInfo
?:
boolean
):
Promise
<
any
>
{
public
remove
(
opt
:
Array
<
any
>
=
[],
showResultInfo
?:
boolean
):
Promise
<
any
>
{
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
if
(
!
this
.
removeAction
){
if
(
!
this
.
removeAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.removeaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.removeaction'
)
as
string
)
});
return
;
return
;
}
}
const
arg
:
any
=
opt
[
0
];
const
arg
:
any
=
opt
[
0
];
...
...
app_Web/src/widgets/ibizbook/usr2-dataview/usr2-dataview-base.vue
浏览文件 @
c809b342
此差异已折叠。
点击以展开。
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK/PSGANTTS/Usr.json
浏览文件 @
c809b342
...
@@ -11,51 +11,51 @@
...
@@ -11,51 +11,51 @@
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
},
"getPSDETreeColumns"
:
[
{
"getPSDETreeColumns"
:
[
{
"caption"
:
"
归还日期
"
,
"caption"
:
"
作者
"
,
"codeName"
:
"
returntime
"
,
"codeName"
:
"
author
"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
"dataItemName"
:
"
returntime
"
,
"dataItemName"
:
"
author
"
,
"name"
:
"
returntime
"
,
"name"
:
"
author
"
,
"width"
:
200
,
"width"
:
200
,
"widthUnit"
:
"px"
,
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
"enableExpand"
:
false
,
"enableSort"
:
false
"enableSort"
:
false
},
{
},
{
"caption"
:
"
出版社
"
,
"caption"
:
"
图书名称
"
,
"codeName"
:
"
press
"
,
"codeName"
:
"
ibizbookname
"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
"dataItemName"
:
"
press
"
,
"dataItemName"
:
"
ibizbookname
"
,
"name"
:
"
press
"
,
"name"
:
"
ibizbookname
"
,
"width"
:
200
,
"width"
:
200
,
"widthUnit"
:
"px"
,
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
"enableExpand"
:
false
,
"enableSort"
:
false
"enableSort"
:
false
},
{
},
{
"caption"
:
"
借出
日期"
,
"caption"
:
"
归还
日期"
,
"codeName"
:
"
lendout
time"
,
"codeName"
:
"
return
time"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
"dataItemName"
:
"
lendout
time"
,
"dataItemName"
:
"
return
time"
,
"name"
:
"
lendout
time"
,
"name"
:
"
return
time"
,
"width"
:
200
,
"width"
:
200
,
"widthUnit"
:
"px"
,
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
"enableExpand"
:
false
,
"enableSort"
:
false
"enableSort"
:
false
},
{
},
{
"caption"
:
"
作者
"
,
"caption"
:
"
出版社
"
,
"codeName"
:
"
author
"
,
"codeName"
:
"
press
"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
"dataItemName"
:
"
author
"
,
"dataItemName"
:
"
press
"
,
"name"
:
"
author
"
,
"name"
:
"
press
"
,
"width"
:
200
,
"width"
:
200
,
"widthUnit"
:
"px"
,
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
"enableExpand"
:
false
,
"enableSort"
:
false
"enableSort"
:
false
},
{
},
{
"caption"
:
"
图书名称
"
,
"caption"
:
"
借出日期
"
,
"codeName"
:
"
ibizbookna
me"
,
"codeName"
:
"
lendoutti
me"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
"dataItemName"
:
"
ibizbookna
me"
,
"dataItemName"
:
"
lendoutti
me"
,
"name"
:
"
ibizbookna
me"
,
"name"
:
"
lendoutti
me"
,
"width"
:
200
,
"width"
:
200
,
"widthUnit"
:
"px"
,
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
"enableExpand"
:
false
,
...
...
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK/PSTREEGRIDICES/TreeTable.json
浏览文件 @
c809b342
...
@@ -19,6 +19,16 @@
...
@@ -19,6 +19,16 @@
}
}
}
],
}
],
"getPSDETreeColumns"
:
[
{
"getPSDETreeColumns"
:
[
{
"caption"
:
"图书描述"
,
"codeName"
:
"subtext"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
"dataItemName"
:
"subtext"
,
"name"
:
"subtext"
,
"width"
:
50
,
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
"enableSort"
:
false
},
{
"caption"
:
"图书名称"
,
"caption"
:
"图书名称"
,
"codeName"
:
"ibizbookname"
,
"codeName"
:
"ibizbookname"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
...
@@ -38,16 +48,6 @@
...
@@ -38,16 +48,6 @@
"widthUnit"
:
"px"
,
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
"enableExpand"
:
false
,
"enableSort"
:
false
"enableSort"
:
false
},
{
"caption"
:
"图书描述"
,
"codeName"
:
"subtext"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
"dataItemName"
:
"subtext"
,
"name"
:
"subtext"
,
"width"
:
50
,
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
"enableSort"
:
false
}
],
}
],
"getPSDETreeNodeRSs"
:
[
{
"getPSDETreeNodeRSs"
:
[
{
"getChildPSDETreeNode"
:
{
"getChildPSDETreeNode"
:
{
...
...
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKGanttView.json
浏览文件 @
c809b342
...
@@ -34,51 +34,51 @@
...
@@ -34,51 +34,51 @@
"id"
:
"GANTT"
"id"
:
"GANTT"
},
},
"getPSDETreeColumns"
:
[
{
"getPSDETreeColumns"
:
[
{
"caption"
:
"
归还日期
"
,
"caption"
:
"
作者
"
,
"codeName"
:
"
returntime
"
,
"codeName"
:
"
author
"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
"dataItemName"
:
"
returntime
"
,
"dataItemName"
:
"
author
"
,
"name"
:
"
returntime
"
,
"name"
:
"
author
"
,
"width"
:
200
,
"width"
:
200
,
"widthUnit"
:
"px"
,
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
"enableExpand"
:
false
,
"enableSort"
:
false
"enableSort"
:
false
},
{
},
{
"caption"
:
"
出版社
"
,
"caption"
:
"
图书名称
"
,
"codeName"
:
"
press
"
,
"codeName"
:
"
ibizbookname
"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
"dataItemName"
:
"
press
"
,
"dataItemName"
:
"
ibizbookname
"
,
"name"
:
"
press
"
,
"name"
:
"
ibizbookname
"
,
"width"
:
200
,
"width"
:
200
,
"widthUnit"
:
"px"
,
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
"enableExpand"
:
false
,
"enableSort"
:
false
"enableSort"
:
false
},
{
},
{
"caption"
:
"
借出
日期"
,
"caption"
:
"
归还
日期"
,
"codeName"
:
"
lendout
time"
,
"codeName"
:
"
return
time"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
"dataItemName"
:
"
lendout
time"
,
"dataItemName"
:
"
return
time"
,
"name"
:
"
lendout
time"
,
"name"
:
"
return
time"
,
"width"
:
200
,
"width"
:
200
,
"widthUnit"
:
"px"
,
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
"enableExpand"
:
false
,
"enableSort"
:
false
"enableSort"
:
false
},
{
},
{
"caption"
:
"
作者
"
,
"caption"
:
"
出版社
"
,
"codeName"
:
"
author
"
,
"codeName"
:
"
press
"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
"dataItemName"
:
"
author
"
,
"dataItemName"
:
"
press
"
,
"name"
:
"
author
"
,
"name"
:
"
press
"
,
"width"
:
200
,
"width"
:
200
,
"widthUnit"
:
"px"
,
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
"enableExpand"
:
false
,
"enableSort"
:
false
"enableSort"
:
false
},
{
},
{
"caption"
:
"
图书名称
"
,
"caption"
:
"
借出日期
"
,
"codeName"
:
"
ibizbookna
me"
,
"codeName"
:
"
lendoutti
me"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
"dataItemName"
:
"
ibizbookna
me"
,
"dataItemName"
:
"
lendoutti
me"
,
"name"
:
"
ibizbookna
me"
,
"name"
:
"
lendoutti
me"
,
"width"
:
200
,
"width"
:
200
,
"widthUnit"
:
"px"
,
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
"enableExpand"
:
false
,
...
...
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKTreeGridExView.json
浏览文件 @
c809b342
...
@@ -75,6 +75,16 @@
...
@@ -75,6 +75,16 @@
"id"
:
"TREEGRIDEX"
"id"
:
"TREEGRIDEX"
},
},
"getPSDETreeColumns"
:
[
{
"getPSDETreeColumns"
:
[
{
"caption"
:
"图书描述"
,
"codeName"
:
"subtext"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
"dataItemName"
:
"subtext"
,
"name"
:
"subtext"
,
"width"
:
50
,
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
"enableSort"
:
false
},
{
"caption"
:
"图书名称"
,
"caption"
:
"图书名称"
,
"codeName"
:
"ibizbookname"
,
"codeName"
:
"ibizbookname"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
...
@@ -94,16 +104,6 @@
...
@@ -94,16 +104,6 @@
"widthUnit"
:
"px"
,
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
"enableExpand"
:
false
,
"enableSort"
:
false
"enableSort"
:
false
},
{
"caption"
:
"图书描述"
,
"codeName"
:
"subtext"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
"dataItemName"
:
"subtext"
,
"name"
:
"subtext"
,
"width"
:
50
,
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
"enableSort"
:
false
}
],
}
],
"getPSDETreeNodeRSs"
:
[
{
"getPSDETreeNodeRSs"
:
[
{
"getChildPSDETreeNode"
:
{
"getChildPSDETreeNode"
:
{
...
...
demo-core/src/main/resources/liquibase/h2_table.xml
浏览文件 @
c809b342
...
@@ -172,7 +172,7 @@
...
@@ -172,7 +172,7 @@
<!--输出实体[IBIZBOOK]数据结构 -->
<!--输出实体[IBIZBOOK]数据结构 -->
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"tab-ibizbook-84
5
-7"
>
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"tab-ibizbook-84
7
-7"
>
<createTable
tableName=
"T_IBIZBOOK"
>
<createTable
tableName=
"T_IBIZBOOK"
>
<column
name=
"CREATEMAN"
remarks=
""
type=
"VARCHAR(60)"
>
<column
name=
"CREATEMAN"
remarks=
""
type=
"VARCHAR(60)"
>
</column>
</column>
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录