Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
ibzrt
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
ibiz4jteam
ibzrt
提交
7d4b27f6
提交
7d4b27f6
编写于
6月 23, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
lab_qyk 发布系统代码
上级
59e1e384
变更
2
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
27 行增加
和
8 行删除
+27
-8
context-menu-drag.vue
...eb/src/components/context-menu-drag/context-menu-drag.vue
+26
-7
index-base.vue
app_Web/src/pages/rt/index/index-base.vue
+1
-1
未找到文件。
app_Web/src/components/context-menu-drag/context-menu-drag.vue
浏览文件 @
7d4b27f6
...
@@ -2,12 +2,12 @@
...
@@ -2,12 +2,12 @@
<Drawer
class-name=
"sider-drawer"
placement=
"left"
:closable=
"false"
:mask=
"false"
width=
"200"
v-model=
"leftDrawerVisiable"
>
<Drawer
class-name=
"sider-drawer"
placement=
"left"
:closable=
"false"
:mask=
"false"
width=
"200"
v-model=
"leftDrawerVisiable"
>
<div
class=
"context-menu-drag"
>
<div
class=
"context-menu-drag"
>
<div
class=
"menu-list"
>
<div
class=
"menu-list"
>
<div
class=
"menu-header"
@
mouseover=
"showMenuDrawer"
@
click=
"rightDrawerVisiable=!rightDrawerVisiable"
>
<div
class=
"menu-header"
@
click=
"rightDrawerVisiable=!rightDrawerVisiable"
>
<div
class=
"menuicon"
>
<div
class=
"menuicon"
>
<Icon
type=
"md-apps"
/>
<Icon
type=
"md-apps"
/>
</div>
</div>
<div
class=
"content"
>
<div
class=
"content"
>
<span>
服务
</span>
<span>
全部应用
</span>
</div>
</div>
<div
class=
"forward"
>
<div
class=
"forward"
>
<Icon
type=
"ios-arrow-forward"
/>
<Icon
type=
"ios-arrow-forward"
/>
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
<div
style=
"padding:8px 0px;"
class=
"col-6"
>
<div
style=
"padding:8px 0px;"
class=
"col-6"
>
<draggable
class=
"list-group"
tag=
"ul"
v-model=
"selectlist"
v-bind=
"dragOptionsVal"
@
start=
"drag=true"
@
end=
"drag=false"
:animation=
"250"
handle=
".handle"
ghost-class=
"ghost"
>
<draggable
class=
"list-group"
tag=
"ul"
v-model=
"selectlist"
v-bind=
"dragOptionsVal"
@
start=
"drag=true"
@
end=
"drag=false"
:animation=
"250"
handle=
".handle"
ghost-class=
"ghost"
>
<transition-group
type=
"transition"
:name=
"!drag ? 'flip-list' : null"
>
<transition-group
type=
"transition"
:name=
"!drag ? 'flip-list' : null"
>
<li
class=
"list-group-item"
v-for=
"(item,index) in selectlist"
:key=
"item.id"
>
<li
@
click=
"skipTo(item)"
class=
"list-group-item"
v-for=
"(item,index) in selectlist"
:key=
"item.id"
>
<el-row>
<el-row>
<el-col
class=
"menuicon"
:span=
"4"
>
<el-col
class=
"menuicon"
:span=
"4"
>
<span>
<span>
...
@@ -30,7 +30,7 @@
...
@@ -30,7 +30,7 @@
<el-col
:span=
"6"
>
<el-col
:span=
"6"
>
<div
class=
"bar"
>
<div
class=
"bar"
>
<div>
<div>
<Icon
type=
"ios-close"
@
click=
"removeAt(index)"
/>
<Icon
type=
"ios-close"
@
click
.
stop
=
"removeAt(index)"
/>
</div>
</div>
<div>
<div>
<Icon
type=
"ios-move handle"
/>
<Icon
type=
"ios-move handle"
/>
...
@@ -45,12 +45,12 @@
...
@@ -45,12 +45,12 @@
</div>
</div>
<Drawer
class-name=
"menu-drawer"
width=
"60"
:closable=
"true"
:mask=
"false"
placement=
"left"
v-model=
"rightDrawerVisiable"
>
<Drawer
class-name=
"menu-drawer"
width=
"60"
:closable=
"true"
:mask=
"false"
placement=
"left"
v-model=
"rightDrawerVisiable"
>
<div
class=
"menuItems"
>
<div
class=
"menuItems"
>
<div
class=
"item"
v-for=
"(item) in list"
:key=
"item.id"
>
<div
@
click=
"skipTo(item)"
class=
"item"
v-for=
"(item) in list"
:key=
"item.id"
>
<span
class=
"title"
>
{{
item
.
label
}}
</span>
<span
class=
"title"
>
{{
item
.
label
}}
</span>
<span
v-if=
"isStar(item.id)"
class=
"star"
@
click=
"outStar(item)"
>
<span
v-if=
"isStar(item.id)"
class=
"star"
@
click
.
stop
=
"outStar(item)"
>
<Icon
type=
"ios-star"
/>
<Icon
type=
"ios-star"
/>
</span>
</span>
<span
v-else
class=
"star"
@
click=
"onStar(item)"
>
<span
v-else
class=
"star"
@
click
.
stop
=
"onStar(item)"
>
<Icon
type=
"ios-star-outline"
/>
<Icon
type=
"ios-star-outline"
/>
</span>
</span>
</div>
</div>
...
@@ -73,6 +73,8 @@ import { Vue,Component,Provide,Watch,Prop,Model } from "vue-property-decorator";
...
@@ -73,6 +73,8 @@ import { Vue,Component,Provide,Watch,Prop,Model } from "vue-property-decorator";
})
})
export
default
class
ContextMenuDrag
extends
Vue
{
export
default
class
ContextMenuDrag
extends
Vue
{
public
panelShow
:
boolean
=
true
;
/**
/**
* 抽屉菜单状态
* 抽屉菜单状态
*
*
...
@@ -206,6 +208,23 @@ export default class ContextMenuDrag extends Vue {
...
@@ -206,6 +208,23 @@ export default class ContextMenuDrag extends Vue {
return
istar
;
return
istar
;
}
}
/**
* 跳转到应用
*
* @returns
* @memberof ContextMenuDrag
*/
public
skipTo
(
item
:
any
){
if
(
item
.
addr
){
let
params
:
any
=
{};
params
.
model
=
this
.
selectlist
;
const
put
:
Promise
<
any
>
=
this
.
entityService
.
updateChooseApp
(
null
,
params
);
window
.
location
.
href
=
item
.
addr
;
}
else
{
this
.
$message
.
info
(
"未找到该应用"
);
}
}
/**
/**
* 加入列表
* 加入列表
*
*
...
...
app_Web/src/pages/rt/index/index-base.vue
浏览文件 @
7d4b27f6
...
@@ -45,7 +45,7 @@
...
@@ -45,7 +45,7 @@
<app-theme
style=
"width:45px;display: flex;justify-content: center;"
></app-theme>
<app-theme
style=
"width:45px;display: flex;justify-content: center;"
></app-theme>
</div>
</div>
</header>
</header>
<content
:class=
"
{'index_content':true,'index_tab_content':Object.is(navModel,'tab')?true:false,'index_route_content':Object.is(navModel,'route')?true:false}" :style="{'width':this.collapseChange ? 'calc(100vw - 64px)' : 'calc(100vw - 200px)' }">
<content
:class=
"
{'index_content':true,'index_tab_content':Object.is(navModel,'tab')?true:false,'index_route_content':Object.is(navModel,'route')?true:false}" :style="{'width':this.collapseChange ? 'calc(100vw - 64px)' : 'calc(100vw - 200px)' }"
@click="contextMenuDragVisiable=false"
>
<tab-page-exp
v-if=
"Object.is(navModel,'tab')"
></tab-page-exp>
<tab-page-exp
v-if=
"Object.is(navModel,'tab')"
></tab-page-exp>
<app-keep-alive
:routerList=
"getRouterList"
>
<app-keep-alive
:routerList=
"getRouterList"
>
<router-view
:key=
"getRouterViewKey"
></router-view>
<router-view
:key=
"getRouterViewKey"
></router-view>
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录