Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
功
功能演示系统
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
示例
功能演示系统
提交
418eb20f
提交
418eb20f
编写于
2年前
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Mosher 发布系统代码 [后台服务,演示应用]
上级
54e55ad8
变更
44
展开全部
隐藏空白字符变更
内嵌
并排
正在显示
44 个修改的文件
包含
382 行增加
和
209 行删除
+382
-209
ctrl-amount-list-base.vue
...ts/ibizappctrl/ctrl-amount-list/ctrl-amount-list-base.vue
+1
-1
ctrl-list-list-base.vue
...idgets/ibizappctrl/ctrl-list-list/ctrl-list-list-base.vue
+1
-1
editor-amount-list-base.vue
...zappeditor/editor-amount-list/editor-amount-list-base.vue
+1
-1
editor-list-list-base.vue
.../ibizappeditor/editor-list-list/editor-list-list-base.vue
+1
-1
extend-editor-amount-list-base.vue
...end-editor-amount-list/extend-editor-amount-list-base.vue
+1
-1
extend-editor-list-list-base.vue
.../extend-editor-list-list/extend-editor-list-list-base.vue
+1
-1
view-amount-list-base.vue
...ts/ibizappview/view-amount-list/view-amount-list-base.vue
+1
-1
view-list-list-base.vue
...idgets/ibizappview/view-list-list/view-list-list-base.vue
+1
-1
auto-group-list-list-base.vue
...izbook/auto-group-list-list/auto-group-list-list-base.vue
+1
-1
booklist-list-base.vue
...src/widgets/ibizbook/booklist-list/booklist-list-base.vue
+1
-1
data-view-exp-viewdataviewexpbar-dataviewexpbar-base.vue
.../data-view-exp-viewdataviewexpbar-dataviewexpbar-base.vue
+8
-2
group-by-codelist-kan-ban-kanban-base.vue
...-kan-ban-kanban/group-by-codelist-kan-ban-kanban-base.vue
+66
-42
group-by-codelist-list-list-base.vue
...y-codelist-list-list/group-by-codelist-list-list-base.vue
+1
-1
has-panel-kan-ban-kanban-base.vue
...as-panel-kan-ban-kanban/has-panel-kan-ban-kanban-base.vue
+66
-42
has-panel-list-list-base.vue
...ibizbook/has-panel-list-list/has-panel-list-list-base.vue
+1
-1
inter-func-kanban-kanban-base.vue
...nter-func-kanban-kanban/inter-func-kanban-kanban-base.vue
+66
-42
listpanel-list-base.vue
...c/widgets/ibizbook/listpanel-list/listpanel-list-base.vue
+1
-1
lnternal-func-list-list-base.vue
.../lnternal-func-list-list/lnternal-func-list-list-base.vue
+21
-21
major-state-list-list-base.vue
...book/major-state-list-list/major-state-list-list-base.vue
+1
-1
test-list-list-base.vue
...c/widgets/ibizbook/test-list-list/test-list-list-base.vue
+1
-1
usr-list-base.vue
app_Web/src/widgets/ibizbook/usr-list/usr-list-base.vue
+1
-1
usr4-dataview-base.vue
...src/widgets/ibizbook/usr4-dataview/usr4-dataview-base.vue
+4
-4
usr4-dataview-model.ts
...src/widgets/ibizbook/usr4-dataview/usr4-dataview-model.ts
+5
-0
order-details-list-list-base.vue
.../order-details-list-list/order-details-list-list-base.vue
+1
-1
order-details-money-list-base.vue
...rder-details-money-list/order-details-money-list-base.vue
+1
-1
order-details-total-list-base.vue
...rder-details-total-list/order-details-total-list-base.vue
+1
-1
order-details-type-list-base.vue
.../order-details-type-list/order-details-type-list-base.vue
+1
-1
calendar-exp-view-layoutcalendarexpbar-calendarexpbar-base.vue
...dar-exp-view-layoutcalendarexpbar-calendarexpbar-base.vue
+8
-2
calendar-exp-viewcalendarexpbar-calendarexpbar-base.vue
...r/calendar-exp-viewcalendarexpbar-calendarexpbar-base.vue
+8
-2
data-view-exp-view-layoutdataviewexpbar-dataviewexpbar-base.vue
...iew-exp-view-layoutdataviewexpbar-dataviewexpbar-base.vue
+8
-2
data-view-exp-viewdataviewexpbar-dataviewexpbar-base.vue
.../data-view-exp-viewdataviewexpbar-dataviewexpbar-base.vue
+8
-2
grid-exp-viewgridexpbar-gridexpbar-base.vue
...ar-gridexpbar/grid-exp-viewgridexpbar-gridexpbar-base.vue
+8
-2
list-exp-list-base.vue
...rc/widgets/ibizorder/list-exp-list/list-exp-list-base.vue
+5
-5
list-exp-view-layoutlistexpbar-listexpbar-base.vue
...expbar/list-exp-view-layoutlistexpbar-listexpbar-base.vue
+8
-2
list-exp-viewlistexpbar-listexpbar-base.vue
...ar-listexpbar/list-exp-viewlistexpbar-listexpbar-base.vue
+8
-2
test-custom-layout-panel-grid-exp-viewgridexpbar-gridexpbar-base.vue
...-layout-panel-grid-exp-viewgridexpbar-gridexpbar-base.vue
+8
-2
tree-exp-view-layouttreeexpbar-treeexpbar-base.vue
...expbar/tree-exp-view-layouttreeexpbar-treeexpbar-base.vue
+8
-2
tree-exp-viewtreeexpbar-treeexpbar-base.vue
...ar-treeexpbar/tree-exp-viewtreeexpbar-treeexpbar-base.vue
+8
-2
usr-list-base.vue
app_Web/src/widgets/ibizorder/usr-list/usr-list-base.vue
+1
-1
usr2-calendar-exp-viewcalendarexpbar-calendarexpbar-base.vue
...2-calendar-exp-viewcalendarexpbar-calendarexpbar-base.vue
+8
-2
f1-tree-exp-viewtreeexpbar-treeexpbar-base.vue
...treeexpbar/f1-tree-exp-viewtreeexpbar-treeexpbar-base.vue
+8
-2
f2-tree-exp-viewtreeexpbar-treeexpbar-base.vue
...treeexpbar/f2-tree-exp-viewtreeexpbar-treeexpbar-base.vue
+8
-2
f3-tree-exp-viewtreeexpbar-treeexpbar-base.vue
...treeexpbar/f3-tree-exp-viewtreeexpbar-treeexpbar-base.vue
+8
-2
f4-tree-exp-viewtreeexpbar-treeexpbar-base.vue
...treeexpbar/f4-tree-exp-viewtreeexpbar-treeexpbar-base.vue
+8
-2
未找到文件。
app_Web/src/widgets/ibizappctrl/ctrl-amount-list/ctrl-amount-list-base.vue
浏览文件 @
418eb20f
...
...
@@ -710,10 +710,10 @@ export default class CtrlAmountBase extends Vue implements ControlInterface {
this
.
$Notice
.
error
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.delDataFail'
)
as
string
)
+
','
+
response
.
info
});
return
;
}
this
.
$Notice
.
success
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.deleteSuccess'
)
as
string
)
});
if
(
!
(
await
this
.
handleCtrlEvents
(
'onremovesuccess'
,
{
data
:
response
.
data
})))
{
return
;
}
this
.
$Notice
.
success
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.deleteSuccess'
)
as
string
)
});
//删除items中已删除的项
datas
.
forEach
((
data
:
any
)
=>
{
this
.
items
.
some
((
item
:
any
,
index
:
number
)
=>
{
...
...
This diff is collapsed.
Click to expand it.
app_Web/src/widgets/ibizappctrl/ctrl-list-list/ctrl-list-list-base.vue
浏览文件 @
418eb20f
...
...
@@ -772,10 +772,10 @@ export default class CtrlListBase extends Vue implements ControlInterface {
this
.
$Notice
.
error
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.delDataFail'
)
as
string
)
+
','
+
response
.
info
});
return
;
}
this
.
$Notice
.
success
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.deleteSuccess'
)
as
string
)
});
if
(
!
(
await
this
.
handleCtrlEvents
(
'onremovesuccess'
,
{
data
:
response
.
data
})))
{
return
;
}
this
.
$Notice
.
success
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.deleteSuccess'
)
as
string
)
});
//删除items中已删除的项
datas
.
forEach
((
data
:
any
)
=>
{
this
.
items
.
some
((
item
:
any
,
index
:
number
)
=>
{
...
...
This diff is collapsed.
Click to expand it.
app_Web/src/widgets/ibizappeditor/editor-amount-list/editor-amount-list-base.vue
浏览文件 @
418eb20f
...
...
@@ -710,10 +710,10 @@ export default class EditorAmountBase extends Vue implements ControlInterface {
this
.
$Notice
.
error
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.delDataFail'
)
as
string
)
+
','
+
response
.
info
});
return
;
}
this
.
$Notice
.
success
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.deleteSuccess'
)
as
string
)
});
if
(
!
(
await
this
.
handleCtrlEvents
(
'onremovesuccess'
,
{
data
:
response
.
data
})))
{
return
;
}
this
.
$Notice
.
success
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.deleteSuccess'
)
as
string
)
});
//删除items中已删除的项
datas
.
forEach
((
data
:
any
)
=>
{
this
.
items
.
some
((
item
:
any
,
index
:
number
)
=>
{
...
...
This diff is collapsed.
Click to expand it.
app_Web/src/widgets/ibizappeditor/editor-list-list/editor-list-list-base.vue
浏览文件 @
418eb20f
...
...
@@ -772,10 +772,10 @@ export default class EditorListBase extends Vue implements ControlInterface {
this
.
$Notice
.
error
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.delDataFail'
)
as
string
)
+
','
+
response
.
info
});
return
;
}
this
.
$Notice
.
success
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.deleteSuccess'
)
as
string
)
});
if
(
!
(
await
this
.
handleCtrlEvents
(
'onremovesuccess'
,
{
data
:
response
.
data
})))
{
return
;
}
this
.
$Notice
.
success
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.deleteSuccess'
)
as
string
)
});
//删除items中已删除的项
datas
.
forEach
((
data
:
any
)
=>
{
this
.
items
.
some
((
item
:
any
,
index
:
number
)
=>
{
...
...
This diff is collapsed.
Click to expand it.
app_Web/src/widgets/ibizappextendeditor/extend-editor-amount-list/extend-editor-amount-list-base.vue
浏览文件 @
418eb20f
...
...
@@ -710,10 +710,10 @@ export default class ExtendEditorAmountBase extends Vue implements ControlInterf
this
.
$Notice
.
error
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.delDataFail'
)
as
string
)
+
','
+
response
.
info
});
return
;
}
this
.
$Notice
.
success
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.deleteSuccess'
)
as
string
)
});
if
(
!
(
await
this
.
handleCtrlEvents
(
'onremovesuccess'
,
{
data
:
response
.
data
})))
{
return
;
}
this
.
$Notice
.
success
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.deleteSuccess'
)
as
string
)
});
//删除items中已删除的项
datas
.
forEach
((
data
:
any
)
=>
{
this
.
items
.
some
((
item
:
any
,
index
:
number
)
=>
{
...
...
This diff is collapsed.
Click to expand it.
app_Web/src/widgets/ibizappextendeditor/extend-editor-list-list/extend-editor-list-list-base.vue
浏览文件 @
418eb20f
...
...
@@ -772,10 +772,10 @@ export default class ExtendEditorListBase extends Vue implements ControlInterfac
this
.
$Notice
.
error
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.delDataFail'
)
as
string
)
+
','
+
response
.
info
});
return
;
}
this
.
$Notice
.
success
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.deleteSuccess'
)
as
string
)
});
if
(
!
(
await
this
.
handleCtrlEvents
(
'onremovesuccess'
,
{
data
:
response
.
data
})))
{
return
;
}
this
.
$Notice
.
success
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.deleteSuccess'
)
as
string
)
});
//删除items中已删除的项
datas
.
forEach
((
data
:
any
)
=>
{
this
.
items
.
some
((
item
:
any
,
index
:
number
)
=>
{
...
...
This diff is collapsed.
Click to expand it.
app_Web/src/widgets/ibizappview/view-amount-list/view-amount-list-base.vue
浏览文件 @
418eb20f
...
...
@@ -710,10 +710,10 @@ export default class ViewAmountBase extends Vue implements ControlInterface {
this
.
$Notice
.
error
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.delDataFail'
)
as
string
)
+
','
+
response
.
info
});
return
;
}
this
.
$Notice
.
success
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.deleteSuccess'
)
as
string
)
});
if
(
!
(
await
this
.
handleCtrlEvents
(
'onremovesuccess'
,
{
data
:
response
.
data
})))
{
return
;
}
this
.
$Notice
.
success
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.deleteSuccess'
)
as
string
)
});
//删除items中已删除的项
datas
.
forEach
((
data
:
any
)
=>
{
this
.
items
.
some
((
item
:
any
,
index
:
number
)
=>
{
...
...
This diff is collapsed.
Click to expand it.
app_Web/src/widgets/ibizappview/view-list-list/view-list-list-base.vue
浏览文件 @
418eb20f
...
...
@@ -800,10 +800,10 @@ export default class ViewListBase extends Vue implements ControlInterface {
this
.
$Notice
.
error
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.delDataFail'
)
as
string
)
+
','
+
response
.
info
});
return
;
}
this
.
$Notice
.
success
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.deleteSuccess'
)
as
string
)
});
if
(
!
(
await
this
.
handleCtrlEvents
(
'onremovesuccess'
,
{
data
:
response
.
data
})))
{
return
;
}
this
.
$Notice
.
success
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.deleteSuccess'
)
as
string
)
});
//删除items中已删除的项
datas
.
forEach
((
data
:
any
)
=>
{
this
.
items
.
some
((
item
:
any
,
index
:
number
)
=>
{
...
...
This diff is collapsed.
Click to expand it.
app_Web/src/widgets/ibizbook/auto-group-list-list/auto-group-list-list-base.vue
浏览文件 @
418eb20f
...
...
@@ -936,10 +936,10 @@ export default class AutoGroupListBase extends Vue implements ControlInterface {
this
.
$Notice
.
error
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.delDataFail'
)
as
string
)
+
','
+
response
.
info
});
return
;
}
this
.
$Notice
.
success
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.deleteSuccess'
)
as
string
)
});
if
(
!
(
await
this
.
handleCtrlEvents
(
'onremovesuccess'
,
{
data
:
response
.
data
})))
{
return
;
}
this
.
$Notice
.
success
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.deleteSuccess'
)
as
string
)
});
//删除items中已删除的项
datas
.
forEach
((
data
:
any
)
=>
{
this
.
items
.
some
((
item
:
any
,
index
:
number
)
=>
{
...
...
This diff is collapsed.
Click to expand it.
app_Web/src/widgets/ibizbook/booklist-list/booklist-list-base.vue
浏览文件 @
418eb20f
...
...
@@ -730,10 +730,10 @@ export default class BooklistBase extends Vue implements ControlInterface {
this
.
$Notice
.
error
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.delDataFail'
)
as
string
)
+
','
+
response
.
info
});
return
;
}
this
.
$Notice
.
success
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.deleteSuccess'
)
as
string
)
});
if
(
!
(
await
this
.
handleCtrlEvents
(
'onremovesuccess'
,
{
data
:
response
.
data
})))
{
return
;
}
this
.
$Notice
.
success
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.deleteSuccess'
)
as
string
)
});
//删除items中已删除的项
datas
.
forEach
((
data
:
any
)
=>
{
this
.
items
.
some
((
item
:
any
,
index
:
number
)
=>
{
...
...
This diff is collapsed.
Click to expand it.
app_Web/src/widgets/ibizbook/data-view-exp-viewdataviewexpbar-dataviewexpbar/data-view-exp-viewdataviewexpbar-dataviewexpbar-base.vue
浏览文件 @
418eb20f
...
...
@@ -495,8 +495,14 @@ export default class DataViewExpViewdataviewexpbarBase extends Vue implements Co
viewparams
:
tempViewParam
}
}
this
.
calcToolbarItemState
(
false
);
this
.
$emit
(
'selectionchange'
,
navItem
);
this
.
handleCtrlEvents
(
'onselectionchange'
,
{
data
:
args
}).
then
((
res
:
boolean
)
=>
{
if
(
!
res
)
{
this
.
calcToolbarItemState
(
true
);
return
;
}
this
.
calcToolbarItemState
(
false
);
this
.
$emit
(
'selectionchange'
,
navItem
);
})
}
/**
...
...
This diff is collapsed.
Click to expand it.
app_Web/src/widgets/ibizbook/group-by-codelist-kan-ban-kanban/group-by-codelist-kan-ban-kanban-base.vue
浏览文件 @
418eb20f
...
...
@@ -545,7 +545,7 @@ export default class GroupByCodelistKanBanBase extends Vue implements ControlInt
* @param {boolean} [isReset=false] 是否重置items
* @memberof GroupByCodelistKanBanBase
*/
public
async
load
(
opt
:
any
=
{},
isReset
:
boolean
=
false
)
{
public
async
load
(
opt
:
any
=
{},
isReset
:
boolean
=
false
)
:
Promise
<
any
>
{
if
(
!
this
.
fetchAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKGroupByCodelistKanBanView'
+
(
this
.
$t
(
'app.kanban.notConfig.fetchAction'
)
as
string
)
});
return
;
...
...
@@ -567,14 +567,23 @@ export default class GroupByCodelistKanBanBase extends Vue implements ControlInt
let
tempViewParams
:
any
=
parentdata
.
viewparams
?
parentdata
.
viewparams
:{};
Object
.
assign
(
tempViewParams
,
JSON
.
parse
(
JSON
.
stringify
(
this
.
viewparams
)));
Object
.
assign
(
arg
,{
viewparams
:
tempViewParams
});
const
post
:
Promise
<
any
>
=
this
.
service
.
search
(
this
.
fetchAction
,
JSON
.
parse
(
JSON
.
stringify
(
this
.
context
)),
arg
,
this
.
showBusyIndicator
);
post
.
then
((
response
:
any
)
=>
{
if
(
!
(
await
this
.
handleCtrlEvents
(
'onbeforeload'
,
{
viewparams
:
arg
})))
{
return
;
}
try
{
const
response
=
await
this
.
service
.
search
(
this
.
fetchAction
,
JSON
.
parse
(
JSON
.
stringify
(
this
.
context
)),
arg
,
this
.
showBusyIndicator
);
if
(
!
response
||
response
.
status
!==
200
)
{
if
(
!
(
await
this
.
handleCtrlEvents
(
'onloaderror'
,
{
data
:
response
&&
response
.
data
?
response
.
data
:
[]
})))
{
return
;
}
if
(
response
.
data
&&
response
.
data
.
message
)
{
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
response
.
data
.
message
});
}
return
;
}
if
(
!
(
await
this
.
handleCtrlEvents
(
'onloadsuccess'
,
{
data
:
response
.
data
})))
{
return
;
}
const
data
:
any
=
response
.
data
;
if
(
!
this
.
isAddBehind
){
this
.
items
=
[];
...
...
@@ -597,12 +606,15 @@ export default class GroupByCodelistKanBanBase extends Vue implements ControlInt
if
(
this
.
isSelectFirstDefault
){
this
.
handleClick
(
this
.
items
[
0
]);
}
},
(
response
:
any
)
=>
{
}
catch
(
response
:
any
)
{
if
(
!
(
await
this
.
handleCtrlEvents
(
'onloaderror'
,
{
data
:
response
&&
response
.
data
?
response
.
data
:
[]
})))
{
return
;
}
if
(
response
&&
response
.
status
===
401
)
{
return
;
}
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
response
.
data
&&
response
.
data
.
message
?
response
.
data
.
message
:
""
});
}
);
}
}
/**
...
...
@@ -651,47 +663,54 @@ export default class GroupByCodelistKanBanBase extends Vue implements ControlInt
}
else
{
dataInfo
=
dataInfo
+
'...'
+
' 共'
+
_datas
.
length
+
'条数据'
;
}
const
removeData
=
()
=>
{
const
removeData
=
async
()
=>
{
let
keys
:
any
[]
=
[];
_datas
.
forEach
((
data
:
any
)
=>
{
keys
.
push
(
data
.
srfkey
);
});
let
_removeAction
=
keys
.
length
>
1
?
'removeBatch'
:
this
.
removeAction
;
const
context
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
context
));
const
post
:
Promise
<
any
>
=
this
.
service
.
delete
(
_removeAction
,
Object
.
assign
(
context
,{
ibizbook
:
keys
.
join
(
';'
)
}),
Object
.
assign
({
ibizbook
:
keys
.
join
(
';'
)
},{
viewparams
:
this
.
viewparams
}),
this
.
showBusyIndicator
);
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
post
.
then
((
response
:
any
)
=>
{
if
(
!
response
||
response
.
status
!==
200
)
{
this
.
$Notice
.
error
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.delDataFail'
)
as
string
)
+
','
+
response
.
info
});
if
(
!
(
await
this
.
handleCtrlEvents
(
'onbeforeremove'
,
{
data
:
datas
})))
{
return
;
}
try
{
const
response
:
any
=
await
this
.
service
.
delete
(
_removeAction
,
Object
.
assign
(
context
,{
ibizbook
:
keys
.
join
(
';'
)
}),
Object
.
assign
({
ibizbook
:
keys
.
join
(
';'
)
},{
viewparams
:
this
.
viewparams
}),
this
.
showBusyIndicator
);
if
(
!
response
||
response
.
status
!==
200
)
{
if
(
!
(
await
this
.
handleCtrlEvents
(
'onremoveerror'
,
{
data
:
response
&&
response
.
data
?
response
.
data
:
datas
})))
{
return
;
}
else
{
this
.
$Notice
.
success
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.deleteSuccess'
)
as
string
)
});
}
//删除items中已删除的项
_datas
.
forEach
((
data
:
any
)
=>
{
this
.
items
.
some
((
item
:
any
,
index
:
number
)
=>
{
if
(
Object
.
is
(
item
.
srfkey
,
data
.
srfkey
)){
this
.
items
.
splice
(
index
,
1
);
return
true
;
}
});
this
.
$Notice
.
error
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.delDataFail'
)
as
string
)
+
','
+
response
.
info
});
return
;
}
if
(
!
(
await
this
.
handleCtrlEvents
(
'onremovesuccess'
,
{
data
:
response
.
data
})))
{
return
;
}
this
.
$Notice
.
success
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.deleteSuccess'
)
as
string
)
});
//删除items中已删除的项
_datas
.
forEach
((
data
:
any
)
=>
{
this
.
items
.
some
((
item
:
any
,
index
:
number
)
=>
{
if
(
Object
.
is
(
item
.
srfkey
,
data
.
srfkey
)){
this
.
items
.
splice
(
index
,
1
);
return
true
;
}
});
this
.
$emit
(
'remove'
,
null
);
this
.
selections
=
[];
resolve
(
response
);
}).
catch
((
response
:
any
)
=>
{
if
(
response
&&
response
.
status
===
401
)
{
return
;
}
if
(
!
response
||
!
response
.
status
||
!
response
.
data
)
{
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
(
this
.
$t
(
'app.commonWords.sysException'
)
as
string
)
});
reject
(
response
);
return
;
}
reject
(
response
);
});
});
this
.
$emit
(
'remove'
,
null
);
this
.
selections
=
[];
return
response
;
}
catch
(
response
:
any
)
{
if
(
!
(
await
this
.
handleCtrlEvents
(
'onremoveerror'
,
{
data
:
response
&&
response
.
data
?
response
.
data
:
datas
})))
{
return
;
}
if
(
response
&&
response
.
status
===
401
)
{
return
;
}
if
(
!
response
||
!
response
.
status
||
!
response
.
data
)
{
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
(
this
.
$t
(
'app.commonWords.sysException'
)
as
string
)
});
}
return
response
;
}
}
dataInfo
=
dataInfo
.
replace
(
/
[
null
]
/g
,
''
).
replace
(
/
[
undefined
]
/g
,
''
).
replace
(
/
[
]
/g
,
''
);
...
...
@@ -862,13 +881,18 @@ export default class GroupByCodelistKanBanBase extends Vue implements ControlInt
*
*/
public
selectchange
()
{
this
.
selections
=
[];
this
.
items
.
map
((
item
:
any
)
=>
{
if
(
item
.
isselected
)
{
this
.
selections
.
push
(
item
);
this
.
handleCtrlEvents
(
'onselectionchange'
).
then
((
res
:
boolean
)
=>
{
if
(
!
res
)
{
return
;
}
});
this
.
$emit
(
'selectionchange'
,
this
.
selections
);
this
.
selections
=
[];
this
.
items
.
map
((
item
:
any
)
=>
{
if
(
item
.
isselected
)
{
this
.
selections
.
push
(
item
);
}
});
this
.
$emit
(
'selectionchange'
,
this
.
selections
);
})
}
/**
...
...
This diff is collapsed.
Click to expand it.
app_Web/src/widgets/ibizbook/group-by-codelist-list-list/group-by-codelist-list-list-base.vue
浏览文件 @
418eb20f
...
...
@@ -867,10 +867,10 @@ export default class GroupByCodelistListBase extends Vue implements ControlInter
this
.
$Notice
.
error
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.delDataFail'
)
as
string
)
+
','
+
response
.
info
});
return
;
}
this
.
$Notice
.
success
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.deleteSuccess'
)
as
string
)
});
if
(
!
(
await
this
.
handleCtrlEvents
(
'onremovesuccess'
,
{
data
:
response
.
data
})))
{
return
;
}
this
.
$Notice
.
success
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.deleteSuccess'
)
as
string
)
});
//删除items中已删除的项
datas
.
forEach
((
data
:
any
)
=>
{
this
.
items
.
some
((
item
:
any
,
index
:
number
)
=>
{
...
...
This diff is collapsed.
Click to expand it.
app_Web/src/widgets/ibizbook/has-panel-kan-ban-kanban/has-panel-kan-ban-kanban-base.vue
浏览文件 @
418eb20f
...
...
@@ -545,7 +545,7 @@ export default class HasPanelKanBanBase extends Vue implements ControlInterface
* @param {boolean} [isReset=false] 是否重置items
* @memberof HasPanelKanBanBase
*/
public
async
load
(
opt
:
any
=
{},
isReset
:
boolean
=
false
)
{
public
async
load
(
opt
:
any
=
{},
isReset
:
boolean
=
false
)
:
Promise
<
any
>
{
if
(
!
this
.
fetchAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKHasPanelKanBanView'
+
(
this
.
$t
(
'app.kanban.notConfig.fetchAction'
)
as
string
)
});
return
;
...
...
@@ -567,14 +567,23 @@ export default class HasPanelKanBanBase extends Vue implements ControlInterface
let
tempViewParams
:
any
=
parentdata
.
viewparams
?
parentdata
.
viewparams
:{};
Object
.
assign
(
tempViewParams
,
JSON
.
parse
(
JSON
.
stringify
(
this
.
viewparams
)));
Object
.
assign
(
arg
,{
viewparams
:
tempViewParams
});
const
post
:
Promise
<
any
>
=
this
.
service
.
search
(
this
.
fetchAction
,
JSON
.
parse
(
JSON
.
stringify
(
this
.
context
)),
arg
,
this
.
showBusyIndicator
);
post
.
then
((
response
:
any
)
=>
{
if
(
!
(
await
this
.
handleCtrlEvents
(
'onbeforeload'
,
{
viewparams
:
arg
})))
{
return
;
}
try
{
const
response
=
await
this
.
service
.
search
(
this
.
fetchAction
,
JSON
.
parse
(
JSON
.
stringify
(
this
.
context
)),
arg
,
this
.
showBusyIndicator
);
if
(
!
response
||
response
.
status
!==
200
)
{
if
(
!
(
await
this
.
handleCtrlEvents
(
'onloaderror'
,
{
data
:
response
&&
response
.
data
?
response
.
data
:
[]
})))
{
return
;
}
if
(
response
.
data
&&
response
.
data
.
message
)
{
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
response
.
data
.
message
});
}
return
;
}
if
(
!
(
await
this
.
handleCtrlEvents
(
'onloadsuccess'
,
{
data
:
response
.
data
})))
{
return
;
}
const
data
:
any
=
response
.
data
;
if
(
!
this
.
isAddBehind
){
this
.
items
=
[];
...
...
@@ -597,12 +606,15 @@ export default class HasPanelKanBanBase extends Vue implements ControlInterface
if
(
this
.
isSelectFirstDefault
){
this
.
handleClick
(
this
.
items
[
0
]);
}
},
(
response
:
any
)
=>
{
}
catch
(
response
:
any
)
{
if
(
!
(
await
this
.
handleCtrlEvents
(
'onloaderror'
,
{
data
:
response
&&
response
.
data
?
response
.
data
:
[]
})))
{
return
;
}
if
(
response
&&
response
.
status
===
401
)
{
return
;
}
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
response
.
data
&&
response
.
data
.
message
?
response
.
data
.
message
:
""
});
}
);
}
}
/**
...
...
@@ -651,47 +663,54 @@ export default class HasPanelKanBanBase extends Vue implements ControlInterface
}
else
{
dataInfo
=
dataInfo
+
'...'
+
' 共'
+
_datas
.
length
+
'条数据'
;
}
const
removeData
=
()
=>
{
const
removeData
=
async
()
=>
{
let
keys
:
any
[]
=
[];
_datas
.
forEach
((
data
:
any
)
=>
{
keys
.
push
(
data
.
srfkey
);
});
let
_removeAction
=
keys
.
length
>
1
?
'removeBatch'
:
this
.
removeAction
;
const
context
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
context
));
const
post
:
Promise
<
any
>
=
this
.
service
.
delete
(
_removeAction
,
Object
.
assign
(
context
,{
ibizbook
:
keys
.
join
(
';'
)
}),
Object
.
assign
({
ibizbook
:
keys
.
join
(
';'
)
},{
viewparams
:
this
.
viewparams
}),
this
.
showBusyIndicator
);
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
post
.
then
((
response
:
any
)
=>
{
if
(
!
response
||
response
.
status
!==
200
)
{
this
.
$Notice
.
error
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.delDataFail'
)
as
string
)
+
','
+
response
.
info
});
if
(
!
(
await
this
.
handleCtrlEvents
(
'onbeforeremove'
,
{
data
:
datas
})))
{
return
;
}
try
{
const
response
:
any
=
await
this
.
service
.
delete
(
_removeAction
,
Object
.
assign
(
context
,{
ibizbook
:
keys
.
join
(
';'
)
}),
Object
.
assign
({
ibizbook
:
keys
.
join
(
';'
)
},{
viewparams
:
this
.
viewparams
}),
this
.
showBusyIndicator
);
if
(
!
response
||
response
.
status
!==
200
)
{
if
(
!
(
await
this
.
handleCtrlEvents
(
'onremoveerror'
,
{
data
:
response
&&
response
.
data
?
response
.
data
:
datas
})))
{
return
;
}
else
{
this
.
$Notice
.
success
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.deleteSuccess'
)
as
string
)
});
}
//删除items中已删除的项
_datas
.
forEach
((
data
:
any
)
=>
{
this
.
items
.
some
((
item
:
any
,
index
:
number
)
=>
{
if
(
Object
.
is
(
item
.
srfkey
,
data
.
srfkey
)){
this
.
items
.
splice
(
index
,
1
);
return
true
;
}
});
this
.
$Notice
.
error
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.delDataFail'
)
as
string
)
+
','
+
response
.
info
});
return
;
}
if
(
!
(
await
this
.
handleCtrlEvents
(
'onremovesuccess'
,
{
data
:
response
.
data
})))
{
return
;
}
this
.
$Notice
.
success
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.deleteSuccess'
)
as
string
)
});
//删除items中已删除的项
_datas
.
forEach
((
data
:
any
)
=>
{
this
.
items
.
some
((
item
:
any
,
index
:
number
)
=>
{
if
(
Object
.
is
(
item
.
srfkey
,
data
.
srfkey
)){
this
.
items
.
splice
(
index
,
1
);
return
true
;
}
});
this
.
$emit
(
'remove'
,
null
);
this
.
selections
=
[];
resolve
(
response
);
}).
catch
((
response
:
any
)
=>
{
if
(
response
&&
response
.
status
===
401
)
{
return
;
}
if
(
!
response
||
!
response
.
status
||
!
response
.
data
)
{
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
(
this
.
$t
(
'app.commonWords.sysException'
)
as
string
)
});
reject
(
response
);
return
;
}
reject
(
response
);
});
});
this
.
$emit
(
'remove'
,
null
);
this
.
selections
=
[];
return
response
;
}
catch
(
response
:
any
)
{
if
(
!
(
await
this
.
handleCtrlEvents
(
'onremoveerror'
,
{
data
:
response
&&
response
.
data
?
response
.
data
:
datas
})))
{
return
;
}
if
(
response
&&
response
.
status
===
401
)
{
return
;
}
if
(
!
response
||
!
response
.
status
||
!
response
.
data
)
{
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
(
this
.
$t
(
'app.commonWords.sysException'
)
as
string
)
});
}
return
response
;
}
}
dataInfo
=
dataInfo
.
replace
(
/
[
null
]
/g
,
''
).
replace
(
/
[
undefined
]
/g
,
''
).
replace
(
/
[
]
/g
,
''
);
...
...
@@ -862,13 +881,18 @@ export default class HasPanelKanBanBase extends Vue implements ControlInterface
*
*/
public
selectchange
()
{
this
.
selections
=
[];
this
.
items
.
map
((
item
:
any
)
=>
{
if
(
item
.
isselected
)
{
this
.
selections
.
push
(
item
);
this
.
handleCtrlEvents
(
'onselectionchange'
).
then
((
res
:
boolean
)
=>
{
if
(
!
res
)
{
return
;
}
});
this
.
$emit
(
'selectionchange'
,
this
.
selections
);
this
.
selections
=
[];
this
.
items
.
map
((
item
:
any
)
=>
{
if
(
item
.
isselected
)
{
this
.
selections
.
push
(
item
);
}
});
this
.
$emit
(
'selectionchange'
,
this
.
selections
);
})
}
/**
...
...
This diff is collapsed.
Click to expand it.
app_Web/src/widgets/ibizbook/has-panel-list-list/has-panel-list-list-base.vue
浏览文件 @
418eb20f
...
...
@@ -724,10 +724,10 @@ export default class HasPanelListBase extends Vue implements ControlInterface {
this
.
$Notice
.
error
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.delDataFail'
)
as
string
)
+
','
+
response
.
info
});
return
;
}
this
.
$Notice
.
success
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.deleteSuccess'
)
as
string
)
});
if
(
!
(
await
this
.
handleCtrlEvents
(
'onremovesuccess'
,
{
data
:
response
.
data
})))
{
return
;
}
this
.
$Notice
.
success
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.deleteSuccess'
)
as
string
)
});
//删除items中已删除的项
datas
.
forEach
((
data
:
any
)
=>
{
this
.
items
.
some
((
item
:
any
,
index
:
number
)
=>
{
...
...
This diff is collapsed.
Click to expand it.
app_Web/src/widgets/ibizbook/inter-func-kanban-kanban/inter-func-kanban-kanban-base.vue
浏览文件 @
418eb20f
...
...
@@ -583,7 +583,7 @@ export default class InterFuncKanbanBase extends Vue implements ControlInterface
* @param {boolean} [isReset=false] 是否重置items
* @memberof InterFuncKanbanBase
*/
public
async
load
(
opt
:
any
=
{},
isReset
:
boolean
=
false
)
{
public
async
load
(
opt
:
any
=
{},
isReset
:
boolean
=
false
)
:
Promise
<
any
>
{
if
(
!
this
.
fetchAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKInterFuncKanBanView'
+
(
this
.
$t
(
'app.kanban.notConfig.fetchAction'
)
as
string
)
});
return
;
...
...
@@ -605,14 +605,23 @@ export default class InterFuncKanbanBase extends Vue implements ControlInterface
let
tempViewParams
:
any
=
parentdata
.
viewparams
?
parentdata
.
viewparams
:{};
Object
.
assign
(
tempViewParams
,
JSON
.
parse
(
JSON
.
stringify
(
this
.
viewparams
)));
Object
.
assign
(
arg
,{
viewparams
:
tempViewParams
});
const
post
:
Promise
<
any
>
=
this
.
service
.
search
(
this
.
fetchAction
,
JSON
.
parse
(
JSON
.
stringify
(
this
.
context
)),
arg
,
this
.
showBusyIndicator
);
post
.
then
((
response
:
any
)
=>
{
if
(
!
(
await
this
.
handleCtrlEvents
(
'onbeforeload'
,
{
viewparams
:
arg
})))
{
return
;
}
try
{
const
response
=
await
this
.
service
.
search
(
this
.
fetchAction
,
JSON
.
parse
(
JSON
.
stringify
(
this
.
context
)),
arg
,
this
.
showBusyIndicator
);
if
(
!
response
||
response
.
status
!==
200
)
{
if
(
!
(
await
this
.
handleCtrlEvents
(
'onloaderror'
,
{
data
:
response
&&
response
.
data
?
response
.
data
:
[]
})))
{
return
;
}
if
(
response
.
data
&&
response
.
data
.
message
)
{
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
response
.
data
.
message
});
}
return
;
}
if
(
!
(
await
this
.
handleCtrlEvents
(
'onloadsuccess'
,
{
data
:
response
.
data
})))
{
return
;
}
const
data
:
any
=
response
.
data
;
if
(
!
this
.
isAddBehind
){
this
.
items
=
[];
...
...
@@ -635,12 +644,15 @@ export default class InterFuncKanbanBase extends Vue implements ControlInterface
if
(
this
.
isSelectFirstDefault
){
this
.
handleClick
(
this
.
items
[
0
]);
}
},
(
response
:
any
)
=>
{
}
catch
(
response
:
any
)
{
if
(
!
(
await
this
.
handleCtrlEvents
(
'onloaderror'
,
{
data
:
response
&&
response
.
data
?
response
.
data
:
[]
})))
{
return
;
}
if
(
response
&&
response
.
status
===
401
)
{
return
;
}
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
response
.
data
&&
response
.
data
.
message
?
response
.
data
.
message
:
""
});
}
);
}
}
/**
...
...
@@ -689,47 +701,54 @@ export default class InterFuncKanbanBase extends Vue implements ControlInterface
}
else
{
dataInfo
=
dataInfo
+
'...'
+
' 共'
+
_datas
.
length
+
'条数据'
;
}
const
removeData
=
()
=>
{
const
removeData
=
async
()
=>
{
let
keys
:
any
[]
=
[];
_datas
.
forEach
((
data
:
any
)
=>
{
keys
.
push
(
data
.
srfkey
);
});
let
_removeAction
=
keys
.
length
>
1
?
'removeBatch'
:
this
.
removeAction
;
const
context
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
context
));
const
post
:
Promise
<
any
>
=
this
.
service
.
delete
(
_removeAction
,
Object
.
assign
(
context
,{
ibizbook
:
keys
.
join
(
';'
)
}),
Object
.
assign
({
ibizbook
:
keys
.
join
(
';'
)
},{
viewparams
:
this
.
viewparams
}),
this
.
showBusyIndicator
);
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
post
.
then
((
response
:
any
)
=>
{
if
(
!
response
||
response
.
status
!==
200
)
{
this
.
$Notice
.
error
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.delDataFail'
)
as
string
)
+
','
+
response
.
info
});
if
(
!
(
await
this
.
handleCtrlEvents
(
'onbeforeremove'
,
{
data
:
datas
})))
{
return
;
}
try
{
const
response
:
any
=
await
this
.
service
.
delete
(
_removeAction
,
Object
.
assign
(
context
,{
ibizbook
:
keys
.
join
(
';'
)
}),
Object
.
assign
({
ibizbook
:
keys
.
join
(
';'
)
},{
viewparams
:
this
.
viewparams
}),
this
.
showBusyIndicator
);
if
(
!
response
||
response
.
status
!==
200
)
{
if
(
!
(
await
this
.
handleCtrlEvents
(
'onremoveerror'
,
{
data
:
response
&&
response
.
data
?
response
.
data
:
datas
})))
{
return
;
}
else
{
this
.
$Notice
.
success
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.deleteSuccess'
)
as
string
)
});
}
//删除items中已删除的项
_datas
.
forEach
((
data
:
any
)
=>
{
this
.
items
.
some
((
item
:
any
,
index
:
number
)
=>
{
if
(
Object
.
is
(
item
.
srfkey
,
data
.
srfkey
)){
this
.
items
.
splice
(
index
,
1
);
return
true
;
}
});
this
.
$Notice
.
error
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.delDataFail'
)
as
string
)
+
','
+
response
.
info
});
return
;
}
if
(
!
(
await
this
.
handleCtrlEvents
(
'onremovesuccess'
,
{
data
:
response
.
data
})))
{
return
;
}
this
.
$Notice
.
success
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.deleteSuccess'
)
as
string
)
});
//删除items中已删除的项
_datas
.
forEach
((
data
:
any
)
=>
{
this
.
items
.
some
((
item
:
any
,
index
:
number
)
=>
{
if
(
Object
.
is
(
item
.
srfkey
,
data
.
srfkey
)){
this
.
items
.
splice
(
index
,
1
);
return
true
;
}
});
this
.
$emit
(
'remove'
,
null
);
this
.
selections
=
[];
resolve
(
response
);
}).
catch
((
response
:
any
)
=>
{
if
(
response
&&
response
.
status
===
401
)
{
return
;
}
if
(
!
response
||
!
response
.
status
||
!
response
.
data
)
{
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
(
this
.
$t
(
'app.commonWords.sysException'
)
as
string
)
});
reject
(
response
);
return
;
}
reject
(
response
);
});
});
this
.
$emit
(
'remove'
,
null
);
this
.
selections
=
[];
return
response
;
}
catch
(
response
:
any
)
{
if
(
!
(
await
this
.
handleCtrlEvents
(
'onremoveerror'
,
{
data
:
response
&&
response
.
data
?
response
.
data
:
datas
})))
{
return
;
}
if
(
response
&&
response
.
status
===
401
)
{
return
;
}
if
(
!
response
||
!
response
.
status
||
!
response
.
data
)
{
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
(
this
.
$t
(
'app.commonWords.sysException'
)
as
string
)
});
}
return
response
;
}
}
dataInfo
=
dataInfo
.
replace
(
/
[
null
]
/g
,
''
).
replace
(
/
[
undefined
]
/g
,
''
).
replace
(
/
[
]
/g
,
''
);
...
...
@@ -900,13 +919,18 @@ export default class InterFuncKanbanBase extends Vue implements ControlInterface
*
*/
public
selectchange
()
{
this
.
selections
=
[];
this
.
items
.
map
((
item
:
any
)
=>
{
if
(
item
.
isselected
)
{
this
.
selections
.
push
(
item
);
this
.
handleCtrlEvents
(
'onselectionchange'
).
then
((
res
:
boolean
)
=>
{
if
(
!
res
)
{
return
;
}
});
this
.
$emit
(
'selectionchange'
,
this
.
selections
);
this
.
selections
=
[];
this
.
items
.
map
((
item
:
any
)
=>
{
if
(
item
.
isselected
)
{
this
.
selections
.
push
(
item
);
}
});
this
.
$emit
(
'selectionchange'
,
this
.
selections
);
})
}
/**
...
...
This diff is collapsed.
Click to expand it.
app_Web/src/widgets/ibizbook/listpanel-list/listpanel-list-base.vue
浏览文件 @
418eb20f
...
...
@@ -724,10 +724,10 @@ export default class ListpanelBase extends Vue implements ControlInterface {
this
.
$Notice
.
error
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.delDataFail'
)
as
string
)
+
','
+
response
.
info
});
return
;
}
this
.
$Notice
.
success
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.deleteSuccess'
)
as
string
)
});
if
(
!
(
await
this
.
handleCtrlEvents
(
'onremovesuccess'
,
{
data
:
response
.
data
})))
{
return
;
}
this
.
$Notice
.
success
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.deleteSuccess'
)
as
string
)
});
//删除items中已删除的项
datas
.
forEach
((
data
:
any
)
=>
{
this
.
items
.
some
((
item
:
any
,
index
:
number
)
=>
{
...
...
This diff is collapsed.
Click to expand it.
app_Web/src/widgets/ibizbook/lnternal-func-list-list/lnternal-func-list-list-base.vue
浏览文件 @
418eb20f
此差异已折叠。
点击以展开。
app_Web/src/widgets/ibizbook/major-state-list-list/major-state-list-list-base.vue
浏览文件 @
418eb20f
...
...
@@ -800,10 +800,10 @@ export default class MajorStateListBase extends Vue implements ControlInterface
this
.
$Notice
.
error
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.delDataFail'
)
as
string
)
+
','
+
response
.
info
});
return
;
}
this
.
$Notice
.
success
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.deleteSuccess'
)
as
string
)
});
if
(
!
(
await
this
.
handleCtrlEvents
(
'onremovesuccess'
,
{
data
:
response
.
data
})))
{
return
;
}
this
.
$Notice
.
success
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.deleteSuccess'
)
as
string
)
});
//删除items中已删除的项
datas
.
forEach
((
data
:
any
)
=>
{
this
.
items
.
some
((
item
:
any
,
index
:
number
)
=>
{
...
...
This diff is collapsed.
Click to expand it.
app_Web/src/widgets/ibizbook/test-list-list/test-list-list-base.vue
浏览文件 @
418eb20f
...
...
@@ -724,10 +724,10 @@ export default class TestListBase extends Vue implements ControlInterface {
this
.
$Notice
.
error
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.delDataFail'
)
as
string
)
+
','
+
response
.
info
});
return
;
}
this
.
$Notice
.
success
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.deleteSuccess'
)
as
string
)
});
if
(
!
(
await
this
.
handleCtrlEvents
(
'onremovesuccess'
,
{
data
:
response
.
data
})))
{
return
;
}
this
.
$Notice
.
success
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.deleteSuccess'
)
as
string
)
});
//删除items中已删除的项
datas
.
forEach
((
data
:
any
)
=>
{
this
.
items
.
some
((
item
:
any
,
index
:
number
)
=>
{
...
...
This diff is collapsed.
Click to expand it.
app_Web/src/widgets/ibizbook/usr-list/usr-list-base.vue
浏览文件 @
418eb20f
...
...
@@ -823,10 +823,10 @@ export default class UsrBase extends Vue implements ControlInterface {
this
.
$Notice
.
error
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.delDataFail'
)
as
string
)
+
','
+
response
.
info
});
return
;
}
this
.
$Notice
.
success
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.deleteSuccess'
)
as
string
)
});
if
(
!
(
await
this
.
handleCtrlEvents
(
'onremovesuccess'
,
{
data
:
response
.
data
})))
{
return
;
}
this
.
$Notice
.
success
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.deleteSuccess'
)
as
string
)
});
//删除items中已删除的项
datas
.
forEach
((
data
:
any
)
=>
{
this
.
items
.
some
((
item
:
any
,
index
:
number
)
=>
{
...
...
This diff is collapsed.
Click to expand it.
app_Web/src/widgets/ibizbook/usr4-dataview/usr4-dataview-base.vue
浏览文件 @
418eb20f
...
...
@@ -697,7 +697,7 @@ export default class Usr4Base extends Vue implements ControlInterface {
*/
public
async
load
(
opt
:
any
=
{},
isReset
:
boolean
=
false
):
Promise
<
any
>
{
if
(
!
this
.
fetchAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
TestCL
DataView'
+
(
this
.
$t
(
'app.list.notConfig.fetchAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Usr4
DataView'
+
(
this
.
$t
(
'app.list.notConfig.fetchAction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{...
opt
};
...
...
@@ -791,7 +791,7 @@ export default class Usr4Base extends Vue implements ControlInterface {
*/
public
async
remove
(
datas
:
any
[]):
Promise
<
any
>
{
if
(
!
this
.
removeAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
TestCL
DataView'
+
(
this
.
$t
(
'app.gridpage.notConfig.removeAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Usr4
DataView'
+
(
this
.
$t
(
'app.gridpage.notConfig.removeAction'
)
as
string
)
});
return
;
}
let
_datas
:
any
[]
=
[];
...
...
@@ -907,7 +907,7 @@ export default class Usr4Base extends Vue implements ControlInterface {
try
{
if
(
Object
.
is
(
item
.
rowDataState
,
'create'
)){
if
(
!
this
.
createAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
TestCL
DataView'
+
(
this
.
$t
(
'app.list.notConfig.createAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Usr4
DataView'
+
(
this
.
$t
(
'app.list.notConfig.createAction'
)
as
string
)
});
}
else
{
Object
.
assign
(
item
,{
viewparams
:
this
.
viewparams
});
let
response
=
await
this
.
service
.
add
(
this
.
createAction
,
JSON
.
parse
(
JSON
.
stringify
(
this
.
context
)),
item
,
this
.
showBusyIndicator
);
...
...
@@ -915,7 +915,7 @@ export default class Usr4Base extends Vue implements ControlInterface {
}
}
else
if
(
Object
.
is
(
item
.
rowDataState
,
'update'
)){
if
(
!
this
.
updateAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
TestCL
DataView'
+
(
this
.
$t
(
'app.list.notConfig.updateAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Usr4
DataView'
+
(
this
.
$t
(
'app.list.notConfig.updateAction'
)
as
string
)
});
}
else
{
Object
.
assign
(
item
,{
viewparams
:
this
.
viewparams
});
if
(
item
.
ibizbook
){
...
...
This diff is collapsed.
Click to expand it.
app_Web/src/widgets/ibizbook/usr4-dataview/usr4-dataview-model.ts
浏览文件 @
418eb20f
...
...
@@ -69,6 +69,11 @@ export default class Usr4Model {
prop
:
'n_ibizbookname_like'
,
dataType
:
'QUERYPARAM'
},
{
name
:
'n_price_gtandeq'
,
prop
:
'n_price_gtandeq'
,
dataType
:
'QUERYPARAM'
},
{
...
...
This diff is collapsed.
Click to expand it.
app_Web/src/widgets/ibizorder-detail/order-details-list-list/order-details-list-list-base.vue
浏览文件 @
418eb20f
...
...
@@ -744,10 +744,10 @@ export default class OrderDetailsListBase extends Vue implements ControlInterfac
this
.
$Notice
.
error
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.delDataFail'
)
as
string
)
+
','
+
response
.
info
});
return
;
}
this
.
$Notice
.
success
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.deleteSuccess'
)
as
string
)
});
if
(
!
(
await
this
.
handleCtrlEvents
(
'onremovesuccess'
,
{
data
:
response
.
data
})))
{
return
;
}
this
.
$Notice
.
success
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.deleteSuccess'
)
as
string
)
});
//删除items中已删除的项
datas
.
forEach
((
data
:
any
)
=>
{
this
.
items
.
some
((
item
:
any
,
index
:
number
)
=>
{
...
...
This diff is collapsed.
Click to expand it.
app_Web/src/widgets/ibizorder-detail/order-details-money-list/order-details-money-list-base.vue
浏览文件 @
418eb20f
...
...
@@ -703,10 +703,10 @@ export default class OrderDetailsMoneyBase extends Vue implements ControlInterfa
this
.
$Notice
.
error
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.delDataFail'
)
as
string
)
+
','
+
response
.
info
});
return
;
}
this
.
$Notice
.
success
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.deleteSuccess'
)
as
string
)
});
if
(
!
(
await
this
.
handleCtrlEvents
(
'onremovesuccess'
,
{
data
:
response
.
data
})))
{
return
;
}
this
.
$Notice
.
success
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.deleteSuccess'
)
as
string
)
});
//删除items中已删除的项
datas
.
forEach
((
data
:
any
)
=>
{
this
.
items
.
some
((
item
:
any
,
index
:
number
)
=>
{
...
...
This diff is collapsed.
Click to expand it.
app_Web/src/widgets/ibizorder-detail/order-details-total-list/order-details-total-list-base.vue
浏览文件 @
418eb20f
...
...
@@ -703,10 +703,10 @@ export default class OrderDetailsTotalBase extends Vue implements ControlInterfa
this
.
$Notice
.
error
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.delDataFail'
)
as
string
)
+
','
+
response
.
info
});
return
;
}
this
.
$Notice
.
success
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.deleteSuccess'
)
as
string
)
});
if
(
!
(
await
this
.
handleCtrlEvents
(
'onremovesuccess'
,
{
data
:
response
.
data
})))
{
return
;
}
this
.
$Notice
.
success
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.deleteSuccess'
)
as
string
)
});
//删除items中已删除的项
datas
.
forEach
((
data
:
any
)
=>
{
this
.
items
.
some
((
item
:
any
,
index
:
number
)
=>
{
...
...
This diff is collapsed.
Click to expand it.
app_Web/src/widgets/ibizorder-detail/order-details-type-list/order-details-type-list-base.vue
浏览文件 @
418eb20f
...
...
@@ -704,10 +704,10 @@ export default class OrderDetailsTypeBase extends Vue implements ControlInterfac
this
.
$Notice
.
error
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.delDataFail'
)
as
string
)
+
','
+
response
.
info
});
return
;
}
this
.
$Notice
.
success
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.deleteSuccess'
)
as
string
)
});
if
(
!
(
await
this
.
handleCtrlEvents
(
'onremovesuccess'
,
{
data
:
response
.
data
})))
{
return
;
}
this
.
$Notice
.
success
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.deleteSuccess'
)
as
string
)
});
//删除items中已删除的项
datas
.
forEach
((
data
:
any
)
=>
{
this
.
items
.
some
((
item
:
any
,
index
:
number
)
=>
{
...
...
This diff is collapsed.
Click to expand it.
app_Web/src/widgets/ibizorder/calendar-exp-view-layoutcalendarexpbar-calendarexpbar/calendar-exp-view-layoutcalendarexpbar-calendarexpbar-base.vue
浏览文件 @
418eb20f
...
...
@@ -576,8 +576,14 @@ export default class CalendarExpView_layoutcalendarexpbarBase extends Vue implem
viewparams
:
tempViewParam
}
}
this
.
calcToolbarItemState
(
false
);
this
.
$emit
(
'selectionchange'
,
navItem
);
this
.
handleCtrlEvents
(
'onselectionchange'
,
{
data
:
args
}).
then
((
res
:
boolean
)
=>
{
if
(
!
res
)
{
this
.
calcToolbarItemState
(
true
);
return
;
}
this
.
calcToolbarItemState
(
false
);
this
.
$emit
(
'selectionchange'
,
navItem
);
})
}
/**
...
...
This diff is collapsed.
Click to expand it.
app_Web/src/widgets/ibizorder/calendar-exp-viewcalendarexpbar-calendarexpbar/calendar-exp-viewcalendarexpbar-calendarexpbar-base.vue
浏览文件 @
418eb20f
...
...
@@ -576,8 +576,14 @@ export default class CalendarExpViewcalendarexpbarBase extends Vue implements Co
viewparams
:
tempViewParam
}
}
this
.
calcToolbarItemState
(
false
);
this
.
$emit
(
'selectionchange'
,
navItem
);
this
.
handleCtrlEvents
(
'onselectionchange'
,
{
data
:
args
}).
then
((
res
:
boolean
)
=>
{
if
(
!
res
)
{
this
.
calcToolbarItemState
(
true
);
return
;
}
this
.
calcToolbarItemState
(
false
);
this
.
$emit
(
'selectionchange'
,
navItem
);
})
}
/**
...
...
This diff is collapsed.
Click to expand it.
app_Web/src/widgets/ibizorder/data-view-exp-view-layoutdataviewexpbar-dataviewexpbar/data-view-exp-view-layoutdataviewexpbar-dataviewexpbar-base.vue
浏览文件 @
418eb20f
...
...
@@ -591,8 +591,14 @@ export default class DataViewExpView_layoutdataviewexpbarBase extends Vue implem
viewparams
:
tempViewParam
}
}
this
.
calcToolbarItemState
(
false
);
this
.
$emit
(
'selectionchange'
,
navItem
);
this
.
handleCtrlEvents
(
'onselectionchange'
,
{
data
:
args
}).
then
((
res
:
boolean
)
=>
{
if
(
!
res
)
{
this
.
calcToolbarItemState
(
true
);
return
;
}
this
.
calcToolbarItemState
(
false
);
this
.
$emit
(
'selectionchange'
,
navItem
);
})
}
/**
...
...
This diff is collapsed.
Click to expand it.
app_Web/src/widgets/ibizorder/data-view-exp-viewdataviewexpbar-dataviewexpbar/data-view-exp-viewdataviewexpbar-dataviewexpbar-base.vue
浏览文件 @
418eb20f
...
...
@@ -591,8 +591,14 @@ export default class DataViewExpViewdataviewexpbarBase extends Vue implements Co
viewparams
:
tempViewParam
}
}
this
.
calcToolbarItemState
(
false
);
this
.
$emit
(
'selectionchange'
,
navItem
);
this
.
handleCtrlEvents
(
'onselectionchange'
,
{
data
:
args
}).
then
((
res
:
boolean
)
=>
{
if
(
!
res
)
{
this
.
calcToolbarItemState
(
true
);
return
;
}
this
.
calcToolbarItemState
(
false
);
this
.
$emit
(
'selectionchange'
,
navItem
);
})
}
/**
...
...
This diff is collapsed.
Click to expand it.
app_Web/src/widgets/ibizorder/grid-exp-viewgridexpbar-gridexpbar/grid-exp-viewgridexpbar-gridexpbar-base.vue
浏览文件 @
418eb20f
...
...
@@ -589,8 +589,14 @@ export default class GridExpViewgridexpbarBase extends Vue implements ControlInt
viewparams
:
tempViewParam
}
}
this
.
calcToolbarItemState
(
false
);
this
.
$emit
(
'selectionchange'
,
navItem
);
this
.
handleCtrlEvents
(
'onselectionchange'
,
{
data
:
args
}).
then
((
res
:
boolean
)
=>
{
if
(
!
res
)
{
this
.
calcToolbarItemState
(
true
);
return
;
}
this
.
calcToolbarItemState
(
false
);
this
.
$emit
(
'selectionchange'
,
navItem
);
})
}
/**
...
...
This diff is collapsed.
Click to expand it.
app_Web/src/widgets/ibizorder/list-exp-list/list-exp-list-base.vue
浏览文件 @
418eb20f
...
...
@@ -600,7 +600,7 @@ export default class ListExpBase extends Vue implements ControlInterface {
*/
public
async
load
(
opt
:
any
=
{}):
Promise
<
any
>
{
if
(
!
this
.
fetchAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderListExpView'
+
(
this
.
$t
(
'app.list.notConfig.fetchAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderListExpView
_layout
'
+
(
this
.
$t
(
'app.list.notConfig.fetchAction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{...
opt
};
...
...
@@ -730,7 +730,7 @@ export default class ListExpBase extends Vue implements ControlInterface {
*/
public
async
remove
(
datas
:
any
[]):
Promise
<
any
>
{
if
(
!
this
.
removeAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderListExpView'
+
(
this
.
$t
(
'app.list.notConfig.removeAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderListExpView
_layout
'
+
(
this
.
$t
(
'app.list.notConfig.removeAction'
)
as
string
)
});
return
;
}
if
(
datas
.
length
===
0
)
{
...
...
@@ -774,10 +774,10 @@ export default class ListExpBase extends Vue implements ControlInterface {
this
.
$Notice
.
error
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.delDataFail'
)
as
string
)
+
','
+
response
.
info
});
return
;
}
this
.
$Notice
.
success
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.deleteSuccess'
)
as
string
)
});
if
(
!
(
await
this
.
handleCtrlEvents
(
'onremovesuccess'
,
{
data
:
response
.
data
})))
{
return
;
}
this
.
$Notice
.
success
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.deleteSuccess'
)
as
string
)
});
//删除items中已删除的项
datas
.
forEach
((
data
:
any
)
=>
{
this
.
items
.
some
((
item
:
any
,
index
:
number
)
=>
{
...
...
@@ -835,7 +835,7 @@ export default class ListExpBase extends Vue implements ControlInterface {
try
{
if
(
Object
.
is
(
item
.
rowDataState
,
'create'
)){
if
(
!
this
.
createAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderListExpView'
+
(
this
.
$t
(
'app.list.notConfig.createAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderListExpView
_layout
'
+
(
this
.
$t
(
'app.list.notConfig.createAction'
)
as
string
)
});
}
else
{
Object
.
assign
(
item
,{
viewparams
:
this
.
viewparams
});
let
response
=
await
this
.
service
.
add
(
this
.
createAction
,
JSON
.
parse
(
JSON
.
stringify
(
this
.
context
)),
item
,
this
.
showBusyIndicator
);
...
...
@@ -843,7 +843,7 @@ export default class ListExpBase extends Vue implements ControlInterface {
}
}
else
if
(
Object
.
is
(
item
.
rowDataState
,
'update'
)){
if
(
!
this
.
updateAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.warning'
)
as
string
),
desc
:
'IBIZOrderListExpView'
+
(
this
.
$t
(
'app.list.notConfig.updateAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.warning'
)
as
string
),
desc
:
'IBIZOrderListExpView
_layout
'
+
(
this
.
$t
(
'app.list.notConfig.updateAction'
)
as
string
)
});
}
else
{
Object
.
assign
(
item
,{
viewparams
:
this
.
viewparams
});
if
(
item
.
ibizorder
){
...
...
This diff is collapsed.
Click to expand it.
app_Web/src/widgets/ibizorder/list-exp-view-layoutlistexpbar-listexpbar/list-exp-view-layoutlistexpbar-listexpbar-base.vue
浏览文件 @
418eb20f
...
...
@@ -593,8 +593,14 @@ export default class ListExpView_layoutlistexpbarBase extends Vue implements Con
viewparams
:
tempViewParam
}
}
this
.
calcToolbarItemState
(
false
);
this
.
$emit
(
'selectionchange'
,
navItem
);
this
.
handleCtrlEvents
(
'onselectionchange'
,
{
data
:
args
}).
then
((
res
:
boolean
)
=>
{
if
(
!
res
)
{
this
.
calcToolbarItemState
(
true
);
return
;
}
this
.
calcToolbarItemState
(
false
);
this
.
$emit
(
'selectionchange'
,
navItem
);
})
}
/**
...
...
This diff is collapsed.
Click to expand it.
app_Web/src/widgets/ibizorder/list-exp-viewlistexpbar-listexpbar/list-exp-viewlistexpbar-listexpbar-base.vue
浏览文件 @
418eb20f
...
...
@@ -593,8 +593,14 @@ export default class ListExpViewlistexpbarBase extends Vue implements ControlInt
viewparams
:
tempViewParam
}
}
this
.
calcToolbarItemState
(
false
);
this
.
$emit
(
'selectionchange'
,
navItem
);
this
.
handleCtrlEvents
(
'onselectionchange'
,
{
data
:
args
}).
then
((
res
:
boolean
)
=>
{
if
(
!
res
)
{
this
.
calcToolbarItemState
(
true
);
return
;
}
this
.
calcToolbarItemState
(
false
);
this
.
$emit
(
'selectionchange'
,
navItem
);
})
}
/**
...
...
This diff is collapsed.
Click to expand it.
app_Web/src/widgets/ibizorder/test-custom-layout-panel-grid-exp-viewgridexpbar-gridexpbar/test-custom-layout-panel-grid-exp-viewgridexpbar-gridexpbar-base.vue
浏览文件 @
418eb20f
...
...
@@ -493,8 +493,14 @@ export default class TestCustomLayoutPanelGridExpViewgridexpbarBase extends Vue
viewparams
:
tempViewParam
}
}
this
.
calcToolbarItemState
(
false
);
this
.
$emit
(
'selectionchange'
,
navItem
);
this
.
handleCtrlEvents
(
'onselectionchange'
,
{
data
:
args
}).
then
((
res
:
boolean
)
=>
{
if
(
!
res
)
{
this
.
calcToolbarItemState
(
true
);
return
;
}
this
.
calcToolbarItemState
(
false
);
this
.
$emit
(
'selectionchange'
,
navItem
);
})
}
/**
...
...
This diff is collapsed.
Click to expand it.
app_Web/src/widgets/ibizorder/tree-exp-view-layouttreeexpbar-treeexpbar/tree-exp-view-layouttreeexpbar-treeexpbar-base.vue
浏览文件 @
418eb20f
...
...
@@ -510,8 +510,14 @@ export default class TreeExpView_layouttreeexpbarBase extends Vue implements Con
viewparams
:
tempViewparam
}
}
this
.
calcToolbarItemState
(
false
);
this
.
$emit
(
'selectionchange'
,
navItem
);
this
.
handleCtrlEvents
(
'onselectionchange'
,
{
data
:
args
}).
then
((
res
:
boolean
)
=>
{
if
(
!
res
)
{
this
.
calcToolbarItemState
(
true
);
return
;
}
this
.
calcToolbarItemState
(
false
);
this
.
$emit
(
'selectionchange'
,
navItem
);
})
}
/**
...
...
This diff is collapsed.
Click to expand it.
app_Web/src/widgets/ibizorder/tree-exp-viewtreeexpbar-treeexpbar/tree-exp-viewtreeexpbar-treeexpbar-base.vue
浏览文件 @
418eb20f
...
...
@@ -510,8 +510,14 @@ export default class TreeExpViewtreeexpbarBase extends Vue implements ControlInt
viewparams
:
tempViewparam
}
}
this
.
calcToolbarItemState
(
false
);
this
.
$emit
(
'selectionchange'
,
navItem
);
this
.
handleCtrlEvents
(
'onselectionchange'
,
{
data
:
args
}).
then
((
res
:
boolean
)
=>
{
if
(
!
res
)
{
this
.
calcToolbarItemState
(
true
);
return
;
}
this
.
calcToolbarItemState
(
false
);
this
.
$emit
(
'selectionchange'
,
navItem
);
})
}
/**
...
...
This diff is collapsed.
Click to expand it.
app_Web/src/widgets/ibizorder/usr-list/usr-list-base.vue
浏览文件 @
418eb20f
...
...
@@ -730,10 +730,10 @@ export default class UsrBase extends Vue implements ControlInterface {
this
.
$Notice
.
error
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.delDataFail'
)
as
string
)
+
','
+
response
.
info
});
return
;
}
this
.
$Notice
.
success
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.deleteSuccess'
)
as
string
)
});
if
(
!
(
await
this
.
handleCtrlEvents
(
'onremovesuccess'
,
{
data
:
response
.
data
})))
{
return
;
}
this
.
$Notice
.
success
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.deleteSuccess'
)
as
string
)
});
//删除items中已删除的项
datas
.
forEach
((
data
:
any
)
=>
{
this
.
items
.
some
((
item
:
any
,
index
:
number
)
=>
{
...
...
This diff is collapsed.
Click to expand it.
app_Web/src/widgets/ibizorder/usr2-calendar-exp-viewcalendarexpbar-calendarexpbar/usr2-calendar-exp-viewcalendarexpbar-calendarexpbar-base.vue
浏览文件 @
418eb20f
...
...
@@ -576,8 +576,14 @@ export default class Usr2CalendarExpViewcalendarexpbarBase extends Vue implement
viewparams
:
tempViewParam
}
}
this
.
calcToolbarItemState
(
false
);
this
.
$emit
(
'selectionchange'
,
navItem
);
this
.
handleCtrlEvents
(
'onselectionchange'
,
{
data
:
args
}).
then
((
res
:
boolean
)
=>
{
if
(
!
res
)
{
this
.
calcToolbarItemState
(
true
);
return
;
}
this
.
calcToolbarItemState
(
false
);
this
.
$emit
(
'selectionchange'
,
navItem
);
})
}
/**
...
...
This diff is collapsed.
Click to expand it.
app_Web/src/widgets/ibizsample0003/f1-tree-exp-viewtreeexpbar-treeexpbar/f1-tree-exp-viewtreeexpbar-treeexpbar-base.vue
浏览文件 @
418eb20f
...
...
@@ -426,8 +426,14 @@ export default class F1TreeExpViewtreeexpbarBase extends Vue implements ControlI
viewparams
:
tempViewparam
}
}
this
.
calcToolbarItemState
(
false
);
this
.
$emit
(
'selectionchange'
,
navItem
);
this
.
handleCtrlEvents
(
'onselectionchange'
,
{
data
:
args
}).
then
((
res
:
boolean
)
=>
{
if
(
!
res
)
{
this
.
calcToolbarItemState
(
true
);
return
;
}
this
.
calcToolbarItemState
(
false
);
this
.
$emit
(
'selectionchange'
,
navItem
);
})
}
/**
...
...
This diff is collapsed.
Click to expand it.
app_Web/src/widgets/ibizsample0003/f2-tree-exp-viewtreeexpbar-treeexpbar/f2-tree-exp-viewtreeexpbar-treeexpbar-base.vue
浏览文件 @
418eb20f
...
...
@@ -421,8 +421,14 @@ export default class F2TreeExpViewtreeexpbarBase extends Vue implements ControlI
viewparams
:
tempViewparam
}
}
this
.
calcToolbarItemState
(
false
);
this
.
$emit
(
'selectionchange'
,
navItem
);
this
.
handleCtrlEvents
(
'onselectionchange'
,
{
data
:
args
}).
then
((
res
:
boolean
)
=>
{
if
(
!
res
)
{
this
.
calcToolbarItemState
(
true
);
return
;
}
this
.
calcToolbarItemState
(
false
);
this
.
$emit
(
'selectionchange'
,
navItem
);
})
}
/**
...
...
This diff is collapsed.
Click to expand it.
app_Web/src/widgets/ibizsample0003/f3-tree-exp-viewtreeexpbar-treeexpbar/f3-tree-exp-viewtreeexpbar-treeexpbar-base.vue
浏览文件 @
418eb20f
...
...
@@ -419,8 +419,14 @@ export default class F3TreeExpViewtreeexpbarBase extends Vue implements ControlI
viewparams
:
tempViewparam
}
}
this
.
calcToolbarItemState
(
false
);
this
.
$emit
(
'selectionchange'
,
navItem
);
this
.
handleCtrlEvents
(
'onselectionchange'
,
{
data
:
args
}).
then
((
res
:
boolean
)
=>
{
if
(
!
res
)
{
this
.
calcToolbarItemState
(
true
);
return
;
}
this
.
calcToolbarItemState
(
false
);
this
.
$emit
(
'selectionchange'
,
navItem
);
})
}
/**
...
...
This diff is collapsed.
Click to expand it.
app_Web/src/widgets/ibizsample0003/f4-tree-exp-viewtreeexpbar-treeexpbar/f4-tree-exp-viewtreeexpbar-treeexpbar-base.vue
浏览文件 @
418eb20f
...
...
@@ -419,8 +419,14 @@ export default class F4TreeExpViewtreeexpbarBase extends Vue implements ControlI
viewparams
:
tempViewparam
}
}
this
.
calcToolbarItemState
(
false
);
this
.
$emit
(
'selectionchange'
,
navItem
);
this
.
handleCtrlEvents
(
'onselectionchange'
,
{
data
:
args
}).
then
((
res
:
boolean
)
=>
{
if
(
!
res
)
{
this
.
calcToolbarItemState
(
true
);
return
;
}
this
.
calcToolbarItemState
(
false
);
this
.
$emit
(
'selectionchange'
,
navItem
);
})
}
/**
...
...
This diff is collapsed.
Click to expand it.
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录