From 251cc3290959d2085aa3359d6f74d97db914d182 Mon Sep 17 00:00:00 2001 From: Tcsm <1377977403@qq.com> Date: 星期日, 22 十月 2023 00:44:22 +0800 Subject: [PATCH] 修改了表格的行高,以及数据过长的部分用省略号表示 --- ruoyi-ui/src/views/marry/index.vue | 14 ++++++++++++-- 1 files changed, 12 insertions(+), 2 deletions(-) diff --git a/ruoyi-ui/src/views/marry/index.vue b/ruoyi-ui/src/views/marry/index.vue index d7e8608..5a69ee0 100644 --- a/ruoyi-ui/src/views/marry/index.vue +++ b/ruoyi-ui/src/views/marry/index.vue @@ -1,5 +1,5 @@ <template> - <div class="app-container"> + <div class="app-container" id="printable-content"> <!-- 鍥炲埌椤堕儴--> <el-backtop :bottom="150" :right="30"> <el-button type="primary" circle @@ -144,6 +144,15 @@ @click="handleExport" v-hasPermi="['family:note:export']" >瀵煎嚭</el-button></el-col> + + <el-col style="padding-top: 10px;"> + <el-button + plain + style="width: 80px;height: 32px;background: #FFDDE3;" + v-print="'#printable-content'" + v-hasPermi="['family:note:export']" + >鎵撳嵃</el-button></el-col> + </el-row> @@ -759,10 +768,11 @@ //涓汉淇℃伅 listMarry(this.queryParams).then(response => { - if(response.data.length == 0){ + if(response.data.length === 0){ this.loading = false; this.marryList={}; this.oldSpouseList = {}; + console.log(this.marryList) } else{ this.marryList = response.data; -- Gitblit v1.9.1