作者 小范

消息分类管理界面完善

... ... @@ -90,8 +90,7 @@ import ElasticSearchInfo from "./views/bus/ElasticSearchInfo.vue"
import ConfigureS from "./views/bus/Configure.vue"
import MessageManagement from "./views/bus/MessageManagement.vue"
//组件练习
import Page7 from "./views/nav3/Page7.vue"
... ... @@ -181,15 +180,7 @@ let routes = [
// {path: '/exchangeView', component: ExchangeView, name: '交换机监控'},
]
},
{
path: '/nav3',
component: Home,
name: '组件练习',
iconCls: 'el-icon-view',
children: [
{path: '/page7', component: Page7, name: '组件'},
]
},
// {
... ...
... ... @@ -219,7 +219,7 @@
handleAdd: function (index,row) {
this.dialogFormVisible = true;
this.dialogStatus= 'create';
this.addForm.type = '1';
this.addForm.type = 1;
//消息分类禁选
this.selectDisabled = true;
//上级标签隐藏
... ... @@ -239,9 +239,9 @@
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';
this.addForm.type = 2;
if(this.$refs.parent[type] = 2){
this.addForm.child[type] = 3;
}
}
//数据初始化
... ...