5907b297 by 杨威

添加/更正/综合查询增加二级菜单

1 parent d98a8767
<template>
<el-tabs v-model="activeName" class="tabs">
<el-tab-pane label="添加" name="tj">
<div class="main">
<p class="tips">查询条件</p>
<SearchHead @getSearchCondition="geQuerytData" :type="type"></SearchHead>
......@@ -50,6 +52,8 @@
</div>
</div>
</div>
</el-tab-pane>
</el-tabs>
</template>
<script>
......@@ -63,6 +67,7 @@
props: {},
data() {
return {
activeName:'tj',
type:'add',
total: 0,
pageNo: 1,
......@@ -157,6 +162,15 @@
};
</script>
<style scoped lang="less">
.tabs{
height: calc(100% - 50px);
/deep/.el-tabs__content{
height: 100%;
/deep/.el-tab-pane{
height: 100%;
}
}
.main {
width: 100%;
height: 100%;
......@@ -188,4 +202,5 @@
}
}
}
}
</style>
......
<template>
<el-tabs v-model="activeName" class="tabs">
<el-tab-pane label="更正" name="gz">
<div class="main">
<p class="tips">查询条件</p>
<SearchHead @getSearchCondition="geQuerytData" :type="type"></SearchHead>
......@@ -57,6 +59,8 @@
</div>
</div>
</div>
</el-tab-pane>
</el-tabs>
</template>
<script>
......@@ -71,6 +75,7 @@
props: {},
data() {
return {
activeName:'gz',
type:'modify',
qszt: ['1'],
total: 0,
......@@ -226,6 +231,14 @@
};
</script>
<style scoped lang="less">
.tabs{
height: calc(100% - 50px);
/deep/.el-tabs__content{
height: 100%;
/deep/.el-tab-pane{
height: 100%;
}
}
.main {
width: 100%;
height: 100%;
......@@ -257,4 +270,5 @@
}
}
}
}
</style>
......
<template>
<el-tabs v-model="activeName" class="tabs">
<el-tab-pane label="综合查询" name="zhcx">
<div class="main">
<p class="tips">查询条件</p>
<SearchHead @getSearchCondition="geQuerytData" :type="type"></SearchHead>
......@@ -54,6 +56,8 @@
</div>
</div>
</el-tab-pane>
</el-tabs>
</template>
<script>
......@@ -67,6 +71,7 @@
props: {},
data() {
return {
activeName:'zhcx',
type:'all',
total: 0,
pageNo: 1,
......@@ -183,11 +188,19 @@
};
</script>
<style scoped lang="less">
.tabs{
height: calc(100% - 50px);
/deep/.el-tabs__content{
height: 100%;
/deep/.el-tab-pane{
height: 100%;
}
}
.main {
width: 100%;
height: 100%;
box-sizing: border-box;
padding: 0 18px;
padding: 0 18px 0 0;
display: flex;
flex-direction: column;
background-color: #EAEDF5;
......@@ -223,4 +236,5 @@
width: 230px;
}
}
}
</style>
......