摘要: 问题:表单的validator校验,无法自动撑起tip提示的高度,导致遮盖了下边内容 https://blog.csdn.net/xiaoyuer_2020/article/details/136155506 解决方式:将tip提示的样式的定位设置为遵循正常的文档流对象,实现自适应高度 .el-fo 阅读全文
posted @ 2025-01-07 10:28 .Tik 阅读(21) 评论(0) 推荐(0) 编辑
摘要: element-ui.scss 表格头 .el-table__header-wrapper .el-table__header tr>th { background-color: #f6f8fa; // background-color: #E9EEFA; font-size: 15px; font 阅读全文
posted @ 2024-12-27 17:04 .Tik 阅读(8) 评论(0) 推荐(0) 编辑
摘要: grid: { left: '100', // 固定左边刻度宽度 right: '4%', bottom: '3%', containLabel: true }, 参考:https://blog.csdn.net/tangrp/article/details/109212317 阅读全文
posted @ 2024-12-25 15:27 .Tik 阅读(95) 评论(0) 推荐(0) 编辑
摘要: 给弹窗添加关闭事件: <template> <el-dialog :title="dialog.title" :visible.sync="dialog.visible" width="60%" v-if="dialog.title '当日预警详情' || dialog.title '当月预警详情' 阅读全文
posted @ 2024-12-13 11:13 .Tik 阅读(520) 评论(0) 推荐(0) 编辑
摘要: utils/numberToChinese.js // 将四位数以内的数字转换为中文 function SectionToChinese(section) { const chnNumChar = [ '零', '一', '二', '三', '四', '五', '六', '七', '八', '九' 阅读全文
posted @ 2024-12-02 17:09 .Tik 阅读(20) 评论(0) 推荐(0) 编辑
摘要: 表单: <el-form-item label="通知人所在科室:" prop="ksdm"> <el-select v-model="formData.ksdm" placeholder="请选择" style="width: 90%" clearable filterable @change=" 阅读全文
posted @ 2024-12-02 15:59 .Tik 阅读(9) 评论(0) 推荐(0) 编辑
摘要: uniapp官网: https://uniapp.dcloud.net.cn/component/uniui/uni-breadcrumb.html uniapp组件: https://uniapp.dcloud.net.cn/component/button.html uCharts官网: htt 阅读全文
posted @ 2024-11-28 10:01 .Tik 阅读(61) 评论(0) 推荐(0) 编辑
摘要: 问题:表格数据return的时候文字过长导致悬浮框偏移到表格其他列上去了 <div style="width: 100px;" data-toggle="tooltip" data-placement="top" title="${displayValue}"> ${ displayValue }< 阅读全文
posted @ 2024-11-14 17:46 .Tik 阅读(78) 评论(0) 推荐(0) 编辑
摘要: 1、在utils文件夹下创建中间件middle.js // 中间件 实现跨页面调用方法 import Vue from 'vue' export default new Vue 2、被调用页面代码 <template></template> <script> import Middle from ' 阅读全文
posted @ 2024-11-11 15:45 .Tik 阅读(51) 评论(0) 推荐(0) 编辑
摘要: save2() { // 在点击确认按钮时,首先清除表单的校验错误 this.$refs.formRef2.clearValidate(); // 重新进行校验 this.$refs.formRef2.validate((valid) => { if (valid) { // 修改操作 if (th 阅读全文
posted @ 2024-11-07 10:48 .Tik 阅读(31) 评论(0) 推荐(0) 编辑
点击右上角即可分享
微信分享提示