| | |
| | | const projectNumber = row.projectNumber; |
| | | const thickness = row.glass_thickness; |
| | | const glassType = row.glass_type; |
| | | const quantity = row.quantity; |
| | | const area = row.glass_total_area; |
| | | const optimizeState = row.optimize_state; |
| | | await router.push({ |
| | | name: 'optimizeInfo', |
| | | params: { |
| | | projectNo: projectNumber, |
| | | thickNess: thickness, |
| | | model: glassType |
| | | model: glassType, |
| | | quantity: quantity, |
| | | area: area, |
| | | optimizeState:optimizeState |
| | | } |
| | | }); |
| | | } |
| | |
| | | } |
| | | |
| | | // 公共处理函数,处理相同数据时的操作,并返回targetRoute对象(右键菜单和双击打开) |
| | | const handleSameDataOperation = async ({projectNumber, thickness, glassType}) => { |
| | | const handleSameDataOperation = async ({projectNumber, thickness, glassType,quantity,glass_total_area,optimize_state}) => { |
| | | const targetRoute = { |
| | | name: 'optimizeInfo', |
| | | params: { |
| | | projectNo: projectNumber, |
| | | thickNess: String(thickness), |
| | | model: glassType |
| | | thickNess: thickness, |
| | | model: glassType, |
| | | quantity: quantity, |
| | | area: glass_total_area, |
| | | optimizeState:optimize_state |
| | | } |
| | | }; |
| | | const currentRoute = router.currentRoute.value; |
| | |
| | | ElMessage.warning(config.checkMessage); |
| | | return; |
| | | } |
| | | processCardRef.value.getUpdateFlowCardList(row.projectNumber,row.glass_type,row.glass_thickness); |
| | | nextTick(() => { |
| | | processCardRef.value.getUpdateFlowCardList(row.projectNumber, row.glass_type, row.glass_thickness); |
| | | }); |
| | | return; |
| | | } |
| | | if (config.code === 'openProject') { |
| | |
| | | ElMessage.success(config.successMsg); |
| | | } |
| | | }); |
| | | return; |
| | | } |
| | | // 添加确认提示弹窗,询问用户是否进行当前操作 |
| | | ElMessageBox.confirm('是否进行当前操作?', '确认操作', { |
| | |
| | | |
| | | <div id="project-list"> |
| | | <div style="width: 100%;height: 100%"> |
| | | <h1>工程列表</h1> |
| | | <h2>工程列表</h2> |
| | | <vxe-grid |
| | | size="small" |
| | | height="100%" |