<template>
  <view>
	<view class="boxt">
		<view class="tit">
			<image :src="titimg"></image>基本信息
		</view>
		<view class="txt">统一社会信用代码：<text>{{qyinfo.creditCode}}</text></view>
		<view class="txt">企业类型：<text>{{qyinfo.enterpriseType}}</text></view>
		<view class="flexcw">
			<view class="txt">法人姓名：<text>{{qyinfo.legalName}}</text></view>
			<view class="txt">注册资金：<text>{{qyinfo.registeredCapital}}</text></view>
		</view>
		<view class="txt">成立日期：<text>{{qyinfo.establishData}}</text></view>
		<view class="txt">营业期限：<text>{{qyinfo.businessTerm}}</text></view>
		<view class="txt">行业类型：<text>{{datainfo.categoryType}}</text></view>
		<view class="flexcw">
			<view class="txt">是否制造业：<text>{{datainfo.isMake=='Y'?'是':'否'}}</text></view>
			<view class="txt">是否小微企业：<text>{{datainfo.isSmall=='Y'?'是':'否'}}</text></view>
		</view>
		<view class="txt">公司简介：<text>{{datainfo.companyIntroduction}}</text></view>
		
		<view class="flexcw">
			<view class="txt">公司章程：<text class="txta" @click="getDown(a)">在线查看</text></view>
			<view class="txt">开户许可证：<text class="txta" @click="getDown(a)">在线查看</text></view>
		</view>
	</view>
	<view class="boxt">
		<view class="tit">
			<image :src="titimg"></image>全体股东身份及征信
		</view>
		<view class="flexcw">
			<view class="txt">股东1身份证：<text class="txta" @click="getDown(a)">在线查看</text></view>
			<view class="txt">股东1征信：<text class="txta" @click="getDown(a)">在线查看</text></view>
		</view>
		<view class="flexcw">
			<view class="txt">股东2身份证：<text class="txta" @click="getDown(a)">在线查看</text></view>
			<view class="txt">股东2征信：<text class="txta" @click="getDown(a)">在线查看</text></view>
		</view>
		<view class="flexcw">
			<view class="txt">股东3身份证：<text class="txta" @click="getDown(a)">在线查看</text></view>
			<view class="txt">股东3征信：<text class="txta" @click="getDown(a)">在线查看</text></view>
		</view>
	</view>
	<view class="boxt">
		<view class="tit">
			<image :src="titimg"></image>企业征信
		</view>
		<view class="txt">申请企业：<text class="txta" @click="getDown(a)">在线查看</text></view>
		<view class="txt">关联企业：<text class="txta" @click="getDown(a)">在线查看</text></view>
	</view>
	<view class="boxt">
		<view class="tit">
			<image :src="titimg"></image>企业法人及控股人征信
		</view>
		<view class="txt">企业法人：<text class="txta" @click="getDown(a)">在线查看</text></view>
		<view class="flexcw">
			<view class="txt">实际控股人：<text class="txta" @click="getDown(a)">在线查看</text></view>
			<view class="txt">配偶征信：<text class="txta" @click="getDown(a)">在线查看</text></view>
		</view>
	</view>
  </view>
</template>

<script>
	import { checkPermi, checkRole } from "@/utils/permission"; // 权限判断函数
	import { selectValue } from '@/utils/common.js';
	import noData from "@/components/nodata/nodata.vue"
  export default {
	props:{
		datainfo: {
			type: Object,
			default () {
				return {}
			}
		},
		qyinfo:{
			type: Object,
			default () {
				return {}
			}
		}
	},
	components:{
		noData
	},
	data(){
		return{
			titimg:require('@/work/static/images/infotit.png'),
		}
	},
	onLoad: function() {
	},
	methods:{
		checkPermi, checkRole,
		kaType(ite){
			return selectValue(this.tajdlist, ite);
		},
		getDown(url){
			this.$emit('getDown',url)
		}
	},
	
  }
</script>

<style lang="scss" scoped>
.boxt{padding: 0 16rpx;border-top: 2rpx solid #E6E6E6;}
.tit{font-weight: bold;font-size: 30rpx;color: $com-cd3;display: flex;align-items: center;padding-top: 44rpx;margin-bottom: 50rpx;padding-left: 20rpx;
	image{width: 30rpx;height: 30rpx;margin-right: 14rpx;}
}
.txt{font-weight: bold;font-size: 30rpx;color: #222327;margin-bottom: 44rpx;padding-left: 20rpx;
	text{color: #666666;font-weight: 500;
		&.txta{color: #28C529;}
	}
}
.flexcw{display: flex;
	.txt{min-width: 50%;}
}
</style>
