Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
功
功能演示系统
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
示例
功能演示系统
提交
2d678ab2
提交
2d678ab2
编写于
2年前
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
tony001 发布系统代码 [后台服务,演示应用]
上级
899b0e1b
变更
10
显示空白字符变更
内嵌
并排
正在显示
10 个修改的文件
包含
111 行增加
和
117 行删除
+111
-117
app-login-button.less
...yout-element/login/app-login-button/app-login-button.less
+2
-0
app-login-button.vue
...ayout-element/login/app-login-button/app-login-button.vue
+10
-1
app-login-org.less
...nts/layout-element/login/app-login-org/app-login-org.less
+8
-7
app-login-org.vue
...ents/layout-element/login/app-login-org/app-login-org.vue
+41
-70
index-base.vue
app_Web/src/pages/sample/index/index-base.vue
+1
-1
app-login-view-base.vue
.../src/pages/ungroup/app-login-view/app-login-view-base.vue
+4
-4
default-searchform-base.vue
...s/ibizbook/default-searchform/default-searchform-base.vue
+2
-2
usr2-dataview-base.vue
...src/widgets/ibizbook/usr2-dataview/usr2-dataview-base.vue
+26
-26
usr2-dataview-model.ts
...src/widgets/ibizbook/usr2-dataview/usr2-dataview-model.ts
+12
-1
sform-form-base.vue
app_Web/src/widgets/ibizorder/sform-form/sform-form-base.vue
+5
-5
未找到文件。
app_Web/src/components/layout-element/login/app-login-button/app-login-button.less
浏览文件 @
2d678ab2
.app-login-button {
height: 40px;
width: 175px;
.ivu-btn {
width: 100%;
height: 100%;
...
...
This diff is collapsed.
Click to expand it.
app_Web/src/components/layout-element/login/app-login-button/app-login-button.vue
浏览文件 @
2d678ab2
...
...
@@ -16,6 +16,15 @@ import { Vue, Component, Prop } from "vue-property-decorator";
@
Component
({})
export
default
class
AppLoginButton
extends
Vue
{
/**
* 名称
*
* @type {PanelButtonModel}
* @memberof AppLoginButton
*/
@
Prop
()
public
name
!
:
string
;
/**
* 模型
*
...
...
@@ -71,7 +80,7 @@ export default class AppLoginButton extends Vue {
this
.
register
();
break
;
default
:
this
.
$emit
(
"itemClick"
,
this
.
model
.
predefinedTyp
e
);
this
.
$emit
(
"itemClick"
,
this
.
nam
e
);
}
}
...
...
This diff is collapsed.
Click to expand it.
app_Web/src/components/layout-element/login/app-login-org/app-login-org.less
浏览文件 @
2d678ab2
.app-org-picker {
.app-login-org {
height: 40px;
width: 100%;
.ivu-dropdown {
.ivu-select {
height: 100%;
width: 100%;
}
.app-org-picker__empty {
.ivu-select-selection {
height: 100%;
width: 100%;
font-size: 16px;
text-align: center;
color: #dbdbdb;
padding: 5px 0;
display: flex;
align-items: center;
}
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
app_Web/src/components/layout-element/login/app-login-org/app-login-org.vue
浏览文件 @
2d678ab2
<
template
>
<div
class=
"app-org-picker"
>
<dropdown
@
on-click=
"orgSelect"
@
on-visible-change=
"visibleChange"
>
<Input
:value=
"getSelectedOrgName"
placeholder=
"请选择部门"
readonly
:icon=
"iconClass"
/>
<dropdown-menu
slot=
"list"
>
<dropdown-item
:class=
"
{ 'is-active': Object.is(item.srforgsectorid, getSelectedOrgName) }"
:name="item.srforgsectorid"
v-for="(item, index) in selectedOrgArray"
:key="index"
>
{{
item
.
srforgsectorname
}}
</dropdown-item>
<div
class=
"app-org-picker__empty"
v-show=
"!selectedOrgArray.length"
>
暂无数据
</div>
</dropdown-menu>
</dropdown>
<div
:class=
"[model.sysCss, 'app-login-org']"
:style=
"containerStyle"
>
<Select
v-model=
"curKey"
>
<Option
v-for=
"(item, index) in items"
:value=
"item.value"
:key=
"item.value"
>
{{
item
.
label
}}
</Option>
</Select>
</div>
</
template
>
<
script
lang=
'ts'
>
import
{
Vue
,
Component
,
Inject
,
Prop
}
from
'vue-property-decorator'
;
import
{
PanelFieldModel
}
from
'@/model/panel-detail'
;
import
{
Vue
,
Component
,
Prop
}
from
'vue-property-decorator'
;
@
Component
({})
export
default
class
App
AuthOrgPicker
extends
Vue
{
export
default
class
App
LoginOrg
extends
Vue
{
/**
*
输入值
*
名称
*
* @type {*}
* @memberof App
AuthOrgPicker
* @memberof App
LoginOrg
*/
@
Prop
()
public
valu
e
!
:
string
;
@
Prop
()
public
nam
e
!
:
string
;
/**
* 默认数据来源模式
*
* @type {string}
* @memberof AppAuthOrgPicker
*
*/
public
selectMode
:
'REMOTE'
|
'LOCAL'
=
'LOCAL'
;
/**
* 选中组织部门id
* 输入值
*
* @type {
string
}
* @memberof App
AuthOrgPicker
* @type {
*
}
* @memberof App
LoginOrg
*/
public
selectedOrgId
:
string
=
''
;
@
Prop
()
public
value
!
:
string
;
/**
*
图标名称
*
模型
*
* @type {
boolean
}
* @memberof App
AuthOrgPicker
* @type {
*
}
* @memberof App
LoginOrg
*/
public
iconClass
:
string
=
'ios-arrow-down'
;
@
Prop
()
public
model
!
:
PanelFieldModel
;
/**
*
选中组织部门名称
*
当前值
*
* @type {string}
* @memberof App
AuthOrgPicker
* @memberof App
LoginOrg
*/
get
getSelectedOrgName
()
{
get
curKey
()
{
if
(
this
.
value
)
{
const
selectedValue
=
this
.
selectedOrgArray
.
find
((
item
:
any
)
=>
{
return
item
.
srforgsectorid
==
this
.
value
;
});
if
(
selectedValue
)
{
return
selectedValue
.
srforgsectorname
;
return
this
.
value
;
}
else
{
return
''
;
}
}
set
curKey
(
value
:
string
)
{
this
.
$emit
(
'valueChange'
,
{
name
:
this
.
name
,
value
:
value
});
}
/**
* 组织部门名称数组
*
* @type {Array<any>}
* @memberof App
AuthOrgPicker
* @memberof App
LoginOrg
*/
public
selectedOrgArray
:
Array
<
any
>
=
[];
public
items
:
Array
<
any
>
=
[];
/**
*
组件初始化数据,vue生命周期
*
容器样式
*
* @memberof AppAuthOrgPicker
* @type {any}
* @memberof AppLoginInput
*/
public
created
()
{
this
.
getOrgData
();
}
public
containerStyle
:
any
=
null
;
/**
*
选择组织部门回调
*
组件初始化数据,vue生命周期
*
* @memberof App
AuthOrgPicker
* @memberof App
LoginOrg
*/
public
orgSelect
(
data
:
string
)
{
if
(
Object
.
is
(
data
,
this
.
selectedOrgId
))
{
return
;
}
let
item
:
any
=
this
.
selectedOrgArray
.
find
((
_item
:
any
)
=>
Object
.
is
(
_item
.
srforgsectorid
,
data
));
this
.
$emit
(
'valueChange'
,
{
value
:
item
.
srforgsectorid
});
public
created
()
{
this
.
getOrgData
();
if
(
this
.
model
)
{
this
.
containerStyle
=
this
.
model
.
getElementStyle
();
}
/**
* 下拉框打开或收起回调
*
* @memberof AppAuthOrgPicker
*/
visibleChange
(
data
:
boolean
)
{
this
.
iconClass
=
data
?
'ios-arrow-up'
:
'ios-arrow-down'
;
}
/**
* 获取数据
*
* @memberof App
AuthOrgPicker
* @memberof App
LoginOrg
*/
public
async
getOrgData
()
{
// todo
...
...
This diff is collapsed.
Click to expand it.
app_Web/src/pages/sample/index/index-base.vue
浏览文件 @
2d678ab2
...
...
@@ -68,7 +68,7 @@
<app-index-user-info
name=
"auth_userinfo1"
:layoutModelDetails=
"layoutModelDetails"
></app-index-user-info>
</
template
>
<
template
#
auth_logout1
>
<app-login-button
class=
"app-logout-button"
:model=
"layoutModelDetails.auth_logout1"
@
itemClick=
"handleButtonClick"
/>
<app-login-button
class=
"app-logout-button"
name=
"auth_logout1"
:model=
"layoutModelDetails.auth_logout1"
@
itemClick=
"handleButtonClick"
/>
</
template
>
</app-simpleflex-container>
</template>
...
...
This diff is collapsed.
Click to expand it.
app_Web/src/pages/ungroup/app-login-view/app-login-view-base.vue
浏览文件 @
2d678ab2
...
...
@@ -11,10 +11,10 @@
<app-login-input
class=
"app-login-password"
name=
"auth_password"
:model=
"layoutModelDetails.auth_password"
:value=
"layoutData.auth_password"
defaultIcon=
"ios-key"
@
valueChange=
"handleValueChange"
/>
</
template
>
<
template
#
auth_orgpick
>
<app-login-org
/>
<app-login-org
name=
"auth_orgpick"
:model=
"layoutModelDetails.auth_orgpick"
:value=
"layoutData.auth_orgpick"
@
valueChange=
"handleValueChange"
/>
</
template
>
<
template
#
auth_loginbutton1
>
<app-login-button
class=
"app-login-button"
:model=
"layoutModelDetails.auth_loginbutton1"
defaultStyle=
'primary'
@
itemClick=
"handleButtonClick"
/>
<app-login-button
class=
"app-login-button"
name=
"auth_loginbutton1"
:model=
"layoutModelDetails.auth_loginbutton1"
defaultStyle=
'primary'
@
itemClick=
"handleButtonClick"
/>
</
template
>
<
template
#
auth_registbutton1
>
<app-preset-button
...
...
@@ -26,10 +26,10 @@
</app-preset-button>
</
template
>
<
template
#
auth_resetinput1
>
<app-login-button
class=
"app-reset-button"
:model=
"layoutModelDetails.auth_resetinput1"
defaultStyle=
'success'
@
itemClick=
"handleButtonClick"
/>
<app-login-button
class=
"app-reset-button"
name=
"auth_resetinput1"
:model=
"layoutModelDetails.auth_resetinput1"
defaultStyle=
'success'
@
itemClick=
"handleButtonClick"
/>
</
template
>
<
template
#
auth_logout1
>
<app-login-button
class=
"app-logout-button"
:model=
"layoutModelDetails.auth_logout1"
@
itemClick=
"handleButtonClick"
/>
<app-login-button
class=
"app-logout-button"
name=
"auth_logout1"
:model=
"layoutModelDetails.auth_logout1"
@
itemClick=
"handleButtonClick"
/>
</
template
>
<
template
#
auth_captcha1
>
<app-login-captcha
/>
...
...
This diff is collapsed.
Click to expand it.
app_Web/src/widgets/ibizbook/default-searchform/default-searchform-base.vue
浏览文件 @
2d678ab2
...
...
@@ -663,7 +663,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
public
load
(
opt
:
any
=
{}):
void
{
if
(
!
this
.
loadAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Usr9Grid
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loadAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
GroupByCodelistList
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loadAction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{
...
opt
};
...
...
@@ -699,7 +699,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
public
loadDraft
(
opt
:
any
=
{},
mode
?:
string
):
void
{
if
(
!
this
.
loaddraftAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Usr9Grid
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loaddraftAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
GroupByCodelistList
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loaddraftAction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{
...
opt
}
;
...
...
This diff is collapsed.
Click to expand it.
app_Web/src/widgets/ibizbook/usr2-dataview/usr2-dataview-base.vue
浏览文件 @
2d678ab2
...
...
@@ -48,18 +48,18 @@
<div
v-show=
"flag"
class=
"batch-toolbar"
>
<div
class=
'toolbar-container'
>
<tooltip
:transfer=
"true"
:max-width=
"600"
>
<i-button
v-show=
"
dataviewexpviewdataviewexpbar_dataview_batchtoolbarModels.deuiaction1.visabled"
:disabled=
"dataviewexpviewdataviewexpbar_dataview_batchtoolbarModels.deuiaction1.disabled"
class=
''
v-loading:i-button
@
click=
"dataviewexpbar_
dataview_batchtoolbar_click({ tag: 'deuiaction1' }, $event)"
>
<i-button
v-show=
"
usr2dataviewdataview_batchtoolbarModels.deuiaction1.visabled"
:disabled=
"usr2dataviewdataview_batchtoolbarModels.deuiaction1.disabled"
class=
''
v-loading:i-button
@
click=
"
dataview_batchtoolbar_click({ tag: 'deuiaction1' }, $event)"
>
<i
class=
'fa fa-edit'
></i>
<span
class=
'caption'
>
{{$t('entities.ibizbook.
dataviewexpviewdataviewexpbar_
dataview_batchtoolbar_toolbar.deuiaction1.caption')}}
</span>
<span
class=
'caption'
>
{{$t('entities.ibizbook.
usr2dataview
dataview_batchtoolbar_toolbar.deuiaction1.caption')}}
</span>
</i-button>
<div
slot=
'content'
>
{{$t('entities.ibizbook.
dataviewexpviewdataviewexpbar_
dataview_batchtoolbar_toolbar.deuiaction1.tip')}}
</div>
<div
slot=
'content'
>
{{$t('entities.ibizbook.
usr2dataview
dataview_batchtoolbar_toolbar.deuiaction1.tip')}}
</div>
</tooltip>
<tooltip
:transfer=
"true"
:max-width=
"600"
>
<i-button
v-show=
"
dataviewexpviewdataviewexpbar_dataview_batchtoolbarModels.deuiaction2.visabled"
:disabled=
"dataviewexpviewdataviewexpbar_dataview_batchtoolbarModels.deuiaction2.disabled"
class=
''
v-loading:i-button
@
click=
"dataviewexpbar_
dataview_batchtoolbar_click({ tag: 'deuiaction2' }, $event)"
>
<i-button
v-show=
"
usr2dataviewdataview_batchtoolbarModels.deuiaction2.visabled"
:disabled=
"usr2dataviewdataview_batchtoolbarModels.deuiaction2.disabled"
class=
''
v-loading:i-button
@
click=
"
dataview_batchtoolbar_click({ tag: 'deuiaction2' }, $event)"
>
<i
class=
'fa fa-remove'
></i>
<span
class=
'caption'
>
{{$t('entities.ibizbook.
dataviewexpviewdataviewexpbar_
dataview_batchtoolbar_toolbar.deuiaction2.caption')}}
</span>
<span
class=
'caption'
>
{{$t('entities.ibizbook.
usr2dataview
dataview_batchtoolbar_toolbar.deuiaction2.caption')}}
</span>
</i-button>
<div
slot=
'content'
>
{{$t('entities.ibizbook.
dataviewexpviewdataviewexpbar_
dataview_batchtoolbar_toolbar.deuiaction2.tip')}}
</div>
<div
slot=
'content'
>
{{$t('entities.ibizbook.
usr2dataview
dataview_batchtoolbar_toolbar.deuiaction2.tip')}}
</div>
</tooltip>
</div>
</div>
...
...
@@ -174,18 +174,18 @@ export default class Usr2Base extends Vue implements ControlInterface {
public
appEntityService
:
IBIZBOOKEntityService
=
new
IBIZBOOKEntityService
({
$store
:
this
.
$store
});
/**
* dataview
expbar_dataview
_batchtoolbar 部件 click 事件
* dataview_batchtoolbar 部件 click 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof Usr2Base
*/
public
dataview
expbar_dataview
_batchtoolbar_click
(
$event
:
any
,
$event2
?:
any
)
{
public
dataview_batchtoolbar_click
(
$event
:
any
,
$event2
?:
any
)
{
if
(
Object
.
is
(
$event
.
tag
,
'deuiaction1'
))
{
this
.
dataview
expbar_dataview_batchtoolbar_deuiaction1_click
(
null
,
'dataviewexpbar_
dataview_batchtoolbar'
,
$event2
);
this
.
dataview
_batchtoolbar_deuiaction1_click
(
null
,
'
dataview_batchtoolbar'
,
$event2
);
}
if
(
Object
.
is
(
$event
.
tag
,
'deuiaction2'
))
{
this
.
dataview
expbar_dataview_batchtoolbar_deuiaction2_click
(
null
,
'dataviewexpbar_
dataview_batchtoolbar'
,
$event2
);
this
.
dataview
_batchtoolbar_deuiaction2_click
(
null
,
'
dataview_batchtoolbar'
,
$event2
);
}
}
...
...
@@ -198,7 +198,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
* @param {*} [$event]
* @memberof
*/
public
dataview
expbar_dataview
_batchtoolbar_deuiaction1_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
public
dataview_batchtoolbar_deuiaction1_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 参数
// 取数
let
datas
:
any
[]
=
[];
...
...
@@ -226,7 +226,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
* @param {*} [$event]
* @memberof
*/
public
dataview
expbar_dataview
_batchtoolbar_deuiaction2_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
public
dataview_batchtoolbar_deuiaction2_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 参数
// 取数
let
datas
:
any
[]
=
[];
...
...
@@ -254,7 +254,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
* @param {*} [$event]
* @memberof
*/
public
dataview
expbar_dataview
_memo1_u37f11a8_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
public
dataview_memo1_u37f11a8_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 取数
let
datas
:
any
[]
=
[];
let
xData
:
any
=
null
;
...
...
@@ -281,7 +281,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
* @param {*} [$event]
* @memberof
*/
public
dataview
expbar_dataview
_memo1_uc365542_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
public
dataview_memo1_uc365542_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 取数
let
datas
:
any
[]
=
[];
let
xData
:
any
=
null
;
...
...
@@ -309,7 +309,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZBOOK
DataViewExp
ViewBase
* @memberof IBIZBOOK
Usr2Data
ViewBase
*/
public
Edit
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
if
(
args
.
length
===
0
)
{
...
...
@@ -335,7 +335,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZBOOK
DataViewExp
ViewBase
* @memberof IBIZBOOK
Usr2Data
ViewBase
*/
public
Remove
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
const
_this
:
any
=
this
;
...
...
@@ -629,9 +629,9 @@ export default class Usr2Base extends Vue implements ControlInterface {
* 工具栏模型
*
* @type {*}
* @memberof IBIZBOOK
DataViewExp
View
* @memberof IBIZBOOK
Usr2Data
View
*/
public
dataviewexpviewdataviewexpbar_
dataview_batchtoolbarModels
:
any
=
{
public
usr2dataview
dataview_batchtoolbarModels
:
any
=
{
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'
}
},
...
...
@@ -956,7 +956,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
*/
public
load
(
opt
:
any
=
{},
isReset
:
boolean
=
false
):
void
{
if
(
!
this
.
fetchAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
DataViewExp
View'
+
(
this
.
$t
(
'app.list.notConfig.fetchAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Usr2Data
View'
+
(
this
.
$t
(
'app.list.notConfig.fetchAction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{...
opt
};
...
...
@@ -1036,7 +1036,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
*/
public
async
remove
(
datas
:
any
[]):
Promise
<
any
>
{
if
(
!
this
.
removeAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
DataViewExp
View'
+
(
this
.
$t
(
'app.gridpage.notConfig.removeAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Usr2Data
View'
+
(
this
.
$t
(
'app.gridpage.notConfig.removeAction'
)
as
string
)
});
return
;
}
let
_datas
:
any
[]
=
[];
...
...
@@ -1146,7 +1146,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
try
{
if
(
Object
.
is
(
item
.
rowDataState
,
'create'
)){
if
(
!
this
.
createAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
DataViewExp
View'
+
(
this
.
$t
(
'app.list.notConfig.createAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Usr2Data
View'
+
(
this
.
$t
(
'app.list.notConfig.createAction'
)
as
string
)
});
}
else
{
Object
.
assign
(
item
,{
viewparams
:
this
.
viewparams
});
let
response
=
await
this
.
service
.
add
(
this
.
createAction
,
JSON
.
parse
(
JSON
.
stringify
(
this
.
context
)),
item
,
this
.
showBusyIndicator
);
...
...
@@ -1154,7 +1154,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
}
}
else
if
(
Object
.
is
(
item
.
rowDataState
,
'update'
)){
if
(
!
this
.
updateAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
DataViewExp
View'
+
(
this
.
$t
(
'app.list.notConfig.updateAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Usr2Data
View'
+
(
this
.
$t
(
'app.list.notConfig.updateAction'
)
as
string
)
});
}
else
{
Object
.
assign
(
item
,{
viewparams
:
this
.
viewparams
});
if
(
item
.
ibizbook
){
...
...
@@ -1245,16 +1245,16 @@ export default class Usr2Base extends Vue implements ControlInterface {
public
uiAction
(
data
:
any
,
tag
:
any
,
$event
:
any
)
{
$event
.
stopPropagation
();
if
(
Object
.
is
(
'Edit'
,
tag
))
{
this
.
dataview
expbar_dataview
_batchtoolbar_deuiaction1_click
(
data
,
tag
,
$event
);
this
.
dataview_batchtoolbar_deuiaction1_click
(
data
,
tag
,
$event
);
}
if
(
Object
.
is
(
'Remove'
,
tag
))
{
this
.
dataview
expbar_dataview
_batchtoolbar_deuiaction2_click
(
data
,
tag
,
$event
);
this
.
dataview_batchtoolbar_deuiaction2_click
(
data
,
tag
,
$event
);
}
if
(
Object
.
is
(
'Edit'
,
tag
))
{
this
.
dataview
expbar_dataview
_memo1_u37f11a8_click
(
data
,
tag
,
$event
);
this
.
dataview_memo1_u37f11a8_click
(
data
,
tag
,
$event
);
}
if
(
Object
.
is
(
'Remove'
,
tag
))
{
this
.
dataview
expbar_dataview
_memo1_uc365542_click
(
data
,
tag
,
$event
);
this
.
dataview_memo1_uc365542_click
(
data
,
tag
,
$event
);
}
}
...
...
This diff is collapsed.
Click to expand it.
app_Web/src/widgets/ibizbook/usr2-dataview/usr2-dataview-model.ts
浏览文件 @
2d678ab2
...
...
@@ -10,7 +10,7 @@ export default class Usr2Model {
* 获取数据项集合
*
* @returns {any[]}
* @memberof Usr2Data
viewexpbar_datav
iewMode
* @memberof Usr2Data
V
iewMode
*/
public
getDataItems
():
any
[]
{
return
[
...
...
@@ -39,6 +39,17 @@ export default class Usr2Model {
dataType
:
'FONTKEY'
,
},
{
name
:
'n_ibizbookname_like'
,
prop
:
'n_ibizbookname_like'
,
dataType
:
'QUERYPARAM'
},
{
name
:
'n_price_gtandeq'
,
prop
:
'n_price_gtandeq'
,
dataType
:
'QUERYPARAM'
},
{
name
:
'size'
,
...
...
This diff is collapsed.
Click to expand it.
app_Web/src/widgets/ibizorder/sform-form/sform-form-base.vue
浏览文件 @
2d678ab2
...
...
@@ -1545,7 +1545,7 @@ export default class SFormBase extends Vue implements ControlInterface {
*/
public
load
(
opt
:
any
=
{}):
void
{
if
(
!
this
.
loadAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrder
TestCLEditView2
'
+
(
this
.
$t
(
'app.formpage.notconfig.loadaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrder
SEditView3
'
+
(
this
.
$t
(
'app.formpage.notconfig.loadaction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{
...
opt
};
...
...
@@ -1580,7 +1580,7 @@ export default class SFormBase extends Vue implements ControlInterface {
*/
public
loadDraft
(
opt
:
any
=
{}):
void
{
if
(
!
this
.
loaddraftAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrder
TestCLEditView2
'
+
(
this
.
$t
(
'app.formpage.notconfig.loaddraftaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrder
SEditView3
'
+
(
this
.
$t
(
'app.formpage.notconfig.loaddraftaction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{
...
opt
}
;
...
...
@@ -1642,7 +1642,7 @@ export default class SFormBase extends Vue implements ControlInterface {
const
action
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)
?
this
.
updateAction
:
this
.
createAction
;
if
(
!
action
){
let
actionName
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)?
"updateAction"
:
"createAction"
;
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrder
TestCLEditView2
'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrder
SEditView3
'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
return
;
}
Object
.
assign
(
arg
,{
viewparams
:
this
.
viewparams
});
...
...
@@ -1750,7 +1750,7 @@ export default class SFormBase extends Vue implements ControlInterface {
const
action
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)
?
this
.
updateAction
:
this
.
createAction
;
if
(
!
action
){
let
actionName
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)?
"updateAction"
:
"createAction"
;
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrder
TestCLEditView2
'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrder
SEditView3
'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
return
;
}
Object
.
assign
(
arg
,{
viewparams
:
this
.
viewparams
});
...
...
@@ -1827,7 +1827,7 @@ export default class SFormBase extends Vue implements ControlInterface {
public
remove
(
opt
:
Array
<
any
>
=
[],
showResultInfo
?:
boolean
):
Promise
<
any
>
{
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
if
(
!
this
.
removeAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrder
TestCLEditView2
'
+
(
this
.
$t
(
'app.formpage.notconfig.removeaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrder
SEditView3
'
+
(
this
.
$t
(
'app.formpage.notconfig.removeaction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
opt
[
0
];
...
...
This diff is collapsed.
Click to expand it.
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录