Uncle_MrLee

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2025年10月29日

摘要: // 配置方法 const tableSettings = computed(() => { return { ...hotTableParams, nestedHeaders: false, filters: false, columnSorting: false, height: 358, ro 阅读全文
posted @ 2025-10-29 16:57 Uncle_MrLee 阅读(12) 评论(0) 推荐(0)

2025年10月11日

摘要: <template> <div class="table-container"> <h3>类Excel表格复制粘贴示例 (修复版)</h3> <el-table ref="tableRef" :data="tableData" border style="width: 100%" @mousedow 阅读全文
posted @ 2025-10-11 18:14 Uncle_MrLee 阅读(54) 评论(0) 推荐(0)

2025年6月26日

摘要: /** * 通用Excel导出工具 * 支持根据配置动态生成Excel文件,可自定义样式、格式和内容 */ /* 使用方法 import { UniversalExcelExporter, exportExcel } from './universalExcelExport.js'; // 示例数据 阅读全文
posted @ 2025-06-26 10:12 Uncle_MrLee 阅读(34) 评论(0) 推荐(0)

2022年1月25日

摘要: var xData = [ '幼儿:1-6周岁', '儿童:7-14周岁', '少年:13-18周岁', '青年:19-44周岁', '中年:45-59周岁', '老年:60周岁以上'];var lastYearData = [ 20, 86, 52, 10,12,45];var thisYearD 阅读全文
posted @ 2022-01-25 11:13 Uncle_MrLee 阅读(370) 评论(0) 推荐(0)

摘要: let yAxisData = [ "0~5岁", "6~10岁", "11 ~ 15岁", "16 ~ 20 岁", "21 ~ 25 岁", "26 ~ 30 岁", "31 ~ 35 岁", "36 ~ 40 岁", "41 ~ 45 岁", "46 ~ 50 岁", "51 ~ 55 岁", 阅读全文
posted @ 2022-01-25 11:10 Uncle_MrLee 阅读(198) 评论(0) 推荐(0)

摘要: option = { backgroundColor: "#000", title: { text: "人口来源分布", textAlign: "center", left: "5%", top: "5%", textStyle: { color: "#F1BB4C", fontSize: 14, 阅读全文
posted @ 2022-01-25 11:08 Uncle_MrLee 阅读(65) 评论(0) 推荐(0)

摘要: const manimage ='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAABGCAYAAACkPDbJAAADAklEQVRoge3aT4hVVRzA8c9cZypBHIgxkAJJUKZFQWEuSkQCtZ0bTcUWLgIh6I+ 阅读全文
posted @ 2022-01-25 11:07 Uncle_MrLee 阅读(583) 评论(0) 推荐(0)

摘要: var dataUitName1 = ["2000", "2005", "2010", "2015", "2020"]var departmentdata1_1 = [10, 20, 30, 40,34]var departmentdata2_1 = [5, 10, 15, 20,32]var de 阅读全文
posted @ 2022-01-25 10:59 Uncle_MrLee 阅读(162) 评论(0) 推荐(0)

摘要: option = { backgroundColor: '#1a4377', grid: { left: '10%', top: 60, right: '10%', bottom: 60, }, toolbox: { feature: { saveAsImage: {} } }, series: [ 阅读全文
posted @ 2022-01-25 10:58 Uncle_MrLee 阅读(369) 评论(0) 推荐(0)

摘要: option = { backgroundColor: '#000', tooltip: { formatter: "{b} : {c}%" }, series: [{ name: "", type: "gauge", startAngle: 180, endAngle: 0, center: [" 阅读全文
posted @ 2022-01-25 10:57 Uncle_MrLee 阅读(223) 评论(0) 推荐(0)