<template>
  <div>
    <el-form
      ref="periodForm"
      :model="periodData"
      label-position="right"
      label-width="90px"
    >
      <el-form-item label="ID" prop="orgId" v-show="false">
        <el-input v-model="periodData.orgId" />
      </el-form-item>
      <el-form-item label="域" prop="domain">
        <el-input v-model="periodData.domain" />
      </el-form-item>
      <el-form-item label="有效期">
        <el-col :span="11">
          <el-date-picker
            type="date"
            placeholder="选择日期"
            style="width: 100%;"
            v-model="periodData.startDate"
          ></el-date-picker>
        </el-col>
        <el-col class="line" :span="2">-</el-col>
        <el-col :span="11">
          <el-date-picker
            type="date"
            placeholder="选择时间"
            style="width: 100%;"
            v-model="periodData.expireDate"
          ></el-date-picker>
        </el-col>
      </el-form-item>
      <el-form-item label="保留天数" prop="reserveDay">
        <el-input v-model="periodData.reserveDay" />
      </el-form-item>
      <el-form-item label="创建时间" prop="createTime">
        <el-input v-model="periodData.createTime" />
      </el-form-item>
    </el-form>
    <el-button
      type="primary"
      style="float: right"
      @click="dialogOrgConfVisible = false"
      >确认</el-button
    >
  </div>
</template>

<script>
import waves from "@/directive/waves"; // 水波纹指令

export default {
  name: "periodPane", //资源授权
  directives: {
    waves
  },
  props: ["authOrgData"],
  data() {
    return {
      periodData: {
        //租赁信息
        orgId: undefined,
        domain: "",
        startDate: "",
        expireDate: "",
        reserveDay: "",
        createTime: ""
      }
    };
  },
  created() {},
  watch: {},
  methods: {}
};
</script>

<style scoped></style>
