Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
功
功能演示系统
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
示例
功能演示系统
提交
d964d0a2
提交
d964d0a2
编写于
12月 02, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
tony001 发布系统代码 [后台服务,演示应用]
上级
28802f65
变更
24
展开全部
隐藏空白字符变更
内嵌
并排
正在显示
24 个修改的文件
包含
2762 行增加
和
3 行删除
+2762
-3
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
main-menu-appmenu.ts
app_Web/src/mock/app/main-menu-appmenu/main-menu-appmenu.ts
+18
-0
ibizorder-list-exp-view-base.vue
.../ibizorder-list-exp-view/ibizorder-list-exp-view-base.vue
+705
-0
ibizorder-list-exp-view.less
...mple/ibizorder-list-exp-view/ibizorder-list-exp-view.less
+8
-0
ibizorder-list-exp-view.vue
...ample/ibizorder-list-exp-view/ibizorder-list-exp-view.vue
+22
-0
ibizorder-sedit-view3-base.vue
...mple/ibizorder-sedit-view3/ibizorder-sedit-view3-base.vue
+1
-1
ibizorder-sedit-view4-base.vue
...mple/ibizorder-sedit-view4/ibizorder-sedit-view4-base.vue
+1
-1
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
+19
-0
list-exp-viewlistexpbar-listexpbar-base.vue
...ar-listexpbar/list-exp-viewlistexpbar-listexpbar-base.vue
+584
-0
list-exp-viewlistexpbar-listexpbar-model.ts
...ar-listexpbar/list-exp-viewlistexpbar-listexpbar-model.ts
+21
-0
list-exp-viewlistexpbar-listexpbar-service.ts
...-listexpbar/list-exp-viewlistexpbar-listexpbar-service.ts
+44
-0
list-exp-viewlistexpbar-listexpbar.less
...expbar-listexpbar/list-exp-viewlistexpbar-listexpbar.less
+125
-0
list-exp-viewlistexpbar-listexpbar.vue
...texpbar-listexpbar/list-exp-viewlistexpbar-listexpbar.vue
+16
-0
listexpbar-list-list-base.vue
...zorder/listexpbar-list-list/listexpbar-list-list-base.vue
+831
-0
listexpbar-list-list-model.ts
...zorder/listexpbar-list-list/listexpbar-list-list-model.ts
+42
-0
listexpbar-list-list-service.ts
...rder/listexpbar-list-list/listexpbar-list-list-service.ts
+163
-0
listexpbar-list-list.less
.../ibizorder/listexpbar-list-list/listexpbar-list-list.less
+81
-0
listexpbar-list-list.vue
...s/ibizorder/listexpbar-list-list/listexpbar-list-list.vue
+14
-0
systemResource.json
demo-core/src/main/resources/permission/systemResource.json
+1
-1
未找到文件。
app_Web/src/locale/lang/en-US.ts
浏览文件 @
d964d0a2
...
...
@@ -252,6 +252,7 @@ export default {
menuitem126
:
"实体数据看板"
,
menuitem127
:
"导航视图"
,
menuitem128
:
"表格导航"
,
menuitem114
:
"列表导航"
,
menuitem129
:
"选项操作"
,
menuitem130
:
"选项操作视图"
,
menuitem131
:
"表格选项操作"
,
...
...
app_Web/src/locale/lang/zh-CN.ts
浏览文件 @
d964d0a2
...
...
@@ -252,6 +252,7 @@ export default {
menuitem126
:
"实体数据看板"
,
menuitem127
:
"导航视图"
,
menuitem128
:
"表格导航"
,
menuitem114
:
"列表导航"
,
menuitem129
:
"选项操作"
,
menuitem130
:
"选项操作视图"
,
menuitem131
:
"表格选项操作"
,
...
...
app_Web/src/mock/app/main-menu-appmenu/main-menu-appmenu.ts
浏览文件 @
d964d0a2
...
...
@@ -1643,6 +1643,24 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
textcls
:
''
,
appfunctag
:
'AppFunc46'
,
resourcetag
:
''
,
},
{
id
:
'D184B3A7-C720-4A8B-A25B-5A27608B8BEC'
,
name
:
'menuitem114'
,
text
:
'列表导航'
,
type
:
'MENUITEM'
,
counterid
:
''
,
tooltip
:
'列表导航'
,
expanded
:
false
,
separator
:
false
,
hidden
:
false
,
hidesidebar
:
false
,
opendefault
:
false
,
iconcls
:
''
,
icon
:
''
,
textcls
:
''
,
appfunctag
:
'AppFunc56'
,
resourcetag
:
''
,
},
],
},
...
...
app_Web/src/pages/sample/ibizorder-list-exp-view/ibizorder-list-exp-view-base.vue
0 → 100644
浏览文件 @
d964d0a2
此差异已折叠。
点击以展开。
app_Web/src/pages/sample/ibizorder-list-exp-view/ibizorder-list-exp-view.less
0 → 100644
浏览文件 @
d964d0a2
.ibizorder-list-exp-view{
position: relative;
}
.ibizorder-list-exp-view{
display: block;
}
\ No newline at end of file
app_Web/src/pages/sample/ibizorder-list-exp-view/ibizorder-list-exp-view.vue
0 → 100644
浏览文件 @
d964d0a2
<
script
lang=
'tsx'
>
import
{
Component
}
from
'vue-property-decorator'
;
import
IBIZOrderListExpViewBase
from
'./ibizorder-list-exp-view-base.vue'
;
import
view_listexpbar
from
'@widgets/ibizorder/list-exp-viewlistexpbar-listexpbar/list-exp-viewlistexpbar-listexpbar.vue'
;
@
Component
({
components
:
{
view_listexpbar
,
},
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
IBIZOrderListExpView
extends
IBIZOrderListExpViewBase
{
}
</
script
>
\ No newline at end of file
app_Web/src/pages/sample/ibizorder-sedit-view3/ibizorder-sedit-view3-base.vue
浏览文件 @
d964d0a2
...
...
@@ -183,7 +183,7 @@ export default class IBIZOrderSEditView3Base extends Vue {
* @memberof IBIZOrderSEditView3Base
*/
public
customViewNavContexts
:
any
=
{
"IBIZORDER"
:{
"isRawValue"
:
true
,
"value"
:
"
c15db639bb5db51c5c60a4d6c226083
7"
}
"IBIZORDER"
:{
"isRawValue"
:
true
,
"value"
:
"
aa2b0066cad3e60bffd4278111bdd12
7"
}
};
/**
...
...
app_Web/src/pages/sample/ibizorder-sedit-view4/ibizorder-sedit-view4-base.vue
浏览文件 @
d964d0a2
...
...
@@ -180,7 +180,7 @@ export default class IBIZOrderSEditView4Base extends Vue {
* @memberof IBIZOrderSEditView4Base
*/
public
customViewNavContexts
:
any
=
{
"IBIZORDER"
:{
"isRawValue"
:
true
,
"value"
:
"
c15db639bb5db51c5c60a4d6c226083
7"
}
"IBIZORDER"
:{
"isRawValue"
:
true
,
"value"
:
"
aa2b0066cad3e60bffd4278111bdd12
7"
}
};
/**
...
...
app_Web/src/pages/sample/index/page-register.ts
浏览文件 @
d964d0a2
...
...
@@ -18,6 +18,7 @@ export const PageComponents = {
Vue
.
component
(
'ibizbookoption-view'
,
()
=>
import
(
'@pages/sample/ibizbookoption-view/ibizbookoption-view.vue'
));
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
(
'ibizorder-list-exp-view'
,
()
=>
import
(
'@pages/sample/ibizorder-list-exp-view/ibizorder-list-exp-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'
));
...
...
app_Web/src/pages/sample/index/router.ts
浏览文件 @
d964d0a2
...
...
@@ -377,6 +377,20 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/sample/ibizorder-detail-sf2-edit-view/ibizorder-detail-sf2-edit-view.vue'
),
},
{
path
:
'ibizorders/:ibizorder?/listexpview/:listexpview?'
,
meta
:
{
caption
:
'entities.ibizorder.views.listexpview.caption'
,
info
:
''
,
parameters
:
[
{
pathName
:
'index'
,
parameterName
:
'index'
},
{
pathName
:
'ibizorders'
,
parameterName
:
'ibizorder'
},
{
pathName
:
'listexpview'
,
parameterName
:
'listexpview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sample/ibizorder-list-exp-view/ibizorder-list-exp-view.vue'
),
},
{
path
:
'ibizbooks/:ibizbook?/newdefaultvaluegridview/:newdefaultvaluegridview?'
,
meta
:
{
...
...
@@ -3821,6 +3835,19 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/sample/ibizsample0001-usr3-grid-view/ibizsample0001-usr3-grid-view.vue'
),
},
{
path
:
'/ibizorders/:ibizorder?/listexpview/:listexpview?'
,
meta
:
{
caption
:
'entities.ibizorder.views.listexpview.caption'
,
info
:
''
,
parameters
:
[
{
pathName
:
'ibizorders'
,
parameterName
:
'ibizorder'
},
{
pathName
:
'listexpview'
,
parameterName
:
'listexpview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sample/ibizorder-list-exp-view/ibizorder-list-exp-view.vue'
),
},
{
path
:
'/ibizsample0017s/:ibizsample0017?/f20editview/:f20editview?'
,
meta
:
{
...
...
app_Web/src/store/modules/view-action/state.ts
浏览文件 @
d964d0a2
...
...
@@ -211,6 +211,7 @@ export const viewstate: any = {
'8a3f2cc88421d9f07cbb53dd78e11495'
,
'464b1dbf722c8dcaaa7f2cc90b8d0d8d'
,
'ad37d44e57c18e4431a609968203c646'
,
'9127e2414d8e646fd2b473695d17c485'
,
'fdb297cd4b12374534413c3053aec1b8'
,
'f4c5c766fd5755b694e0401dddc4d1ad'
,
'7f65e6161c444d29e1f53f1cb76e92de'
,
...
...
@@ -961,6 +962,15 @@ export const viewstate: any = {
'1ea6cf1eb27a534fccbcd00675a9fa40'
,
],
},
{
viewtag
:
'9127e2414d8e646fd2b473695d17c485'
,
viewmodule
:
'Sample'
,
viewname
:
'IBIZOrderListExpView'
,
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
],
},
{
viewtag
:
'9147f210be1f0751245496a40be86fad'
,
viewmodule
:
'Sample'
,
...
...
app_Web/src/widgets/app/main-menu-appmenu/main-menu-appmenu-base.vue
浏览文件 @
d964d0a2
...
...
@@ -803,6 +803,9 @@ export default class MainMenuBase extends Vue implements ControlInterface {
case
'Auto111'
:
this
.
clickAuto111
(
item
);
return
;
case
'AppFunc56'
:
this
.
clickAppFunc56
(
item
);
return
;
case
'Auto66'
:
this
.
clickAuto66
(
item
);
return
;
...
...
@@ -3026,6 +3029,29 @@ export default class MainMenuBase extends Vue implements ControlInterface {
})
}
/**
* 订单实体列表导航
*
* @param {*} [item={}]
* @memberof MainMenu
*/
public
clickAppFunc56
(
item
:
any
=
{})
{
const
viewparam
:
any
=
{};
Object
.
assign
(
viewparam
,
{});
const
deResParameters
:
any
[]
=
[];
const
parameters
:
any
[]
=
[
{
pathName
:
'ibizorders'
,
parameterName
:
'ibizorder'
},
{
pathName
:
'listexpview'
,
parameterName
:
'listexpview'
},
];
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
浏览文件 @
d964d0a2
...
...
@@ -1736,6 +1736,25 @@ export default class MainMenuModel {
appfunctag
:
'AppFunc46'
,
resourcetag
:
''
,
authtag
:
'Web-MainMenu-menuitem128'
,
},
{
id
:
'D184B3A7-C720-4A8B-A25B-5A27608B8BEC'
,
name
:
'menuitem114'
,
text
:
'列表导航'
,
type
:
'MENUITEM'
,
counterid
:
''
,
tooltip
:
'列表导航'
,
expanded
:
false
,
separator
:
false
,
hidden
:
false
,
hidesidebar
:
false
,
opendefault
:
false
,
iconcls
:
''
,
icon
:
''
,
textcls
:
''
,
appfunctag
:
'AppFunc56'
,
resourcetag
:
''
,
authtag
:
'Web-MainMenu-menuitem114'
,
},
],
},
...
...
app_Web/src/widgets/ibizorder/list-exp-viewlistexpbar-listexpbar/list-exp-viewlistexpbar-listexpbar-base.vue
0 → 100644
浏览文件 @
d964d0a2
此差异已折叠。
点击以展开。
app_Web/src/widgets/ibizorder/list-exp-viewlistexpbar-listexpbar/list-exp-viewlistexpbar-listexpbar-model.ts
0 → 100644
浏览文件 @
d964d0a2
/**
* ListExpViewlistexpbar 部件模型
*
* @export
* @class ListExpViewlistexpbarModel
*/
export
default
class
ListExpViewlistexpbarModel
{
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof ListExpViewlistexpbarListexpbarMode
*/
public
getDataItems
():
any
[]
{
return
[
]
}
}
\ No newline at end of file
app_Web/src/widgets/ibizorder/list-exp-viewlistexpbar-listexpbar/list-exp-viewlistexpbar-listexpbar-service.ts
0 → 100644
浏览文件 @
d964d0a2
import
{
Http
,
Util
,
Errorlog
}
from
'@/utils'
;
import
ControlService
from
'@/widgets/control-service'
;
import
IBIZOrderService
from
'@/service/ibizorder/ibizorder-service'
;
import
ListExpViewlistexpbarModel
from
'./list-exp-viewlistexpbar-listexpbar-model'
;
/**
* ListExpViewlistexpbar 部件服务对象
*
* @export
* @class ListExpViewlistexpbarService
*/
export
default
class
ListExpViewlistexpbarService
extends
ControlService
{
/**
* 订单服务对象
*
* @type {IBIZOrderService}
* @memberof ListExpViewlistexpbarService
*/
public
appEntityService
:
IBIZOrderService
=
new
IBIZOrderService
({
$store
:
this
.
getStore
()
});
/**
* 设置从数据模式
*
* @type {boolean}
* @memberof ListExpViewlistexpbarService
*/
public
setTempMode
(){
this
.
isTempMode
=
false
;
}
/**
* Creates an instance of ListExpViewlistexpbarService.
*
* @param {*} [opts={}]
* @memberof ListExpViewlistexpbarService
*/
constructor
(
opts
:
any
=
{})
{
super
(
opts
);
this
.
model
=
new
ListExpViewlistexpbarModel
();
}
}
\ No newline at end of file
app_Web/src/widgets/ibizorder/list-exp-viewlistexpbar-listexpbar/list-exp-viewlistexpbar-listexpbar.less
0 → 100644
浏览文件 @
d964d0a2
.app-list-exp-bar {
> .ivu-split-horizontal {
> .ivu-split-trigger-con {
height: 100%;
width: 1px;
}
> .ivu-split-pane {
> div {
height: 100%;
overflow: auto;
display: flex;
flex-direction: column;
.list-exp-bar-header {
line-height: 50px;
border-bottom: 1px solid #ddd;
>div {
font-size: 18px;
i {
font-size: 20px;
margin-top: -2px;
}
}
}
.container-header{
display: flex;
justify-content: flex-start;
align-items: center;
flex-wrap: wrap;
.search-container {
width: 30%;
height: 48px;
padding: 10px 10px 10px 0;
min-width: 200px;
max-width: 400px;
}
.toolbar-container{
padding: 4px;
display: flex;
flex-wrap: wrap;
align-items: center;
}
.quick-group-container {
padding-top: 8px;
padding-right: 20px;
}
}
.list-exp-bar-content {
height: calc(100% - 40px);
overflow: auto;
padding: 16px 0;
margin-bottom: 10px;
}
.list-exp-bar-content2 {
height: 100%;
overflow: auto;
flex-grow: 1;
}
}
}
> .right-pane.ivu-split-pane {
> div {
padding-left: 10px;
}
}
> .left-pane.ivu-split-pane {
padding-right: 10px;
}
}
> .ivu-split-vertical{
> .ivu-split-pane {
> div {
height: 100%;
overflow: auto;
display: flex;
flex-direction: column;
.list-exp-bar-header {
line-height: 50px;
border-bottom: 1px solid #ddd;
>div {
font-size: 18px;
i {
font-size: 20px;
margin-top: -2px;
}
}
}
.container-header{
display: flex;
justify-content: space-between;
align-items: center;
.search-container {
width: 30%;
height: 48px;
padding: 10px 10px 10px 0;
min-width: 200px;
max-width: 400px;
}
.toolbar-container{
padding: 4px;
}
}
.list-exp-bar-content {
height: calc(100% - 40px);
overflow: auto;
margin-bottom: 10px;
}
.list-exp-bar-content2 {
height: 100%;
overflow: auto;
flex-grow: 1;
}
}
}
> .top-pane.ivu-split-pane {
> div {
padding-bottom: 10px;
}
}
> .bottom-pane.ivu-split-pane {
padding-top: 10px;
}
}
}
// this is less
app_Web/src/widgets/ibizorder/list-exp-viewlistexpbar-listexpbar/list-exp-viewlistexpbar-listexpbar.vue
0 → 100644
浏览文件 @
d964d0a2
<
script
lang=
'tsx'
>
import
{
Component
}
from
'vue-property-decorator'
;
import
ListExpViewlistexpbarBase
from
'./list-exp-viewlistexpbar-listexpbar-base.vue'
;
import
view_listexpbar_list
from
'@widgets/ibizorder/listexpbar-list-list/listexpbar-list-list.vue'
;
@
Component
({
components
:
{
view_listexpbar_list
,
}
})
export
default
class
ListExpViewlistexpbar
extends
ListExpViewlistexpbarBase
{
}
</
script
>
\ No newline at end of file
app_Web/src/widgets/ibizorder/listexpbar-list-list/listexpbar-list-list-base.vue
0 → 100644
浏览文件 @
d964d0a2
此差异已折叠。
点击以展开。
app_Web/src/widgets/ibizorder/listexpbar-list-list/listexpbar-list-list-model.ts
0 → 100644
浏览文件 @
d964d0a2
/**
* Listexpbar_list 部件模型
*
* @export
* @class Listexpbar_listModel
*/
export
default
class
Listexpbar_listModel
{
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof Listexpbar_listListexpbar_listMode
*/
public
getDataItems
():
any
[]
{
return
[
{
name
:
'size'
,
prop
:
'size'
},
{
name
:
'query'
,
prop
:
'query'
},
{
name
:
'sort'
,
prop
:
'sort'
},
{
name
:
'page'
,
prop
:
'page'
},
// 前端新增修改标识,新增为"0",修改为"1"或未设值
{
name
:
'srffrontuf'
,
prop
:
'srffrontuf'
,
dataType
:
'TEXT'
,
},
]
}
}
\ No newline at end of file
app_Web/src/widgets/ibizorder/listexpbar-list-list/listexpbar-list-list-service.ts
0 → 100644
浏览文件 @
d964d0a2
import
{
Http
,
Util
,
Errorlog
}
from
'@/utils'
;
import
ControlService
from
'@/widgets/control-service'
;
import
IBIZOrderService
from
'@/service/ibizorder/ibizorder-service'
;
import
Listexpbar_listModel
from
'./listexpbar-list-list-model'
;
/**
* Listexpbar_list 部件服务对象
*
* @export
* @class Listexpbar_listService
*/
export
default
class
Listexpbar_listService
extends
ControlService
{
/**
* 订单服务对象
*
* @type {IBIZOrderService}
* @memberof Listexpbar_listService
*/
public
appEntityService
:
IBIZOrderService
=
new
IBIZOrderService
({
$store
:
this
.
getStore
()
});
/**
* 设置从数据模式
*
* @type {boolean}
* @memberof Listexpbar_listService
*/
public
setTempMode
(){
this
.
isTempMode
=
false
;
}
/**
* Creates an instance of Listexpbar_listService.
*
* @param {*} [opts={}]
* @memberof Listexpbar_listService
*/
constructor
(
opts
:
any
=
{})
{
super
(
opts
);
this
.
model
=
new
Listexpbar_listModel
();
}
/**
* 查询数据
*
* @param {string} action
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof Listexpbar_listService
*/
@
Errorlog
public
search
(
action
:
string
,
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
const
{
data
:
Data
,
context
:
Context
}
=
this
.
handleRequestData
(
action
,
context
,
data
,
true
);
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
const
_appEntityService
:
any
=
this
.
appEntityService
;
let
result
:
Promise
<
any
>
;
if
(
_appEntityService
[
action
]
&&
_appEntityService
[
action
]
instanceof
Function
)
{
result
=
_appEntityService
[
action
](
Context
,
Data
,
isloading
);
}
else
{
result
=
_appEntityService
.
FetchDefault
(
Context
,
Data
,
isloading
);
}
result
.
then
(
async
(
response
)
=>
{
await
this
.
handleResponse
(
action
,
response
);
resolve
(
response
);
}).
catch
(
response
=>
{
reject
(
response
);
});
});
}
/**
* 删除数据
*
* @param {string} action
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof Listexpbar_listService
*/
@
Errorlog
public
delete
(
action
:
string
,
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
const
{
data
:
Data
,
context
:
Context
}
=
this
.
handleRequestData
(
action
,
context
,
data
,
true
);
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
const
_appEntityService
:
any
=
this
.
appEntityService
;
let
result
:
Promise
<
any
>
;
if
(
_appEntityService
[
action
]
&&
_appEntityService
[
action
]
instanceof
Function
)
{
result
=
_appEntityService
[
action
](
Context
,
Data
,
isloading
);
}
else
{
result
=
_appEntityService
.
remove
(
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 Listexpbar_listService
*/
@
Errorlog
public
add
(
action
:
string
,
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
const
{
data
:
Data
,
context
:
Context
}
=
this
.
handleRequestData
(
action
,
context
,
data
,
true
);
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
const
_appEntityService
:
any
=
this
.
appEntityService
;
let
result
:
Promise
<
any
>
;
if
(
_appEntityService
[
action
]
&&
_appEntityService
[
action
]
instanceof
Function
)
{
result
=
_appEntityService
[
action
](
Context
,
Data
,
isloading
);
}
else
{
result
=
_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 Listexpbar_listService
*/
@
Errorlog
public
update
(
action
:
string
,
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
const
{
data
:
Data
,
context
:
Context
}
=
this
.
handleRequestData
(
action
,
context
,
data
,
true
);
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
const
_appEntityService
:
any
=
this
.
appEntityService
;
let
result
:
Promise
<
any
>
;
if
(
_appEntityService
[
action
]
&&
_appEntityService
[
action
]
instanceof
Function
)
{
result
=
_appEntityService
[
action
](
Context
,
Data
,
isloading
);
}
else
{
result
=
_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/ibizorder/listexpbar-list-list/listexpbar-list-list.less
0 → 100644
浏览文件 @
d964d0a2
// this is less
.app-list {
height:100%;
flex-grow: 1;
overflow-y: auto;
.el-collapse-item__header.is-active{
color: #409eff;
background-color: #ecf5ff;
}
.el-collapse{
.el-collapse-item{
.el-collapse-item__wrap{
.el-collapse-item__content{
padding: 10px 0 10px 0;
}
}
}
}
.app-list-item {
line-height: 34px;
padding: 12px 6px;
min-height: 24px;
display: flex;
justify-content: space-between;
align-items: center;
border-bottom: 1px solid #f0f0f0;
.app-list-item-content {
width: 70%;
display: flex;
align-items: center;
.item-icon {
width: 40px;
height: 40px;
margin-right: 14px;
img {
width: 40px;
height: 40px;
border-radius: 50%;
}
}
.item-content-text {
display: flex;
flex-direction: column;
.item-text {
font-size: 18px;
font-weight: bold;
}
.item-subtext {
color: #8c8c8c;
}
}
}
.app-list-item-date {
position: relative;
color: #8c8c8c;
}
}
.app-list-item.isSelect {
background: #ecf5ff;
border-radius: 2px;
border-color: rgb(197, 197, 197);
}
.app-list-item:hover {
background: #ecf5ff;
}
.loadmore {
text-align: center;
padding: 10px;
text-decoration: underline;
color: #82bff7;
cursor: default;
}
}
.app-list-empty {
height:100%;
color: #909399;
display: flex;
justify-content: center;
align-items: center;
}
app_Web/src/widgets/ibizorder/listexpbar-list-list/listexpbar-list-list.vue
0 → 100644
浏览文件 @
d964d0a2
<
script
lang=
'tsx'
>
import
{
Component
}
from
'vue-property-decorator'
;
import
Listexpbar_listBase
from
'./listexpbar-list-list-base.vue'
;
@
Component
({
components
:
{
}
})
export
default
class
Listexpbar_list
extends
Listexpbar_listBase
{
}
</
script
>
\ No newline at end of file
demo-core/src/main/resources/permission/systemResource.json
浏览文件 @
d964d0a2
此差异已折叠。
点击以展开。
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录