Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
功
功能演示系统
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
示例
功能演示系统
提交
418eb20f
提交
418eb20f
编写于
11月 11, 2022
作者:
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 {
...
@@ -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
});
this
.
$Notice
.
error
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.delDataFail'
)
as
string
)
+
','
+
response
.
info
});
return
;
return
;
}
}
this
.
$Notice
.
success
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.deleteSuccess'
)
as
string
)
});
if
(
!
(
await
this
.
handleCtrlEvents
(
'onremovesuccess'
,
{
data
:
response
.
data
})))
{
if
(
!
(
await
this
.
handleCtrlEvents
(
'onremovesuccess'
,
{
data
:
response
.
data
})))
{
return
;
return
;
}
}
this
.
$Notice
.
success
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.deleteSuccess'
)
as
string
)
});
//删除items中已删除的项
//删除items中已删除的项
datas
.
forEach
((
data
:
any
)
=>
{
datas
.
forEach
((
data
:
any
)
=>
{
this
.
items
.
some
((
item
:
any
,
index
:
number
)
=>
{
this
.
items
.
some
((
item
:
any
,
index
:
number
)
=>
{
...
...
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 {
...
@@ -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
});
this
.
$Notice
.
error
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.delDataFail'
)
as
string
)
+
','
+
response
.
info
});
return
;
return
;
}
}
this
.
$Notice
.
success
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.deleteSuccess'
)
as
string
)
});
if
(
!
(
await
this
.
handleCtrlEvents
(
'onremovesuccess'
,
{
data
:
response
.
data
})))
{
if
(
!
(
await
this
.
handleCtrlEvents
(
'onremovesuccess'
,
{
data
:
response
.
data
})))
{
return
;
return
;
}
}
this
.
$Notice
.
success
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.deleteSuccess'
)
as
string
)
});
//删除items中已删除的项
//删除items中已删除的项
datas
.
forEach
((
data
:
any
)
=>
{
datas
.
forEach
((
data
:
any
)
=>
{
this
.
items
.
some
((
item
:
any
,
index
:
number
)
=>
{
this
.
items
.
some
((
item
:
any
,
index
:
number
)
=>
{
...
...
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 {
...
@@ -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
});
this
.
$Notice
.
error
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.delDataFail'
)
as
string
)
+
','
+
response
.
info
});
return
;
return
;
}
}
this
.
$Notice
.
success
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.deleteSuccess'
)
as
string
)
});
if
(
!
(
await
this
.
handleCtrlEvents
(
'onremovesuccess'
,
{
data
:
response
.
data
})))
{
if
(
!
(
await
this
.
handleCtrlEvents
(
'onremovesuccess'
,
{
data
:
response
.
data
})))
{
return
;
return
;
}
}
this
.
$Notice
.
success
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.deleteSuccess'
)
as
string
)
});
//删除items中已删除的项
//删除items中已删除的项
datas
.
forEach
((
data
:
any
)
=>
{
datas
.
forEach
((
data
:
any
)
=>
{
this
.
items
.
some
((
item
:
any
,
index
:
number
)
=>
{
this
.
items
.
some
((
item
:
any
,
index
:
number
)
=>
{
...
...
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 {
...
@@ -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
});
this
.
$Notice
.
error
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.delDataFail'
)
as
string
)
+
','
+
response
.
info
});
return
;
return
;
}
}
this
.
$Notice
.
success
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.deleteSuccess'
)
as
string
)
});
if
(
!
(
await
this
.
handleCtrlEvents
(
'onremovesuccess'
,
{
data
:
response
.
data
})))
{
if
(
!
(
await
this
.
handleCtrlEvents
(
'onremovesuccess'
,
{
data
:
response
.
data
})))
{
return
;
return
;
}
}
this
.
$Notice
.
success
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.deleteSuccess'
)
as
string
)
});
//删除items中已删除的项
//删除items中已删除的项
datas
.
forEach
((
data
:
any
)
=>
{
datas
.
forEach
((
data
:
any
)
=>
{
this
.
items
.
some
((
item
:
any
,
index
:
number
)
=>
{
this
.
items
.
some
((
item
:
any
,
index
:
number
)
=>
{
...
...
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
...
@@ -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
});
this
.
$Notice
.
error
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.delDataFail'
)
as
string
)
+
','
+
response
.
info
});
return
;
return
;
}
}
this
.
$Notice
.
success
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.deleteSuccess'
)
as
string
)
});
if
(
!
(
await
this
.
handleCtrlEvents
(
'onremovesuccess'
,
{
data
:
response
.
data
})))
{
if
(
!
(
await
this
.
handleCtrlEvents
(
'onremovesuccess'
,
{
data
:
response
.
data
})))
{
return
;
return
;
}
}
this
.
$Notice
.
success
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.deleteSuccess'
)
as
string
)
});
//删除items中已删除的项
//删除items中已删除的项
datas
.
forEach
((
data
:
any
)
=>
{
datas
.
forEach
((
data
:
any
)
=>
{
this
.
items
.
some
((
item
:
any
,
index
:
number
)
=>
{
this
.
items
.
some
((
item
:
any
,
index
:
number
)
=>
{
...
...
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
...
@@ -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
});
this
.
$Notice
.
error
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.delDataFail'
)
as
string
)
+
','
+
response
.
info
});
return
;
return
;
}
}
this
.
$Notice
.
success
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.deleteSuccess'
)
as
string
)
});
if
(
!
(
await
this
.
handleCtrlEvents
(
'onremovesuccess'
,
{
data
:
response
.
data
})))
{
if
(
!
(
await
this
.
handleCtrlEvents
(
'onremovesuccess'
,
{
data
:
response
.
data
})))
{
return
;
return
;
}
}
this
.
$Notice
.
success
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.deleteSuccess'
)
as
string
)
});
//删除items中已删除的项
//删除items中已删除的项
datas
.
forEach
((
data
:
any
)
=>
{
datas
.
forEach
((
data
:
any
)
=>
{
this
.
items
.
some
((
item
:
any
,
index
:
number
)
=>
{
this
.
items
.
some
((
item
:
any
,
index
:
number
)
=>
{
...
...
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 {
...
@@ -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
});
this
.
$Notice
.
error
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.delDataFail'
)
as
string
)
+
','
+
response
.
info
});
return
;
return
;
}
}
this
.
$Notice
.
success
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.deleteSuccess'
)
as
string
)
});
if
(
!
(
await
this
.
handleCtrlEvents
(
'onremovesuccess'
,
{
data
:
response
.
data
})))
{
if
(
!
(
await
this
.
handleCtrlEvents
(
'onremovesuccess'
,
{
data
:
response
.
data
})))
{
return
;
return
;
}
}
this
.
$Notice
.
success
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.deleteSuccess'
)
as
string
)
});
//删除items中已删除的项
//删除items中已删除的项
datas
.
forEach
((
data
:
any
)
=>
{
datas
.
forEach
((
data
:
any
)
=>
{
this
.
items
.
some
((
item
:
any
,
index
:
number
)
=>
{
this
.
items
.
some
((
item
:
any
,
index
:
number
)
=>
{
...
...
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 {
...
@@ -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
});
this
.
$Notice
.
error
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.delDataFail'
)
as
string
)
+
','
+
response
.
info
});
return
;
return
;
}
}
this
.
$Notice
.
success
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.deleteSuccess'
)
as
string
)
});
if
(
!
(
await
this
.
handleCtrlEvents
(
'onremovesuccess'
,
{
data
:
response
.
data
})))
{
if
(
!
(
await
this
.
handleCtrlEvents
(
'onremovesuccess'
,
{
data
:
response
.
data
})))
{
return
;
return
;
}
}
this
.
$Notice
.
success
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.deleteSuccess'
)
as
string
)
});
//删除items中已删除的项
//删除items中已删除的项
datas
.
forEach
((
data
:
any
)
=>
{
datas
.
forEach
((
data
:
any
)
=>
{
this
.
items
.
some
((
item
:
any
,
index
:
number
)
=>
{
this
.
items
.
some
((
item
:
any
,
index
:
number
)
=>
{
...
...
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 {
...
@@ -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
});
this
.
$Notice
.
error
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.delDataFail'
)
as
string
)
+
','
+
response
.
info
});
return
;
return
;
}
}
this
.
$Notice
.
success
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.deleteSuccess'
)
as
string
)
});
if
(
!
(
await
this
.
handleCtrlEvents
(
'onremovesuccess'
,
{
data
:
response
.
data
})))
{
if
(
!
(
await
this
.
handleCtrlEvents
(
'onremovesuccess'
,
{
data
:
response
.
data
})))
{
return
;
return
;
}
}
this
.
$Notice
.
success
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.deleteSuccess'
)
as
string
)
});
//删除items中已删除的项
//删除items中已删除的项
datas
.
forEach
((
data
:
any
)
=>
{
datas
.
forEach
((
data
:
any
)
=>
{
this
.
items
.
some
((
item
:
any
,
index
:
number
)
=>
{
this
.
items
.
some
((
item
:
any
,
index
:
number
)
=>
{
...
...
app_Web/src/widgets/ibizbook/booklist-list/booklist-list-base.vue
浏览文件 @
418eb20f
...
@@ -730,10 +730,10 @@ export default class BooklistBase extends Vue implements ControlInterface {
...
@@ -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
});
this
.
$Notice
.
error
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.delDataFail'
)
as
string
)
+
','
+
response
.
info
});
return
;
return
;
}
}
this
.
$Notice
.
success
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.deleteSuccess'
)
as
string
)
});
if
(
!
(
await
this
.
handleCtrlEvents
(
'onremovesuccess'
,
{
data
:
response
.
data
})))
{
if
(
!
(
await
this
.
handleCtrlEvents
(
'onremovesuccess'
,
{
data
:
response
.
data
})))
{
return
;
return
;
}
}
this
.
$Notice
.
success
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.deleteSuccess'
)
as
string
)
});
//删除items中已删除的项
//删除items中已删除的项
datas
.
forEach
((
data
:
any
)
=>
{
datas
.
forEach
((
data
:
any
)
=>
{
this
.
items
.
some
((
item
:
any
,
index
:
number
)
=>
{
this
.
items
.
some
((
item
:
any
,
index
:
number
)
=>
{
...
...
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
...
@@ -495,8 +495,14 @@ export default class DataViewExpViewdataviewexpbarBase extends Vue implements Co
viewparams
:
tempViewParam
viewparams
:
tempViewParam
}
}
}
}
this
.
handleCtrlEvents
(
'onselectionchange'
,
{
data
:
args
}).
then
((
res
:
boolean
)
=>
{
if
(
!
res
)
{
this
.
calcToolbarItemState
(
true
);
return
;
}
this
.
calcToolbarItemState
(
false
);
this
.
calcToolbarItemState
(
false
);
this
.
$emit
(
'selectionchange'
,
navItem
);
this
.
$emit
(
'selectionchange'
,
navItem
);
})
}
}
/**
/**
...
...
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
...
@@ -545,7 +545,7 @@ export default class GroupByCodelistKanBanBase extends Vue implements ControlInt
* @param {boolean} [isReset=false] 是否重置items
* @param {boolean} [isReset=false] 是否重置items
* @memberof GroupByCodelistKanBanBase
* @memberof GroupByCodelistKanBanBase
*/
*/
public
async
load
(
opt
:
any
=
{},
isReset
:
boolean
=
false
)
{
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
:
'IBIZBOOKGroupByCodelistKanBanView'
+
(
this
.
$t
(
'app.kanban.notConfig.fetchAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKGroupByCodelistKanBanView'
+
(
this
.
$t
(
'app.kanban.notConfig.fetchAction'
)
as
string
)
});
return
;
return
;
...
@@ -567,14 +567,23 @@ export default class GroupByCodelistKanBanBase extends Vue implements ControlInt
...
@@ -567,14 +567,23 @@ export default class GroupByCodelistKanBanBase extends Vue implements ControlInt
let
tempViewParams
:
any
=
parentdata
.
viewparams
?
parentdata
.
viewparams
:{};
let
tempViewParams
:
any
=
parentdata
.
viewparams
?
parentdata
.
viewparams
:{};
Object
.
assign
(
tempViewParams
,
JSON
.
parse
(
JSON
.
stringify
(
this
.
viewparams
)));
Object
.
assign
(
tempViewParams
,
JSON
.
parse
(
JSON
.
stringify
(
this
.
viewparams
)));
Object
.
assign
(
arg
,{
viewparams
:
tempViewParams
});
Object
.
assign
(
arg
,{
viewparams
:
tempViewParams
});
const
post
:
Promise
<
any
>
=
this
.
service
.
search
(
this
.
fetchAction
,
JSON
.
parse
(
JSON
.
stringify
(
this
.
context
)),
arg
,
this
.
showBusyIndicator
);
if
(
!
(
await
this
.
handleCtrlEvents
(
'onbeforeload'
,
{
viewparams
:
arg
})))
{
post
.
then
((
response
:
any
)
=>
{
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
(
!
response
||
response
.
status
!==
200
)
{
if
(
!
(
await
this
.
handleCtrlEvents
(
'onloaderror'
,
{
data
:
response
&&
response
.
data
?
response
.
data
:
[]
})))
{
return
;
}
if
(
response
.
data
&&
response
.
data
.
message
)
{
if
(
response
.
data
&&
response
.
data
.
message
)
{
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
response
.
data
.
message
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
response
.
data
.
message
});
}
}
return
;
return
;
}
}
if
(
!
(
await
this
.
handleCtrlEvents
(
'onloadsuccess'
,
{
data
:
response
.
data
})))
{
return
;
}
const
data
:
any
=
response
.
data
;
const
data
:
any
=
response
.
data
;
if
(
!
this
.
isAddBehind
){
if
(
!
this
.
isAddBehind
){
this
.
items
=
[];
this
.
items
=
[];
...
@@ -597,12 +606,15 @@ export default class GroupByCodelistKanBanBase extends Vue implements ControlInt
...
@@ -597,12 +606,15 @@ export default class GroupByCodelistKanBanBase extends Vue implements ControlInt
if
(
this
.
isSelectFirstDefault
){
if
(
this
.
isSelectFirstDefault
){
this
.
handleClick
(
this
.
items
[
0
]);
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
)
{
if
(
response
&&
response
.
status
===
401
)
{
return
;
return
;
}
}
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
response
.
data
&&
response
.
data
.
message
?
response
.
data
.
message
:
""
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
response
.
data
&&
response
.
data
.
message
?
response
.
data
.
message
:
""
});
}
);
}
}
}
/**
/**
...
@@ -652,22 +664,29 @@ export default class GroupByCodelistKanBanBase extends Vue implements ControlInt
...
@@ -652,22 +664,29 @@ export default class GroupByCodelistKanBanBase extends Vue implements ControlInt
dataInfo
=
dataInfo
+
'...'
+
' 共'
+
_datas
.
length
+
'条数据'
;
dataInfo
=
dataInfo
+
'...'
+
' 共'
+
_datas
.
length
+
'条数据'
;
}
}
const
removeData
=
()
=>
{
const
removeData
=
async
()
=>
{
let
keys
:
any
[]
=
[];
let
keys
:
any
[]
=
[];
_datas
.
forEach
((
data
:
any
)
=>
{
_datas
.
forEach
((
data
:
any
)
=>
{
keys
.
push
(
data
.
srfkey
);
keys
.
push
(
data
.
srfkey
);
});
});
let
_removeAction
=
keys
.
length
>
1
?
'removeBatch'
:
this
.
removeAction
;
let
_removeAction
=
keys
.
length
>
1
?
'removeBatch'
:
this
.
removeAction
;
const
context
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
context
));
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
);
if
(
!
(
await
this
.
handleCtrlEvents
(
'onbeforeremove'
,
{
data
:
datas
})))
{
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
return
;
post
.
then
((
response
:
any
)
=>
{
}
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
(
!
response
||
response
.
status
!==
200
)
{
if
(
!
(
await
this
.
handleCtrlEvents
(
'onremoveerror'
,
{
data
:
response
&&
response
.
data
?
response
.
data
:
datas
})))
{
return
;
}
this
.
$Notice
.
error
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.delDataFail'
)
as
string
)
+
','
+
response
.
info
});
this
.
$Notice
.
error
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.delDataFail'
)
as
string
)
+
','
+
response
.
info
});
return
;
return
;
}
else
{
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中已删除的项
//删除items中已删除的项
_datas
.
forEach
((
data
:
any
)
=>
{
_datas
.
forEach
((
data
:
any
)
=>
{
this
.
items
.
some
((
item
:
any
,
index
:
number
)
=>
{
this
.
items
.
some
((
item
:
any
,
index
:
number
)
=>
{
...
@@ -679,19 +698,19 @@ export default class GroupByCodelistKanBanBase extends Vue implements ControlInt
...
@@ -679,19 +698,19 @@ export default class GroupByCodelistKanBanBase extends Vue implements ControlInt
});
});
this
.
$emit
(
'remove'
,
null
);
this
.
$emit
(
'remove'
,
null
);
this
.
selections
=
[];
this
.
selections
=
[];
resolve
(
response
);
return
response
;
}).
catch
((
response
:
any
)
=>
{
}
catch
(
response
:
any
)
{
if
(
!
(
await
this
.
handleCtrlEvents
(
'onremoveerror'
,
{
data
:
response
&&
response
.
data
?
response
.
data
:
datas
})))
{
return
;
}
if
(
response
&&
response
.
status
===
401
)
{
if
(
response
&&
response
.
status
===
401
)
{
return
;
return
;
}
}
if
(
!
response
||
!
response
.
status
||
!
response
.
data
)
{
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
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
(
this
.
$t
(
'app.commonWords.sysException'
)
as
string
)
});
reject
(
response
);
return
;
}
}
reject
(
response
);
return
response
;
});
}
});
}
}
dataInfo
=
dataInfo
.
replace
(
/
[
null
]
/g
,
''
).
replace
(
/
[
undefined
]
/g
,
''
).
replace
(
/
[
]
/g
,
''
);
dataInfo
=
dataInfo
.
replace
(
/
[
null
]
/g
,
''
).
replace
(
/
[
undefined
]
/g
,
''
).
replace
(
/
[
]
/g
,
''
);
...
@@ -862,6 +881,10 @@ export default class GroupByCodelistKanBanBase extends Vue implements ControlInt
...
@@ -862,6 +881,10 @@ export default class GroupByCodelistKanBanBase extends Vue implements ControlInt
*
*
*/
*/
public
selectchange
()
{
public
selectchange
()
{
this
.
handleCtrlEvents
(
'onselectionchange'
).
then
((
res
:
boolean
)
=>
{
if
(
!
res
)
{
return
;
}
this
.
selections
=
[];
this
.
selections
=
[];
this
.
items
.
map
((
item
:
any
)
=>
{
this
.
items
.
map
((
item
:
any
)
=>
{
if
(
item
.
isselected
)
{
if
(
item
.
isselected
)
{
...
@@ -869,6 +892,7 @@ export default class GroupByCodelistKanBanBase extends Vue implements ControlInt
...
@@ -869,6 +892,7 @@ export default class GroupByCodelistKanBanBase extends Vue implements ControlInt
}
}
});
});
this
.
$emit
(
'selectionchange'
,
this
.
selections
);
this
.
$emit
(
'selectionchange'
,
this
.
selections
);
})
}
}
/**
/**
...
...
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
...
@@ -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
});
this
.
$Notice
.
error
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.delDataFail'
)
as
string
)
+
','
+
response
.
info
});
return
;
return
;
}
}
this
.
$Notice
.
success
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.deleteSuccess'
)
as
string
)
});
if
(
!
(
await
this
.
handleCtrlEvents
(
'onremovesuccess'
,
{
data
:
response
.
data
})))
{
if
(
!
(
await
this
.
handleCtrlEvents
(
'onremovesuccess'
,
{
data
:
response
.
data
})))
{
return
;
return
;
}
}
this
.
$Notice
.
success
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.deleteSuccess'
)
as
string
)
});
//删除items中已删除的项
//删除items中已删除的项
datas
.
forEach
((
data
:
any
)
=>
{
datas
.
forEach
((
data
:
any
)
=>
{
this
.
items
.
some
((
item
:
any
,
index
:
number
)
=>
{
this
.
items
.
some
((
item
:
any
,
index
:
number
)
=>
{
...
...
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
...
@@ -545,7 +545,7 @@ export default class HasPanelKanBanBase extends Vue implements ControlInterface
* @param {boolean} [isReset=false] 是否重置items
* @param {boolean} [isReset=false] 是否重置items
* @memberof HasPanelKanBanBase
* @memberof HasPanelKanBanBase
*/
*/
public
async
load
(
opt
:
any
=
{},
isReset
:
boolean
=
false
)
{
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
:
'IBIZBOOKHasPanelKanBanView'
+
(
this
.
$t
(
'app.kanban.notConfig.fetchAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKHasPanelKanBanView'
+
(
this
.
$t
(
'app.kanban.notConfig.fetchAction'
)
as
string
)
});
return
;
return
;
...
@@ -567,14 +567,23 @@ export default class HasPanelKanBanBase extends Vue implements ControlInterface
...
@@ -567,14 +567,23 @@ export default class HasPanelKanBanBase extends Vue implements ControlInterface
let
tempViewParams
:
any
=
parentdata
.
viewparams
?
parentdata
.
viewparams
:{};
let
tempViewParams
:
any
=
parentdata
.
viewparams
?
parentdata
.
viewparams
:{};
Object
.
assign
(
tempViewParams
,
JSON
.
parse
(
JSON
.
stringify
(
this
.
viewparams
)));
Object
.
assign
(
tempViewParams
,
JSON
.
parse
(
JSON
.
stringify
(
this
.
viewparams
)));
Object
.
assign
(
arg
,{
viewparams
:
tempViewParams
});
Object
.
assign
(
arg
,{
viewparams
:
tempViewParams
});
const
post
:
Promise
<
any
>
=
this
.
service
.
search
(
this
.
fetchAction
,
JSON
.
parse
(
JSON
.
stringify
(
this
.
context
)),
arg
,
this
.
showBusyIndicator
);
if
(
!
(
await
this
.
handleCtrlEvents
(
'onbeforeload'
,
{
viewparams
:
arg
})))
{
post
.
then
((
response
:
any
)
=>
{
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
(
!
response
||
response
.
status
!==
200
)
{
if
(
!
(
await
this
.
handleCtrlEvents
(
'onloaderror'
,
{
data
:
response
&&
response
.
data
?
response
.
data
:
[]
})))
{
return
;
}
if
(
response
.
data
&&
response
.
data
.
message
)
{
if
(
response
.
data
&&
response
.
data
.
message
)
{
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
response
.
data
.
message
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
response
.
data
.
message
});
}
}
return
;
return
;
}
}
if
(
!
(
await
this
.
handleCtrlEvents
(
'onloadsuccess'
,
{
data
:
response
.
data
})))
{
return
;
}
const
data
:
any
=
response
.
data
;
const
data
:
any
=
response
.
data
;
if
(
!
this
.
isAddBehind
){
if
(
!
this
.
isAddBehind
){
this
.
items
=
[];
this
.
items
=
[];
...
@@ -597,12 +606,15 @@ export default class HasPanelKanBanBase extends Vue implements ControlInterface
...
@@ -597,12 +606,15 @@ export default class HasPanelKanBanBase extends Vue implements ControlInterface
if
(
this
.
isSelectFirstDefault
){
if
(
this
.
isSelectFirstDefault
){
this
.
handleClick
(
this
.
items
[
0
]);
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
)
{
if
(
response
&&
response
.
status
===
401
)
{
return
;
return
;
}
}
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
response
.
data
&&
response
.
data
.
message
?
response
.
data
.
message
:
""
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
response
.
data
&&
response
.
data
.
message
?
response
.
data
.
message
:
""
});
}
);
}
}
}
/**
/**
...
@@ -652,22 +664,29 @@ export default class HasPanelKanBanBase extends Vue implements ControlInterface
...
@@ -652,22 +664,29 @@ export default class HasPanelKanBanBase extends Vue implements ControlInterface
dataInfo
=
dataInfo
+
'...'
+
' 共'
+
_datas
.
length
+
'条数据'
;
dataInfo
=
dataInfo
+
'...'
+
' 共'
+
_datas
.
length
+
'条数据'
;
}
}
const
removeData
=
()
=>
{
const
removeData
=
async
()
=>
{
let
keys
:
any
[]
=
[];
let
keys
:
any
[]
=
[];
_datas
.
forEach
((
data
:
any
)
=>
{
_datas
.
forEach
((
data
:
any
)
=>
{
keys
.
push
(
data
.
srfkey
);
keys
.
push
(
data
.
srfkey
);
});
});
let
_removeAction
=
keys
.
length
>
1
?
'removeBatch'
:
this
.
removeAction
;
let
_removeAction
=
keys
.
length
>
1
?
'removeBatch'
:
this
.
removeAction
;
const
context
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
context
));
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
);
if
(
!
(
await
this
.
handleCtrlEvents
(
'onbeforeremove'
,
{
data
:
datas
})))
{
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
return
;
post
.
then
((
response
:
any
)
=>
{
}
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
(
!
response
||
response
.
status
!==
200
)
{
if
(
!
(
await
this
.
handleCtrlEvents
(
'onremoveerror'
,
{
data
:
response
&&
response
.
data
?
response
.
data
:
datas
})))
{
return
;
}
this
.
$Notice
.
error
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.delDataFail'
)
as
string
)
+
','
+
response
.
info
});
this
.
$Notice
.
error
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.delDataFail'
)
as
string
)
+
','
+
response
.
info
});
return
;
return
;
}
else
{
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中已删除的项
//删除items中已删除的项
_datas
.
forEach
((
data
:
any
)
=>
{
_datas
.
forEach
((
data
:
any
)
=>
{
this
.
items
.
some
((
item
:
any
,
index
:
number
)
=>
{
this
.
items
.
some
((
item
:
any
,
index
:
number
)
=>
{
...
@@ -679,19 +698,19 @@ export default class HasPanelKanBanBase extends Vue implements ControlInterface
...
@@ -679,19 +698,19 @@ export default class HasPanelKanBanBase extends Vue implements ControlInterface
});
});
this
.
$emit
(
'remove'
,
null
);
this
.
$emit
(
'remove'
,
null
);
this
.
selections
=
[];
this
.
selections
=
[];
resolve
(
response
);
return
response
;
}).
catch
((
response
:
any
)
=>
{
}
catch
(
response
:
any
)
{
if
(
!
(
await
this
.
handleCtrlEvents
(
'onremoveerror'
,
{
data
:
response
&&
response
.
data
?
response
.
data
:
datas
})))
{
return
;
}
if
(
response
&&
response
.
status
===
401
)
{
if
(
response
&&
response
.
status
===
401
)
{
return
;
return
;
}
}
if
(
!
response
||
!
response
.
status
||
!
response
.
data
)
{
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
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
(
this
.
$t
(
'app.commonWords.sysException'
)
as
string
)
});
reject
(
response
);
return
;
}
}
reject
(
response
);
return
response
;
});
}
});
}
}
dataInfo
=
dataInfo
.
replace
(
/
[
null
]
/g
,
''
).
replace
(
/
[
undefined
]
/g
,
''
).
replace
(
/
[
]
/g
,
''
);
dataInfo
=
dataInfo
.
replace
(
/
[
null
]
/g
,
''
).
replace
(
/
[
undefined
]
/g
,
''
).
replace
(
/
[
]
/g
,
''
);
...
@@ -862,6 +881,10 @@ export default class HasPanelKanBanBase extends Vue implements ControlInterface
...
@@ -862,6 +881,10 @@ export default class HasPanelKanBanBase extends Vue implements ControlInterface
*
*
*/
*/
public
selectchange
()
{
public
selectchange
()
{
this
.
handleCtrlEvents
(
'onselectionchange'
).
then
((
res
:
boolean
)
=>
{
if
(
!
res
)
{
return
;
}
this
.
selections
=
[];
this
.
selections
=
[];
this
.
items
.
map
((
item
:
any
)
=>
{
this
.
items
.
map
((
item
:
any
)
=>
{
if
(
item
.
isselected
)
{
if
(
item
.
isselected
)
{
...
@@ -869,6 +892,7 @@ export default class HasPanelKanBanBase extends Vue implements ControlInterface
...
@@ -869,6 +892,7 @@ export default class HasPanelKanBanBase extends Vue implements ControlInterface
}
}
});
});
this
.
$emit
(
'selectionchange'
,
this
.
selections
);
this
.
$emit
(
'selectionchange'
,
this
.
selections
);
})
}
}
/**
/**
...
...
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 {
...
@@ -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
});
this
.
$Notice
.
error
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.delDataFail'
)
as
string
)
+
','
+
response
.
info
});
return
;
return
;
}
}
this
.
$Notice
.
success
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.deleteSuccess'
)
as
string
)
});
if
(
!
(
await
this
.
handleCtrlEvents
(
'onremovesuccess'
,
{
data
:
response
.
data
})))
{
if
(
!
(
await
this
.
handleCtrlEvents
(
'onremovesuccess'
,
{
data
:
response
.
data
})))
{
return
;
return
;
}
}
this
.
$Notice
.
success
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.deleteSuccess'
)
as
string
)
});
//删除items中已删除的项
//删除items中已删除的项
datas
.
forEach
((
data
:
any
)
=>
{
datas
.
forEach
((
data
:
any
)
=>
{
this
.
items
.
some
((
item
:
any
,
index
:
number
)
=>
{
this
.
items
.
some
((
item
:
any
,
index
:
number
)
=>
{
...
...
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
...
@@ -583,7 +583,7 @@ export default class InterFuncKanbanBase extends Vue implements ControlInterface
* @param {boolean} [isReset=false] 是否重置items
* @param {boolean} [isReset=false] 是否重置items
* @memberof InterFuncKanbanBase
* @memberof InterFuncKanbanBase
*/
*/
public
async
load
(
opt
:
any
=
{},
isReset
:
boolean
=
false
)
{
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
:
'IBIZBOOKInterFuncKanBanView'
+
(
this
.
$t
(
'app.kanban.notConfig.fetchAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKInterFuncKanBanView'
+
(
this
.
$t
(
'app.kanban.notConfig.fetchAction'
)
as
string
)
});
return
;
return
;
...
@@ -605,14 +605,23 @@ export default class InterFuncKanbanBase extends Vue implements ControlInterface
...
@@ -605,14 +605,23 @@ export default class InterFuncKanbanBase extends Vue implements ControlInterface
let
tempViewParams
:
any
=
parentdata
.
viewparams
?
parentdata
.
viewparams
:{};
let
tempViewParams
:
any
=
parentdata
.
viewparams
?
parentdata
.
viewparams
:{};
Object
.
assign
(
tempViewParams
,
JSON
.
parse
(
JSON
.
stringify
(
this
.
viewparams
)));
Object
.
assign
(
tempViewParams
,
JSON
.
parse
(
JSON
.
stringify
(
this
.
viewparams
)));
Object
.
assign
(
arg
,{
viewparams
:
tempViewParams
});
Object
.
assign
(
arg
,{
viewparams
:
tempViewParams
});
const
post
:
Promise
<
any
>
=
this
.
service
.
search
(
this
.
fetchAction
,
JSON
.
parse
(
JSON
.
stringify
(
this
.
context
)),
arg
,
this
.
showBusyIndicator
);
if
(
!
(
await
this
.
handleCtrlEvents
(
'onbeforeload'
,
{
viewparams
:
arg
})))
{
post
.
then
((
response
:
any
)
=>
{
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
(
!
response
||
response
.
status
!==
200
)
{
if
(
!
(
await
this
.
handleCtrlEvents
(
'onloaderror'
,
{
data
:
response
&&
response
.
data
?
response
.
data
:
[]
})))
{
return
;
}
if
(
response
.
data
&&
response
.
data
.
message
)
{
if
(
response
.
data
&&
response
.
data
.
message
)
{
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
response
.
data
.
message
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
response
.
data
.
message
});
}
}
return
;
return
;
}
}
if
(
!
(
await
this
.
handleCtrlEvents
(
'onloadsuccess'
,
{
data
:
response
.
data
})))
{
return
;
}
const
data
:
any
=
response
.
data
;
const
data
:
any
=
response
.
data
;
if
(
!
this
.
isAddBehind
){
if
(
!
this
.
isAddBehind
){
this
.
items
=
[];
this
.
items
=
[];
...
@@ -635,12 +644,15 @@ export default class InterFuncKanbanBase extends Vue implements ControlInterface
...
@@ -635,12 +644,15 @@ export default class InterFuncKanbanBase extends Vue implements ControlInterface
if
(
this
.
isSelectFirstDefault
){
if
(
this
.
isSelectFirstDefault
){
this
.
handleClick
(
this
.
items
[
0
]);
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
)
{
if
(
response
&&
response
.
status
===
401
)
{
return
;
return
;
}
}
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
response
.
data
&&
response
.
data
.
message
?
response
.
data
.
message
:
""
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
response
.
data
&&
response
.
data
.
message
?
response
.
data
.
message
:
""
});
}
);
}
}
}
/**
/**
...
@@ -690,22 +702,29 @@ export default class InterFuncKanbanBase extends Vue implements ControlInterface
...
@@ -690,22 +702,29 @@ export default class InterFuncKanbanBase extends Vue implements ControlInterface
dataInfo
=
dataInfo
+
'...'
+
' 共'
+
_datas
.
length
+
'条数据'
;
dataInfo
=
dataInfo
+
'...'
+
' 共'
+
_datas
.
length
+
'条数据'
;
}
}
const
removeData
=
()
=>
{
const
removeData
=
async
()
=>
{
let
keys
:
any
[]
=
[];
let
keys
:
any
[]
=
[];
_datas
.
forEach
((
data
:
any
)
=>
{
_datas
.
forEach
((
data
:
any
)
=>
{
keys
.
push
(
data
.
srfkey
);
keys
.
push
(
data
.
srfkey
);
});
});
let
_removeAction
=
keys
.
length
>
1
?
'removeBatch'
:
this
.
removeAction
;
let
_removeAction
=
keys
.
length
>
1
?
'removeBatch'
:
this
.
removeAction
;
const
context
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
context
));
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
);
if
(
!
(
await
this
.
handleCtrlEvents
(
'onbeforeremove'
,
{
data
:
datas
})))
{
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
return
;
post
.
then
((
response
:
any
)
=>
{
}
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
(
!
response
||
response
.
status
!==
200
)
{
if
(
!
(
await
this
.
handleCtrlEvents
(
'onremoveerror'
,
{
data
:
response
&&
response
.
data
?
response
.
data
:
datas
})))
{
return
;
}
this
.
$Notice
.
error
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.delDataFail'
)
as
string
)
+
','
+
response
.
info
});
this
.
$Notice
.
error
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.delDataFail'
)
as
string
)
+
','
+
response
.
info
});
return
;
return
;
}
else
{
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中已删除的项
//删除items中已删除的项
_datas
.
forEach
((
data
:
any
)
=>
{
_datas
.
forEach
((
data
:
any
)
=>
{
this
.
items
.
some
((
item
:
any
,
index
:
number
)
=>
{
this
.
items
.
some
((
item
:
any
,
index
:
number
)
=>
{
...
@@ -717,19 +736,19 @@ export default class InterFuncKanbanBase extends Vue implements ControlInterface
...
@@ -717,19 +736,19 @@ export default class InterFuncKanbanBase extends Vue implements ControlInterface
});
});
this
.
$emit
(
'remove'
,
null
);
this
.
$emit
(
'remove'
,
null
);
this
.
selections
=
[];
this
.
selections
=
[];
resolve
(
response
);
return
response
;
}).
catch
((
response
:
any
)
=>
{
}
catch
(
response
:
any
)
{
if
(
!
(
await
this
.
handleCtrlEvents
(
'onremoveerror'
,
{
data
:
response
&&
response
.
data
?
response
.
data
:
datas
})))
{
return
;
}
if
(
response
&&
response
.
status
===
401
)
{
if
(
response
&&
response
.
status
===
401
)
{
return
;
return
;
}
}
if
(
!
response
||
!
response
.
status
||
!
response
.
data
)
{
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
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
(
this
.
$t
(
'app.commonWords.sysException'
)
as
string
)
});
reject
(
response
);
return
;
}
}
reject
(
response
);
return
response
;
});
}
});
}
}
dataInfo
=
dataInfo
.
replace
(
/
[
null
]
/g
,
''
).
replace
(
/
[
undefined
]
/g
,
''
).
replace
(
/
[
]
/g
,
''
);
dataInfo
=
dataInfo
.
replace
(
/
[
null
]
/g
,
''
).
replace
(
/
[
undefined
]
/g
,
''
).
replace
(
/
[
]
/g
,
''
);
...
@@ -900,6 +919,10 @@ export default class InterFuncKanbanBase extends Vue implements ControlInterface
...
@@ -900,6 +919,10 @@ export default class InterFuncKanbanBase extends Vue implements ControlInterface
*
*
*/
*/
public
selectchange
()
{
public
selectchange
()
{
this
.
handleCtrlEvents
(
'onselectionchange'
).
then
((
res
:
boolean
)
=>
{
if
(
!
res
)
{
return
;
}
this
.
selections
=
[];
this
.
selections
=
[];
this
.
items
.
map
((
item
:
any
)
=>
{
this
.
items
.
map
((
item
:
any
)
=>
{
if
(
item
.
isselected
)
{
if
(
item
.
isselected
)
{
...
@@ -907,6 +930,7 @@ export default class InterFuncKanbanBase extends Vue implements ControlInterface
...
@@ -907,6 +930,7 @@ export default class InterFuncKanbanBase extends Vue implements ControlInterface
}
}
});
});
this
.
$emit
(
'selectionchange'
,
this
.
selections
);
this
.
$emit
(
'selectionchange'
,
this
.
selections
);
})
}
}
/**
/**
...
...
app_Web/src/widgets/ibizbook/listpanel-list/listpanel-list-base.vue
浏览文件 @
418eb20f
...
@@ -724,10 +724,10 @@ export default class ListpanelBase extends Vue implements ControlInterface {
...
@@ -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
});
this
.
$Notice
.
error
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.delDataFail'
)
as
string
)
+
','
+
response
.
info
});
return
;
return
;
}
}
this
.
$Notice
.
success
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.deleteSuccess'
)
as
string
)
});
if
(
!
(
await
this
.
handleCtrlEvents
(
'onremovesuccess'
,
{
data
:
response
.
data
})))
{
if
(
!
(
await
this
.
handleCtrlEvents
(
'onremovesuccess'
,
{
data
:
response
.
data
})))
{
return
;
return
;
}
}
this
.
$Notice
.
success
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.deleteSuccess'
)
as
string
)
});
//删除items中已删除的项
//删除items中已删除的项
datas
.
forEach
((
data
:
any
)
=>
{
datas
.
forEach
((
data
:
any
)
=>
{
this
.
items
.
some
((
item
:
any
,
index
:
number
)
=>
{
this
.
items
.
some
((
item
:
any
,
index
:
number
)
=>
{
...
...
app_Web/src/widgets/ibizbook/lnternal-func-list-list/lnternal-func-list-list-base.vue
浏览文件 @
418eb20f
...
@@ -46,11 +46,11 @@
...
@@ -46,11 +46,11 @@
<span
class=
"quick-toolbar"
>
<span
class=
"quick-toolbar"
>
<div
class=
'toolbar-container'
>
<div
class=
'toolbar-container'
>
<tooltip
:transfer=
"true"
:max-width=
"600"
>
<tooltip
:transfer=
"true"
:max-width=
"600"
>
<i-button
v-show=
"
usr4listview_layoutlist_quicktoolbarModels.deuiaction1.visabled"
:disabled=
"usr4listview_layout
list_quicktoolbarModels.deuiaction1.disabled"
class=
''
v-button-loading:i-button
@
click=
"list_quicktoolbar_click({ tag: 'deuiaction1' }, $event)"
>
<i-button
v-show=
"
listviewlist_quicktoolbarModels.deuiaction1.visabled"
:disabled=
"listview
list_quicktoolbarModels.deuiaction1.disabled"
class=
''
v-button-loading:i-button
@
click=
"list_quicktoolbar_click({ tag: 'deuiaction1' }, $event)"
>
<i
class=
'fa fa-file-text-o'
></i>
<i
class=
'fa fa-file-text-o'
></i>
<span
class=
'caption'
>
{{$t('entities.ibizbook.
usr4listview_layout
list_quicktoolbar_toolbar.deuiaction1.caption')}}
</span>
<span
class=
'caption'
>
{{$t('entities.ibizbook.
listview
list_quicktoolbar_toolbar.deuiaction1.caption')}}
</span>
</i-button>
</i-button>
<div
slot=
'content'
>
{{$t('entities.ibizbook.
usr4listview_layout
list_quicktoolbar_toolbar.deuiaction1.tip')}}
</div>
<div
slot=
'content'
>
{{$t('entities.ibizbook.
listview
list_quicktoolbar_toolbar.deuiaction1.tip')}}
</div>
</tooltip>
</tooltip>
</div>
</div>
</span>
</span>
...
@@ -61,18 +61,18 @@
...
@@ -61,18 +61,18 @@
<span
class=
"batch-toolbar"
>
<span
class=
"batch-toolbar"
>
<div
class=
'toolbar-container'
>
<div
class=
'toolbar-container'
>
<tooltip
:transfer=
"true"
:max-width=
"600"
>
<tooltip
:transfer=
"true"
:max-width=
"600"
>
<i-button
v-show=
"
usr4listview_layoutlist_batchtoolbarModels.deuiaction1.visabled"
:disabled=
"usr4listview_layout
list_batchtoolbarModels.deuiaction1.disabled"
class=
''
v-button-loading:i-button
@
click=
"list_batchtoolbar_click({ tag: 'deuiaction1' }, $event)"
>
<i-button
v-show=
"
listviewlist_batchtoolbarModels.deuiaction1.visabled"
:disabled=
"listview
list_batchtoolbarModels.deuiaction1.disabled"
class=
''
v-button-loading:i-button
@
click=
"list_batchtoolbar_click({ tag: 'deuiaction1' }, $event)"
>
<i
class=
'fa fa-edit'
></i>
<i
class=
'fa fa-edit'
></i>
<span
class=
'caption'
>
{{$t('entities.ibizbook.
usr4listview_layout
list_batchtoolbar_toolbar.deuiaction1.caption')}}
</span>
<span
class=
'caption'
>
{{$t('entities.ibizbook.
listview
list_batchtoolbar_toolbar.deuiaction1.caption')}}
</span>
</i-button>
</i-button>
<div
slot=
'content'
>
{{$t('entities.ibizbook.
usr4listview_layout
list_batchtoolbar_toolbar.deuiaction1.tip')}}
</div>
<div
slot=
'content'
>
{{$t('entities.ibizbook.
listview
list_batchtoolbar_toolbar.deuiaction1.tip')}}
</div>
</tooltip>
</tooltip>
<tooltip
:transfer=
"true"
:max-width=
"600"
>
<tooltip
:transfer=
"true"
:max-width=
"600"
>
<i-button
v-show=
"
usr4listview_layoutlist_batchtoolbarModels.deuiaction2.visabled"
:disabled=
"usr4listview_layout
list_batchtoolbarModels.deuiaction2.disabled"
class=
''
v-button-loading:i-button
@
click=
"list_batchtoolbar_click({ tag: 'deuiaction2' }, $event)"
>
<i-button
v-show=
"
listviewlist_batchtoolbarModels.deuiaction2.visabled"
:disabled=
"listview
list_batchtoolbarModels.deuiaction2.disabled"
class=
''
v-button-loading:i-button
@
click=
"list_batchtoolbar_click({ tag: 'deuiaction2' }, $event)"
>
<i
class=
'fa fa-remove'
></i>
<i
class=
'fa fa-remove'
></i>
<span
class=
'caption'
>
{{$t('entities.ibizbook.
usr4listview_layout
list_batchtoolbar_toolbar.deuiaction2.caption')}}
</span>
<span
class=
'caption'
>
{{$t('entities.ibizbook.
listview
list_batchtoolbar_toolbar.deuiaction2.caption')}}
</span>
</i-button>
</i-button>
<div
slot=
'content'
>
{{$t('entities.ibizbook.
usr4listview_layout
list_batchtoolbar_toolbar.deuiaction2.tip')}}
</div>
<div
slot=
'content'
>
{{$t('entities.ibizbook.
listview
list_batchtoolbar_toolbar.deuiaction2.tip')}}
</div>
</tooltip>
</tooltip>
</div>
</div>
</span>
</span>
...
@@ -381,7 +381,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
...
@@ -381,7 +381,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
* @param {*} [$event] 事件源
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZBOOK
Usr4ListView_layout
Base
* @memberof IBIZBOOK
ListView
Base
*/
*/
public
New
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
public
New
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
const
_this
:
any
=
this
;
const
_this
:
any
=
this
;
...
@@ -401,7 +401,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
...
@@ -401,7 +401,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
* @param {*} [$event] 事件源
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZBOOK
Usr4ListView_layout
Base
* @memberof IBIZBOOK
ListView
Base
*/
*/
public
Edit
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
public
Edit
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
if
(
args
.
length
===
0
)
{
if
(
args
.
length
===
0
)
{
...
@@ -427,7 +427,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
...
@@ -427,7 +427,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
* @param {*} [$event] 事件源
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZBOOK
Usr4ListView_layout
Base
* @memberof IBIZBOOK
ListView
Base
*/
*/
public
Remove
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
public
Remove
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
const
_this
:
any
=
this
;
const
_this
:
any
=
this
;
...
@@ -623,9 +623,9 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
...
@@ -623,9 +623,9 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
* 工具栏模型
* 工具栏模型
*
*
* @type {*}
* @type {*}
* @memberof IBIZBOOK
Usr4ListView_layout
* @memberof IBIZBOOK
ListView
*/
*/
public
usr4listview_layout
list_quicktoolbarModels
:
any
=
{
public
listview
list_quicktoolbarModels
:
any
=
{
deuiaction1
:
{
name
:
'deuiaction1'
,
actiontarget
:
'NONE'
,
caption
:
'新建'
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
noprivdisplaymode
:
2
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'New'
,
target
:
''
}
},
deuiaction1
:
{
name
:
'deuiaction1'
,
actiontarget
:
'NONE'
,
caption
:
'新建'
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
noprivdisplaymode
:
2
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'New'
,
target
:
''
}
},
};
};
...
@@ -635,9 +635,9 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
...
@@ -635,9 +635,9 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
* 工具栏模型
* 工具栏模型
*
*
* @type {*}
* @type {*}
* @memberof IBIZBOOK
Usr4ListView_layout
* @memberof IBIZBOOK
ListView
*/
*/
public
usr4listview_layout
list_batchtoolbarModels
:
any
=
{
public
listview
list_batchtoolbarModels
:
any
=
{
deuiaction1
:
{
name
:
'deuiaction1'
,
actiontarget
:
'NONE'
,
caption
:
'编辑'
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
noprivdisplaymode
:
2
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Edit'
,
target
:
'SINGLEKEY'
}
},
deuiaction1
:
{
name
:
'deuiaction1'
,
actiontarget
:
'NONE'
,
caption
:
'编辑'
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
noprivdisplaymode
:
2
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Edit'
,
target
:
'SINGLEKEY'
}
},
deuiaction2
:
{
name
:
'deuiaction2'
,
actiontarget
:
'NONE'
,
caption
:
'删除'
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
noprivdisplaymode
:
2
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Remove'
,
target
:
'MULTIKEY'
}
},
deuiaction2
:
{
name
:
'deuiaction2'
,
actiontarget
:
'NONE'
,
caption
:
'删除'
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
noprivdisplaymode
:
2
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Remove'
,
target
:
'MULTIKEY'
}
},
...
@@ -860,7 +860,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
...
@@ -860,7 +860,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
*/
*/
public
async
load
(
opt
:
any
=
{}):
Promise
<
any
>
{
public
async
load
(
opt
:
any
=
{}):
Promise
<
any
>
{
if
(
!
this
.
fetchAction
){
if
(
!
this
.
fetchAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Usr4ListView_layout
'
+
(
this
.
$t
(
'app.list.notConfig.fetchAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
ListView
'
+
(
this
.
$t
(
'app.list.notConfig.fetchAction'
)
as
string
)
});
return
;
return
;
}
}
const
arg
:
any
=
{...
opt
};
const
arg
:
any
=
{...
opt
};
...
@@ -990,7 +990,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
...
@@ -990,7 +990,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
*/
*/
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
:
'IBIZBOOK
Usr4ListView_layout
'
+
(
this
.
$t
(
'app.list.notConfig.removeAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
ListView
'
+
(
this
.
$t
(
'app.list.notConfig.removeAction'
)
as
string
)
});
return
;
return
;
}
}
if
(
datas
.
length
===
0
)
{
if
(
datas
.
length
===
0
)
{
...
@@ -1034,10 +1034,10 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
...
@@ -1034,10 +1034,10 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
this
.
$Notice
.
error
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.delDataFail'
)
as
string
)
+
','
+
response
.
info
});
this
.
$Notice
.
error
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.delDataFail'
)
as
string
)
+
','
+
response
.
info
});
return
;
return
;
}
}
this
.
$Notice
.
success
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.deleteSuccess'
)
as
string
)
});
if
(
!
(
await
this
.
handleCtrlEvents
(
'onremovesuccess'
,
{
data
:
response
.
data
})))
{
if
(
!
(
await
this
.
handleCtrlEvents
(
'onremovesuccess'
,
{
data
:
response
.
data
})))
{
return
;
return
;
}
}
this
.
$Notice
.
success
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.deleteSuccess'
)
as
string
)
});
//删除items中已删除的项
//删除items中已删除的项
datas
.
forEach
((
data
:
any
)
=>
{
datas
.
forEach
((
data
:
any
)
=>
{
this
.
items
.
some
((
item
:
any
,
index
:
number
)
=>
{
this
.
items
.
some
((
item
:
any
,
index
:
number
)
=>
{
...
@@ -1095,7 +1095,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
...
@@ -1095,7 +1095,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
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
:
'IBIZBOOK
Usr4ListView_layout
'
+
(
this
.
$t
(
'app.list.notConfig.createAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
ListView
'
+
(
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
);
...
@@ -1103,7 +1103,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
...
@@ -1103,7 +1103,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
}
}
}
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.warning'
)
as
string
),
desc
:
'IBIZBOOK
Usr4ListView_layout
'
+
(
this
.
$t
(
'app.list.notConfig.updateAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.warning'
)
as
string
),
desc
:
'IBIZBOOK
ListView
'
+
(
this
.
$t
(
'app.list.notConfig.updateAction'
)
as
string
)
});
}
else
{
}
else
{
Object
.
assign
(
item
,{
viewparams
:
this
.
viewparams
});
Object
.
assign
(
item
,{
viewparams
:
this
.
viewparams
});
if
(
item
.
ibizbook
){
if
(
item
.
ibizbook
){
...
...
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
...
@@ -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
});
this
.
$Notice
.
error
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.delDataFail'
)
as
string
)
+
','
+
response
.
info
});
return
;
return
;
}
}
this
.
$Notice
.
success
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.deleteSuccess'
)
as
string
)
});
if
(
!
(
await
this
.
handleCtrlEvents
(
'onremovesuccess'
,
{
data
:
response
.
data
})))
{
if
(
!
(
await
this
.
handleCtrlEvents
(
'onremovesuccess'
,
{
data
:
response
.
data
})))
{
return
;
return
;
}
}
this
.
$Notice
.
success
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.deleteSuccess'
)
as
string
)
});
//删除items中已删除的项
//删除items中已删除的项
datas
.
forEach
((
data
:
any
)
=>
{
datas
.
forEach
((
data
:
any
)
=>
{
this
.
items
.
some
((
item
:
any
,
index
:
number
)
=>
{
this
.
items
.
some
((
item
:
any
,
index
:
number
)
=>
{
...
...
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 {
...
@@ -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
});
this
.
$Notice
.
error
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.delDataFail'
)
as
string
)
+
','
+
response
.
info
});
return
;
return
;
}
}
this
.
$Notice
.
success
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.deleteSuccess'
)
as
string
)
});
if
(
!
(
await
this
.
handleCtrlEvents
(
'onremovesuccess'
,
{
data
:
response
.
data
})))
{
if
(
!
(
await
this
.
handleCtrlEvents
(
'onremovesuccess'
,
{
data
:
response
.
data
})))
{
return
;
return
;
}
}
this
.
$Notice
.
success
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.deleteSuccess'
)
as
string
)
});
//删除items中已删除的项
//删除items中已删除的项
datas
.
forEach
((
data
:
any
)
=>
{
datas
.
forEach
((
data
:
any
)
=>
{
this
.
items
.
some
((
item
:
any
,
index
:
number
)
=>
{
this
.
items
.
some
((
item
:
any
,
index
:
number
)
=>
{
...
...
app_Web/src/widgets/ibizbook/usr-list/usr-list-base.vue
浏览文件 @
418eb20f
...
@@ -823,10 +823,10 @@ export default class UsrBase extends Vue implements ControlInterface {
...
@@ -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
});
this
.
$Notice
.
error
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.delDataFail'
)
as
string
)
+
','
+
response
.
info
});
return
;
return
;
}
}
this
.
$Notice
.
success
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.deleteSuccess'
)
as
string
)
});
if
(
!
(
await
this
.
handleCtrlEvents
(
'onremovesuccess'
,
{
data
:
response
.
data
})))
{
if
(
!
(
await
this
.
handleCtrlEvents
(
'onremovesuccess'
,
{
data
:
response
.
data
})))
{
return
;
return
;
}
}
this
.
$Notice
.
success
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.deleteSuccess'
)
as
string
)
});
//删除items中已删除的项
//删除items中已删除的项
datas
.
forEach
((
data
:
any
)
=>
{
datas
.
forEach
((
data
:
any
)
=>
{
this
.
items
.
some
((
item
:
any
,
index
:
number
)
=>
{
this
.
items
.
some
((
item
:
any
,
index
:
number
)
=>
{
...
...
app_Web/src/widgets/ibizbook/usr4-dataview/usr4-dataview-base.vue
浏览文件 @
418eb20f
...
@@ -697,7 +697,7 @@ export default class Usr4Base extends Vue implements ControlInterface {
...
@@ -697,7 +697,7 @@ export default class Usr4Base 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
:
'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
;
return
;
}
}
const
arg
:
any
=
{...
opt
};
const
arg
:
any
=
{...
opt
};
...
@@ -791,7 +791,7 @@ export default class Usr4Base extends Vue implements ControlInterface {
...
@@ -791,7 +791,7 @@ export default class Usr4Base 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
:
'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
;
return
;
}
}
let
_datas
:
any
[]
=
[];
let
_datas
:
any
[]
=
[];
...
@@ -907,7 +907,7 @@ export default class Usr4Base extends Vue implements ControlInterface {
...
@@ -907,7 +907,7 @@ export default class Usr4Base 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
:
'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
{
}
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
);
...
@@ -915,7 +915,7 @@ export default class Usr4Base extends Vue implements ControlInterface {
...
@@ -915,7 +915,7 @@ export default class Usr4Base 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
:
'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
{
}
else
{
Object
.
assign
(
item
,{
viewparams
:
this
.
viewparams
});
Object
.
assign
(
item
,{
viewparams
:
this
.
viewparams
});
if
(
item
.
ibizbook
){
if
(
item
.
ibizbook
){
...
...
app_Web/src/widgets/ibizbook/usr4-dataview/usr4-dataview-model.ts
浏览文件 @
418eb20f
...
@@ -69,6 +69,11 @@ export default class Usr4Model {
...
@@ -69,6 +69,11 @@ export default class Usr4Model {
prop
:
'n_ibizbookname_like'
,
prop
:
'n_ibizbookname_like'
,
dataType
:
'QUERYPARAM'
dataType
:
'QUERYPARAM'
},
},
{
name
:
'n_price_gtandeq'
,
prop
:
'n_price_gtandeq'
,
dataType
:
'QUERYPARAM'
},
{
{
...
...
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
...
@@ -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
});
this
.
$Notice
.
error
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.delDataFail'
)
as
string
)
+
','
+
response
.
info
});
return
;
return
;
}
}
this
.
$Notice
.
success
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.deleteSuccess'
)
as
string
)
});
if
(
!
(
await
this
.
handleCtrlEvents
(
'onremovesuccess'
,
{
data
:
response
.
data
})))
{
if
(
!
(
await
this
.
handleCtrlEvents
(
'onremovesuccess'
,
{
data
:
response
.
data
})))
{
return
;
return
;
}
}
this
.
$Notice
.
success
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.deleteSuccess'
)
as
string
)
});
//删除items中已删除的项
//删除items中已删除的项
datas
.
forEach
((
data
:
any
)
=>
{
datas
.
forEach
((
data
:
any
)
=>
{
this
.
items
.
some
((
item
:
any
,
index
:
number
)
=>
{
this
.
items
.
some
((
item
:
any
,
index
:
number
)
=>
{
...
...
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
...
@@ -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
});
this
.
$Notice
.
error
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.delDataFail'
)
as
string
)
+
','
+
response
.
info
});
return
;
return
;
}
}
this
.
$Notice
.
success
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.deleteSuccess'
)
as
string
)
});
if
(
!
(
await
this
.
handleCtrlEvents
(
'onremovesuccess'
,
{
data
:
response
.
data
})))
{
if
(
!
(
await
this
.
handleCtrlEvents
(
'onremovesuccess'
,
{
data
:
response
.
data
})))
{
return
;
return
;
}
}
this
.
$Notice
.
success
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.deleteSuccess'
)
as
string
)
});
//删除items中已删除的项
//删除items中已删除的项
datas
.
forEach
((
data
:
any
)
=>
{
datas
.
forEach
((
data
:
any
)
=>
{
this
.
items
.
some
((
item
:
any
,
index
:
number
)
=>
{
this
.
items
.
some
((
item
:
any
,
index
:
number
)
=>
{
...
...
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
...
@@ -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
});
this
.
$Notice
.
error
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.delDataFail'
)
as
string
)
+
','
+
response
.
info
});
return
;
return
;
}
}
this
.
$Notice
.
success
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.deleteSuccess'
)
as
string
)
});
if
(
!
(
await
this
.
handleCtrlEvents
(
'onremovesuccess'
,
{
data
:
response
.
data
})))
{
if
(
!
(
await
this
.
handleCtrlEvents
(
'onremovesuccess'
,
{
data
:
response
.
data
})))
{
return
;
return
;
}
}
this
.
$Notice
.
success
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.deleteSuccess'
)
as
string
)
});
//删除items中已删除的项
//删除items中已删除的项
datas
.
forEach
((
data
:
any
)
=>
{
datas
.
forEach
((
data
:
any
)
=>
{
this
.
items
.
some
((
item
:
any
,
index
:
number
)
=>
{
this
.
items
.
some
((
item
:
any
,
index
:
number
)
=>
{
...
...
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
...
@@ -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
});
this
.
$Notice
.
error
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.delDataFail'
)
as
string
)
+
','
+
response
.
info
});
return
;
return
;
}
}
this
.
$Notice
.
success
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.deleteSuccess'
)
as
string
)
});
if
(
!
(
await
this
.
handleCtrlEvents
(
'onremovesuccess'
,
{
data
:
response
.
data
})))
{
if
(
!
(
await
this
.
handleCtrlEvents
(
'onremovesuccess'
,
{
data
:
response
.
data
})))
{
return
;
return
;
}
}
this
.
$Notice
.
success
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.deleteSuccess'
)
as
string
)
});
//删除items中已删除的项
//删除items中已删除的项
datas
.
forEach
((
data
:
any
)
=>
{
datas
.
forEach
((
data
:
any
)
=>
{
this
.
items
.
some
((
item
:
any
,
index
:
number
)
=>
{
this
.
items
.
some
((
item
:
any
,
index
:
number
)
=>
{
...
...
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
...
@@ -576,8 +576,14 @@ export default class CalendarExpView_layoutcalendarexpbarBase extends Vue implem
viewparams
:
tempViewParam
viewparams
:
tempViewParam
}
}
}
}
this
.
handleCtrlEvents
(
'onselectionchange'
,
{
data
:
args
}).
then
((
res
:
boolean
)
=>
{
if
(
!
res
)
{
this
.
calcToolbarItemState
(
true
);
return
;
}
this
.
calcToolbarItemState
(
false
);
this
.
calcToolbarItemState
(
false
);
this
.
$emit
(
'selectionchange'
,
navItem
);
this
.
$emit
(
'selectionchange'
,
navItem
);
})
}
}
/**
/**
...
...
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
...
@@ -576,8 +576,14 @@ export default class CalendarExpViewcalendarexpbarBase extends Vue implements Co
viewparams
:
tempViewParam
viewparams
:
tempViewParam
}
}
}
}
this
.
handleCtrlEvents
(
'onselectionchange'
,
{
data
:
args
}).
then
((
res
:
boolean
)
=>
{
if
(
!
res
)
{
this
.
calcToolbarItemState
(
true
);
return
;
}
this
.
calcToolbarItemState
(
false
);
this
.
calcToolbarItemState
(
false
);
this
.
$emit
(
'selectionchange'
,
navItem
);
this
.
$emit
(
'selectionchange'
,
navItem
);
})
}
}
/**
/**
...
...
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
...
@@ -591,8 +591,14 @@ export default class DataViewExpView_layoutdataviewexpbarBase extends Vue implem
viewparams
:
tempViewParam
viewparams
:
tempViewParam
}
}
}
}
this
.
handleCtrlEvents
(
'onselectionchange'
,
{
data
:
args
}).
then
((
res
:
boolean
)
=>
{
if
(
!
res
)
{
this
.
calcToolbarItemState
(
true
);
return
;
}
this
.
calcToolbarItemState
(
false
);
this
.
calcToolbarItemState
(
false
);
this
.
$emit
(
'selectionchange'
,
navItem
);
this
.
$emit
(
'selectionchange'
,
navItem
);
})
}
}
/**
/**
...
...
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
...
@@ -591,8 +591,14 @@ export default class DataViewExpViewdataviewexpbarBase extends Vue implements Co
viewparams
:
tempViewParam
viewparams
:
tempViewParam
}
}
}
}
this
.
handleCtrlEvents
(
'onselectionchange'
,
{
data
:
args
}).
then
((
res
:
boolean
)
=>
{
if
(
!
res
)
{
this
.
calcToolbarItemState
(
true
);
return
;
}
this
.
calcToolbarItemState
(
false
);
this
.
calcToolbarItemState
(
false
);
this
.
$emit
(
'selectionchange'
,
navItem
);
this
.
$emit
(
'selectionchange'
,
navItem
);
})
}
}
/**
/**
...
...
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
...
@@ -589,8 +589,14 @@ export default class GridExpViewgridexpbarBase extends Vue implements ControlInt
viewparams
:
tempViewParam
viewparams
:
tempViewParam
}
}
}
}
this
.
handleCtrlEvents
(
'onselectionchange'
,
{
data
:
args
}).
then
((
res
:
boolean
)
=>
{
if
(
!
res
)
{
this
.
calcToolbarItemState
(
true
);
return
;
}
this
.
calcToolbarItemState
(
false
);
this
.
calcToolbarItemState
(
false
);
this
.
$emit
(
'selectionchange'
,
navItem
);
this
.
$emit
(
'selectionchange'
,
navItem
);
})
}
}
/**
/**
...
...
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 {
...
@@ -600,7 +600,7 @@ export default class ListExpBase extends Vue implements ControlInterface {
*/
*/
public
async
load
(
opt
:
any
=
{}):
Promise
<
any
>
{
public
async
load
(
opt
:
any
=
{}):
Promise
<
any
>
{
if
(
!
this
.
fetchAction
){
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
;
return
;
}
}
const
arg
:
any
=
{...
opt
};
const
arg
:
any
=
{...
opt
};
...
@@ -730,7 +730,7 @@ export default class ListExpBase extends Vue implements ControlInterface {
...
@@ -730,7 +730,7 @@ export default class ListExpBase 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
:
'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
;
return
;
}
}
if
(
datas
.
length
===
0
)
{
if
(
datas
.
length
===
0
)
{
...
@@ -774,10 +774,10 @@ export default class ListExpBase extends Vue implements ControlInterface {
...
@@ -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
});
this
.
$Notice
.
error
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.delDataFail'
)
as
string
)
+
','
+
response
.
info
});
return
;
return
;
}
}
this
.
$Notice
.
success
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.deleteSuccess'
)
as
string
)
});
if
(
!
(
await
this
.
handleCtrlEvents
(
'onremovesuccess'
,
{
data
:
response
.
data
})))
{
if
(
!
(
await
this
.
handleCtrlEvents
(
'onremovesuccess'
,
{
data
:
response
.
data
})))
{
return
;
return
;
}
}
this
.
$Notice
.
success
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.deleteSuccess'
)
as
string
)
});
//删除items中已删除的项
//删除items中已删除的项
datas
.
forEach
((
data
:
any
)
=>
{
datas
.
forEach
((
data
:
any
)
=>
{
this
.
items
.
some
((
item
:
any
,
index
:
number
)
=>
{
this
.
items
.
some
((
item
:
any
,
index
:
number
)
=>
{
...
@@ -835,7 +835,7 @@ export default class ListExpBase extends Vue implements ControlInterface {
...
@@ -835,7 +835,7 @@ export default class ListExpBase 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
:
'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
{
}
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
);
...
@@ -843,7 +843,7 @@ export default class ListExpBase extends Vue implements ControlInterface {
...
@@ -843,7 +843,7 @@ export default class ListExpBase 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.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
{
}
else
{
Object
.
assign
(
item
,{
viewparams
:
this
.
viewparams
});
Object
.
assign
(
item
,{
viewparams
:
this
.
viewparams
});
if
(
item
.
ibizorder
){
if
(
item
.
ibizorder
){
...
...
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
...
@@ -593,8 +593,14 @@ export default class ListExpView_layoutlistexpbarBase extends Vue implements Con
viewparams
:
tempViewParam
viewparams
:
tempViewParam
}
}
}
}
this
.
handleCtrlEvents
(
'onselectionchange'
,
{
data
:
args
}).
then
((
res
:
boolean
)
=>
{
if
(
!
res
)
{
this
.
calcToolbarItemState
(
true
);
return
;
}
this
.
calcToolbarItemState
(
false
);
this
.
calcToolbarItemState
(
false
);
this
.
$emit
(
'selectionchange'
,
navItem
);
this
.
$emit
(
'selectionchange'
,
navItem
);
})
}
}
/**
/**
...
...
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
...
@@ -593,8 +593,14 @@ export default class ListExpViewlistexpbarBase extends Vue implements ControlInt
viewparams
:
tempViewParam
viewparams
:
tempViewParam
}
}
}
}
this
.
handleCtrlEvents
(
'onselectionchange'
,
{
data
:
args
}).
then
((
res
:
boolean
)
=>
{
if
(
!
res
)
{
this
.
calcToolbarItemState
(
true
);
return
;
}
this
.
calcToolbarItemState
(
false
);
this
.
calcToolbarItemState
(
false
);
this
.
$emit
(
'selectionchange'
,
navItem
);
this
.
$emit
(
'selectionchange'
,
navItem
);
})
}
}
/**
/**
...
...
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
...
@@ -493,8 +493,14 @@ export default class TestCustomLayoutPanelGridExpViewgridexpbarBase extends Vue
viewparams
:
tempViewParam
viewparams
:
tempViewParam
}
}
}
}
this
.
handleCtrlEvents
(
'onselectionchange'
,
{
data
:
args
}).
then
((
res
:
boolean
)
=>
{
if
(
!
res
)
{
this
.
calcToolbarItemState
(
true
);
return
;
}
this
.
calcToolbarItemState
(
false
);
this
.
calcToolbarItemState
(
false
);
this
.
$emit
(
'selectionchange'
,
navItem
);
this
.
$emit
(
'selectionchange'
,
navItem
);
})
}
}
/**
/**
...
...
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
...
@@ -510,8 +510,14 @@ export default class TreeExpView_layouttreeexpbarBase extends Vue implements Con
viewparams
:
tempViewparam
viewparams
:
tempViewparam
}
}
}
}
this
.
handleCtrlEvents
(
'onselectionchange'
,
{
data
:
args
}).
then
((
res
:
boolean
)
=>
{
if
(
!
res
)
{
this
.
calcToolbarItemState
(
true
);
return
;
}
this
.
calcToolbarItemState
(
false
);
this
.
calcToolbarItemState
(
false
);
this
.
$emit
(
'selectionchange'
,
navItem
);
this
.
$emit
(
'selectionchange'
,
navItem
);
})
}
}
/**
/**
...
...
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
...
@@ -510,8 +510,14 @@ export default class TreeExpViewtreeexpbarBase extends Vue implements ControlInt
viewparams
:
tempViewparam
viewparams
:
tempViewparam
}
}
}
}
this
.
handleCtrlEvents
(
'onselectionchange'
,
{
data
:
args
}).
then
((
res
:
boolean
)
=>
{
if
(
!
res
)
{
this
.
calcToolbarItemState
(
true
);
return
;
}
this
.
calcToolbarItemState
(
false
);
this
.
calcToolbarItemState
(
false
);
this
.
$emit
(
'selectionchange'
,
navItem
);
this
.
$emit
(
'selectionchange'
,
navItem
);
})
}
}
/**
/**
...
...
app_Web/src/widgets/ibizorder/usr-list/usr-list-base.vue
浏览文件 @
418eb20f
...
@@ -730,10 +730,10 @@ export default class UsrBase extends Vue implements ControlInterface {
...
@@ -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
});
this
.
$Notice
.
error
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.delDataFail'
)
as
string
)
+
','
+
response
.
info
});
return
;
return
;
}
}
this
.
$Notice
.
success
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.deleteSuccess'
)
as
string
)
});
if
(
!
(
await
this
.
handleCtrlEvents
(
'onremovesuccess'
,
{
data
:
response
.
data
})))
{
if
(
!
(
await
this
.
handleCtrlEvents
(
'onremovesuccess'
,
{
data
:
response
.
data
})))
{
return
;
return
;
}
}
this
.
$Notice
.
success
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.deleteSuccess'
)
as
string
)
});
//删除items中已删除的项
//删除items中已删除的项
datas
.
forEach
((
data
:
any
)
=>
{
datas
.
forEach
((
data
:
any
)
=>
{
this
.
items
.
some
((
item
:
any
,
index
:
number
)
=>
{
this
.
items
.
some
((
item
:
any
,
index
:
number
)
=>
{
...
...
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
...
@@ -576,8 +576,14 @@ export default class Usr2CalendarExpViewcalendarexpbarBase extends Vue implement
viewparams
:
tempViewParam
viewparams
:
tempViewParam
}
}
}
}
this
.
handleCtrlEvents
(
'onselectionchange'
,
{
data
:
args
}).
then
((
res
:
boolean
)
=>
{
if
(
!
res
)
{
this
.
calcToolbarItemState
(
true
);
return
;
}
this
.
calcToolbarItemState
(
false
);
this
.
calcToolbarItemState
(
false
);
this
.
$emit
(
'selectionchange'
,
navItem
);
this
.
$emit
(
'selectionchange'
,
navItem
);
})
}
}
/**
/**
...
...
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
...
@@ -426,8 +426,14 @@ export default class F1TreeExpViewtreeexpbarBase extends Vue implements ControlI
viewparams
:
tempViewparam
viewparams
:
tempViewparam
}
}
}
}
this
.
handleCtrlEvents
(
'onselectionchange'
,
{
data
:
args
}).
then
((
res
:
boolean
)
=>
{
if
(
!
res
)
{
this
.
calcToolbarItemState
(
true
);
return
;
}
this
.
calcToolbarItemState
(
false
);
this
.
calcToolbarItemState
(
false
);
this
.
$emit
(
'selectionchange'
,
navItem
);
this
.
$emit
(
'selectionchange'
,
navItem
);
})
}
}
/**
/**
...
...
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
...
@@ -421,8 +421,14 @@ export default class F2TreeExpViewtreeexpbarBase extends Vue implements ControlI
viewparams
:
tempViewparam
viewparams
:
tempViewparam
}
}
}
}
this
.
handleCtrlEvents
(
'onselectionchange'
,
{
data
:
args
}).
then
((
res
:
boolean
)
=>
{
if
(
!
res
)
{
this
.
calcToolbarItemState
(
true
);
return
;
}
this
.
calcToolbarItemState
(
false
);
this
.
calcToolbarItemState
(
false
);
this
.
$emit
(
'selectionchange'
,
navItem
);
this
.
$emit
(
'selectionchange'
,
navItem
);
})
}
}
/**
/**
...
...
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
...
@@ -419,8 +419,14 @@ export default class F3TreeExpViewtreeexpbarBase extends Vue implements ControlI
viewparams
:
tempViewparam
viewparams
:
tempViewparam
}
}
}
}
this
.
handleCtrlEvents
(
'onselectionchange'
,
{
data
:
args
}).
then
((
res
:
boolean
)
=>
{
if
(
!
res
)
{
this
.
calcToolbarItemState
(
true
);
return
;
}
this
.
calcToolbarItemState
(
false
);
this
.
calcToolbarItemState
(
false
);
this
.
$emit
(
'selectionchange'
,
navItem
);
this
.
$emit
(
'selectionchange'
,
navItem
);
})
}
}
/**
/**
...
...
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
...
@@ -419,8 +419,14 @@ export default class F4TreeExpViewtreeexpbarBase extends Vue implements ControlI
viewparams
:
tempViewparam
viewparams
:
tempViewparam
}
}
}
}
this
.
handleCtrlEvents
(
'onselectionchange'
,
{
data
:
args
}).
then
((
res
:
boolean
)
=>
{
if
(
!
res
)
{
this
.
calcToolbarItemState
(
true
);
return
;
}
this
.
calcToolbarItemState
(
false
);
this
.
calcToolbarItemState
(
false
);
this
.
$emit
(
'selectionchange'
,
navItem
);
this
.
$emit
(
'selectionchange'
,
navItem
);
})
}
}
/**
/**
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录