摘要: 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) 编辑
摘要: 一、npm i vue3-print-nb 1、按钮: <el-button type="danger" v-print="printObj" icon="Star">交接并打印</el-button> 2、打印区域外边添加div <div ref="printContent" id="printC 阅读全文
posted @ 2023-11-03 11:33 flyComeOn 阅读(132) 评论(0) 推荐(0) 编辑
摘要: 一、调用页面 //路由 import { useRouter } from 'vue-router let $router = useRouter() // 车组调整页面 const handleCar=(row:any) =>{ $router.push({path:"/test/edit",qu 阅读全文
posted @ 2023-11-03 11:07 flyComeOn 阅读(554) 评论(0) 推荐(0) 编辑
摘要: 1、列表中鼠标放在不同单元格显示不同的背景颜色 <el-table v-resize:44 :data="tableData" class="table marking-table" border style='margin: 10px 0px' highlight-current-row elem 阅读全文
posted @ 2023-11-03 10:47 flyComeOn 阅读(64) 评论(0) 推荐(0) 编辑