部门视图优化调整
This commit is contained in:
		
							parent
							
								
									3af7a4e582
								
							
						
					
					
						commit
						7feab1c358
					
				| @ -22,6 +22,9 @@ | |||||||
|             width="80%" |             width="80%" | ||||||
|             custom-class="custom-dialog" |             custom-class="custom-dialog" | ||||||
|             append-to-body> |             append-to-body> | ||||||
|  |       <span class=""> | ||||||
|  |         <el-button @click="openInFullScreen">全屏打开</el-button> | ||||||
|  |       </span> | ||||||
|       <iframe :src="newPageUrl" frameborder="0" style="width: 100%; height: 100%;"></iframe> |       <iframe :src="newPageUrl" frameborder="0" style="width: 100%; height: 100%;"></iframe> | ||||||
|       <span slot="footer" class="dialog-footer"> |       <span slot="footer" class="dialog-footer"> | ||||||
|         <el-button @click="closeDialog">关闭</el-button> |         <el-button @click="closeDialog">关闭</el-button> | ||||||
| @ -112,7 +115,7 @@ | |||||||
|             }})</span> |             }})</span> | ||||||
|         </div> |         </div> | ||||||
|         <div class="deptInfoDiv-button"> |         <div class="deptInfoDiv-button"> | ||||||
|           <el-checkbox v-model="checkedInfo" label="隐藏架构" @change="" border size="mini"></el-checkbox> |           <el-checkbox v-model="checkedInfo" label="隐藏架构" @change="showOrHideInfo" border size="mini"></el-checkbox> | ||||||
|           <el-button style="height: 28px;" type="primary" size="mini" icon="el-icon-arrow-down" v-if="isExpand==false && checkedInfo == false" @click="expandTree">展开</el-button> |           <el-button style="height: 28px;" type="primary" size="mini" icon="el-icon-arrow-down" v-if="isExpand==false && checkedInfo == false" @click="expandTree">展开</el-button> | ||||||
|           <el-button style="height: 28px;"type="primary" size="mini" icon="el-icon-arrow-up" v-if="isExpand==true && checkedInfo == false"  @click="foldTree">折叠</el-button> |           <el-button style="height: 28px;"type="primary" size="mini" icon="el-icon-arrow-up" v-if="isExpand==true && checkedInfo == false"  @click="foldTree">折叠</el-button> | ||||||
|         </div> |         </div> | ||||||
| @ -181,7 +184,7 @@ | |||||||
|       <div id="rightBottom"> |       <div id="rightBottom"> | ||||||
|         <div id="infoCart"> |         <div id="infoCart"> | ||||||
|           <div class="cartTitle" style="text-align: center;"> |           <div class="cartTitle" style="text-align: center;"> | ||||||
|             <img style="width: 60px;height:60px;" id="currentUserPhoto" :src="userPhoto"> |             <img style="width: 60px;height:60px;border-radius: 50%;" id="currentUserPhoto" :src="userPhoto"> | ||||||
|           </div> |           </div> | ||||||
|           <div class="cartTab"> |           <div class="cartTab"> | ||||||
|             <div v-show="tab==1" id="person" v-for="personInfo in personInfos"> |             <div v-show="tab==1" id="person" v-for="personInfo in personInfos"> | ||||||
| @ -190,10 +193,10 @@ | |||||||
|             </div> |             </div> | ||||||
|           </div> |           </div> | ||||||
|           <div class="button-content"> |           <div class="button-content"> | ||||||
|             <!-- 查询岗位直接相关文件 --> |             <!-- 查询岗位直接相关文件 | ||||||
|             <el-button @click="openPersionInfo" type="primary" size="small"> |             <el-button @click="openPersionInfo" type="primary" size="small"> | ||||||
|               查询岗位直接相关文件 |               查询岗位直接相关文件 | ||||||
|             </el-button> |             </el-button>--> | ||||||
|           </div> |           </div> | ||||||
|         </div> |         </div> | ||||||
| 
 | 
 | ||||||
| @ -298,7 +301,9 @@ | |||||||
|         }; |         }; | ||||||
| 
 | 
 | ||||||
|         if(this.treeListNodes.length === 0){ |         if(this.treeListNodes.length === 0){ | ||||||
|           return ''; |           this.doesItExist = false; | ||||||
|  |           this.concatenatedNamesTooltip = "暂无发布部门"; | ||||||
|  |           return ""; | ||||||
|         } |         } | ||||||
|         const processedNodes = filterOutChildren(this.treeListNodes); |         const processedNodes = filterOutChildren(this.treeListNodes); | ||||||
| 
 | 
 | ||||||
| @ -352,7 +357,8 @@ | |||||||
|         this.$refs.tree.setCheckedNodes([]); |         this.$refs.tree.setCheckedNodes([]); | ||||||
|       } |       } | ||||||
| 	  debugger; | 	  debugger; | ||||||
|        this.treelist = this.$refs.tree.getCheckedKeys() |        this.treelist = this.$refs.tree.getCheckedKeys(); | ||||||
|  |        this.treeListNodes = this.$refs.tree.getCheckedNodes(); | ||||||
|         this.selectdept = JSON.stringify(this.treelist) |         this.selectdept = JSON.stringify(this.treelist) | ||||||
|         this.options = [] |         this.options = [] | ||||||
|         if (this.treelist.length == 0) { |         if (this.treelist.length == 0) { | ||||||
| @ -590,6 +596,10 @@ | |||||||
|       }, |       }, | ||||||
|       closeDialog() { |       closeDialog() { | ||||||
|         this.dialogVisible = false; |         this.dialogVisible = false; | ||||||
|  |       }, | ||||||
|  |       openInFullScreen(){ | ||||||
|  |         this.dialogVisible = false; | ||||||
|  |         window.open("https://yiligpt.x.digitalyili.com/libchat?lib=b8e082947190f2aa4fca0d96a5a95ea5&priv=1&sid=" + sid, "_blank"); | ||||||
|       } |       } | ||||||
|   }, |   }, | ||||||
|   }); |   }); | ||||||
| @ -663,6 +673,7 @@ | |||||||
|     padding-right: 20px; |     padding-right: 20px; | ||||||
|   } |   } | ||||||
|   .personInfo { |   .personInfo { | ||||||
|  |     line-height: 12px; | ||||||
|     font-size: 12px; |     font-size: 12px; | ||||||
|     display: block; |     display: block; | ||||||
|     height: 30px; |     height: 30px; | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 yujh
						yujh