| 
															
																@@ -46,7 +46,7 @@ 
															 | 
														
													
												
													
														
															| 
															 | 
															
																  
															 | 
															
															 | 
															
																  
															 | 
														
													
												
													
														
															| 
															 | 
															
																           <vxe-column title="操作" width="230px" fixed="right" align="center"> 
															 | 
															
															 | 
															
																           <vxe-column title="操作" width="230px" fixed="right" align="center"> 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             <template  slot-scope="scope"> 
															 | 
															
															 | 
															
																             <template  slot-scope="scope"> 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-              <el-button v-if="hasPermission('material:type:edit')&&(scope.row.level === '1' || scope.row.level === '2')" type="text"  size="small" @click="addChild(scope.row.id,scope.row.businessType)">添加下级结构</el-button> 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+              <el-button v-if="hasPermission('material:type:edit')&&(scope.row.level === '1' || scope.row.level === '2' || scope.row.level === '3' || scope.row.level === '4')" type="text"  size="small" @click="addChild(scope.row.id,scope.row.businessType)">添加下级结构</el-button> 
															 | 
														
													
												
													
														
															| 
															 | 
															
																               <el-button v-if="hasPermission('material:type:edit')" type="text"  size="small" @click="edit(scope.row.id)">修改</el-button> 
															 | 
															
															 | 
															
																               <el-button v-if="hasPermission('material:type:edit')" type="text"  size="small" @click="edit(scope.row.id)">修改</el-button> 
															 | 
														
													
												
													
														
															| 
															 | 
															
																               <el-button v-if="hasPermission('material:type:remove')" type="text"   size="small" @click="del(scope.row.id)">删除</el-button> 
															 | 
															
															 | 
															
																               <el-button v-if="hasPermission('material:type:remove')" type="text"   size="small" @click="del(scope.row.id)">删除</el-button> 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             </template> 
															 | 
															
															 | 
															
																             </template> 
															 | 
														
													
												
											
												
													
														
															 | 
															
																@@ -95,6 +95,9 @@ 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     mounted () { 
															 | 
															
															 | 
															
																     mounted () { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																       this.refreshList() 
															 | 
															
															 | 
															
																       this.refreshList() 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     }, 
															 | 
															
															 | 
															
																     }, 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+    activated () { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+      this.refreshList() 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+    }, 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     methods: { 
															 | 
															
															 | 
															
																     methods: { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																       // 新增 
															 | 
															
															 | 
															
																       // 新增 
															 | 
														
													
												
													
														
															| 
															 | 
															
																       add () { 
															 | 
															
															 | 
															
																       add () { 
															 |