Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
功
功能演示系统
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
示例
功能演示系统
提交
1db41d13
提交
1db41d13
编写于
11月 08, 2022
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Mosher 发布系统代码 [后台服务,演示应用]
上级
9f16bbc8
变更
7
显示空白字符变更
内嵌
并排
正在显示
7 个修改的文件
包含
63 行增加
和
34 行删除
+63
-34
form-load-ui-logic-base.ts
app_Web/src/uiservice/ibizbook/form-load-ui-logic-base.ts
+10
-6
grid-load-ui-logic-base.ts
app_Web/src/uiservice/ibizbook/grid-load-ui-logic-base.ts
+27
-2
grid-view-load-ui-logic-base.ts
...b/src/uiservice/ibizorder/grid-view-load-ui-logic-base.ts
+1
-1
open-yu-que-ui-logic-base.ts
app_Web/src/uiservice/ibizorder/open-yu-que-ui-logic-base.ts
+1
-1
default-searchform-base.vue
...s/ibizbook/default-searchform/default-searchform-base.vue
+2
-2
lnternal-func-list-list-base.vue
.../lnternal-func-list-list/lnternal-func-list-list-base.vue
+20
-20
quicksearchform-searchform-base.vue
...searchform-searchform/quicksearchform-searchform-base.vue
+2
-2
未找到文件。
app_Web/src/uiservice/ibizbook/form-load-ui-logic-base.ts
浏览文件 @
1db41d13
import
{
UIActionContext
}
from
"@/logic/ui-logic"
;
import
{
UIActionContext
}
from
"@/logic/ui-logic"
;
import
{
LogicReturnType
}
from
"@/logic/const/logic-return-type"
;
import
{
LogicReturnType
}
from
"@/logic/const/logic-return-type"
;
import
{
UILogicParamType
}
from
"@/logic/const/ui-logic-param-type"
;
import
{
UILogicParamType
}
from
"@/logic/const/ui-logic-param-type"
;
import
{
Util
}
from
"@/utils"
;
import
{
Util
,
Verify
}
from
"@/utils"
;
import
{
AppMessageBox
}
from
"@/utils/app-message-box/app-message-box"
;
import
{
AppMessageBox
}
from
"@/utils/app-message-box/app-message-box"
;
import
{
Subject
}
from
"rxjs"
;
import
{
Subject
}
from
"rxjs"
;
/**
/**
...
@@ -137,11 +137,13 @@ export default class FormLoadUILogicBase {
...
@@ -137,11 +137,13 @@ export default class FormLoadUILogicBase {
throw
new
Error
(
`逻辑参数当前表单
${
error
&&
error
.
message
?
error
.
message
:
'发生未知错误!'
}
`
);
throw
new
Error
(
`逻辑参数当前表单
${
error
&&
error
.
message
?
error
.
message
:
'发生未知错误!'
}
`
);
}
}
console
.
log
(
'已完成执行 绑定表单 节点'
);
console
.
log
(
'已完成执行 绑定表单 节点'
);
// 暂未支持连接条件
if
(
Verify
.
testCond
(
params
.
ibizbook
,
'ISNULL'
,
''
))
{
await
this
.
execute_viewctrlinvoke1_node
(
actionContext
);
await
this
.
execute_viewctrlinvoke1_node
(
actionContext
);
// 暂未支持连接条件
}
if
(
Verify
.
testCond
(
params
.
ibizbook
,
'ISNOTNULL'
,
''
))
{
await
this
.
execute_viewctrlinvoke2_node
(
actionContext
);
await
this
.
execute_viewctrlinvoke2_node
(
actionContext
);
}
}
}
/**
/**
* 结束
* 结束
...
@@ -239,7 +241,9 @@ export default class FormLoadUILogicBase {
...
@@ -239,7 +241,9 @@ export default class FormLoadUILogicBase {
* @memberof FormLoadUILogicBase
* @memberof FormLoadUILogicBase
*/
*/
protected
async
execute_debugparam1_node
(
actionContext
:
UIActionContext
)
{
protected
async
execute_debugparam1_node
(
actionContext
:
UIActionContext
)
{
// TODO 等待补充
const
dstParamValue
=
actionContext
.
getParam
(
'lastReturn'
).
getReal
();
actionContext
.
bindLastReturnParam
(
null
);
console
.
log
(
'逻辑节点 调试逻辑参数 操作参数值: '
,
dstParamValue
);
console
.
log
(
'已完成执行 调试逻辑参数 节点'
);
console
.
log
(
'已完成执行 调试逻辑参数 节点'
);
await
this
.
execute_end1_node
(
actionContext
);
await
this
.
execute_end1_node
(
actionContext
);
}
}
...
...
app_Web/src/uiservice/ibizbook/grid-load-ui-logic-base.ts
浏览文件 @
1db41d13
import
{
UIActionContext
}
from
"@/logic/ui-logic"
;
import
{
UIActionContext
}
from
"@/logic/ui-logic"
;
import
{
LogicReturnType
}
from
"@/logic/const/logic-return-type"
;
import
{
LogicReturnType
}
from
"@/logic/const/logic-return-type"
;
import
{
UILogicParamType
}
from
"@/logic/const/ui-logic-param-type"
;
import
{
UILogicParamType
}
from
"@/logic/const/ui-logic-param-type"
;
import
{
Util
}
from
"@/utils"
;
import
{
Util
,
Verify
}
from
"@/utils"
;
import
{
AppMessageBox
}
from
"@/utils/app-message-box/app-message-box"
;
import
{
AppMessageBox
}
from
"@/utils/app-message-box/app-message-box"
;
import
{
Subject
}
from
"rxjs"
;
import
{
Subject
}
from
"rxjs"
;
import
InitDataLogic
from
'@/service/ibizbook/init-data-logic'
;
import
InitDataLogic
from
'@/service/ibizbook/init-data-logic'
;
...
@@ -255,6 +255,29 @@ export default class GridLoadUILogicBase {
...
@@ -255,6 +255,29 @@ export default class GridLoadUILogicBase {
*/
*/
protected
async
execute_viewctrlfireevent1_node
(
actionContext
:
UIActionContext
)
{
protected
async
execute_viewctrlfireevent1_node
(
actionContext
:
UIActionContext
)
{
// TODO 等待补充
// TODO 等待补充
// 事件名称
const
eventName
:
string
=
'load'
;
// 事件参数
const
eventParam
=
'viewParam'
;
// 触发对象
const
fireCtrl
=
'grid'
;
if
(
!
eventParam
||
!
eventParam
||
!
fireCtrl
)
{
throw
new
Error
(
`触发对象、事件名称或者事件参数缺失`
);
}
// 触发UI对象
const
fireUICtrl
=
actionContext
.
getParam
(
fireCtrl
).
getReal
();
// 事件参数
const
eventArgs
=
actionContext
.
getParam
(
eventParam
).
getReal
();
if
(
!
fireUICtrl
)
{
throw
new
Error
(
`获取触发对象异常`
);
}
try
{
// 自身触发
fireUICtrl
.
$emit
(
eventName
,
eventArgs
);
actionContext
.
bindLastReturnParam
(
null
);
}
catch
(
error
:
any
)
{
throw
new
Error
(
`视图部件事件触发未执行成功!`
);
}
console
.
log
(
'已完成执行 视图部件事件触发 节点'
);
console
.
log
(
'已完成执行 视图部件事件触发 节点'
);
}
}
...
@@ -265,7 +288,9 @@ export default class GridLoadUILogicBase {
...
@@ -265,7 +288,9 @@ export default class GridLoadUILogicBase {
* @memberof GridLoadUILogicBase
* @memberof GridLoadUILogicBase
*/
*/
protected
async
execute_debugparam1_node
(
actionContext
:
UIActionContext
)
{
protected
async
execute_debugparam1_node
(
actionContext
:
UIActionContext
)
{
// TODO 等待补充
const
dstParamValue
=
actionContext
.
getParam
(
'context'
).
getReal
();
actionContext
.
bindLastReturnParam
(
null
);
console
.
log
(
'逻辑节点 调试逻辑参数 操作参数值: '
,
dstParamValue
);
console
.
log
(
'已完成执行 调试逻辑参数 节点'
);
console
.
log
(
'已完成执行 调试逻辑参数 节点'
);
await
this
.
execute_viewctrlfireevent1_node
(
actionContext
);
await
this
.
execute_viewctrlfireevent1_node
(
actionContext
);
}
}
...
...
app_Web/src/uiservice/ibizorder/grid-view-load-ui-logic-base.ts
浏览文件 @
1db41d13
import
{
UIActionContext
}
from
"@/logic/ui-logic"
;
import
{
UIActionContext
}
from
"@/logic/ui-logic"
;
import
{
LogicReturnType
}
from
"@/logic/const/logic-return-type"
;
import
{
LogicReturnType
}
from
"@/logic/const/logic-return-type"
;
import
{
UILogicParamType
}
from
"@/logic/const/ui-logic-param-type"
;
import
{
UILogicParamType
}
from
"@/logic/const/ui-logic-param-type"
;
import
{
Util
}
from
"@/utils"
;
import
{
Util
,
Verify
}
from
"@/utils"
;
import
{
AppMessageBox
}
from
"@/utils/app-message-box/app-message-box"
;
import
{
AppMessageBox
}
from
"@/utils/app-message-box/app-message-box"
;
import
{
Subject
}
from
"rxjs"
;
import
{
Subject
}
from
"rxjs"
;
/**
/**
...
...
app_Web/src/uiservice/ibizorder/open-yu-que-ui-logic-base.ts
浏览文件 @
1db41d13
import
{
UIActionContext
}
from
"@/logic/ui-logic"
;
import
{
UIActionContext
}
from
"@/logic/ui-logic"
;
import
{
LogicReturnType
}
from
"@/logic/const/logic-return-type"
;
import
{
LogicReturnType
}
from
"@/logic/const/logic-return-type"
;
import
{
UILogicParamType
}
from
"@/logic/const/ui-logic-param-type"
;
import
{
UILogicParamType
}
from
"@/logic/const/ui-logic-param-type"
;
import
{
Util
}
from
"@/utils"
;
import
{
Util
,
Verify
}
from
"@/utils"
;
import
{
AppMessageBox
}
from
"@/utils/app-message-box/app-message-box"
;
import
{
AppMessageBox
}
from
"@/utils/app-message-box/app-message-box"
;
import
{
Subject
}
from
"rxjs"
;
import
{
Subject
}
from
"rxjs"
;
/**
/**
...
...
app_Web/src/widgets/ibizbook/default-searchform/default-searchform-base.vue
浏览文件 @
1db41d13
...
@@ -671,7 +671,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
...
@@ -671,7 +671,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
*/
public
load
(
opt
:
any
=
{}):
void
{
public
load
(
opt
:
any
=
{}):
void
{
if
(
!
this
.
loadAction
){
if
(
!
this
.
loadAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Calendar
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loadAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Usr3Grid
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loadAction'
)
as
string
)
});
return
;
return
;
}
}
const
arg
:
any
=
{
...
opt
};
const
arg
:
any
=
{
...
opt
};
...
@@ -707,7 +707,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
...
@@ -707,7 +707,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
*/
public
loadDraft
(
opt
:
any
=
{},
mode
?:
string
):
void
{
public
loadDraft
(
opt
:
any
=
{},
mode
?:
string
):
void
{
if
(
!
this
.
loaddraftAction
){
if
(
!
this
.
loaddraftAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Calendar
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loaddraftAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Usr3Grid
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loaddraftAction'
)
as
string
)
});
return
;
return
;
}
}
const
arg
:
any
=
{
...
opt
}
;
const
arg
:
any
=
{
...
opt
}
;
...
...
app_Web/src/widgets/ibizbook/lnternal-func-list-list/lnternal-func-list-list-base.vue
浏览文件 @
1db41d13
...
@@ -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>
...
@@ -362,7 +362,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
...
@@ -362,7 +362,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
;
...
@@ -382,7 +382,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
...
@@ -382,7 +382,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
)
{
...
@@ -408,7 +408,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
...
@@ -408,7 +408,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
;
...
@@ -583,9 +583,9 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
...
@@ -583,9 +583,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
:
''
}
},
};
};
...
@@ -595,9 +595,9 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
...
@@ -595,9 +595,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'
}
},
...
@@ -820,7 +820,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
...
@@ -820,7 +820,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
*/
*/
public
load
(
opt
:
any
=
{}):
void
{
public
load
(
opt
:
any
=
{}):
void
{
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
};
...
@@ -936,7 +936,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
...
@@ -936,7 +936,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
)
{
...
@@ -1031,7 +1031,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
...
@@ -1031,7 +1031,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
);
...
@@ -1039,7 +1039,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
...
@@ -1039,7 +1039,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/quicksearchform-searchform/quicksearchform-searchform-base.vue
浏览文件 @
1db41d13
...
@@ -629,7 +629,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface
...
@@ -629,7 +629,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface
*/
*/
public
load
(
opt
:
any
=
{}):
void
{
public
load
(
opt
:
any
=
{}):
void
{
if
(
!
this
.
loadAction
){
if
(
!
this
.
loadAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Calendar
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loadAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
List
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loadAction'
)
as
string
)
});
return
;
return
;
}
}
const
arg
:
any
=
{
...
opt
};
const
arg
:
any
=
{
...
opt
};
...
@@ -665,7 +665,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface
...
@@ -665,7 +665,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface
*/
*/
public
loadDraft
(
opt
:
any
=
{},
mode
?:
string
):
void
{
public
loadDraft
(
opt
:
any
=
{},
mode
?:
string
):
void
{
if
(
!
this
.
loaddraftAction
){
if
(
!
this
.
loaddraftAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Calendar
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loaddraftAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
List
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loaddraftAction'
)
as
string
)
});
return
;
return
;
}
}
const
arg
:
any
=
{
...
opt
}
;
const
arg
:
any
=
{
...
opt
}
;
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录