| | |
| | | openDetail, |
| | | onSuccess, |
| | | onBeforeUpload, |
| | | onSendFlangeCode, |
| | | onFinishSendFlangeCode |
| | | } = usePipeAccessoryAssembly(props, ctx) |
| | | |
| | | // 查询表单数据 |
| | |
| | | routeUrl.value="/api/v1/PipeLineLems/workTask/page"; |
| | | paramForProcessRoute.pipeSpecCode = queryForm.value.pipeSpecCode |
| | | tableRef.value.getList(paramForProcessRoute) |
| | | } |
| | | // 下发法兰冲码 |
| | | const sendFlangeCode = () => { |
| | | console.log('执行 下发法兰冲码') |
| | | if (queryForm.value.pipeSpecCode == '') { |
| | | ElMessage.error('请输入管段编码') |
| | | return |
| | | } |
| | | onSendFlangeCode(); |
| | | } |
| | | // 完工法兰冲码 |
| | | const finishSendFlangeCode = () => { |
| | | console.log('执行 完工法兰冲码') |
| | | if (queryForm.value.pipeSpecCode == '') { |
| | | ElMessage.error('请输入管段编码') |
| | | return |
| | | } |
| | | onFinishSendFlangeCode(); |
| | | } |
| | | // 开工事件处理 |
| | | const startWork = () => { |
| | |
| | | </div> */} |
| | | <div class="info-block"> |
| | | <h2 class="block-title">工艺信息</h2> |
| | | <div class={styles.actionButtons}> |
| | | <div class={styles.actionButtons} style="margin-bottom:5px;"> |
| | | <ElButton type="warning" onClick={refreshProcessRoute}> |
| | | 刷新 |
| | | </ElButton> |
| | | <ElButton type="warning" onClick={sendFlangeCode}> |
| | | 下发法兰冲码 |
| | | </ElButton> |
| | | <ElButton type="warning" onClick={finishSendFlangeCode}> |
| | | 完工法兰冲码 |
| | | </ElButton> |
| | | </div> |
| | | <RenderBaseTable |
| | | url={routeUrl.value} |