正在显示
2 个修改的文件
包含
6 行增加
和
15 行删除
@@ -90,8 +90,7 @@ import ElasticSearchInfo from "./views/bus/ElasticSearchInfo.vue" | @@ -90,8 +90,7 @@ import ElasticSearchInfo from "./views/bus/ElasticSearchInfo.vue" | ||
90 | import ConfigureS from "./views/bus/Configure.vue" | 90 | import ConfigureS from "./views/bus/Configure.vue" |
91 | import MessageManagement from "./views/bus/MessageManagement.vue" | 91 | import MessageManagement from "./views/bus/MessageManagement.vue" |
92 | 92 | ||
93 | -//组件练习 | ||
94 | -import Page7 from "./views/nav3/Page7.vue" | 93 | + |
95 | 94 | ||
96 | 95 | ||
97 | 96 | ||
@@ -181,15 +180,7 @@ let routes = [ | @@ -181,15 +180,7 @@ let routes = [ | ||
181 | // {path: '/exchangeView', component: ExchangeView, name: '交换机监控'}, | 180 | // {path: '/exchangeView', component: ExchangeView, name: '交换机监控'}, |
182 | ] | 181 | ] |
183 | }, | 182 | }, |
184 | - { | ||
185 | - path: '/nav3', | ||
186 | - component: Home, | ||
187 | - name: '组件练习', | ||
188 | - iconCls: 'el-icon-view', | ||
189 | - children: [ | ||
190 | - {path: '/page7', component: Page7, name: '组件'}, | ||
191 | - ] | ||
192 | - }, | 183 | + |
193 | 184 | ||
194 | 185 | ||
195 | // { | 186 | // { |
@@ -219,7 +219,7 @@ | @@ -219,7 +219,7 @@ | ||
219 | handleAdd: function (index,row) { | 219 | handleAdd: function (index,row) { |
220 | this.dialogFormVisible = true; | 220 | this.dialogFormVisible = true; |
221 | this.dialogStatus= 'create'; | 221 | this.dialogStatus= 'create'; |
222 | - this.addForm.type = '1'; | 222 | + this.addForm.type = 1; |
223 | //消息分类禁选 | 223 | //消息分类禁选 |
224 | this.selectDisabled = true; | 224 | this.selectDisabled = true; |
225 | //上级标签隐藏 | 225 | //上级标签隐藏 |
@@ -239,9 +239,9 @@ | @@ -239,9 +239,9 @@ | ||
239 | this.addForm.parentId = parentId.id; | 239 | this.addForm.parentId = parentId.id; |
240 | this.addForm.parentName = parentId.name; | 240 | this.addForm.parentName = parentId.name; |
241 | this.selectDisabled = false; | 241 | this.selectDisabled = false; |
242 | - this.addForm.type = '2'; | ||
243 | - if(this.$refs.parent[type] = '2'){ | ||
244 | - this.addForm.child[type] = '3'; | 242 | + this.addForm.type = 2; |
243 | + if(this.$refs.parent[type] = 2){ | ||
244 | + this.addForm.child[type] = 3; | ||
245 | } | 245 | } |
246 | } | 246 | } |
247 | //数据初始化 | 247 | //数据初始化 |
-
请 注册 或 登录 后发表评论