部门视图优化
This commit is contained in:
parent
134b56edf7
commit
6d6f525f9c
@ -13,8 +13,10 @@
|
||||
</head>
|
||||
<body>
|
||||
<div id="app">
|
||||
<div id="floatingChatIcon" >
|
||||
<img src="../apps/com.awspaas.user.apps.gpt_interface/img/robot-icon.png" alt="Chat Bot" @click="openGptHome" >
|
||||
<div id="floatingChatIcon" @click="openGptHome" >
|
||||
<img src="../apps/com.awspaas.user.apps.gpt_interface/img/robot-icon.png" alt="Chat Bot" >
|
||||
<span style="margin-top: 6px;font-size: 19px;">YL-GPT</span>
|
||||
<span style="margin-top: 6px;font-size: 11px;">智能文件搜索</span>
|
||||
<el-dialog
|
||||
:visible.sync="dialogVisible"
|
||||
width="80%"
|
||||
@ -24,7 +26,6 @@
|
||||
<span slot="footer" class="dialog-footer">
|
||||
<el-button @click="closeDialog">关闭</el-button>
|
||||
</span>
|
||||
<p>{{param1}}</p>
|
||||
</el-dialog>
|
||||
</div>
|
||||
<div id="main">
|
||||
@ -97,9 +98,9 @@
|
||||
</div>
|
||||
</div>
|
||||
<!-- 部门信息区域 -->
|
||||
<div class="section" style="font-size: 14px;border: 0px solid #D4F0FF;background-color: #E6F7FF;padding: 2px;margin-left: 7px;">
|
||||
<div class="section" style="font-size: 14px;border: 0px solid #D4F0FF;background-color: #E6F7FF;padding: 2px 0px 4px;margin-left: 7px;">
|
||||
<div class="deptInfoDiv" style="padding-left: 4px;">
|
||||
<i slot="reference" class="ico tips"></i>
|
||||
<i style="vertical-align: middle;padding-top: 3px;" slot="reference" class="ico tips"></i>
|
||||
<span v-if="doesItExist==true" class="limited-text">已选择</span>
|
||||
<span v-if="doesItExist==false" class="limited-text">暂无发布部门</span>
|
||||
</div>
|
||||
@ -111,9 +112,9 @@
|
||||
}})</span>
|
||||
</div>
|
||||
<div class="deptInfoDiv-button">
|
||||
<el-checkbox v-model="checkedInfo" label="隐藏架构" @change="showOrHideInfo" border size="mini"></el-checkbox>
|
||||
<el-button type="primary" size="mini" icon="el-icon-arrow-down" v-if="isExpand==false && checkedInfo == false" @click="expandTree">展开</el-button>
|
||||
<el-button type="primary" size="mini" icon="el-icon-arrow-up" v-if="isExpand==true && checkedInfo == false" @click="foldTree">折叠</el-button>
|
||||
<el-checkbox v-model="checkedInfo" label="隐藏架构" @change="" 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>
|
||||
</div>
|
||||
<div id="processList" v-loading="g_loading" style="width: 100%;overflow-y:auto;" >
|
||||
@ -399,7 +400,7 @@
|
||||
this.$refs.treeNode.store._getAllNodes()[i].expanded=this.isExpand;
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
//右侧树结构
|
||||
rightTreedatabind() {
|
||||
debugger;
|
||||
@ -581,7 +582,8 @@
|
||||
openGptHome() {
|
||||
//let url = "https://chatgpt-uat.dcin-test.digitalyili.com/welcome?from=libchat&lib=ef2b50fd79c52577d51222bc58b231d7&priv=1&sid=" + sid ;
|
||||
//this.fullscreen = window.innerWidth <= 768; // 小屏幕时全屏显示
|
||||
this.newPageUrl = "https://yiligpt.x.digitalyili.com/libchat?lib=51682983f4d291acdd6945a9b9e86d5c&priv=1&sid=" + sid;
|
||||
this.newPageUrl = "https://yiligpt.x.digitalyili.com/libchat?lib=b8e082947190f2aa4fca0d96a5a95ea5&priv=1&sid=" + sid;
|
||||
document.cookie = "AWSSESSIONID="+sid;
|
||||
this.param1=sid;
|
||||
this.dialogVisible = true;
|
||||
|
||||
@ -604,7 +606,7 @@
|
||||
height:100%;
|
||||
float: left;
|
||||
width: 80%;
|
||||
min-height: 810px;
|
||||
min-height: 508px;
|
||||
border-right: 10px solid #eeeeee;
|
||||
padding-right: 20px;
|
||||
box-sizing: border-box;
|
||||
|
||||
@ -27,7 +27,7 @@
|
||||
justify-content: flex-end;
|
||||
display: inline-block;
|
||||
line-height: 30px;
|
||||
padding-right: 20px;
|
||||
padding-right: 10px;
|
||||
}
|
||||
|
||||
.deptInfoDiv-button{
|
||||
@ -39,7 +39,7 @@
|
||||
flex-grow: 1; /* 撑满剩余空间 */
|
||||
}
|
||||
.button-content{
|
||||
margin-top: 20px;
|
||||
margin-top: 40px;
|
||||
height: 30px;
|
||||
line-height: 35px;
|
||||
display: grid;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user