Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
功
功能演示系统
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
示例
功能演示系统
提交
a60e057e
提交
a60e057e
编写于
12月 03, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
tony001 发布系统代码 [后台服务,演示应用]
上级
a588ccb3
变更
12
展开全部
隐藏空白字符变更
内嵌
并排
正在显示
12 个修改的文件
包含
372 行增加
和
22 行删除
+372
-22
data-dictionary.json
app_Web/public/assets/json/data-dictionary.json
+80
-0
codelist_en_US.ts
app_Web/src/locale/lanres/codelist/codelist_en_US.ts
+12
-0
codelist_zh_CN.ts
app_Web/src/locale/lanres/codelist/codelist_zh_CN.ts
+12
-0
ibizbook_en_US.ts
...Web/src/locale/lanres/entities/ibizbook/ibizbook_en_US.ts
+6
-1
ibizbook_zh_CN.ts
...Web/src/locale/lanres/entities/ibizbook/ibizbook_zh_CN.ts
+6
-1
codelist.ts
app_Web/src/mock/codelist/codelist.ts
+80
-0
guide-borrow-form-form-base.vue
...ok/guide-borrow-form-form/guide-borrow-form-form-base.vue
+98
-12
guide-borrow-form-form-model.ts
...ok/guide-borrow-form-form/guide-borrow-form-form-model.ts
+15
-5
guide-return-form-form-base.vue
...ok/guide-return-form-form/guide-return-form-form-base.vue
+53
-1
guide-return-form-form-model.ts
...ok/guide-return-form-form/guide-return-form-form-model.ts
+5
-0
DemoSys.json
demo-core/src/main/resources/sysmodel/DemoSys.json
+2
-0
StaticDict.java
demo-util/src/main/java/cn/ibizlab/util/dict/StaticDict.java
+3
-2
未找到文件。
app_Web/public/assets/json/data-dictionary.json
浏览文件 @
a60e057e
...
...
@@ -452,6 +452,46 @@
}
]
},
{
"srfkey"
:
"CodeList"
,
"emptytext"
:
"未定义"
,
"codelisttype"
:
"static"
,
"items"
:
[
{
"id"
:
"100"
,
"label"
:
"第一图书馆"
,
"text"
:
"第一图书馆"
,
"class"
:
""
,
"data"
:
""
,
"codename"
:
"Item_100"
,
"value"
:
"100"
,
"disabled"
:
false
}
,
{
"id"
:
"300"
,
"label"
:
"第三图书馆"
,
"text"
:
"第三图书馆"
,
"class"
:
""
,
"data"
:
""
,
"codename"
:
"Item_300"
,
"value"
:
"300"
,
"disabled"
:
false
}
,
{
"id"
:
"200"
,
"label"
:
"第二图书馆"
,
"text"
:
"第二图书馆"
,
"class"
:
""
,
"data"
:
""
,
"codename"
:
"Item_200"
,
"value"
:
"200"
,
"disabled"
:
false
}
]
},
{
"srfkey"
:
"BookType"
,
"emptytext"
:
"未定义"
,
...
...
@@ -579,6 +619,46 @@
"codename"
:
"Item_3"
,
"value"
:
"3"
,
"disabled"
:
false
}
]
},
{
"srfkey"
:
"CodeList25"
,
"emptytext"
:
"未定义"
,
"codelisttype"
:
"static"
,
"items"
:
[
{
"id"
:
"10"
,
"label"
:
"押金"
,
"text"
:
"押金"
,
"class"
:
""
,
"data"
:
""
,
"codename"
:
"Item_10"
,
"value"
:
"10"
,
"disabled"
:
false
}
,
{
"id"
:
"20"
,
"label"
:
"身份证"
,
"text"
:
"身份证"
,
"class"
:
""
,
"data"
:
""
,
"codename"
:
"Item_20"
,
"value"
:
"20"
,
"disabled"
:
false
}
,
{
"id"
:
"30"
,
"label"
:
"学生证"
,
"text"
:
"学生证"
,
"class"
:
""
,
"data"
:
""
,
"codename"
:
"Item_30"
,
"value"
:
"30"
,
"disabled"
:
false
}
]
...
...
app_Web/src/locale/lanres/codelist/codelist_en_US.ts
浏览文件 @
a60e057e
...
...
@@ -66,6 +66,12 @@ export default {
"4"
:
"类型3"
,
"empty"
:
""
},
CodeList
:
{
"100"
:
"第一图书馆"
,
"300"
:
"第三图书馆"
,
"200"
:
"第二图书馆"
,
"empty"
:
""
},
BookType
:
{
"仙侠"
:
"仙侠"
,
"武侠"
:
"武侠"
,
...
...
@@ -85,4 +91,10 @@ export default {
"3"
:
"已完成"
,
"empty"
:
""
},
CodeList25
:
{
"10"
:
"押金"
,
"20"
:
"身份证"
,
"30"
:
"学生证"
,
"empty"
:
""
},
};
\ No newline at end of file
app_Web/src/locale/lanres/codelist/codelist_zh_CN.ts
浏览文件 @
a60e057e
...
...
@@ -66,6 +66,12 @@ export default {
"4"
:
"类型3"
,
"empty"
:
""
,
},
CodeList
:
{
"100"
:
"第一图书馆"
,
"300"
:
"第三图书馆"
,
"200"
:
"第二图书馆"
,
"empty"
:
""
,
},
BookType
:
{
"仙侠"
:
"仙侠"
,
"武侠"
:
"武侠"
,
...
...
@@ -85,4 +91,10 @@ export default {
"3"
:
"已完成"
,
"empty"
:
""
,
},
CodeList25
:
{
"10"
:
"押金"
,
"20"
:
"身份证"
,
"30"
:
"学生证"
,
"empty"
:
""
,
},
};
\ No newline at end of file
app_Web/src/locale/lanres/entities/ibizbook/ibizbook_en_US.ts
浏览文件 @
a60e057e
...
...
@@ -230,6 +230,7 @@ export default {
},
guideborrowform_form
:
{
details
:
{
grouppanel1
:
"借阅基本信息"
,
formpage1
:
"基本信息"
,
srfupdatedate
:
"更新时间"
,
srforikey
:
""
,
...
...
@@ -239,15 +240,18 @@ export default {
srfuf
:
""
,
srfdeid
:
""
,
srfsourcekey
:
""
,
stepstatus
:
"步骤"
,
ibizbookid
:
"图书标识"
,
borrower
:
"借阅人"
,
borrowway
:
"借阅方式"
,
lendouttime
:
"借出日期"
,
stepstatus
:
"步骤"
,
},
uiactions
:
{
},
},
guidereturnform_form
:
{
details
:
{
grouppanel1
:
"归还基本信息"
,
formpage1
:
"基本信息"
,
srfupdatedate
:
"更新时间"
,
srforikey
:
""
,
...
...
@@ -259,6 +263,7 @@ export default {
srfsourcekey
:
""
,
ibizbookid
:
"图书标识"
,
stepstatus
:
"步骤"
,
returnlib
:
"归还图馆"
,
returntime
:
"归还日期"
,
},
uiactions
:
{
...
...
app_Web/src/locale/lanres/entities/ibizbook/ibizbook_zh_CN.ts
浏览文件 @
a60e057e
...
...
@@ -229,6 +229,7 @@ export default {
},
guideborrowform_form
:
{
details
:
{
grouppanel1
:
"借阅基本信息"
,
formpage1
:
"基本信息"
,
srfupdatedate
:
"更新时间"
,
srforikey
:
""
,
...
...
@@ -238,15 +239,18 @@ export default {
srfuf
:
""
,
srfdeid
:
""
,
srfsourcekey
:
""
,
stepstatus
:
"步骤"
,
ibizbookid
:
"图书标识"
,
borrower
:
"借阅人"
,
borrowway
:
"借阅方式"
,
lendouttime
:
"借出日期"
,
stepstatus
:
"步骤"
,
},
uiactions
:
{
},
},
guidereturnform_form
:
{
details
:
{
grouppanel1
:
"归还基本信息"
,
formpage1
:
"基本信息"
,
srfupdatedate
:
"更新时间"
,
srforikey
:
""
,
...
...
@@ -258,6 +262,7 @@ export default {
srfsourcekey
:
""
,
ibizbookid
:
"图书标识"
,
stepstatus
:
"步骤"
,
returnlib
:
"归还图馆"
,
returntime
:
"归还日期"
,
},
uiactions
:
{
...
...
app_Web/src/mock/codelist/codelist.ts
浏览文件 @
a60e057e
...
...
@@ -460,6 +460,46 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => {
},
]
},
{
srfkey
:
"CodeList"
,
emptytext
:
"未定义"
,
"codelisttype"
:
"static"
,
items
:
[
{
id
:
"100"
,
label
:
"第一图书馆"
,
text
:
"第一图书馆"
,
"class"
:
""
,
"data"
:
""
,
"codename"
:
"Item_100"
,
value
:
"100"
,
disabled
:
false
,
},
{
id
:
"300"
,
label
:
"第三图书馆"
,
text
:
"第三图书馆"
,
"class"
:
""
,
"data"
:
""
,
"codename"
:
"Item_300"
,
value
:
"300"
,
disabled
:
false
,
},
{
id
:
"200"
,
label
:
"第二图书馆"
,
text
:
"第二图书馆"
,
"class"
:
""
,
"data"
:
""
,
"codename"
:
"Item_200"
,
value
:
"200"
,
disabled
:
false
,
},
]
},
{
srfkey
:
"BookType"
,
emptytext
:
"未定义"
,
...
...
@@ -587,6 +627,46 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => {
"codename"
:
"Item_3"
,
value
:
"3"
,
disabled
:
false
,
},
]
},
{
srfkey
:
"CodeList25"
,
emptytext
:
"未定义"
,
"codelisttype"
:
"static"
,
items
:
[
{
id
:
"10"
,
label
:
"押金"
,
text
:
"押金"
,
"class"
:
""
,
"data"
:
""
,
"codename"
:
"Item_10"
,
value
:
"10"
,
disabled
:
false
,
},
{
id
:
"20"
,
label
:
"身份证"
,
text
:
"身份证"
,
"class"
:
""
,
"data"
:
""
,
"codename"
:
"Item_20"
,
value
:
"20"
,
disabled
:
false
,
},
{
id
:
"30"
,
label
:
"学生证"
,
text
:
"学生证"
,
"class"
:
""
,
"data"
:
""
,
"codename"
:
"Item_30"
,
value
:
"30"
,
disabled
:
false
,
},
]
...
...
app_Web/src/widgets/ibizbook/guide-borrow-form-form/guide-borrow-form-form-base.vue
浏览文件 @
a60e057e
此差异已折叠。
点击以展开。
app_Web/src/widgets/ibizbook/guide-borrow-form-form/guide-borrow-form-form-model.ts
浏览文件 @
a60e057e
...
...
@@ -55,21 +55,31 @@ export default class GuideBorrowFormModel {
{
name
:
'srfsourcekey'
,
},
{
name
:
'stepstatus'
,
prop
:
'stepstatus'
,
dataType
:
'TEXT'
,
},
{
name
:
'ibizbookid'
,
prop
:
'ibizbookid'
,
dataType
:
'GUID'
,
},
{
name
:
'borrower'
,
prop
:
'borrower'
,
dataType
:
'TEXT'
,
},
{
name
:
'borrowway'
,
prop
:
'borrowway'
,
dataType
:
'SSCODELIST'
,
},
{
name
:
'lendouttime'
,
prop
:
'lendouttime'
,
dataType
:
'DATE'
,
},
{
name
:
'stepstatus'
,
prop
:
'stepstatus'
,
dataType
:
'TEXT'
,
},
{
name
:
'ibizbook'
,
prop
:
'ibizbookid'
,
...
...
app_Web/src/widgets/ibizbook/guide-return-form-form/guide-return-form-form-base.vue
浏览文件 @
a60e057e
...
...
@@ -2,12 +2,41 @@
<i-form
:model=
"this.data"
class=
'app-form'
ref=
'wizardpanel_form_ThirdForm'
id=
'ibizbook_guidereturnform'
style=
""
@
on-validate=
"formItemValidate"
>
<input
style=
"display:none;"
/>
<row
>
<i-col
v-show=
"detailsModel.returntime.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<i-col
v-show=
"detailsModel.grouppanel1.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<app-form-group
:uiService=
"appUIService"
:data=
"transformData(data)"
:manageContainerStatus=
"detailsModel.grouppanel1.manageContainerStatus"
:isManageContainer=
"detailsModel.grouppanel1.isManageContainer"
@
managecontainerclick=
"manageContainerClick('grouppanel1')"
layoutType=
"TABLE_24COL"
titleStyle=
""
class=
''
:uiActionGroup=
"detailsModel.grouppanel1.uiActionGroup"
@
groupuiactionclick=
"groupUIActionClick($event)"
:caption=
"$t('entities.ibizbook.guidereturnform_form.details.grouppanel1')"
:isShowCaption=
"true"
uiStyle=
"DEFAULT"
:titleBarCloseMode=
"0"
:isInfoGroupMode=
"false"
>
<row>
<i-col
v-show=
"detailsModel.returnlib.visible"
:style=
"
{}" :sm="{ span: 12, offset: 0 }" :md="{ span: 12, offset: 0 }" :lg="{ span: 12, offset: 0 }" :xl="{ span: 12, offset: 0 }">
<app-form-item
name=
'returnlib'
:itemRules=
"this.rules().returnlib"
class=
''
:caption=
"$t('entities.ibizbook.guidereturnform_form.details.returnlib')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.returnlib.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<dropdown-list
v-model=
"data.returnlib"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:formState=
"formState"
:localContext =
'
{ }'
:localParam ='{ }'
:disabled="detailsModel.returnlib.disabled"
valueType="string"
tag='CodeList'
codelistType='STATIC'
placeholder='请选择...' style="">
</dropdown-list>
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.returntime.visible"
:style=
"
{}" :sm="{ span: 12, offset: 0 }" :md="{ span: 12, offset: 0 }" :lg="{ span: 12, offset: 0 }" :xl="{ span: 12, offset: 0 }">
<app-form-item
name=
'returntime'
:itemRules=
"this.rules().returntime"
class=
''
:caption=
"$t('entities.ibizbook.guidereturnform_form.details.returntime')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.returntime.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<date-picker
type=
"date"
:transfer=
"true"
format=
"yyyy-MM-dd"
:value=
"data.returntime"
:disabled=
"detailsModel.returntime.disabled"
style=
"min-width: 150px; width:100px;"
@
on-change=
"(val1, val2) =>
{ this.data.returntime = val1 }">
</date-picker>
</app-form-item>
</i-col>
</row>
</app-form-group>
</i-col>
...
...
@@ -406,6 +435,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
srfsourcekey
:
null
,
ibizbookid
:
null
,
stepstatus
:
null
,
returnlib
:
null
,
returntime
:
null
,
ibizbook
:
null
,
};
...
...
@@ -458,6 +488,10 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
*/
public
rules
()
:
any
{
return
{
returnlib
:
[
{
required
:
this
.
detailsModel
.
returnlib
.
required
,
type
:
'string'
,
message
:
'归还图馆 值不能为空'
,
trigger
:
'change'
},
{
required
:
this
.
detailsModel
.
returnlib
.
required
,
type
:
'string'
,
message
:
'归还图馆 值不能为空'
,
trigger
:
'blur'
},
],
returntime
:
[
{
required
:
this
.
detailsModel
.
returntime
.
required
,
type
:
'string'
,
message
:
'归还日期 值不能为空'
,
trigger
:
'change'
},
{
required
:
this
.
detailsModel
.
returntime
.
required
,
type
:
'string'
,
message
:
'归还日期 值不能为空'
,
trigger
:
'blur'
},
...
...
@@ -567,6 +601,8 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
* @memberof GuideReturnFormBase
*/
public
detailsModel
:
any
=
{
grouppanel1
:
new
FormGroupPanelModel
({
caption
:
'归还基本信息'
,
detailType
:
'GROUPPANEL'
,
name
:
'grouppanel1'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
uiActionGroup
:
{
caption
:
''
,
langbase
:
'entities.ibizbook.guidereturnform_form'
,
extractMode
:
'ITEM'
,
details
:
[]
},
isManageContainer
:
false
,
showMoreModeItems
:
[]
})
,
formpage1
:
new
FormPageModel
({
caption
:
'基本信息'
,
detailType
:
'FORMPAGE'
,
name
:
'formpage1'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
})
,
srfupdatedate
:
new
FormItemModel
({
caption
:
'更新时间'
,
detailType
:
'FORMITEM'
,
name
:
'srfupdatedate'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
...
...
@@ -588,6 +624,8 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
ibizbookid
:
new
FormItemModel
({
caption
:
'图书标识'
,
detailType
:
'FORMITEM'
,
name
:
'ibizbookid'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
,
stepstatus
:
new
FormItemModel
({
caption
:
'步骤'
,
detailType
:
'FORMITEM'
,
name
:
'stepstatus'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
,
returnlib
:
new
FormItemModel
({
caption
:
'归还图馆'
,
detailType
:
'FORMITEM'
,
name
:
'returnlib'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
,
returntime
:
new
FormItemModel
({
caption
:
'归还日期'
,
detailType
:
'FORMITEM'
,
name
:
'returntime'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
true
,
disabled
:
false
,
enableCond
:
3
})
,
...
...
@@ -713,6 +751,18 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
this
.
formDataChange
({
name
:
'stepstatus'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
}
/**
* 监控表单属性 returnlib 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof GuideReturnFormBase
*/
@
Watch
(
'data.returnlib'
)
onReturnlibChange
(
newVal
:
any
,
oldVal
:
any
)
{
this
.
formDataChange
({
name
:
'returnlib'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
}
/**
* 监控表单属性 returntime 值
*
...
...
@@ -791,6 +841,8 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
}
/**
...
...
app_Web/src/widgets/ibizbook/guide-return-form-form/guide-return-form-form-model.ts
浏览文件 @
a60e057e
...
...
@@ -65,6 +65,11 @@ export default class GuideReturnFormModel {
prop
:
'stepstatus'
,
dataType
:
'TEXT'
,
},
{
name
:
'returnlib'
,
prop
:
'returnlib'
,
dataType
:
'SSCODELIST'
,
},
{
name
:
'returntime'
,
prop
:
'returntime'
,
...
...
demo-core/src/main/resources/sysmodel/DemoSys.json
浏览文件 @
a60e057e
...
...
@@ -438,6 +438,7 @@
"field_logic_name"
:
"借阅方式"
,
"entity_name"
:
"IBIZBOOK"
,
"field_type"
:
"SSCODELIST"
,
"dict"
:
"CodeList25"
,
"nullable"
:
1
,
"physical_field"
:
1
,
"data_type"
:
"VARCHAR"
,
...
...
@@ -452,6 +453,7 @@
"field_logic_name"
:
"归还图馆"
,
"entity_name"
:
"IBIZBOOK"
,
"field_type"
:
"SSCODELIST"
,
"dict"
:
"CodeList"
,
"nullable"
:
1
,
"physical_field"
:
1
,
"data_type"
:
"VARCHAR"
,
...
...
demo-util/src/main/java/cn/ibizlab/util/dict/StaticDict.java
浏览文件 @
a60e057e
...
...
@@ -11,8 +11,9 @@ public class StaticDict {
*/
@Getter
public
enum
CodeList25
{
ITEM_200
(
"200"
,
"押金"
),
ITEM_100
(
"100"
,
"身份证"
);
ITEM_10
(
"10"
,
"押金"
),
ITEM_20
(
"20"
,
"身份证"
),
ITEM_30
(
"30"
,
"学生证"
);
private
String
value
;
private
String
text
;
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录