feat:组员名单抽屉遮挡问题,概览无数据的跳转

This commit is contained in:
岳佳鑫
2022-10-27 11:30:31 +08:00
parent 315f5b4c18
commit e839da89d8
6 changed files with 26 additions and 14 deletions

View File

@@ -120,9 +120,10 @@
<button class="btn btn2" @click="closeModal">确定</button> <button class="btn btn2" @click="closeModal">确定</button>
</div> </div>
</a-modal> </a-modal>
<stu-add v-model:Stuvisible="Stuvisible" />
</div> </div>
</a-drawer> </a-drawer>
<stu-add v-model:Stuvisible="Stuvisible" />
</template> </template>
<script> <script>

View File

@@ -3,7 +3,7 @@
:visible="Stuvisible" :visible="Stuvisible"
class="drawerStyle stuadd" class="drawerStyle stuadd"
placement="right" placement="right"
width="60%" width="70%"
@after-visible-change="afterVisibleChange" @after-visible-change="afterVisibleChange"
> >
<div class="drawerMain"> <div class="drawerMain">
@@ -1048,7 +1048,7 @@ export default {
<style lang="scss"> <style lang="scss">
.stuadd { .stuadd {
.drawerMain { .drawerMain {
min-width: 540px; min-width: 600px;
margin: 0px 32px 0px 32px; margin: 0px 32px 0px 32px;
// overflow-y: scroll; // overflow-y: scroll;
display: flex; display: flex;

View File

@@ -3,7 +3,7 @@
:visible="Svisible" :visible="Svisible"
class="drawerStyle subset" class="drawerStyle subset"
placement="right" placement="right"
width="70%" width="50%"
@after-visible-change="afterVisibleChange" @after-visible-change="afterVisibleChange"
> >
<div class="drawerMain"> <div class="drawerMain">
@@ -54,9 +54,10 @@
<button class="btn2">确定</button> <button class="btn2">确定</button>
</div> </div>
</div> </div>
<!-- 创建小组抽屉 -->
<add-group v-model:Avisible="Avisible" />
</a-drawer> </a-drawer>
<!-- 创建小组抽屉 -->
<add-group v-model:Avisible="Avisible" />
</template> </template>
<script> <script>

View File

@@ -45,14 +45,17 @@
style="width: 270px" style="width: 270px"
/> />
</div> </div>
<div class="btnn btn1"> <div style="display: flex;margin-bottom: 20px">
<div class="search"></div> <div class="btnn btn1">
<div class="btnText">搜索</div> <div class="search"></div>
</div> <div class="btnText">搜索</div>
<div class="btn btn2"> </div>
<div class="search"></div> <div class="btn btn2">
<div class="btnText">重置</div> <div class="search"></div>
<div class="btnText">重置</div>
</div>
</div> </div>
</div> </div>
<div class="btns"> <div class="btns">
<div class="btn btn3" @click="showModal1"> <div class="btn btn3" @click="showModal1">

View File

@@ -2229,6 +2229,7 @@ export default {
}; };
const tostudent = () => { const tostudent = () => {
state.activeKey = "3"; state.activeKey = "3";
state.activeKey1 = "8";
}; };
const showModal = () => { const showModal = () => {
state.pubproject = true; state.pubproject = true;

View File

@@ -51,7 +51,7 @@
:data-source="dataSource" :data-source="dataSource"
:loading="tableDataTotal === -1 ? true : false" :loading="tableDataTotal === -1 ? true : false"
expandRowByClick="true" expandRowByClick="true"
:scroll="{ x: 1500, y: 800 }" :scroll="{ x: 1500}"
@expand="expandTable" @expand="expandTable"
:pagination="false" :pagination="false"
/> />
@@ -108,31 +108,37 @@ export default {
columns: [ columns: [
{ {
title: '姓名', title: '姓名',
width: 50,
dataIndex: 'name', dataIndex: 'name',
key: 'name', key: 'name',
}, },
{ {
title: '部门', title: '部门',
width: 50,
dataIndex: 'department', dataIndex: 'department',
key: 'department', key: 'department',
}, },
{ {
width: 50,
title: '岗位', title: '岗位',
dataIndex: 'post', dataIndex: 'post',
key: 'post', key: 'post',
}, },
{ {
title: '项目', title: '项目',
width: 50,
dataIndex: 'project', dataIndex: 'project',
key: 'project', key: 'project',
}, },
{ {
title: '学习路径', title: '学习路径',
width: 50,
dataIndex: 'learning', dataIndex: 'learning',
key: 'learning', key: 'learning',
}, },
{ {
title: '提交时间', title: '提交时间',
width: 50,
dataIndex: 'submit', dataIndex: 'submit',
key: 'submit', key: 'submit',
}, },