摘要: 一、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 阅读(553) 评论(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) 编辑
摘要: 1、导航功能 <template #header> <div class="card-header"> <el-icon><Watch /></el-icon> <span>实时排班信息</span> </div> </template> 2、 日期 1 <el-form-item> 2 <el-d 阅读全文
posted @ 2023-11-02 16:51 flyComeOn 阅读(45) 评论(0) 推荐(0) 编辑
摘要: public class RostDispatchApplication { public static void main(String[] args) { //下面语句使得日志输出使用异步处理,减小输出日志对性能的影响 System.setProperty("Log4jContextSelect 阅读全文
posted @ 2023-09-19 14:08 flyComeOn 阅读(25) 评论(0) 推荐(0) 编辑
摘要: <el-table class="flex-table" size="medium" :border="true" tooltip-effect="dark" highlight-current-row :data="branchTableData" id="dragTable" row-key=" 阅读全文
posted @ 2023-09-14 17:26 flyComeOn 阅读(24) 评论(0) 推荐(0) 编辑
摘要: <el-table size="medium" :border="true" :data="branchTableData" :row-style="changeColor" :stripe=false style="width: 100%;"> <el-table-column type="ind 阅读全文
posted @ 2023-09-14 17:19 flyComeOn 阅读(132) 评论(0) 推荐(0) 编辑
摘要: <!-- 排班信息 --> <el-table v-resize:44 :data="tableData" class="table" border style='margin: 10px 0px' highlight-current-row element-loading-text="数据正在加载 阅读全文
posted @ 2023-09-11 13:38 flyComeOn 阅读(85) 评论(0) 推荐(0) 编辑
摘要: <el-table v-resize:34 style="margin: 10px 0 10px" :data="tableData" :header-cell-style="{background: '#F6F6F6', height: '10px','text-align':'center'}" 阅读全文
posted @ 2023-09-05 16:38 flyComeOn 阅读(543) 评论(0) 推荐(0) 编辑
摘要: <div class="dialog_diy" > <el-dialog :visible.sync="otherShow" :close-on-click-modal='true' width="40%" height="80%"> <div slot="title" class="header- 阅读全文
posted @ 2023-06-28 16:34 flyComeOn 阅读(230) 评论(0) 推荐(0) 编辑