From 35bff42b22d092d164ef4b9db8701f839c57bd9c Mon Sep 17 00:00:00 2001 From: 唐耀东 <18861537@qq.com> Date: 星期六, 11 六月 2022 11:33:08 +0800 Subject: [PATCH] 提交代码 --- src/views/components/manufacturer/list.vue | 11 ++++++----- 1 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/views/components/manufacturer/list.vue b/src/views/components/manufacturer/list.vue index c9afa4f..2f0af28 100644 --- a/src/views/components/manufacturer/list.vue +++ b/src/views/components/manufacturer/list.vue @@ -32,11 +32,11 @@ <span>{{ scope.$index + (queryParams.pageNum - 1) * queryParams.pageSize + 1 }} </span> </template> </el-table-column> - <el-table-column label="鍘傚晢鍚嶇О" align="center" prop="name" /> - <el-table-column label="鍘傚晢浠g爜" align="center" prop="code" /> - <el-table-column label="鑱旂郴鏂瑰紡" align="center" prop="phone" /> - <el-table-column label="閭" align="center" prop="mailbox" /> - <el-table-column label="鑱旂郴鍦板潃" align="center" prop="contactAddress" show-overflow-tooltip /> + <el-table-column label="鍘傚晢鍚嶇О" min-width="220" align="center" prop="name" /> + <el-table-column label="鍘傚晢浠g爜" min-width="180" align="center" prop="code" /> + <el-table-column label="鑱旂郴鏂瑰紡" min-width="150" align="center" prop="phone" /> + <el-table-column label="閭" min-width="180" align="center" prop="mailbox" /> + <el-table-column label="鑱旂郴鍦板潃" min-width="180" align="center" prop="contactAddress" show-overflow-tooltip /> </el-table> <pagination @@ -96,6 +96,7 @@ }, handleCurrentChange(v) { this.currentRow = v; + this.$emit('setCurrentRow', this.currentRow) } } }; -- Gitblit v1.9.1