From a1917eca0b4f0fabf9f13648a840c2be8e2bf7f9 Mon Sep 17 00:00:00 2001 From: Fixiaobai <fixiaobai@163.com> Date: 星期三, 20 九月 2023 15:41:26 +0800 Subject: [PATCH] modified: src/components/view/standard-table/target.vue modified: src/components/view/standard.vue --- src/components/view/standard.vue | 2 +- src/components/view/standard-table/target.vue | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/components/view/standard-table/target.vue b/src/components/view/standard-table/target.vue index 85e0ecf..899209a 100644 --- a/src/components/view/standard-table/target.vue +++ b/src/components/view/standard-table/target.vue @@ -1,12 +1,12 @@ <template> <div class="standard"> - <div> - <el-table ref="multipleTable" :data="tableData" row-key="rowId" border max-height="675" + <div style="width: 100%;height: 68vh;overflow-x: auto;overflow-y: auto;"> + <el-table ref="multipleTable" :data="tableData" row-key="rowId" border @select-all="selectAll" @select="selectTr" @selection-change="handleSelectionChange" default-expand-all :tree-props="{children: 'children', hasChildren: 'hasChildren'}"> - <el-table-column type="selection" width="55"></el-table-column> - <el-table-column type="index" width="60" label="搴忓彿"></el-table-column> + <el-table-column type="selection" width="55"></el-table-column> + <el-table-column type="index" width="60" label="搴忓彿"></el-table-column> <el-table-column prop="tfather" label="宸ュ簭" width="200" :resizable="false"> <template slot-scope="scope"> <el-tag class="tag" type="primary" v-if="scope.row.tfather != null">01</el-tag> diff --git a/src/components/view/standard.vue b/src/components/view/standard.vue index e8a1cd1..a5f0e0e 100644 --- a/src/components/view/standard.vue +++ b/src/components/view/standard.vue @@ -70,7 +70,7 @@ <technology @childData="getChildData" @updateDevice="updateDevice" :tableType="tableType" :tableData="tableData"></technology> </div> <div class="contentTable" v-if="this.typeselect == 1"> - <target @childData="getChildData" :tableType="tableType" :tableData="tableData"></target> + <target @childData="getChildData" :tableType="tableType" :tableData="tableData"></target> </div> <div class="contentTable" v-if="this.typeselect == 2"> <material @childData="getChildData" :tableType="tableType" :tableData="tableData"></material> -- Gitblit v1.9.3