<template>
  <div class="queryItemSettings_home">
    <div class="wrap">
      <DataTable
        :data-id="dataId"
        :data-content="{ nodeCode }"
        :rows="24"
        labelWidth="100px"
        :min-height="70"
        width="400px"
        tableHeight="720"
        :isStatuser="true"
        :isAuth="true"
        authAdd="location_setting_add"
        authEdit="location_settings_editing"
        authDel="location_settings_deleting"
      >
        <template v-slot:header>
          <div class="status flex-wrap">
            <div class="manageTitle">节点设置</div>
          </div>
        </template>
      </DataTable>
    </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>
::v-deep .el-form-item {
  margin-bottom: 20px;
}
.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>
