Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
iBiz企业中心
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
iBiz企业套件
iBiz企业中心
提交
d0bd61bd
提交
d0bd61bd
编写于
7月 07, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
xignzi006 发布系统代码
上级
5e31f035
变更
9
展开全部
显示空白字符变更
内嵌
并排
正在显示
9 个修改的文件
包含
1620 行增加
和
6 行删除
+1620
-6
web-site-channel_en_US.ts
...anres/entities/web-site-channel/web-site-channel_en_US.ts
+1
-1
web-site-channel_zh_CN.ts
...anres/entities/web-site-channel/web-site-channel_zh_CN.ts
+1
-1
web-site-channel-content-tree-view.html
...content-tree-view/web-site-channel-content-tree-view.html
+0
-3
channel-content-treeview-base.tsx
...hannel-content-treeview/channel-content-treeview-base.tsx
+610
-0
channel-content-treeview-model.ts
...hannel-content-treeview/channel-content-treeview-model.ts
+67
-0
channel-content-treeview-service.ts
...nnel-content-treeview/channel-content-treeview-service.ts
+871
-0
channel-content-treeview.html
...el/channel-content-treeview/channel-content-treeview.html
+47
-0
channel-content-treeview.vue
...nel/channel-content-treeview/channel-content-treeview.vue
+22
-0
content-tree-viewtreeexpbar-treeexpbar.vue
...bar-treeexpbar/content-tree-viewtreeexpbar-treeexpbar.vue
+1
-1
未找到文件。
app_WebSite/src/locale/lanres/entities/web-site-channel/web-site-channel_en_US.ts
浏览文件 @
d0bd61bd
...
@@ -147,7 +147,7 @@ export default {
...
@@ -147,7 +147,7 @@ export default {
tip
:
"Copy {0}"
,
tip
:
"Copy {0}"
,
},
},
},
},
channel
tree
_treeview
:
{
channel
content
_treeview
:
{
nodes
:
{
nodes
:
{
root
:
"默认根节点"
,
root
:
"默认根节点"
,
},
},
...
...
app_WebSite/src/locale/lanres/entities/web-site-channel/web-site-channel_zh_CN.ts
浏览文件 @
d0bd61bd
...
@@ -146,7 +146,7 @@ export default {
...
@@ -146,7 +146,7 @@ export default {
tip
:
"拷贝"
,
tip
:
"拷贝"
,
},
},
},
},
channel
tree
_treeview
:
{
channel
content
_treeview
:
{
nodes
:
{
nodes
:
{
root
:
"默认根节点"
,
root
:
"默认根节点"
,
},
},
...
...
app_WebSite/src/pages/web-site/web-site-channel-content-tree-view/web-site-channel-content-tree-view.html
浏览文件 @
d0bd61bd
<studio-view-style2
viewName=
"websitechannelcontenttreeview"
viewTitle=
"频道内容"
class=
'detreeexpview web-site-channel-content-tree-view'
>
<studio-view-style2
viewName=
"websitechannelcontenttreeview"
viewTitle=
"频道内容"
class=
'detreeexpview web-site-channel-content-tree-view'
>
<template
slot=
'title'
>
<span
class=
'caption-info'
>
{{$t(model.srfTitle)}}
</span>
</template>
<view
_treeexpbar
<view
_treeexpbar
:viewState=
"viewState"
:viewState=
"viewState"
:viewparams=
"viewparams"
:viewparams=
"viewparams"
...
...
app_WebSite/src/widgets/web-site-channel/channel-content-treeview/channel-content-treeview-base.tsx
0 → 100644
浏览文件 @
d0bd61bd
此差异已折叠。
点击以展开。
app_WebSite/src/widgets/web-site-channel/channel-content-treeview/channel-content-treeview-model.ts
0 → 100644
浏览文件 @
d0bd61bd
/**
* ChannelContent 部件模型
*
* @export
* @class ChannelContentModel
*/
export
default
class
ChannelContentModel
{
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof ChannelContentModel
*/
public
getDataItems
():
any
[]
{
return
[
{
name
:
'websitechannel'
,
prop
:
'websitechannelid'
,
},
{
name
:
'createman'
,
},
{
name
:
'websitechannelname'
,
},
{
name
:
'updatedate'
,
},
{
name
:
'createdate'
,
},
{
name
:
'updateman'
,
},
{
name
:
'websiteid'
,
},
{
name
:
'pwebsitechannelid'
,
},
{
name
:
'pwebsitechannelname'
,
},
{
name
:
'websitename'
,
},
{
name
:
'channeltype'
,
},
{
name
:
'channelcode'
,
},
{
name
:
'sn'
,
},
{
name
:
'memo'
,
},
{
name
:
'validflag'
,
},
]
}
}
\ No newline at end of file
app_WebSite/src/widgets/web-site-channel/channel-content-treeview/channel-content-treeview-service.ts
0 → 100644
浏览文件 @
d0bd61bd
此差异已折叠。
点击以展开。
app_WebSite/src/widgets/web-site-channel/channel-content-treeview/channel-content-treeview.html
0 → 100644
浏览文件 @
d0bd61bd
<div
class=
"design-tree-container"
>
<context-menu-container>
<el-tree
v-if=
"inited"
ref=
"treeexpbar_tree"
class=
"design-tree"
node-key=
"id"
lazy
:show-checkbox=
"!isSingleSelect"
:check-on-click-node=
"!isSingleSelect"
:default-expanded-keys=
"expandedKeys"
:props=
"{
label: 'text',
isLeaf: 'leaf',
children: 'children'
}"
:load=
"load.bind(_self)"
:highlight-current=
"true"
:expand-on-click-node=
"false"
@
check=
"onCheck.apply(_self, arguments)"
@
current-change=
"selectionChange.apply(_self, arguments)"
:filter-node-method=
"filterNode"
>
<template
slot-scope=
"{ node, data }"
>
<context-menu
:contextMenuStyle=
"{width: '100%'}"
:data=
"node"
:renderContent=
"renderContextMenu.bind(_self)"
>
<tooltip
transfer
style=
"width: 100%;"
max-width=
"2000"
placement=
"right"
>
<div
class=
"tree-node"
@
dblclick=
"doDefaultAction(node)"
>
<span
class=
"icon"
>
<i
v-if=
" data.iconcls && !Object.is(data.iconcls, '')"
:class=
"data.iconcls"
></i>
<img
v-else-if=
"data.icon && !Object.is(data.icon, '')"
:src=
"data.icon"
/>
<icon
v-else-if=
"isOutputIconDefault"
type=
"ios-paper-outline"
></icon>
</span>
<span
class=
"text"
>
<span
v-if=
"data.html"
v-html=
"data.html"
></span>
<span
v-else
>
{{ data.isUseLangRes ? $t(data.text) : data.text }}
</span>
</span>
</div>
<template
slot=
"content"
>
<span
v-if=
"data.html"
v-html=
"data.html"
></span>
<span
v-else
>
{{ data.isUseLangRes ? $t(data.text) : data.text }}
</span>
</template>
</tooltip>
</context-menu>
</template>
</el-tree>
</context-menu-container>
</div>
\ No newline at end of file
app_WebSite/src/widgets/web-site-channel/channel-content-treeview/channel-content-treeview.vue
0 → 100644
浏览文件 @
d0bd61bd
<
template
src=
"./channel-content-treeview.html"
/>
<script
lang=
'tsx'
>
import
{ Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { ChannelContentTreeBase } from './channel-content-treeview-base';
/**
* treeexpbar_tree部件
*
* @export
* @class ChannelContentTree
* @extends {ChannelContentTreeBase}
*/
@Component({
components: {
}
})
@VueLifeCycleProcessing()
export default class ChannelContentTree extends ChannelContentTreeBase { }
</script>
app_WebSite/src/widgets/web-site-channel/content-tree-viewtreeexpbar-treeexpbar/content-tree-viewtreeexpbar-treeexpbar.vue
浏览文件 @
d0bd61bd
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
import
{ Component } from 'vue-property-decorator';
import
{ Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { VueLifeCycleProcessing } from '@/studio-core';
import { ContentTreeViewtreeexpbarTreeExpBarBase } from './content-tree-viewtreeexpbar-treeexpbar-base';
import { ContentTreeViewtreeexpbarTreeExpBarBase } from './content-tree-viewtreeexpbar-treeexpbar-base';
import view_treeexpbar_tree from '@widgets/web-site-channel/channel-
tree-treeview/channel-tree
-treeview.vue';
import view_treeexpbar_tree from '@widgets/web-site-channel/channel-
content-treeview/channel-content
-treeview.vue';
/**
/**
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录