摘要: <el-form :model="ruleForm" :rules="rules" ref="ruleForm" l abel-width="100px" class="demo-ruleForm"> rules: { name: [ { required: true, message: '请输入活 阅读全文
posted @ 2023-01-08 18:45 wode林夕 阅读(94) 评论(0) 推荐(0) 编辑
摘要: 第一种: Object.assign({}, row); {} --> 要拷贝到的对象 row --> 被拷贝的对象 第二种: 新建一个lodash.js ,js 文件太大了,需要私聊 import _ from '@/utils/lodash'; //引入 this.ruleForm = _.cl 阅读全文
posted @ 2023-01-08 18:31 wode林夕 阅读(13) 评论(0) 推荐(0) 编辑
摘要: 废话少说,直接上代码 第一种: timeFlagFormatter(row, column) { const preasCode = row.timeFlag; if (preasCode '0') { return '日原因'; } else if (preasCode '1') { return 阅读全文
posted @ 2023-01-08 17:57 wode林夕 阅读(46) 评论(0) 推荐(0) 编辑
摘要: 刚接触vue 前端项目,这也只是一种很low 的解决方案 ,废话少说直接上代码 loading 结合 + 定时器 data(){ return{ loading: false timer: null, //定时器名称 } } //使用定时器 this.loading = true this.time 阅读全文
posted @ 2023-01-08 17:50 wode林夕 阅读(9) 评论(0) 推荐(0) 编辑
摘要: 1:首先使用模糊查询的时候 1: 在mysql 中 select <include refid="Base_Column_List" /> FROM a_ll_dist_g_reas_record <where> <if test="null != orgName and '' != orgName 阅读全文
posted @ 2023-01-08 17:33 wode林夕 阅读(14) 评论(0) 推荐(0) 编辑
摘要: 后端代码: 引入依赖 <dependency> <groupId>cn.hutool</groupId> <artifactId>hutool-all</artifactId> <version>5.3.8</version> </dependency> Date date = new Date() 阅读全文
posted @ 2023-01-08 17:05 wode林夕 阅读(71) 评论(0) 推荐(0) 编辑