Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
iBiz企业中心
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
iBiz企业套件
iBiz企业中心
提交
0701d71e
提交
0701d71e
编写于
7月 07, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
xignzi006 发布系统代码
上级
0ed21461
变更
11
隐藏空白字符变更
内嵌
并排
正在显示
11 个修改的文件
包含
74 行增加
和
43 行删除
+74
-43
view-config.json
app_WebSite/public/assets/json/view-config.json
+10
-0
web-site-channel_en_US.ts
...anres/entities/web-site-channel/web-site-channel_en_US.ts
+6
-0
web-site-channel_zh_CN.ts
...anres/entities/web-site-channel/web-site-channel_zh_CN.ts
+6
-0
viewconfig.ts
app_WebSite/src/mock/viewconfig/viewconfig.ts
+8
-0
page-register.ts
app_WebSite/src/pages/ungroup/web-site/page-register.ts
+1
-1
router.ts
app_WebSite/src/pages/ungroup/web-site/router.ts
+29
-29
state.ts
app_WebSite/src/store/modules/view-action/state.ts
+7
-7
web-site-channel-ui-service-base.ts
...vice/web-site-channel/web-site-channel-ui-service-base.ts
+1
-0
web-site-appmenu-base.tsx
...rc/widgets/app/web-site-appmenu/web-site-appmenu-base.tsx
+1
-1
web-site-appmenu-model.ts
...rc/widgets/app/web-site-appmenu/web-site-appmenu-model.ts
+4
-4
channel-content-treeview-service.ts
...nnel-content-treeview/channel-content-treeview-service.ts
+1
-1
未找到文件。
app_WebSite/public/assets/json/view-config.json
浏览文件 @
0701d71e
...
...
@@ -19,6 +19,16 @@
"viewtag"
:
"3aae044bf3c4e3a671ad89955fd060a4"
,
"memo"
:
""
},
"websitechanneltreegridview"
:
{
"title"
:
"站点频道"
,
"caption"
:
"站点频道"
,
"viewtype"
:
"DETREEGRIDVIEW"
,
"viewmodule"
:
"WebSite"
,
"viewname"
:
"WebSiteChannelTreeGridView"
,
"viewfilename"
:
"web-site-channel-tree-grid-view"
,
"viewtag"
:
"3dd833cae2245eaec339dd13a7aae4de"
,
"memo"
:
""
},
"websitecontenteditview"
:
{
"title"
:
"站点内容"
,
"caption"
:
"站点内容"
,
...
...
app_WebSite/src/locale/lanres/entities/web-site-channel/web-site-channel_en_US.ts
浏览文件 @
0701d71e
...
...
@@ -22,6 +22,10 @@ export default {
caption
:
"站点频道"
,
title
:
"站点频道"
,
},
treegridview
:
{
caption
:
"站点频道"
,
title
:
"站点频道"
,
},
contenttreeview
:
{
caption
:
"频道内容"
,
title
:
"频道内容"
,
...
...
@@ -147,6 +151,8 @@ export default {
tip
:
"Copy {0}"
,
},
},
treegridviewtoolbar_toolbar
:
{
},
channelcontent_treeview
:
{
nodes
:
{
root
:
"默认根节点"
,
...
...
app_WebSite/src/locale/lanres/entities/web-site-channel/web-site-channel_zh_CN.ts
浏览文件 @
0701d71e
...
...
@@ -21,6 +21,10 @@ export default {
caption
:
"站点频道"
,
title
:
"站点频道"
,
},
treegridview
:
{
caption
:
"站点频道"
,
title
:
"站点频道"
,
},
contenttreeview
:
{
caption
:
"频道内容"
,
title
:
"频道内容"
,
...
...
@@ -146,6 +150,8 @@ export default {
tip
:
"拷贝"
,
},
},
treegridviewtoolbar_toolbar
:
{
},
channelcontent_treeview
:
{
nodes
:
{
root
:
"默认根节点"
,
...
...
app_WebSite/src/mock/viewconfig/viewconfig.ts
浏览文件 @
0701d71e
...
...
@@ -23,6 +23,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname"
:
"WebSiteResourceGridView"
,
"viewtag"
:
"3aae044bf3c4e3a671ad89955fd060a4"
},
"websitechanneltreegridview"
:
{
"title"
:
"站点频道"
,
"caption"
:
"站点频道"
,
"viewtype"
:
"DETREEGRIDVIEW"
,
"viewmodule"
:
"WebSite"
,
"viewname"
:
"WebSiteChannelTreeGridView"
,
"viewtag"
:
"3dd833cae2245eaec339dd13a7aae4de"
},
"websitecontenteditview"
:
{
"title"
:
"站点内容"
,
"caption"
:
"站点内容"
,
...
...
app_WebSite/src/pages/ungroup/web-site/page-register.ts
浏览文件 @
0701d71e
...
...
@@ -3,11 +3,11 @@ export const PageComponents = {
Vue
.
component
(
'web-site-grid-view'
,
()
=>
import
(
'@pages/web-site/web-site-grid-view/web-site-grid-view.vue'
));
Vue
.
component
(
'web-site-channel-edit-view'
,
()
=>
import
(
'@pages/web-site/web-site-channel-edit-view/web-site-channel-edit-view.vue'
));
Vue
.
component
(
'web-site-content-grid-view'
,
()
=>
import
(
'@pages/web-site/web-site-content-grid-view/web-site-content-grid-view.vue'
));
Vue
.
component
(
'web-site-channel-tree-grid-view'
,
()
=>
import
(
'@pages/web-site/web-site-channel-tree-grid-view/web-site-channel-tree-grid-view.vue'
));
Vue
.
component
(
'web-site-channel-content-tree-view'
,
()
=>
import
(
'@pages/web-site/web-site-channel-content-tree-view/web-site-channel-content-tree-view.vue'
));
Vue
.
component
(
'web-site-edit-view'
,
()
=>
import
(
'@pages/web-site/web-site-edit-view/web-site-edit-view.vue'
));
Vue
.
component
(
'web-site-content-edit-view'
,
()
=>
import
(
'@pages/web-site/web-site-content-edit-view/web-site-content-edit-view.vue'
));
Vue
.
component
(
'web-site-resource-edit-view'
,
()
=>
import
(
'@pages/web-site/web-site-resource-edit-view/web-site-resource-edit-view.vue'
));
Vue
.
component
(
'web-site-channel-grid-view'
,
()
=>
import
(
'@pages/web-site/web-site-channel-grid-view/web-site-channel-grid-view.vue'
));
Vue
.
component
(
'web-site-resource-grid-view'
,
()
=>
import
(
'@pages/web-site/web-site-resource-grid-view/web-site-resource-grid-view.vue'
));
}
};
\ No newline at end of file
app_WebSite/src/pages/ungroup/web-site/router.ts
浏览文件 @
0701d71e
...
...
@@ -150,6 +150,35 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/web-site/web-site-content-grid-view/web-site-content-grid-view.vue'
),
},
{
path
:
'websites/:website?/websitechannels/:websitechannel?/treegridview/:treegridview?'
,
meta
:
{
caption
:
'entities.websitechannel.views.treegridview.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'website'
,
parameterName
:
'website'
},
{
pathName
:
'websites'
,
parameterName
:
'website'
},
{
pathName
:
'websitechannels'
,
parameterName
:
'websitechannel'
},
{
pathName
:
'treegridview'
,
parameterName
:
'treegridview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/web-site/web-site-channel-tree-grid-view/web-site-channel-tree-grid-view.vue'
),
},
{
path
:
'websitechannels/:websitechannel?/treegridview/:treegridview?'
,
meta
:
{
caption
:
'entities.websitechannel.views.treegridview.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'website'
,
parameterName
:
'website'
},
{
pathName
:
'websitechannels'
,
parameterName
:
'websitechannel'
},
{
pathName
:
'treegridview'
,
parameterName
:
'treegridview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/web-site/web-site-channel-tree-grid-view/web-site-channel-tree-grid-view.vue'
),
},
{
path
:
'websites/:website?/websitechannels/:websitechannel?/contenttreeview/:contenttreeview?'
,
meta
:
{
...
...
@@ -282,35 +311,6 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/web-site/web-site-resource-edit-view/web-site-resource-edit-view.vue'
),
},
{
path
:
'websites/:website?/websitechannels/:websitechannel?/gridview/:gridview?'
,
meta
:
{
caption
:
'entities.websitechannel.views.gridview.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'website'
,
parameterName
:
'website'
},
{
pathName
:
'websites'
,
parameterName
:
'website'
},
{
pathName
:
'websitechannels'
,
parameterName
:
'websitechannel'
},
{
pathName
:
'gridview'
,
parameterName
:
'gridview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/web-site/web-site-channel-grid-view/web-site-channel-grid-view.vue'
),
},
{
path
:
'websitechannels/:websitechannel?/gridview/:gridview?'
,
meta
:
{
caption
:
'entities.websitechannel.views.gridview.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'website'
,
parameterName
:
'website'
},
{
pathName
:
'websitechannels'
,
parameterName
:
'websitechannel'
},
{
pathName
:
'gridview'
,
parameterName
:
'gridview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/web-site/web-site-channel-grid-view/web-site-channel-grid-view.vue'
),
},
{
path
:
'websites/:website?/websiteresources/:websiteresource?/gridview/:gridview?'
,
meta
:
{
...
...
app_WebSite/src/store/modules/view-action/state.ts
浏览文件 @
0701d71e
...
...
@@ -4,23 +4,23 @@
export
const
viewstate
:
any
=
{
appviews
:
[
{
viewtag
:
'
217b6c971b8e8981b6ed12189607c795
'
,
viewtag
:
'
3aae044bf3c4e3a671ad89955fd060a4
'
,
viewmodule
:
'WebSite'
,
viewname
:
'WebSite
Channel
GridView'
,
viewname
:
'WebSite
Resource
GridView'
,
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
'
a7a0d344965e73bc3007248ca2cfdfa9
'
,
'
522fbb98f1202b6544acbd2b91c542ef
'
,
],
},
{
viewtag
:
'3
aae044bf3c4e3a671ad89955fd060a4
'
,
viewtag
:
'3
dd833cae2245eaec339dd13a7aae4de
'
,
viewmodule
:
'WebSite'
,
viewname
:
'WebSite
Resourc
eGridView'
,
viewname
:
'WebSite
ChannelTre
eGridView'
,
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
'
522fbb98f1202b6544acbd2b91c542ef
'
,
'
a7a0d344965e73bc3007248ca2cfdfa9
'
,
],
},
{
...
...
@@ -97,8 +97,8 @@ export const viewstate: any = {
viewdatachange
:
false
,
refviews
:
[
'ae5751b832d4b1fcd33a2195a2425390'
,
'3dd833cae2245eaec339dd13a7aae4de'
,
'9b9de8c2724ef66a73380159197e7d72'
,
'217b6c971b8e8981b6ed12189607c795'
,
'3aae044bf3c4e3a671ad89955fd060a4'
,
],
},
...
...
app_WebSite/src/uiservice/web-site-channel/web-site-channel-ui-service-base.ts
浏览文件 @
0701d71e
...
...
@@ -80,6 +80,7 @@ export default class WebSiteChannelUIServiceBase extends UIService {
*/
public
initViewMap
(){
this
.
allViewMap
.
set
(
'MDATAVIEW:'
,{
viewname
:
'gridview'
,
srfappde
:
'websitechannels'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'treegridview'
,
srfappde
:
'websitechannels'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'contenttreeview'
,
srfappde
:
'websitechannels'
});
this
.
allViewMap
.
set
(
'EDITVIEW:'
,{
viewname
:
'editview'
,
srfappde
:
'websitechannels'
});
}
...
...
app_WebSite/src/widgets/app/web-site-appmenu/web-site-appmenu-base.tsx
浏览文件 @
0701d71e
...
...
@@ -46,7 +46,7 @@ export class WebSiteBase extends Vue {
const
deResParameters
:
any
[]
=
[];
const
parameters
:
any
[]
=
[
{
pathName
:
'websitechannels'
,
parameterName
:
'websitechannel'
},
{
pathName
:
'
gridview'
,
parameterName
:
'
gridview'
},
{
pathName
:
'
treegridview'
,
parameterName
:
'tree
gridview'
},
];
const
path
:
string
=
this
.
$viewTool
.
buildUpRoutePath
(
this
.
$route
,
{},
deResParameters
,
parameters
,
[],
viewparam
);
if
(
Object
.
is
(
this
.
$route
.
fullPath
,
path
)){
...
...
app_WebSite/src/widgets/app/web-site-appmenu/web-site-appmenu-model.ts
浏览文件 @
0701d71e
...
...
@@ -129,7 +129,7 @@ export default class WebSiteModel {
textcls
:
''
,
appfunctag
:
'_3'
,
appfuncyype
:
'APPVIEW'
,
viewname
:
'web-site-channel-grid-view'
,
viewname
:
'web-site-channel-
tree-
grid-view'
,
resourcetag
:
''
,
}
,
...
...
@@ -268,12 +268,12 @@ export default class WebSiteModel {
appfunctag
:
'_3'
,
appfuncyype
:
'APPVIEW'
,
openmode
:
''
,
codename
:
'websitechannelgridview'
,
codename
:
'websitechannel
tree
gridview'
,
deResParameters
:
[],
routepath
:
'/website/:website?/websitechannels/:websitechannel?/
gridview/:
gridview?'
,
routepath
:
'/website/:website?/websitechannels/:websitechannel?/
treegridview/:tree
gridview?'
,
parameters
:
[
{
pathName
:
'websitechannels'
,
parameterName
:
'websitechannel'
},
{
pathName
:
'
gridview'
,
parameterName
:
'
gridview'
},
{
pathName
:
'
treegridview'
,
parameterName
:
'tree
gridview'
},
],
},
{
...
...
app_WebSite/src/widgets/web-site-channel/channel-content-treeview/channel-content-treeview-service.ts
浏览文件 @
0701d71e
...
...
@@ -525,7 +525,7 @@ export default class ChannelContentService extends ControlService {
strNodeId
+=
this
.
TREENODE_SEPARATOR
;
strNodeId
+=
strId
;
Object
.
assign
(
treeNode
,
{
id
:
strNodeId
});
Object
.
assign
(
treeNode
,
{
expanded
:
filter
.
isautoexpand
});
Object
.
assign
(
treeNode
,
{
expanded
:
bFirst
});
Object
.
assign
(
treeNode
,
{
leaf
:
false
});
Object
.
assign
(
treeNode
,
{
curData
:
entity
});
Object
.
assign
(
treeNode
,
{
nodeid
:
treeNode
.
srfkey
});
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录