摘要: 一、后端配置支持分页控件 1、 在pom.xml添加上依赖 <!-- Mybatis-Plus --> <dependency> <groupId>com.baomidou</groupId> <artifactId>mybatis-plus-boot-starter</artifactId> <v 阅读全文
posted @ 2024-03-26 13:51 flyComeOn 阅读(13) 评论(0) 推荐(0) 编辑
摘要: 一、安装插件 1、npm install vue-print-nb --save 二、引入Vue项目 在main.js中添加-- 全局挂载 import Print from 'vue-print-nb' Vue.use(Print) 三、前端代码 一、操作项中的打印按钮 <span title=" 阅读全文
posted @ 2024-03-20 16:46 flyComeOn 阅读(6) 评论(0) 推荐(0) 编辑
摘要: 一、前端图片 <el-form-item label="案件文件"> <el-image fit="contain" v-for="(item,index) of fileList" :key="index" :src="item.url" :preview-src-list="getImgList 阅读全文
posted @ 2024-03-19 11:07 flyComeOn 阅读(141) 评论(0) 推荐(0) 编辑
摘要: 一、前端列表多选 <el-table ref="multipleTable" :data="tableData" stripe style="width: 99%;margin-bottom: 10px;" :height="$publicjs.tableHeight" @selection-cha 阅读全文
posted @ 2024-03-19 11:03 flyComeOn 阅读(74) 评论(0) 推荐(0) 编辑
摘要: 一、前端 <el-row> <el-form-item label="上传文件" props="fileList"> <el-upload ref="upload" action="#" list-type="picture-card" multiple accept="image/jpeg, im 阅读全文
posted @ 2024-03-19 10:57 flyComeOn 阅读(18) 评论(0) 推荐(0) 编辑
摘要: 一、根据条件查询结果数据 // 查询每个分子公司的数据 private List<OrgDeptCountData> getCompanyList( Map<String,Object> map){ // 获得公司记录 List<BusiGunAcessRecordRealEx> scgyList 阅读全文
posted @ 2024-01-31 11:29 flyComeOn 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 一、类型转换之间的工具类 package com.hengan.citicPlatGunNew.utils; import org.apache.commons.compress.utils.Lists; import org.springframework.beans.BeanUtils; imp 阅读全文
posted @ 2024-01-31 10:48 flyComeOn 阅读(5) 评论(0) 推荐(0) 编辑
摘要: 一、图片 1、 <div class="loginDiv" :style="'background-image:url('+Background+');' "> 2、 <img :src="Logo" class="img-logo"> <script> <!-- 引入样式--> import '@ 阅读全文
posted @ 2024-01-31 09:41 flyComeOn 阅读(16) 评论(0) 推荐(0) 编辑
摘要: 一、安装适配插件 1、npm i postcss-px-to-viewport@1.1.1 2、在根目录添加文件postcss.config.js,内容如下 module.exports = { plugins: { 'postcss-px-to-viewport': { unitToConvert 阅读全文
posted @ 2024-01-30 16:58 flyComeOn 阅读(15) 评论(0) 推荐(0) 编辑
摘要: StringUtils.isNotEmpty(param) 字符串是否为空的判断 1、获得集合中某一列数据形成一个新的集合 List<String> setCode =resultList.stream().map(e -> e.getSetCode()).collect(Collectors.to 阅读全文
posted @ 2023-11-03 13:53 flyComeOn 阅读(5) 评论(0) 推荐(0) 编辑