From db0607d0522ad9fd51d344b6cb49ee66de24e889 Mon Sep 17 00:00:00 2001 From: Tcsm <1377977403@qq.com> Date: 星期二, 25 四月 2023 00:13:04 +0800 Subject: [PATCH] 接入蓝湖样式和解决了一些bug: 1.在修改页面去掉了编辑按钮,点击编辑后跳转修改并且不会显示编辑按钮。 2.查看详情的方式从点击“查看详细”变成点击某行可以跳转详细信息 3.“电子文件”列换成文件图标 --- ruoyi-ui/src/views/collection/index.vue | 25 +++++++++++-------------- 1 files changed, 11 insertions(+), 14 deletions(-) diff --git a/ruoyi-ui/src/views/collection/index.vue b/ruoyi-ui/src/views/collection/index.vue index aa06d9f..4a1c8c7 100644 --- a/ruoyi-ui/src/views/collection/index.vue +++ b/ruoyi-ui/src/views/collection/index.vue @@ -154,7 +154,7 @@ <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar> </el-row> </div> - <el-table v-loading="loading" :data="collectionList" @selection-change="handleSelectionChange" :row-class-name="tableRowClassName" style="background: #FFEFF2; border-radius: 14px 14px 14px 14px;"> + <el-table v-loading="loading" :data="collectionList" @selection-change="handleSelectionChange" @row-click="handleCheck" :row-class-name="tableRowClassName" style="background: #FFEFF2; border-radius: 14px 14px 14px 14px;"> <el-table-column type="selection" width="25" align="center" /> <!-- <el-table-column label="搴忓彿" prop="id" sortable width="80" />--> <el-table-column label="鑾峰緱鏃堕棿" prop="happenTime" sortable width="100" align="center"> @@ -180,14 +180,10 @@ </el-table-column> <el-table-column label="鐢靛瓙鏂囦欢" prop="url" align="center" sortable width="110" > <template slot-scope="scope"> -<!-- <el-image style="width: 100px; height: 100px" :src="'http://47.93.189.255:8080/'+ scope.row.url" fit="cover"></el-image>--> - <span v-if= "scope.row.url ==null" ><img src="../../assets/images/鏂囦欢澶�-0.png" /></span> - + <span v-if= "scope.row.url == ','" ><img src="../../assets/images/鏂囦欢澶�-0.png" /></span> <span v-else><img src="../../assets/images/鏂囦欢澶�-1.png" /></span> - </template> </el-table-column> - <el-table-column label="澶囨敞" prop="remark" sortable width="140" align="center"> <template slot-scope="scope">{{scope.row.remark? scope.row.remark: '鈥斺�斺�斺��'}}</template> @@ -212,12 +208,12 @@ size="mini" @command="(command) => handleCommand(command, scope.row)" v-hasPermi="['system:role:edit']"> - <el-button - size="mini" - type="text" - icon="el-icon-d-arrow-right" - @click="handleCheck(scope.row)" - >鏌ョ湅璇︽儏</el-button> +<!-- <el-button--> +<!-- size="mini"--> +<!-- type="text"--> +<!-- icon="el-icon-d-arrow-right"--> +<!-- @click="handleCheck(scope.row)"--> +<!-- >鏌ョ湅璇︽儏</el-button>--> </el-dropdown> </template> @@ -242,8 +238,6 @@ <el-input v-model="formDat.type" placeholder="璇疯緭鍏ョ被鍒�" clearable :style="{width: '100%'}" > </el-input> </el-form-item> - - <el-form-item label="鍚嶇О" prop="name"> <el-input v-model="formDat.name" placeholder="璇疯緭鍏ュ悕绉�" clearable :style="{width: '100%'}" > </el-input> @@ -685,6 +679,9 @@ }; </script> <style> +.app-container{ + background-color: #FEF7FC; +} .el-table__row.statistics-warning-row { background: #E0EEFE; -- Gitblit v1.9.1