Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
功
功能演示系统
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
示例
功能演示系统
提交
e157ddcb
提交
e157ddcb
编写于
12月 01, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Mosher 发布系统代码 [后台服务,演示应用]
上级
f19bf1ae
变更
19
展开全部
隐藏空白字符变更
内嵌
并排
正在显示
19 个修改的文件
包含
1566 行增加
和
1 行删除
+1566
-1
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
ibizsample0001_en_US.ts
...le/lanres/entities/ibizsample0001/ibizsample0001_en_US.ts
+1
-0
ibizsample0001_zh_CN.ts
...le/lanres/entities/ibizsample0001/ibizsample0001_zh_CN.ts
+1
-0
main-menu-appmenu.ts
app_Web/src/mock/app/main-menu-appmenu/main-menu-appmenu.ts
+20
-0
ibizbookwizard-view-base.vue
...s/sample/ibizbookwizard-view/ibizbookwizard-view-base.vue
+627
-0
ibizbookwizard-view.less
...pages/sample/ibizbookwizard-view/ibizbookwizard-view.less
+11
-0
ibizbookwizard-view.vue
.../pages/sample/ibizbookwizard-view/ibizbookwizard-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
main-menu-appmenu-base.vue
.../widgets/app/main-menu-appmenu/main-menu-appmenu-base.vue
+26
-0
main-menu-appmenu-model.ts
.../widgets/app/main-menu-appmenu/main-menu-appmenu-model.ts
+21
-0
guide-wizardpanel-base.vue
...ets/ibizbook/guide-wizardpanel/guide-wizardpanel-base.vue
+560
-0
guide-wizardpanel-model.ts
...ets/ibizbook/guide-wizardpanel/guide-wizardpanel-model.ts
+81
-0
guide-wizardpanel-service.ts
...s/ibizbook/guide-wizardpanel/guide-wizardpanel-service.ts
+105
-0
guide-wizardpanel.less
...widgets/ibizbook/guide-wizardpanel/guide-wizardpanel.less
+36
-0
guide-wizardpanel.vue
.../widgets/ibizbook/guide-wizardpanel/guide-wizardpanel.vue
+14
-0
systemResource.json
demo-core/src/main/resources/permission/systemResource.json
+1
-1
未找到文件。
app_Web/src/locale/lang/en-US.ts
浏览文件 @
e157ddcb
...
...
@@ -220,6 +220,7 @@ export default {
menuitem41
:
"区域图"
,
menuitem42
:
"雷达图"
,
menuitem17
:
"向导"
,
menuitem134
:
"向导视图"
,
menuitem18
:
"界面行为"
,
menuitem65
:
"前端界面行为"
,
menuitem66
:
"后台界面行为"
,
...
...
app_Web/src/locale/lang/zh-CN.ts
浏览文件 @
e157ddcb
...
...
@@ -220,6 +220,7 @@ export default {
menuitem41
:
"区域图"
,
menuitem42
:
"雷达图"
,
menuitem17
:
"向导"
,
menuitem134
:
"向导视图"
,
menuitem18
:
"界面行为"
,
menuitem65
:
"前端界面行为"
,
menuitem66
:
"后台界面行为"
,
...
...
app_Web/src/locale/lanres/entities/ibizsample0001/ibizsample0001_en_US.ts
浏览文件 @
e157ddcb
...
...
@@ -331,6 +331,7 @@ export default {
longitude
:
"longitude"
,
updatedate
:
"updatedate"
,
updateman
:
"updateman"
,
formitem
:
"picture"
,
},
uiactions
:
{
},
...
...
app_Web/src/locale/lanres/entities/ibizsample0001/ibizsample0001_zh_CN.ts
浏览文件 @
e157ddcb
...
...
@@ -330,6 +330,7 @@ export default {
longitude
:
"longitude"
,
updatedate
:
"updatedate"
,
updateman
:
"updateman"
,
formitem
:
"picture"
,
},
uiactions
:
{
},
...
...
app_Web/src/mock/app/main-menu-appmenu/main-menu-appmenu.ts
浏览文件 @
e157ddcb
...
...
@@ -1047,6 +1047,26 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
textcls
:
''
,
appfunctag
:
''
,
resourcetag
:
''
,
items
:
[
{
id
:
'B32F8304-CD3D-4C70-A5D7-C879C00BE231'
,
name
:
'menuitem134'
,
text
:
'向导视图'
,
type
:
'MENUITEM'
,
counterid
:
''
,
tooltip
:
'向导视图'
,
expanded
:
false
,
separator
:
false
,
hidden
:
false
,
hidesidebar
:
false
,
opendefault
:
false
,
iconcls
:
''
,
icon
:
''
,
textcls
:
''
,
appfunctag
:
'AppFunc49'
,
resourcetag
:
''
,
},
],
},
{
id
:
'dfbbee9261314cb01cd8fe5c49da37e7'
,
...
...
app_Web/src/pages/sample/ibizbookwizard-view/ibizbookwizard-view-base.vue
0 → 100644
浏览文件 @
e157ddcb
此差异已折叠。
点击以展开。
app_Web/src/pages/sample/ibizbookwizard-view/ibizbookwizard-view.less
0 → 100644
浏览文件 @
e157ddcb
.ibizbookwizard-view{
position: relative;
}
.ibizbookwizard-view{
> .view-card > .ivu-card-body > .content-container > .app-wizard {
overflow: auto;
}
}
\ No newline at end of file
app_Web/src/pages/sample/ibizbookwizard-view/ibizbookwizard-view.vue
0 → 100644
浏览文件 @
e157ddcb
<
script
lang=
'tsx'
>
import
{
Component
}
from
'vue-property-decorator'
;
import
IBIZBOOKWizardViewBase
from
'./ibizbookwizard-view-base.vue'
;
import
view_wizardpanel
from
'@widgets/ibizbook/guide-wizardpanel/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
IBIZBOOKWizardView
extends
IBIZBOOKWizardViewBase
{
}
</
script
>
\ No newline at end of file
app_Web/src/pages/sample/index/page-register.ts
浏览文件 @
e157ddcb
...
...
@@ -13,6 +13,7 @@ export const PageComponents = {
Vue
.
component
(
'ibizsample0002-edit-view'
,
()
=>
import
(
'@pages/sample/ibizsample0002-edit-view/ibizsample0002-edit-view.vue'
));
Vue
.
component
(
'ibizorder-bar-chart-view'
,
()
=>
import
(
'@pages/sample/ibizorder-bar-chart-view/ibizorder-bar-chart-view.vue'
));
Vue
.
component
(
'ibizsample0003-stree-exp-view2'
,
()
=>
import
(
'@pages/sample/ibizsample0003-stree-exp-view2/ibizsample0003-stree-exp-view2.vue'
));
Vue
.
component
(
'ibizbookwizard-view'
,
()
=>
import
(
'@pages/sample/ibizbookwizard-view/ibizbookwizard-view.vue'
));
Vue
.
component
(
'ibizbookusr5-grid-view'
,
()
=>
import
(
'@pages/sample/ibizbookusr5-grid-view/ibizbookusr5-grid-view.vue'
));
Vue
.
component
(
'ibizbookusr2-grid-view'
,
()
=>
import
(
'@pages/sample/ibizbookusr2-grid-view/ibizbookusr2-grid-view.vue'
));
Vue
.
component
(
'ibizbookoption-view'
,
()
=>
import
(
'@pages/sample/ibizbookoption-view/ibizbookoption-view.vue'
));
...
...
app_Web/src/pages/sample/index/router.ts
浏览文件 @
e157ddcb
...
...
@@ -262,6 +262,20 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/sample/ibizsample0003-stree-exp-view2/ibizsample0003-stree-exp-view2.vue'
),
},
{
path
:
'ibizbooks/:ibizbook?/wizardview/:wizardview?'
,
meta
:
{
caption
:
'entities.ibizbook.views.wizardview.caption'
,
info
:
''
,
parameters
:
[
{
pathName
:
'index'
,
parameterName
:
'index'
},
{
pathName
:
'ibizbooks'
,
parameterName
:
'ibizbook'
},
{
pathName
:
'wizardview'
,
parameterName
:
'wizardview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sample/ibizbookwizard-view/ibizbookwizard-view.vue'
),
},
{
path
:
'ibizbooks/:ibizbook?/usr5gridview/:usr5gridview?'
,
meta
:
{
...
...
@@ -3636,6 +3650,19 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/sample/ibizsample0017-form-pickup-data-view/ibizsample0017-form-pickup-data-view.vue'
),
},
{
path
:
'/ibizbooks/:ibizbook?/wizardview/:wizardview?'
,
meta
:
{
caption
:
'entities.ibizbook.views.wizardview.caption'
,
info
:
''
,
parameters
:
[
{
pathName
:
'ibizbooks'
,
parameterName
:
'ibizbook'
},
{
pathName
:
'wizardview'
,
parameterName
:
'wizardview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sample/ibizbookwizard-view/ibizbookwizard-view.vue'
),
},
{
path
:
'/ibizsample0003s/:ibizsample0003?/spickuptreeview/:spickuptreeview?'
,
meta
:
{
...
...
app_Web/src/store/modules/view-action/state.ts
浏览文件 @
e157ddcb
...
...
@@ -200,6 +200,7 @@ export const viewstate: any = {
'7d37165f2f535b4a6d2116188fe83d18'
,
'f94df735642ce85ebb2fe3816c4dc77b'
,
'ac9add3724d90fba46e7298ac051fa5f'
,
'a3e8c166f876e0dd8eb09be4f9f907ab'
,
'39e841c85d9bbfc7ecf009c4202dbf0c'
,
'703686dd4e6aa6f55aca5d92c00d9ee3'
,
'efbe72fe207c5bb7ada28b278a9ea920'
,
...
...
@@ -1025,6 +1026,15 @@ export const viewstate: any = {
refviews
:
[
],
},
{
viewtag
:
'a3e8c166f876e0dd8eb09be4f9f907ab'
,
viewmodule
:
'Sample'
,
viewname
:
'IBIZBOOKWizardView'
,
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
],
},
{
viewtag
:
'a4333795f033ac3e573ec567d40ab208'
,
viewmodule
:
'Sample'
,
...
...
app_Web/src/widgets/app/main-menu-appmenu/main-menu-appmenu-base.vue
浏览文件 @
e157ddcb
...
...
@@ -737,6 +737,9 @@ export default class MainMenuBase extends Vue implements ControlInterface {
case
'Auto129'
:
this
.
clickAuto129
(
item
);
return
;
case
'AppFunc49'
:
this
.
clickAppFunc49
(
item
);
return
;
case
'AppFunc23'
:
this
.
clickAppFunc23
(
item
);
return
;
...
...
@@ -2511,6 +2514,29 @@ export default class MainMenuBase extends Vue implements ControlInterface {
})
}
/**
* 图书实体向导视图
*
* @param {*} [item={}]
* @memberof MainMenu
*/
public
clickAppFunc49
(
item
:
any
=
{})
{
const
viewparam
:
any
=
{};
Object
.
assign
(
viewparam
,
{});
const
deResParameters
:
any
[]
=
[];
const
parameters
:
any
[]
=
[
{
pathName
:
'ibizbooks'
,
parameterName
:
'ibizbook'
},
{
pathName
:
'wizardview'
,
parameterName
:
'wizardview'
},
];
const
path
:
string
=
this
.
$viewTool
.
buildUpRoutePath
(
this
.
$route
,
{},
deResParameters
,
parameters
,
[],
viewparam
);
if
(
Object
.
is
(
this
.
$route
.
fullPath
,
path
)){
return
;
}
this
.
$nextTick
(
function
(){
this
.
$router
.
push
(
path
);
})
}
/**
* 更新默认值
*
...
...
app_Web/src/widgets/app/main-menu-appmenu/main-menu-appmenu-model.ts
浏览文件 @
e157ddcb
...
...
@@ -1108,6 +1108,27 @@ export default class MainMenuModel {
appfunctag
:
''
,
resourcetag
:
''
,
authtag
:
'Web-MainMenu-menuitem17'
,
items
:
[
{
id
:
'B32F8304-CD3D-4C70-A5D7-C879C00BE231'
,
name
:
'menuitem134'
,
text
:
'向导视图'
,
type
:
'MENUITEM'
,
counterid
:
''
,
tooltip
:
'向导视图'
,
expanded
:
false
,
separator
:
false
,
hidden
:
false
,
hidesidebar
:
false
,
opendefault
:
false
,
iconcls
:
''
,
icon
:
''
,
textcls
:
''
,
appfunctag
:
'AppFunc49'
,
resourcetag
:
''
,
authtag
:
'Web-MainMenu-menuitem134'
,
},
],
},
{
id
:
'dfbbee9261314cb01cd8fe5c49da37e7'
,
...
...
app_Web/src/widgets/ibizbook/guide-wizardpanel/guide-wizardpanel-base.vue
0 → 100644
浏览文件 @
e157ddcb
此差异已折叠。
点击以展开。
app_Web/src/widgets/ibizbook/guide-wizardpanel/guide-wizardpanel-model.ts
0 → 100644
浏览文件 @
e157ddcb
/**
* Guide 部件模型
*
* @export
* @class GuideModel
*/
export
default
class
GuideModel
{
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof GuideModel
*/
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'
,
},
]
}
}
\ No newline at end of file
app_Web/src/widgets/ibizbook/guide-wizardpanel/guide-wizardpanel-service.ts
0 → 100644
浏览文件 @
e157ddcb
import
{
Http
,
Util
,
Errorlog
}
from
'@/utils'
;
import
ControlService
from
'@/widgets/control-service'
;
import
IBIZBOOKService
from
'@/service/ibizbook/ibizbook-service'
;
import
GuideModel
from
'./guide-wizardpanel-model'
;
/**
* Guide 部件服务对象
*
* @export
* @class GuideService
*/
export
default
class
GuideService
extends
ControlService
{
/**
* 图书服务对象
*
* @type {IBIZBOOKService}
* @memberof GuideService
*/
public
appEntityService
:
IBIZBOOKService
=
new
IBIZBOOKService
({
$store
:
this
.
getStore
()
});
/**
* 设置从数据模式
*
* @type {boolean}
* @memberof GuideService
*/
public
setTempMode
(){
this
.
isTempMode
=
false
;
}
/**
* Creates an instance of GuideService.
*
* @param {*} [opts={}]
* @memberof GuideService
*/
constructor
(
opts
:
any
=
{})
{
super
(
opts
);
this
.
model
=
new
GuideModel
();
}
/**
* 初始化向导
*
* @param {string} action
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof GuideService
*/
@
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 GuideService
*/
@
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/guide-wizardpanel/guide-wizardpanel.less
0 → 100644
浏览文件 @
e157ddcb
.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/guide-wizardpanel/guide-wizardpanel.vue
0 → 100644
浏览文件 @
e157ddcb
<
script
lang=
'tsx'
>
import
{
Component
}
from
'vue-property-decorator'
;
import
GuideBase
from
'./guide-wizardpanel-base.vue'
;
@
Component
({
components
:
{
}
})
export
default
class
Guide
extends
GuideBase
{
}
</
script
>
\ No newline at end of file
demo-core/src/main/resources/permission/systemResource.json
浏览文件 @
e157ddcb
此差异已折叠。
点击以展开。
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录