Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
功
功能演示系统
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
示例
功能演示系统
提交
cf35628b
提交
cf35628b
编写于
4年前
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Mosher 发布系统代码 [后台服务,演示应用]
上级
8214c908
变更
11
展开全部
隐藏空白字符变更
内嵌
并排
正在显示
11 个修改的文件
包含
1433 行增加
和
1 行删除
+1433
-1
ibizbook_en_US.ts
...Web/src/locale/lanres/entities/ibizbook/ibizbook_en_US.ts
+9
-0
ibizbook_zh_CN.ts
...Web/src/locale/lanres/entities/ibizbook/ibizbook_zh_CN.ts
+9
-0
ibizbookinternal-func-grid-view-base.vue
...l-func-grid-view/ibizbookinternal-func-grid-view-base.vue
+33
-0
ibizbookinternal-func-grid-view.vue
...ternal-func-grid-view/ibizbookinternal-func-grid-view.vue
+2
-0
quicksearchform-searchform-base.vue
...searchform-searchform/quicksearchform-searchform-base.vue
+803
-0
quicksearchform-searchform-model.ts
...searchform-searchform/quicksearchform-searchform-model.ts
+41
-0
quicksearchform-searchform-service.ts
...archform-searchform/quicksearchform-searchform-service.ts
+467
-0
quicksearchform-searchform.less
...uicksearchform-searchform/quicksearchform-searchform.less
+47
-0
quicksearchform-searchform.vue
...quicksearchform-searchform/quicksearchform-searchform.vue
+14
-0
IBIZBOOKSearchContext.java
.../cn/ibizlab/core/sample/filter/IBIZBOOKSearchContext.java
+7
-0
h2_table.xml
demo-core/src/main/resources/liquibase/h2_table.xml
+1
-1
未找到文件。
app_Web/src/locale/lanres/entities/ibizbook/ibizbook_en_US.ts
浏览文件 @
cf35628b
...
...
@@ -112,6 +112,15 @@ export default {
uiactions
:
{
},
},
quicksearchform_searchform
:
{
details
:
{
formpage1
:
"表单分页"
,
n_ibizbookname_like
:
"图书名称(%)"
,
n_price_gtandeq
:
"图书价格(>=)"
,
},
uiactions
:
{
},
},
default_searchform
:
{
details
:
{
formpage1
:
"常规条件"
,
...
...
This diff is collapsed.
Click to expand it.
app_Web/src/locale/lanres/entities/ibizbook/ibizbook_zh_CN.ts
浏览文件 @
cf35628b
...
...
@@ -111,6 +111,15 @@ export default {
uiactions
:
{
},
},
quicksearchform_searchform
:
{
details
:
{
formpage1
:
"表单分页"
,
n_ibizbookname_like
:
"图书名称(%)"
,
n_price_gtandeq
:
"图书价格(>=)"
,
},
uiactions
:
{
},
},
default_searchform
:
{
details
:
{
formpage1
:
"常规条件"
,
...
...
This diff is collapsed.
Click to expand it.
app_Web/src/pages/sample/ibizbookinternal-func-grid-view/ibizbookinternal-func-grid-view-base.vue
浏览文件 @
cf35628b
...
...
@@ -12,6 +12,21 @@
<div
class=
"quick-group-container"
>
<app-quick-group
:items=
"quickGroupModel"
@
valuechange=
"quickGroupValueChange"
></app-quick-group>
</div>
<div
class=
"quick-search-container"
>
<view
_quicksearchform
:viewState=
"viewState"
:viewparams=
"viewparams"
:context=
"context"
:showBusyIndicator=
"true"
v-show=
"isExpandSearchForm"
loaddraftAction=
"FilterGetDraft"
loadAction=
"FilterGet"
name=
"quicksearchform"
ref=
'quicksearchform'
@
closeview=
"closeView($event)"
>
</view
_quicksearchform
>
</div>
<i-input
v-show=
"!isExpandSearchForm"
v-model=
"query"
search
enter-button
@
on-search=
"onSearch($event)"
class=
'quick-search-input'
style=
'max-width: 400px;'
placeholder=
"图书名称"
/>
<div
class=
'pull-right'
>
<div
class=
'toolbar-container'
>
...
...
@@ -330,6 +345,7 @@ export default class IBIZBOOKInternalFuncGridViewBase extends Vue {
* @memberof IBIZBOOKInternalFuncGridViewBase
*/
public
containerModel
:
any
=
{
view_quicksearchform
:
{
name
:
'quicksearchform'
,
type
:
'SEARCHFORM'
},
view_toolbar
:
{
name
:
'toolbar'
,
type
:
'TOOLBAR'
},
view_grid
:
{
name
:
'grid'
,
type
:
'GRID'
},
view_searchform
:
{
name
:
'searchform'
,
type
:
'SEARCHFORM'
},
...
...
@@ -1881,6 +1897,23 @@ export default class IBIZBOOKInternalFuncGridViewBase extends Vue {
}
this
.
isEmitQuickGroupValue
=
true
;
}
/**
* 快速搜索栏数据对象
*
* @memberof IBIZBOOKInternalFuncGridViewBase
*/
public
quickFormData
:
any
;
/**
* 快速搜索栏值变化
*
* @memberof IBIZBOOKInternalFuncGridViewBase
*/
public
quickFormValueChange
(
$event
:
any
){
this
.
quickFormData
=
$event
;
this
.
onSearch
(
$event
);
}
}
</
script
>
...
...
This diff is collapsed.
Click to expand it.
app_Web/src/pages/sample/ibizbookinternal-func-grid-view/ibizbookinternal-func-grid-view.vue
浏览文件 @
cf35628b
...
...
@@ -2,10 +2,12 @@
import
{
Component
}
from
'vue-property-decorator'
;
import
IBIZBOOKInternalFuncGridViewBase
from
'./ibizbookinternal-func-grid-view-base.vue'
;
import
view_quicksearchform
from
'@widgets/ibizbook/quicksearchform-searchform/quicksearchform-searchform.vue'
;
import
view_grid
from
'@widgets/ibizbook/internal-func-grid/internal-func-grid.vue'
;
import
view_searchform
from
'@widgets/ibizbook/default-searchform/default-searchform.vue'
;
@
Component
({
components
:
{
view_quicksearchform
,
view_grid
,
view_searchform
,
},
...
...
This diff is collapsed.
Click to expand it.
app_Web/src/widgets/ibizbook/quicksearchform-searchform/quicksearchform-searchform-base.vue
0 → 100644
浏览文件 @
cf35628b
此差异已折叠。
点击以展开。
app_Web/src/widgets/ibizbook/quicksearchform-searchform/quicksearchform-searchform-model.ts
0 → 100644
浏览文件 @
cf35628b
/**
* QUICKSEARCHFORM 部件模型
*
* @export
* @class QUICKSEARCHFORMModel
*/
export
default
class
QUICKSEARCHFORMModel
{
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof QUICKSEARCHFORMModel
*/
public
getDataItems
():
any
[]
{
return
[
{
name
:
'srfwfmemo'
,
prop
:
'srfwfmemo'
,
dataType
:
'TEXT'
,
},
// 前端新增修改标识,新增为"0",修改为"1"或未设值
{
name
:
'srffrontuf'
,
prop
:
'srffrontuf'
,
dataType
:
'TEXT'
,
},
{
name
:
'n_ibizbookname_like'
,
prop
:
'ibizbookname'
,
dataType
:
'TEXT'
,
},
{
name
:
'n_price_gtandeq'
,
prop
:
'price'
,
dataType
:
'CURRENCY'
,
},
]
}
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
app_Web/src/widgets/ibizbook/quicksearchform-searchform/quicksearchform-searchform-service.ts
0 → 100644
浏览文件 @
cf35628b
此差异已折叠。
点击以展开。
app_Web/src/widgets/ibizbook/quicksearchform-searchform/quicksearchform-searchform.less
0 → 100644
浏览文件 @
cf35628b
.ivu-tabs-no-animation>.ivu-tabs-content{
padding: 0 16px;
}
.ivu-card-head{
padding: 14px 0;
}
.app-search-form {
padding: 8px 14px 0;
.ivu-form-item{
margin-bottom: 8px;
}
.search_reset {
margin-right: 12px;
margin-bottom: 8px;
}
.search-button{
text-align: right;
}
}
.app-search-form-flex {
height: 100%;
> .ivu-row {
height: 100%;
> .ivu-tabs {
height: 100%;
display: flex;
flex-direction: column;
> .ivu-tabs-content {
flex-grow: 1;
overflow: auto;
> .ivu-tabs-tabpane {
height: 100%;
}
}
}
}
}
.app-tabpanel-flex {
height: 100%;
> .ivu-tabs-content {
height: calc(100% - 52px);
> .ivu-tabs-tabpane {
height: 100%;
}
}
}
// this is less
This diff is collapsed.
Click to expand it.
app_Web/src/widgets/ibizbook/quicksearchform-searchform/quicksearchform-searchform.vue
0 → 100644
浏览文件 @
cf35628b
<
script
lang=
'tsx'
>
import
{
Component
}
from
'vue-property-decorator'
;
import
QUICKSEARCHFORMBase
from
'./quicksearchform-searchform-base.vue'
;
@
Component
({
components
:
{
}
})
export
default
class
QUICKSEARCHFORM
extends
QUICKSEARCHFORMBase
{
}
</
script
>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
demo-core/src/main/java/cn/ibizlab/core/sample/filter/IBIZBOOKSearchContext.java
浏览文件 @
cf35628b
...
...
@@ -34,6 +34,13 @@ public class IBIZBOOKSearchContext extends QueryWrapperContext<IBIZBOOK> {
this
.
getSearchCond
().
like
(
"ibizbookname"
,
n_ibizbookname_like
);
}
}
private
String
n_price_gtandeq
;
//[图书价格]
public
void
setN_price_gtandeq
(
String
n_price_gtandeq
)
{
this
.
n_price_gtandeq
=
n_price_gtandeq
;
if
(!
ObjectUtils
.
isEmpty
(
this
.
n_price_gtandeq
)){
this
.
getSearchCond
().
ge
(
"price"
,
n_price_gtandeq
);
}
}
/**
* 启用快速搜索
...
...
This diff is collapsed.
Click to expand it.
demo-core/src/main/resources/liquibase/h2_table.xml
浏览文件 @
cf35628b
...
...
@@ -28,7 +28,7 @@
<!--输出实体[IBIZBOOK]数据结构 -->
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"tab-ibizbook-
75
-2"
>
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"tab-ibizbook-
82
-2"
>
<createTable
tableName=
"T_IBIZBOOK"
>
<column
name=
"CREATEMAN"
remarks=
""
type=
"VARCHAR(60)"
>
</column>
...
...
This diff is collapsed.
Click to expand it.
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录