Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
功
功能演示系统
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
示例
功能演示系统
提交
12013cea
提交
12013cea
编写于
12月 21, 2022
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
tony001 发布系统代码 [后台服务,演示应用]
上级
60ca74da
变更
15
隐藏空白字符变更
内嵌
并排
正在显示
15 个修改的文件
包含
229 行增加
和
28 行删除
+229
-28
default-searchform-base.vue
...s/ibizbook/default-searchform/default-searchform-base.vue
+2
-2
guide-borrow-form-form-base.vue
...ok/guide-borrow-form-form/guide-borrow-form-form-base.vue
+5
-5
guide-return-form-form-base.vue
...ok/guide-return-form-form/guide-return-form-form-base.vue
+0
-1
guide-view-form-form-base.vue
...izbook/guide-view-form-form/guide-view-form-form-base.vue
+5
-5
guide-wizardpanel-base.vue
...ets/ibizbook/guide-wizardpanel/guide-wizardpanel-base.vue
+1
-1
main-grid-base.vue
...src/widgets/ibizorder-detail/main-grid/main-grid-base.vue
+6
-6
calendar-exp-view-layoutcalendarexpbar-calendarexpbar-base.vue
...dar-exp-view-layoutcalendarexpbar-calendarexpbar-base.vue
+25
-0
calendar-exp-viewcalendarexpbar-calendarexpbar-base.vue
...r/calendar-exp-viewcalendarexpbar-calendarexpbar-base.vue
+25
-0
card-navigation-dataview-base.vue
...ard-navigation-dataview/card-navigation-dataview-base.vue
+4
-4
order-calendar-navigation-calendar-base.vue
...tion-calendar/order-calendar-navigation-calendar-base.vue
+14
-1
order-calendar-navigation-calendar-model.ts
...tion-calendar/order-calendar-navigation-calendar-model.ts
+20
-0
order-calendar-navigation-calendar-service.ts
...on-calendar/order-calendar-navigation-calendar-service.ts
+20
-0
OrderCalendarNavigation.json
...TITIES/IBIZOrder/PSCALENDARS/OrderCalendarNavigation.json
+34
-1
IBIZOrderCalendarExpView.json
.../PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZOrderCalendarExpView.json
+34
-1
IBIZOrderCalendarExpView_layout.json
...PPS/Web/PSAPPDEVIEWS/IBIZOrderCalendarExpView_layout.json
+34
-1
未找到文件。
app_Web/src/widgets/ibizbook/default-searchform/default-searchform-base.vue
浏览文件 @
12013cea
...
@@ -712,7 +712,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
...
@@ -712,7 +712,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
*/
public
load
(
opt
:
any
=
{}):
void
{
public
load
(
opt
:
any
=
{}):
void
{
if
(
!
this
.
loadAction
){
if
(
!
this
.
loadAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKUsr
9Grid
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loadAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKUsr
5Data
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loadAction'
)
as
string
)
});
return
;
return
;
}
}
const
arg
:
any
=
{
...
opt
};
const
arg
:
any
=
{
...
opt
};
...
@@ -748,7 +748,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
...
@@ -748,7 +748,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
*/
public
async
loadDraft
(
opt
:
any
=
{},
mode
?:
string
):
Promise
<
any
>
{
public
async
loadDraft
(
opt
:
any
=
{},
mode
?:
string
):
Promise
<
any
>
{
if
(
!
this
.
loaddraftAction
){
if
(
!
this
.
loaddraftAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKUsr
9Grid
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loaddraftAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKUsr
5Data
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loaddraftAction'
)
as
string
)
});
return
;
return
;
}
}
const
arg
:
any
=
{
...
opt
}
;
const
arg
:
any
=
{
...
opt
}
;
...
...
app_Web/src/widgets/ibizbook/guide-borrow-form-form/guide-borrow-form-form-base.vue
浏览文件 @
12013cea
...
@@ -1378,7 +1378,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
...
@@ -1378,7 +1378,7 @@ export default class GuideBorrowFormBase 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
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.loadaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.loadaction'
)
as
string
)
});
return
;
return
;
}
}
const
arg
:
any
=
{
...
opt
};
const
arg
:
any
=
{
...
opt
};
...
@@ -1429,7 +1429,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
...
@@ -1429,7 +1429,7 @@ export default class GuideBorrowFormBase 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
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.loaddraftaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.loaddraftaction'
)
as
string
)
});
return
;
return
;
}
}
const
arg
:
any
=
{
...
opt
}
;
const
arg
:
any
=
{
...
opt
}
;
...
@@ -1499,7 +1499,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
...
@@ -1499,7 +1499,7 @@ export default class GuideBorrowFormBase 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
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
return
;
return
;
}
}
Object
.
assign
(
arg
,{
viewparams
:
this
.
viewparams
});
Object
.
assign
(
arg
,{
viewparams
:
this
.
viewparams
});
...
@@ -1607,7 +1607,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
...
@@ -1607,7 +1607,7 @@ export default class GuideBorrowFormBase 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
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
return
;
return
;
}
}
Object
.
assign
(
arg
,
{
viewparams
:
this
.
viewparams
});
Object
.
assign
(
arg
,
{
viewparams
:
this
.
viewparams
});
...
@@ -1799,7 +1799,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
...
@@ -1799,7 +1799,7 @@ export default class GuideBorrowFormBase 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
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.removeaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
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-return-form-form/guide-return-form-form-base.vue
浏览文件 @
12013cea
...
@@ -2205,5 +2205,4 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
...
@@ -2205,5 +2205,4 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
<
style
lang=
'scss'
>
<
style
lang=
'scss'
>
@import
'./guide-return-form-form.scss'
;
@import
'./guide-return-form-form.scss'
;
</
style
>
de-return-form-form.scss';
</
style
>
</
style
>
\ No newline at end of file
app_Web/src/widgets/ibizbook/guide-view-form-form/guide-view-form-form-base.vue
浏览文件 @
12013cea
...
@@ -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
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.loadaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.loadaction'
)
as
string
)
});
return
;
return
;
}
}
const
arg
:
any
=
{
...
opt
};
const
arg
:
any
=
{
...
opt
};
...
@@ -1499,7 +1499,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
...
@@ -1499,7 +1499,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
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.loaddraftaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.loaddraftaction'
)
as
string
)
});
return
;
return
;
}
}
const
arg
:
any
=
{
...
opt
}
;
const
arg
:
any
=
{
...
opt
}
;
...
@@ -1569,7 +1569,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
...
@@ -1569,7 +1569,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
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
return
;
return
;
}
}
Object
.
assign
(
arg
,{
viewparams
:
this
.
viewparams
});
Object
.
assign
(
arg
,{
viewparams
:
this
.
viewparams
});
...
@@ -1677,7 +1677,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
...
@@ -1677,7 +1677,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
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
return
;
return
;
}
}
Object
.
assign
(
arg
,
{
viewparams
:
this
.
viewparams
});
Object
.
assign
(
arg
,
{
viewparams
:
this
.
viewparams
});
...
@@ -1869,7 +1869,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
...
@@ -1869,7 +1869,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
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.removeaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
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-wizardpanel/guide-wizardpanel-base.vue
浏览文件 @
12013cea
...
@@ -369,7 +369,7 @@ export default class GuideBase extends Vue implements ControlInterface {
...
@@ -369,7 +369,7 @@ export default class GuideBase extends Vue implements ControlInterface {
* @type {Boolean}
* @type {Boolean}
* @memberof GuideBase
* @memberof GuideBase
*/
*/
public
isShowStepBar
:
Boolean
=
tru
e
;
public
isShowStepBar
:
Boolean
=
fals
e
;
/**
/**
* 获取多项数据
* 获取多项数据
...
...
app_Web/src/widgets/ibizorder-detail/main-grid/main-grid-base.vue
浏览文件 @
12013cea
...
@@ -933,7 +933,7 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -933,7 +933,7 @@ export default class MainBase extends Vue implements ControlInterface {
if
(
!
this
.
fetchAction
)
{
if
(
!
this
.
fetchAction
)
{
this
.
$Notice
.
error
({
this
.
$Notice
.
error
({
title
:
this
.
$t
(
"app.commonWords.wrong"
)
as
string
,
title
:
this
.
$t
(
"app.commonWords.wrong"
)
as
string
,
desc
:
"IBIZOrderDetail
SGridView
"
+
(
this
.
$t
(
"app.gridpage.notConfig.fetchAction"
)
as
string
),
desc
:
"IBIZOrderDetail
GridView9
"
+
(
this
.
$t
(
"app.gridpage.notConfig.fetchAction"
)
as
string
),
});
});
return
;
return
;
}
}
...
@@ -1073,7 +1073,7 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -1073,7 +1073,7 @@ export default class MainBase extends Vue implements ControlInterface {
if
(
!
this
.
removeAction
)
{
if
(
!
this
.
removeAction
)
{
this
.
$Notice
.
error
({
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderDetail
SGridView
'
+
(
this
.
$t
(
'app.gridpage.notConfig.removeAction'
)
as
string
)
desc
:
'IBIZOrderDetail
GridView9
'
+
(
this
.
$t
(
'app.gridpage.notConfig.removeAction'
)
as
string
)
});
});
return
;
return
;
}
}
...
@@ -1187,7 +1187,7 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -1187,7 +1187,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
*/
public
addBatch
(
arg
:
any
=
{}):
void
{
public
addBatch
(
arg
:
any
=
{}):
void
{
if
(
!
this
.
fetchAction
){
if
(
!
this
.
fetchAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderDetail
SGridView
'
+
(
this
.
$t
(
'app.gridpage.notConfig.fetchAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderDetail
GridView9
'
+
(
this
.
$t
(
'app.gridpage.notConfig.fetchAction'
)
as
string
)
});
return
;
return
;
}
}
if
(
!
arg
){
if
(
!
arg
){
...
@@ -2082,7 +2082,7 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -2082,7 +2082,7 @@ export default class MainBase extends Vue implements ControlInterface {
try
{
try
{
if
(
Object
.
is
(
item
.
rowDataState
,
'create'
))
{
if
(
Object
.
is
(
item
.
rowDataState
,
'create'
))
{
if
(
!
this
.
createAction
)
{
if
(
!
this
.
createAction
)
{
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderDetail
SGridView
'
+
(
this
.
$t
(
'app.gridpage.notConfig.createAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderDetail
GridView9
'
+
(
this
.
$t
(
'app.gridpage.notConfig.createAction'
)
as
string
)
});
}
else
{
}
else
{
Object
.
assign
(
item
,
{
viewparams
:
this
.
viewparams
});
Object
.
assign
(
item
,
{
viewparams
:
this
.
viewparams
});
const
tempContext
=
Util
.
deepCopy
(
this
.
context
);
const
tempContext
=
Util
.
deepCopy
(
this
.
context
);
...
@@ -2091,7 +2091,7 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -2091,7 +2091,7 @@ export default class MainBase extends Vue implements ControlInterface {
}
}
}
else
if
(
Object
.
is
(
item
.
rowDataState
,
'update'
)){
}
else
if
(
Object
.
is
(
item
.
rowDataState
,
'update'
)){
if
(
!
this
.
updateAction
)
{
if
(
!
this
.
updateAction
)
{
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderDetail
SGridView
'
+
(
this
.
$t
(
'app.gridpage.notConfig.updateAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderDetail
GridView9
'
+
(
this
.
$t
(
'app.gridpage.notConfig.updateAction'
)
as
string
)
});
}
else
{
}
else
{
Object
.
assign
(
item
,
{
viewparams
:
this
.
viewparams
});
Object
.
assign
(
item
,
{
viewparams
:
this
.
viewparams
});
const
tempContext
=
Util
.
deepCopy
(
this
.
context
);
const
tempContext
=
Util
.
deepCopy
(
this
.
context
);
...
@@ -2167,7 +2167,7 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -2167,7 +2167,7 @@ export default class MainBase extends Vue implements ControlInterface {
if
(
!
this
.
loaddraftAction
){
if
(
!
this
.
loaddraftAction
){
this
.
$Notice
.
error
({
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderDetail
SGridView
'
+
(
this
.
$t
(
'app.gridpage.notConfig.loaddraftAction'
)
as
string
)
desc
:
'IBIZOrderDetail
GridView9
'
+
(
this
.
$t
(
'app.gridpage.notConfig.loaddraftAction'
)
as
string
)
});
});
return
;
return
;
}
}
...
...
app_Web/src/widgets/ibizorder/calendar-exp-view-layoutcalendarexpbar-calendarexpbar/calendar-exp-view-layoutcalendarexpbar-calendarexpbar-base.vue
浏览文件 @
12013cea
...
@@ -382,6 +382,7 @@ export default class CalendarExpView_layoutcalendarexpbarBase extends Vue implem
...
@@ -382,6 +382,7 @@ export default class CalendarExpView_layoutcalendarexpbarBase extends Vue implem
* @memberof CalendarExpView_layoutcalendarexpbarBase
* @memberof CalendarExpView_layoutcalendarexpbarBase
*/
*/
public
navViewName
:
any
=
{
public
navViewName
:
any
=
{
book
:
""
,
item1
:
"ibizorder-detail-sgrid-view9"
item1
:
"ibizorder-detail-sgrid-view9"
};
};
...
@@ -392,6 +393,10 @@ export default class CalendarExpView_layoutcalendarexpbarBase extends Vue implem
...
@@ -392,6 +393,10 @@ export default class CalendarExpView_layoutcalendarexpbarBase extends Vue implem
* @memberof CalendarExpView_layoutcalendarexpbarBase
* @memberof CalendarExpView_layoutcalendarexpbarBase
*/
*/
public
navParam
:
any
=
{
public
navParam
:
any
=
{
book
:
{
navigateContext
:
null
,
navigateParams
:
null
},
item1
:
{
item1
:
{
navigateContext
:
null
,
navigateContext
:
null
,
navigateParams
:
null
navigateParams
:
null
...
@@ -405,6 +410,7 @@ export default class CalendarExpView_layoutcalendarexpbarBase extends Vue implem
...
@@ -405,6 +410,7 @@ export default class CalendarExpView_layoutcalendarexpbarBase extends Vue implem
* @memberof CalendarExpView_layoutcalendarexpbarBase
* @memberof CalendarExpView_layoutcalendarexpbarBase
*/
*/
public
navFilter
:
any
=
{
public
navFilter
:
any
=
{
book
:
""
,
item1
:
""
item1
:
""
};
};
...
@@ -415,6 +421,7 @@ export default class CalendarExpView_layoutcalendarexpbarBase extends Vue implem
...
@@ -415,6 +421,7 @@ export default class CalendarExpView_layoutcalendarexpbarBase extends Vue implem
* @memberof CalendarExpView_layoutcalendarexpbarBase
* @memberof CalendarExpView_layoutcalendarexpbarBase
*/
*/
public
navPSDer
:
any
=
{
public
navPSDer
:
any
=
{
book
:
""
,
item1
:
"n_ibizorderid_eq"
item1
:
"n_ibizorderid_eq"
};
};
...
@@ -549,6 +556,24 @@ export default class CalendarExpView_layoutcalendarexpbarBase extends Vue implem
...
@@ -549,6 +556,24 @@ export default class CalendarExpView_layoutcalendarexpbarBase extends Vue implem
Object
.
assign
(
tempContext
,
JSON
.
parse
(
JSON
.
stringify
(
this
.
context
)));
Object
.
assign
(
tempContext
,
JSON
.
parse
(
JSON
.
stringify
(
this
.
context
)));
}
}
switch
(
arg
.
itemType
)
{
switch
(
arg
.
itemType
)
{
case
"book"
:
Object
.
assign
(
tempContext
,{
ibizbook
:
arg
.
ibizbook
});
Object
.
assign
(
tempContext
,{
srfparentdename
:
'IBIZBOOK'
,
srfparentkey
:
arg
[
'ibizbook'
]});
if
(
this
.
navFilter
&&
this
.
navFilter
[
'book'
]
&&
!
Object
.
is
(
this
.
navFilter
[
'book'
],
""
)){
Object
.
assign
(
tempViewParam
,{[
this
.
navFilter
[
'book'
]]:
arg
[
'ibizbook'
]});
}
if
(
this
.
navPSDer
&&
this
.
navFilter
[
'book'
]
&&
!
Object
.
is
(
this
.
navPSDer
[
'book'
],
""
)){
Object
.
assign
(
tempViewParam
,{[
this
.
navPSDer
[
'book'
]]:
arg
[
'ibizbook'
]});
}
if
(
this
.
navParam
&&
this
.
navParam
[
'book'
]
&&
this
.
navParam
[
'book'
].
navigateContext
&&
Object
.
keys
(
this
.
navParam
[
'book'
].
navigateContext
).
length
>
0
){
let
_context
:
any
=
this
.
$util
.
computedNavData
(
arg
,
tempContext
,
tempViewParam
,
this
.
navParam
[
'book'
].
navigateContext
);
Object
.
assign
(
tempContext
,
_context
);
}
if
(
this
.
navParam
&&
this
.
navParam
[
'book'
]
&&
this
.
navParam
[
'book'
].
navigateParams
&&
Object
.
keys
(
this
.
navParam
[
'book'
].
navigateParams
).
length
>
0
){
let
_params
:
any
=
this
.
$util
.
computedNavData
(
arg
,
tempContext
,
tempViewParam
,
this
.
navParam
[
'book'
].
navigateParams
);
Object
.
assign
(
tempViewParam
,
_params
);
}
break
;
case
"item1"
:
case
"item1"
:
Object
.
assign
(
tempContext
,{
ibizorder
:
arg
.
ibizorder
});
Object
.
assign
(
tempContext
,{
ibizorder
:
arg
.
ibizorder
});
Object
.
assign
(
tempContext
,{
srfparentdename
:
'IBIZOrder'
,
srfparentkey
:
arg
[
'ibizorder'
]});
Object
.
assign
(
tempContext
,{
srfparentdename
:
'IBIZOrder'
,
srfparentkey
:
arg
[
'ibizorder'
]});
...
...
app_Web/src/widgets/ibizorder/calendar-exp-viewcalendarexpbar-calendarexpbar/calendar-exp-viewcalendarexpbar-calendarexpbar-base.vue
浏览文件 @
12013cea
...
@@ -382,6 +382,7 @@ export default class CalendarExpViewcalendarexpbarBase extends Vue implements Co
...
@@ -382,6 +382,7 @@ export default class CalendarExpViewcalendarexpbarBase extends Vue implements Co
* @memberof CalendarExpViewcalendarexpbarBase
* @memberof CalendarExpViewcalendarexpbarBase
*/
*/
public
navViewName
:
any
=
{
public
navViewName
:
any
=
{
book
:
""
,
item1
:
"ibizorder-detail-sgrid-view9"
item1
:
"ibizorder-detail-sgrid-view9"
};
};
...
@@ -392,6 +393,10 @@ export default class CalendarExpViewcalendarexpbarBase extends Vue implements Co
...
@@ -392,6 +393,10 @@ export default class CalendarExpViewcalendarexpbarBase extends Vue implements Co
* @memberof CalendarExpViewcalendarexpbarBase
* @memberof CalendarExpViewcalendarexpbarBase
*/
*/
public
navParam
:
any
=
{
public
navParam
:
any
=
{
book
:
{
navigateContext
:
null
,
navigateParams
:
null
},
item1
:
{
item1
:
{
navigateContext
:
null
,
navigateContext
:
null
,
navigateParams
:
null
navigateParams
:
null
...
@@ -405,6 +410,7 @@ export default class CalendarExpViewcalendarexpbarBase extends Vue implements Co
...
@@ -405,6 +410,7 @@ export default class CalendarExpViewcalendarexpbarBase extends Vue implements Co
* @memberof CalendarExpViewcalendarexpbarBase
* @memberof CalendarExpViewcalendarexpbarBase
*/
*/
public
navFilter
:
any
=
{
public
navFilter
:
any
=
{
book
:
""
,
item1
:
""
item1
:
""
};
};
...
@@ -415,6 +421,7 @@ export default class CalendarExpViewcalendarexpbarBase extends Vue implements Co
...
@@ -415,6 +421,7 @@ export default class CalendarExpViewcalendarexpbarBase extends Vue implements Co
* @memberof CalendarExpViewcalendarexpbarBase
* @memberof CalendarExpViewcalendarexpbarBase
*/
*/
public
navPSDer
:
any
=
{
public
navPSDer
:
any
=
{
book
:
""
,
item1
:
"n_ibizorderid_eq"
item1
:
"n_ibizorderid_eq"
};
};
...
@@ -549,6 +556,24 @@ export default class CalendarExpViewcalendarexpbarBase extends Vue implements Co
...
@@ -549,6 +556,24 @@ export default class CalendarExpViewcalendarexpbarBase extends Vue implements Co
Object
.
assign
(
tempContext
,
JSON
.
parse
(
JSON
.
stringify
(
this
.
context
)));
Object
.
assign
(
tempContext
,
JSON
.
parse
(
JSON
.
stringify
(
this
.
context
)));
}
}
switch
(
arg
.
itemType
)
{
switch
(
arg
.
itemType
)
{
case
"book"
:
Object
.
assign
(
tempContext
,{
ibizbook
:
arg
.
ibizbook
});
Object
.
assign
(
tempContext
,{
srfparentdename
:
'IBIZBOOK'
,
srfparentkey
:
arg
[
'ibizbook'
]});
if
(
this
.
navFilter
&&
this
.
navFilter
[
'book'
]
&&
!
Object
.
is
(
this
.
navFilter
[
'book'
],
""
)){
Object
.
assign
(
tempViewParam
,{[
this
.
navFilter
[
'book'
]]:
arg
[
'ibizbook'
]});
}
if
(
this
.
navPSDer
&&
this
.
navFilter
[
'book'
]
&&
!
Object
.
is
(
this
.
navPSDer
[
'book'
],
""
)){
Object
.
assign
(
tempViewParam
,{[
this
.
navPSDer
[
'book'
]]:
arg
[
'ibizbook'
]});
}
if
(
this
.
navParam
&&
this
.
navParam
[
'book'
]
&&
this
.
navParam
[
'book'
].
navigateContext
&&
Object
.
keys
(
this
.
navParam
[
'book'
].
navigateContext
).
length
>
0
){
let
_context
:
any
=
this
.
$util
.
computedNavData
(
arg
,
tempContext
,
tempViewParam
,
this
.
navParam
[
'book'
].
navigateContext
);
Object
.
assign
(
tempContext
,
_context
);
}
if
(
this
.
navParam
&&
this
.
navParam
[
'book'
]
&&
this
.
navParam
[
'book'
].
navigateParams
&&
Object
.
keys
(
this
.
navParam
[
'book'
].
navigateParams
).
length
>
0
){
let
_params
:
any
=
this
.
$util
.
computedNavData
(
arg
,
tempContext
,
tempViewParam
,
this
.
navParam
[
'book'
].
navigateParams
);
Object
.
assign
(
tempViewParam
,
_params
);
}
break
;
case
"item1"
:
case
"item1"
:
Object
.
assign
(
tempContext
,{
ibizorder
:
arg
.
ibizorder
});
Object
.
assign
(
tempContext
,{
ibizorder
:
arg
.
ibizorder
});
Object
.
assign
(
tempContext
,{
srfparentdename
:
'IBIZOrder'
,
srfparentkey
:
arg
[
'ibizorder'
]});
Object
.
assign
(
tempContext
,{
srfparentdename
:
'IBIZOrder'
,
srfparentkey
:
arg
[
'ibizorder'
]});
...
...
app_Web/src/widgets/ibizorder/card-navigation-dataview/card-navigation-dataview-base.vue
浏览文件 @
12013cea
...
@@ -768,7 +768,7 @@ export default class CardNavigationBase extends Vue implements ControlInterface
...
@@ -768,7 +768,7 @@ export default class CardNavigationBase extends Vue implements ControlInterface
*/
*/
public
async
load
(
opt
:
any
=
{},
isReset
:
boolean
=
false
):
Promise
<
any
>
{
public
async
load
(
opt
:
any
=
{},
isReset
:
boolean
=
false
):
Promise
<
any
>
{
if
(
!
this
.
fetchAction
){
if
(
!
this
.
fetchAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderDataViewExpView
_layout
'
+
(
this
.
$t
(
'app.list.notConfig.fetchAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderDataViewExpView'
+
(
this
.
$t
(
'app.list.notConfig.fetchAction'
)
as
string
)
});
return
;
return
;
}
}
const
arg
:
any
=
{...
opt
};
const
arg
:
any
=
{...
opt
};
...
@@ -862,7 +862,7 @@ export default class CardNavigationBase extends Vue implements ControlInterface
...
@@ -862,7 +862,7 @@ export default class CardNavigationBase extends Vue implements ControlInterface
*/
*/
public
async
remove
(
datas
:
any
[]):
Promise
<
any
>
{
public
async
remove
(
datas
:
any
[]):
Promise
<
any
>
{
if
(
!
this
.
removeAction
){
if
(
!
this
.
removeAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderDataViewExpView
_layout
'
+
(
this
.
$t
(
'app.gridpage.notConfig.removeAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderDataViewExpView'
+
(
this
.
$t
(
'app.gridpage.notConfig.removeAction'
)
as
string
)
});
return
;
return
;
}
}
let
_datas
:
any
[]
=
[];
let
_datas
:
any
[]
=
[];
...
@@ -978,7 +978,7 @@ export default class CardNavigationBase extends Vue implements ControlInterface
...
@@ -978,7 +978,7 @@ export default class CardNavigationBase extends Vue implements ControlInterface
try
{
try
{
if
(
Object
.
is
(
item
.
rowDataState
,
'create'
)){
if
(
Object
.
is
(
item
.
rowDataState
,
'create'
)){
if
(
!
this
.
createAction
){
if
(
!
this
.
createAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderDataViewExpView
_layout
'
+
(
this
.
$t
(
'app.list.notConfig.createAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderDataViewExpView'
+
(
this
.
$t
(
'app.list.notConfig.createAction'
)
as
string
)
});
}
else
{
}
else
{
Object
.
assign
(
item
,{
viewparams
:
this
.
viewparams
});
Object
.
assign
(
item
,{
viewparams
:
this
.
viewparams
});
let
response
=
await
this
.
service
.
add
(
this
.
createAction
,
JSON
.
parse
(
JSON
.
stringify
(
this
.
context
)),
item
,
this
.
showBusyIndicator
);
let
response
=
await
this
.
service
.
add
(
this
.
createAction
,
JSON
.
parse
(
JSON
.
stringify
(
this
.
context
)),
item
,
this
.
showBusyIndicator
);
...
@@ -986,7 +986,7 @@ export default class CardNavigationBase extends Vue implements ControlInterface
...
@@ -986,7 +986,7 @@ export default class CardNavigationBase extends Vue implements ControlInterface
}
}
}
else
if
(
Object
.
is
(
item
.
rowDataState
,
'update'
)){
}
else
if
(
Object
.
is
(
item
.
rowDataState
,
'update'
)){
if
(
!
this
.
updateAction
){
if
(
!
this
.
updateAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderDataViewExpView
_layout
'
+
(
this
.
$t
(
'app.list.notConfig.updateAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderDataViewExpView'
+
(
this
.
$t
(
'app.list.notConfig.updateAction'
)
as
string
)
});
}
else
{
}
else
{
Object
.
assign
(
item
,{
viewparams
:
this
.
viewparams
});
Object
.
assign
(
item
,{
viewparams
:
this
.
viewparams
});
if
(
item
.
ibizorder
){
if
(
item
.
ibizorder
){
...
...
app_Web/src/widgets/ibizorder/order-calendar-navigation-calendar/order-calendar-navigation-calendar-base.vue
浏览文件 @
12013cea
...
@@ -3,6 +3,10 @@
...
@@ -3,6 +3,10 @@
<context-menu-container>
<context-menu-container>
<template>
<template>
<div
class=
"event-legends"
>
<div
class=
"event-legends"
>
<div
:class=
"
{'event-lengend':true, 'book':true, 'event-disabled':!isShowlegend.book}" @click="legendTrigger('book')">
<div
class=
"lengend-icon"
style=
"background:rgba(248, 209, 37, 1);"
></div>
<span
style=
"color:rgba(170, 230, 145, 1);"
>
图书
</span>
</div>
<div
:class=
"
{'event-lengend':true, 'item1':true, 'event-disabled':!isShowlegend.item1}" @click="legendTrigger('item1')">
<div
:class=
"
{'event-lengend':true, 'item1':true, 'event-disabled':!isShowlegend.item1}" @click="legendTrigger('item1')">
<div
class=
"lengend-icon"
style=
"background:rgba(188, 190, 197, 1);"
></div>
<div
class=
"lengend-icon"
style=
"background:rgba(188, 190, 197, 1);"
></div>
<span
style=
"color:rgba(235, 219, 47, 1);"
>
订单
</span>
<span
style=
"color:rgba(235, 219, 47, 1);"
>
订单
</span>
...
@@ -525,6 +529,7 @@ export default class OrderCalendarNavigationBase extends Vue implements ControlI
...
@@ -525,6 +529,7 @@ export default class OrderCalendarNavigationBase extends Vue implements ControlI
* @memberof OrderCalendarNavigationBase
* @memberof OrderCalendarNavigationBase
*/
*/
public
isShowlegend
:
any
=
{
public
isShowlegend
:
any
=
{
book
:
true
,
item1
:
true
,
item1
:
true
,
};
};
...
@@ -727,6 +732,10 @@ export default class OrderCalendarNavigationBase extends Vue implements ControlI
...
@@ -727,6 +732,10 @@ export default class OrderCalendarNavigationBase extends Vue implements ControlI
let
_context
:
any
=
Object
.
assign
({},
this
.
context
);
let
_context
:
any
=
Object
.
assign
({},
this
.
context
);
let
_viewparams
:
any
=
Object
.
assign
({
start
:
event
.
start
,
end
:
event
.
end
},
this
.
viewparams
);
let
_viewparams
:
any
=
Object
.
assign
({
start
:
event
.
start
,
end
:
event
.
end
},
this
.
viewparams
);
switch
(
event
.
itemType
)
{
switch
(
event
.
itemType
)
{
case
"book"
:
_context
.
ibizbook
=
event
.
ibizbook
;
view
=
this
.
getEditView
(
"ibizbook"
);
break
;
case
"item1"
:
case
"item1"
:
_context
.
ibizorder
=
event
.
ibizorder
;
_context
.
ibizorder
=
event
.
ibizorder
;
view
=
this
.
getEditView
(
"ibizorder"
);
view
=
this
.
getEditView
(
"ibizorder"
);
...
@@ -795,6 +804,10 @@ export default class OrderCalendarNavigationBase extends Vue implements ControlI
...
@@ -795,6 +804,10 @@ export default class OrderCalendarNavigationBase extends Vue implements ControlI
arg
.
end
=
this
.
$util
.
dateFormat
(
$event
.
event
.
end
);
arg
.
end
=
this
.
$util
.
dateFormat
(
$event
.
event
.
end
);
let
itemType
=
$event
.
event
.
_def
.
extendedProps
.
itemType
;
let
itemType
=
$event
.
event
.
_def
.
extendedProps
.
itemType
;
switch
(
itemType
)
{
switch
(
itemType
)
{
case
"book"
:
arg
.
ibizbook
=
$event
.
event
.
_def
.
extendedProps
.
ibizbook
;
_context
.
ibizbook
=
$event
.
event
.
_def
.
extendedProps
.
ibizbook
;
break
;
case
"item1"
:
case
"item1"
:
arg
.
ibizorder
=
$event
.
event
.
_def
.
extendedProps
.
ibizorder
;
arg
.
ibizorder
=
$event
.
event
.
_def
.
extendedProps
.
ibizorder
;
_context
.
ibizorder
=
$event
.
event
.
_def
.
extendedProps
.
ibizorder
;
_context
.
ibizorder
=
$event
.
event
.
_def
.
extendedProps
.
ibizorder
;
...
@@ -1001,7 +1014,7 @@ export default class OrderCalendarNavigationBase extends Vue implements ControlI
...
@@ -1001,7 +1014,7 @@ export default class OrderCalendarNavigationBase extends Vue implements ControlI
if
(
Object
.
keys
(
this
.
copyActionModel
).
length
===
0
){
if
(
Object
.
keys
(
this
.
copyActionModel
).
length
===
0
){
return
;
return
;
}
}
let
dataMapping
:
any
=
{
'item1'
:
'ibizorder'
};
let
dataMapping
:
any
=
{
'
book'
:
'ibizbook'
,
'
item1'
:
'ibizorder'
};
this
.
computeNodeState
(
data
,
dataMapping
[
data
.
itemType
]).
then
((
result
:
any
)
=>
{
this
.
computeNodeState
(
data
,
dataMapping
[
data
.
itemType
]).
then
((
result
:
any
)
=>
{
let
flag
:
boolean
=
false
;
let
flag
:
boolean
=
false
;
if
(
Object
.
values
(
result
).
length
>
0
){
if
(
Object
.
values
(
result
).
length
>
0
){
...
...
app_Web/src/widgets/ibizorder/order-calendar-navigation-calendar/order-calendar-navigation-calendar-model.ts
浏览文件 @
12013cea
...
@@ -44,6 +44,26 @@ export default class OrderCalendarNavigationModel {
...
@@ -44,6 +44,26 @@ export default class OrderCalendarNavigationModel {
},
},
];
];
switch
(
this
.
itemType
){
switch
(
this
.
itemType
){
case
"book"
:
dataItems
=
[...
dataItems
,
{
name
:
'ibizbook'
,
prop
:
'ibizbookid'
},
{
name
:
'title'
,
prop
:
'ibizbookname'
},
{
name
:
'start'
,
prop
:
'lendouttime'
},
{
name
:
'end'
,
prop
:
'returntime'
},
];
break
;
case
"item1"
:
case
"item1"
:
dataItems
=
[...
dataItems
,
dataItems
=
[...
dataItems
,
{
{
...
...
app_Web/src/widgets/ibizorder/order-calendar-navigation-calendar/order-calendar-navigation-calendar-service.ts
浏览文件 @
12013cea
...
@@ -3,6 +3,7 @@ import { Http,Util,Errorlog } from '@/utils';
...
@@ -3,6 +3,7 @@ import { Http,Util,Errorlog } from '@/utils';
import
ControlService
from
'@/widgets/control-service'
;
import
ControlService
from
'@/widgets/control-service'
;
import
IBIZOrderService
from
'@/service/ibizorder/ibizorder-service'
;
import
IBIZOrderService
from
'@/service/ibizorder/ibizorder-service'
;
import
OrderCalendarNavigationModel
from
'./order-calendar-navigation-calendar-model'
;
import
OrderCalendarNavigationModel
from
'./order-calendar-navigation-calendar-model'
;
import
IBIZBOOKService
from
'@/service/ibizbook/ibizbook-service'
;
/**
/**
...
@@ -42,6 +43,13 @@ export default class OrderCalendarNavigationService extends ControlService {
...
@@ -42,6 +43,13 @@ export default class OrderCalendarNavigationService extends ControlService {
this
.
model
=
new
OrderCalendarNavigationModel
();
this
.
model
=
new
OrderCalendarNavigationModel
();
}
}
/**
* 图书服务对象
*
* @type {IBIZBOOKService}
* @memberof OrderCalendarNavigationService
*/
public
ibizbookService
:
IBIZBOOKService
=
new
IBIZBOOKService
();
/**
/**
* 事件配置集合
* 事件配置集合
...
@@ -51,6 +59,12 @@ export default class OrderCalendarNavigationService extends ControlService {
...
@@ -51,6 +59,12 @@ export default class OrderCalendarNavigationService extends ControlService {
* @memberof OrderCalendarNavigation
* @memberof OrderCalendarNavigation
*/
*/
public
eventsConfig
:
any
[]
=
[
public
eventsConfig
:
any
[]
=
[
{
itemName
:
'图书'
,
itemType
:
'book'
,
color
:
'rgba(248, 209, 37, 1)'
,
textColor
:
'rgba(170, 230, 145, 1)'
,
},
{
{
itemName
:
'订单'
,
itemName
:
'订单'
,
itemType
:
'item1'
,
itemType
:
'item1'
,
...
@@ -75,6 +89,8 @@ export default class OrderCalendarNavigationService extends ControlService {
...
@@ -75,6 +89,8 @@ export default class OrderCalendarNavigationService extends ControlService {
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
let
promises
:
any
=
[];
let
promises
:
any
=
[];
let
tempRequest
:
any
;
let
tempRequest
:
any
;
tempRequest
=
this
.
handleRequestData
(
action
,
context
,
data
,
true
,
"book"
);
promises
.
push
(
this
.
ibizbookService
.
FetchDefault
(
tempRequest
.
context
,
tempRequest
.
data
,
isloading
));
tempRequest
=
this
.
handleRequestData
(
action
,
context
,
data
,
true
,
"item1"
);
tempRequest
=
this
.
handleRequestData
(
action
,
context
,
data
,
true
,
"item1"
);
promises
.
push
(
this
.
appEntityService
.
FetchDefault
(
tempRequest
.
context
,
tempRequest
.
data
,
isloading
));
promises
.
push
(
this
.
appEntityService
.
FetchDefault
(
tempRequest
.
context
,
tempRequest
.
data
,
isloading
));
Promise
.
all
(
promises
).
then
((
resArray
:
any
)
=>
{
Promise
.
all
(
promises
).
then
((
resArray
:
any
)
=>
{
...
@@ -126,6 +142,10 @@ export default class OrderCalendarNavigationService extends ControlService {
...
@@ -126,6 +142,10 @@ export default class OrderCalendarNavigationService extends ControlService {
let
result
:
any
;
let
result
:
any
;
let
tempRequest
:
any
;
let
tempRequest
:
any
;
switch
(
itemType
)
{
switch
(
itemType
)
{
case
"book"
:
tempRequest
=
this
.
handleRequestData
(
""
,
context
,
data
,
false
,
"book"
);
result
=
this
.
ibizbookService
.
Update
(
tempRequest
.
context
,
tempRequest
.
data
,
isloading
);
break
;
case
"item1"
:
case
"item1"
:
tempRequest
=
this
.
handleRequestData
(
""
,
context
,
data
,
false
,
"item1"
);
tempRequest
=
this
.
handleRequestData
(
""
,
context
,
data
,
false
,
"item1"
);
result
=
this
.
appEntityService
.
Update
(
tempRequest
.
context
,
tempRequest
.
data
,
isloading
);
result
=
this
.
appEntityService
.
Update
(
tempRequest
.
context
,
tempRequest
.
data
,
isloading
);
...
...
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZOrder/PSCALENDARS/OrderCalendarNavigation.json
浏览文件 @
12013cea
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
"dynaModelFilePath"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZOrder/PSCALENDARS/OrderCalendarNavigation.json"
,
"dynaModelFilePath"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZOrder/PSCALENDARS/OrderCalendarNavigation.json"
,
"groupMode"
:
"NONE"
,
"groupMode"
:
"NONE"
,
"hookEventNames"
:
[
"SELECTIONCHANGE"
,
"LOAD"
],
"hookEventNames"
:
[
"SELECTIONCHANGE"
,
"LOAD"
],
"legendPos"
:
"
NONE
"
,
"legendPos"
:
"
TOP
"
,
"logicName"
:
"订单日历导航"
,
"logicName"
:
"订单日历导航"
,
"mOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDER/pssyscalendars/OrderCalendarNavigation"
,
"mOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDER/pssyscalendars/OrderCalendarNavigation"
,
"getPSAppDataEntity"
:
{
"getPSAppDataEntity"
:
{
...
@@ -24,6 +24,39 @@
...
@@ -24,6 +24,39 @@
"name"
:
"calendarexpbar_load"
"name"
:
"calendarexpbar_load"
}
],
}
],
"getPSSysCalendarItems"
:
[
{
"getPSSysCalendarItems"
:
[
{
"bKColor"
:
"rgba(248, 209, 37, 1)"
,
"getBeginTimePSAppDEField"
:
{
"name"
:
"LENDOUTTIME"
,
"codeName"
:
"Lendouttime"
},
"color"
:
"rgba(170, 230, 145, 1)"
,
"getEndTimePSAppDEField"
:
{
"name"
:
"RETURNTIME"
,
"codeName"
:
"Returntime"
},
"getIdPSAppDEField"
:
{
"name"
:
"IBIZBOOKID"
,
"codeName"
:
"IBIZBOOKId"
},
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"book"
,
"maxSize"
:
-1
,
"name"
:
"图书"
,
"getPSAppDEDataSet"
:
{
"modelref"
:
true
,
"id"
:
"FetchDefault"
},
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"getTextPSAppDEField"
:
{
"name"
:
"IBIZBOOKNAME"
,
"codeName"
:
"IBIZBOOKName"
},
"enableQuickCreate"
:
false
,
"id"
:
"book"
},
{
"bKColor"
:
"rgba(188, 190, 197, 1)"
,
"bKColor"
:
"rgba(188, 190, 197, 1)"
,
"getBeginTimePSAppDEField"
:
{
"getBeginTimePSAppDEField"
:
{
"name"
:
"STARTTIME"
,
"name"
:
"STARTTIME"
,
...
...
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZOrderCalendarExpView.json
浏览文件 @
12013cea
...
@@ -196,7 +196,7 @@
...
@@ -196,7 +196,7 @@
"dynaModelFilePath"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZOrder/PSCALENDARS/OrderCalendarNavigation.json"
,
"dynaModelFilePath"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZOrder/PSCALENDARS/OrderCalendarNavigation.json"
,
"groupMode"
:
"NONE"
,
"groupMode"
:
"NONE"
,
"hookEventNames"
:
[
"SELECTIONCHANGE"
,
"LOAD"
],
"hookEventNames"
:
[
"SELECTIONCHANGE"
,
"LOAD"
],
"legendPos"
:
"
NONE
"
,
"legendPos"
:
"
TOP
"
,
"logicName"
:
"订单日历导航"
,
"logicName"
:
"订单日历导航"
,
"mOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDER/pssyscalendars/OrderCalendarNavigation"
,
"mOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDER/pssyscalendars/OrderCalendarNavigation"
,
"getPSAppDataEntity"
:
{
"getPSAppDataEntity"
:
{
...
@@ -224,6 +224,39 @@
...
@@ -224,6 +224,39 @@
"id"
:
"calendarexpbar_calendar"
"id"
:
"calendarexpbar_calendar"
},
},
"getPSSysCalendarItems"
:
[
{
"getPSSysCalendarItems"
:
[
{
"bKColor"
:
"rgba(248, 209, 37, 1)"
,
"getBeginTimePSAppDEField"
:
{
"name"
:
"LENDOUTTIME"
,
"codeName"
:
"Lendouttime"
},
"color"
:
"rgba(170, 230, 145, 1)"
,
"getEndTimePSAppDEField"
:
{
"name"
:
"RETURNTIME"
,
"codeName"
:
"Returntime"
},
"getIdPSAppDEField"
:
{
"name"
:
"IBIZBOOKID"
,
"codeName"
:
"IBIZBOOKId"
},
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"book"
,
"maxSize"
:
-1
,
"name"
:
"图书"
,
"getPSAppDEDataSet"
:
{
"modelref"
:
true
,
"id"
:
"FetchDefault"
},
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"getTextPSAppDEField"
:
{
"name"
:
"IBIZBOOKNAME"
,
"codeName"
:
"IBIZBOOKName"
},
"enableQuickCreate"
:
false
,
"id"
:
"book"
},
{
"bKColor"
:
"rgba(188, 190, 197, 1)"
,
"bKColor"
:
"rgba(188, 190, 197, 1)"
,
"getBeginTimePSAppDEField"
:
{
"getBeginTimePSAppDEField"
:
{
"name"
:
"STARTTIME"
,
"name"
:
"STARTTIME"
,
...
...
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZOrderCalendarExpView_layout.json
浏览文件 @
12013cea
...
@@ -196,7 +196,7 @@
...
@@ -196,7 +196,7 @@
"dynaModelFilePath"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZOrder/PSCALENDARS/OrderCalendarNavigation.json"
,
"dynaModelFilePath"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZOrder/PSCALENDARS/OrderCalendarNavigation.json"
,
"groupMode"
:
"NONE"
,
"groupMode"
:
"NONE"
,
"hookEventNames"
:
[
"SELECTIONCHANGE"
,
"LOAD"
],
"hookEventNames"
:
[
"SELECTIONCHANGE"
,
"LOAD"
],
"legendPos"
:
"
NONE
"
,
"legendPos"
:
"
TOP
"
,
"logicName"
:
"订单日历导航"
,
"logicName"
:
"订单日历导航"
,
"mOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDER/pssyscalendars/OrderCalendarNavigation"
,
"mOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDER/pssyscalendars/OrderCalendarNavigation"
,
"getPSAppDataEntity"
:
{
"getPSAppDataEntity"
:
{
...
@@ -224,6 +224,39 @@
...
@@ -224,6 +224,39 @@
"id"
:
"calendarexpbar_calendar"
"id"
:
"calendarexpbar_calendar"
},
},
"getPSSysCalendarItems"
:
[
{
"getPSSysCalendarItems"
:
[
{
"bKColor"
:
"rgba(248, 209, 37, 1)"
,
"getBeginTimePSAppDEField"
:
{
"name"
:
"LENDOUTTIME"
,
"codeName"
:
"Lendouttime"
},
"color"
:
"rgba(170, 230, 145, 1)"
,
"getEndTimePSAppDEField"
:
{
"name"
:
"RETURNTIME"
,
"codeName"
:
"Returntime"
},
"getIdPSAppDEField"
:
{
"name"
:
"IBIZBOOKID"
,
"codeName"
:
"IBIZBOOKId"
},
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"book"
,
"maxSize"
:
-1
,
"name"
:
"图书"
,
"getPSAppDEDataSet"
:
{
"modelref"
:
true
,
"id"
:
"FetchDefault"
},
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"getTextPSAppDEField"
:
{
"name"
:
"IBIZBOOKNAME"
,
"codeName"
:
"IBIZBOOKName"
},
"enableQuickCreate"
:
false
,
"id"
:
"book"
},
{
"bKColor"
:
"rgba(188, 190, 197, 1)"
,
"bKColor"
:
"rgba(188, 190, 197, 1)"
,
"getBeginTimePSAppDEField"
:
{
"getBeginTimePSAppDEField"
:
{
"name"
:
"STARTTIME"
,
"name"
:
"STARTTIME"
,
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录