<template>
  <div>
    <el-form
      ref="contactForm"
      :model="contactData"
      label-position="right"
      label-width="80px"
      style="width: 80%; margin-left:50px;"
    >
      <el-col :span="12">
        <el-form-item label="用户" prop="tenant">
          <el-input v-model="contactData.tenant" />
        </el-form-item>
      </el-col>
      <el-col :span="12">
        <el-form-item label="法人" prop="legalPerson">
          <el-input v-model="contactData.legalPerson" />
        </el-form-item>
      </el-col>
      <el-col :span="12">
        <el-form-item label="电话" prop="tel">
          <el-input v-model="contactData.tel" />
        </el-form-item>
      </el-col>
      <el-col :span="12">
        <el-form-item label="联系人一" prop="contactName1">
          <el-input v-model="contactData.contactName1" />
        </el-form-item>
      </el-col>
      <el-col :span="12">
        <el-form-item label="手机" prop="contactMobile1">
          <el-input v-model="contactData.contactMobile1" />
        </el-form-item>
      </el-col>
      <el-col :span="12">
        <el-form-item label="微信" prop="contactWechat1">
          <el-input v-model="contactData.contactWechat1" />
        </el-form-item>
      </el-col>
      <el-col :span="12">
        <el-form-item label="邮箱" prop="contactEmail1">
          <el-input v-model="contactData.contactEmail1" />
        </el-form-item>
      </el-col>
      <el-col :span="12">
        <el-form-item label="地址" prop="address">
          <el-input v-model="contactData.address" />
        </el-form-item>
      </el-col>
    </el-form>
    <el-button type="primary" style="float: right">确认</el-button>
  </div>
</template>

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

export default {
  name: "contactPane", //资源授权
  directives: {
    waves
  },
  props: ["authOrgData"],
  data() {
    return {
      contactData: {
        //联系人信息
        orgId: undefined,
        tenant: "",
        legalPerson: "",
        tel: "",
        contactName1: "",
        contactMobile1: "",
        contactWechat1: "",
        contactEmail1: "",
        address: ""
      }
    };
  },
  created() {},
  watch: {},
  methods: {}
};
</script>

<style scoped></style>
