<template>
  <div id="baseInfo">
    <el-row>
      <el-col :span="24" class="main">
        <el-col :span="24" class="one">
          <el-form :model="data" ref="data" label-width="auto">
            <el-col :span="8" class="one_1">
              <el-form-item label="企业类型">
                <el-input v-model="data.purpose" readonly></el-input>
              </el-form-item>
            </el-col>
            <el-col :span="8" class="one_1">
              <el-form-item label="设置账号">
                <el-input v-model="data.phone" readonly></el-input>
              </el-form-item>
            </el-col>
            <!-- <el-col :span="8" class="one_1">
              <el-form-item label="安全邮箱">
                <el-input v-model="data.email" readonly></el-input>
              </el-form-item>
            </el-col> -->
            <el-col :span="8" class="one_1">
              <el-form-item label="企业名称">
                <el-input v-model="data.company" readonly></el-input>
              </el-form-item>
            </el-col>
            <el-col :span="8" class="one_1">
              <el-form-item label="详细地址">
                <el-input v-model="data.addres" readonly></el-input>
              </el-form-item>
            </el-col>
            <el-col :span="8" class="one_1">
              <el-form-item label="所属区县">
                <el-input v-model="data.belong_city" readonly></el-input>
              </el-form-item>
            </el-col>
            <el-col :span="8" class="one_1">
              <el-form-item label="管辖单位">
                <el-input v-model="data.tube_company" readonly></el-input>
              </el-form-item>
            </el-col>
            <el-col :span="8" class="one_1">
              <el-form-item label="法人代表人姓名">
                <el-input v-model="data.legal_personal" readonly></el-input>
              </el-form-item>
            </el-col>
            <el-col :span="8" class="one_1">
              <el-form-item label="法人代表人联系方式">
                <el-input v-model="data.legal_phone" readonly></el-input>
              </el-form-item>
            </el-col>
            <el-col :span="8" class="one_1">
              <el-form-item label="法人代表人公民身份号码">
                <el-input v-model="data.legal_card" readonly></el-input>
              </el-form-item>
            </el-col>
            <el-col :span="8" class="one_1">
              <el-form-item label="法人户籍地详址">
                <el-input v-model="data.legal_hjd" readonly></el-input>
              </el-form-item>
            </el-col>
            <el-col :span="8" class="one_1">
              <el-form-item label="法人现住地详址">
                <el-input v-model="data.legal_xzd" readonly></el-input>
              </el-form-item>
            </el-col>
            <!-- <el-col :span="8" class="one_1">
              <el-form-item label="法人代表人职务">
                <el-input v-model="data.legal_zw" readonly></el-input>
              </el-form-item>
            </el-col> -->
            <el-col :span="8" class="one_1">
              <el-form-item label="保安服务类型">
                <el-input v-model="data.baoan_sevicetype" readonly></el-input>
              </el-form-item>
            </el-col>
            <!-- <el-col :span="8" class="one_1">
              <el-form-item label="申请报告">
                <el-input
                  v-model="data.apply_report"
                  type="textarea"
                  :autosize="{ minRows: 4, maxRows: 4 }"
                  maxlength="500"
                  show-word-limit
                  readonly
                ></el-input>
              </el-form-item>
            </el-col> -->
            <el-col :span="8" class="one_1">
              <el-form-item label="营业执照经营范围">
                <el-input
                  v-model="data.company_yyzzjyfw"
                  type="textarea"
                  :autosize="{ minRows: 4, maxRows: 4 }"
                  maxlength="500"
                  show-word-limit
                  readonly
                ></el-input>
              </el-form-item>
            </el-col>
            <el-col :span="8" class="one_1">
              <el-form-item label="企业组织机构代码">
                <el-input v-model="data.zhjgdm" readonly></el-input>
              </el-form-item>
            </el-col>
            <el-col :span="8" class="one_1">
              <el-form-item label="类型">
                <el-input v-model="data.money_type" readonly></el-input>
              </el-form-item>
            </el-col>
            <el-col :span="8" class="one_1">
              <el-form-item label="邮政编码">
                <el-input v-model="data.post_num" readonly></el-input>
              </el-form-item>
            </el-col>
            <!-- <el-col :span="8" class="one_1">
              <el-form-item label="传真">
                <el-input v-model="data.fax" readonly></el-input>
              </el-form-item>
            </el-col> -->
            <el-col :span="8" class="one_1">
              <el-form-item label="统一社会信用代码">
                <el-input v-model="data.company_yyzzzch" readonly></el-input>
              </el-form-item>
            </el-col>
            <!-- <el-col :span="8" class="one_1">
              <el-form-item label="保安服务许可证号">
                <el-input v-model="data.company_xkzpzwh" readonly></el-input>
              </el-form-item>
            </el-col> -->
            <el-col :span="8" class="one_1">
              <el-form-item label="注册资金">
                <el-input v-model="data.register_money" readonly></el-input>
              </el-form-item>
            </el-col>
            <el-col :span="8" class="one_1">
              <el-form-item label="分管保安负责人姓名">
                <el-input v-model="data.charge_personal" readonly></el-input>
              </el-form-item>
            </el-col>
            <el-col :span="8" class="one_1">
              <el-form-item label="分管保安负责人身份号码">
                <el-input v-model="data.charge_card" readonly></el-input>
              </el-form-item>
            </el-col>
            <el-col :span="8" class="one_1">
              <el-form-item label="分管保安负责人联系电话">
                <el-input v-model="data.charge_phone" readonly></el-input>
              </el-form-item>
            </el-col>
            <el-col :span="8" class="one_1">
              <el-form-item label="分管保安负责人微信联系方式">
                <el-input v-model="data.charge_wx" readonly></el-input>
              </el-form-item>
            </el-col>
            <el-col :span="8" class="one_1">
              <el-form-item label="分管保安负责人户籍地详址">
                <el-input v-model="data.charge_hjd" readonly></el-input>
              </el-form-item>
            </el-col>
            <el-col :span="8" class="one_1">
              <el-form-item label="分管保安负责人现住地详址">
                <el-input v-model="data.charge_xzd" readonly></el-input>
              </el-form-item>
            </el-col>
            <!-- <el-col :span="8" class="one_1">
              <el-form-item label="分管保安负责人职务">
                <el-input v-model="data.charge_zw" readonly></el-input>
              </el-form-item>
            </el-col> -->
            <!-- <el-col :span="8" class="one_1">
              <el-form-item label="营业执照发证机关">
                <el-input v-model="data.company_yyzzfzjg" readonly></el-input>
              </el-form-item>
            </el-col> -->
            <!-- <el-col :span="8" class="one_1">
              <el-form-item label="成立日期">
                <el-input v-model="data.establish_date" readonly></el-input>
              </el-form-item>
            </el-col> -->
            <!-- <el-col :span="8" class="one_1">
              <el-form-item label="营业执照截止日期">
                <el-input v-model="data.company_yyzzjzrq" readonly></el-input>
              </el-form-item>
            </el-col> -->
            <!-- <el-col :span="8" class="one_1">
              <el-form-item label="单位性质">
                <el-input v-model="data.company_nature" readonly></el-input>
              </el-form-item>
            </el-col> -->
            <!-- <el-col :span="8" class="one_1">
              <el-form-item label="单位组织机构类型">
                <el-input v-model="data.zhjglx" readonly></el-input>
              </el-form-item>
            </el-col> -->
            <template v-if="purpose_id == 'purpose_one' || purpose_id == 'purpose_six'">
              <el-col :span="8" class="one_1">
                <el-form-item label="场地面积">
                  <el-input v-model="data.land_rice" readonly></el-input>
                </el-form-item>
              </el-col>
            </template>
            <template v-else-if="purpose_id == 'purpose_two'">
              <el-col :span="8" class="one_1">
                <el-form-item label="发起人类型">
                  <el-input v-model="data.initiator_type" readonly></el-input>
                </el-form-item>
              </el-col>
              <el-col :span="8" class="one_1">
                <el-form-item label="培训规模">
                  <el-input v-model="data.train_num" readonly></el-input>
                </el-form-item>
              </el-col>
              <el-col :span="8" class="one_1">
                <el-form-item label="校长或院长姓名">
                  <el-input v-model="data.school_personal" readonly></el-input>
                </el-form-item>
              </el-col>
              <el-col :span="8" class="one_1">
                <el-form-item label="校长或院长身份证号">
                  <el-input v-model="data.school_card" readonly></el-input>
                </el-form-item>
              </el-col>
              <el-col :span="8" class="one_1">
                <el-form-item label="校长或院长联系电话">
                  <el-input v-model="data.school_phone" readonly></el-input>
                </el-form-item>
              </el-col>
              <el-col :span="8" class="one_1">
                <el-form-item label="师资人数">
                  <el-input v-model="data.teache_num" readonly></el-input>
                </el-form-item>
              </el-col>
              <el-col :span="8" class="one_1">
                <el-form-item label="保安专业师资人数">
                  <el-input v-model="data.major_teanum" readonly></el-input>
                </el-form-item>
              </el-col>
              <el-col :span="8" class="one_1">
                <el-form-item label="校园面积">
                  <el-input v-model="data.campus_area" readonly></el-input>
                </el-form-item>
              </el-col>
              <el-col :span="8" class="one_1">
                <el-form-item label="校舍面积">
                  <el-input v-model="data.schoolhouse_area" readonly></el-input>
                </el-form-item>
              </el-col>
              <el-col :span="8" class="one_1">
                <el-form-item label="固定资产">
                  <el-input v-model="data.fixed_money" readonly></el-input>
                </el-form-item>
              </el-col>
              <el-col :span="8" class="one_1">
                <el-form-item label="是否提供住宿">
                  <el-input v-model="data.is_stay" readonly></el-input>
                </el-form-item>
              </el-col>
              <el-col :span="8" class="one_1">
                <el-form-item label="培训目标">
                  <el-input v-model="data.train_target" readonly></el-input>
                </el-form-item>
              </el-col>
            </template>
            <template v-else-if="purpose_id == 'purpose_four'">
              <!-- <el-col :span="8" class="one_1">
                <el-form-item label="保安主管部门名称">
                  <el-input v-model="data.zxzy_depart" readonly></el-input>
                </el-form-item>
              </el-col> -->
            </template>
          </el-form>
        </el-col>
      </el-col>
    </el-row>
  </div>
</template>

<script>
import { mapState, createNamespacedHelpers } from 'vuex';
export default {
  name: 'baseInfo',
  props: {
    data: { type: Object, required: true },
  },
  components: {},
  data: function () {
    return {};
  },
  created() {},
  methods: {},
  computed: {
    ...mapState(['user']),
    purpose_id() {
      return this.$route.query.purpose_id;
    },
  },
  metaInfo() {
    return { title: this.$route.meta.title };
  },
  watch: {
    test: {
      deep: true,
      immediate: true,
      handler(val) {},
    },
  },
};
</script>

<style lang="less" scoped>
.main {
  .one {
    .one_1 {
      padding: 0 10px;
    }
  }
}
</style>
