部门视图优化调整

This commit is contained in:
yujh 2024-10-31 15:06:18 +08:00
parent 3af7a4e582
commit 7feab1c358

View File

@ -22,6 +22,9 @@
width="80%"
custom-class="custom-dialog"
append-to-body>
<span class="">
<el-button @click="openInFullScreen">全屏打开</el-button>
</span>
<iframe :src="newPageUrl" frameborder="0" style="width: 100%; height: 100%;"></iframe>
<span slot="footer" class="dialog-footer">
<el-button @click="closeDialog">关闭</el-button>
@ -112,7 +115,7 @@
}}</span>
</div>
<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-up" v-if="isExpand==true && checkedInfo == false" @click="foldTree">折叠</el-button>
</div>
@ -181,7 +184,7 @@
<div id="rightBottom">
<div id="infoCart">
<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 class="cartTab">
<div v-show="tab==1" id="person" v-for="personInfo in personInfos">
@ -190,10 +193,10 @@
</div>
</div>
<div class="button-content">
<!-- 查询岗位直接相关文件 -->
<!-- 查询岗位直接相关文件
<el-button @click="openPersionInfo" type="primary" size="small">
查询岗位直接相关文件
</el-button>
</el-button>-->
</div>
</div>
@ -298,7 +301,9 @@
};
if(this.treeListNodes.length === 0){
return '';
this.doesItExist = false;
this.concatenatedNamesTooltip = "暂无发布部门";
return "";
}
const processedNodes = filterOutChildren(this.treeListNodes);
@ -352,7 +357,8 @@
this.$refs.tree.setCheckedNodes([]);
}
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.options = []
if (this.treelist.length == 0) {
@ -590,6 +596,10 @@
},
closeDialog() {
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;
}
.personInfo {
line-height: 12px;
font-size: 12px;
display: block;
height: 30px;