Commit 81c4854d authored by “yiyousong”'s avatar “yiyousong”

perf:优化工作人员页面部门和窗口搜索弹窗

parent 84e0df65
...@@ -567,7 +567,6 @@ export default { ...@@ -567,7 +567,6 @@ export default {
}, },
created() { created() {
this.getModel(); this.getModel();
console.log(process.env.NODE_ENV);
}, },
computed: { computed: {
Visible: { Visible: {
......
<template> <template>
<a-spin tip="正在上传中..." :spinning="spinning"> <a-spin tip="正在上传中..." :spinning="spinning">
<div class="website flex flexc"> <div class="personnel flex flexc">
<TabHeader label="工作人员管理"></TabHeader> <TabHeader label="工作人员管理"></TabHeader>
<div class="pd15 flex1 auto-scroll-y"> <div class="pd15 flex1 auto-scroll-y">
<div class="person_chang flex aic mb10"> <div class="person_chang flex aic mb10">
...@@ -21,6 +21,7 @@ ...@@ -21,6 +21,7 @@
{{ curDept }} {{ curDept }}
</div> </div>
<a-popover <a-popover
overlayClassName="personnel-popover"
arrowPointAtCenter arrowPointAtCenter
placement="rightTop" placement="rightTop"
title="部门列表" title="部门列表"
...@@ -80,6 +81,7 @@ ...@@ -80,6 +81,7 @@
{{ curWindow }} {{ curWindow }}
</div> </div>
<a-popover <a-popover
overlayClassName="personnel-popover"
arrowPointAtCenter arrowPointAtCenter
placement="rightTop" placement="rightTop"
title="窗口列表" title="窗口列表"
...@@ -661,9 +663,15 @@ export default { ...@@ -661,9 +663,15 @@ export default {
}, },
}; };
</script> </script>
<style lang="less">
.personnel-popover {
.ant-popover-inner-content {
padding: 0px !important;
}
}
</style>
<style lang="less" scoped> <style lang="less" scoped>
.website { .personnel {
width: 100%; width: 100%;
height: 100%; height: 100%;
.right { .right {
...@@ -783,10 +791,12 @@ export default { ...@@ -783,10 +791,12 @@ export default {
} }
} }
} }
.dept-list { .dept-list {
width: 500px; width: 620px;
min-height: 50px; min-height: 50px;
max-height: 400px; max-height: 400px;
padding: 12px 16px;
overflow-y: auto; overflow-y: auto;
.ant-radio-group { .ant-radio-group {
display: grid; display: grid;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment