Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
功
功能演示系统
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
示例
功能演示系统
提交
4d77b9f2
提交
4d77b9f2
编写于
12月 04, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
kuaikuai 发布系统代码 [后台服务,演示应用]
上级
4f7e772e
变更
14
展开全部
隐藏空白字符变更
内嵌
并排
正在显示
14 个修改的文件
包含
667 行增加
和
30 行删除
+667
-30
ibizappview_en_US.ts
...c/locale/lanres/entities/ibizappview/ibizappview_en_US.ts
+3
-0
ibizappview_zh_CN.ts
...c/locale/lanres/entities/ibizappview/ibizappview_zh_CN.ts
+3
-0
usr-list-base.vue
app_Web/src/widgets/ibizbook/usr-list/usr-list-base.vue
+10
-27
usr-list.vue
app_Web/src/widgets/ibizbook/usr-list/usr-list.vue
+2
-0
usr-panel-base.vue
app_Web/src/widgets/ibizbook/usr-panel/usr-panel-base.vue
+431
-0
usr-panel-model.ts
app_Web/src/widgets/ibizbook/usr-panel/usr-panel-model.ts
+19
-0
usr-panel-service.ts
app_Web/src/widgets/ibizbook/usr-panel/usr-panel-service.ts
+11
-0
usr-panel.less
app_Web/src/widgets/ibizbook/usr-panel/usr-panel.less
+27
-0
usr-panel.vue
app_Web/src/widgets/ibizbook/usr-panel/usr-panel.vue
+14
-0
IBIZAPPVIEW.java
.../main/java/cn/ibizlab/core/sample/domain/IBIZAPPVIEW.java
+45
-0
h2_table.xml
demo-core/src/main/resources/liquibase/h2_table.xml
+6
-0
IBIZAPPVIEWMapper.xml
...resources/mapper/sample/ibizappview/IBIZAPPVIEWMapper.xml
+3
-3
DemoSys.json
demo-core/src/main/resources/sysmodel/DemoSys.json
+42
-0
IBIZAPPVIEWDTO.java
.../src/main/java/cn/ibizlab/demoapi/dto/IBIZAPPVIEWDTO.java
+51
-0
未找到文件。
app_Web/src/locale/lanres/entities/ibizappview/ibizappview_en_US.ts
浏览文件 @
4d77b9f2
...
@@ -7,5 +7,8 @@ export default {
...
@@ -7,5 +7,8 @@ export default {
ibizappviewid
:
"应用视图标识"
,
ibizappviewid
:
"应用视图标识"
,
updateman
:
"更新人"
,
updateman
:
"更新人"
,
updatedate
:
"更新时间"
,
updatedate
:
"更新时间"
,
ibizappviewtype
:
"应用视图类型"
,
documentaddress
:
"文档地址"
,
instanceaddress
:
"示例地址"
,
},
},
};
};
\ No newline at end of file
app_Web/src/locale/lanres/entities/ibizappview/ibizappview_zh_CN.ts
浏览文件 @
4d77b9f2
...
@@ -6,5 +6,8 @@ export default {
...
@@ -6,5 +6,8 @@ export default {
ibizappviewid
:
"应用视图标识"
,
ibizappviewid
:
"应用视图标识"
,
updateman
:
"更新人"
,
updateman
:
"更新人"
,
updatedate
:
"更新时间"
,
updatedate
:
"更新时间"
,
ibizappviewtype
:
"应用视图类型"
,
documentaddress
:
"文档地址"
,
instanceaddress
:
"示例地址"
,
},
},
};
};
\ No newline at end of file
app_Web/src/widgets/ibizbook/usr-list/usr-list-base.vue
浏览文件 @
4d77b9f2
...
@@ -2,33 +2,16 @@
...
@@ -2,33 +2,16 @@
<div
:class=
"['app-list',this.items.length > 0 ? '' : 'app-list-empty' ]"
>
<div
:class=
"['app-list',this.items.length > 0 ? '' : 'app-list-empty' ]"
>
<div
v-if=
"items.length > 0"
>
<div
v-if=
"items.length > 0"
>
<div
v-for =
"item in items"
:key=
"item.srfkey"
:class=
"['app-list-item',
{'isSelect': item.isselected === true ? true : false}]" @click="handleClick(item)" @dblclick="handleDblClick(item)">
<div
v-for =
"item in items"
:key=
"item.srfkey"
:class=
"['app-list-item',
{'isSelect': item.isselected === true ? true : false}]" @click="handleClick(item)" @dblclick="handleDblClick(item)">
<div
class=
"app-list-item-content"
>
<layout
_list_itempanel
<div
class=
"item-icon"
>
:viewState=
"viewState"
<template
v-if=
"item.srficon"
>
:viewparams=
"viewparams"
<img
:src=
"item.srficon"
/>
:context=
"context"
</
template
>
:parentRef=
"thisRef"
<
template
v-else
>
:inputData=
"item"
<img
src=
"/assets/img/noimage.png"
/>
@
panelDataChange=
"($event)=>
{onPanelDataChange(item,$event)}"
</
template
>
name="list_itempanel"
</div>
ref='list_itempanel'>
<
template
>
</layout
_list_itempanel
>
<div
class=
"item-content-text"
>
<span
class=
"item-text"
>
{{
item
.
srfmajortext
}}
</span>
<span
v-if=
"item.srfdescription"
class=
"item-subtext"
>
{{
item
.
srfdescription
}}
</span>
</div>
</
template
>
</div>
<div
v-if=
"item.srfdate"
class=
"app-list-item-date"
>
<span
class=
"date"
>
{{ item.srfdate }}
</span>
</div>
<div
class=
"app-list-item-action"
>
<
template
v-for=
"(action,index) in Object.keys(ActionModel)"
>
<a
:key=
"index"
style=
"display: inline-block;margin: 0 12px;"
@
click=
"uiAction(item, action, $event)"
>
<i
:class=
"ActionModel[action].icon"
style=
"margin-right:2px;"
></i>
<span>
{{
ActionModel
[
action
].
caption
}}
</span>
</a>
</
template
>
</div>
</div>
</div>
<template
v-if=
"isScrollBar"
>
<template
v-if=
"isScrollBar"
>
<div
v-if=
"totalRecord>items.length"
class=
"loadmore"
>
{{
this
.
$t
(
'app.commonWords.loadmore'
)
}}
</div>
<div
v-if=
"totalRecord>items.length"
class=
"loadmore"
>
{{
this
.
$t
(
'app.commonWords.loadmore'
)
}}
</div>
...
...
app_Web/src/widgets/ibizbook/usr-list/usr-list.vue
浏览文件 @
4d77b9f2
...
@@ -2,9 +2,11 @@
...
@@ -2,9 +2,11 @@
import
{
Component
}
from
'vue-property-decorator'
;
import
{
Component
}
from
'vue-property-decorator'
;
import
UsrBase
from
'./usr-list-base.vue'
;
import
UsrBase
from
'./usr-list-base.vue'
;
import
layout_list_itempanel
from
'@widgets/ibizbook/usr-panel/usr-panel.vue'
;
@
Component
({
@
Component
({
components
:
{
components
:
{
layout_list_itempanel
,
}
}
})
})
...
...
app_Web/src/widgets/ibizbook/usr-panel/usr-panel-base.vue
0 → 100644
浏览文件 @
4d77b9f2
此差异已折叠。
点击以展开。
app_Web/src/widgets/ibizbook/usr-panel/usr-panel-model.ts
0 → 100644
浏览文件 @
4d77b9f2
/**
* Usr 部件模型
*
* @export
* @class UsrModel
*/
export
default
class
UsrModel
{
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof UsrModel
*/
public
getDataItems
():
any
[]
{
return
[
]
}
}
\ No newline at end of file
app_Web/src/widgets/ibizbook/usr-panel/usr-panel-service.ts
0 → 100644
浏览文件 @
4d77b9f2
import
{
Http
}
from
'@/utils'
;
import
ControlService
from
'@/widgets/control-service'
;
/**
* Usr 部件服务对象
*
* @export
* @class UsrService
*/
export
default
class
UsrService
extends
ControlService
{
}
\ No newline at end of file
app_Web/src/widgets/ibizbook/usr-panel/usr-panel.less
0 → 100644
浏览文件 @
4d77b9f2
// this is less
.app-layoutpanel {
height: 100%;
.app-layoutpanel-container {
padding: 6px;
}
.app-layoutpanel-tabpanel{
>.el-tabs {
>.el-.el-tabs__header{
margin: 0 0 10px;
}
.app-layoutpanel-tabpage{
padding: 6px;
}
}
}
.app-layoutpanel-button,.app-layoutpanel-conctrl,.app-layoutpanel-ctrlpos,.app-layoutpanel-field,.app-layoutpanel-rowitem,.app-layoutpanel-usercontrol{
padding: 6px;
}
.item-field{
padding: 0 4px;
display: flex;
>.item-field-label{
padding: 0 8px;
}
}
}
\ No newline at end of file
app_Web/src/widgets/ibizbook/usr-panel/usr-panel.vue
0 → 100644
浏览文件 @
4d77b9f2
<
script
lang=
'tsx'
>
import
{
Component
}
from
'vue-property-decorator'
;
import
UsrBase
from
'./usr-panel-base.vue'
;
@
Component
({
components
:
{
}
})
export
default
class
Usr
extends
UsrBase
{
}
</
script
>
\ No newline at end of file
demo-core/src/main/java/cn/ibizlab/core/sample/domain/IBIZAPPVIEW.java
浏览文件 @
4d77b9f2
...
@@ -92,6 +92,27 @@ public class IBIZAPPVIEW extends EntityMP implements Serializable {
...
@@ -92,6 +92,27 @@ public class IBIZAPPVIEW extends EntityMP implements Serializable {
@JSONField
(
name
=
"updatedate"
,
format
=
"yyyy-MM-dd HH:mm:ss"
)
@JSONField
(
name
=
"updatedate"
,
format
=
"yyyy-MM-dd HH:mm:ss"
)
@JsonProperty
(
"updatedate"
)
@JsonProperty
(
"updatedate"
)
private
Timestamp
updatedate
;
private
Timestamp
updatedate
;
/**
* 应用视图类型
*/
@TableField
(
value
=
"ibizappviewtype"
)
@JSONField
(
name
=
"ibizappviewtype"
)
@JsonProperty
(
"ibizappviewtype"
)
private
String
ibizappviewtype
;
/**
* 文档地址
*/
@TableField
(
value
=
"documentaddress"
)
@JSONField
(
name
=
"documentaddress"
)
@JsonProperty
(
"documentaddress"
)
private
String
documentaddress
;
/**
* 示例地址
*/
@TableField
(
value
=
"instanceaddress"
)
@JSONField
(
name
=
"instanceaddress"
)
@JsonProperty
(
"instanceaddress"
)
private
String
instanceaddress
;
...
@@ -103,6 +124,30 @@ public class IBIZAPPVIEW extends EntityMP implements Serializable {
...
@@ -103,6 +124,30 @@ public class IBIZAPPVIEW extends EntityMP implements Serializable {
this
.
modify
(
"ibizappviewname"
,
ibizappviewname
);
this
.
modify
(
"ibizappviewname"
,
ibizappviewname
);
}
}
/**
* 设置 [应用视图类型]
*/
public
void
setIbizappviewtype
(
String
ibizappviewtype
)
{
this
.
ibizappviewtype
=
ibizappviewtype
;
this
.
modify
(
"ibizappviewtype"
,
ibizappviewtype
);
}
/**
* 设置 [文档地址]
*/
public
void
setDocumentaddress
(
String
documentaddress
)
{
this
.
documentaddress
=
documentaddress
;
this
.
modify
(
"documentaddress"
,
documentaddress
);
}
/**
* 设置 [示例地址]
*/
public
void
setInstanceaddress
(
String
instanceaddress
)
{
this
.
instanceaddress
=
instanceaddress
;
this
.
modify
(
"instanceaddress"
,
instanceaddress
);
}
/**
/**
* 复制当前对象数据到目标对象(粘贴重置)
* 复制当前对象数据到目标对象(粘贴重置)
...
...
demo-core/src/main/resources/liquibase/h2_table.xml
浏览文件 @
4d77b9f2
...
@@ -19,6 +19,12 @@
...
@@ -19,6 +19,12 @@
</column>
</column>
<column
name=
"UPDATEDATE"
remarks=
""
type=
"DATETIME"
>
<column
name=
"UPDATEDATE"
remarks=
""
type=
"DATETIME"
>
</column>
</column>
<column
name=
"IBIZAPPVIEWTYPE"
remarks=
""
type=
"VARCHAR(100)"
>
</column>
<column
name=
"DOCUMENTADDRESS"
remarks=
""
type=
"VARCHAR(100)"
>
</column>
<column
name=
"INSTANCEADDRESS"
remarks=
""
type=
"VARCHAR(100)"
>
</column>
</createTable>
</createTable>
</changeSet>
</changeSet>
...
...
demo-core/src/main/resources/mapper/sample/ibizappview/IBIZAPPVIEWMapper.xml
浏览文件 @
4d77b9f2
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
<!--该方法用于重写mybatis中selectById方法,以实现查询逻辑属性-->
<!--该方法用于重写mybatis中selectById方法,以实现查询逻辑属性-->
<select
id=
"selectById"
resultMap=
"IBIZAPPVIEWResultMap"
databaseId=
"mysql"
>
<select
id=
"selectById"
resultMap=
"IBIZAPPVIEWResultMap"
databaseId=
"mysql"
>
<![CDATA[select t1.* from (SELECT t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`
IBIZAPPVIEWID`, t1.`IBIZAPPVIEWNAME
`, t1.`UPDATEDATE`, t1.`UPDATEMAN` FROM `T_IBIZAPPVIEW` t1 ) t1 where ibizappviewid=#{id}]]>
<![CDATA[select t1.* from (SELECT t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`
DOCUMENTADDRESS`, t1.`IBIZAPPVIEWID`, t1.`IBIZAPPVIEWNAME`, t1.`IBIZAPPVIEWTYPE`, t1.`INSTANCEADDRESS
`, t1.`UPDATEDATE`, t1.`UPDATEMAN` FROM `T_IBIZAPPVIEW` t1 ) t1 where ibizappviewid=#{id}]]>
</select>
</select>
<!--通过mybatis将查询结果注入到entity中,通过配置autoMapping="true"由mybatis自动处理映射关系 -->
<!--通过mybatis将查询结果注入到entity中,通过配置autoMapping="true"由mybatis自动处理映射关系 -->
...
@@ -27,12 +27,12 @@
...
@@ -27,12 +27,12 @@
<!--数据查询[Default]-->
<!--数据查询[Default]-->
<sql
id=
"Default"
databaseId=
"mysql"
>
<sql
id=
"Default"
databaseId=
"mysql"
>
<![CDATA[ SELECT t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`
IBIZAPPVIEWID`, t1.`IBIZAPPVIEWNAME
`, t1.`UPDATEDATE`, t1.`UPDATEMAN` FROM `T_IBIZAPPVIEW` t1
<![CDATA[ SELECT t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`
DOCUMENTADDRESS`, t1.`IBIZAPPVIEWID`, t1.`IBIZAPPVIEWNAME`, t1.`IBIZAPPVIEWTYPE`, t1.`INSTANCEADDRESS
`, t1.`UPDATEDATE`, t1.`UPDATEMAN` FROM `T_IBIZAPPVIEW` t1
]]>
]]>
</sql>
</sql>
<!--数据查询[View]-->
<!--数据查询[View]-->
<sql
id=
"View"
databaseId=
"mysql"
>
<sql
id=
"View"
databaseId=
"mysql"
>
<![CDATA[ SELECT t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`
IBIZAPPVIEWID`, t1.`IBIZAPPVIEWNAME
`, t1.`UPDATEDATE`, t1.`UPDATEMAN` FROM `T_IBIZAPPVIEW` t1
<![CDATA[ SELECT t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`
DOCUMENTADDRESS`, t1.`IBIZAPPVIEWID`, t1.`IBIZAPPVIEWNAME`, t1.`IBIZAPPVIEWTYPE`, t1.`INSTANCEADDRESS
`, t1.`UPDATEDATE`, t1.`UPDATEMAN` FROM `T_IBIZAPPVIEW` t1
]]>
]]>
</sql>
</sql>
</mapper>
</mapper>
...
...
demo-core/src/main/resources/sysmodel/DemoSys.json
浏览文件 @
4d77b9f2
...
@@ -101,6 +101,48 @@
...
@@ -101,6 +101,48 @@
"key_field"
:
0
,
"key_field"
:
0
,
"show_order"
:
1000
,
"show_order"
:
1000
,
"major_field"
:
0
"major_field"
:
0
},
{
"fieldname"
:
"IBIZAPPVIEWTYPE"
,
"codename"
:
"Ibizappviewtype"
,
"field_logic_name"
:
"应用视图类型"
,
"entity_name"
:
"IBIZAPPVIEW"
,
"field_type"
:
"TEXT"
,
"nullable"
:
1
,
"physical_field"
:
1
,
"data_type"
:
"VARCHAR"
,
"data_length"
:
100
,
"key_field"
:
0
,
"show_order"
:
1000
,
"major_field"
:
0
},
{
"fieldname"
:
"DOCUMENTADDRESS"
,
"codename"
:
"Documentaddress"
,
"field_logic_name"
:
"文档地址"
,
"entity_name"
:
"IBIZAPPVIEW"
,
"field_type"
:
"TEXT"
,
"nullable"
:
1
,
"physical_field"
:
1
,
"data_type"
:
"VARCHAR"
,
"data_length"
:
100
,
"key_field"
:
0
,
"show_order"
:
1000
,
"major_field"
:
0
},
{
"fieldname"
:
"INSTANCEADDRESS"
,
"codename"
:
"Instanceaddress"
,
"field_logic_name"
:
"示例地址"
,
"entity_name"
:
"IBIZAPPVIEW"
,
"field_type"
:
"TEXT"
,
"nullable"
:
1
,
"physical_field"
:
1
,
"data_type"
:
"VARCHAR"
,
"data_length"
:
100
,
"key_field"
:
0
,
"show_order"
:
1000
,
"major_field"
:
0
}
}
],
],
"subEntitys"
:[
"subEntitys"
:[
...
...
demo-provider/demo-provider-demoapi/src/main/java/cn/ibizlab/demoapi/dto/IBIZAPPVIEWDTO.java
浏览文件 @
4d77b9f2
...
@@ -83,6 +83,33 @@ public class IBIZAPPVIEWDTO extends DTOBase implements Serializable {
...
@@ -83,6 +83,33 @@ public class IBIZAPPVIEWDTO extends DTOBase implements Serializable {
@JsonProperty
(
"updatedate"
)
@JsonProperty
(
"updatedate"
)
private
Timestamp
updatedate
;
private
Timestamp
updatedate
;
/**
* 属性 [IBIZAPPVIEWTYPE]
*
*/
@JSONField
(
name
=
"ibizappviewtype"
)
@JsonProperty
(
"ibizappviewtype"
)
@Size
(
min
=
0
,
max
=
100
,
message
=
"内容长度必须小于等于[100]"
)
private
String
ibizappviewtype
;
/**
* 属性 [DOCUMENTADDRESS]
*
*/
@JSONField
(
name
=
"documentaddress"
)
@JsonProperty
(
"documentaddress"
)
@Size
(
min
=
0
,
max
=
100
,
message
=
"内容长度必须小于等于[100]"
)
private
String
documentaddress
;
/**
* 属性 [INSTANCEADDRESS]
*
*/
@JSONField
(
name
=
"instanceaddress"
)
@JsonProperty
(
"instanceaddress"
)
@Size
(
min
=
0
,
max
=
100
,
message
=
"内容长度必须小于等于[100]"
)
private
String
instanceaddress
;
/**
/**
* 设置 [IBIZAPPVIEWNAME]
* 设置 [IBIZAPPVIEWNAME]
...
@@ -92,6 +119,30 @@ public class IBIZAPPVIEWDTO extends DTOBase implements Serializable {
...
@@ -92,6 +119,30 @@ public class IBIZAPPVIEWDTO extends DTOBase implements Serializable {
this
.
modify
(
"ibizappviewname"
,
ibizappviewname
);
this
.
modify
(
"ibizappviewname"
,
ibizappviewname
);
}
}
/**
* 设置 [IBIZAPPVIEWTYPE]
*/
public
void
setIbizappviewtype
(
String
ibizappviewtype
){
this
.
ibizappviewtype
=
ibizappviewtype
;
this
.
modify
(
"ibizappviewtype"
,
ibizappviewtype
);
}
/**
* 设置 [DOCUMENTADDRESS]
*/
public
void
setDocumentaddress
(
String
documentaddress
){
this
.
documentaddress
=
documentaddress
;
this
.
modify
(
"documentaddress"
,
documentaddress
);
}
/**
* 设置 [INSTANCEADDRESS]
*/
public
void
setInstanceaddress
(
String
instanceaddress
){
this
.
instanceaddress
=
instanceaddress
;
this
.
modify
(
"instanceaddress"
,
instanceaddress
);
}
}
}
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录