切换导航条
此项目
正在载入...
登录
朱兆平
/
vue_cli
·
提交
转到一个项目
GitLab
转到仪表盘
项目
活动
文件
提交
管道
0
构建
0
图表
里程碑
问题
0
合并请求
0
成员
标记
维基
派生
网络
创建新的问题
下载为
差异文件
浏览文件
作者
朱兆平
4 years ago
提交
97786c22e7917daef72cf4986a37c652ccbf035f
2 个父辈
2742040c
378cbd74
Merge remote-tracking branch 'origin/message_bus' into message_bus
隐藏空白字符变更
内嵌
并排对比
正在显示
3 个修改的文件
包含
15 行增加
和
9 行删除
src/views/bus/MessageManagement.vue
src/views/bus/RouterManage.vue
src/views/bus/RouterReceiverFilter.vue
src/views/bus/MessageManagement.vue
查看文件 @
97786c2
...
...
@@ -44,7 +44,7 @@
<template slot-scope="scope">
<!-- 新增下级-->
<el-tooltip effect="dark" content="新增" placement="top-start" :enterable="false">
<el-button type="success" icon="el-icon-plus" size="mini"@click="handleAdd(scope.$index, scope.row)">新增下级
<el-button
:disabled="scope.row.type == 3"
type="success" icon="el-icon-plus" size="mini"@click="handleAdd(scope.$index, scope.row)">新增下级
</el-button>
</el-tooltip>
<!-- 编辑按钮-->
...
...
@@ -105,7 +105,9 @@
:key="item.value"
:disabled="item.value == 1"
:label="item.label"
:value="item.value">
:value="item.value"
ref="typeRef"
>
<span style="float: left">{{ item.label }}</span>
<span style="float: right; color: #8492a6; font-size: 13px">{{ item.value }}</span>
</el-option>
...
...
@@ -243,13 +245,14 @@
//新增下级
if(util.checkNull(row)){
//传递上级ID
let parentId = Object.assign({}, row);
this.addForm.parentId = parentId.id;
this.addForm.parentName = parentId.name;
this.selectDisabled = false;
this.addForm.type = 2;
if(this.$refs.parent[type] = 2){
this.addForm.child[type] = 3;
if (parentId.type==2){
this.addForm.type = 3;
}
}
//数据初始化
...
...
src/views/bus/RouterManage.vue
查看文件 @
97786c2
...
...
@@ -44,22 +44,25 @@
<el-table-column
prop="sndr"
label="帐户名称"
width="
80
"
width="
95
"
align="center"
sortable
>
</el-table-column>
<el-table-column
prop="btype"
label="消息大类"
width="
80
"
width="
95
"
align="center"
sortable
>
</el-table-column>
<el-table-column
prop="stype"
label="消息子类"
width="
80
"
width="
95
"
align="center"
sortable
>
</el-table-column>
<el-table-column
...
...
src/views/bus/RouterReceiverFilter.vue
查看文件 @
97786c2
...
...
@@ -820,8 +820,8 @@
}
},
mounted() {
this.selectServerAndHostList();
this.queue_getUserInfoList();
// this.selectServerAndHostList();
// this.queue_getUserInfoList();
},
computed: {},
}
...
...
请
注册
或
登录
后发表评论