<template>
  <div>
    <div class="main">
      <div class="cardTitle">企业信息</div>
      <a-divider />
      <div class="content">
        <a-descriptions title="基本信息" :column="3">
          <a-descriptions-item label="企业名称">
            浙江比利时物业有限公司
          </a-descriptions-item>
          <a-descriptions-item label="公司地址">
            湖南省湘潭市岳塘区红旗街道 8 单元 111 室
          </a-descriptions-item>
          <a-descriptions-item label="社会信用代码"
            >39123m13841bdi123341
          </a-descriptions-item>
          <a-descriptions-item label="法人名称"> 陈晨 </a-descriptions-item>
          <a-descriptions-item label="法人身份证号"
            >621222199804287702</a-descriptions-item
          >
          <a-descriptions-item label="执照有效期限">
            2021/04/09 至 2021/04/09</a-descriptions-item
          >
        </a-descriptions>
        <a-descriptions title="法人身份证照" :column="1">
          <a-descriptions-item label="头像面" @click="download(this.img)"
            ><img :src="img" alt=""
          /></a-descriptions-item>
          <a-descriptions-item label="国徽面"
            ><img :src="img" alt=""
          /></a-descriptions-item>
          <a-descriptions-item label="营业执照"
            ><img :src="img" alt=""
          /></a-descriptions-item>
          <a-descriptions-item label="其他附件"
            ><img :src="img" alt="" /><img :src="img" alt="" /><img
              :src="img"
              alt="" /><img :src="img" alt="" /><img :src="img" alt="" /><img
              :src="img"
              alt=""
          /></a-descriptions-item>
        </a-descriptions>
        <a-descriptions title="联系人信息" :column="3">
          <a-descriptions-item label="联系人"> 周立 </a-descriptions-item>
          <a-descriptions-item label="联系人号码">
            18716191912
          </a-descriptions-item>
          <a-descriptions-item label="邮箱">hpzs@sina.com </a-descriptions-item>
          <a-descriptions-item label="联系人地址">
            陕西省铜川市宜君县哭泉乡 10 单元 98 室
          </a-descriptions-item>
        </a-descriptions>
      </div>
    </div>
    <div class="footer">
      <a-space style="margin-left: 70%">
        <a-button type="primary" @click="auditShow=true">修改信息</a-button>
        <a-button @click="cancel">取消</a-button>
      </a-space>
    </div>
    <a-modal
      title="修改"
      :visible="auditShow"
      @ok="auditSubmit"
      @cancel="auditCancel"
    >
      <div class="content">
        <a-form :form="form">
          <a-form-item
            label="审核类型"
          >
            <a-select v-model="form.type" style="width: 120px">
                <a-select-option value="1">
                    通过
                </a-select-option>
                <a-select-option value="2">
                    驳回
                </a-select-option>
            </a-select>
          </a-form-item>
          <a-form-item
            label="审核留言"
          >
            <a-textarea v-model="form.remark" style="" :auto-size="{ minRows: 5, maxRows: 8 }"></a-textarea>
          </a-form-item>
        </a-form>
      </div>
    </a-modal>
  </div>
</template>

<script>
export default {
	data() {
		return {
			form:{
				type:'1',
				remark:''
			},
			auditShow: false,
			detailData: {},
			img: "https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fimgcdn.scol.com.cn%2FNEWS_1F3371B8BC0CD062D6AF69E363F8E32A.JPG&refer=http%3A%2F%2Fimgcdn.scol.com.cn&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=jpeg?sec=1643355029&t=835fe0ff21af86e6996eb308794df217",
		};
	},
	methods: {
		download() {},
		cancel() {
			this.$router.go(-1);
		},
		auditSubmit(){
			this.auditShow=false
		},
		auditCancel(){
			this.auditShow=false
		}
	},
};
</script>

<style lang="less" scoped>
.content {
  padding-top: 0px;
  padding-bottom: 120px;
}
.content img {
  width: 142px;
  height: 107px;
  margin: 10px;
  cursor: pointer;
}
</style>