From 7b2fffec6f45d2b5d4c827efbeee4a2e21c0adc0 Mon Sep 17 00:00:00 2001 From: value <z1292839451@163.com> Date: 星期四, 21 九月 2023 16:52:20 +0800 Subject: [PATCH] 9.21 --- src/components/view/standard-table/material.vue | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/components/view/standard-table/material.vue b/src/components/view/standard-table/material.vue index 2f53cc6..ab2c6ae 100644 --- a/src/components/view/standard-table/material.vue +++ b/src/components/view/standard-table/material.vue @@ -1,7 +1,7 @@ <template> <div class="standard"> - <div> - <el-table :data="tableData" max-height="675" row-key="rowId" border + <div style="width: 100%;height: 68vh;overflow-x: auto;"> + <el-table :data="tableData" row-key="rowId" border height="calc(90vh - 200px)" @select-all="selectAll" @select="selectTr" ref="multipleTable" @selection-change="handleSelectionChange" default-expand-all :tree-props="{ children: 'children', hasChildren: 'hasChildren' }"> @@ -9,7 +9,7 @@ </el-table-column> <el-table-column type="index" width="60" label="搴忓彿"> </el-table-column> - <el-table-column prop="father" label="宸ュ簭" :resizable="false"> + <el-table-column prop="father" label="宸ュ簭" width="200" :resizable="false"> <template slot-scope="scope"> <el-tag class="tag" v-if="scope.row.father != null" type="primary">01</el-tag> <span style="color: #000000"> @@ -17,7 +17,7 @@ </span> </template> </el-table-column> - <el-table-column prop="tname" sortable label="宸ヨ壓鍚嶇О" :resizable="false"> + <el-table-column prop="tname" label="宸ヨ壓鍚嶇О" width="200" :resizable="false"> <template slot-scope="scope"> <el-tag type="success" v-if="scope.row.tname != null" class="tag">02</el-tag> <span style="color: #000000"> @@ -25,7 +25,7 @@ </span> </template> </el-table-column> - <el-table-column prop="mname" label="鏉愭枡鍚嶇О" :resizable="false"> + <el-table-column prop="mname" label="鏉愭枡鍚嶇О" width="200" :resizable="false"> <template slot-scope="scope"> <el-tag type="info" class="tag" color="#faf2ff" v-if="scope.row.mname != null"> <span style="color: #e1affb">03</span> -- Gitblit v1.9.3