Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
iBiz企业中心
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
iBiz企业套件
iBiz企业中心
提交
70cde8da
提交
70cde8da
编写于
6月 19, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
chitanda 发布系统代码
上级
0ddc6bfd
变更
6
显示空白字符变更
内嵌
并排
正在显示
6 个修改的文件
包含
48 行增加
和
50 行删除
+48
-50
md-view-engine.ts
app_BusinessCentral/src/engine/view/md-view-engine.ts
+4
-4
activity-pointer-by-parent-key-base.vue
...ter-by-parent-key/activity-pointer-by-parent-key-base.vue
+1
-1
activity-pointer-grid-view-base.vue
...ity-pointer-grid-view/activity-pointer-grid-view-base.vue
+1
-1
CalendarViewBase.tsx
...BusinessCentral/src/studio-core/view/CalendarViewBase.tsx
+32
-13
GridViewBase.tsx
app_BusinessCentral/src/studio-core/view/GridViewBase.tsx
+1
-2
MDViewBase.tsx
app_BusinessCentral/src/studio-core/view/MDViewBase.tsx
+9
-29
未找到文件。
app_BusinessCentral/src/engine/view/md-view-engine.ts
浏览文件 @
70cde8da
...
...
@@ -391,11 +391,11 @@ export default class MDViewEngine extends ViewEngine {
}
// 快速分组和快速搜索栏
let
otherQueryParam
:
any
=
{};
if
(
this
.
view
&&
this
.
view
.
qu
ci
kGroupData
){
Object
.
assign
(
otherQueryParam
,
this
.
view
.
qu
ci
kGroupData
);
if
(
this
.
view
&&
this
.
view
.
qu
ic
kGroupData
){
Object
.
assign
(
otherQueryParam
,
this
.
view
.
qu
ic
kGroupData
);
}
if
(
this
.
view
&&
this
.
view
.
qu
ci
kFormData
){
Object
.
assign
(
otherQueryParam
,
this
.
view
.
qu
ci
kFormData
);
if
(
this
.
view
&&
this
.
view
.
qu
ic
kFormData
){
Object
.
assign
(
otherQueryParam
,
this
.
view
.
qu
ic
kFormData
);
}
Object
.
assign
(
arg
,{
viewparams
:
otherQueryParam
});
}
...
...
app_BusinessCentral/src/pages/base/activity-pointer-by-parent-key/activity-pointer-by-parent-key-base.vue
浏览文件 @
70cde8da
...
...
@@ -2,7 +2,7 @@
<studio-view-style2
viewName=
"activitypointerbyparentkey"
viewTitle=
"活动"
class=
'degridview activity-pointer-by-parent-key'
>
<i-input
slot=
"quickSearch"
v-show=
"!isExpandSearchForm"
v-model=
"query"
search
@
on-search=
"onSearch($event)"
/>
<template
slot=
"quickGroupSearch"
>
<app-quick-group
:items=
"quickGroupModel"
@
valuechange=
"qu
ci
kGroupValueChange"
></app-quick-group>
<app-quick-group
:items=
"quickGroupModel"
@
valuechange=
"qu
ic
kGroupValueChange"
></app-quick-group>
</
template
>
<
template
slot=
"toolbar"
>
<view-toolbar
mode=
"STYLE2"
:model=
"toolBarModels"
@
item-click=
"toolbar_click"
/>
</
template
>
...
...
app_BusinessCentral/src/pages/base/activity-pointer-grid-view/activity-pointer-grid-view-base.vue
浏览文件 @
70cde8da
...
...
@@ -2,7 +2,7 @@
<studio-view-style2
viewName=
"activitypointergridview"
viewTitle=
"活动"
class=
'degridview activity-pointer-grid-view'
>
<i-input
slot=
"quickSearch"
v-show=
"!isExpandSearchForm"
v-model=
"query"
search
@
on-search=
"onSearch($event)"
/>
<template
slot=
"quickGroupSearch"
>
<app-quick-group
:items=
"quickGroupModel"
@
valuechange=
"qu
ci
kGroupValueChange"
></app-quick-group>
<app-quick-group
:items=
"quickGroupModel"
@
valuechange=
"qu
ic
kGroupValueChange"
></app-quick-group>
</
template
>
<
template
slot=
"searchForm"
>
<view
_searchform
...
...
app_BusinessCentral/src/studio-core/view/CalendarViewBase.tsx
浏览文件 @
70cde8da
...
...
@@ -29,25 +29,44 @@ export class CalendarViewBase extends MDViewBase {
* @memberof CalendarViewBase
*/
public
onBeforeLoad
(
arg
:
any
):
void
{
let
_this
:
any
=
this
;
if
(
_this
.
viewparams
&&
Object
.
keys
(
_this
.
viewparams
).
length
>
0
)
{
Object
.
assign
(
arg
,
_this
.
viewparams
);
if
(
this
.
viewparams
&&
Object
.
keys
(
this
.
viewparams
).
length
>
0
)
{
Object
.
assign
(
arg
,
this
.
viewparams
);
}
if
(
_this
.
$refs
.
searchform
&&
_
this
.
isExpandSearchForm
)
{
Object
.
assign
(
arg
,
_this
.
$refs
.
searchform
.
getData
());
if
(
this
.
$refs
.
searchform
&&
this
.
isExpandSearchForm
)
{
Object
.
assign
(
arg
,
(
this
.
$refs
.
searchform
as
any
)
.
getData
());
}
if
(
_this
&&
!
_
this
.
isExpandSearchForm
)
{
Object
.
assign
(
arg
,
{
query
:
_
this
.
query
});
if
(
this
&&
!
this
.
isExpandSearchForm
)
{
Object
.
assign
(
arg
,
{
query
:
this
.
query
});
}
// 快速分组和快速搜索栏
let
otherQueryParam
:
any
=
{};
if
(
_this
&&
(
_this
.
qucikGroupData
as
any
))
{
Object
.
assign
(
otherQueryParam
,
_this
.
quci
kGroupData
);
const
otherQueryParam
:
any
=
{};
if
(
this
.
quickGroupData
)
{
Object
.
assign
(
otherQueryParam
,
this
.
quic
kGroupData
);
}
if
(
_this
&&
_this
.
qucikFormData
)
{
Object
.
assign
(
otherQueryParam
,
_this
.
quci
kFormData
);
if
(
this
.
quickFormData
)
{
Object
.
assign
(
otherQueryParam
,
this
.
quic
kFormData
);
}
Object
.
assign
(
arg
,{
viewparams
:
otherQueryParam
});
Object
.
assign
(
arg
,
{
viewparams
:
otherQueryParam
});
}
/**
* searchform 部件 search 事件
*
* @param {*} $event
* @memberof CalendarViewBase
*/
public
searchform_search
()
{
this
.
onSearch
();
}
/**
* searchform 部件 load 事件
*
* @param {*} $event
* @memberof CalendarViewBase
*/
public
searchform_load
()
{
this
.
onSearch
();
}
}
\ No newline at end of file
app_BusinessCentral/src/studio-core/view/GridViewBase.tsx
浏览文件 @
70cde8da
...
...
@@ -76,8 +76,7 @@ export class GridViewBase extends MDViewBase {
this
.
viewState
.
next
({
tag
:
'grid'
,
action
:
'save'
,
data
:
this
.
viewparams
});
}
if
(
Object
.
is
(
res
.
action
,
'load'
))
{
const
_this
:
any
=
this
;
_this
.
engine
.
load
(
res
.
data
,
true
);
this
.
engine
.
load
(
res
.
data
,
true
);
}
});
}
...
...
app_BusinessCentral/src/studio-core/view/MDViewBase.tsx
浏览文件 @
70cde8da
import
{
Prop
}
from
'vue-property-decorator'
;
import
{
ViewBase
}
from
'./ViewBase'
;
import
CodeListService
from
'@/service/app/codelist-service'
;
import
{
Prop
}
from
'vue-property-decorator'
;
/**
* 多数据视图基类
...
...
@@ -44,7 +44,7 @@ export class MDViewBase extends ViewBase {
* @type {*}
* @memberof MDViewBase
*/
public
qu
cikFormData
:
any
;
public
qu
ickFormData
:
any
=
{}
;
/**
* 快速分组数据对象
...
...
@@ -52,7 +52,7 @@ export class MDViewBase extends ViewBase {
* @type {*}
* @memberof MDViewBase
*/
public
qu
cikGroupData
:
any
;
public
qu
ickGroupData
:
any
=
{}
;
/**
* 快速分组是否有抛值
...
...
@@ -65,10 +65,10 @@ export class MDViewBase extends ViewBase {
/**
* 快速分组模型
*
* @type {
Array<any>
}
* @type {
any[]
}
* @memberof MDViewBase
*/
public
quickGroupModel
:
Array
<
any
>
=
[];
public
quickGroupModel
:
any
[]
=
[];
/**
* 快速搜索栏值变化
...
...
@@ -76,8 +76,8 @@ export class MDViewBase extends ViewBase {
* @param {*} $event
* @memberof MDViewBase
*/
public
qu
cikFormValueChange
(
$event
:
any
)
{
this
.
qu
ci
kFormData
=
$event
;
public
qu
ickFormValueChange
=
(
$event
:
any
)
=>
{
this
.
qu
ic
kFormData
=
$event
;
this
.
onSearch
();
}
...
...
@@ -114,9 +114,9 @@ export class MDViewBase extends ViewBase {
* @param {*} $event
* @memberof MDViewBase
*/
protected
qu
cikGroupValueChange
(
$event
:
any
)
{
protected
qu
ickGroupValueChange
=
(
$event
:
any
)
=>
{
if
(
$event
&&
$event
.
data
)
{
this
.
qu
ci
kGroupData
=
$event
.
data
;
this
.
qu
ic
kGroupData
=
$event
.
data
;
if
(
this
.
isEmitQuickGroupValue
)
{
this
.
onSearch
();
}
...
...
@@ -154,24 +154,4 @@ export class MDViewBase extends ViewBase {
return
inputArray
;
}
/**
* searchform 部件 search 事件
*
* @param {*} $event
* @memberof MDViewBase
*/
public
searchform_search
()
{
this
.
onSearch
();
}
/**
* searchform 部件 load 事件
*
* @param {*} $event
* @memberof MDViewBase
*/
public
searchform_load
()
{
this
.
onSearch
();
}
}
\ No newline at end of file
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录