摘要: select p3.id,p3.dept_id, p3.vehicle_id,p3.maint_items, p3.remark,IF(v.plate_code is not null and v.plate_code!='',CONCAT_WS(" ",v.plate_number,v.plate 阅读全文
posted @ 2025-03-24 10:00 flyComeOn 阅读(7) 评论(0) 推荐(0)
摘要: //去掉复核拒绝的流程returnList.removeIf(r->r.getApprovalOpinions() == -1 && r.getTaskInfo().get("activityCode").equals("REVIEW"));return returnList; removeIf 返 阅读全文
posted @ 2025-03-24 09:53 flyComeOn 阅读(85) 评论(0) 推荐(0)
摘要: <el-table-column prop="deviation" label="偏差率(%)" > <template #default="scope"> <span :style="cssMethod(scope.row.deviation)">{{ scope.row.deviation }} 阅读全文
posted @ 2025-03-11 15:28 flyComeOn 阅读(38) 评论(0) 推荐(0)
摘要: 一、子查询与动态条件查询 select pa.id, pa.dept_id, pa.vehicle_id, pa.maint_apply_time, pa.valid_flag,pa.repair_depot_id, pa.maint_items, pa.total_price, pa.remark 阅读全文
posted @ 2025-03-10 14:53 flyComeOn 阅读(38) 评论(0) 推荐(0)
摘要: 1、vue3 前端非必填字段后端不更新 processMaintApplyOutsideMapper.updateById(processMaintApply); 前端传的空字符串,后端接收的时候会转成null,用上面的写法不会进行数据的更新 //当d字段为空时也更新该字段--字段为空时将字段值置空 阅读全文
posted @ 2025-02-13 10:01 flyComeOn 阅读(129) 评论(0) 推荐(0)
摘要: 原因:表单中的ref与model参数是一个,这两个参数应该不同。相同的话,输入不进去内容 阅读全文
posted @ 2025-01-23 16:17 flyComeOn 阅读(29) 评论(0) 推荐(0)
摘要: 一、公共方法 sortOrg(data){ return new Promise((resolve, reject) => { findList({}).then(res=>{ let orgList= res // 组织有数据则按照排序进行组织数据的排序 if(orgList !=null && 阅读全文
posted @ 2025-01-08 16:54 flyComeOn 阅读(178) 评论(0) 推荐(0)
摘要: 一、界面元素 <el-form v-loading="isLoading" :model="editForm" ref="ruleFormRef" :rules="rules" label-width="120px"> <el-row> <el-col :span="12"> <el-form-it 阅读全文
posted @ 2024-11-26 16:49 flyComeOn 阅读(88) 评论(0) 推荐(0)
摘要: 1、安装 npm install xlsx 一、前端 <el-upload style="display: inline-block" action accept=".xlsx, .xls" :auto-upload="false" :show-file-list="false" :on-chang 阅读全文
posted @ 2024-11-26 16:13 flyComeOn 阅读(640) 评论(0) 推荐(0)
摘要: echarts 阅读全文
posted @ 2024-11-26 15:40 flyComeOn 阅读(126) 评论(0) 推荐(0)