Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
ibzrt
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
ibiz4jteam
ibzrt
提交
44b171a0
提交
44b171a0
编写于
5月 28, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
ibiz4j 发布系统代码
上级
0415ffac
变更
11
隐藏空白字符变更
内嵌
并排
正在显示
11 个修改的文件
包含
140 行增加
和
23 行删除
+140
-23
app-department-select.vue
...omponents/app-department-select/app-department-select.vue
+3
-3
chart-radar-series.ts
app_Web/src/model/chart-detail/chart-radar-series.ts
+118
-0
index.ts
app_Web/src/model/chart-detail/index.ts
+2
-1
uiaction-tool.ts
app_Web/src/utils/uiaction-tool/uiaction-tool.ts
+10
-3
new-form-form-base.vue
...idgets/ibzdepartment/new-form-form/new-form-form-base.vue
+1
-1
main-form-base.vue
app_Web/src/widgets/ibzemployee/main-form/main-form-base.vue
+1
-1
new-form-form-base.vue
.../widgets/ibzemployee/new-form-form/new-form-form-base.vue
+1
-1
main-form-base.vue
.../src/widgets/ibzorganization/main-form/main-form-base.vue
+1
-1
QueryBuildContext.java
...c/main/java/cn/ibizlab/util/filter/QueryBuildContext.java
+1
-4
QueryWrapperContext.java
...main/java/cn/ibizlab/util/filter/QueryWrapperContext.java
+1
-4
SearchContextBase.java
...c/main/java/cn/ibizlab/util/filter/SearchContextBase.java
+1
-4
未找到文件。
app_Web/src/components/app-department-select/app-department-select.vue
浏览文件 @
44b171a0
...
...
@@ -199,11 +199,11 @@ export default class AppDepartmentSelect extends Vue {
if
(
this
.
fillMap
&&
Object
.
keys
(
this
.
fillMap
).
length
>
0
){
Object
.
keys
(
this
.
fillMap
).
forEach
((
attribute
:
string
)
=>
{
let
_name
=
this
.
fillMap
[
attribute
];
let
_value
=
selectArr
.
map
((
item
:
any
)
=>
item
[
attribute
]);
this
.
$emit
(
'select-change'
,{
name
:
this
.
fillMap
[
attribute
],
value
:
_value
.
join
(
","
)})
let
values
=
selectArr
.
map
((
item
:
any
)
=>
item
[
attribute
]);
let
_value
=
$event
===
"[]"
?
null
:
values
.
join
(
","
);
this
.
$emit
(
'select-change'
,{
name
:
this
.
fillMap
[
attribute
],
value
:
_value
})
});
}
}
}
</
script
>
...
...
app_Web/src/model/chart-detail/chart-radar-series.ts
0 → 100644
浏览文件 @
44b171a0
import
{
ChartSeries
}
from
'./chart-series'
;
/**
* 雷达图序列模型
*
* @export
* @class ChartRadarSeries
*/
export
class
ChartRadarSeries
extends
ChartSeries
{
/**
* 分类属性
*
* @type {string}
* @memberof ChartRadarSeries
*/
public
categorField
:
string
=
''
;
/**
* 值属性
*
* @type {string}
* @memberof ChartRadarSeries
*/
public
valueField
:
string
=
''
;
/**
* 雷达图指示器
*
* @type {string}
* @memberof ChartRadarSeries
*/
public
indicator
:
Array
<
any
>
=
[];
/**
* 分类代码表
*
* @type {string}
* @memberof ChartRadarSeries
*/
public
categorCodeList
:
any
=
null
;
/**
* 维度编码
*
* @type {*}
* @memberof ChartRadarSeries
*/
public
encode
:
any
=
null
;
/**
* Creates an instance of ChartRadarSeries.
* ChartRadarSeries 实例
*
* @param {*} [opts={}]
* @memberof ChartRadarSeries
*/
constructor
(
opts
:
any
=
{})
{
super
(
opts
);
this
.
categorField
=
!
Object
.
is
(
opts
.
categorField
,
''
)
?
opts
.
categorField
:
''
;
this
.
categorCodeList
=
opts
.
categorCodeList
?
opts
.
categorCodeList
:
null
;
this
.
valueField
=
!
Object
.
is
(
opts
.
valueField
,
''
)
?
opts
.
valueField
:
''
;
this
.
encode
=
opts
.
encode
?
opts
.
encode
:
null
;
this
.
indicator
=
opts
.
indicator
?
opts
.
indicator
:[];
}
/**
* 设置分类属性
*
* @param {string} state
* @memberof ChartRadarSeries
*/
public
setCategorField
(
state
:
string
):
void
{
this
.
categorField
=
state
;
}
/**
* 设置序列名称
*
* @param {string} state
* @memberof ChartRadarSeries
*/
public
setValueField
(
state
:
string
):
void
{
this
.
valueField
=
state
;
}
/**
* 分类代码表
*
* @param {*} state
* @memberof ChartRadarSeries
*/
public
setCategorCodeList
(
state
:
any
):
void
{
this
.
categorCodeList
=
state
;
}
/**
* 设置编码
*
* @param {*} state
* @memberof ChartRadarSeries
*/
public
setEncode
(
state
:
any
):
void
{
this
.
encode
=
state
;
}
/**
* 设置雷达图指示器
*
* @param {*} state
* @memberof ChartRadarSeries
*/
public
setIndicator
(
state
:
any
):
void
{
this
.
indicator
=
state
;
}
}
\ No newline at end of file
app_Web/src/model/chart-detail/index.ts
浏览文件 @
44b171a0
...
...
@@ -2,4 +2,5 @@ export { ChartDataSetField } from './chart-dataset-field';
export
{
ChartLineSeries
}
from
'./chart-line-series'
;
export
{
ChartFunnelSeries
}
from
'./chart-funnel-series'
;
export
{
ChartPieSeries
}
from
'./chart-pie-series'
;
export
{
ChartBarSeries
}
from
'./chart-bar-series'
;
\ No newline at end of file
export
{
ChartBarSeries
}
from
'./chart-bar-series'
;
export
{
ChartRadarSeries
}
from
'./chart-radar-series'
;
\ No newline at end of file
app_Web/src/utils/uiaction-tool/uiaction-tool.ts
浏览文件 @
44b171a0
...
...
@@ -41,6 +41,7 @@ export class UIActionTool {
if
(
Object
.
is
(
actionTarget
,
'SINGLEKEY'
))
{
let
[
arg
]
=
args
;
Object
.
keys
(
_params
).
forEach
((
name
:
string
)
=>
{
let
hasProperty
=
true
;
if
(
!
name
)
{
return
;
}
...
...
@@ -50,13 +51,16 @@ export class UIActionTool {
if
(
arg
&&
arg
.
hasOwnProperty
(
key
))
{
value
=
(
arg
[
key
]
!==
null
&&
arg
[
key
]
!==
undefined
)
?
arg
[
key
]
:
null
;
}
else
{
value
=
null
;
hasProperty
=
false
;
}
}
Object
.
assign
(
_data
,
{
[
name
]:
value
});
if
(
hasProperty
){
Object
.
assign
(
_data
,
{
[
name
]:
value
});
}
});
}
else
if
(
Object
.
is
(
actionTarget
,
'MULTIKEY'
))
{
Object
.
keys
(
_params
).
forEach
((
name
:
string
)
=>
{
let
noPropertyNum
=
0
;
if
(
!
name
)
{
return
;
}
...
...
@@ -69,11 +73,14 @@ export class UIActionTool {
value
=
(
arg
[
key
]
!==
null
&&
arg
[
key
]
!==
undefined
)
?
arg
[
key
]
:
null
;
}
else
{
value
=
null
;
noPropertyNum
++
;
}
values
.
push
(
value
);
});
}
Object
.
assign
(
_data
,
{
[
name
]:
values
.
length
>
0
?
values
.
join
(
','
)
:
value
});
if
(
values
.
length
!==
noPropertyNum
){
Object
.
assign
(
_data
,
{
[
name
]:
values
.
length
>
0
?
values
.
join
(
';'
)
:
value
});
}
});
}
return
_data
;
...
...
app_Web/src/widgets/ibzdepartment/new-form-form/new-form-form-base.vue
浏览文件 @
44b171a0
...
...
@@ -20,7 +20,7 @@
</i-col>
<i-col
v-show=
"detailsModel.orgname.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<app-form-item
name=
'orgname'
:itemRules=
"this.rules.orgname"
class=
''
:caption=
"$t('entities.ibzdepartment.newform_form.details.orgname')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.orgname.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-org-select
:data=
"data"
:context=
"JSON.parse(JSON.stringify(context))"
:fillMap=
"
{'id':'orgid','label':'orgname'}" url="/ibzorganizations/
${orgid}
/suborg/picker" filter="srforgid" :multiple="false" style="" @select-change="onFormItemValueChange">
</app-org-select>
<app-org-select
:data=
"data"
:context=
"JSON.parse(JSON.stringify(context))"
:fillMap=
"
{'id':'orgid','label':'orgname'}" url="/ibzorganizations/
alls
/suborg/picker" filter="srforgid" :multiple="false" style="" @select-change="onFormItemValueChange">
</app-org-select>
</app-form-item>
</i-col>
...
...
app_Web/src/widgets/ibzemployee/main-form/main-form-base.vue
浏览文件 @
44b171a0
...
...
@@ -29,7 +29,7 @@
<row>
<i-col
v-show=
"detailsModel.orgname.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<app-form-item
name=
'orgname'
:itemRules=
"this.rules.orgname"
class=
''
:caption=
"$t('entities.ibzemployee.main_form.details.orgname')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.orgname.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-org-select
:data=
"data"
:context=
"JSON.parse(JSON.stringify(context))"
:fillMap=
"
{id:'orgid','label':'orgname','code':'orgcode'}" url="/ibzorganizations/
${orgid}
/suborg/picker" filter="srforgid" :multiple="false" style="" @select-change="onFormItemValueChange">
</app-org-select>
<app-org-select
:data=
"data"
:context=
"JSON.parse(JSON.stringify(context))"
:fillMap=
"
{id:'orgid','label':'orgname','code':'orgcode'}" url="/ibzorganizations/
alls
/suborg/picker" filter="srforgid" :multiple="false" style="" @select-change="onFormItemValueChange">
</app-org-select>
</app-form-item>
</i-col>
...
...
app_Web/src/widgets/ibzemployee/new-form-form/new-form-form-base.vue
浏览文件 @
44b171a0
...
...
@@ -26,7 +26,7 @@
</i-col>
<i-col
v-show=
"detailsModel.orgname.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<app-form-item
name=
'orgname'
:itemRules=
"this.rules.orgname"
class=
''
:caption=
"$t('entities.ibzemployee.newform_form.details.orgname')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.orgname.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-org-select
:data=
"data"
:context=
"JSON.parse(JSON.stringify(context))"
:fillMap=
"
{id:'orgid','label':'orgname','code':'orgcode'}" url="/ibzorganizations/
${orgid}
/suborg/picker" filter="srforgid" :multiple="false" style="" @select-change="onFormItemValueChange">
</app-org-select>
<app-org-select
:data=
"data"
:context=
"JSON.parse(JSON.stringify(context))"
:fillMap=
"
{id:'orgid','label':'orgname','code':'orgcode'}" url="/ibzorganizations/
alls
/suborg/picker" filter="srforgid" :multiple="false" style="" @select-change="onFormItemValueChange">
</app-org-select>
</app-form-item>
</i-col>
...
...
app_Web/src/widgets/ibzorganization/main-form/main-form-base.vue
浏览文件 @
44b171a0
...
...
@@ -17,7 +17,7 @@
</i-col>
<i-col
v-show=
"detailsModel.porgname.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<app-form-item
name=
'porgname'
:itemRules=
"this.rules.porgname"
class=
''
:caption=
"$t('entities.ibzorganization.main_form.details.porgname')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.porgname.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-org-select
:data=
"data"
:context=
"JSON.parse(JSON.stringify(context))"
:fillMap=
"
{'id':'porgid','label':'porgname'}" url="/ibzorganizations/alls/suborg/picker" filter="srforgid" :multiple="
tru
e" style="" @select-change="onFormItemValueChange">
</app-org-select>
<app-org-select
:data=
"data"
:context=
"JSON.parse(JSON.stringify(context))"
:fillMap=
"
{'id':'porgid','label':'porgname'}" url="/ibzorganizations/alls/suborg/picker" filter="srforgid" :multiple="
fals
e" style="" @select-change="onFormItemValueChange">
</app-org-select>
</app-form-item>
</i-col>
...
...
ibzrt-util/src/main/java/cn/ibizlab/util/filter/QueryBuildContext.java
浏览文件 @
44b171a0
...
...
@@ -7,10 +7,7 @@ import lombok.*;
import
lombok.extern.slf4j.Slf4j
;
@Slf4j
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
@Data
public
class
QueryBuildContext
extends
SearchContextBase
implements
ISearchContext
{
@JsonIgnore
...
...
ibzrt-util/src/main/java/cn/ibizlab/util/filter/QueryWrapperContext.java
浏览文件 @
44b171a0
...
...
@@ -17,10 +17,7 @@ import java.util.Iterator;
import
java.util.List
;
@Slf4j
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
@Data
public
class
QueryWrapperContext
<
T
>
extends
SearchContextBase
implements
ISearchContext
{
@JsonIgnore
...
...
ibzrt-util/src/main/java/cn/ibizlab/util/filter/SearchContextBase.java
浏览文件 @
44b171a0
...
...
@@ -17,10 +17,7 @@ import java.util.List;
import
java.util.Map
;
@Slf4j
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
@Data
public
class
SearchContextBase
implements
ISearchContext
{
/**
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录