Merge remote-tracking branch 'origin/master'
| | |
| | | </el-icon> |
| | | </el-button> |
| | | <div class="header-left"> |
| | | <el-button @click="toggleCollapse" |
| | | style="height:30px;">☰</el-button> |
| | | <!-- <el-button :icon="isCollapse ? 'el-icon-s-unfold' : 'el-icon-s-fold'" @click="toggleCollapse" |
| | | style="height:30px;"></el-button> --> |
| | | <el-button @click="toggleCollapse" style="height: 30px;"> |
| | | <el-icon><Expand /></el-icon> |
| | | </el-button> |
| | | </div> |
| | | </span> |
| | | </div> |
| | |
| | | // Vue.prototype.$echarts = echarts |
| | | // app.component("v-chart", Echarts) |
| | | // app.config.globalProperties.$echarts = echarts |
| | | import * as ElementPlusIconsVue from '@element-plus/icons-vue' |
| | | |
| | | const app = createApp(App) |
| | | for (const [key, component] of Object.entries(ElementPlusIconsVue)) { |
| | | app.component(key, component) |
| | | } |
| | | const pinia = createPinia() |
| | | pinia.use(piniaPluginPersistedstate ) |
| | | app.use(VXETable) |
| | |
| | | tableData.value = response.data |
| | | console.log(response.data); |
| | | } else { |
| | | ElMessage.warning(res.msg) |
| | | ElMessage.warning(response.message) |
| | | } |
| | | } catch (error) { |
| | | // console.error('Error fetching rects :', error); |
| | |
| | | * 玻璃ID |
| | | */ |
| | | private String glassId; |
| | | /** |
| | | * 是否合并 |
| | | */ |
| | | private Integer merge; |
| | | |
| | | |
| | | } |
| | |
| | | */ |
| | | private Integer orderSort; |
| | | /** |
| | | * 是否合并 |
| | | */ |
| | | private Integer merge; |
| | | /** |
| | | * 旋转角度 |
| | | */ |
| | | private double rotateAngle; |
| | |
| | | List<OptimizeGlassinfo> optimizeGlassinfos = null; |
| | | if (engineeringId != null) { |
| | | optimizeGlassinfos = optimizeProjectMapper.selectJoinList(OptimizeGlassinfo.class, new MPJQueryWrapper<OptimizeProject>() |
| | | .select("b.process_id,t.glass_type,b.o_width,b.o_height,t.glass_thickness,b.order_sort,b.p_width,b.p_height,b.layer, b.total_layer, b.stock_id,b.heat_layout_id,b.heat_layout_sort,c.x_axis,c.y_axis,b.project_no,b.glass_id,c.rotate_angle") |
| | | .select("b.process_id,t.glass_type,b.o_width,b.o_height,t.glass_thickness,b.order_sort,b.p_width,b.p_height,b.layer, b.total_layer, b.stock_id,b.heat_layout_id,b.heat_layout_sort,c.x_axis,c.y_axis,b.project_no,b.glass_id,c.rotate_angle,d.merge") |
| | | .leftJoin("optimize_detail b on t.project_no=b.project_no") |
| | | .leftJoin("optimize_heat_detail c on c.project_no=t.project_no and b.heat_layout_id=c.layout_id and b.heat_layout_sort=c.sort") |
| | | .leftJoin("flow_card d on d.process_id=b.process_id and d.layers_number=b.layer") |
| | | //.eq("t.state",100) |
| | | .eq("t.project_no", engineeringId)); |
| | | } |
| | | //order_sort,o_width,o_height |
| | | // 创建一个 List 用于保存映射后的实体对象 |
| | | List<GlassInfo> resultList = new ArrayList<>(); |
| | | |
| | |
| | | glassInfo.setYCoordinate(map.getYAxis()); |
| | | glassInfo.setAngle(map.getRotateAngle()); |
| | | glassInfo.setGlassId(map.getGlassId()); |
| | | glassInfo.setMerge(map.getMerge()); |
| | | // 将映射后的对象添加到结果列表中 |
| | | resultList.add(glassInfo); |
| | | } |
| | |
| | | String startOfPeriodStr = startOfPeriod.format(formatter); |
| | | String endOfPeriodStr = endOfPeriod.format(formatter); |
| | | // 设置为最近七天的时间范围 |
| | | reportingdamage.setReportingWorkTime("2024-05-11"); |
| | | //reportingdamage.setReportingWorkTime("2024-05-11"); |
| | | // reportingdamage.setReportingWorkTime("2024-05-11"); |
| | | reportingdamage.setReportingWorkTime(startOfPeriodStr); |
| | | reportingdamage.setReportingWorkTime2(endOfPeriodStr); |
| | | //扇形图各设备的加工破损数量 |
| | | List<Reportingdamage> device = reportingWorkService.selectDamage(reportingdamage); |