【修改】统一样式

This commit is contained in:
zhoulingpo
2023-05-10 16:51:38 +08:00
parent 35954268bc
commit 5535cbe785
2 changed files with 10 additions and 7 deletions
+2 -2
View File
@@ -47,7 +47,7 @@
<div class="table"> <div class="table">
<el-row> <el-row>
<el-col :span="3" class="treeList "> <el-col :span="4" class="treeList ">
<el-input placeholder="输入关键字进行过滤" v-model="filterText"> <el-input placeholder="输入关键字进行过滤" v-model="filterText">
</el-input> </el-input>
<div class="lef-tree scroll-myself"> <div class="lef-tree scroll-myself">
@@ -74,7 +74,7 @@
</div> </div>
</el-col> </el-col>
<el-col :span="21" style="padding-left: 15px"> <el-col :span="20" style="padding-left: 15px">
<vxe-table ref="xTable" :data="tableData" :empty-render="{name: 'NotData'}" align="center" border stripe <vxe-table ref="xTable" :data="tableData" :empty-render="{name: 'NotData'}" align="center" border stripe
v-table-min-height="'calc(100vh - 320px)'" v-table-min-height="'calc(100vh - 320px)'"
@checkbox-all="selectAllEvent" @checkbox-change="selectChangeEvent"> @checkbox-all="selectAllEvent" @checkbox-change="selectChangeEvent">
+8 -5
View File
@@ -41,8 +41,9 @@
</div> </div>
</el-row> </el-row>
</div> </div>
<div class="table">
<el-row> <el-row>
<el-col :span="3" class="treeList"> <el-col :span="4" class="treeList">
<el-input placeholder="输入关键字进行过滤" v-model="filterText"> <el-input placeholder="输入关键字进行过滤" v-model="filterText">
</el-input> </el-input>
<div class="lef-tree scroll-myself" > <div class="lef-tree scroll-myself" >
@@ -68,7 +69,7 @@
</el-tree> </el-tree>
</div> </div>
</el-col> </el-col>
<el-col :span="21" style="padding-left: 15px"> <el-col :span="20" style="padding-left: 15px">
<div class="table"> <div class="table">
<vxe-table ref="xTable" :data="tableData" :empty-render="{name: 'NotData'}" align="center" border stripe v-table-min-height="'calc(100vh - 320px)'"> <vxe-table ref="xTable" :data="tableData" :empty-render="{name: 'NotData'}" align="center" border stripe v-table-min-height="'calc(100vh - 320px)'">
<vxe-column show-overflow show-header-overflow type="seq" title="序号" width="77"> <vxe-column show-overflow show-header-overflow type="seq" title="序号" width="77">
@@ -100,7 +101,7 @@
</div> </div>
</el-col> </el-col>
</el-row> </el-row>
</div>
<!--操作日志--> <!--操作日志-->
<el-dialog title="操作日志" :visible.sync="dialogLog" width="1100px" :close-on-click-modal="false" <el-dialog title="操作日志" :visible.sync="dialogLog" width="1100px" :close-on-click-modal="false"
:close-on-press-escape="false" modal-append-to-body append-to-body> :close-on-press-escape="false" modal-append-to-body append-to-body>
@@ -945,6 +946,8 @@ export default {
this.q.pageNo = 1; this.q.pageNo = 1;
this.reportList(); this.reportList();
} }
}).catch(err=>{
this.tableData =[]
}) })
}, },
// 日期列表 // 日期列表
@@ -999,8 +1002,8 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
.treeList{ .treeList{
padding: 20px; padding: 20px 20px 0;
margin-left: 13px; //margin-left: 13px;
box-shadow: 0 2px 4px rgba(0, 0, 0, .12), 0 0 6px rgba(0, 0, 0, .04); box-shadow: 0 2px 4px rgba(0, 0, 0, .12), 0 0 6px rgba(0, 0, 0, .04);
.filter-tree{ .filter-tree{
margin-top: 20px; margin-top: 20px;