123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243 |
- <template>
- <div class="app-container" v-loading="loading">
- <i v-if="info.authState == 1" class="entIcon audit"></i>
- <i v-if="info.authState == 2" class="entIcon pass"></i>
- <i v-if="info.authState == 3" class="entIcon refuse"></i>
- <h3 class="toolbar">
- <span class="title">企业信息</span>
- </h3>
- <table class="table_view">
- <tr>
- <th>企业名称</th>
- <td>{{info.entName}}</td>
- <th>统一社会信用代码</th>
- <td>{{info.license}}</td>
- </tr>
- <tr>
- <th>注册资金(万元)</th>
- <td>{{info.regCapital}}</td>
- <th>工商注册时间</th>
- <td>{{info.regDate}}</td>
- </tr>
- <tr>
- <th>工商注册类型</th>
- <td>{{regTypeFormat}}</td>
- <th>主营产品(服务)所属技术领域</th>
- <td>{{mainProductsFormat}}</td>
- </tr>
- <tr>
- <th>通信地址</th>
- <td>{{info.address}}</td>
- <th>邮政编码</th>
- <td>{{info.zipCode}}</td>
- </tr>
- <tr>
- <th>企业所属行政区域</th>
- <td>{{info.provinceName}}{{info.cityName}}{{info.districtName}}</td>
- <th>企业所得税主管税务机关</th>
- <td>{{info.taxOffice}}</td>
- </tr>
- </table>
- <h3 class="toolbar mt20">
- <span class="title">法人信息</span>
- </h3>
- <table class="table_view">
- <tr>
- <th>姓名</th>
- <td>{{info.legalName}}</td>
- <th>身份证号码</th>
- <td>{{info.legalIdCard}}</td>
- </tr>
- <tr>
- <th>手机号码</th>
- <td>{{info.legalMobile}}</td>
- <th>固定电话</th>
- <td>{{info.legalPhone}}</td>
- </tr>
- <tr>
- <th>传真</th>
- <td>{{info.legalFax}}</td>
- <th>E-mail</th>
- <td>{{info.legalEmail}}</td>
- </tr>
- </table>
- <h3 class="toolbar mt20">
- <span class="title">联系人信息</span>
- </h3>
- <table class="table_view">
- <tr>
- <th>姓名</th>
- <td>{{info.linkName}}</td>
- <th>身份证号码</th>
- <td>{{info.linkIdCard}}</td>
- </tr>
- <tr>
- <th>手机号码</th>
- <td>{{info.linkMobile}}</td>
- <th>固定电话</th>
- <td>{{info.linkPhone}}</td>
- </tr>
- <tr>
- <th>传真</th>
- <td>{{info.linkFax}}</td>
- <th>E-mail</th>
- <td>{{info.linkEmail}}</td>
- </tr>
- </table>
- <h3 class="toolbar mt20">
- <span class="title">企业上市信息</span>
- </h3>
- <table class="table_view">
- <tr>
- <th>企业是否上市</th>
- <td>{{listedFlag}}</td>
- <th>企业上市代码</th>
- <td>{{info.listingCode}}</td>
- </tr>
- </table>
- <h3 class="toolbar mt20">
- <span class="title">风险投资信息</span>
- </h3>
- <table class="table_view">
- <tr>
- <th>是否引入风险投资</th>
- <td>{{investFlag}}</td>
- <th>风险投资金额</th>
- <td>{{info.investCapital}}</td>
- </tr>
- </table>
- <h3 class="toolbar mt20">
- <span class="title">高新企业</span>
- </h3>
- <table class="table_view">
- <tr>
- <th>是否为高新企业</th>
- <td>{{techFlag}}</td>
- <th>高新企业编号</th>
- <td>{{info.techCode}}</td>
- </tr>
- </table>
- <h3 class="toolbar mt20">
- <span class="title">上年度是否做加计扣除</span>
- </h3>
- <table class="table_view">
- <tr>
- <th>上年度是否做加计扣除</th>
- <td>{{deductionFlag}}</td>
- </tr>
- </table>
- <h3 class="toolbar mt20">
- <span class="title">附件</span>
- </h3>
- <table class="table_view">
- <tr>
- <th>企业营业执照</th>
- <td>
- <a class="link" :href="info.licensePath" target="_blank">企业营业执照</a>
- <!-- <img :src="info.licensePath" alt="license"> -->
- </td>
- <th>其他附件</th>
- <td>
- <div v-for="(file, index) in list" :key="index">
- <a class="link" :href="file.url" target="_blank">{{file.fileName}}</a>
- </div>
- </td>
- </tr>
- </table>
- <h3 class="toolbar mt20">
- <span class="title">文件水印</span>
- </h3>
- <table class="table_view">
- <tr>
- <th>公司logo</th>
- <td>
- <a class="link" :href="info.logo" target="_blank">公司logo</a>
- <!-- <img :src="info.logo" alt="logo"> -->
- </td>
- </tr>
- </table>
- <div class="oper">
- <template v-if="info.authState == '2' && userType == 'ENT_ADMIN'">
- <el-button @click="handleUpdate">修改</el-button>
- </template>
- </div>
- </div>
- </template>
- <script>
- import { listEntUserApi } from "@/api/ent/ent"
- import {getEnclosureApi} from "@/api/enterprise/project/project"
- import {regTypeOptions, getLabel,yesOrNoOptions,mainProductsOptions} from '@/utils/dataFormat'
- export default {
- name: 'EntInfo',
- data () {
- return {
- loading: false,
- id: undefined,
- dataId: undefined,
- list: [],
- attachType: 'ENT',
- info: {
- },
- }
- },
- computed: {
- scopeId() {
- return this.$store.state.user.scopeId
- },
- userType() {
- return this.$store.state.user.userType
- },
- regTypeFormat() {
- return getLabel(regTypeOptions, this.info.regType);
- },
- listedFlag() {
- return getLabel(yesOrNoOptions, this.info.listedFlag);
- },
- investFlag() {
- return getLabel(yesOrNoOptions, this.info.investFlag)
- },
- techFlag() {
- return getLabel(yesOrNoOptions, this.info.techFlag)
- },
- deductionFlag() {
- return getLabel(yesOrNoOptions, this.info.deductionFlag)
- },
- mainProductsFormat() {
- return getLabel(mainProductsOptions, this.info.mainProducts)
- }
- },
- created () {
- this.id = this.scopeId
- this.dataId = this.scopeId
- if(this.id) {
- this.getData()
- this.getEnclosureData()
- }
- },
- methods: {
- handleUpdate() {
- this.$router.push("/ent/edit/"+this.info.id+'?type=updateEnt')
- },
- getEnclosureData() {
- getEnclosureApi(this.attachType, this.dataId).then(res => {
- this.list = res.data.records || []
- })
- },
- handleView(id) {
- window.open("http://124.232.146.72:7015/api/common/attach/"+id)
- },
- getData() {
- this.loading = true
- listEntUserApi().then(res => {
- this.loading = false
- this.info = res.data || {}
- })
- }
- }
- }
- </script>
- <style>
- </style>
|