<template>
  <div class="queryItemSettings_home">
    <div class="wrap">
      <DataTable
        :data-id="dataId"
        :data-content="{ nodeCode }"
        :rows="24"
        label-width="80px"
        :min-height="70"
        width="500px"
        tableHeight="700"
      />
    </div>
  </div>
</template>
<script>
import DataTable from "@/components/Table";
export default {
  components: { DataTable },
  data() {
    return {
      nodeCode: null,
      dataId: DATACONTENT_ID.deployNodeteoId,
    };
  },
  created() {
    // if (!this.$route.query.queryTemplateID) {
    //   this.$router.push("/systemSettings/queryTemplate");
    //   return;
    // }
    this.nodeCode = this.$route.query.nodeCode;
  },
};
</script>
<style lang="scss" scoped>
.queryItemSettings-home {
  .wrap {
    padding: 16px 0;
    .service-header {
      line-height: 32px;
      font-size: 14px;
      .btn-white {
        border: 1px solid #9ebbf7;
        background: #f5f7fa;
        -webkit-box-shadow: 0px 6px 7px 0px rgb(0 0 0 / 6%);
        box-shadow: 0px 6px 7px 0px rgb(0 0 0 / 6%);
        border-radius: 4px;
        font-family: Microsoft YaHei;
        font-weight: bold;
        color: #2d67e3;
      }
      margin-bottom: 30px;
    }
  }
}
</style>
