Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
ibzdst
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
1
议题
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
ibiz4jteam
ibzdst
提交
740f7220
提交
740f7220
编写于
12月 17, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
ibiz4j 发布系统代码 [ibz-dst,应用]
上级
bb95e9b8
变更
8
展开全部
隐藏空白字符变更
内嵌
并排
正在显示
8 个修改的文件
包含
242 行增加
和
4 行删除
+242
-4
rule-item_en_US_base.ts
.../locale/lanres/entities/rule-item/rule-item_en_US_base.ts
+5
-0
rule-item_zh_CN_base.ts
.../locale/lanres/entities/rule-item/rule-item_zh_CN_base.ts
+5
-0
default-searchform-base.vue
.../rule-item/default-searchform/default-searchform-base.vue
+140
-2
default-searchform-model.ts
.../rule-item/default-searchform/default-searchform-model.ts
+20
-0
main-grid-base.vue
app_web/src/widgets/rule-item/main-grid/main-grid-base.vue
+25
-1
main-grid-model.ts
app_web/src/widgets/rule-item/main-grid/main-grid-model.ts
+25
-0
RuleItemSearchContext.java
...va/cn/ibizlab/core/rule/filter/RuleItemSearchContext.java
+21
-0
h2_table.xml
ibzdst-core/src/main/resources/liquibase/h2_table.xml
+1
-1
未找到文件。
app_web/src/locale/lanres/entities/rule-item/rule-item_en_US_base.ts
浏览文件 @
740f7220
...
@@ -87,6 +87,7 @@ function getLocaleResourceBase(){
...
@@ -87,6 +87,7 @@ function getLocaleResourceBase(){
modelname
:
commonLogic
.
appcommonhandle
(
"模型"
,
null
),
modelname
:
commonLogic
.
appcommonhandle
(
"模型"
,
null
),
updatedate
:
commonLogic
.
appcommonhandle
(
"更新时间"
,
null
),
updatedate
:
commonLogic
.
appcommonhandle
(
"更新时间"
,
null
),
createdate
:
commonLogic
.
appcommonhandle
(
"建立时间"
,
null
),
createdate
:
commonLogic
.
appcommonhandle
(
"建立时间"
,
null
),
cond
:
commonLogic
.
appcommonhandle
(
"条件"
,
null
),
},
},
nodata
:
commonLogic
.
appcommonhandle
(
""
,
null
),
nodata
:
commonLogic
.
appcommonhandle
(
""
,
null
),
uiactions
:
{
uiactions
:
{
...
@@ -97,6 +98,10 @@ function getLocaleResourceBase(){
...
@@ -97,6 +98,10 @@ function getLocaleResourceBase(){
formpage1
:
commonLogic
.
appcommonhandle
(
"常规条件"
,
null
),
formpage1
:
commonLogic
.
appcommonhandle
(
"常规条件"
,
null
),
n_rulename_like
:
commonLogic
.
appcommonhandle
(
"名称(文本包含(%))"
,
null
),
n_rulename_like
:
commonLogic
.
appcommonhandle
(
"名称(文本包含(%))"
,
null
),
n_modelname_like
:
commonLogic
.
appcommonhandle
(
"模型(文本包含(%))"
,
null
),
n_modelname_like
:
commonLogic
.
appcommonhandle
(
"模型(文本包含(%))"
,
null
),
n_rulecode_like
:
commonLogic
.
appcommonhandle
(
"规则码(%)"
,
null
),
n_rulegroup_like
:
commonLogic
.
appcommonhandle
(
"规则分组(文本包含(%))"
,
null
),
n_memo_like
:
commonLogic
.
appcommonhandle
(
"备注(文本包含(%))"
,
null
),
n_cond_like
:
commonLogic
.
appcommonhandle
(
"条件(文本包含(%))"
,
null
),
n_systemid_eq
:
commonLogic
.
appcommonhandle
(
"系统标识(=)"
,
null
),
n_systemid_eq
:
commonLogic
.
appcommonhandle
(
"系统标识(=)"
,
null
),
},
},
uiactions
:
{
uiactions
:
{
...
...
app_web/src/locale/lanres/entities/rule-item/rule-item_zh_CN_base.ts
浏览文件 @
740f7220
...
@@ -87,6 +87,7 @@ function getLocaleResourceBase(){
...
@@ -87,6 +87,7 @@ function getLocaleResourceBase(){
modelname
:
commonLogic
.
appcommonhandle
(
"模型"
,
null
),
modelname
:
commonLogic
.
appcommonhandle
(
"模型"
,
null
),
updatedate
:
commonLogic
.
appcommonhandle
(
"更新时间"
,
null
),
updatedate
:
commonLogic
.
appcommonhandle
(
"更新时间"
,
null
),
createdate
:
commonLogic
.
appcommonhandle
(
"建立时间"
,
null
),
createdate
:
commonLogic
.
appcommonhandle
(
"建立时间"
,
null
),
cond
:
commonLogic
.
appcommonhandle
(
"条件"
,
null
),
},
},
nodata
:
commonLogic
.
appcommonhandle
(
""
,
null
),
nodata
:
commonLogic
.
appcommonhandle
(
""
,
null
),
uiactions
:
{
uiactions
:
{
...
@@ -97,6 +98,10 @@ function getLocaleResourceBase(){
...
@@ -97,6 +98,10 @@ function getLocaleResourceBase(){
formpage1
:
commonLogic
.
appcommonhandle
(
"常规条件"
,
null
),
formpage1
:
commonLogic
.
appcommonhandle
(
"常规条件"
,
null
),
n_rulename_like
:
commonLogic
.
appcommonhandle
(
"名称(文本包含(%))"
,
null
),
n_rulename_like
:
commonLogic
.
appcommonhandle
(
"名称(文本包含(%))"
,
null
),
n_modelname_like
:
commonLogic
.
appcommonhandle
(
"模型(文本包含(%))"
,
null
),
n_modelname_like
:
commonLogic
.
appcommonhandle
(
"模型(文本包含(%))"
,
null
),
n_rulecode_like
:
commonLogic
.
appcommonhandle
(
"规则码(%)"
,
null
),
n_rulegroup_like
:
commonLogic
.
appcommonhandle
(
"规则分组(文本包含(%))"
,
null
),
n_memo_like
:
commonLogic
.
appcommonhandle
(
"备注(文本包含(%))"
,
null
),
n_cond_like
:
commonLogic
.
appcommonhandle
(
"条件(文本包含(%))"
,
null
),
n_systemid_eq
:
commonLogic
.
appcommonhandle
(
"系统标识(=)"
,
null
),
n_systemid_eq
:
commonLogic
.
appcommonhandle
(
"系统标识(=)"
,
null
),
},
},
uiactions
:
{
uiactions
:
{
...
...
app_web/src/widgets/rule-item/default-searchform/default-searchform-base.vue
浏览文件 @
740f7220
此差异已折叠。
点击以展开。
app_web/src/widgets/rule-item/default-searchform/default-searchform-model.ts
浏览文件 @
740f7220
...
@@ -35,6 +35,26 @@ export default class DefaultModel {
...
@@ -35,6 +35,26 @@ export default class DefaultModel {
prop
:
'model_name'
,
prop
:
'model_name'
,
dataType
:
'PICKUPTEXT'
,
dataType
:
'PICKUPTEXT'
,
},
},
{
name
:
'n_rulecode_like'
,
prop
:
'rule_code'
,
dataType
:
'TEXT'
,
},
{
name
:
'n_rulegroup_like'
,
prop
:
'group'
,
dataType
:
'SMCODELIST'
,
},
{
name
:
'n_memo_like'
,
prop
:
'memo'
,
dataType
:
'LONGTEXT_1000'
,
},
{
name
:
'n_cond_like'
,
prop
:
'cond'
,
dataType
:
'LONGTEXT'
,
},
{
{
name
:
'n_systemid_eq'
,
name
:
'n_systemid_eq'
,
prop
:
'system_id'
,
prop
:
'system_id'
,
...
...
app_web/src/widgets/rule-item/main-grid/main-grid-base.vue
浏览文件 @
740f7220
...
@@ -131,6 +131,18 @@
...
@@ -131,6 +131,18 @@
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</template>
</template>
<
template
v-if=
"getColumnState('cond')"
>
<el-table-column
show-overflow-tooltip
:prop=
"'cond'"
:label=
"$t('entities.ruleitem.main_grid.columns.cond')"
:width=
"300"
:align=
"'left'"
>
<template
v-slot:header=
"
{column}">
<span
class=
"column-header "
>
{{
$t
(
'entities.ruleitem.main_grid.columns.cond'
)
}}
</span>
</
template
>
<
template
v-slot=
"{row,column,$index}"
>
<span>
{{
row
.
cond
}}
</span>
</
template
>
</el-table-column>
</template>
<
template
v-if=
"adaptiveState"
>
<
template
v-if=
"adaptiveState"
>
<el-table-column></el-table-column>
<el-table-column></el-table-column>
</
template
>
</
template
>
...
@@ -755,6 +767,15 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -755,6 +767,15 @@ export default class MainBase extends Vue implements ControlInterface {
isEnableRowEdit
:
false
,
isEnableRowEdit
:
false
,
enableCond
:
3
,
enableCond
:
3
,
},
},
{
name
:
'cond'
,
label
:
'条件'
,
langtag
:
'entities.ruleitem.main_grid.columns.cond'
,
show
:
true
,
unit
:
'PX'
,
isEnableRowEdit
:
false
,
enableCond
:
3
,
},
]
]
/**
/**
...
@@ -1458,7 +1479,7 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -1458,7 +1479,7 @@ export default class MainBase extends Vue implements ControlInterface {
* @memberof MainBase
* @memberof MainBase
*/
*/
public
arraySpanMethod
({
row
,
column
,
rowIndex
,
columnIndex
}
:
any
)
{
public
arraySpanMethod
({
row
,
column
,
rowIndex
,
columnIndex
}
:
any
)
{
let
allColumns
:
Array
<
any
>
=
[
'ruleid'
,
'rulecode'
,
'rulename'
,
'rulegroup'
,
'memo'
,
'businesscat'
,
'modelname'
,
'updatedate'
,
'createdate'
];
let
allColumns
:
Array
<
any
>
=
[
'ruleid'
,
'rulecode'
,
'rulename'
,
'rulegroup'
,
'memo'
,
'businesscat'
,
'modelname'
,
'updatedate'
,
'createdate'
,
'cond'
];
if
(
row
&&
row
.
children
)
{
if
(
row
&&
row
.
children
)
{
if
(
columnIndex
==
(
this
.
isSingleSelect
?
0
:
1
))
{
if
(
columnIndex
==
(
this
.
isSingleSelect
?
0
:
1
))
{
return
[
1
,
allColumns
.
length
+
1
];
return
[
1
,
allColumns
.
length
+
1
];
...
@@ -1547,6 +1568,7 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -1547,6 +1568,7 @@ export default class MainBase extends Vue implements ControlInterface {
modelname
:
''
,
modelname
:
''
,
updatedate
:
''
,
updatedate
:
''
,
createdate
:
''
,
createdate
:
''
,
cond
:
''
,
children
:
children
children
:
children
}
}
groupTree
.
push
(
tree
);
groupTree
.
push
(
tree
);
...
@@ -1582,6 +1604,7 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -1582,6 +1604,7 @@ export default class MainBase extends Vue implements ControlInterface {
modelname
:
''
,
modelname
:
''
,
updatedate
:
''
,
updatedate
:
''
,
createdate
:
''
,
createdate
:
''
,
cond
:
''
,
children
:
child
children
:
child
}
}
if
(
child
&&
child
.
length
>
0
){
if
(
child
&&
child
.
length
>
0
){
...
@@ -1637,6 +1660,7 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -1637,6 +1660,7 @@ export default class MainBase extends Vue implements ControlInterface {
modelname
:
''
,
modelname
:
''
,
updatedate
:
''
,
updatedate
:
''
,
createdate
:
''
,
createdate
:
''
,
cond
:
''
,
children
:
children
,
children
:
children
,
}
}
groupTree
.
push
(
tree
);
groupTree
.
push
(
tree
);
...
...
app_web/src/widgets/rule-item/main-grid/main-grid-model.ts
浏览文件 @
740f7220
...
@@ -66,6 +66,11 @@ export default class MainModel {
...
@@ -66,6 +66,11 @@ export default class MainModel {
prop
:
'group'
,
prop
:
'group'
,
dataType
:
'SMCODELIST'
,
dataType
:
'SMCODELIST'
,
},
},
{
name
:
'cond'
,
prop
:
'cond'
,
dataType
:
'LONGTEXT'
,
},
{
{
name
:
'srfmajortext'
,
name
:
'srfmajortext'
,
prop
:
'rule_name'
,
prop
:
'rule_name'
,
...
@@ -106,6 +111,26 @@ export default class MainModel {
...
@@ -106,6 +111,26 @@ export default class MainModel {
prop
:
'n_modelname_like'
,
prop
:
'n_modelname_like'
,
dataType
:
'QUERYPARAM'
dataType
:
'QUERYPARAM'
},
},
{
name
:
'n_rulecode_like'
,
prop
:
'n_rulecode_like'
,
dataType
:
'QUERYPARAM'
},
{
name
:
'n_rulegroup_like'
,
prop
:
'n_rulegroup_like'
,
dataType
:
'QUERYPARAM'
},
{
name
:
'n_memo_like'
,
prop
:
'n_memo_like'
,
dataType
:
'QUERYPARAM'
},
{
name
:
'n_cond_like'
,
prop
:
'n_cond_like'
,
dataType
:
'QUERYPARAM'
},
{
{
name
:
'n_systemid_eq'
,
name
:
'n_systemid_eq'
,
prop
:
'n_systemid_eq'
,
prop
:
'n_systemid_eq'
,
...
...
ibzdst-core/src/main/java/cn/ibizlab/core/rule/filter/RuleItemSearchContext.java
浏览文件 @
740f7220
...
@@ -33,6 +33,13 @@ public class RuleItemSearchContext extends QueryWrapperContext<RuleItem> {
...
@@ -33,6 +33,13 @@ public class RuleItemSearchContext extends QueryWrapperContext<RuleItem> {
if
(!
ObjectUtils
.
isEmpty
(
this
.
n_rulename_like
)){
if
(!
ObjectUtils
.
isEmpty
(
this
.
n_rulename_like
)){
this
.
getSearchCond
().
like
(
"rulename"
,
n_rulename_like
);
this
.
getSearchCond
().
like
(
"rulename"
,
n_rulename_like
);
}
}
}
private
String
n_rulegroup_like
;
//[规则分组]
public
void
setN_rulegroup_like
(
String
n_rulegroup_like
)
{
this
.
n_rulegroup_like
=
n_rulegroup_like
;
if
(!
ObjectUtils
.
isEmpty
(
this
.
n_rulegroup_like
)){
this
.
getSearchCond
().
like
(
"rulegroup"
,
n_rulegroup_like
);
}
}
}
private
String
n_modelid_eq
;
//[模型标识]
private
String
n_modelid_eq
;
//[模型标识]
public
void
setN_modelid_eq
(
String
n_modelid_eq
)
{
public
void
setN_modelid_eq
(
String
n_modelid_eq
)
{
...
@@ -54,6 +61,13 @@ public class RuleItemSearchContext extends QueryWrapperContext<RuleItem> {
...
@@ -54,6 +61,13 @@ public class RuleItemSearchContext extends QueryWrapperContext<RuleItem> {
if
(!
ObjectUtils
.
isEmpty
(
this
.
n_modelname_like
)){
if
(!
ObjectUtils
.
isEmpty
(
this
.
n_modelname_like
)){
this
.
getSearchCond
().
like
(
"modelname"
,
n_modelname_like
);
this
.
getSearchCond
().
like
(
"modelname"
,
n_modelname_like
);
}
}
}
private
String
n_memo_like
;
//[备注]
public
void
setN_memo_like
(
String
n_memo_like
)
{
this
.
n_memo_like
=
n_memo_like
;
if
(!
ObjectUtils
.
isEmpty
(
this
.
n_memo_like
)){
this
.
getSearchCond
().
like
(
"memo"
,
n_memo_like
);
}
}
}
private
String
n_rulecode_like
;
//[规则码]
private
String
n_rulecode_like
;
//[规则码]
public
void
setN_rulecode_like
(
String
n_rulecode_like
)
{
public
void
setN_rulecode_like
(
String
n_rulecode_like
)
{
...
@@ -61,6 +75,13 @@ public class RuleItemSearchContext extends QueryWrapperContext<RuleItem> {
...
@@ -61,6 +75,13 @@ public class RuleItemSearchContext extends QueryWrapperContext<RuleItem> {
if
(!
ObjectUtils
.
isEmpty
(
this
.
n_rulecode_like
)){
if
(!
ObjectUtils
.
isEmpty
(
this
.
n_rulecode_like
)){
this
.
getSearchCond
().
like
(
"rulecode"
,
n_rulecode_like
);
this
.
getSearchCond
().
like
(
"rulecode"
,
n_rulecode_like
);
}
}
}
private
String
n_cond_like
;
//[条件]
public
void
setN_cond_like
(
String
n_cond_like
)
{
this
.
n_cond_like
=
n_cond_like
;
if
(!
ObjectUtils
.
isEmpty
(
this
.
n_cond_like
)){
this
.
getSearchCond
().
like
(
"cond"
,
n_cond_like
);
}
}
}
private
String
n_systemid_eq
;
//[系统标识]
private
String
n_systemid_eq
;
//[系统标识]
public
void
setN_systemid_eq
(
String
n_systemid_eq
)
{
public
void
setN_systemid_eq
(
String
n_systemid_eq
)
{
...
...
ibzdst-core/src/main/resources/liquibase/h2_table.xml
浏览文件 @
740f7220
...
@@ -422,7 +422,7 @@
...
@@ -422,7 +422,7 @@
<!--输出实体[RU_ITEM]数据结构 -->
<!--输出实体[RU_ITEM]数据结构 -->
<changeSet
author=
"root"
id=
"tab-ru_item-
69
-16"
>
<changeSet
author=
"root"
id=
"tab-ru_item-
75
-16"
>
<createTable
tableName=
"IBZRULE"
>
<createTable
tableName=
"IBZRULE"
>
<column
name=
"RULEID"
remarks=
""
type=
"VARCHAR(100)"
>
<column
name=
"RULEID"
remarks=
""
type=
"VARCHAR(100)"
>
<constraints
primaryKey=
"true"
primaryKeyName=
"PK_RU_ITEM_RULEID"
/>
<constraints
primaryKey=
"true"
primaryKeyName=
"PK_RU_ITEM_RULEID"
/>
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录