摘要: 图片标记地点以及图片放大缩小,标记地点随着图片位置计算定位位置,动态连接标记点之间的连线 如有需要请下载leader_line.js文件https://pan.baidu.com/s/1zNJhiGsH32hNpTwAEsyQaQ?pwd=1997 <template> <div style="height:100%;overflow: hidden;width:100%" v-load 阅读全文
posted @ 2023-02-17 15:01 梦梦小跟班 阅读(358) 评论(0) 推荐(0)
摘要: mounted() { 监听滚动条 this.$refs.scrollbar.wrap.addEventListener("scroll", this.scrollContent,true) }, scrollContent(e){ // console.log(document.getElemen 阅读全文
posted @ 2023-01-30 09:34 梦梦小跟班 阅读(514) 评论(0) 推荐(0)
摘要: import FileSaver from 'file-saver' import XLSXStyle from "xlsx-style"; import XLSX from 'xlsx' vue 2.0版本xlsx-style ./cptable' 报错:Can't resolve './cpta 阅读全文
posted @ 2022-12-30 14:07 梦梦小跟班 阅读(725) 评论(0) 推荐(0)
摘要: 在app.vue里面定义 reload() { this.isRouterAlive = false this.$nextTick(function () { this.isRouterAlive = true }) }, <router-view v-if="isRouterAlive"></ro 阅读全文
posted @ 2022-03-18 10:54 梦梦小跟班 阅读(427) 评论(0) 推荐(0)
摘要: <el-tree :highlight-current="highlight" :data="folderList" :props="defaultProps" @node-contextmenu="rightClick" @node-click="handleNodeClick" style="m 阅读全文
posted @ 2022-01-14 11:21 梦梦小跟班 阅读(1874) 评论(1) 推荐(0)
摘要: 首先引入插件 import XLSX from 'xlsx' import FileSaver from 'file-saver' 封装导出的方法 tableid代表的是导出页面表格的id;sheetName导出文件的名称;css导出文件的样式 export function tableToExce 阅读全文
posted @ 2021-12-17 10:38 梦梦小跟班 阅读(113) 评论(0) 推荐(0)
摘要: 在实现打印功能时候,可以完整分页,需要配合二维数组来使用,避免下一页数据展示到上一页 阅读全文
posted @ 2021-12-08 09:33 梦梦小跟班 阅读(198) 评论(0) 推荐(0)