<template>
  <BaseTable
    showIndex
    tableName="PRODUCTION_LINE"
    ref="tableRef"
    :params="{ projectNum: nodeCode }"
    :api="queryProductionLineApi"
  >
  </BaseTable>
</template>

<script lang="ts" setup>
import { watch } from 'vue';
import BaseTable from '@/components/common/table/baseTable.vue';
import { queryProductionLineApi } from '@/api/project/node';

const props = defineProps({
  nodeCode: {
    type: String,
    default: '',
  },
});

watch(
  () => props.nodeCode,
  () => {},
  { immediate: true }
);
</script>

<style scoped></style>
