Loading

摘要: 日常使用的工具链接,后期慢慢积累 阅读全文
posted @ 2022-07-18 10:26 请叫我王小胖 阅读(110) 评论(0) 推荐(0)
摘要: const gradient = new echarts.graphic.LinearGradient(0, 0, 1, 1, [ { offset: 0, color: '#1044EE' }, { offset: 1, color: '#00FFF6' } ]); option = { seri 阅读全文
posted @ 2024-12-04 15:39 请叫我王小胖 阅读(486) 评论(0) 推荐(0)
摘要: 1.pom引入poi-tl <dependency> <groupId>com.deepoove</groupId> <artifactId>poi-tl</artifactId> <version>1.7.3</version> </dependency> 2.word模版 3.业务代码 Stri 阅读全文
posted @ 2024-11-29 15:34 请叫我王小胖 阅读(548) 评论(0) 推荐(0)
摘要: 报表中按下上下左右按键input会像excel一样跳转聚焦 上下左右按键input聚焦 ### html 使用 在需要聚焦的input后加下面内容 @keydown.native="handleKeyDown($event, 0, 0)" :ref="'0_0'" 或者 @keydown.native="handleKeyDown($event, index 阅读全文
posted @ 2024-09-24 09:37 请叫我王小胖 阅读(50) 评论(0) 推荐(0)
摘要: 父组件 <template> <el-dialog :title="title" :visible.sync="open" width="1000px" append-to-body> <statement-preview :data-list="dataList" ref="statementPr 阅读全文
posted @ 2024-07-18 14:07 请叫我王小胖 阅读(421) 评论(0) 推荐(0)
摘要: eCharts记录折线图案例 option = { grid: { left: 30, right: 20, bottom: 20, top: 30, containLabel: true }, xAxis: { name: '粒径(mm)', type: 'log', nameLocation: 'middle', nameT 阅读全文
posted @ 2024-07-18 11:11 请叫我王小胖 阅读(67) 评论(0) 推荐(0)
摘要: 1.确定keep-alive标签是否存在 2.判断菜单上面路由地址是否与页面上name保持一致并且首字母大写 阅读全文
posted @ 2024-03-29 15:56 请叫我王小胖 阅读(26) 评论(0) 推荐(0)
摘要: server: { port: 80, host: true, open: true, proxy: { [env.VITE_APP_BASE_API]: { target: env.VITE_APP_API, changeOrigin: true, rewrite: (p) => p.replac 阅读全文
posted @ 2024-03-29 15:09 请叫我王小胖 阅读(240) 评论(0) 推荐(0)
摘要: 1.导入xlsx、xlsx-style、file-saver npm install --save xlsx npm install --save xlsx-style npm install --save file-saver 2.防止xlsx-style报错 vue.config.js添加 ch 阅读全文
posted @ 2024-03-28 10:11 请叫我王小胖 阅读(687) 评论(0) 推荐(0)
摘要: eCharts记录一柱形图案例 option = { color: '#8AE6C7', grid: { left: '50', right: '50', bottom: '50', containLabel: true }, textStyle: { color: 'rgba(0,0,0,.58)' }, xAxis: { ty 阅读全文
posted @ 2023-12-25 18:01 请叫我王小胖 阅读(22) 评论(0) 推荐(0)
摘要: /** *重写toFixed 解决四舍五入问题 * * @export * @param {*} data * @param {*} len */ export function toFixedFun(data, len) { const number = Number(data) if (isNa 阅读全文
posted @ 2023-12-19 16:54 请叫我王小胖 阅读(21) 评论(0) 推荐(0)