Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
功
功能演示系统
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
示例
功能演示系统
提交
6f242301
提交
6f242301
编写于
12月 01, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Mosher 发布系统代码 [后台服务,演示应用]
上级
c7c9e3ba
变更
25
展开全部
隐藏空白字符变更
内嵌
并排
正在显示
25 个修改的文件
包含
2311 行增加
和
631 行删除
+2311
-631
view-config.json
app_Web/public/assets/json/view-config.json
+8
-0
en-US.ts
app_Web/src/locale/lang/en-US.ts
+1
-0
zh-CN.ts
app_Web/src/locale/lang/zh-CN.ts
+1
-0
ibizbook_en_US.ts
...Web/src/locale/lanres/entities/ibizbook/ibizbook_en_US.ts
+45
-41
ibizbook_zh_CN.ts
...Web/src/locale/lanres/entities/ibizbook/ibizbook_zh_CN.ts
+45
-41
main-menu-appmenu.ts
app_Web/src/mock/app/main-menu-appmenu/main-menu-appmenu.ts
+18
-0
viewconfig.ts
app_Web/src/mock/viewconfig/viewconfig.ts
+8
-0
ibizbookstate-wizard-view-base.vue
...zbookstate-wizard-view/ibizbookstate-wizard-view-base.vue
+627
-0
ibizbookstate-wizard-view.less
.../ibizbookstate-wizard-view/ibizbookstate-wizard-view.less
+11
-0
ibizbookstate-wizard-view.vue
...e/ibizbookstate-wizard-view/ibizbookstate-wizard-view.vue
+22
-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
ibizbook-ui-service-base.ts
app_Web/src/uiservice/ibizbook/ibizbook-ui-service-base.ts
+1
-0
main-menu-appmenu-base.vue
.../widgets/app/main-menu-appmenu/main-menu-appmenu-base.vue
+537
-511
main-menu-appmenu-model.ts
.../widgets/app/main-menu-appmenu/main-menu-appmenu-model.ts
+19
-0
row-edit-grid-base.vue
...src/widgets/ibizbook/row-edit-grid/row-edit-grid-base.vue
+7
-33
row-edit-grid-model.ts
...src/widgets/ibizbook/row-edit-grid/row-edit-grid-model.ts
+0
-2
state-guide-wizardpanel-base.vue
.../state-guide-wizardpanel/state-guide-wizardpanel-base.vue
+671
-0
state-guide-wizardpanel-model.ts
.../state-guide-wizardpanel/state-guide-wizardpanel-model.ts
+89
-0
state-guide-wizardpanel-service.ts
...tate-guide-wizardpanel/state-guide-wizardpanel-service.ts
+105
-0
state-guide-wizardpanel.less
...book/state-guide-wizardpanel/state-guide-wizardpanel.less
+36
-0
state-guide-wizardpanel.vue
...zbook/state-guide-wizardpanel/state-guide-wizardpanel.vue
+20
-0
main5-form-base.vue
...src/widgets/ibizsample0001/main5-form/main5-form-base.vue
+1
-2
systemResource.json
demo-core/src/main/resources/permission/systemResource.json
+1
-1
未找到文件。
app_Web/public/assets/json/view-config.json
浏览文件 @
6f242301
...
...
@@ -39,6 +39,14 @@
"viewname"
:
"IBIZSample0001SF5EditView"
,
"viewtag"
:
"09663b7a4e3dce70524d1b64e02b5e2d"
},
"ibizbookstatewizardview"
:
{
"title"
:
"图书状态向导视图"
,
"caption"
:
"图书"
,
"viewtype"
:
"DEWIZARDVIEW"
,
"viewmodule"
:
"Sample"
,
"viewname"
:
"IBIZBOOKStateWizardView"
,
"viewtag"
:
"0b8c0a8b7a5b8b73595b23fc502652fc"
},
"ibizsample0001sf4editview"
:
{
"title"
:
"默认数据类型"
,
"caption"
:
"默认数据类型"
,
...
...
app_Web/src/locale/lang/en-US.ts
浏览文件 @
6f242301
...
...
@@ -221,6 +221,7 @@ export default {
menuitem42
:
"雷达图"
,
menuitem17
:
"向导"
,
menuitem134
:
"向导视图"
,
menuitem135
:
"状态向导"
,
menuitem18
:
"界面行为"
,
menuitem65
:
"前端界面行为"
,
menuitem66
:
"后台界面行为"
,
...
...
app_Web/src/locale/lang/zh-CN.ts
浏览文件 @
6f242301
...
...
@@ -221,6 +221,7 @@ export default {
menuitem42
:
"雷达图"
,
menuitem17
:
"向导"
,
menuitem134
:
"向导视图"
,
menuitem135
:
"状态向导"
,
menuitem18
:
"界面行为"
,
menuitem65
:
"前端界面行为"
,
menuitem66
:
"后台界面行为"
,
...
...
app_Web/src/locale/lanres/entities/ibizbook/ibizbook_en_US.ts
浏览文件 @
6f242301
...
...
@@ -20,6 +20,10 @@ export default {
borrowstatus
:
"图书借阅状态"
,
},
views
:
{
statewizardview
:
{
caption
:
"图书"
,
title
:
"图书状态向导视图"
,
},
editview3
:
{
caption
:
"图书"
,
title
:
"图书编辑视图"
,
...
...
@@ -181,12 +185,10 @@ export default {
title
:
"新建默认值"
,
},
},
main
_form
:
{
guideviewform
_form
:
{
details
:
{
group1
:
"图书基本信息"
,
formpage1
:
"基本信息"
,
group2
:
"操作信息"
,
formpage2
:
"其它"
,
srfupdatedate
:
"更新时间"
,
srforikey
:
""
,
srfkey
:
"图书标识"
,
...
...
@@ -195,32 +197,20 @@ export default {
srfuf
:
""
,
srfdeid
:
""
,
srfsourcekey
:
""
,
ibizbookid
:
"图书标识"
,
ibizbookname
:
"图书名称"
,
ibizbookid
:
"图书标识"
,
author
:
"图书作者"
,
booknumber
:
"图书数量"
,
press
:
"图书出版社"
,
price
:
"图书价格"
,
type
:
"图书类型"
,
booknumber
:
"图书数量"
,
icon
:
"图标"
,
sailstate
:
"图书销售状态"
,
lendouttime
:
"借出日期"
,
returntime
:
"归还日期"
,
subtext
:
"图书描述"
,
createman
:
"建立人"
,
createdate
:
"建立时间"
,
updateman
:
"更新人"
,
updatedate
:
"更新时间"
,
},
uiactions
:
{
},
},
interfunc
form_form
:
{
guideborrow
form_form
:
{
details
:
{
group1
:
"
编辑表单内置功能
"
,
group1
:
"
图书基本信息
"
,
formpage1
:
"基本信息"
,
group2
:
"操作信息"
,
formpage2
:
"其它"
,
srfupdatedate
:
"更新时间"
,
srforikey
:
""
,
srfkey
:
"图书标识"
,
...
...
@@ -230,25 +220,12 @@ export default {
srfdeid
:
""
,
srfsourcekey
:
""
,
ibizbookid
:
"图书标识"
,
ibizbookname
:
"图书名称"
,
author
:
"图书作者"
,
press
:
"图书出版社"
,
price
:
"图书价格"
,
type
:
"图书类型"
,
booknumber
:
"图书数量"
,
icon
:
"图标"
,
lendouttime
:
"借出日期"
,
returntime
:
"归还日期"
,
subtext
:
"图书描述"
,
createman
:
"建立人"
,
createdate
:
"建立时间"
,
updateman
:
"更新人"
,
updatedate
:
"更新时间"
,
},
uiactions
:
{
},
},
guide
view
form_form
:
{
guide
return
form_form
:
{
details
:
{
group1
:
"图书基本信息"
,
formpage1
:
"基本信息"
,
...
...
@@ -260,20 +237,18 @@ export default {
srfuf
:
""
,
srfdeid
:
""
,
srfsourcekey
:
""
,
ibizbookname
:
"图书名称"
,
ibizbookid
:
"图书标识"
,
author
:
"图书作者"
,
booknumber
:
"图书数量"
,
press
:
"图书出版社"
,
price
:
"图书价格"
,
returntime
:
"归还日期"
,
},
uiactions
:
{
},
},
guideborrowform
_form
:
{
main
_form
:
{
details
:
{
group1
:
"图书基本信息"
,
formpage1
:
"基本信息"
,
group2
:
"操作信息"
,
formpage2
:
"其它"
,
srfupdatedate
:
"更新时间"
,
srforikey
:
""
,
srfkey
:
"图书标识"
,
...
...
@@ -283,15 +258,31 @@ export default {
srfdeid
:
""
,
srfsourcekey
:
""
,
ibizbookid
:
"图书标识"
,
ibizbookname
:
"图书名称"
,
author
:
"图书作者"
,
press
:
"图书出版社"
,
price
:
"图书价格"
,
type
:
"图书类型"
,
booknumber
:
"图书数量"
,
icon
:
"图标"
,
sailstate
:
"图书销售状态"
,
lendouttime
:
"借出日期"
,
returntime
:
"归还日期"
,
subtext
:
"图书描述"
,
createman
:
"建立人"
,
createdate
:
"建立时间"
,
updateman
:
"更新人"
,
updatedate
:
"更新时间"
,
},
uiactions
:
{
},
},
guidereturn
form_form
:
{
interfunc
form_form
:
{
details
:
{
group1
:
"
图书基本信息
"
,
group1
:
"
编辑表单内置功能
"
,
formpage1
:
"基本信息"
,
group2
:
"操作信息"
,
formpage2
:
"其它"
,
srfupdatedate
:
"更新时间"
,
srforikey
:
""
,
srfkey
:
"图书标识"
,
...
...
@@ -301,7 +292,20 @@ export default {
srfdeid
:
""
,
srfsourcekey
:
""
,
ibizbookid
:
"图书标识"
,
ibizbookname
:
"图书名称"
,
author
:
"图书作者"
,
press
:
"图书出版社"
,
price
:
"图书价格"
,
type
:
"图书类型"
,
booknumber
:
"图书数量"
,
icon
:
"图标"
,
lendouttime
:
"借出日期"
,
returntime
:
"归还日期"
,
subtext
:
"图书描述"
,
createman
:
"建立人"
,
createdate
:
"建立时间"
,
updateman
:
"更新人"
,
updatedate
:
"更新时间"
,
},
uiactions
:
{
},
...
...
app_Web/src/locale/lanres/entities/ibizbook/ibizbook_zh_CN.ts
浏览文件 @
6f242301
...
...
@@ -19,6 +19,10 @@ export default {
borrowstatus
:
"图书借阅状态"
,
},
views
:
{
statewizardview
:
{
caption
:
"图书"
,
title
:
"图书状态向导视图"
,
},
editview3
:
{
caption
:
"图书"
,
title
:
"图书编辑视图"
,
...
...
@@ -180,12 +184,10 @@ export default {
title
:
"新建默认值"
,
},
},
main
_form
:
{
guideviewform
_form
:
{
details
:
{
group1
:
"图书基本信息"
,
formpage1
:
"基本信息"
,
group2
:
"操作信息"
,
formpage2
:
"其它"
,
srfupdatedate
:
"更新时间"
,
srforikey
:
""
,
srfkey
:
"图书标识"
,
...
...
@@ -194,32 +196,20 @@ export default {
srfuf
:
""
,
srfdeid
:
""
,
srfsourcekey
:
""
,
ibizbookid
:
"图书标识"
,
ibizbookname
:
"图书名称"
,
ibizbookid
:
"图书标识"
,
author
:
"图书作者"
,
booknumber
:
"图书数量"
,
press
:
"图书出版社"
,
price
:
"图书价格"
,
type
:
"图书类型"
,
booknumber
:
"图书数量"
,
icon
:
"图标"
,
sailstate
:
"图书销售状态"
,
lendouttime
:
"借出日期"
,
returntime
:
"归还日期"
,
subtext
:
"图书描述"
,
createman
:
"建立人"
,
createdate
:
"建立时间"
,
updateman
:
"更新人"
,
updatedate
:
"更新时间"
,
},
uiactions
:
{
},
},
interfunc
form_form
:
{
guideborrow
form_form
:
{
details
:
{
group1
:
"
编辑表单内置功能
"
,
group1
:
"
图书基本信息
"
,
formpage1
:
"基本信息"
,
group2
:
"操作信息"
,
formpage2
:
"其它"
,
srfupdatedate
:
"更新时间"
,
srforikey
:
""
,
srfkey
:
"图书标识"
,
...
...
@@ -229,25 +219,12 @@ export default {
srfdeid
:
""
,
srfsourcekey
:
""
,
ibizbookid
:
"图书标识"
,
ibizbookname
:
"图书名称"
,
author
:
"图书作者"
,
press
:
"图书出版社"
,
price
:
"图书价格"
,
type
:
"图书类型"
,
booknumber
:
"图书数量"
,
icon
:
"图标"
,
lendouttime
:
"借出日期"
,
returntime
:
"归还日期"
,
subtext
:
"图书描述"
,
createman
:
"建立人"
,
createdate
:
"建立时间"
,
updateman
:
"更新人"
,
updatedate
:
"更新时间"
,
},
uiactions
:
{
},
},
guide
view
form_form
:
{
guide
return
form_form
:
{
details
:
{
group1
:
"图书基本信息"
,
formpage1
:
"基本信息"
,
...
...
@@ -259,20 +236,18 @@ export default {
srfuf
:
""
,
srfdeid
:
""
,
srfsourcekey
:
""
,
ibizbookname
:
"图书名称"
,
ibizbookid
:
"图书标识"
,
author
:
"图书作者"
,
booknumber
:
"图书数量"
,
press
:
"图书出版社"
,
price
:
"图书价格"
,
returntime
:
"归还日期"
,
},
uiactions
:
{
},
},
guideborrowform
_form
:
{
main
_form
:
{
details
:
{
group1
:
"图书基本信息"
,
formpage1
:
"基本信息"
,
group2
:
"操作信息"
,
formpage2
:
"其它"
,
srfupdatedate
:
"更新时间"
,
srforikey
:
""
,
srfkey
:
"图书标识"
,
...
...
@@ -282,15 +257,31 @@ export default {
srfdeid
:
""
,
srfsourcekey
:
""
,
ibizbookid
:
"图书标识"
,
ibizbookname
:
"图书名称"
,
author
:
"图书作者"
,
press
:
"图书出版社"
,
price
:
"图书价格"
,
type
:
"图书类型"
,
booknumber
:
"图书数量"
,
icon
:
"图标"
,
sailstate
:
"图书销售状态"
,
lendouttime
:
"借出日期"
,
returntime
:
"归还日期"
,
subtext
:
"图书描述"
,
createman
:
"建立人"
,
createdate
:
"建立时间"
,
updateman
:
"更新人"
,
updatedate
:
"更新时间"
,
},
uiactions
:
{
},
},
guidereturn
form_form
:
{
interfunc
form_form
:
{
details
:
{
group1
:
"
图书基本信息
"
,
group1
:
"
编辑表单内置功能
"
,
formpage1
:
"基本信息"
,
group2
:
"操作信息"
,
formpage2
:
"其它"
,
srfupdatedate
:
"更新时间"
,
srforikey
:
""
,
srfkey
:
"图书标识"
,
...
...
@@ -300,7 +291,20 @@ export default {
srfdeid
:
""
,
srfsourcekey
:
""
,
ibizbookid
:
"图书标识"
,
ibizbookname
:
"图书名称"
,
author
:
"图书作者"
,
press
:
"图书出版社"
,
price
:
"图书价格"
,
type
:
"图书类型"
,
booknumber
:
"图书数量"
,
icon
:
"图标"
,
lendouttime
:
"借出日期"
,
returntime
:
"归还日期"
,
subtext
:
"图书描述"
,
createman
:
"建立人"
,
createdate
:
"建立时间"
,
updateman
:
"更新人"
,
updatedate
:
"更新时间"
,
},
uiactions
:
{
},
...
...
app_Web/src/mock/app/main-menu-appmenu/main-menu-appmenu.ts
浏览文件 @
6f242301
...
...
@@ -1065,6 +1065,24 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
textcls
:
''
,
appfunctag
:
'AppFunc49'
,
resourcetag
:
''
,
},
{
id
:
'B3F9066E-1177-4613-9D0B-5AF3EDCC850C'
,
name
:
'menuitem135'
,
text
:
'状态向导'
,
type
:
'MENUITEM'
,
counterid
:
''
,
tooltip
:
'状态向导'
,
expanded
:
false
,
separator
:
false
,
hidden
:
false
,
hidesidebar
:
false
,
opendefault
:
false
,
iconcls
:
''
,
icon
:
''
,
textcls
:
''
,
appfunctag
:
'AppFunc51'
,
resourcetag
:
''
,
},
],
},
...
...
app_Web/src/mock/viewconfig/viewconfig.ts
浏览文件 @
6f242301
...
...
@@ -47,6 +47,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname"
:
"IBIZSample0001SF5EditView"
,
"viewtag"
:
"09663b7a4e3dce70524d1b64e02b5e2d"
},
"ibizbookstatewizardview"
:
{
"title"
:
"图书状态向导视图"
,
"caption"
:
"图书"
,
"viewtype"
:
"DEWIZARDVIEW"
,
"viewmodule"
:
"Sample"
,
"viewname"
:
"IBIZBOOKStateWizardView"
,
"viewtag"
:
"0b8c0a8b7a5b8b73595b23fc502652fc"
},
"ibizsample0001sf4editview"
:
{
"title"
:
"默认数据类型"
,
"caption"
:
"默认数据类型"
,
...
...
app_Web/src/pages/sample/ibizbookstate-wizard-view/ibizbookstate-wizard-view-base.vue
0 → 100644
浏览文件 @
6f242301
此差异已折叠。
点击以展开。
app_Web/src/pages/sample/ibizbookstate-wizard-view/ibizbookstate-wizard-view.less
0 → 100644
浏览文件 @
6f242301
.ibizbookstate-wizard-view{
position: relative;
}
.ibizbookstate-wizard-view{
> .view-card > .ivu-card-body > .content-container > .app-wizard {
overflow: auto;
}
}
\ No newline at end of file
app_Web/src/pages/sample/ibizbookstate-wizard-view/ibizbookstate-wizard-view.vue
0 → 100644
浏览文件 @
6f242301
<
script
lang=
'tsx'
>
import
{
Component
}
from
'vue-property-decorator'
;
import
IBIZBOOKStateWizardViewBase
from
'./ibizbookstate-wizard-view-base.vue'
;
import
view_wizardpanel
from
'@widgets/ibizbook/state-guide-wizardpanel/state-guide-wizardpanel.vue'
;
@
Component
({
components
:
{
view_wizardpanel
,
},
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
IBIZBOOKStateWizardView
extends
IBIZBOOKStateWizardViewBase
{
}
</
script
>
\ No newline at end of file
app_Web/src/pages/sample/index/page-register.ts
浏览文件 @
6f242301
...
...
@@ -39,6 +39,7 @@ export const PageComponents = {
Vue
.
component
(
'ibizsample0003-pickup-view'
,
()
=>
import
(
'@pages/sample/ibizsample0003-pickup-view/ibizsample0003-pickup-view.vue'
));
Vue
.
component
(
'ibizsample0001-usr2-edit-view'
,
()
=>
import
(
'@pages/sample/ibizsample0001-usr2-edit-view/ibizsample0001-usr2-edit-view.vue'
));
Vue
.
component
(
'ibizhardware-sgrid-view'
,
()
=>
import
(
'@pages/sample/ibizhardware-sgrid-view/ibizhardware-sgrid-view.vue'
));
Vue
.
component
(
'ibizbookstate-wizard-view'
,
()
=>
import
(
'@pages/sample/ibizbookstate-wizard-view/ibizbookstate-wizard-view.vue'
));
Vue
.
component
(
'ibizsample0017-form-pickup-data-view'
,
()
=>
import
(
'@pages/sample/ibizsample0017-form-pickup-data-view/ibizsample0017-form-pickup-data-view.vue'
));
Vue
.
component
(
'ibizorder-sf5-grid-view'
,
()
=>
import
(
'@pages/sample/ibizorder-sf5-grid-view/ibizorder-sf5-grid-view.vue'
));
Vue
.
component
(
'ibizbookmedit-view9'
,
()
=>
import
(
'@pages/sample/ibizbookmedit-view9/ibizbookmedit-view9.vue'
));
...
...
app_Web/src/pages/sample/index/router.ts
浏览文件 @
6f242301
...
...
@@ -656,6 +656,20 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/sample/ibizhardware-sgrid-view/ibizhardware-sgrid-view.vue'
),
},
{
path
:
'ibizbooks/:ibizbook?/statewizardview/:statewizardview?'
,
meta
:
{
caption
:
'entities.ibizbook.views.statewizardview.caption'
,
info
:
''
,
parameters
:
[
{
pathName
:
'index'
,
parameterName
:
'index'
},
{
pathName
:
'ibizbooks'
,
parameterName
:
'ibizbook'
},
{
pathName
:
'statewizardview'
,
parameterName
:
'statewizardview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sample/ibizbookstate-wizard-view/ibizbookstate-wizard-view.vue'
),
},
{
path
:
'ibizsample0017s/:ibizsample0017?/formpickupdataview/:formpickupdataview?'
,
meta
:
{
...
...
@@ -2422,6 +2436,19 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/sample/ibizsample0001-sf5-edit-view/ibizsample0001-sf5-edit-view.vue'
),
},
{
path
:
'/ibizbooks/:ibizbook?/statewizardview/:statewizardview?'
,
meta
:
{
caption
:
'entities.ibizbook.views.statewizardview.caption'
,
info
:
''
,
parameters
:
[
{
pathName
:
'ibizbooks'
,
parameterName
:
'ibizbook'
},
{
pathName
:
'statewizardview'
,
parameterName
:
'statewizardview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sample/ibizbookstate-wizard-view/ibizbookstate-wizard-view.vue'
),
},
{
path
:
'/ibizsample0002s/:ibizsample0002?/ibizsample0001s/:ibizsample0001?/sf4editview/:sf4editview?'
,
meta
:
{
...
...
app_Web/src/store/modules/view-action/state.ts
浏览文件 @
6f242301
...
...
@@ -47,6 +47,15 @@ export const viewstate: any = {
'ba34a828f898eefac5a98e7b25d9aef4'
,
],
},
{
viewtag
:
'0b8c0a8b7a5b8b73595b23fc502652fc'
,
viewmodule
:
'Sample'
,
viewname
:
'IBIZBOOKStateWizardView'
,
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
],
},
{
viewtag
:
'0c1093afa96df2832f707495afec541e'
,
viewmodule
:
'Sample'
,
...
...
@@ -239,6 +248,7 @@ export const viewstate: any = {
'3bbf72a3e5b59fed0dee362a9b1384a8'
,
'fdb8ed39fbfea00f65416b9aaebd64e7'
,
'f73da4cb47a88d3fe5b92716e0137741'
,
'0b8c0a8b7a5b8b73595b23fc502652fc'
,
'59500fe075fdae44c35c88b95e64d9c8'
,
'b7c0a73eb248d41eb750bbf095fa5505'
,
'd99f9680b535dcf3ad0d0f853a8b89d9'
,
...
...
app_Web/src/uiservice/ibizbook/ibizbook-ui-service-base.ts
浏览文件 @
6f242301
...
...
@@ -96,6 +96,7 @@ export default class IBIZBOOKUIServiceBase extends UIService {
* @memberof IBIZBOOKUIServiceBase
*/
public
initViewMap
(){
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'statewizardview'
,
srfappde
:
'ibizbooks'
,
component
:
'ibizbookstate-wizard-view'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'editview3'
,
srfappde
:
'ibizbooks'
,
component
:
'ibizbookedit-view3'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'autogrouplistview'
,
srfappde
:
'ibizbooks'
,
component
:
'ibizbookauto-group-list-view'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'ruleseditview'
,
srfappde
:
'ibizbooks'
,
component
:
'ibizbookrules-edit-view'
});
...
...
app_Web/src/widgets/app/main-menu-appmenu/main-menu-appmenu-base.vue
浏览文件 @
6f242301
因为 它太大了无法显示 源差异 。您可以改为
查看blob
。
app_Web/src/widgets/app/main-menu-appmenu/main-menu-appmenu-model.ts
浏览文件 @
6f242301
...
...
@@ -1127,6 +1127,25 @@ export default class MainMenuModel {
appfunctag
:
'AppFunc49'
,
resourcetag
:
''
,
authtag
:
'Web-MainMenu-menuitem134'
,
},
{
id
:
'B3F9066E-1177-4613-9D0B-5AF3EDCC850C'
,
name
:
'menuitem135'
,
text
:
'状态向导'
,
type
:
'MENUITEM'
,
counterid
:
''
,
tooltip
:
'状态向导'
,
expanded
:
false
,
separator
:
false
,
hidden
:
false
,
hidesidebar
:
false
,
opendefault
:
false
,
iconcls
:
''
,
icon
:
''
,
textcls
:
''
,
appfunctag
:
'AppFunc51'
,
resourcetag
:
''
,
authtag
:
'Web-MainMenu-menuitem135'
,
},
],
},
...
...
app_Web/src/widgets/ibizbook/row-edit-grid/row-edit-grid-base.vue
浏览文件 @
6f242301
...
...
@@ -188,42 +188,26 @@
</el-table-column>
</template>
<
template
v-if=
"getColumnState('lendouttime')"
>
<el-table-column
show-overflow-tooltip
:prop=
"'lendouttime'"
:label=
"$t('entities.ibizbook.rowedit_grid.columns.lendouttime')"
:width=
"
15
0"
:align=
"'left'"
:sortable=
"'custom'"
>
<el-table-column
show-overflow-tooltip
:prop=
"'lendouttime'"
:label=
"$t('entities.ibizbook.rowedit_grid.columns.lendouttime')"
:width=
"
20
0"
:align=
"'left'"
:sortable=
"'custom'"
>
<template
v-slot:header=
"
{column}">
<span
class=
"column-header "
>
{{
$t
(
'entities.ibizbook.rowedit_grid.columns.lendouttime'
)
}}
</span>
</
template
>
<
template
v-slot=
"{row,column,$index}"
>
<template
v-if=
"actualIsOpenEdit && !row.children"
>
<app-form-item
:error=
"gridItemsModel[$index][column.property].error"
>
<date-picker
type=
"date"
:transfer=
"true"
format=
"yyyy-MM-dd"
:disabled=
"getColumnDisabled(row,column.property)"
:value=
"row[column.property]"
style=
""
@
on-change=
"(val1, val2) =>
{ row[column.property] = val1; gridEditItemChange(row, column.property, val1, $index)}">
</date-picker>
</app-form-item>
</
template
>
<
template
v-if=
"!actualIsOpenEdit"
>
<app-span
name=
'lendouttime'
editorType=
"DATEPICKER"
:value=
"row.lendouttime"
dataType=
"DATE"
precision=
"0"
></app-span>
</
template
>
<app-format-data
format=
"YYYY-MM-DD"
:data=
"row.lendouttime"
></app-format-data>
</
template
>
</el-table-column>
</template>
<
template
v-if=
"getColumnState('returntime')"
>
<el-table-column
show-overflow-tooltip
:prop=
"'returntime'"
:label=
"$t('entities.ibizbook.rowedit_grid.columns.returntime')"
:width=
"
15
0"
:align=
"'left'"
:sortable=
"'custom'"
>
<el-table-column
show-overflow-tooltip
:prop=
"'returntime'"
:label=
"$t('entities.ibizbook.rowedit_grid.columns.returntime')"
:width=
"
20
0"
:align=
"'left'"
:sortable=
"'custom'"
>
<template
v-slot:header=
"
{column}">
<span
class=
"column-header "
>
{{
$t
(
'entities.ibizbook.rowedit_grid.columns.returntime'
)
}}
</span>
</
template
>
<
template
v-slot=
"{row,column,$index}"
>
<template
v-if=
"actualIsOpenEdit && !row.children"
>
<app-form-item
:error=
"gridItemsModel[$index][column.property].error"
>
<date-picker
type=
"date"
:transfer=
"true"
format=
"yyyy-MM-dd"
:disabled=
"getColumnDisabled(row,column.property)"
:value=
"row[column.property]"
style=
""
@
on-change=
"(val1, val2) =>
{ row[column.property] = val1; gridEditItemChange(row, column.property, val1, $index)}">
</date-picker>
</app-form-item>
</
template
>
<
template
v-if=
"!actualIsOpenEdit"
>
<app-span
name=
'returntime'
editorType=
"DATEPICKER"
:value=
"row.returntime"
dataType=
"DATE"
precision=
"0"
></app-span>
</
template
>
<app-format-data
format=
"YYYY-MM-DD"
:data=
"row.returntime"
></app-format-data>
</
template
>
</el-table-column>
</template>
...
...
@@ -706,7 +690,7 @@ export default class RowEditBase extends Vue implements ControlInterface {
*
* @memberof RowEditBase
*/
public
defaultUpdateItems
:
Array
<
any
>
=
[,,,,,,
,,
];
public
defaultUpdateItems
:
Array
<
any
>
=
[,,,,,,];
/**
* 选中行数据
...
...
@@ -844,7 +828,7 @@ export default class RowEditBase extends Vue implements ControlInterface {
langtag
:
'entities.ibizbook.rowedit_grid.columns.lendouttime'
,
show
:
true
,
unit
:
'PX'
,
isEnableRowEdit
:
tru
e
,
isEnableRowEdit
:
fals
e
,
enableCond
:
3
,
},
{
...
...
@@ -853,7 +837,7 @@ export default class RowEditBase extends Vue implements ControlInterface {
langtag
:
'entities.ibizbook.rowedit_grid.columns.returntime'
,
show
:
true
,
unit
:
'PX'
,
isEnableRowEdit
:
tru
e
,
isEnableRowEdit
:
fals
e
,
enableCond
:
3
,
},
]
...
...
@@ -942,13 +926,11 @@ export default class RowEditBase extends Vue implements ControlInterface {
*/
public
getGridRowModel
(){
return
{
lendouttime
:
new
FormItemModel
(),
author
:
new
FormItemModel
(),
press
:
new
FormItemModel
(),
ibizbookname
:
new
FormItemModel
(),
price
:
new
FormItemModel
(),
booknumber
:
new
FormItemModel
(),
returntime
:
new
FormItemModel
(),
type
:
new
FormItemModel
(),
srfkey
:
new
FormItemModel
(),
}
...
...
@@ -970,10 +952,6 @@ export default class RowEditBase extends Vue implements ControlInterface {
* @memberof RowEditBase
*/
public
rules
:
any
=
{
lendouttime
:
[
{
required
:
true
,
validator
:
(
rule
:
any
,
value
:
any
,
callback
:
any
)
=>
{
return
(
rule
.
required
&&
(
value
===
null
||
value
===
undefined
||
value
===
""
))
?
false
:
true
;},
message
:
'借出日期 值不能为空'
,
trigger
:
'change'
},
{
required
:
true
,
validator
:
(
rule
:
any
,
value
:
any
,
callback
:
any
)
=>
{
return
(
rule
.
required
&&
(
value
===
null
||
value
===
undefined
||
value
===
""
))
?
false
:
true
;},
message
:
'借出日期 值不能为空'
,
trigger
:
'blur'
},
],
author
:
[
{
required
:
false
,
validator
:
(
rule
:
any
,
value
:
any
,
callback
:
any
)
=>
{
return
(
rule
.
required
&&
(
value
===
null
||
value
===
undefined
||
value
===
""
))
?
false
:
true
;},
message
:
'图书作者 值不能为空'
,
trigger
:
'change'
},
{
required
:
false
,
validator
:
(
rule
:
any
,
value
:
any
,
callback
:
any
)
=>
{
return
(
rule
.
required
&&
(
value
===
null
||
value
===
undefined
||
value
===
""
))
?
false
:
true
;},
message
:
'图书作者 值不能为空'
,
trigger
:
'blur'
},
...
...
@@ -994,10 +972,6 @@ export default class RowEditBase extends Vue implements ControlInterface {
{
required
:
false
,
validator
:
(
rule
:
any
,
value
:
any
,
callback
:
any
)
=>
{
return
(
rule
.
required
&&
(
value
===
null
||
value
===
undefined
||
value
===
""
))
?
false
:
true
;},
message
:
'图书数量 值不能为空'
,
trigger
:
'change'
},
{
required
:
false
,
validator
:
(
rule
:
any
,
value
:
any
,
callback
:
any
)
=>
{
return
(
rule
.
required
&&
(
value
===
null
||
value
===
undefined
||
value
===
""
))
?
false
:
true
;},
message
:
'图书数量 值不能为空'
,
trigger
:
'blur'
},
],
returntime
:
[
{
required
:
true
,
validator
:
(
rule
:
any
,
value
:
any
,
callback
:
any
)
=>
{
return
(
rule
.
required
&&
(
value
===
null
||
value
===
undefined
||
value
===
""
))
?
false
:
true
;},
message
:
'归还日期 值不能为空'
,
trigger
:
'change'
},
{
required
:
true
,
validator
:
(
rule
:
any
,
value
:
any
,
callback
:
any
)
=>
{
return
(
rule
.
required
&&
(
value
===
null
||
value
===
undefined
||
value
===
""
))
?
false
:
true
;},
message
:
'归还日期 值不能为空'
,
trigger
:
'blur'
},
],
type
:
[
{
required
:
false
,
validator
:
(
rule
:
any
,
value
:
any
,
callback
:
any
)
=>
{
return
(
rule
.
required
&&
(
value
===
null
||
value
===
undefined
||
value
===
""
))
?
false
:
true
;},
message
:
'图书类型 值不能为空'
,
trigger
:
'change'
},
{
required
:
false
,
validator
:
(
rule
:
any
,
value
:
any
,
callback
:
any
)
=>
{
return
(
rule
.
required
&&
(
value
===
null
||
value
===
undefined
||
value
===
""
))
?
false
:
true
;},
message
:
'图书类型 值不能为空'
,
trigger
:
'blur'
},
...
...
app_Web/src/widgets/ibizbook/row-edit-grid/row-edit-grid-model.ts
浏览文件 @
6f242301
...
...
@@ -30,7 +30,6 @@ export default class RowEditModel {
name
:
'lendouttime'
,
prop
:
'lendouttime'
,
dataType
:
'DATE'
,
isEditable
:
true
},
{
name
:
'author'
,
...
...
@@ -71,7 +70,6 @@ export default class RowEditModel {
name
:
'returntime'
,
prop
:
'returntime'
,
dataType
:
'DATE'
,
isEditable
:
true
},
{
name
:
'type'
,
...
...
app_Web/src/widgets/ibizbook/state-guide-wizardpanel/state-guide-wizardpanel-base.vue
0 → 100644
浏览文件 @
6f242301
此差异已折叠。
点击以展开。
app_Web/src/widgets/ibizbook/state-guide-wizardpanel/state-guide-wizardpanel-model.ts
0 → 100644
浏览文件 @
6f242301
/**
* StateGuide 部件模型
*
* @export
* @class StateGuideModel
*/
export
default
class
StateGuideModel
{
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof StateGuideModel
*/
public
getDataItems
():
any
[]
{
return
[
{
name
:
'createman'
,
prop
:
'createman'
,
},
{
name
:
'ibizbookname'
,
prop
:
'ibizbookname'
,
},
{
name
:
'ibizbook'
,
prop
:
'ibizbookid'
,
},
{
name
:
'createdate'
,
prop
:
'createdate'
,
},
{
name
:
'updateman'
,
prop
:
'updateman'
,
},
{
name
:
'updatedate'
,
prop
:
'updatedate'
,
},
{
name
:
'author'
,
prop
:
'author'
,
},
{
name
:
'price'
,
prop
:
'price'
,
},
{
name
:
'press'
,
prop
:
'press'
,
},
{
name
:
'type'
,
prop
:
'type'
,
},
{
name
:
'booknumber'
,
prop
:
'booknumber'
,
},
{
name
:
'subtext'
,
prop
:
'subtext'
,
},
{
name
:
'lendouttime'
,
prop
:
'lendouttime'
,
},
{
name
:
'returntime'
,
prop
:
'returntime'
,
},
{
name
:
'icon'
,
prop
:
'icon'
,
},
{
name
:
'sailstate'
,
prop
:
'sailstate'
,
},
{
name
:
'borrowstatus'
,
prop
:
'borrowstatus'
,
},
]
}
}
\ No newline at end of file
app_Web/src/widgets/ibizbook/state-guide-wizardpanel/state-guide-wizardpanel-service.ts
0 → 100644
浏览文件 @
6f242301
import
{
Http
,
Util
,
Errorlog
}
from
'@/utils'
;
import
ControlService
from
'@/widgets/control-service'
;
import
IBIZBOOKService
from
'@/service/ibizbook/ibizbook-service'
;
import
StateGuideModel
from
'./state-guide-wizardpanel-model'
;
/**
* StateGuide 部件服务对象
*
* @export
* @class StateGuideService
*/
export
default
class
StateGuideService
extends
ControlService
{
/**
* 图书服务对象
*
* @type {IBIZBOOKService}
* @memberof StateGuideService
*/
public
appEntityService
:
IBIZBOOKService
=
new
IBIZBOOKService
({
$store
:
this
.
getStore
()
});
/**
* 设置从数据模式
*
* @type {boolean}
* @memberof StateGuideService
*/
public
setTempMode
(){
this
.
isTempMode
=
false
;
}
/**
* Creates an instance of StateGuideService.
*
* @param {*} [opts={}]
* @memberof StateGuideService
*/
constructor
(
opts
:
any
=
{})
{
super
(
opts
);
this
.
model
=
new
StateGuideModel
();
}
/**
* 初始化向导
*
* @param {string} action
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof StateGuideService
*/
@
Errorlog
public
init
(
action
:
string
,
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
const
{
data
:
Data
,
context
:
Context
}
=
this
.
handleRequestData
(
action
,
context
,
data
);
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
let
result
:
Promise
<
any
>
;
const
_appEntityService
:
any
=
this
.
appEntityService
;
if
(
_appEntityService
[
action
]
&&
_appEntityService
[
action
]
instanceof
Function
)
{
result
=
_appEntityService
[
action
](
Context
,
Data
,
isloading
);
}
else
{
result
=
this
.
appEntityService
.
Create
(
Context
,
Data
,
isloading
);
}
result
.
then
((
response
)
=>
{
this
.
handleResponse
(
action
,
response
);
resolve
(
response
);
}).
catch
(
response
=>
{
reject
(
response
);
});
});
}
/**
* 向导结束
*
* @param {string} action
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof StateGuideService
*/
@
Errorlog
public
finish
(
action
:
string
,
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
const
{
data
:
Data
,
context
:
Context
}
=
this
.
handleRequestData
(
action
,
context
,
data
);
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
let
result
:
Promise
<
any
>
;
const
_appEntityService
:
any
=
this
.
appEntityService
;
// 忽略版本检查
Object
.
assign
(
Data
,{
ignoreversioncheck
:
1
});
if
(
_appEntityService
[
action
]
&&
_appEntityService
[
action
]
instanceof
Function
)
{
result
=
_appEntityService
[
action
](
Context
,
Data
,
isloading
);
}
else
{
result
=
this
.
appEntityService
.
Update
(
Context
,
Data
,
isloading
);
}
result
.
then
((
response
)
=>
{
this
.
handleResponse
(
action
,
response
);
resolve
(
response
);
}).
catch
(
response
=>
{
reject
(
response
);
});
});
}
}
\ No newline at end of file
app_Web/src/widgets/ibizbook/state-guide-wizardpanel/state-guide-wizardpanel.less
0 → 100644
浏览文件 @
6f242301
.app-wizard {
background: #fff;
height: 100%;
.wizard-steps{
padding: 10px 50px;
border-bottom: 1px solid #ddd;
margin-bottom: 10px;
.el-step__head.is-process{
border-color: #7e8187;
color: #7e8187;
}
.el-step__title.is-process{
color: #7e8187;
}
.el-step__head.is-success{
border-color: #1890ff;
color: #1890ff;
}
.el-step__title.is-success{
color: #1890ff;
}
}
.app-wizard-content{
height: 100%;
overflow-y: auto;
}
.app-wizard-footer {
padding: 10px;
text-align: right;
.ivu-btn {
margin: 0 5px;
}
}
}
// this is less
app_Web/src/widgets/ibizbook/state-guide-wizardpanel/state-guide-wizardpanel.vue
0 → 100644
浏览文件 @
6f242301
<
script
lang=
'tsx'
>
import
{
Component
}
from
'vue-property-decorator'
;
import
StateGuideBase
from
'./state-guide-wizardpanel-base.vue'
;
import
view_wizardpanel_form_ThirdForm
from
'@widgets/ibizbook/guide-return-form-form/guide-return-form-form.vue'
;
import
view_wizardpanel_form_FirstForm
from
'@widgets/ibizbook/guide-view-form-form/guide-view-form-form.vue'
;
import
view_wizardpanel_form_SecondForm
from
'@widgets/ibizbook/guide-borrow-form-form/guide-borrow-form-form.vue'
;
@
Component
({
components
:
{
view_wizardpanel_form_ThirdForm
,
view_wizardpanel_form_FirstForm
,
view_wizardpanel_form_SecondForm
,
}
})
export
default
class
StateGuide
extends
StateGuideBase
{
}
</
script
>
\ No newline at end of file
app_Web/src/widgets/ibizsample0001/main5-form/main5-form-base.vue
浏览文件 @
6f242301
...
...
@@ -139,8 +139,7 @@ dataType="HTMLTEXT" :precision="0"
<row>
<i-col
v-show=
"detailsModel.formitem.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<app-form-item
name=
'formitem'
:itemRules=
"this.rules().formitem"
class=
''
:caption=
"$t('entities.ibizsample0001.main5_form.details.formitem')"
uiStyle=
"DEFAULT"
:labelWidth=
"150"
:isShowCaption=
"true"
:error=
"detailsModel.formitem.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-rich-text-editor
:formState=
"formState"
:value=
"data.formitem"
@
change=
"(val) =>
{this.data.formitem =val}" :disabled="detailsModel.formitem.disabled" :data="JSON.stringify(this.data)" name="formitem" :uploadparams='{}' :exportparams='{}' style="">
</app-rich-text-editor>
<span
v-html=
"data.formitem"
></span>
</app-form-item>
</i-col>
...
...
demo-core/src/main/resources/permission/systemResource.json
浏览文件 @
6f242301
此差异已折叠。
点击以展开。
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录