Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
功
功能演示系统
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
示例
功能演示系统
提交
9e50493d
提交
9e50493d
编写于
11月 10, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Mosher 发布系统代码 [后台服务,演示应用]
上级
88f2f530
变更
24
展开全部
隐藏空白字符变更
内嵌
并排
正在显示
24 个修改的文件
包含
5272 行增加
和
9 行删除
+5272
-9
view-config.json
app_Web/public/assets/json/view-config.json
+8
-0
ibizsample0015_en_US.ts
...le/lanres/entities/ibizsample0015/ibizsample0015_en_US.ts
+24
-0
ibizsample0015_zh_CN.ts
...le/lanres/entities/ibizsample0015/ibizsample0015_zh_CN.ts
+24
-0
viewconfig.ts
app_Web/src/mock/viewconfig/viewconfig.ts
+8
-0
ibizsample0015-pickup-grid-view-base.vue
...pickup-grid-view/ibizsample0015-pickup-grid-view-base.vue
+786
-0
ibizsample0015-pickup-grid-view.less
...015-pickup-grid-view/ibizsample0015-pickup-grid-view.less
+8
-0
ibizsample0015-pickup-grid-view.vue
...0015-pickup-grid-view/ibizsample0015-pickup-grid-view.vue
+24
-0
page-register.ts
app_Web/src/pages/sample/index/page-register.ts
+1
-0
router.ts
app_Web/src/pages/sample/index/router.ts
+27
-0
state.ts
app_Web/src/store/modules/view-action/state.ts
+10
-0
ibizsample0015-ui-service-base.ts
...iservice/ibizsample0015/ibizsample0015-ui-service-base.ts
+1
-0
main4-form-base.vue
...src/widgets/ibizsample0001/main4-form/main4-form-base.vue
+90
-0
default-searchform-base.vue
...sample0015/default-searchform/default-searchform-base.vue
+731
-0
default-searchform-model.ts
...sample0015/default-searchform/default-searchform-model.ts
+31
-0
default-searchform-service.ts
...mple0015/default-searchform/default-searchform-service.ts
+467
-0
default-searchform.less
...ibizsample0015/default-searchform/default-searchform.less
+47
-0
default-searchform.vue
.../ibizsample0015/default-searchform/default-searchform.vue
+14
-0
main-grid-base.vue
...b/src/widgets/ibizsample0015/main-grid/main-grid-base.vue
+2163
-0
main-grid-model.ts
...b/src/widgets/ibizsample0015/main-grid/main-grid-model.ts
+115
-0
main-grid-service.ts
...src/widgets/ibizsample0015/main-grid/main-grid-service.ts
+494
-0
main-grid.less
app_Web/src/widgets/ibizsample0015/main-grid/main-grid.less
+176
-0
main-grid.vue
app_Web/src/widgets/ibizsample0015/main-grid/main-grid.vue
+14
-0
h2_table.xml
demo-core/src/main/resources/liquibase/h2_table.xml
+5
-5
view.xml
demo-core/src/main/resources/liquibase/view.xml
+4
-4
未找到文件。
app_Web/public/assets/json/view-config.json
浏览文件 @
9e50493d
...
...
@@ -519,6 +519,14 @@
"viewname"
:
"IBIZSample0017F20EditView"
,
"viewtag"
:
"9147f210be1f0751245496a40be86fad"
},
"ibizsample0015pickupgridview"
:
{
"title"
:
"项目选择表格视图"
,
"caption"
:
"项目"
,
"viewtype"
:
"DEPICKUPGRIDVIEW"
,
"viewmodule"
:
"Sample"
,
"viewname"
:
"IBIZSample0015PickupGridView"
,
"viewtag"
:
"9ca3b289765416a9d9f35ab0ead5a954"
},
"ibizsample0014gridview"
:
{
"title"
:
"员工表格视图"
,
"caption"
:
"员工"
,
...
...
app_Web/src/locale/lanres/entities/ibizsample0015/ibizsample0015_en_US.ts
浏览文件 @
9e50493d
...
...
@@ -10,4 +10,28 @@ export default {
updateman
:
"更新人"
,
ibizsample0015id
:
"项目标识"
,
},
views
:
{
pickupgridview
:
{
caption
:
"项目"
,
title
:
"项目选择表格视图"
,
},
},
main_grid
:
{
columns
:
{
sn
:
"项目编号"
,
ibizsample0015name
:
"项目名称"
,
updateman
:
"更新人"
,
updatedate
:
"更新时间"
,
},
nodata
:
""
,
uiactions
:
{
},
},
default_searchform
:
{
details
:
{
formpage1
:
""
,
},
uiactions
:
{
},
},
};
\ No newline at end of file
app_Web/src/locale/lanres/entities/ibizsample0015/ibizsample0015_zh_CN.ts
浏览文件 @
9e50493d
...
...
@@ -9,4 +9,28 @@ export default {
updateman
:
"更新人"
,
ibizsample0015id
:
"项目标识"
,
},
views
:
{
pickupgridview
:
{
caption
:
"项目"
,
title
:
"项目选择表格视图"
,
},
},
main_grid
:
{
columns
:
{
sn
:
"项目编号"
,
ibizsample0015name
:
"项目名称"
,
updateman
:
"更新人"
,
updatedate
:
"更新时间"
,
},
nodata
:
""
,
uiactions
:
{
},
},
default_searchform
:
{
details
:
{
formpage1
:
""
,
},
uiactions
:
{
},
},
};
\ No newline at end of file
app_Web/src/mock/viewconfig/viewconfig.ts
浏览文件 @
9e50493d
...
...
@@ -527,6 +527,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname"
:
"IBIZSample0017F20EditView"
,
"viewtag"
:
"9147f210be1f0751245496a40be86fad"
},
"ibizsample0015pickupgridview"
:
{
"title"
:
"项目选择表格视图"
,
"caption"
:
"项目"
,
"viewtype"
:
"DEPICKUPGRIDVIEW"
,
"viewmodule"
:
"Sample"
,
"viewname"
:
"IBIZSample0015PickupGridView"
,
"viewtag"
:
"9ca3b289765416a9d9f35ab0ead5a954"
},
"ibizsample0014gridview"
:
{
"title"
:
"员工表格视图"
,
"caption"
:
"员工"
,
...
...
app_Web/src/pages/sample/ibizsample0015-pickup-grid-view/ibizsample0015-pickup-grid-view-base.vue
0 → 100644
浏览文件 @
9e50493d
此差异已折叠。
点击以展开。
app_Web/src/pages/sample/ibizsample0015-pickup-grid-view/ibizsample0015-pickup-grid-view.less
0 → 100644
浏览文件 @
9e50493d
.ibizsample0015-pickup-grid-view{
position: relative;
}
.ibizsample0015-pickup-grid-view{
display: block;
}
\ No newline at end of file
app_Web/src/pages/sample/ibizsample0015-pickup-grid-view/ibizsample0015-pickup-grid-view.vue
0 → 100644
浏览文件 @
9e50493d
<
script
lang=
'tsx'
>
import
{
Component
}
from
'vue-property-decorator'
;
import
IBIZSample0015PickupGridViewBase
from
'./ibizsample0015-pickup-grid-view-base.vue'
;
import
view_grid
from
'@widgets/ibizsample0015/main-grid/main-grid.vue'
;
import
view_searchform
from
'@widgets/ibizsample0015/default-searchform/default-searchform.vue'
;
@
Component
({
components
:
{
view_grid
,
view_searchform
,
},
beforeRouteEnter
:
(
to
:
any
,
from
:
any
,
next
:
any
)
=>
{
next
((
vm
:
any
)
=>
{
if
(
!
Object
.
is
(
vm
.
navModel
,
"route"
)){
vm
.
initNavDataWithTab
(
vm
.
viewCacheData
);
}
vm
.
$store
.
commit
(
'addCurPageViewtag'
,
{
fullPath
:
to
.
fullPath
,
viewtag
:
vm
.
viewtag
});
});
},
})
export
default
class
IBIZSample0015PickupGridView
extends
IBIZSample0015PickupGridViewBase
{
}
</
script
>
\ No newline at end of file
app_Web/src/pages/sample/index/page-register.ts
浏览文件 @
9e50493d
...
...
@@ -22,6 +22,7 @@ export const PageComponents = {
Vue
.
component
(
'ibizorder-sf4-grid-view'
,
()
=>
import
(
'@pages/sample/ibizorder-sf4-grid-view/ibizorder-sf4-grid-view.vue'
));
Vue
.
component
(
'ibizsample0003-grid-view'
,
()
=>
import
(
'@pages/sample/ibizsample0003-grid-view/ibizsample0003-grid-view.vue'
));
Vue
.
component
(
'ibizsample0003-sf4-edit-view'
,
()
=>
import
(
'@pages/sample/ibizsample0003-sf4-edit-view/ibizsample0003-sf4-edit-view.vue'
));
Vue
.
component
(
'ibizsample0015-pickup-grid-view'
,
()
=>
import
(
'@pages/sample/ibizsample0015-pickup-grid-view/ibizsample0015-pickup-grid-view.vue'
));
Vue
.
component
(
'ibizorder-sf1-grid-view'
,
()
=>
import
(
'@pages/sample/ibizorder-sf1-grid-view/ibizorder-sf1-grid-view.vue'
));
Vue
.
component
(
'ibizsample0003-pickup-grid-view'
,
()
=>
import
(
'@pages/sample/ibizsample0003-pickup-grid-view/ibizsample0003-pickup-grid-view.vue'
));
Vue
.
component
(
'ibizsample0003-pickup-view'
,
()
=>
import
(
'@pages/sample/ibizsample0003-pickup-view/ibizsample0003-pickup-view.vue'
));
...
...
app_Web/src/pages/sample/index/router.ts
浏览文件 @
9e50493d
...
...
@@ -373,6 +373,20 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/sample/ibizsample0003-sf4-edit-view/ibizsample0003-sf4-edit-view.vue'
),
},
{
path
:
'ibizsample0015s/:ibizsample0015?/pickupgridview/:pickupgridview?'
,
meta
:
{
caption
:
'entities.ibizsample0015.views.pickupgridview.caption'
,
info
:
''
,
parameters
:
[
{
pathName
:
'index'
,
parameterName
:
'index'
},
{
pathName
:
'ibizsample0015s'
,
parameterName
:
'ibizsample0015'
},
{
pathName
:
'pickupgridview'
,
parameterName
:
'pickupgridview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sample/ibizsample0015-pickup-grid-view/ibizsample0015-pickup-grid-view.vue'
),
},
{
path
:
'ibizorders/:ibizorder?/sf1gridview/:sf1gridview?'
,
meta
:
{
...
...
@@ -2483,6 +2497,19 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/sample/ibizsample0017-f20-edit-view/ibizsample0017-f20-edit-view.vue'
),
},
{
path
:
'/ibizsample0015s/:ibizsample0015?/pickupgridview/:pickupgridview?'
,
meta
:
{
caption
:
'entities.ibizsample0015.views.pickupgridview.caption'
,
info
:
''
,
parameters
:
[
{
pathName
:
'ibizsample0015s'
,
parameterName
:
'ibizsample0015'
},
{
pathName
:
'pickupgridview'
,
parameterName
:
'pickupgridview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sample/ibizsample0015-pickup-grid-view/ibizsample0015-pickup-grid-view.vue'
),
},
{
path
:
'/ibizsample0014s/:ibizsample0014?/gridview/:gridview?'
,
meta
:
{
...
...
app_Web/src/store/modules/view-action/state.ts
浏览文件 @
9e50493d
...
...
@@ -53,6 +53,7 @@ export const viewstate: any = {
viewdatachange
:
false
,
refviews
:
[
'03c54f13883f56a08229c1a2db6a283f'
,
'9ca3b289765416a9d9f35ab0ead5a954'
,
'ca4d303820103b229490282d1d850702'
,
'3169df07474ba775203f9635eb0e9b9a'
,
],
...
...
@@ -702,6 +703,15 @@ export const viewstate: any = {
refviews
:
[
],
},
{
viewtag
:
'9ca3b289765416a9d9f35ab0ead5a954'
,
viewmodule
:
'Sample'
,
viewname
:
'IBIZSample0015PickupGridView'
,
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
],
},
{
viewtag
:
'9d52aff477cf38e1d92ac24cd4a08c20'
,
viewmodule
:
'Sample'
,
...
...
app_Web/src/uiservice/ibizsample0015/ibizsample0015-ui-service-base.ts
浏览文件 @
9e50493d
...
...
@@ -96,6 +96,7 @@ export default class IBIZSample0015UIServiceBase extends UIService {
* @memberof IBIZSample0015UIServiceBase
*/
public
initViewMap
(){
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'pickupgridview'
,
srfappde
:
'ibizsample0015s'
,
component
:
'ibizsample0015-pickup-grid-view'
});
}
/**
...
...
app_Web/src/widgets/ibizsample0001/main4-form/main4-form-base.vue
浏览文件 @
9e50493d
...
...
@@ -250,6 +250,25 @@
<i-col
v-show=
"detailsModel.f24.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<app-form-item
name=
'f24'
:itemRules=
"this.rules().f24"
class=
''
:caption=
"$t('entities.ibizsample0001.main4_form.details.f24')"
uiStyle=
"DEFAULT"
:labelWidth=
"200"
:isShowCaption=
"true"
:error=
"detailsModel.f24.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-picker
:formState=
"formState"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'
{ }'
:localParam ='{ }'
:disabled="detailsModel.f24.disabled"
name='f24'
:service="service"
:acParams="{ }"
valueitem='formitem'
:value="data.f24"
editortype=""
:pickupView="{ viewname: 'ibizsample0015-pickup-grid-view', title: $t('entities.ibizsample0015.views.pickupgridview.title'), deResParameters: [], parameters: [{ pathName: 'ibizsample0015s', parameterName: 'ibizsample0015' }, { pathName: 'pickupgridview', parameterName: 'pickupgridview' } ], placement:'' }"
style=""
@formitemvaluechange="onFormItemValueChange">
</app-picker>
</app-form-item>
...
...
@@ -257,6 +276,25 @@
<i-col
v-show=
"detailsModel.f25.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<app-form-item
name=
'f25'
:itemRules=
"this.rules().f25"
class=
''
:caption=
"$t('entities.ibizsample0001.main4_form.details.f25')"
uiStyle=
"DEFAULT"
:labelWidth=
"200"
:isShowCaption=
"true"
:error=
"detailsModel.f25.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-picker
:formState=
"formState"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'
{ }'
:localParam ='{ }'
:disabled="detailsModel.f25.disabled"
name='f25'
:service="service"
:acParams="{ }"
valueitem='formitem'
:value="data.f25"
editortype=""
:pickupView="{ viewname: 'ibizsample0015-pickup-grid-view', title: $t('entities.ibizsample0015.views.pickupgridview.title'), deResParameters: [], parameters: [{ pathName: 'ibizsample0015s', parameterName: 'ibizsample0015' }, { pathName: 'pickupgridview', parameterName: 'pickupgridview' } ], placement:'' }"
:linkview="{ viewname: 'IBIZOrderTypePickupView', title: $t('entities.ibizordertype.views.pickupview.title'), deResParameters: [], parameters: [{ pathName: 'ibizordertypes', parameterName: 'ibizordertype' }, { pathName: 'pickupview', parameterName: 'pickupview' } ], width: 0, height: 0, placement: '', isRedirectView: false }"
style=""
@formitemvaluechange="onFormItemValueChange">
</app-picker>
</app-form-item>
...
...
@@ -264,6 +302,22 @@
<i-col
v-show=
"detailsModel.f26.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<app-form-item
name=
'f26'
:itemRules=
"this.rules().f26"
class=
''
:caption=
"$t('entities.ibizsample0001.main4_form.details.f26')"
uiStyle=
"DEFAULT"
:labelWidth=
"200"
:isShowCaption=
"true"
:error=
"detailsModel.f26.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-picker
:formState=
"formState"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'
{ }'
:localParam ='{ }'
:disabled="detailsModel.f26.disabled"
name='f26'
valueitem='formitem'
:value="data.f26"
editortype="pickup-no-ac"
:pickupView="{ viewname: 'ibizsample0015-pickup-grid-view', title: $t('entities.ibizsample0015.views.pickupgridview.title'), deResParameters: [], parameters: [{ pathName: 'ibizsample0015s', parameterName: 'ibizsample0015' }, { pathName: 'pickupgridview', parameterName: 'pickupgridview' } ], placement:'' }"
style=""
@formitemvaluechange="onFormItemValueChange">
</app-picker>
</app-form-item>
...
...
@@ -271,6 +325,23 @@
<i-col
v-show=
"detailsModel.f27.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<app-form-item
name=
'f27'
:itemRules=
"this.rules().f27"
class=
''
:caption=
"$t('entities.ibizsample0001.main4_form.details.f27')"
uiStyle=
"DEFAULT"
:labelWidth=
"200"
:isShowCaption=
"true"
:error=
"detailsModel.f27.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-picker
:formState=
"formState"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'
{ }'
:localParam ='{ }'
:disabled="detailsModel.f27.disabled"
name='f27'
valueitem='formitem'
:value="data.f27"
editortype="pickup-no-ac"
:pickupView="{ viewname: 'ibizsample0015-pickup-grid-view', title: $t('entities.ibizsample0015.views.pickupgridview.title'), deResParameters: [], parameters: [{ pathName: 'ibizsample0015s', parameterName: 'ibizsample0015' }, { pathName: 'pickupgridview', parameterName: 'pickupgridview' } ], placement:'' }"
:linkview="{ viewname: 'IBIZSample0013PickupView', title: $t('entities.ibizsample0013.views.pickupview.title'), deResParameters: [], parameters: [{ pathName: 'ibizsample0013s', parameterName: 'ibizsample0013' }, { pathName: 'pickupview', parameterName: 'pickupview' } ], width: 0, height: 0, placement: '', isRedirectView: false }"
style=""
@formitemvaluechange="onFormItemValueChange">
</app-picker>
</app-form-item>
...
...
@@ -303,6 +374,25 @@
<i-col
v-show=
"detailsModel.f29.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<app-form-item
name=
'f29'
:itemRules=
"this.rules().f29"
class=
''
:caption=
"$t('entities.ibizsample0001.main4_form.details.f29')"
uiStyle=
"DEFAULT"
:labelWidth=
"200"
:isShowCaption=
"true"
:error=
"detailsModel.f29.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-picker
:formState=
"formState"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'
{ }'
:localParam ='{ }'
:disabled="detailsModel.f29.disabled"
name='f29'
:service="service"
:acParams="{ }"
valueitem='formitem'
:value="data.f29"
editortype=""
:pickupView="{ viewname: 'ibizsample0015-pickup-grid-view', title: $t('entities.ibizsample0015.views.pickupgridview.title'), deResParameters: [], parameters: [{ pathName: 'ibizsample0015s', parameterName: 'ibizsample0015' }, { pathName: 'pickupgridview', parameterName: 'pickupgridview' } ], placement:'' }"
:linkview="{ viewname: 'IBIZSample0017PickupView', title: $t('entities.ibizsample0017.views.pickupview.title'), deResParameters: [], parameters: [{ pathName: 'ibizsample0017s', parameterName: 'ibizsample0017' }, { pathName: 'pickupview', parameterName: 'pickupview' } ], width: 0, height: 0, placement: '', isRedirectView: false }"
style=""
@formitemvaluechange="onFormItemValueChange">
</app-picker>
</app-form-item>
...
...
app_Web/src/widgets/ibizsample0015/default-searchform/default-searchform-base.vue
0 → 100644
浏览文件 @
9e50493d
此差异已折叠。
点击以展开。
app_Web/src/widgets/ibizsample0015/default-searchform/default-searchform-model.ts
0 → 100644
浏览文件 @
9e50493d
/**
* Default 部件模型
*
* @export
* @class DefaultModel
*/
export
default
class
DefaultModel
{
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof DefaultModel
*/
public
getDataItems
():
any
[]
{
return
[
{
name
:
'srfwfmemo'
,
prop
:
'srfwfmemo'
,
dataType
:
'TEXT'
,
},
// 前端新增修改标识,新增为"0",修改为"1"或未设值
{
name
:
'srffrontuf'
,
prop
:
'srffrontuf'
,
dataType
:
'TEXT'
,
},
]
}
}
\ No newline at end of file
app_Web/src/widgets/ibizsample0015/default-searchform/default-searchform-service.ts
0 → 100644
浏览文件 @
9e50493d
此差异已折叠。
点击以展开。
app_Web/src/widgets/ibizsample0015/default-searchform/default-searchform.less
0 → 100644
浏览文件 @
9e50493d
.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
app_Web/src/widgets/ibizsample0015/default-searchform/default-searchform.vue
0 → 100644
浏览文件 @
9e50493d
<
script
lang=
'tsx'
>
import
{
Component
}
from
'vue-property-decorator'
;
import
DefaultBase
from
'./default-searchform-base.vue'
;
@
Component
({
components
:
{
}
})
export
default
class
Default
extends
DefaultBase
{
}
</
script
>
\ No newline at end of file
app_Web/src/widgets/ibizsample0015/main-grid/main-grid-base.vue
0 → 100644
浏览文件 @
9e50493d
此差异已折叠。
点击以展开。
app_Web/src/widgets/ibizsample0015/main-grid/main-grid-model.ts
0 → 100644
浏览文件 @
9e50493d
/**
* Main 部件模型
*
* @export
* @class MainModel
*/
export
default
class
MainModel
{
/**
* 是否是实体数据导出
*
* @returns {any[]}
* @memberof MainGridMode
*/
public
isDEExport
:
boolean
=
false
;
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof MainGridMode
*/
public
getDataItems
():
any
[]
{
if
(
this
.
isDEExport
){
return
[
]
}
else
{
return
[
{
name
:
'ibizsample0015id'
,
prop
:
'ibizsample0015id'
,
dataType
:
'GUID'
,
},
{
name
:
'sn'
,
prop
:
'sn'
,
dataType
:
'TEXT'
,
},
{
name
:
'updateman'
,
prop
:
'updateman'
,
dataType
:
'TEXT'
,
},
{
name
:
'ibizsample0015name'
,
prop
:
'ibizsample0015name'
,
dataType
:
'TEXT'
,
},
{
name
:
'updatedate'
,
prop
:
'updatedate'
,
dataType
:
'DATETIME'
,
},
{
name
:
'srfmajortext'
,
prop
:
'ibizsample0015name'
,
dataType
:
'TEXT'
,
},
{
name
:
'srfdataaccaction'
,
prop
:
'ibizsample0015id'
,
dataType
:
'GUID'
,
},
{
name
:
'srfkey'
,
prop
:
'ibizsample0015id'
,
dataType
:
'GUID'
,
isEditable
:
true
},
{
name
:
'ibizsample0015'
,
prop
:
'ibizsample0015id'
,
},
{
name
:
'size'
,
prop
:
'size'
,
dataType
:
'QUERYPARAM'
},
{
name
:
'query'
,
prop
:
'query'
,
dataType
:
'QUERYPARAM'
},
{
name
:
'filter'
,
prop
:
'filter'
,
dataType
:
'QUERYPARAM'
},
{
name
:
'page'
,
prop
:
'page'
,
dataType
:
'QUERYPARAM'
},
{
name
:
'sort'
,
prop
:
'sort'
,
dataType
:
'QUERYPARAM'
},
{
name
:
'srfparentdata'
,
prop
:
'srfparentdata'
,
dataType
:
'QUERYPARAM'
},
// 前端新增修改标识,新增为"0",修改为"1"或未设值
{
name
:
'srffrontuf'
,
prop
:
'srffrontuf'
,
dataType
:
'TEXT'
,
},
]
}
}
}
\ No newline at end of file
app_Web/src/widgets/ibizsample0015/main-grid/main-grid-service.ts
0 → 100644
浏览文件 @
9e50493d
此差异已折叠。
点击以展开。
app_Web/src/widgets/ibizsample0015/main-grid/main-grid.less
0 → 100644
浏览文件 @
9e50493d
.grid {
flex-grow: 1;
height: 100%;
overflow: auto;
.el-table__body-wrapper::-webkit-scrollbar {
/*滚动条整体样式*/
width : 10px !important; /*高宽分别对应横竖滚动条的尺寸*/
height: 10px !important;
}
.el-table__body-wrapper::-webkit-scrollbar-thumb {
/*滚动条颜色*/
border-radius : 10px !important;
background-color: #cecece !important;
}
.el-table__body-wrapper::-webkit-scrollbar-track {
/*滚动条里面轨道*/
box-shadow : inset 0 0 5px rgba(0, 0, 0, 0.2) !important;
background : #ededed !important;
border-radius: 10px !important;
}
/*表格文字过长省略*/
.el-table th>.cell, .el-table td>.cell{
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
word-break: break-all;
}
.el-table-column--selection .cell {
padding-left: 0px;
padding-right: 0px;
}
.app-column-link, .app-format-data{
display: inline;
}
.el-table {
height: 100%;
display:flex;
flex-direction: column;
justify-content: flex-start;
.el-table__row{
.grid-uiaction-divider {
padding:0 10px 0 10px;
border-left: 1px #b3b3b3 solid;
}
.grid-first-uiaction {
padding:0 10px 0 10px;
}
}
.quick-toolbar{
display: inline-block;
button{
background: #ebf3fb;
color: #2575ca;
border: 0;
}
}
.el-tooltip{
.ivu-form-item{
margin-bottom: unset !important;
}
}
.el-table__body .edit-cell{
padding:0;
.app-form-item{
margin-top: 20px;
margin-bottom: 20px;
}
}
.el-table__header-wrapper{
min-height: 45px;
max-height: 100px;
height: auto;
}
.el-table__footer-wrapper{
min-height: 45px;
max-height: 100px;
height: auto;
}
}
.grid-pagination {
height: 50px;
padding: 6px 0px;
.page-button {
button {
padding: 0;
font-size: 16px;
min-width: 32px;
height: 32px;
margin-right: 4px;
}
}
.page-column {
position: absolute;
left: 0;
}
.batch-toolbar{
position: absolute;
left: 105px;
>.toolbar-container{
button {
font-size: 16px;
min-width: 32px;
height: 32px;
margin-right: 4px;
margin-top: 0;
margin-bottom: 0;
}
}
}
}
}
.ivu-modal-content{
.footer{
.ivu-row{
text-align: right;
}
}
}
.cell-indeterminate {
>div>label {
>span {
.el-checkbox__inner {
background-color: #409eff;
border-color: #409eff;
}
.el-checkbox__inner:before {
content: "";
position: absolute;
display: block;
background-color: #fff;
height: 2px;
transform: scale(.5);
left: 0;
right: 0;
top: 5px;
}
}
>span.is-checked {
.el-checkbox__inner {
background-color: #409eff;
border-color: #409eff;
}
.el-checkbox__inner:after {
border: 0px;
}
}
}
}
.cell-select-all {
>div>label {
>span {
.el-checkbox__inner {
background-color: #409eff;
border-color: #409eff;
}
.el-checkbox__inner:after {
box-sizing: content-box;
content: "";
border: 1px solid #fff;
border-left: 0;
border-top: 0;
height: 7px;
left: 4px;
position: absolute;
top: 1px;
transform: rotate(45deg) scaleY(1);
width: 3px;
transition: transform .15s ease-in .05s;
transform-origin: center;
}
}
}
}
// this is less
app_Web/src/widgets/ibizsample0015/main-grid/main-grid.vue
0 → 100644
浏览文件 @
9e50493d
<
script
lang=
'tsx'
>
import
{
Component
}
from
'vue-property-decorator'
;
import
MainBase
from
'./main-grid-base.vue'
;
@
Component
({
components
:
{
}
})
export
default
class
Main
extends
MainBase
{
}
</
script
>
\ No newline at end of file
demo-core/src/main/resources/liquibase/h2_table.xml
浏览文件 @
9e50493d
...
...
@@ -134,7 +134,7 @@
<!--输出实体[IBIZORDER]数据结构 -->
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"tab-ibizorder-3
0
-8"
>
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"tab-ibizorder-3
7
-8"
>
<createTable
tableName=
"T_IBIZORDER"
>
<column
name=
"TP"
remarks=
""
type=
"TEXT(1048576)"
>
</column>
...
...
@@ -316,7 +316,7 @@
<!--输出实体[IBIZSAMPLE0001]数据结构 -->
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"tab-ibizsample0001-
43
-13"
>
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"tab-ibizsample0001-
52
-13"
>
<createTable
tableName=
"T_IBIZSAMPLE0001"
>
<column
name=
"FIELD01"
remarks=
""
type=
"VARCHAR(100)"
>
</column>
...
...
@@ -390,7 +390,7 @@
<!--输出实体[IBIZSAMPLE0002]数据结构 -->
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"tab-ibizsample0002-
4
-14"
>
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"tab-ibizsample0002-
5
-14"
>
<createTable
tableName=
"T_IBIZSAMPLE0002"
>
<column
name=
"DE"
remarks=
""
type=
"VARCHAR(100)"
>
</column>
...
...
@@ -784,7 +784,7 @@
<!--输出实体[IBIZSAMPLE0015]数据结构 -->
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"tab-ibizsample0015-
4
-27"
>
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"tab-ibizsample0015-
5
-27"
>
<createTable
tableName=
"T_IBIZSAMPLE0015"
>
<column
name=
"CREATEDATE"
remarks=
""
type=
"DATETIME"
>
</column>
...
...
@@ -1057,7 +1057,7 @@
<!--输出实体[IBIZQJ]外键关系 -->
<!--输出实体[IBIZSAMPLE]外键关系 -->
<!--输出实体[IBIZSAMPLE0001]外键关系 -->
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"fk-ibizsample0001-
43
-38"
>
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"fk-ibizsample0001-
52
-38"
>
<addForeignKeyConstraint
baseColumnNames=
"IBIZSAMPLE0002ID"
baseTableName=
"T_IBIZSAMPLE0001"
constraintName=
"DER1N_IBIZSAMPLE0001_IBIZSAMPL"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"IBIZSAMPLE0002ID"
referencedTableName=
"T_IBIZSAMPLE0002"
validate=
"true"
/>
</changeSet>
<!--输出实体[IBIZSAMPLE0002]外键关系 -->
...
...
demo-core/src/main/resources/liquibase/view.xml
浏览文件 @
9e50493d
...
...
@@ -37,7 +37,7 @@
</createView>
</changeSet>
<!--输出实体[IBIZORDER]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步-->
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"view-ibizorder-3
0
-8"
runOnChange=
"true"
>
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"view-ibizorder-3
7
-8"
runOnChange=
"true"
>
<createView
fullDefinition=
"false"
replaceIfExists=
"true"
viewName=
"V_IBIZORDER"
>
<![CDATA[ SELECT t1.[AMOUNT], t1.[CREATEDATE], t1.[CREATEMAN], t1.[DETAILNUM], t1.[IBIZCUSTOMERID], t11.[IBIZCUSTOMERNAME], t1.[IBIZORDERID], t1.[IBIZORDERNAME], t1.[MEMO], t1.[ORDERSTATE], t1.[ORDERTIME], t1.[ORDERTYPE], t1.[ORDERUID], t1.[UPDATEDATE], t1.[UPDATEMAN], t1.[WFINSTANCEID], t1.[WFSTATE], t1.[WFSTEP] FROM [T_IBIZORDER] t1 LEFT JOIN T_IBIZCUSTOMER t11 ON t1.IBIZCUSTOMERID = t11.IBIZCUSTOMERID ]]>
</createView>
...
...
@@ -67,13 +67,13 @@
</createView>
</changeSet>
<!--输出实体[IBIZSAMPLE0001]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步-->
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"view-ibizsample0001-
43
-13"
runOnChange=
"true"
>
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"view-ibizsample0001-
52
-13"
runOnChange=
"true"
>
<createView
fullDefinition=
"false"
replaceIfExists=
"true"
viewName=
"V_IBIZSAMPLE0001"
>
<![CDATA[ SELECT t1.[CREATEDATE], t1.[CREATEMAN], t1.[FIELD01], t1.[FIELD02], t1.[FIELD05], t1.[FIELD06], t1.[FIELD07], t1.[FIELD08], t1.[FIELD09], t1.[FIELD10], t1.[FIELD11], t1.[FIELD12], t1.[FIELD13], t1.[FIELD14], t1.[FIELD15], t1.[FIELD16], t1.[FIELD17], t1.[FIELD18], t1.[FIELD19], t1.[FIELD20], t1.[FIELD21], t1.[FIELD22], t1.[FIELD23], t1.[FIELD24], t1.[FIELD25], t1.[FIELD26], t1.[FIELD27], t1.[IBIZSAMPLE0001ID], t1.[IBIZSAMPLE0001NAME], t1.[UPDATEDATE], t1.[UPDATEMAN] FROM [T_IBIZSAMPLE0001] t1 ]]>
</createView>
</changeSet>
<!--输出实体[IBIZSAMPLE0002]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步-->
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"view-ibizsample0002-
4
-14"
runOnChange=
"true"
>
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"view-ibizsample0002-
5
-14"
runOnChange=
"true"
>
<createView
fullDefinition=
"false"
replaceIfExists=
"true"
viewName=
"V_IBIZSAMPLE0002"
>
<![CDATA[ SELECT t1.[CREATEDATE], t1.[CREATEMAN], t1.[DE], t1.[DENUM], t1.[IBIZSAMPLE0002ID], t1.[IBIZSAMPLE0002NAME], t1.[UPDATEDATE], t1.[UPDATEMAN] FROM [T_IBIZSAMPLE0002] t1 ]]>
</createView>
...
...
@@ -151,7 +151,7 @@
</createView>
</changeSet>
<!--输出实体[IBIZSAMPLE0015]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步-->
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"view-ibizsample0015-
4
-27"
runOnChange=
"true"
>
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"view-ibizsample0015-
5
-27"
runOnChange=
"true"
>
<createView
fullDefinition=
"false"
replaceIfExists=
"true"
viewName=
"V_IBIZSAMPLE0015"
>
<![CDATA[ SELECT t1.[CONTENT], t1.[CREATEDATE], t1.[CREATEMAN], t1.[IBIZSAMPLE0015ID], t1.[IBIZSAMPLE0015NAME], t1.[SN], t1.[UPDATEDATE], t1.[UPDATEMAN] FROM [T_IBIZSAMPLE0015] t1 ]]>
</createView>
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录