From 4f55c0255e5e68b3685d1510062dff6e1e3dbc48 Mon Sep 17 00:00:00 2001 From: lkk <364857242@qq.com> Date: 星期三, 16 四月 2025 14:13:07 +0800 Subject: [PATCH] 1 --- src/views/hosp/advicerules/index.vue | 71 ++++++++++++++++------------------- 1 files changed, 32 insertions(+), 39 deletions(-) diff --git a/src/views/hosp/advicerules/index.vue b/src/views/hosp/advicerules/index.vue index abbb93c..ff6154e 100644 --- a/src/views/hosp/advicerules/index.vue +++ b/src/views/hosp/advicerules/index.vue @@ -50,7 +50,6 @@ <el-col :span="1.5"> <el-button type="primary" - plain icon="el-icon-plus" size="mini" @click="handleAdd" @@ -60,8 +59,7 @@ </el-col> <el-col :span="1.5"> <el-button - type="success" - plain + type="primary" icon="el-icon-edit" size="mini" :disabled="single" @@ -72,8 +70,7 @@ </el-col> <el-col :span="1.5"> <el-button - type="danger" - plain + type="primary" icon="el-icon-delete" size="mini" :disabled="multiple" @@ -82,27 +79,15 @@ >鍒犻櫎 </el-button> </el-col> - <el-col :span="1.5"> - <el-button - type="warning" - plain - icon="el-icon-upload2" - size="mini" - @click="handleImport" - >瀵煎叆 + <!-- <el-col :span="1.5"> + <el-button type="primary" icon="el-icon-upload2" size="mini" @click="handleImport">瀵煎叆 </el-button> </el-col> <el-col :span="1.5"> - <el-button - type="warning" - plain - icon="el-icon-download" - size="mini" - @click="handleExport" - v-hasPermi="['hosp:advicerules:export']" - >瀵煎嚭 + <el-button type="primary" icon="el-icon-download" size="mini" @click="handleExport" + v-hasPermi="['hosp:advicerules:export']">瀵煎嚭 </el-button> - </el-col> + </el-col> --> <right-toolbar :showSearch.sync="showSearch" @queryTable="getList" @@ -110,7 +95,7 @@ </el-row> <el-row :gutter="20" style="display: flex"> - <el-col :span="4" :xs="24"> + <el-col :span="3" :xs="24"> <div class="head-container"> <el-input v-model="xmmc" @@ -137,7 +122,7 @@ </div> </div> </el-col> - <div style="width: 100%"> + <el-col :span="20" :xs="24"> <el-table v-loading="loading" :data="advicerulesList" @@ -222,15 +207,19 @@ </template> </el-table-column> </el-table> - </div> + <div class="pag"> + <div class="pag1"> + <pagination + v-show="total > 0" + :total="total" + :page.sync="queryParams.pageNum" + :limit.sync="queryParams.pageSize" + @pagination="getListByXmId" + /> + </div> + </div> + </el-col> </el-row> - <pagination - v-show="total > 0" - :total="total" - :page.sync="queryParams.pageNum" - :limit.sync="queryParams.pageSize" - @pagination="getListByXmId" - /> <!-- 娣诲姞鎴栦慨鏀逛綋妫�椤圭洰寤鸿瑙勫垯鏂拌〃瀵硅瘽妗� --> <el-dialog @@ -924,16 +913,11 @@ </script> <style scoped> .scrollable-container { - width: 260px; - /* 璁剧疆瀹瑰櫒鐨勫搴� */ - height: 629px; - /* 璁剧疆瀹瑰櫒鐨勯珮搴� */ + width: 200px; + height: 520px; overflow: auto; - /* 鍏佽鍐呭婧㈠嚭鏃舵樉绀烘粴鍔ㄦ潯 */ border: 1px solid #ccc; - /* 鍙�夛細娣诲姞杈规浠ユ洿濂藉湴鏄剧ず瀹瑰櫒 */ position: relative; - /* 鍙�夛細浣垮鍣ㄥ唴鐨勭粷瀵瑰畾浣嶅厓绱犺兘澶熸纭樉绀� */ } .content { @@ -942,4 +926,13 @@ height: 1000px; /* 璁剧疆鍐呭鐨勯珮搴︼紝浠ヨЕ鍙戝瀭鐩存粴鍔ㄦ潯 */ } +.pag { + width: 100%; + display: flex; + justify-content: center; +} + +.pag1 { + width: 65%; +} </style> -- Gitblit v1.8.0