Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
功
功能演示系统
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
示例
功能演示系统
提交
ccdaf40f
提交
ccdaf40f
编写于
11月 24, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
ShineKOT 发布系统代码 [后台服务,演示应用]
上级
509a2017
变更
30
展开全部
隐藏空白字符变更
内嵌
并排
正在显示
30 个修改的文件
包含
4185 行增加
和
19 行删除
+4185
-19
view-config.json
app_Web/public/assets/json/view-config.json
+8
-0
en-US.ts
app_Web/src/locale/lang/en-US.ts
+2
-0
zh-CN.ts
app_Web/src/locale/lang/zh-CN.ts
+2
-0
ibizbook_en_US.ts
...Web/src/locale/lanres/entities/ibizbook/ibizbook_en_US.ts
+10
-1
ibizbook_zh_CN.ts
...Web/src/locale/lanres/entities/ibizbook/ibizbook_zh_CN.ts
+10
-1
main-menu-appmenu.ts
app_Web/src/mock/app/main-menu-appmenu/main-menu-appmenu.ts
+38
-0
viewconfig.ts
app_Web/src/mock/viewconfig/viewconfig.ts
+8
-0
ibizbookcalendar-view-base.vue
...mple/ibizbookcalendar-view/ibizbookcalendar-view-base.vue
+738
-0
ibizbookcalendar-view.less
...s/sample/ibizbookcalendar-view/ibizbookcalendar-view.less
+5
-0
ibizbookcalendar-view.vue
...es/sample/ibizbookcalendar-view/ibizbookcalendar-view.vue
+22
-0
ibizbookusr2-calendar-view-base.vue
...ookusr2-calendar-view/ibizbookusr2-calendar-view-base.vue
+738
-0
ibizbookusr2-calendar-view.less
...bizbookusr2-calendar-view/ibizbookusr2-calendar-view.less
+5
-0
ibizbookusr2-calendar-view.vue
...ibizbookusr2-calendar-view/ibizbookusr2-calendar-view.vue
+22
-0
page-register.ts
app_Web/src/pages/sample/index/page-register.ts
+3
-1
router.ts
app_Web/src/pages/sample/index/router.ts
+68
-14
state.ts
app_Web/src/store/modules/view-action/state.ts
+21
-1
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
+52
-0
main-menu-appmenu-model.ts
.../widgets/app/main-menu-appmenu/main-menu-appmenu-model.ts
+40
-0
ibizbookmonth-calendar-base.vue
...ok/ibizbookmonth-calendar/ibizbookmonth-calendar-base.vue
+881
-0
ibizbookmonth-calendar-model.ts
...ok/ibizbookmonth-calendar/ibizbookmonth-calendar-model.ts
+50
-0
ibizbookmonth-calendar-service.ts
.../ibizbookmonth-calendar/ibizbookmonth-calendar-service.ts
+157
-0
ibizbookmonth-calendar.less
...izbook/ibizbookmonth-calendar/ibizbookmonth-calendar.less
+97
-0
ibizbookmonth-calendar.vue
...bizbook/ibizbookmonth-calendar/ibizbookmonth-calendar.vue
+14
-0
ibizbooktimeline-calendar-base.vue
...zbooktimeline-calendar/ibizbooktimeline-calendar-base.vue
+874
-0
ibizbooktimeline-calendar-model.ts
...zbooktimeline-calendar/ibizbooktimeline-calendar-model.ts
+50
-0
ibizbooktimeline-calendar-service.ts
...ooktimeline-calendar/ibizbooktimeline-calendar-service.ts
+157
-0
ibizbooktimeline-calendar.less
.../ibizbooktimeline-calendar/ibizbooktimeline-calendar.less
+97
-0
ibizbooktimeline-calendar.vue
...k/ibizbooktimeline-calendar/ibizbooktimeline-calendar.vue
+14
-0
systemResource.json
demo-core/src/main/resources/permission/systemResource.json
+1
-1
未找到文件。
app_Web/public/assets/json/view-config.json
浏览文件 @
ccdaf40f
...
...
@@ -311,6 +311,14 @@
"viewname"
:
"IBIZOrderRadarChartView"
,
"viewtag"
:
"491c2bc6eab0ad313d4b6f06f6a396f5"
},
"ibizbookusr2calendarview"
:
{
"title"
:
"图书日历视图(时间轴)"
,
"caption"
:
"图书"
,
"viewtype"
:
"DECALENDARVIEW"
,
"viewmodule"
:
"Sample"
,
"viewname"
:
"IBIZBOOKUsr2CalendarView"
,
"viewtag"
:
"4981c4ae8facb75582f8dcbc51850318"
},
"ibizorderdetailgridview"
:
{
"title"
:
"订单明细表格视图"
,
"caption"
:
"订单明细"
,
...
...
app_Web/src/locale/lang/en-US.ts
浏览文件 @
ccdaf40f
...
...
@@ -224,6 +224,8 @@ export default {
menuitem90
:
"代码表分组"
,
menuitem94
:
"项布局面板"
,
menuitem95
:
"日历"
,
menuitem96
:
"内置功能"
,
menuitem97
:
"时间轴样式"
,
menuitem5
:
"视图"
,
menuitem9
:
"列表视图"
,
menuitem19
:
"常规表格视图"
,
...
...
app_Web/src/locale/lang/zh-CN.ts
浏览文件 @
ccdaf40f
...
...
@@ -224,6 +224,8 @@ export default {
menuitem90
:
"代码表分组"
,
menuitem94
:
"项布局面板"
,
menuitem95
:
"日历"
,
menuitem96
:
"内置功能"
,
menuitem97
:
"时间轴样式"
,
menuitem5
:
"视图"
,
menuitem9
:
"列表视图"
,
menuitem19
:
"常规表格视图"
,
...
...
app_Web/src/locale/lanres/entities/ibizbook/ibizbook_en_US.ts
浏览文件 @
ccdaf40f
...
...
@@ -27,6 +27,10 @@ export default {
caption
:
"图书"
,
title
:
"图书列表视图(嵌入面板)"
,
},
usr2calendarview
:
{
caption
:
"图书"
,
title
:
"图书日历视图(时间轴)"
,
},
valuerulesgridview
:
{
caption
:
"图书"
,
title
:
"图书表格视图(表格值规则)"
,
...
...
@@ -731,7 +735,12 @@ export default {
},
haspanellistviewtoolbar_toolbar
:
{
},
calendar_calendar
:
{
ibizbooktimeline_calendar
:
{
nodata
:
""
,
uiactions
:
{
},
},
ibizbookmonth_calendar
:
{
nodata
:
""
,
uiactions
:
{
},
...
...
app_Web/src/locale/lanres/entities/ibizbook/ibizbook_zh_CN.ts
浏览文件 @
ccdaf40f
...
...
@@ -26,6 +26,10 @@ export default {
caption
:
"图书"
,
title
:
"图书列表视图(嵌入面板)"
,
},
usr2calendarview
:
{
caption
:
"图书"
,
title
:
"图书日历视图(时间轴)"
,
},
valuerulesgridview
:
{
caption
:
"图书"
,
title
:
"图书表格视图(表格值规则)"
,
...
...
@@ -730,7 +734,12 @@ export default {
},
haspanellistviewtoolbar_toolbar
:
{
},
calendar_calendar
:
{
ibizbooktimeline_calendar
:
{
nodata
:
""
,
uiactions
:
{
},
},
ibizbookmonth_calendar
:
{
nodata
:
""
,
uiactions
:
{
},
...
...
app_Web/src/mock/app/main-menu-appmenu/main-menu-appmenu.ts
浏览文件 @
ccdaf40f
...
...
@@ -1123,6 +1123,44 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
textcls
:
''
,
appfunctag
:
''
,
resourcetag
:
''
,
items
:
[
{
id
:
'F9186FC9-E545-448D-8DDF-99F3BC535016'
,
name
:
'menuitem96'
,
text
:
'内置功能'
,
type
:
'MENUITEM'
,
counterid
:
''
,
tooltip
:
'内置功能'
,
expanded
:
false
,
separator
:
false
,
hidden
:
false
,
hidesidebar
:
false
,
opendefault
:
false
,
iconcls
:
''
,
icon
:
''
,
textcls
:
''
,
appfunctag
:
'AppFunc20'
,
resourcetag
:
''
,
},
{
id
:
'F4D7F69E-C2E7-46A4-9201-1F2CD9C1851D'
,
name
:
'menuitem97'
,
text
:
'时间轴样式'
,
type
:
'MENUITEM'
,
counterid
:
''
,
tooltip
:
'时间轴样式'
,
expanded
:
false
,
separator
:
false
,
hidden
:
false
,
hidesidebar
:
false
,
opendefault
:
false
,
iconcls
:
''
,
icon
:
''
,
textcls
:
''
,
appfunctag
:
'AppFunc21'
,
resourcetag
:
''
,
},
],
},
],
},
...
...
app_Web/src/mock/viewconfig/viewconfig.ts
浏览文件 @
ccdaf40f
...
...
@@ -319,6 +319,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname"
:
"IBIZOrderRadarChartView"
,
"viewtag"
:
"491c2bc6eab0ad313d4b6f06f6a396f5"
},
"ibizbookusr2calendarview"
:
{
"title"
:
"图书日历视图(时间轴)"
,
"caption"
:
"图书"
,
"viewtype"
:
"DECALENDARVIEW"
,
"viewmodule"
:
"Sample"
,
"viewname"
:
"IBIZBOOKUsr2CalendarView"
,
"viewtag"
:
"4981c4ae8facb75582f8dcbc51850318"
},
"ibizorderdetailgridview"
:
{
"title"
:
"订单明细表格视图"
,
"caption"
:
"订单明细"
,
...
...
app_Web/src/pages/sample/ibizbookcalendar-view/ibizbookcalendar-view-base.vue
0 → 100644
浏览文件 @
ccdaf40f
此差异已折叠。
点击以展开。
app_Web/src/pages/sample/ibizbookcalendar-view/ibizbookcalendar-view.less
0 → 100644
浏览文件 @
ccdaf40f
.ibizbookcalendar-view{
position: relative;
}
app_Web/src/pages/sample/ibizbookcalendar-view/ibizbookcalendar-view.vue
0 → 100644
浏览文件 @
ccdaf40f
<
script
lang=
'tsx'
>
import
{
Component
}
from
'vue-property-decorator'
;
import
IBIZBOOKCalendarViewBase
from
'./ibizbookcalendar-view-base.vue'
;
import
view_calendar
from
'@widgets/ibizbook/ibizbookmonth-calendar/ibizbookmonth-calendar.vue'
;
@
Component
({
components
:
{
view_calendar
,
},
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
IBIZBOOKCalendarView
extends
IBIZBOOKCalendarViewBase
{
}
</
script
>
\ No newline at end of file
app_Web/src/pages/sample/ibizbookusr2-calendar-view/ibizbookusr2-calendar-view-base.vue
0 → 100644
浏览文件 @
ccdaf40f
此差异已折叠。
点击以展开。
app_Web/src/pages/sample/ibizbookusr2-calendar-view/ibizbookusr2-calendar-view.less
0 → 100644
浏览文件 @
ccdaf40f
.ibizbookusr2-calendar-view{
position: relative;
}
app_Web/src/pages/sample/ibizbookusr2-calendar-view/ibizbookusr2-calendar-view.vue
0 → 100644
浏览文件 @
ccdaf40f
<
script
lang=
'tsx'
>
import
{
Component
}
from
'vue-property-decorator'
;
import
IBIZBOOKUsr2CalendarViewBase
from
'./ibizbookusr2-calendar-view-base.vue'
;
import
view_calendar
from
'@widgets/ibizbook/ibizbooktimeline-calendar/ibizbooktimeline-calendar.vue'
;
@
Component
({
components
:
{
view_calendar
,
},
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
IBIZBOOKUsr2CalendarView
extends
IBIZBOOKUsr2CalendarViewBase
{
}
</
script
>
\ No newline at end of file
app_Web/src/pages/sample/index/page-register.ts
浏览文件 @
ccdaf40f
...
...
@@ -17,6 +17,7 @@ export const PageComponents = {
Vue
.
component
(
'ibizsample0001-sf2-edit-view'
,
()
=>
import
(
'@pages/sample/ibizsample0001-sf2-edit-view/ibizsample0001-sf2-edit-view.vue'
));
Vue
.
component
(
'ibizorder-detail-sf2-edit-view'
,
()
=>
import
(
'@pages/sample/ibizorder-detail-sf2-edit-view/ibizorder-detail-sf2-edit-view.vue'
));
Vue
.
component
(
'ibizbooknew-default-value-grid-view'
,
()
=>
import
(
'@pages/sample/ibizbooknew-default-value-grid-view/ibizbooknew-default-value-grid-view.vue'
));
Vue
.
component
(
'ibizbookcalendar-view'
,
()
=>
import
(
'@pages/sample/ibizbookcalendar-view/ibizbookcalendar-view.vue'
));
Vue
.
component
(
'ibizhardware-index-pickup-data-view'
,
()
=>
import
(
'@pages/sample/ibizhardware-index-pickup-data-view/ibizhardware-index-pickup-data-view.vue'
));
Vue
.
component
(
'ibizorder-sgrid-view2'
,
()
=>
import
(
'@pages/sample/ibizorder-sgrid-view2/ibizorder-sgrid-view2.vue'
));
Vue
.
component
(
'ibizuniproduct-pickup-grid-view'
,
()
=>
import
(
'@pages/sample/ibizuniproduct-pickup-grid-view/ibizuniproduct-pickup-grid-view.vue'
));
...
...
@@ -62,6 +63,7 @@ export const PageComponents = {
Vue
.
component
(
'ibizsample0017-f10-edit-view'
,
()
=>
import
(
'@pages/sample/ibizsample0017-f10-edit-view/ibizsample0017-f10-edit-view.vue'
));
Vue
.
component
(
'ibizsample0002-pickup-view'
,
()
=>
import
(
'@pages/sample/ibizsample0002-pickup-view/ibizsample0002-pickup-view.vue'
));
Vue
.
component
(
'ibizuniproduct-edit-view'
,
()
=>
import
(
'@pages/sample/ibizuniproduct-edit-view/ibizuniproduct-edit-view.vue'
));
Vue
.
component
(
'ibizbookusr2-calendar-view'
,
()
=>
import
(
'@pages/sample/ibizbookusr2-calendar-view/ibizbookusr2-calendar-view.vue'
));
Vue
.
component
(
'ibizbookdata-view'
,
()
=>
import
(
'@pages/sample/ibizbookdata-view/ibizbookdata-view.vue'
));
Vue
.
component
(
'ibizcustomer-pickup-view'
,
()
=>
import
(
'@pages/sample/ibizcustomer-pickup-view/ibizcustomer-pickup-view.vue'
));
Vue
.
component
(
'ibizuniproduct-index-pickup-view'
,
()
=>
import
(
'@pages/sample/ibizuniproduct-index-pickup-view/ibizuniproduct-index-pickup-view.vue'
));
...
...
@@ -77,9 +79,9 @@ export const PageComponents = {
Vue
.
component
(
'ibizorder-sf20-grid-view'
,
()
=>
import
(
'@pages/sample/ibizorder-sf20-grid-view/ibizorder-sf20-grid-view.vue'
));
Vue
.
component
(
'ibizorder-grid-view9'
,
()
=>
import
(
'@pages/sample/ibizorder-grid-view9/ibizorder-grid-view9.vue'
));
Vue
.
component
(
'ibizsample0003-spickup-view2'
,
()
=>
import
(
'@pages/sample/ibizsample0003-spickup-view2/ibizsample0003-spickup-view2.vue'
));
Vue
.
component
(
'ibizorder-odsp-w10-wfgrid-view'
,
()
=>
import
(
'@pages/sample/ibizorder-odsp-w10-wfgrid-view/ibizorder-odsp-w10-wfgrid-view.vue'
));
Vue
.
component
(
'ibizorder-f9-edit-view'
,
()
=>
import
(
'@pages/sample/ibizorder-f9-edit-view/ibizorder-f9-edit-view.vue'
));
Vue
.
component
(
'ibizsample0003-spickup-tree-view'
,
()
=>
import
(
'@pages/sample/ibizsample0003-spickup-tree-view/ibizsample0003-spickup-tree-view.vue'
));
Vue
.
component
(
'ibizorder-odsp-w10-wfgrid-view'
,
()
=>
import
(
'@pages/sample/ibizorder-odsp-w10-wfgrid-view/ibizorder-odsp-w10-wfgrid-view.vue'
));
Vue
.
component
(
'ibizorder-detail-f6-grid-view'
,
()
=>
import
(
'@pages/sample/ibizorder-detail-f6-grid-view/ibizorder-detail-f6-grid-view.vue'
));
Vue
.
component
(
'ibizorder-wfstart-view'
,
()
=>
import
(
'@pages/sample/ibizorder-wfstart-view/ibizorder-wfstart-view.vue'
));
Vue
.
component
(
'ibizsample0003-f4-tree-exp-view'
,
()
=>
import
(
'@pages/sample/ibizsample0003-f4-tree-exp-view/ibizsample0003-f4-tree-exp-view.vue'
));
...
...
app_Web/src/pages/sample/index/router.ts
浏览文件 @
ccdaf40f
...
...
@@ -318,6 +318,20 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/sample/ibizbooknew-default-value-grid-view/ibizbooknew-default-value-grid-view.vue'
),
},
{
path
:
'ibizbooks/:ibizbook?/calendarview/:calendarview?'
,
meta
:
{
caption
:
'entities.ibizbook.views.calendarview.caption'
,
info
:
''
,
parameters
:
[
{
pathName
:
'index'
,
parameterName
:
'index'
},
{
pathName
:
'ibizbooks'
,
parameterName
:
'ibizbook'
},
{
pathName
:
'calendarview'
,
parameterName
:
'calendarview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sample/ibizbookcalendar-view/ibizbookcalendar-view.vue'
),
},
{
path
:
'ibizhardwares/:ibizhardware?/indexpickupdataview/:indexpickupdataview?'
,
meta
:
{
...
...
@@ -948,6 +962,20 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/sample/ibizuniproduct-edit-view/ibizuniproduct-edit-view.vue'
),
},
{
path
:
'ibizbooks/:ibizbook?/usr2calendarview/:usr2calendarview?'
,
meta
:
{
caption
:
'entities.ibizbook.views.usr2calendarview.caption'
,
info
:
''
,
parameters
:
[
{
pathName
:
'index'
,
parameterName
:
'index'
},
{
pathName
:
'ibizbooks'
,
parameterName
:
'ibizbook'
},
{
pathName
:
'usr2calendarview'
,
parameterName
:
'usr2calendarview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sample/ibizbookusr2-calendar-view/ibizbookusr2-calendar-view.vue'
),
},
{
path
:
'ibizbooks/:ibizbook?/dataview/:dataview?'
,
meta
:
{
...
...
@@ -1159,46 +1187,46 @@ const router = new Router({
component
:
()
=>
import
(
'@pages/sample/ibizsample0003-spickup-view2/ibizsample0003-spickup-view2.vue'
),
},
{
path
:
'ibizorders/:ibizorder?/
f9editview/:f9edit
view?'
,
path
:
'ibizorders/:ibizorder?/
odsp_w10_wfgridview/:odsp_w10_wfgrid
view?'
,
meta
:
{
caption
:
'entities.ibizorder.views.
f9edit
view.caption'
,
caption
:
'entities.ibizorder.views.
odsp_w10_wfgrid
view.caption'
,
info
:
''
,
parameters
:
[
{
pathName
:
'index'
,
parameterName
:
'index'
},
{
pathName
:
'ibizorders'
,
parameterName
:
'ibizorder'
},
{
pathName
:
'
f9editview'
,
parameterName
:
'f9edit
view'
},
{
pathName
:
'
odsp_w10_wfgridview'
,
parameterName
:
'odsp_w10_wfgrid
view'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sample/ibizorder-
f9-edit-view/ibizorder-f9-edit
-view.vue'
),
component
:
()
=>
import
(
'@pages/sample/ibizorder-
odsp-w10-wfgrid-view/ibizorder-odsp-w10-wfgrid
-view.vue'
),
},
{
path
:
'ibiz
sample0003s/:ibizsample0003?/spickuptreeview/:spickuptree
view?'
,
path
:
'ibiz
orders/:ibizorder?/f9editview/:f9edit
view?'
,
meta
:
{
caption
:
'entities.ibiz
sample0003.views.spickuptree
view.caption'
,
caption
:
'entities.ibiz
order.views.f9edit
view.caption'
,
info
:
''
,
parameters
:
[
{
pathName
:
'index'
,
parameterName
:
'index'
},
{
pathName
:
'ibiz
sample0003s'
,
parameterName
:
'ibizsample0003
'
},
{
pathName
:
'
spickuptreeview'
,
parameterName
:
'spickuptree
view'
},
{
pathName
:
'ibiz
orders'
,
parameterName
:
'ibizorder
'
},
{
pathName
:
'
f9editview'
,
parameterName
:
'f9edit
view'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sample/ibiz
sample0003-spickup-tree-view/ibizsample0003-spickup-tree
-view.vue'
),
component
:
()
=>
import
(
'@pages/sample/ibiz
order-f9-edit-view/ibizorder-f9-edit
-view.vue'
),
},
{
path
:
'ibiz
orders/:ibizorder?/odsp_w10_wfgridview/:odsp_w10_wfgrid
view?'
,
path
:
'ibiz
sample0003s/:ibizsample0003?/spickuptreeview/:spickuptree
view?'
,
meta
:
{
caption
:
'entities.ibiz
order.views.odsp_w10_wfgrid
view.caption'
,
caption
:
'entities.ibiz
sample0003.views.spickuptree
view.caption'
,
info
:
''
,
parameters
:
[
{
pathName
:
'index'
,
parameterName
:
'index'
},
{
pathName
:
'ibiz
orders'
,
parameterName
:
'ibizorder
'
},
{
pathName
:
'
odsp_w10_wfgridview'
,
parameterName
:
'odsp_w10_wfgrid
view'
},
{
pathName
:
'ibiz
sample0003s'
,
parameterName
:
'ibizsample0003
'
},
{
pathName
:
'
spickuptreeview'
,
parameterName
:
'spickuptree
view'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sample/ibiz
order-odsp-w10-wfgrid-view/ibizorder-odsp-w10-wfgrid
-view.vue'
),
component
:
()
=>
import
(
'@pages/sample/ibiz
sample0003-spickup-tree-view/ibizsample0003-spickup-tree
-view.vue'
),
},
{
path
:
'ibizorderdetails/:ibizorderdetail?/f6gridview/:f6gridview?'
,
...
...
@@ -2359,6 +2387,19 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/sample/ibizorder-radar-chart-view/ibizorder-radar-chart-view.vue'
),
},
{
path
:
'/ibizbooks/:ibizbook?/usr2calendarview/:usr2calendarview?'
,
meta
:
{
caption
:
'entities.ibizbook.views.usr2calendarview.caption'
,
info
:
''
,
parameters
:
[
{
pathName
:
'ibizbooks'
,
parameterName
:
'ibizbook'
},
{
pathName
:
'usr2calendarview'
,
parameterName
:
'usr2calendarview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sample/ibizbookusr2-calendar-view/ibizbookusr2-calendar-view.vue'
),
},
{
path
:
'/ibizorderdetails/:ibizorderdetail?/gridview/:gridview?'
,
meta
:
{
...
...
@@ -3518,6 +3559,19 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/sample/ibizhardware-index-pickup-data-view/ibizhardware-index-pickup-data-view.vue'
),
},
{
path
:
'/ibizbooks/:ibizbook?/calendarview/:calendarview?'
,
meta
:
{
caption
:
'entities.ibizbook.views.calendarview.caption'
,
info
:
''
,
parameters
:
[
{
pathName
:
'ibizbooks'
,
parameterName
:
'ibizbook'
},
{
pathName
:
'calendarview'
,
parameterName
:
'calendarview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sample/ibizbookcalendar-view/ibizbookcalendar-view.vue'
),
},
{
path
:
'/ibizorders/:ibizorder?/editview/:editview?'
,
meta
:
{
...
...
app_Web/src/store/modules/view-action/state.ts
浏览文件 @
ccdaf40f
...
...
@@ -158,8 +158,8 @@ export const viewstate: any = {
'9db924c804154be5b442a9737514a6f9'
,
'b29d930f430c127162f83753d85dd40c'
,
'36763886cbec62729dca4d4b8dad8161'
,
'10e721a882036c8c012f35d2a6b00237'
,
'7a8b6138e5893e7aba3b1a5deb3b3036'
,
'10e721a882036c8c012f35d2a6b00237'
,
'0c1093afa96df2832f707495afec541e'
,
'd8a6379b9ddbd161045a288aba0890b6'
,
'd1f311d51e800e95e9b10c49a8b49b5a'
,
...
...
@@ -176,6 +176,7 @@ export const viewstate: any = {
'464b1dbf722c8dcaaa7f2cc90b8d0d8d'
,
'ad37d44e57c18e4431a609968203c646'
,
'fdb297cd4b12374534413c3053aec1b8'
,
'f4c5c766fd5755b694e0401dddc4d1ad'
,
'e7441fa67d425df343d996c745fb5d6b'
,
'490f607f17e7cc8ceccc77f2d0b9a70d'
,
'13ed6c02918e612bac45715a6f300f2f'
,
...
...
@@ -219,6 +220,7 @@ export const viewstate: any = {
'a894de140705ecab2f39797d2922a3ce'
,
'e57dd501c75c6933363fa245edcadbbd'
,
'ea604a66caf499c70c9002a917dd1694'
,
'4981c4ae8facb75582f8dcbc51850318'
,
],
},
{
...
...
@@ -433,6 +435,15 @@ export const viewstate: any = {
refviews
:
[
],
},
{
viewtag
:
'4981c4ae8facb75582f8dcbc51850318'
,
viewmodule
:
'Sample'
,
viewname
:
'IBIZBOOKUsr2CalendarView'
,
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
],
},
{
viewtag
:
'4a2a1fa66c88ef36eadc4c37c6260641'
,
viewmodule
:
'Sample'
,
...
...
@@ -1306,6 +1317,15 @@ export const viewstate: any = {
refviews
:
[
],
},
{
viewtag
:
'f4c5c766fd5755b694e0401dddc4d1ad'
,
viewmodule
:
'Sample'
,
viewname
:
'IBIZBOOKCalendarView'
,
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
],
},
{
viewtag
:
'f4cda6703c800c075704c5af5e58f2fc'
,
viewmodule
:
'Sample'
,
...
...
app_Web/src/uiservice/ibizbook/ibizbook-ui-service-base.ts
浏览文件 @
ccdaf40f
...
...
@@ -99,6 +99,7 @@ export default class IBIZBOOKUIServiceBase extends UIService {
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'autogrouplistview'
,
srfappde
:
'ibizbooks'
,
component
:
'ibizbookauto-group-list-view'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'usr2gridview'
,
srfappde
:
'ibizbooks'
,
component
:
'ibizbookusr2-grid-view'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'haspanellistview'
,
srfappde
:
'ibizbooks'
,
component
:
'ibizbookhas-panel-list-view'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'usr2calendarview'
,
srfappde
:
'ibizbooks'
,
component
:
'ibizbookusr2-calendar-view'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'valuerulesgridview'
,
srfappde
:
'ibizbooks'
,
component
:
'ibizbookvalue-rules-grid-view'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'usr5gridview'
,
srfappde
:
'ibizbooks'
,
component
:
'ibizbookusr5-grid-view'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'usr4gridview'
,
srfappde
:
'ibizbooks'
,
component
:
'ibizbookusr4-grid-view'
});
...
...
app_Web/src/widgets/app/main-menu-appmenu/main-menu-appmenu-base.vue
浏览文件 @
ccdaf40f
...
...
@@ -587,6 +587,9 @@ export default class MainMenuBase extends Vue implements ControlInterface {
case
'Auto387'
:
this
.
clickAuto387
(
item
);
return
;
case
'AppFunc20'
:
this
.
clickAppFunc20
(
item
);
return
;
case
'Auto296'
:
this
.
clickAuto296
(
item
);
return
;
...
...
@@ -650,6 +653,9 @@ export default class MainMenuBase extends Vue implements ControlInterface {
case
'Auto146'
:
this
.
clickAuto146
(
item
);
return
;
case
'AppFunc21'
:
this
.
clickAppFunc21
(
item
);
return
;
case
'AppFunc'
:
this
.
clickAppFunc
(
item
);
return
;
...
...
@@ -1278,6 +1284,29 @@ export default class MainMenuBase extends Vue implements ControlInterface {
})
}
/**
* 功能名称
*
* @param {*} [item={}]
* @memberof MainMenu
*/
public
clickAppFunc20
(
item
:
any
=
{})
{
const
viewparam
:
any
=
{};
Object
.
assign
(
viewparam
,
{});
const
deResParameters
:
any
[]
=
[];
const
parameters
:
any
[]
=
[
{
pathName
:
'ibizbooks'
,
parameterName
:
'ibizbook'
},
{
pathName
:
'calendarview'
,
parameterName
:
'calendarview'
},
];
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
);
})
}
/**
* 索引实体
*
...
...
@@ -1761,6 +1790,29 @@ export default class MainMenuBase extends Vue implements ControlInterface {
})
}
/**
* 功能名称
*
* @param {*} [item={}]
* @memberof MainMenu
*/
public
clickAppFunc21
(
item
:
any
=
{})
{
const
viewparam
:
any
=
{};
Object
.
assign
(
viewparam
,
{});
const
deResParameters
:
any
[]
=
[];
const
parameters
:
any
[]
=
[
{
pathName
:
'ibizbooks'
,
parameterName
:
'ibizbook'
},
{
pathName
:
'usr2calendarview'
,
parameterName
:
'usr2calendarview'
},
];
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
浏览文件 @
ccdaf40f
...
...
@@ -1188,6 +1188,46 @@ export default class MainMenuModel {
appfunctag
:
''
,
resourcetag
:
''
,
authtag
:
'Web-MainMenu-menuitem95'
,
items
:
[
{
id
:
'F9186FC9-E545-448D-8DDF-99F3BC535016'
,
name
:
'menuitem96'
,
text
:
'内置功能'
,
type
:
'MENUITEM'
,
counterid
:
''
,
tooltip
:
'内置功能'
,
expanded
:
false
,
separator
:
false
,
hidden
:
false
,
hidesidebar
:
false
,
opendefault
:
false
,
iconcls
:
''
,
icon
:
''
,
textcls
:
''
,
appfunctag
:
'AppFunc20'
,
resourcetag
:
''
,
authtag
:
'Web-MainMenu-menuitem96'
,
},
{
id
:
'F4D7F69E-C2E7-46A4-9201-1F2CD9C1851D'
,
name
:
'menuitem97'
,
text
:
'时间轴样式'
,
type
:
'MENUITEM'
,
counterid
:
''
,
tooltip
:
'时间轴样式'
,
expanded
:
false
,
separator
:
false
,
hidden
:
false
,
hidesidebar
:
false
,
opendefault
:
false
,
iconcls
:
''
,
icon
:
''
,
textcls
:
''
,
appfunctag
:
'AppFunc21'
,
resourcetag
:
''
,
authtag
:
'Web-MainMenu-menuitem97'
,
},
],
},
],
},
...
...
app_Web/src/widgets/ibizbook/ibizbookmonth-calendar/ibizbookmonth-calendar-base.vue
0 → 100644
浏览文件 @
ccdaf40f
此差异已折叠。
点击以展开。
app_Web/src/widgets/ibizbook/ibizbookmonth-calendar/ibizbookmonth-calendar-model.ts
0 → 100644
浏览文件 @
ccdaf40f
/**
* IBIZBOOKMONTH 部件模型
*
* @export
* @class IBIZBOOKMONTHModel
*/
export
default
class
IBIZBOOKMONTHModel
{
/**
* 日历项类型
*
* @returns {any[]}
* @memberof IBIZBOOKMONTHCalendarMode
*/
public
itemType
:
string
=
""
;
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof IBIZBOOKMONTHCalendarMode
*/
public
getDataItems
():
any
[]
{
let
dataItems
:
any
=
[
// 前端新增修改标识,新增为"0",修改为"1"或未设值
{
name
:
'srffrontuf'
,
prop
:
'srffrontuf'
,
dataType
:
'TEXT'
,
},
{
name
:
'color'
,
},
{
name
:
'textColor'
,
},
{
name
:
'itemType'
,
},
{
name
:
'query'
,
prop
:
'query'
,
},
];
switch
(
this
.
itemType
){
}
return
dataItems
;
}
}
\ No newline at end of file
app_Web/src/widgets/ibizbook/ibizbookmonth-calendar/ibizbookmonth-calendar-service.ts
0 → 100644
浏览文件 @
ccdaf40f
import
{
Http
,
Util
,
Errorlog
}
from
'@/utils'
;
import
ControlService
from
'@/widgets/control-service'
;
import
IBIZBOOKService
from
'@/service/ibizbook/ibizbook-service'
;
import
IBIZBOOKMONTHModel
from
'./ibizbookmonth-calendar-model'
;
/**
* IBIZBOOKMONTH 部件服务对象
*
* @export
* @class IBIZBOOKMONTHService
*/
export
default
class
IBIZBOOKMONTHService
extends
ControlService
{
/**
* 图书服务对象
*
* @type {IBIZBOOKService}
* @memberof IBIZBOOKMONTHService
*/
public
appEntityService
:
IBIZBOOKService
=
new
IBIZBOOKService
({
$store
:
this
.
getStore
()
});
/**
* 设置从数据模式
*
* @type {boolean}
* @memberof IBIZBOOKMONTHService
*/
public
setTempMode
(){
this
.
isTempMode
=
false
;
}
/**
* Creates an instance of IBIZBOOKMONTHService.
*
* @param {*} [opts={}]
* @memberof IBIZBOOKMONTHService
*/
constructor
(
opts
:
any
=
{})
{
super
(
opts
);
this
.
model
=
new
IBIZBOOKMONTHModel
();
}
/**
* 事件配置集合
*
* @public
* @type {any[]}
* @memberof IBIZBOOKMONTH
*/
public
eventsConfig
:
any
[]
=
[
];
/**
* 查询数据
*
* @param {string} action
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof IBIZBOOKMONTHService
*/
@
Errorlog
public
search
(
action
:
string
,
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
_this
=
this
;
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
let
promises
:
any
=
[];
let
tempRequest
:
any
;
Promise
.
all
(
promises
).
then
((
resArray
:
any
)
=>
{
let
_data
:
any
=
[];
resArray
.
forEach
((
response
:
any
,
resIndex
:
number
)
=>
{
if
(
!
response
||
response
.
status
!==
200
)
{
return
;
}
let
_response
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
response
));
_response
.
data
.
forEach
((
item
:
any
,
index
:
number
)
=>
{
_response
.
data
[
index
].
color
=
_this
.
eventsConfig
[
resIndex
].
color
;
_response
.
data
[
index
].
textColor
=
_this
.
eventsConfig
[
resIndex
].
textColor
;
_response
.
data
[
index
].
itemType
=
_this
.
eventsConfig
[
resIndex
].
itemType
;
});
;
_this
.
handleResponse
(
action
,
_response
,
false
,
_this
.
eventsConfig
[
resIndex
].
itemType
);
_data
.
push
(...
_response
.
data
);
});
// 排序
_data
.
sort
((
a
:
any
,
b
:
any
)
=>
{
let
dateA
=
new
Date
(
Date
.
parse
(
a
.
start
.
replace
(
/-/g
,
"/"
)));
let
dateB
=
new
Date
(
Date
.
parse
(
b
.
start
.
replace
(
/-/g
,
"/"
)));
return
dateA
>
dateB
?
1
:
-
1
;
});
let
result
=
{
status
:
200
,
data
:
_data
};
resolve
(
result
);
}).
catch
((
response
:
any
)
=>
{
reject
(
response
);
});
});
}
/**
* 修改数据
*
* @param {string} action
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof IBIZBOOKMONTHService
*/
@
Errorlog
public
update
(
itemType
:
string
,
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
let
result
:
any
;
let
tempRequest
:
any
;
switch
(
itemType
)
{
}
if
(
result
){
result
.
then
((
response
:
any
)
=>
{
this
.
handleResponse
(
""
,
response
);
resolve
(
response
);
}).
catch
((
response
:
any
)
=>
{
reject
(
response
);
});
}
else
{
reject
(
"没有匹配的实体服务"
);
}
});
}
/**
* 处理request请求数据
*
* @param action 行为
* @param data 数据
* @memberof ControlService
*/
public
handleRequestData
(
action
:
string
,
context
:
any
=
{},
data
:
any
=
{},
isMerge
:
boolean
=
false
,
itemType
:
string
=
""
){
let
model
:
any
=
this
.
getMode
();
model
.
itemType
=
itemType
;
return
super
.
handleRequestData
(
action
,
context
,
data
,
isMerge
);
}
/**
* 处理response返回数据
*
* @param {string} action
* @param {*} response
* @memberof ControlService
*/
public
async
handleResponse
(
action
:
string
,
response
:
any
,
isCreate
:
boolean
=
false
,
itemType
:
string
=
""
){
let
model
:
any
=
this
.
getMode
();
model
.
itemType
=
itemType
;
super
.
handleResponse
(
action
,
response
,
isCreate
);
}
}
\ No newline at end of file
app_Web/src/widgets/ibizbook/ibizbookmonth-calendar/ibizbookmonth-calendar.less
0 → 100644
浏览文件 @
ccdaf40f
// this is less
@import '~@fullcalendar/core/main.css';
@import '~@fullcalendar/daygrid/main.css';
@import '~@fullcalendar/timegrid/main.css';
@import '~@fullcalendar/list/main.css';
.calendar{
height:100%;
overflow: auto;
.el-timeline{
padding-left: 2px;
}
.app-data-empty{
margin: 0 auto;
display: flex;
align-items: center;
justify-content: center;
}
.event-legends{
width: 100%;
text-align: center;
.event-lengend{
display: inline-block;
margin-left: 10px;
height: 20px;
.lengend-icon{
display: inline-block;
width: 30px;
height: 20px;
border-radius: 5px;
}
span{
display: inline-block;
margin-left: 5px;
line-height: 20px;
vertical-align: top;
}
}
.event-lengend.event-disabled{
.lengend-icon{
background:#cccccc !important;
}
span{
color:#cccccc !important;
}
}
}
}
// 选中样式
.calendar .selected-event,
.select-first-calendar .select-first-event{
border: 2px solid #ff8711 !important;
}
.calendar .fc-dayGrid-view .selected-event:before,
.select-first-calendar .fc-dayGrid-view .select-first-event:before,
.calendar .fc-timeGrid-view .selected-event:before,
.select-first-calendar .fc-timeGrid-view .select-first-event:before{
content: '';
display: block;
position: absolute;
right: 0;
bottom: 0;
border: 9px solid #ff8711;
border-top-color: transparent;
border-left-color: transparent;
color: #fff;
}
.calendar .fc-dayGrid-view .selected-event:after,
.select-first-calendar .fc-dayGrid-view .select-first-event:after,
.calendar .fc-timeGrid-view .selected-event:after,
.select-first-calendar .fc-timeGrid-view .select-first-event:after{
content: '';
display: block;
width: 4px;
height: 11px;
position: absolute;
right: 1px;
bottom: 0px;
border: 2px solid #fff;
border-top-color: transparent;
border-left-color: transparent;
-webkit-transform: rotate(45deg);
transform: rotate(45deg);
box-sizing: content-box;
}
// 选择跳转日期模态
.date-select-modal{
display: flex;
align-items: center;
justify-content: center;
.ivu-modal{
top: 0;
.ivu-modal-body {
text-align: center;
}
}
}
\ No newline at end of file
app_Web/src/widgets/ibizbook/ibizbookmonth-calendar/ibizbookmonth-calendar.vue
0 → 100644
浏览文件 @
ccdaf40f
<
script
lang=
'tsx'
>
import
{
Component
}
from
'vue-property-decorator'
;
import
IBIZBOOKMONTHBase
from
'./ibizbookmonth-calendar-base.vue'
;
@
Component
({
components
:
{
}
})
export
default
class
IBIZBOOKMONTH
extends
IBIZBOOKMONTHBase
{
}
</
script
>
\ No newline at end of file
app_Web/src/widgets/ibizbook/ibizbooktimeline-calendar/ibizbooktimeline-calendar-base.vue
0 → 100644
浏览文件 @
ccdaf40f
此差异已折叠。
点击以展开。
app_Web/src/widgets/ibizbook/ibizbooktimeline-calendar/ibizbooktimeline-calendar-model.ts
0 → 100644
浏览文件 @
ccdaf40f
/**
* IBIZBOOKTIMELINE 部件模型
*
* @export
* @class IBIZBOOKTIMELINEModel
*/
export
default
class
IBIZBOOKTIMELINEModel
{
/**
* 日历项类型
*
* @returns {any[]}
* @memberof IBIZBOOKTIMELINECalendarMode
*/
public
itemType
:
string
=
""
;
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof IBIZBOOKTIMELINECalendarMode
*/
public
getDataItems
():
any
[]
{
let
dataItems
:
any
=
[
// 前端新增修改标识,新增为"0",修改为"1"或未设值
{
name
:
'srffrontuf'
,
prop
:
'srffrontuf'
,
dataType
:
'TEXT'
,
},
{
name
:
'color'
,
},
{
name
:
'textColor'
,
},
{
name
:
'itemType'
,
},
{
name
:
'query'
,
prop
:
'query'
,
},
];
switch
(
this
.
itemType
){
}
return
dataItems
;
}
}
\ No newline at end of file
app_Web/src/widgets/ibizbook/ibizbooktimeline-calendar/ibizbooktimeline-calendar-service.ts
0 → 100644
浏览文件 @
ccdaf40f
import
{
Http
,
Util
,
Errorlog
}
from
'@/utils'
;
import
ControlService
from
'@/widgets/control-service'
;
import
IBIZBOOKService
from
'@/service/ibizbook/ibizbook-service'
;
import
IBIZBOOKTIMELINEModel
from
'./ibizbooktimeline-calendar-model'
;
/**
* IBIZBOOKTIMELINE 部件服务对象
*
* @export
* @class IBIZBOOKTIMELINEService
*/
export
default
class
IBIZBOOKTIMELINEService
extends
ControlService
{
/**
* 图书服务对象
*
* @type {IBIZBOOKService}
* @memberof IBIZBOOKTIMELINEService
*/
public
appEntityService
:
IBIZBOOKService
=
new
IBIZBOOKService
({
$store
:
this
.
getStore
()
});
/**
* 设置从数据模式
*
* @type {boolean}
* @memberof IBIZBOOKTIMELINEService
*/
public
setTempMode
(){
this
.
isTempMode
=
false
;
}
/**
* Creates an instance of IBIZBOOKTIMELINEService.
*
* @param {*} [opts={}]
* @memberof IBIZBOOKTIMELINEService
*/
constructor
(
opts
:
any
=
{})
{
super
(
opts
);
this
.
model
=
new
IBIZBOOKTIMELINEModel
();
}
/**
* 事件配置集合
*
* @public
* @type {any[]}
* @memberof IBIZBOOKTIMELINE
*/
public
eventsConfig
:
any
[]
=
[
];
/**
* 查询数据
*
* @param {string} action
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof IBIZBOOKTIMELINEService
*/
@
Errorlog
public
search
(
action
:
string
,
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
_this
=
this
;
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
let
promises
:
any
=
[];
let
tempRequest
:
any
;
Promise
.
all
(
promises
).
then
((
resArray
:
any
)
=>
{
let
_data
:
any
=
[];
resArray
.
forEach
((
response
:
any
,
resIndex
:
number
)
=>
{
if
(
!
response
||
response
.
status
!==
200
)
{
return
;
}
let
_response
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
response
));
_response
.
data
.
forEach
((
item
:
any
,
index
:
number
)
=>
{
_response
.
data
[
index
].
color
=
_this
.
eventsConfig
[
resIndex
].
color
;
_response
.
data
[
index
].
textColor
=
_this
.
eventsConfig
[
resIndex
].
textColor
;
_response
.
data
[
index
].
itemType
=
_this
.
eventsConfig
[
resIndex
].
itemType
;
});
;
_this
.
handleResponse
(
action
,
_response
,
false
,
_this
.
eventsConfig
[
resIndex
].
itemType
);
_data
.
push
(...
_response
.
data
);
});
// 排序
_data
.
sort
((
a
:
any
,
b
:
any
)
=>
{
let
dateA
=
new
Date
(
Date
.
parse
(
a
.
start
.
replace
(
/-/g
,
"/"
)));
let
dateB
=
new
Date
(
Date
.
parse
(
b
.
start
.
replace
(
/-/g
,
"/"
)));
return
dateA
>
dateB
?
1
:
-
1
;
});
let
result
=
{
status
:
200
,
data
:
_data
};
resolve
(
result
);
}).
catch
((
response
:
any
)
=>
{
reject
(
response
);
});
});
}
/**
* 修改数据
*
* @param {string} action
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof IBIZBOOKTIMELINEService
*/
@
Errorlog
public
update
(
itemType
:
string
,
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
let
result
:
any
;
let
tempRequest
:
any
;
switch
(
itemType
)
{
}
if
(
result
){
result
.
then
((
response
:
any
)
=>
{
this
.
handleResponse
(
""
,
response
);
resolve
(
response
);
}).
catch
((
response
:
any
)
=>
{
reject
(
response
);
});
}
else
{
reject
(
"没有匹配的实体服务"
);
}
});
}
/**
* 处理request请求数据
*
* @param action 行为
* @param data 数据
* @memberof ControlService
*/
public
handleRequestData
(
action
:
string
,
context
:
any
=
{},
data
:
any
=
{},
isMerge
:
boolean
=
false
,
itemType
:
string
=
""
){
let
model
:
any
=
this
.
getMode
();
model
.
itemType
=
itemType
;
return
super
.
handleRequestData
(
action
,
context
,
data
,
isMerge
);
}
/**
* 处理response返回数据
*
* @param {string} action
* @param {*} response
* @memberof ControlService
*/
public
async
handleResponse
(
action
:
string
,
response
:
any
,
isCreate
:
boolean
=
false
,
itemType
:
string
=
""
){
let
model
:
any
=
this
.
getMode
();
model
.
itemType
=
itemType
;
super
.
handleResponse
(
action
,
response
,
isCreate
);
}
}
\ No newline at end of file
app_Web/src/widgets/ibizbook/ibizbooktimeline-calendar/ibizbooktimeline-calendar.less
0 → 100644
浏览文件 @
ccdaf40f
// this is less
@import '~@fullcalendar/core/main.css';
@import '~@fullcalendar/daygrid/main.css';
@import '~@fullcalendar/timegrid/main.css';
@import '~@fullcalendar/list/main.css';
.calendar{
height:100%;
overflow: auto;
.el-timeline{
padding-left: 2px;
}
.app-data-empty{
margin: 0 auto;
display: flex;
align-items: center;
justify-content: center;
}
.event-legends{
width: 100%;
text-align: center;
.event-lengend{
display: inline-block;
margin-left: 10px;
height: 20px;
.lengend-icon{
display: inline-block;
width: 30px;
height: 20px;
border-radius: 5px;
}
span{
display: inline-block;
margin-left: 5px;
line-height: 20px;
vertical-align: top;
}
}
.event-lengend.event-disabled{
.lengend-icon{
background:#cccccc !important;
}
span{
color:#cccccc !important;
}
}
}
}
// 选中样式
.calendar .selected-event,
.select-first-calendar .select-first-event{
border: 2px solid #ff8711 !important;
}
.calendar .fc-dayGrid-view .selected-event:before,
.select-first-calendar .fc-dayGrid-view .select-first-event:before,
.calendar .fc-timeGrid-view .selected-event:before,
.select-first-calendar .fc-timeGrid-view .select-first-event:before{
content: '';
display: block;
position: absolute;
right: 0;
bottom: 0;
border: 9px solid #ff8711;
border-top-color: transparent;
border-left-color: transparent;
color: #fff;
}
.calendar .fc-dayGrid-view .selected-event:after,
.select-first-calendar .fc-dayGrid-view .select-first-event:after,
.calendar .fc-timeGrid-view .selected-event:after,
.select-first-calendar .fc-timeGrid-view .select-first-event:after{
content: '';
display: block;
width: 4px;
height: 11px;
position: absolute;
right: 1px;
bottom: 0px;
border: 2px solid #fff;
border-top-color: transparent;
border-left-color: transparent;
-webkit-transform: rotate(45deg);
transform: rotate(45deg);
box-sizing: content-box;
}
// 选择跳转日期模态
.date-select-modal{
display: flex;
align-items: center;
justify-content: center;
.ivu-modal{
top: 0;
.ivu-modal-body {
text-align: center;
}
}
}
\ No newline at end of file
app_Web/src/widgets/ibizbook/ibizbooktimeline-calendar/ibizbooktimeline-calendar.vue
0 → 100644
浏览文件 @
ccdaf40f
<
script
lang=
'tsx'
>
import
{
Component
}
from
'vue-property-decorator'
;
import
IBIZBOOKTIMELINEBase
from
'./ibizbooktimeline-calendar-base.vue'
;
@
Component
({
components
:
{
}
})
export
default
class
IBIZBOOKTIMELINE
extends
IBIZBOOKTIMELINEBase
{
}
</
script
>
\ No newline at end of file
demo-core/src/main/resources/permission/systemResource.json
浏览文件 @
ccdaf40f
...
...
@@ -302,7 +302,7 @@
{
"appid"
:
"Web"
,
"appname"
:
"演示应用"
,
"appmenu"
:[{
"menuid"
:
"MainMenu"
,
"menuname"
:
"MainMenu"
,
"menuitem"
:[{
"id"
:
"menuitem1"
,
"name"
:
"工作台"
},{
"id"
:
"menuitem3"
,
"name"
:
"控件"
,
"items"
:[{
"id"
:
"menuitem6"
,
"name"
:
"默认数据类型"
},{
"id"
:
"menuitem7"
,
"name"
:
"默认编辑器类型"
},{
"id"
:
"menuitem15"
,
"name"
:
"基础表单项"
},{
"id"
:
"menuitem72"
,
"name"
:
"扩展编辑器"
}]},{
"id"
:
"menuitem4"
,
"name"
:
"部件"
,
"items"
:[{
"id"
:
"menuitem12"
,
"name"
:
"编辑表单"
,
"items"
:[{
"id"
:
"menuitem47"
,
"name"
:
"新建默认值"
},{
"id"
:
"menuitem48"
,
"name"
:
"输入提示"
},{
"id"
:
"menuitem49"
,
"name"
:
"辅助输入"
},{
"id"
:
"menuitem50"
,
"name"
:
"自动填充"
},{
"id"
:
"menuitem51"
,
"name"
:
"超链接"
},{
"id"
:
"menuitem52"
,
"name"
:
"值重置"
},{
"id"
:
"menuitem55"
,
"name"
:
"动态显示"
},{
"id"
:
"menuitem53"
,
"name"
:
"动态启用"
},{
"id"
:
"menuitem54"
,
"name"
:
"动态空输入"
},{
"id"
:
"menuitem56"
,
"name"
:
"表单项更新"
}]},{
"id"
:
"menuitem16"
,
"name"
:
"搜索表单"
},{
"id"
:
"menuitem13"
,
"name"
:
"表格"
,
"items"
:[{
"id"
:
"menuitem57"
,
"name"
:
"禁用排序"
},{
"id"
:
"menuitem59"
,
"name"
:
"行操作"
},{
"id"
:
"menuitem58"
,
"name"
:
"行编辑"
},{
"id"
:
"menuitem73"
,
"name"
:
"表格内置功能"
},{
"id"
:
"menuitem74"
,
"name"
:
"表格行编辑"
},{
"id"
:
"menuitem75"
,
"name"
:
"新建默认值"
},{
"id"
:
"menuitem76"
,
"name"
:
"更新默认值"
},{
"id"
:
"menuitem77"
,
"name"
:
"表格值规则"
},{
"id"
:
"menuitem78"
,
"name"
:
"自动分组"
},{
"id"
:
"menuitem80"
,
"name"
:
"代码表分组"
},{
"id"
:
"menuitem81"
,
"name"
:
"当前页聚合"
},{
"id"
:
"menuitem82"
,
"name"
:
"远程聚合"
}]},{
"id"
:
"menuitem83"
,
"name"
:
"列表"
,
"items"
:[{
"id"
:
"menuitem84"
,
"name"
:
"列表内置功能"
},{
"id"
:
"menuitem85"
,
"name"
:
"列表自动分组"
},{
"id"
:
"menuitem86"
,
"name"
:
"代码表分组"
},{
"id"
:
"menuitem91"
,
"name"
:
"列表嵌入面板"
}]},{
"id"
:
"menuitem14"
,
"name"
:
"树视图"
,
"items"
:[{
"id"
:
"menuitem60"
,
"name"
:
"静态节点"
},{
"id"
:
"menuitem61"
,
"name"
:
"动态节点(代码表)"
},{
"id"
:
"menuitem62"
,
"name"
:
"动态节点(实体)"
},{
"id"
:
"menuitem63"
,
"name"
:
"右键操作"
},{
"id"
:
"menuitem64"
,
"name"
:
"动态参数过滤"
}]},{
"id"
:
"menuitem37"
,
"name"
:
"图表"
,
"items"
:[{
"id"
:
"menuitem38"
,
"name"
:
"柱状图"
},{
"id"
:
"menuitem39"
,
"name"
:
"折线图"
},{
"id"
:
"menuitem40"
,
"name"
:
"饼图"
},{
"id"
:
"menuitem41"
,
"name"
:
"区域图"
},{
"id"
:
"menuitem42"
,
"name"
:
"雷达图"
},{
"id"
:
"menuitem43"
,
"name"
:
"仪表盘"
},{
"id"
:
"menuitem44"
,
"name"
:
"K线图"
}]},{
"id"
:
"menuitem17"
,
"name"
:
"向导"
},{
"id"
:
"menuitem18"
,
"name"
:
"界面行为"
,
"items"
:[{
"id"
:
"menuitem65"
,
"name"
:
"前端界面行为"
},{
"id"
:
"menuitem66"
,
"name"
:
"后台界面行为"
}]},{
"id"
:
"menuitem87"
,
"name"
:
"数据视图"
,
"items"
:[{
"id"
:
"menuitem88"
,
"name"
:
"内置功能"
},{
"id"
:
"menuitem89"
,
"name"
:
"自动分组"
},{
"id"
:
"menuitem90"
,
"name"
:
"代码表分组"
},{
"id"
:
"menuitem94"
,
"name"
:
"项布局面板"
}]},{
"id"
:
"menuitem95"
,
"name"
:
"日历"
}]},{
"id"
:
"menuitem5"
,
"name"
:
"视图"
,
"items"
:[{
"id"
:
"menuitem9"
,
"name"
:
"列表视图"
,
"items"
:[{
"id"
:
"menuitem19"
,
"name"
:
"常规表格视图"
},{
"id"
:
"menuitem21"
,
"name"
:
"左右表格视图"
},{
"id"
:
"menuitem20"
,
"name"
:
"嵌入表格视图"
}]},{
"id"
:
"menuitem8"
,
"name"
:
"编辑视图"
,
"items"
:[{
"id"
:
"menuitem22"
,
"name"
:
"常规编辑视图"
},{
"id"
:
"menuitem23"
,
"name"
:
"左右编辑视图"
},{
"id"
:
"menuitem24"
,
"name"
:
"分页编辑视图"
},{
"id"
:
"menuitem25"
,
"name"
:
"嵌入编辑视图"
}]},{
"id"
:
"menuitem26"
,
"name"
:
"选择视图"
,
"items"
:[{
"id"
:
"menuitem27"
,
"name"
:
"单选视图"
},{
"id"
:
"menuitem28"
,
"name"
:
"多选视图"
},{
"id"
:
"menuitem29"
,
"name"
:
"树形选择视图"
},{
"id"
:
"menuitem30"
,
"name"
:
"左右单选视图"
},{
"id"
:
"menuitem31"
,
"name"
:
"左右多选视图"
}]},{
"id"
:
"menuitem10"
,
"name"
:
"导航视图"
,
"items"
:[{
"id"
:
"menuitem32"
,
"name"
:
"常规导航视图"
},{
"id"
:
"menuitem33"
,
"name"
:
"分页导航视图"
},{
"id"
:
"menuitem34"
,
"name"
:
"嵌入导航视图"
}]},{
"id"
:
"menuitem11"
,
"name"
:
"其他视图"
,
"items"
:[{
"id"
:
"menuitem35"
,
"name"
:
"图表视图"
},{
"id"
:
"menuitem36"
,
"name"
:
"报表视图"
}]},{
"id"
:
"menuitem79"
,
"name"
:
"表格视图"
}]},{
"id"
:
"menuitem69"
,
"name"
:
"工作流"
},{
"id"
:
"menuitem2"
,
"name"
:
"更多"
,
"items"
:[{
"id"
:
"menuitem46"
,
"name"
:
"数据导出导入"
},{
"id"
:
"menuitem45"
,
"name"
:
"数据打印"
},{
"id"
:
"menuitem67"
,
"name"
:
"索引实体"
},{
"id"
:
"menuitem68"
,
"name"
:
"继承实体"
},{
"id"
:
"menuitem70"
,
"name"
:
"主状态"
},{
"id"
:
"menuitem71"
,
"name"
:
"多表单"
}]},{
"id"
:
"menuitem92"
,
"name"
:
"其他"
,
"items"
:[{
"id"
:
"menuitem93"
,
"name"
:
"示例数据补充"
}]}]
}]
"appmenu"
:[{
"menuid"
:
"MainMenu"
,
"menuname"
:
"MainMenu"
,
"menuitem"
:[{
"id"
:
"menuitem1"
,
"name"
:
"工作台"
},{
"id"
:
"menuitem3"
,
"name"
:
"控件"
,
"items"
:[{
"id"
:
"menuitem6"
,
"name"
:
"默认数据类型"
},{
"id"
:
"menuitem7"
,
"name"
:
"默认编辑器类型"
},{
"id"
:
"menuitem15"
,
"name"
:
"基础表单项"
},{
"id"
:
"menuitem72"
,
"name"
:
"扩展编辑器"
}]},{
"id"
:
"menuitem4"
,
"name"
:
"部件"
,
"items"
:[{
"id"
:
"menuitem12"
,
"name"
:
"编辑表单"
,
"items"
:[{
"id"
:
"menuitem47"
,
"name"
:
"新建默认值"
},{
"id"
:
"menuitem48"
,
"name"
:
"输入提示"
},{
"id"
:
"menuitem49"
,
"name"
:
"辅助输入"
},{
"id"
:
"menuitem50"
,
"name"
:
"自动填充"
},{
"id"
:
"menuitem51"
,
"name"
:
"超链接"
},{
"id"
:
"menuitem52"
,
"name"
:
"值重置"
},{
"id"
:
"menuitem55"
,
"name"
:
"动态显示"
},{
"id"
:
"menuitem53"
,
"name"
:
"动态启用"
},{
"id"
:
"menuitem54"
,
"name"
:
"动态空输入"
},{
"id"
:
"menuitem56"
,
"name"
:
"表单项更新"
}]},{
"id"
:
"menuitem16"
,
"name"
:
"搜索表单"
},{
"id"
:
"menuitem13"
,
"name"
:
"表格"
,
"items"
:[{
"id"
:
"menuitem57"
,
"name"
:
"禁用排序"
},{
"id"
:
"menuitem59"
,
"name"
:
"行操作"
},{
"id"
:
"menuitem58"
,
"name"
:
"行编辑"
},{
"id"
:
"menuitem73"
,
"name"
:
"表格内置功能"
},{
"id"
:
"menuitem74"
,
"name"
:
"表格行编辑"
},{
"id"
:
"menuitem75"
,
"name"
:
"新建默认值"
},{
"id"
:
"menuitem76"
,
"name"
:
"更新默认值"
},{
"id"
:
"menuitem77"
,
"name"
:
"表格值规则"
},{
"id"
:
"menuitem78"
,
"name"
:
"自动分组"
},{
"id"
:
"menuitem80"
,
"name"
:
"代码表分组"
},{
"id"
:
"menuitem81"
,
"name"
:
"当前页聚合"
},{
"id"
:
"menuitem82"
,
"name"
:
"远程聚合"
}]},{
"id"
:
"menuitem83"
,
"name"
:
"列表"
,
"items"
:[{
"id"
:
"menuitem84"
,
"name"
:
"列表内置功能"
},{
"id"
:
"menuitem85"
,
"name"
:
"列表自动分组"
},{
"id"
:
"menuitem86"
,
"name"
:
"代码表分组"
},{
"id"
:
"menuitem91"
,
"name"
:
"列表嵌入面板"
}]},{
"id"
:
"menuitem14"
,
"name"
:
"树视图"
,
"items"
:[{
"id"
:
"menuitem60"
,
"name"
:
"静态节点"
},{
"id"
:
"menuitem61"
,
"name"
:
"动态节点(代码表)"
},{
"id"
:
"menuitem62"
,
"name"
:
"动态节点(实体)"
},{
"id"
:
"menuitem63"
,
"name"
:
"右键操作"
},{
"id"
:
"menuitem64"
,
"name"
:
"动态参数过滤"
}]},{
"id"
:
"menuitem37"
,
"name"
:
"图表"
,
"items"
:[{
"id"
:
"menuitem38"
,
"name"
:
"柱状图"
},{
"id"
:
"menuitem39"
,
"name"
:
"折线图"
},{
"id"
:
"menuitem40"
,
"name"
:
"饼图"
},{
"id"
:
"menuitem41"
,
"name"
:
"区域图"
},{
"id"
:
"menuitem42"
,
"name"
:
"雷达图"
},{
"id"
:
"menuitem43"
,
"name"
:
"仪表盘"
},{
"id"
:
"menuitem44"
,
"name"
:
"K线图"
}]},{
"id"
:
"menuitem17"
,
"name"
:
"向导"
},{
"id"
:
"menuitem18"
,
"name"
:
"界面行为"
,
"items"
:[{
"id"
:
"menuitem65"
,
"name"
:
"前端界面行为"
},{
"id"
:
"menuitem66"
,
"name"
:
"后台界面行为"
}]},{
"id"
:
"menuitem87"
,
"name"
:
"数据视图"
,
"items"
:[{
"id"
:
"menuitem88"
,
"name"
:
"内置功能"
},{
"id"
:
"menuitem89"
,
"name"
:
"自动分组"
},{
"id"
:
"menuitem90"
,
"name"
:
"代码表分组"
},{
"id"
:
"menuitem94"
,
"name"
:
"项布局面板"
}]},{
"id"
:
"menuitem95"
,
"name"
:
"日历"
,
"items"
:[{
"id"
:
"menuitem96"
,
"name"
:
"内置功能"
},{
"id"
:
"menuitem97"
,
"name"
:
"时间轴样式"
}]
}]},{
"id"
:
"menuitem5"
,
"name"
:
"视图"
,
"items"
:[{
"id"
:
"menuitem9"
,
"name"
:
"列表视图"
,
"items"
:[{
"id"
:
"menuitem19"
,
"name"
:
"常规表格视图"
},{
"id"
:
"menuitem21"
,
"name"
:
"左右表格视图"
},{
"id"
:
"menuitem20"
,
"name"
:
"嵌入表格视图"
}]},{
"id"
:
"menuitem8"
,
"name"
:
"编辑视图"
,
"items"
:[{
"id"
:
"menuitem22"
,
"name"
:
"常规编辑视图"
},{
"id"
:
"menuitem23"
,
"name"
:
"左右编辑视图"
},{
"id"
:
"menuitem24"
,
"name"
:
"分页编辑视图"
},{
"id"
:
"menuitem25"
,
"name"
:
"嵌入编辑视图"
}]},{
"id"
:
"menuitem26"
,
"name"
:
"选择视图"
,
"items"
:[{
"id"
:
"menuitem27"
,
"name"
:
"单选视图"
},{
"id"
:
"menuitem28"
,
"name"
:
"多选视图"
},{
"id"
:
"menuitem29"
,
"name"
:
"树形选择视图"
},{
"id"
:
"menuitem30"
,
"name"
:
"左右单选视图"
},{
"id"
:
"menuitem31"
,
"name"
:
"左右多选视图"
}]},{
"id"
:
"menuitem10"
,
"name"
:
"导航视图"
,
"items"
:[{
"id"
:
"menuitem32"
,
"name"
:
"常规导航视图"
},{
"id"
:
"menuitem33"
,
"name"
:
"分页导航视图"
},{
"id"
:
"menuitem34"
,
"name"
:
"嵌入导航视图"
}]},{
"id"
:
"menuitem11"
,
"name"
:
"其他视图"
,
"items"
:[{
"id"
:
"menuitem35"
,
"name"
:
"图表视图"
},{
"id"
:
"menuitem36"
,
"name"
:
"报表视图"
}]},{
"id"
:
"menuitem79"
,
"name"
:
"表格视图"
}]},{
"id"
:
"menuitem69"
,
"name"
:
"工作流"
},{
"id"
:
"menuitem2"
,
"name"
:
"更多"
,
"items"
:[{
"id"
:
"menuitem46"
,
"name"
:
"数据导出导入"
},{
"id"
:
"menuitem45"
,
"name"
:
"数据打印"
},{
"id"
:
"menuitem67"
,
"name"
:
"索引实体"
},{
"id"
:
"menuitem68"
,
"name"
:
"继承实体"
},{
"id"
:
"menuitem70"
,
"name"
:
"主状态"
},{
"id"
:
"menuitem71"
,
"name"
:
"多表单"
}]},{
"id"
:
"menuitem92"
,
"name"
:
"其他"
,
"items"
:[{
"id"
:
"menuitem93"
,
"name"
:
"示例数据补充"
}]}]
}]
}
]
}
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录