Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
功
功能演示系统
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
示例
功能演示系统
提交
c6e46bff
提交
c6e46bff
编写于
12月 13, 2022
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
tony001 发布系统代码 [后台服务,演示应用]
上级
b458a1f2
变更
16
隐藏空白字符变更
内嵌
并排
正在显示
16 个修改的文件
包含
182 行增加
和
80 行删除
+182
-80
app-register.ts
app_Web/src/app-register.ts
+2
-0
app-searchbar.vue
app_Web/src/components/app-searchbar/app-searchbar.vue
+9
-24
pickup-grid-view-layout.scss
...yout/pickup-grid-view-layout/pickup-grid-view-layout.scss
+87
-0
pickup-grid-view-layout.vue
...ayout/pickup-grid-view-layout/pickup-grid-view-layout.vue
+33
-0
ibizcustomer-intfpickup-grid-view-base.vue
...ckup-grid-view/ibizcustomer-intfpickup-grid-view-base.vue
+2
-2
ibizcustomer-pickup-grid-view-base.vue
...r-pickup-grid-view/ibizcustomer-pickup-grid-view-base.vue
+2
-2
ibizorder-pickup-grid-view-base.vue
...rder-pickup-grid-view/ibizorder-pickup-grid-view-base.vue
+2
-2
ibizsample0002-pickup-grid-view-base.vue
...pickup-grid-view/ibizsample0002-pickup-grid-view-base.vue
+2
-2
ibizsample0003-pickup-grid-view-base.vue
...pickup-grid-view/ibizsample0003-pickup-grid-view-base.vue
+2
-2
ibizuniproduct-pickup-grid-view-base.vue
...pickup-grid-view/ibizuniproduct-pickup-grid-view-base.vue
+2
-2
guide-borrow-form-form-base.vue
...ok/guide-borrow-form-form/guide-borrow-form-form-base.vue
+5
-5
guide-return-form-form-base.vue
...ok/guide-return-form-form/guide-return-form-form-base.vue
+5
-5
guide-view-form-form-base.vue
...izbook/guide-view-form-form/guide-view-form-form-base.vue
+5
-5
lnternal-func-list-list-base.vue
.../lnternal-func-list-list/lnternal-func-list-list-base.vue
+20
-20
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
+0
-5
未找到文件。
app_Web/src/app-register.ts
浏览文件 @
c6e46bff
...
@@ -149,6 +149,7 @@ import AppEditViewLayout from './layout/edit-view-layout/edit-view-layout.vue';
...
@@ -149,6 +149,7 @@ import AppEditViewLayout from './layout/edit-view-layout/edit-view-layout.vue';
import
AppMEditViewLayout
from
'./layout/medit-view-layout/medit-view-layout.vue'
;
import
AppMEditViewLayout
from
'./layout/medit-view-layout/medit-view-layout.vue'
;
import
AppPickUpViewLayout
from
'./layout/pickup-view-layout/pickup-view-layout.vue'
;
import
AppPickUpViewLayout
from
'./layout/pickup-view-layout/pickup-view-layout.vue'
;
import
AppMPickUpViewLayout
from
'./layout/mpickup-view-layout/mpickup-view-layout.vue'
;
import
AppMPickUpViewLayout
from
'./layout/mpickup-view-layout/mpickup-view-layout.vue'
;
import
AppPickUpGridViewLayout
from
'./layout/pickup-grid-view-layout/pickup-grid-view-layout.vue'
;
// 全局挂载UI实体服务注册中心
// 全局挂载UI实体服务注册中心
window
[
'uiServiceRegister'
]
=
uiServiceRegister
;
window
[
'uiServiceRegister'
]
=
uiServiceRegister
;
// 全局挂载实体权限服务注册中心
// 全局挂载实体权限服务注册中心
...
@@ -312,5 +313,6 @@ export const AppComponents = {
...
@@ -312,5 +313,6 @@ export const AppComponents = {
v
.
component
(
'extend-action-timeline'
,
ExtendActionTimeline
);
v
.
component
(
'extend-action-timeline'
,
ExtendActionTimeline
);
v
.
component
(
'app-pickup-view-layout'
,
AppPickUpViewLayout
);
v
.
component
(
'app-pickup-view-layout'
,
AppPickUpViewLayout
);
v
.
component
(
'app-mpickup-view-layout'
,
AppMPickUpViewLayout
);
v
.
component
(
'app-mpickup-view-layout'
,
AppMPickUpViewLayout
);
v
.
component
(
'app-pickup-grid-view-layout'
,
AppPickUpGridViewLayout
);
},
},
};
};
\ No newline at end of file
app_Web/src/components/app-searchbar/app-searchbar.vue
浏览文件 @
c6e46bff
<
template
>
<
template
>
<div
class=
"app-searchbar"
>
<div
class=
"app-searchbar"
>
<div
class=
"app-searchbar-group"
v-for=
"(item,index) in
condI
tems"
>
<div
class=
"app-searchbar-group"
v-for=
"(item,index) in
i
tems"
>
<el-select
size=
"small"
class=
"app-searchbar-field app-searchbar-item"
v-model=
"item.field"
clearable
:placeholder=
"$t('components.filterTree.placeholder')"
>
<el-select
size=
"small"
class=
"app-searchbar-field app-searchbar-item"
v-model=
"item.field"
clearable
:placeholder=
"$t('components.filterTree.placeholder')"
>
<el-option
<el-option
v-for=
"field in fieldItems"
v-for=
"field in fieldItems"
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
<slot
:data=
"item"
></slot>
<slot
:data=
"item"
></slot>
</div>
</div>
<div
class=
"app-searchbar-action"
>
<div
class=
"app-searchbar-action"
>
<img
v-if=
"index ===
condI
tems.length - 1"
src=
"assets/img/ic_add_circle.svg"
@
click=
"onAddItem()"
>
<img
v-if=
"index ===
i
tems.length - 1"
src=
"assets/img/ic_add_circle.svg"
@
click=
"onAddItem()"
>
<img
v-else
src=
"assets/img/remove_circle.svg"
@
click=
"onRemoveItem(index)"
>
<img
v-else
src=
"assets/img/remove_circle.svg"
@
click=
"onRemoveItem(index)"
>
</div>
</div>
</div>
</div>
...
@@ -51,20 +51,6 @@ export default class AppSearchbar extends Vue {
...
@@ -51,20 +51,6 @@ export default class AppSearchbar extends Vue {
*/
*/
@
Prop
()
fields
:
any
;
@
Prop
()
fields
:
any
;
@
Watch
(
"items"
,
{
immediate
:
true
})
onItemsChange
(
newItems
:
any
[])
{
this
.
condItems
=
[];
if
(
newItems
&&
newItems
.
length
>
0
)
{
this
.
condItems
.
push
(...
newItems
);
}
else
{
this
.
condItems
.
push
({
field
:
null
,
mode
:
null
,
editor
:
null
});
}
}
/**
/**
* 属性项集合
* 属性项集合
*
*
...
@@ -73,14 +59,6 @@ export default class AppSearchbar extends Vue {
...
@@ -73,14 +59,6 @@ export default class AppSearchbar extends Vue {
*/
*/
protected
fieldItems
:
any
[]
=
[];
protected
fieldItems
:
any
[]
=
[];
/**
* 条件项集合
*
* @type {*}
* @memberof AppSearchbar
*/
protected
condItems
:
any
[]
=
[];
/**
/**
* 生命周期
* 生命周期
*
*
...
@@ -91,6 +69,13 @@ export default class AppSearchbar extends Vue {
...
@@ -91,6 +69,13 @@ export default class AppSearchbar extends Vue {
if
(
!
this
.
fields
)
{
if
(
!
this
.
fields
)
{
return
;
return
;
}
}
if
(
this
.
items
.
length
==
0
)
{
this
.
items
.
push
({
field
:
null
,
mode
:
null
,
editor
:
null
})
}
this
.
fields
.
forEach
((
field
:
any
)
=>
{
this
.
fields
.
forEach
((
field
:
any
)
=>
{
let
index
:
number
=
this
.
fieldItems
.
findIndex
((
item
:
any
)
=>
Object
.
is
(
item
.
value
,
field
.
prop
));
let
index
:
number
=
this
.
fieldItems
.
findIndex
((
item
:
any
)
=>
Object
.
is
(
item
.
value
,
field
.
prop
));
if
(
index
<
0
)
{
if
(
index
<
0
)
{
...
...
app_Web/src/layout/pickup-grid-view-layout/pickup-grid-view-layout.scss
0 → 100644
浏览文件 @
c6e46bff
.pickup-grid-view-layout
{
height
:
100%
;
background-color
:
transparent
;
box-shadow
:
none
;
overflow
:
auto
;
display
:
flex
;
flex-direction
:
column
;
padding
:
12px
!
important
;
.view-header__content
{
display
:
flex
;
flex-direction
:
column
;
padding
:
16px
4px
20px
7px
;
gap
:
10px
;
background
:
var
(
--
app-color-white
);
box-sizing
:
border-box
;
border
:
1px
solid
var
(
--
app-color-gray-250
);
.quick-search-input
.ivu-input
{
width
:
100%
;
height
:
34px
;
display
:
flex
;
flex-direction
:
row
;
justify-content
:
flex-end
;
align-items
:
center
;
padding
:
4px
10px
;
background
:
var
(
--
app-color-white
);
box-sizing
:
border-box
;
border
:
1px
solid
var
(
--
app-color-gray-250
);
border-radius
:
0
;
z-index
:
0
;
&
:focus
{
box-shadow
:
none
;
border-color
:
var
(
--
app-color-gray-250
);
}
}
.search-form-toggle
{
width
:
100%
;
height
:
26px
;
display
:
flex
;
align-items
:
center
;
gap
:
10px
;
font-size
:
12px
;
padding-left
:
20px
;
cursor
:
pointer
;
i
{
font-weight
:
900
;
font-size
:
14px
;
}
&
:hover
{
color
:
var
(
--
app-color-blue
);
}
}
.app-search-form
.search-button
{
display
:
none
;
}
}
.view-header__bottom
{
min-height
:
20px
;
display
:
flex
;
justify-content
:
flex-end
;
align-items
:
center
;
background-color
:
transparent
;
gap
:
10px
;
.ivu-btn
{
width
:
110px
;
height
:
34px
;
display
:
flex
;
flex-direction
:
row
;
justify-content
:
center
;
align-items
:
center
;
padding
:
10px
20px
;
margin
:
16px
0
;
background
:
var
(
--
app-color-white
);
border
:
1px
solid
var
(
--
app-color-blue
);
border-radius
:
0
;
}
.ivu-btn-primary
{
background
:
var
(
--
app-color-blue
);
color
:
var
(
--
app-color-white
);
}
}
.view-content
{
flex
:
auto
;
height
:
0
;
background
:
var
(
--
app-color-white
);
border
:
1px
solid
var
(
--
app-color-gray-200
);
}
}
\ No newline at end of file
app_Web/src/layout/pickup-grid-view-layout/pickup-grid-view-layout.vue
0 → 100644
浏览文件 @
c6e46bff
<
template
>
<layout
class=
"pickup-grid-view-layout view-layout"
>
<header
class=
"view-header"
>
<div
class=
"view-header__top"
>
<slot
name=
"headerTop"
/>
</div>
<div
class=
"view-header__content"
>
<slot
name=
"headerContent"
/>
</div>
<div
class=
"view-header__bottom"
>
<slot
name=
"headerBottom"
/>
</div>
</header>
<content
class=
"view-content content-container"
>
<slot
/>
</content>
<footer
class=
"view-footer"
>
<slot
name=
"footer"
/>
</footer>
</layout>
</
template
>
<
script
lang=
"ts"
>
import
{
Vue
,
Component
,
Watch
,
Prop
}
from
'vue-property-decorator'
;
@
Component
({})
export
default
class
AppPickUpGridViewLayout
extends
Vue
{
}
</
script
>
<
style
lang=
"scss"
>
@import
"./pickup-grid-view-layout.scss"
;
</
style
>
app_Web/src/pages/sample/ibizcustomer-intfpickup-grid-view/ibizcustomer-intfpickup-grid-view-base.vue
浏览文件 @
c6e46bff
<
template
>
<
template
>
<app-grid-view-layout
class=
'view-container depickupgridview ibizcustomer-intfpickup-grid-view'
>
<app-
pickup-
grid-view-layout
class=
'view-container depickupgridview ibizcustomer-intfpickup-grid-view'
>
<template
#
headerTop
>
<template
#
headerTop
>
</
template
>
</
template
>
<
template
#
headerContent
>
<
template
#
headerContent
>
...
@@ -53,7 +53,7 @@
...
@@ -53,7 +53,7 @@
</
template
>
</
template
>
<
template
#
contentBottom
>
<
template
#
contentBottom
>
</
template
>
</
template
>
</app-grid-view-layout>
</app-
pickup-
grid-view-layout>
</template>
</template>
// 基于 @VIEW/实体选择表格视图/VIEW-BASE.vue.ftl 生成
// 基于 @VIEW/实体选择表格视图/VIEW-BASE.vue.ftl 生成
...
...
app_Web/src/pages/sample/ibizcustomer-pickup-grid-view/ibizcustomer-pickup-grid-view-base.vue
浏览文件 @
c6e46bff
<
template
>
<
template
>
<app-grid-view-layout
class=
'view-container depickupgridview ibizcustomer-pickup-grid-view'
>
<app-
pickup-
grid-view-layout
class=
'view-container depickupgridview ibizcustomer-pickup-grid-view'
>
<template
#
headerTop
>
<template
#
headerTop
>
</
template
>
</
template
>
<
template
#
headerContent
>
<
template
#
headerContent
>
...
@@ -53,7 +53,7 @@
...
@@ -53,7 +53,7 @@
</
template
>
</
template
>
<
template
#
contentBottom
>
<
template
#
contentBottom
>
</
template
>
</
template
>
</app-grid-view-layout>
</app-
pickup-
grid-view-layout>
</template>
</template>
// 基于 @VIEW/实体选择表格视图/VIEW-BASE.vue.ftl 生成
// 基于 @VIEW/实体选择表格视图/VIEW-BASE.vue.ftl 生成
...
...
app_Web/src/pages/sample/ibizorder-pickup-grid-view/ibizorder-pickup-grid-view-base.vue
浏览文件 @
c6e46bff
<
template
>
<
template
>
<app-grid-view-layout
class=
'view-container depickupgridview ibizorder-pickup-grid-view'
>
<app-
pickup-
grid-view-layout
class=
'view-container depickupgridview ibizorder-pickup-grid-view'
>
<template
#
headerTop
>
<template
#
headerTop
>
</
template
>
</
template
>
<
template
#
headerContent
>
<
template
#
headerContent
>
...
@@ -53,7 +53,7 @@
...
@@ -53,7 +53,7 @@
</
template
>
</
template
>
<
template
#
contentBottom
>
<
template
#
contentBottom
>
</
template
>
</
template
>
</app-grid-view-layout>
</app-
pickup-
grid-view-layout>
</template>
</template>
// 基于 @VIEW/实体选择表格视图/VIEW-BASE.vue.ftl 生成
// 基于 @VIEW/实体选择表格视图/VIEW-BASE.vue.ftl 生成
...
...
app_Web/src/pages/sample/ibizsample0002-pickup-grid-view/ibizsample0002-pickup-grid-view-base.vue
浏览文件 @
c6e46bff
<
template
>
<
template
>
<app-grid-view-layout
class=
'view-container depickupgridview ibizsample0002-pickup-grid-view'
>
<app-
pickup-
grid-view-layout
class=
'view-container depickupgridview ibizsample0002-pickup-grid-view'
>
<template
#
headerTop
>
<template
#
headerTop
>
</
template
>
</
template
>
<
template
#
headerContent
>
<
template
#
headerContent
>
...
@@ -53,7 +53,7 @@
...
@@ -53,7 +53,7 @@
</
template
>
</
template
>
<
template
#
contentBottom
>
<
template
#
contentBottom
>
</
template
>
</
template
>
</app-grid-view-layout>
</app-
pickup-
grid-view-layout>
</template>
</template>
// 基于 @VIEW/实体选择表格视图/VIEW-BASE.vue.ftl 生成
// 基于 @VIEW/实体选择表格视图/VIEW-BASE.vue.ftl 生成
...
...
app_Web/src/pages/sample/ibizsample0003-pickup-grid-view/ibizsample0003-pickup-grid-view-base.vue
浏览文件 @
c6e46bff
<
template
>
<
template
>
<app-grid-view-layout
class=
'view-container depickupgridview ibizsample0003-pickup-grid-view'
>
<app-
pickup-
grid-view-layout
class=
'view-container depickupgridview ibizsample0003-pickup-grid-view'
>
<template
#
headerTop
>
<template
#
headerTop
>
</
template
>
</
template
>
<
template
#
headerContent
>
<
template
#
headerContent
>
...
@@ -53,7 +53,7 @@
...
@@ -53,7 +53,7 @@
</
template
>
</
template
>
<
template
#
contentBottom
>
<
template
#
contentBottom
>
</
template
>
</
template
>
</app-grid-view-layout>
</app-
pickup-
grid-view-layout>
</template>
</template>
// 基于 @VIEW/实体选择表格视图/VIEW-BASE.vue.ftl 生成
// 基于 @VIEW/实体选择表格视图/VIEW-BASE.vue.ftl 生成
...
...
app_Web/src/pages/sample/ibizuniproduct-pickup-grid-view/ibizuniproduct-pickup-grid-view-base.vue
浏览文件 @
c6e46bff
<
template
>
<
template
>
<app-grid-view-layout
class=
'view-container depickupgridview ibizuniproduct-pickup-grid-view'
>
<app-
pickup-
grid-view-layout
class=
'view-container depickupgridview ibizuniproduct-pickup-grid-view'
>
<template
#
headerTop
>
<template
#
headerTop
>
</
template
>
</
template
>
<
template
#
headerContent
>
<
template
#
headerContent
>
...
@@ -53,7 +53,7 @@
...
@@ -53,7 +53,7 @@
</
template
>
</
template
>
<
template
#
contentBottom
>
<
template
#
contentBottom
>
</
template
>
</
template
>
</app-grid-view-layout>
</app-
pickup-
grid-view-layout>
</template>
</template>
// 基于 @VIEW/实体选择表格视图/VIEW-BASE.vue.ftl 生成
// 基于 @VIEW/实体选择表格视图/VIEW-BASE.vue.ftl 生成
...
...
app_Web/src/widgets/ibizbook/guide-borrow-form-form/guide-borrow-form-form-base.vue
浏览文件 @
c6e46bff
...
@@ -1378,7 +1378,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
...
@@ -1378,7 +1378,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
*/
*/
public
async
load
(
opt
:
any
=
{}):
Promise
<
any
>
{
public
async
load
(
opt
:
any
=
{}):
Promise
<
any
>
{
if
(
!
this
.
loadAction
){
if
(
!
this
.
loadAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
WizardView_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.loadaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
UsrWizardView_plugin
'
+
(
this
.
$t
(
'app.formpage.notconfig.loadaction'
)
as
string
)
});
return
;
return
;
}
}
const
arg
:
any
=
{
...
opt
};
const
arg
:
any
=
{
...
opt
};
...
@@ -1429,7 +1429,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
...
@@ -1429,7 +1429,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
*/
*/
public
async
loadDraft
(
opt
:
any
=
{}):
Promise
<
any
>
{
public
async
loadDraft
(
opt
:
any
=
{}):
Promise
<
any
>
{
if
(
!
this
.
loaddraftAction
)
{
if
(
!
this
.
loaddraftAction
)
{
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
WizardView_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.loaddraftaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
UsrWizardView_plugin
'
+
(
this
.
$t
(
'app.formpage.notconfig.loaddraftaction'
)
as
string
)
});
return
;
return
;
}
}
const
arg
:
any
=
{
...
opt
}
;
const
arg
:
any
=
{
...
opt
}
;
...
@@ -1499,7 +1499,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
...
@@ -1499,7 +1499,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
const
action
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)
?
this
.
updateAction
:
this
.
createAction
;
const
action
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)
?
this
.
updateAction
:
this
.
createAction
;
if
(
!
action
){
if
(
!
action
){
let
actionName
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)?
"updateAction"
:
"createAction"
;
let
actionName
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)?
"updateAction"
:
"createAction"
;
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
WizardView_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
UsrWizardView_plugin
'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
return
;
return
;
}
}
Object
.
assign
(
arg
,{
viewparams
:
this
.
viewparams
});
Object
.
assign
(
arg
,{
viewparams
:
this
.
viewparams
});
...
@@ -1607,7 +1607,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
...
@@ -1607,7 +1607,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
const
action
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)
?
this
.
updateAction
:
this
.
createAction
;
const
action
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)
?
this
.
updateAction
:
this
.
createAction
;
if
(
!
action
){
if
(
!
action
){
let
actionName
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)?
"updateAction"
:
"createAction"
;
let
actionName
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)?
"updateAction"
:
"createAction"
;
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
WizardView_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
UsrWizardView_plugin
'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
return
;
return
;
}
}
Object
.
assign
(
arg
,
{
viewparams
:
this
.
viewparams
});
Object
.
assign
(
arg
,
{
viewparams
:
this
.
viewparams
});
...
@@ -1799,7 +1799,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
...
@@ -1799,7 +1799,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
public
remove
(
opt
:
Array
<
any
>
=
[],
showResultInfo
?:
boolean
):
Promise
<
any
>
{
public
remove
(
opt
:
Array
<
any
>
=
[],
showResultInfo
?:
boolean
):
Promise
<
any
>
{
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
if
(
!
this
.
removeAction
){
if
(
!
this
.
removeAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
WizardView_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.removeaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
UsrWizardView_plugin
'
+
(
this
.
$t
(
'app.formpage.notconfig.removeaction'
)
as
string
)
});
return
;
return
;
}
}
const
arg
:
any
=
opt
[
0
];
const
arg
:
any
=
opt
[
0
];
...
...
app_Web/src/widgets/ibizbook/guide-return-form-form/guide-return-form-form-base.vue
浏览文件 @
c6e46bff
...
@@ -1344,7 +1344,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
...
@@ -1344,7 +1344,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
*/
*/
public
async
load
(
opt
:
any
=
{}):
Promise
<
any
>
{
public
async
load
(
opt
:
any
=
{}):
Promise
<
any
>
{
if
(
!
this
.
loadAction
){
if
(
!
this
.
loadAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.loadaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.loadaction'
)
as
string
)
});
return
;
return
;
}
}
const
arg
:
any
=
{
...
opt
};
const
arg
:
any
=
{
...
opt
};
...
@@ -1395,7 +1395,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
...
@@ -1395,7 +1395,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
*/
*/
public
async
loadDraft
(
opt
:
any
=
{}):
Promise
<
any
>
{
public
async
loadDraft
(
opt
:
any
=
{}):
Promise
<
any
>
{
if
(
!
this
.
loaddraftAction
)
{
if
(
!
this
.
loaddraftAction
)
{
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.loaddraftaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.loaddraftaction'
)
as
string
)
});
return
;
return
;
}
}
const
arg
:
any
=
{
...
opt
}
;
const
arg
:
any
=
{
...
opt
}
;
...
@@ -1465,7 +1465,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
...
@@ -1465,7 +1465,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
const
action
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)
?
this
.
updateAction
:
this
.
createAction
;
const
action
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)
?
this
.
updateAction
:
this
.
createAction
;
if
(
!
action
){
if
(
!
action
){
let
actionName
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)?
"updateAction"
:
"createAction"
;
let
actionName
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)?
"updateAction"
:
"createAction"
;
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
return
;
return
;
}
}
Object
.
assign
(
arg
,{
viewparams
:
this
.
viewparams
});
Object
.
assign
(
arg
,{
viewparams
:
this
.
viewparams
});
...
@@ -1573,7 +1573,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
...
@@ -1573,7 +1573,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
const
action
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)
?
this
.
updateAction
:
this
.
createAction
;
const
action
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)
?
this
.
updateAction
:
this
.
createAction
;
if
(
!
action
){
if
(
!
action
){
let
actionName
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)?
"updateAction"
:
"createAction"
;
let
actionName
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)?
"updateAction"
:
"createAction"
;
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
return
;
return
;
}
}
Object
.
assign
(
arg
,
{
viewparams
:
this
.
viewparams
});
Object
.
assign
(
arg
,
{
viewparams
:
this
.
viewparams
});
...
@@ -1765,7 +1765,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
...
@@ -1765,7 +1765,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
public
remove
(
opt
:
Array
<
any
>
=
[],
showResultInfo
?:
boolean
):
Promise
<
any
>
{
public
remove
(
opt
:
Array
<
any
>
=
[],
showResultInfo
?:
boolean
):
Promise
<
any
>
{
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
if
(
!
this
.
removeAction
){
if
(
!
this
.
removeAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.removeaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.removeaction'
)
as
string
)
});
return
;
return
;
}
}
const
arg
:
any
=
opt
[
0
];
const
arg
:
any
=
opt
[
0
];
...
...
app_Web/src/widgets/ibizbook/guide-view-form-form/guide-view-form-form-base.vue
浏览文件 @
c6e46bff
...
@@ -1447,7 +1447,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
...
@@ -1447,7 +1447,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
*/
*/
public
async
load
(
opt
:
any
=
{}):
Promise
<
any
>
{
public
async
load
(
opt
:
any
=
{}):
Promise
<
any
>
{
if
(
!
this
.
loadAction
){
if
(
!
this
.
loadAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
WizardView_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.loadaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
UsrWizardView_plugin
'
+
(
this
.
$t
(
'app.formpage.notconfig.loadaction'
)
as
string
)
});
return
;
return
;
}
}
const
arg
:
any
=
{
...
opt
};
const
arg
:
any
=
{
...
opt
};
...
@@ -1499,7 +1499,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
...
@@ -1499,7 +1499,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
*/
*/
public
async
loadDraft
(
opt
:
any
=
{}):
Promise
<
any
>
{
public
async
loadDraft
(
opt
:
any
=
{}):
Promise
<
any
>
{
if
(
!
this
.
loaddraftAction
)
{
if
(
!
this
.
loaddraftAction
)
{
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
WizardView_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.loaddraftaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
UsrWizardView_plugin
'
+
(
this
.
$t
(
'app.formpage.notconfig.loaddraftaction'
)
as
string
)
});
return
;
return
;
}
}
const
arg
:
any
=
{
...
opt
}
;
const
arg
:
any
=
{
...
opt
}
;
...
@@ -1569,7 +1569,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
...
@@ -1569,7 +1569,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
const
action
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)
?
this
.
updateAction
:
this
.
createAction
;
const
action
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)
?
this
.
updateAction
:
this
.
createAction
;
if
(
!
action
){
if
(
!
action
){
let
actionName
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)?
"updateAction"
:
"createAction"
;
let
actionName
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)?
"updateAction"
:
"createAction"
;
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
WizardView_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
UsrWizardView_plugin
'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
return
;
return
;
}
}
Object
.
assign
(
arg
,{
viewparams
:
this
.
viewparams
});
Object
.
assign
(
arg
,{
viewparams
:
this
.
viewparams
});
...
@@ -1677,7 +1677,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
...
@@ -1677,7 +1677,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
const
action
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)
?
this
.
updateAction
:
this
.
createAction
;
const
action
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)
?
this
.
updateAction
:
this
.
createAction
;
if
(
!
action
){
if
(
!
action
){
let
actionName
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)?
"updateAction"
:
"createAction"
;
let
actionName
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)?
"updateAction"
:
"createAction"
;
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
WizardView_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
UsrWizardView_plugin
'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
return
;
return
;
}
}
Object
.
assign
(
arg
,
{
viewparams
:
this
.
viewparams
});
Object
.
assign
(
arg
,
{
viewparams
:
this
.
viewparams
});
...
@@ -1869,7 +1869,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
...
@@ -1869,7 +1869,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
public
remove
(
opt
:
Array
<
any
>
=
[],
showResultInfo
?:
boolean
):
Promise
<
any
>
{
public
remove
(
opt
:
Array
<
any
>
=
[],
showResultInfo
?:
boolean
):
Promise
<
any
>
{
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
if
(
!
this
.
removeAction
){
if
(
!
this
.
removeAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
WizardView_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.removeaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
UsrWizardView_plugin
'
+
(
this
.
$t
(
'app.formpage.notconfig.removeaction'
)
as
string
)
});
return
;
return
;
}
}
const
arg
:
any
=
opt
[
0
];
const
arg
:
any
=
opt
[
0
];
...
...
app_Web/src/widgets/ibizbook/lnternal-func-list-list/lnternal-func-list-list-base.vue
浏览文件 @
c6e46bff
...
@@ -26,11 +26,11 @@
...
@@ -26,11 +26,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=
"
listviewlist_quicktoolbarModels.deuiaction1.visabled"
:disabled=
"listview
list_quicktoolbarModels.deuiaction1.disabled"
class=
' srfactionlevel100'
v-button-loading:i-button
@
click=
"list_quicktoolbar_click({ tag: 'deuiaction1' }, $event)"
>
<i-button
v-show=
"
usr4listview_layoutlist_quicktoolbarModels.deuiaction1.visabled"
:disabled=
"usr4listview_layout
list_quicktoolbarModels.deuiaction1.disabled"
class=
' srfactionlevel100'
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.
listview
list_quicktoolbar_toolbar.deuiaction1.caption')}}
</span>
<span
class=
'caption'
>
{{$t('entities.ibizbook.
usr4listview_layout
list_quicktoolbar_toolbar.deuiaction1.caption')}}
</span>
</i-button>
</i-button>
<div
slot=
'content'
>
{{$t('entities.ibizbook.
listview
list_quicktoolbar_toolbar.deuiaction1.tip')}}
</div>
<div
slot=
'content'
>
{{$t('entities.ibizbook.
usr4listview_layout
list_quicktoolbar_toolbar.deuiaction1.tip')}}
</div>
</tooltip>
</tooltip>
</div>
</div>
</span>
</span>
...
@@ -41,18 +41,18 @@
...
@@ -41,18 +41,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=
"
listviewlist_batchtoolbarModels.deuiaction1.visabled"
:disabled=
"listview
list_batchtoolbarModels.deuiaction1.disabled"
class=
' srfactionlevel100'
v-button-loading:i-button
@
click=
"list_batchtoolbar_click({ tag: 'deuiaction1' }, $event)"
>
<i-button
v-show=
"
usr4listview_layoutlist_batchtoolbarModels.deuiaction1.visabled"
:disabled=
"usr4listview_layout
list_batchtoolbarModels.deuiaction1.disabled"
class=
' srfactionlevel100'
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.
listview
list_batchtoolbar_toolbar.deuiaction1.caption')}}
</span>
<span
class=
'caption'
>
{{$t('entities.ibizbook.
usr4listview_layout
list_batchtoolbar_toolbar.deuiaction1.caption')}}
</span>
</i-button>
</i-button>
<div
slot=
'content'
>
{{$t('entities.ibizbook.
listview
list_batchtoolbar_toolbar.deuiaction1.tip')}}
</div>
<div
slot=
'content'
>
{{$t('entities.ibizbook.
usr4listview_layout
list_batchtoolbar_toolbar.deuiaction1.tip')}}
</div>
</tooltip>
</tooltip>
<tooltip
:transfer=
"true"
:max-width=
"600"
>
<tooltip
:transfer=
"true"
:max-width=
"600"
>
<i-button
v-show=
"
listviewlist_batchtoolbarModels.deuiaction2.visabled"
:disabled=
"listview
list_batchtoolbarModels.deuiaction2.disabled"
class=
' srfactionlevel100'
v-button-loading:i-button
@
click=
"list_batchtoolbar_click({ tag: 'deuiaction2' }, $event)"
>
<i-button
v-show=
"
usr4listview_layoutlist_batchtoolbarModels.deuiaction2.visabled"
:disabled=
"usr4listview_layout
list_batchtoolbarModels.deuiaction2.disabled"
class=
' srfactionlevel100'
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.
listview
list_batchtoolbar_toolbar.deuiaction2.caption')}}
</span>
<span
class=
'caption'
>
{{$t('entities.ibizbook.
usr4listview_layout
list_batchtoolbar_toolbar.deuiaction2.caption')}}
</span>
</i-button>
</i-button>
<div
slot=
'content'
>
{{$t('entities.ibizbook.
listview
list_batchtoolbar_toolbar.deuiaction2.tip')}}
</div>
<div
slot=
'content'
>
{{$t('entities.ibizbook.
usr4listview_layout
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
ListView
Base
* @memberof IBIZBOOK
Usr4ListView_layout
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
ListView
Base
* @memberof IBIZBOOK
Usr4ListView_layout
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
ListView
Base
* @memberof IBIZBOOK
Usr4ListView_layout
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
;
...
@@ -604,9 +604,9 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
...
@@ -604,9 +604,9 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
* 工具栏模型
* 工具栏模型
*
*
* @type {*}
* @type {*}
* @memberof IBIZBOOK
ListView
* @memberof IBIZBOOK
Usr4ListView_layout
*/
*/
public
listview
list_quicktoolbarModels
:
any
=
{
public
usr4listview_layout
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
:
''
}
},
};
};
...
@@ -616,9 +616,9 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
...
@@ -616,9 +616,9 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
* 工具栏模型
* 工具栏模型
*
*
* @type {*}
* @type {*}
* @memberof IBIZBOOK
ListView
* @memberof IBIZBOOK
Usr4ListView_layout
*/
*/
public
listview
list_batchtoolbarModels
:
any
=
{
public
usr4listview_layout
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'
}
},
...
@@ -841,7 +841,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
...
@@ -841,7 +841,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
ListView
'
+
(
this
.
$t
(
'app.list.notConfig.fetchAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Usr4ListView_layout
'
+
(
this
.
$t
(
'app.list.notConfig.fetchAction'
)
as
string
)
});
return
;
return
;
}
}
const
arg
:
any
=
{...
opt
};
const
arg
:
any
=
{...
opt
};
...
@@ -971,7 +971,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
...
@@ -971,7 +971,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
ListView
'
+
(
this
.
$t
(
'app.list.notConfig.removeAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Usr4ListView_layout
'
+
(
this
.
$t
(
'app.list.notConfig.removeAction'
)
as
string
)
});
return
;
return
;
}
}
if
(
datas
.
length
===
0
)
{
if
(
datas
.
length
===
0
)
{
...
@@ -1076,7 +1076,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
...
@@ -1076,7 +1076,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
ListView
'
+
(
this
.
$t
(
'app.list.notConfig.createAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Usr4ListView_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
);
...
@@ -1084,7 +1084,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
...
@@ -1084,7 +1084,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
ListView
'
+
(
this
.
$t
(
'app.list.notConfig.updateAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.warning'
)
as
string
),
desc
:
'IBIZBOOK
Usr4ListView_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
.
ibizbook
){
if
(
item
.
ibizbook
){
...
...
app_Web/src/widgets/ibizbook/usr4-dataview/usr4-dataview-base.vue
浏览文件 @
c6e46bff
...
@@ -698,7 +698,7 @@ export default class Usr4Base extends Vue implements ControlInterface {
...
@@ -698,7 +698,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
Usr4
DataView'
+
(
this
.
$t
(
'app.list.notConfig.fetchAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
TestCL
DataView'
+
(
this
.
$t
(
'app.list.notConfig.fetchAction'
)
as
string
)
});
return
;
return
;
}
}
const
arg
:
any
=
{...
opt
};
const
arg
:
any
=
{...
opt
};
...
@@ -792,7 +792,7 @@ export default class Usr4Base extends Vue implements ControlInterface {
...
@@ -792,7 +792,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
Usr4
DataView'
+
(
this
.
$t
(
'app.gridpage.notConfig.removeAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
TestCL
DataView'
+
(
this
.
$t
(
'app.gridpage.notConfig.removeAction'
)
as
string
)
});
return
;
return
;
}
}
let
_datas
:
any
[]
=
[];
let
_datas
:
any
[]
=
[];
...
@@ -908,7 +908,7 @@ export default class Usr4Base extends Vue implements ControlInterface {
...
@@ -908,7 +908,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
Usr4
DataView'
+
(
this
.
$t
(
'app.list.notConfig.createAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
TestCL
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
);
...
@@ -916,7 +916,7 @@ export default class Usr4Base extends Vue implements ControlInterface {
...
@@ -916,7 +916,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
Usr4
DataView'
+
(
this
.
$t
(
'app.list.notConfig.updateAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
TestCL
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
浏览文件 @
c6e46bff
...
@@ -70,11 +70,6 @@ export default class Usr4Model {
...
@@ -70,11 +70,6 @@ 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'
},
{
{
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录