|
|
@@ -0,0 +1,718 @@
|
|
|
+<template>
|
|
|
+ <div>
|
|
|
+ <el-row class="handle-box" style="margin-bottom: 10px">
|
|
|
+ <el-col :span="24">
|
|
|
+ <el-select
|
|
|
+ v-model="search.isSava"
|
|
|
+ size="small"
|
|
|
+ filterable
|
|
|
+ clearable
|
|
|
+ placeholder="审核结果"
|
|
|
+ @change="handleSearch"
|
|
|
+ >
|
|
|
+ <el-option value="0" label="待审核"></el-option>
|
|
|
+ <el-option value="1" label="审核通过"></el-option>
|
|
|
+ <el-option value="2" label="审核未通过"></el-option>
|
|
|
+ <!-- <el-option v-for="item in dc_data.STU_GENDER" :key="item.value" :label="item.label"-->
|
|
|
+ <!-- :value="item.value"-->
|
|
|
+ <!-- />-->
|
|
|
+ </el-select>
|
|
|
+ <el-input v-model="search.enterpriseName" size="small" placeholder="企业名称" class="ch-input-size"
|
|
|
+ @keyup.enter.native="handleSearch()"
|
|
|
+ />
|
|
|
+ <el-input v-model="search.groupName" size="small" placeholder="园区名称" class="ch-input-size"
|
|
|
+ @keyup.enter.native="handleSearch()"
|
|
|
+ />
|
|
|
+ <!-- <el-select size="small" class="ch-input-size" v-model="queryParam.lotId" filterable placeholder="请选择园区">
|
|
|
+ <el-option
|
|
|
+ v-for="item in parkLotList"
|
|
|
+ :key="item.id"
|
|
|
+ :label="item.lotName"
|
|
|
+ :value="item.id">
|
|
|
+ </el-option>
|
|
|
+ </el-select> -->
|
|
|
+ <span>认证日期:</span>
|
|
|
+ <el-date-picker v-model="search.payTime" size="small" value-format="yyyy-MM-dd" type="daterange"
|
|
|
+ range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期"
|
|
|
+ />
|
|
|
+ <!-- <el-select size="small" class="ch-input-size" v-model="search.payType" filterable placeholder="请选择支付类型">
|
|
|
+ <el-option
|
|
|
+ v-for="item in dc_data.payType"
|
|
|
+ :key="item.value"
|
|
|
+ :label="item.label"
|
|
|
+ :value="item.value">
|
|
|
+ </el-option>
|
|
|
+ </el-select> -->
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="24">
|
|
|
+ <el-button size="small" class="ch-button-export"
|
|
|
+ style="float: right; margin-top: 4px; margin-right: 10px;" @click="confirmOutput()"
|
|
|
+ ><i class="el-icon-download"/> 导出
|
|
|
+ </el-button>
|
|
|
+ <el-button size="small" class="ch-button" style="float: right; margin-top: 4px;"
|
|
|
+ @click="handleSearch()"
|
|
|
+ ><i class="el-icon-search"/> 搜索
|
|
|
+ </el-button>
|
|
|
+ <el-button size="small" class="ch-button-warning" style="float: right; margin-top: 4px;"
|
|
|
+ @click="handleReset()"
|
|
|
+ ><i class="el-icon-search"/> 重置
|
|
|
+ </el-button>
|
|
|
+ </el-col>
|
|
|
+ </el-row>
|
|
|
+ <el-row class="handle-box">
|
|
|
+ <el-col :span="24">
|
|
|
+ <el-table v-loading="loading" :data="AllData" stripe row-class-name="g_table_row">
|
|
|
+ <el-table-column type="index" width="60"/>
|
|
|
+ <el-table-column label="类型" prop="proveTypeString"/>
|
|
|
+ <el-table-column label="企业名称" prop="enterpriseName"/>
|
|
|
+ <el-table-column label="统一社会信用代码" prop="socialCreditCode" width="150"/>
|
|
|
+ <!-- <el-table-column label="注册资金(万元)" prop="registerAmount" />-->
|
|
|
+ <!-- <el-table-column label="法定代表人" prop="legalUser" />-->
|
|
|
+ <el-table-column label="联系人" prop="contacts"/>
|
|
|
+ <el-table-column label="联系电话" prop="phone"/>
|
|
|
+ <el-table-column label="所属行业" prop="industry"/>
|
|
|
+ <el-table-column label="所在园区" prop="groupName"/>
|
|
|
+ <el-table-column label="认证申请时间" prop="createdAt"/>
|
|
|
+ <el-table-column label="审核结果" prop="resultDesc"/>
|
|
|
+ <el-table-column label="审核时间" prop="examineTime"/>
|
|
|
+ <el-table-column label="审核人" prop="examineUserName"/>
|
|
|
+ <el-table-column label="操作" header-align="center" align="center" width="180">
|
|
|
+ <template scope="scope">
|
|
|
+ <el-button v-if="scope.row.state == 2" size="mini" type="primary"
|
|
|
+ @click="handleExamine(scope.row)"
|
|
|
+ >审核
|
|
|
+ </el-button>
|
|
|
+ <el-button v-if="scope.row.state != 2" size="mini" type="primary"
|
|
|
+ @click="handleShow(scope.row)"
|
|
|
+ >查看
|
|
|
+ </el-button>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ </el-table>
|
|
|
+ <div class="table-page">
|
|
|
+ <el-pagination
|
|
|
+ :current-page.sync="currentPage"
|
|
|
+ :page-size="pageSize"
|
|
|
+ background
|
|
|
+ layout="total, prev, pager, next"
|
|
|
+ :total="allpage"
|
|
|
+ @current-change="handleCurrentChange"
|
|
|
+ />
|
|
|
+ </div>
|
|
|
+ </el-col>
|
|
|
+ </el-row>
|
|
|
+ <el-dialog :title="dialogTitle" :visible.sync="dialogVisible" width="75%" top="50px" @open="dlgOpen">
|
|
|
+ <!-- border: 1px solid #E0E0E0; -->
|
|
|
+ <div style="margin-top: 15px; margin-left: 30px; margin-right: 30px; ">
|
|
|
+ <el-row>
|
|
|
+ <el-col :span="12">
|
|
|
+ <el-col :span="6"><B>认证账号:</B></el-col>
|
|
|
+ <el-col :span="18">{{ null == user ? '' : user.trueName }}</el-col>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="12">
|
|
|
+ <el-col :span="6"><B>所属园区:</B></el-col>
|
|
|
+ <el-col :span="18">{{ parkInfo.groupName ? parkInfo.groupName : '' }}</el-col>
|
|
|
+ </el-col>
|
|
|
+ </el-row>
|
|
|
+ <!-- <el-row style="margin-top: 15px;">-->
|
|
|
+ <!-- <el-col :span="3"><B>绑定微信号:</B></el-col>-->
|
|
|
+ <!-- <el-col :span="21">{{ userAccount ? userAccount.nickName : '' }}</el-col>-->
|
|
|
+ <!-- </el-row>-->
|
|
|
+
|
|
|
+ <!-- 企业基本信息 -->
|
|
|
+ <el-row style="margin-top: 30px;">
|
|
|
+ <el-form ref="form" :model="form" style="width: 100%;padding: 5px" :rules="rules">
|
|
|
+ <el-col style="padding-bottom: 10px">
|
|
|
+ <span class="card_title">企业基本信息</span>
|
|
|
+ <el-card shadow="always" style="padding: 15px 5px 5px 15px">
|
|
|
+ <el-row>
|
|
|
+ <el-col :span="3" class="col-txt"><span>企业名称</span></el-col>
|
|
|
+ <el-col :span="8" class="col-input">
|
|
|
+ <el-form-item>
|
|
|
+ <el-input v-model="parkProveInfo.enterpriseName" readonly/>
|
|
|
+
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="3" class="col-txt"><span>社会信用代码</span></el-col>
|
|
|
+ <el-col :span="8" class="col-input">
|
|
|
+ <el-form-item>
|
|
|
+ <el-input v-model="parkProveInfo.socialCreditCode" readonly/>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ </el-row>
|
|
|
+ <el-row>
|
|
|
+ <el-col :span="3" class="col-txt"><span>企业类型</span></el-col>
|
|
|
+ <el-col :span="8" class="col-input">
|
|
|
+ <el-form-item>
|
|
|
+ <el-input v-model="parkProveInfo.enterpriseType" readonly/>
|
|
|
+ <!-- <el-select v-model="parkProveInfo.enterpriseType" filterable clearable placeholder="请选择" :disabled="isDetail">-->
|
|
|
+ <!-- <el-option-->
|
|
|
+ <!-- v-for="item in dc_data.enterpriseType"-->
|
|
|
+ <!-- :key="item.value"-->
|
|
|
+ <!-- :label="item.label"-->
|
|
|
+ <!-- :value="item.value"-->
|
|
|
+ <!-- />-->
|
|
|
+ <!-- </el-select>-->
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="3" class="col-txt"><span>是否总部</span></el-col>
|
|
|
+ <el-col :span="8" class="col-input">
|
|
|
+ <el-form-item>
|
|
|
+ <!-- <el-input v-model="parkProveInfo.isHead" readonly/>-->
|
|
|
+ <el-select disabled v-model="parkProveInfo.isHead" filterable clearable
|
|
|
+ placeholder="请选择"
|
|
|
+ >
|
|
|
+ <el-option :value="'0'" label="是"/>
|
|
|
+ <el-option :value="'1'" label="否"/>
|
|
|
+ </el-select>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ </el-row>
|
|
|
+ <el-row>
|
|
|
+ <el-col :span="3" class="col-txt"><span>是否进出口</span></el-col>
|
|
|
+ <el-col :span="8" class="col-input">
|
|
|
+ <el-form-item>
|
|
|
+ <!-- <el-input v-model="parkProveInfo.isImout" readonly/>-->
|
|
|
+ <el-select disabled v-model="parkProveInfo.isImout" filterable clearable
|
|
|
+ placeholder="请选择"
|
|
|
+ >
|
|
|
+ <el-option :value="'0'" label="是"/>
|
|
|
+ <el-option :value="'1'" label="否"/>
|
|
|
+ </el-select>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+
|
|
|
+ <el-col :span="3" class="col-txt"><span>是否外资</span></el-col>
|
|
|
+ <el-col :span="8" class="col-input">
|
|
|
+ <el-form-item>
|
|
|
+ <!-- <el-input v-model="parkProveInfo.isForeign" readonly/>-->
|
|
|
+ <el-select disabled v-model="parkProveInfo.isForeign" filterable clearable
|
|
|
+ placeholder="请选择"
|
|
|
+ >
|
|
|
+ <el-option :value="'0'" label="是"/>
|
|
|
+ <el-option :value="'1'" label="否"/>
|
|
|
+ </el-select>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ </el-row>
|
|
|
+ <el-row>
|
|
|
+ <el-col :span="3" class="col-txt"><span>所属行业</span></el-col>
|
|
|
+ <el-col :span="8" class="col-input">
|
|
|
+ <el-form-item>
|
|
|
+ <el-input v-model="parkProveInfo.industry" readonly/>
|
|
|
+ <!-- <el-select disabled v-model="parkProveInfo.industry" filterable clearable placeholder="请选择" :disabled="isDetail">-->
|
|
|
+ <!-- <el-option-->
|
|
|
+ <!-- v-for="item in dc_data.COMPANY_INDUSTRY"-->
|
|
|
+ <!-- :key="item.value"-->
|
|
|
+ <!-- :label="item.label"-->
|
|
|
+ <!-- :value="item.value"-->
|
|
|
+ <!-- />-->
|
|
|
+ <!-- </el-select>-->
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+
|
|
|
+ <el-col :span="3" class="col-txt"><span>注册标识</span></el-col>
|
|
|
+ <el-col :span="8" class="col-input">
|
|
|
+ <el-select disabled v-model="parkProveInfo.registrationCode" filterable clearable
|
|
|
+ placeholder="请选择"
|
|
|
+ >
|
|
|
+ <el-option :value="'1'" label="是"/>
|
|
|
+ <el-option :value="'2'" label="否"/>
|
|
|
+ </el-select>
|
|
|
+<!-- <el-form-item>-->
|
|
|
+<!-- <el-input v-model="parkProveInfo.zcdz" readonly/>-->
|
|
|
+<!-- </el-form-item>-->
|
|
|
+ </el-col>
|
|
|
+ </el-row>
|
|
|
+ <el-row>
|
|
|
+ <el-col :span="3" class="col-txt"><span>经营地址</span></el-col>
|
|
|
+ <el-col :span="20" class="col-input">
|
|
|
+ <el-form-item>
|
|
|
+ <el-input v-model="parkProveInfo.manageAddress" readonly/>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ </el-row>
|
|
|
+<!-- </el-card>-->
|
|
|
+<!-- </el-col>-->
|
|
|
+
|
|
|
+<!-- <el-col style="padding-bottom: 10px">-->
|
|
|
+<!-- <span class="card_title">企业注册信息</span>-->
|
|
|
+<!-- <el-card shadow="always" style="padding: 15px 5px 5px 15px">-->
|
|
|
+ <el-row>
|
|
|
+ <el-col :span="3" class="col-txt"><span>注册资金(万元)</span></el-col>
|
|
|
+ <el-col :span="8" class="col-input">
|
|
|
+ <el-form-item>
|
|
|
+ <el-input v-model="parkProveInfo.registerAmount" readonly/>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <!-- 统一 -->
|
|
|
+ <el-col :span="4" class="col-txt"><span>企业经营面积(㎡)</span></el-col>
|
|
|
+ <el-col :span="8" class="col-input">
|
|
|
+ <el-form-item>
|
|
|
+ <el-input v-model="parkProveInfo.manageArea" readonly/>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+
|
|
|
+ </el-row>
|
|
|
+ <el-row>
|
|
|
+ <el-col :span="3" class="col-txt"><span>币种</span></el-col>
|
|
|
+ <el-col :span="9" class="col-input">
|
|
|
+ <el-form-item>
|
|
|
+ <el-select
|
|
|
+ v-model="parkProveInfo.currency"
|
|
|
+ placeholder=""
|
|
|
+ filterable
|
|
|
+ clearable
|
|
|
+ disabled
|
|
|
+ >
|
|
|
+ <el-option
|
|
|
+ v-for="item in dc_data.CURRENCY"
|
|
|
+ :key="item.value"
|
|
|
+ :label="item.label"
|
|
|
+ :value="item.value"
|
|
|
+ />
|
|
|
+ </el-select>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ </el-row>
|
|
|
+ <el-row>
|
|
|
+ <el-col :span="3" class="col-txt"><span>注册地址</span></el-col>
|
|
|
+ <el-col :span="21" class="col-input">
|
|
|
+ <el-form-item>
|
|
|
+ <el-input v-model="parkProveInfo.zcdz" readonly maxlength="250"
|
|
|
+ show-word-limit
|
|
|
+ />
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ </el-row>
|
|
|
+ <el-row>
|
|
|
+ <el-col :span="3" class="col-txt"><span>注册时间</span></el-col>
|
|
|
+ <el-col :span="8" class="col-input">
|
|
|
+ <el-form-item>
|
|
|
+ <el-input v-model="parkProveInfo.registerTime" readonly/>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="3" class="col-txt"><span>法定代表人</span></el-col>
|
|
|
+ <el-col :span="8" class="col-input">
|
|
|
+ <el-form-item>
|
|
|
+ <el-input v-model="parkProveInfo.legalUser" readonly/>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ </el-row>
|
|
|
+ <el-row>
|
|
|
+ <el-col :span="3" class="col-txt"><span>经营范围</span></el-col>
|
|
|
+ <el-col :span="20" class="col-input">
|
|
|
+ <el-form-item>
|
|
|
+ <el-input v-model="parkProveInfo.manageRange" readonly/>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ </el-row>
|
|
|
+ <el-row>
|
|
|
+ <el-col :span="3" class="col-txt"><span>营业执照</span></el-col>
|
|
|
+ <el-col :span="20" class="col-input">
|
|
|
+ <div style="float: left; margin-right: 10px;" class="block">
|
|
|
+ <!-- http://localhost:9001/FileController/viewImg/729350354570838016 -->
|
|
|
+ <el-avatar shape="square" :size="200"
|
|
|
+ :src="$constant.BASE_URI + '/FileController/viewImg/' + parkProveInfo.businessLicense"
|
|
|
+ />
|
|
|
+ <!-- <el-avatar shape="square" :size="100" :fit="fit" src="https://scpic.chinaz.net/files/pic/pic9/202107/bpic23813.jpg"></el-avatar> -->
|
|
|
+ </div>
|
|
|
+ <!-- <div v-for="fit in parkProveInfo.businessLicense" :key="fit" style="float: left; margin-right: 10px;" class="block">-->
|
|
|
+ <!-- <!– http://localhost:9001/FileController/viewImg/729350354570838016 –>-->
|
|
|
+ <!-- <el-avatar shape="square" :size="100" :fit="fit" :src="fit.url" />-->
|
|
|
+ <!-- <!– <el-avatar shape="square" :size="100" :fit="fit" src="https://scpic.chinaz.net/files/pic/pic9/202107/bpic23813.jpg"></el-avatar> –>-->
|
|
|
+ <!-- </div>-->
|
|
|
+ </el-col>
|
|
|
+ </el-row>
|
|
|
+<!-- </el-card>-->
|
|
|
+<!-- </el-col>-->
|
|
|
+<!-- <el-col style="padding-bottom: 10px">-->
|
|
|
+<!-- <span class="card_title">企业联系人信息</span>-->
|
|
|
+<!-- <el-card shadow="always" style="padding: 15px 5px 5px 15px">-->
|
|
|
+ <el-row>
|
|
|
+ <el-col :span="3" class="col-txt"><span>联系人</span></el-col>
|
|
|
+ <el-col :span="8" class="col-input">
|
|
|
+ <el-form-item>
|
|
|
+ <el-input v-model="parkProveInfo.contacts" readonly/>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="3" class="col-txt"><span>联系电话</span></el-col>
|
|
|
+ <el-col :span="8" class="col-input">
|
|
|
+ <el-form-item>
|
|
|
+ <el-input v-model="parkProveInfo.phone" readonly/>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ </el-row>
|
|
|
+
|
|
|
+ <el-row>
|
|
|
+ <el-col :span="3" class="col-txt"><span>入驻类型</span></el-col>
|
|
|
+ <el-col :span="21" class="col-input">
|
|
|
+ <el-form-item prop="settleInType">
|
|
|
+ <el-radio-group v-model="parkProveInfo.settleInType">
|
|
|
+ <el-radio
|
|
|
+ v-for="item in dc_data.MNP_BUILDING_TYPE"
|
|
|
+ :key="item.value"
|
|
|
+ :label="item.value"
|
|
|
+ disabled
|
|
|
+ >
|
|
|
+ {{ item.label }}
|
|
|
+ </el-radio>
|
|
|
+ </el-radio-group>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ </el-row>
|
|
|
+ </el-card>
|
|
|
+ </el-col>
|
|
|
+ </el-form>
|
|
|
+ </el-row>
|
|
|
+ </div>
|
|
|
+ <div v-if="isAdd" slot="footer">
|
|
|
+ <el-button @click="confirmSubmit(2)">不通过</el-button>
|
|
|
+ <el-button type="primary" @click="confirmSubmit(1)">通 过</el-button>
|
|
|
+ </div>
|
|
|
+ </el-dialog>
|
|
|
+ </div>
|
|
|
+</template>
|
|
|
+<script>
|
|
|
+import Base from '@/views/base/base'
|
|
|
+import BaseData from '@/views/base/baseData'
|
|
|
+
|
|
|
+export default {
|
|
|
+ name: 'Index',
|
|
|
+ mixins: [Base, BaseData],
|
|
|
+ data() {
|
|
|
+ return {
|
|
|
+ dc_key: ['yesOrNo', 'yesOrNo', 'yesOrNo', 'COMPANY_INDUSTRY', 'enterpriseType', 'CURRENCY', 'MNP_BUILDING_TYPE'],
|
|
|
+ // 列表相关
|
|
|
+ search: {},
|
|
|
+ proveId: '',
|
|
|
+ parkLotList: [],
|
|
|
+ queryParam: {},
|
|
|
+ AllData: [],
|
|
|
+ loading: false,
|
|
|
+ // 弹框相关
|
|
|
+ dialogVisible: false,
|
|
|
+ dialogTitle: '企业认证审核',
|
|
|
+ isAdd: true,
|
|
|
+ form: this.initForm(),
|
|
|
+ rules: {},
|
|
|
+ // 信息回显
|
|
|
+ parkProveInfo: {},
|
|
|
+ user: {},
|
|
|
+ userAccount: {},
|
|
|
+ parkInfo: {}
|
|
|
+ }
|
|
|
+ },
|
|
|
+ mounted() {
|
|
|
+ this.initDict(this.dc_key).then((res) => {
|
|
|
+ this.getData()
|
|
|
+ console.log('this.dc_map_:', this.dc_map)
|
|
|
+ })
|
|
|
+ },
|
|
|
+ methods: {
|
|
|
+ getData: function() {
|
|
|
+ const _this = this
|
|
|
+ _this.loading = true
|
|
|
+ _this.AllData = []
|
|
|
+
|
|
|
+ // 时间
|
|
|
+ if ([] != this.search.payTime && undefined != this.search.payTime && this.search.payTime != null) {
|
|
|
+ this.search.startTime = this.search.payTime[0]
|
|
|
+ this.search.endTime = this.search.payTime[1]
|
|
|
+ }
|
|
|
+
|
|
|
+ this.search.pageNum = this.currentPage
|
|
|
+ this.search.pageSize = this.pageSize
|
|
|
+ this.baseRequest('listByModel', this.search).then((res) => {
|
|
|
+ if (res.data.rows) {
|
|
|
+ res.data.rows.forEach(function(item) {
|
|
|
+ const json = _this.getItemJson(item)
|
|
|
+ _this.AllData.push(json)
|
|
|
+ })
|
|
|
+ _this.allpage = res.data.total
|
|
|
+ }
|
|
|
+ _this.loading = false
|
|
|
+ }).catch(() => {
|
|
|
+ })
|
|
|
+ // this.initOutData()
|
|
|
+ },
|
|
|
+ handleSearch: function() {
|
|
|
+ this.getData()
|
|
|
+ },
|
|
|
+ handleReset: function() {
|
|
|
+ for (const i in this.search) {
|
|
|
+ if (i !== 'pageNum' && i !== 'pageSize') {
|
|
|
+ this.search[i] = ''
|
|
|
+ }
|
|
|
+ }
|
|
|
+ this.handleSearch()
|
|
|
+ },
|
|
|
+ initOutData: function() {
|
|
|
+ const _this = this
|
|
|
+ this.OutData = []
|
|
|
+ const title = [' 企业名称', ' 社会信用代码', ' 注册资金(万元)', ' 法定代表人', ' 联系人', ' 联系电话',
|
|
|
+ ' 所属行业', ' 所在园区', ' 认证申请时间', ' 审核结果', ' 审核时间', ' 审核人',
|
|
|
+ ' 企业类型', ' 是否总部', ' 是否进出口', ' 是否外资', ' 注册标识', ' 经营地址',
|
|
|
+ ' 统一社会信用代码', ' 注册时间', ' 经营范围', ' 营业执照']
|
|
|
+ this.OutData.push(title)
|
|
|
+
|
|
|
+ this.baseRequest('listAll', this.search).then((res) => {
|
|
|
+ if (res.data) {
|
|
|
+ res.data.forEach(function(item) {
|
|
|
+ const jsonMap = _this.getItemJson(item)
|
|
|
+ const jsonArray = []
|
|
|
+ jsonArray.push(jsonMap.enterpriseName)
|
|
|
+ jsonArray.push(jsonMap.enterpriseCode)
|
|
|
+ jsonArray.push(jsonMap.registerAmount)
|
|
|
+ jsonArray.push(jsonMap.legalUser)
|
|
|
+ jsonArray.push(jsonMap.contacts)
|
|
|
+ jsonArray.push(jsonMap.phone)
|
|
|
+ jsonArray.push(jsonMap.industry)
|
|
|
+ jsonArray.push(jsonMap.groupId)
|
|
|
+ jsonArray.push(jsonMap.applyTime)
|
|
|
+ jsonArray.push(jsonMap.state)
|
|
|
+ jsonArray.push(jsonMap.examineTime)
|
|
|
+ jsonArray.push(jsonMap.examineUserId)
|
|
|
+ jsonArray.push(jsonMap.enterpriseType)
|
|
|
+ jsonArray.push(jsonMap.isHead)
|
|
|
+ jsonArray.push(jsonMap.isImout)
|
|
|
+ jsonArray.push(jsonMap.isForeign)
|
|
|
+ jsonArray.push(jsonMap.registrationCode)
|
|
|
+ jsonArray.push(jsonMap.manageAddress)
|
|
|
+ jsonArray.push(jsonMap.socialCreditCode)
|
|
|
+ jsonArray.push(jsonMap.registerTime)
|
|
|
+ jsonArray.push(jsonMap.manageRange)
|
|
|
+ jsonArray.push(jsonMap.businessLicense)
|
|
|
+
|
|
|
+ _this.OutData.push(jsonArray)
|
|
|
+ })
|
|
|
+ }
|
|
|
+ }).catch(() => {
|
|
|
+ })
|
|
|
+ },
|
|
|
+ getItemJson: function(item) {
|
|
|
+ item.industry = this.dc_map.COMPANY_INDUSTRY[item.industry]
|
|
|
+ item.enterpriseType = this.dc_map.enterpriseType[item.enterpriseType]
|
|
|
+ item.isHead = this.dc_map.yesOrNo[item.isHead]
|
|
|
+ item.isImout = this.dc_map.yesOrNo[item.isImout]
|
|
|
+ item.isForeign = this.dc_map.yesOrNo[item.isForeign]
|
|
|
+ item.registrationCode = this.dc_map.yesOrNo[item.registrationCode]
|
|
|
+ // item.businessLicense = JSON.parse(item.businessLicense)
|
|
|
+ // console.log('/FileController/viewImg/' + item.businessLicense)
|
|
|
+ item.businessLicense = item.businessLicense
|
|
|
+ item.proveTypeString = item.proveType ? (item.proveType === '1' ? '首次认证' : '修改认证') : ''
|
|
|
+ return item
|
|
|
+ },
|
|
|
+ initForm: function() {
|
|
|
+ return {
|
|
|
+ id: '',
|
|
|
+ enterpriseName: '',
|
|
|
+ enterpriseCode: '',
|
|
|
+ registerAmount: '',
|
|
|
+ legalUser: '',
|
|
|
+ contacts: '',
|
|
|
+ phone: '',
|
|
|
+ industry: '',
|
|
|
+ groupId: '',
|
|
|
+ applyTime: '',
|
|
|
+ state: '',
|
|
|
+ examineTime: '',
|
|
|
+ examineUserId: '',
|
|
|
+ enterpriseType: '',
|
|
|
+ isHead: '',
|
|
|
+ isImout: '',
|
|
|
+ isForeign: '',
|
|
|
+ registrationCode: '',
|
|
|
+ manageAddress: '',
|
|
|
+ socialCreditCode: '',
|
|
|
+ registerTime: '',
|
|
|
+ manageRange: '',
|
|
|
+ businessLicense: ''
|
|
|
+ }
|
|
|
+ },
|
|
|
+ confirmOutput() {
|
|
|
+ const _this = this
|
|
|
+ this.OutData = []
|
|
|
+ const title = ['类型',' 企业名称',' 统一社会信用代码', ' 联系人', ' 联系电话',
|
|
|
+ ' 所属行业', ' 所在园区', ' 认证申请时间', ' 审核结果', ' 审核时间', ' 审核人',
|
|
|
+ ' 企业类型', ' 是否总部', ' 是否进出口', ' 是否外资', ' 注册标识', ' 经营地址',
|
|
|
+ ' 注册时间', ' 经营范围', ' 注册资金(万元)', ' 法定代表人']
|
|
|
+ _this.OutData.push(title)
|
|
|
+
|
|
|
+ this.baseRequest('listAll', this.search).then((res) => {
|
|
|
+ if (res.data) {
|
|
|
+ res.data.forEach(function(item) {
|
|
|
+ const jsonMap = _this.getItemJson(item)
|
|
|
+ const jsonArray = []
|
|
|
+ jsonArray.push(jsonMap.proveTypeString)
|
|
|
+ jsonArray.push(jsonMap.enterpriseName)
|
|
|
+ jsonArray.push(jsonMap.socialCreditCode)
|
|
|
+
|
|
|
+ jsonArray.push(jsonMap.contacts)
|
|
|
+ jsonArray.push(jsonMap.phone)
|
|
|
+ jsonArray.push(jsonMap.industry)
|
|
|
+ jsonArray.push(jsonMap.groupName)
|
|
|
+ jsonArray.push(jsonMap.createdAt)
|
|
|
+ jsonArray.push(jsonMap.resultDesc)
|
|
|
+ jsonArray.push(jsonMap.examineTime)
|
|
|
+ jsonArray.push(jsonMap.examineUserName)
|
|
|
+ jsonArray.push(jsonMap.enterpriseType)
|
|
|
+ jsonArray.push(jsonMap.isHead)
|
|
|
+ jsonArray.push(jsonMap.isImout)
|
|
|
+ jsonArray.push(jsonMap.isForeign)
|
|
|
+ jsonArray.push(jsonMap.registrationCode)
|
|
|
+ jsonArray.push(jsonMap.manageAddress)
|
|
|
+ jsonArray.push(jsonMap.registerTime)
|
|
|
+ jsonArray.push(jsonMap.manageRange)
|
|
|
+ // jsonArray.push(jsonMap.businessLicense)
|
|
|
+ jsonArray.push(jsonMap.registerAmount)
|
|
|
+ jsonArray.push(jsonMap.legalUser)
|
|
|
+ _this.OutData.push(jsonArray)
|
|
|
+ })
|
|
|
+ const OutSize = [{ wch: 15 },{ wch: 15 }, { wch: 15 }, { wch: 15 }, { wch: 15 }, { wch: 15 }, { wch: 15 },
|
|
|
+ { wch: 15 }, { wch: 15 }, { wch: 15 }, { wch: 15 }, { wch: 15 }, { wch: 15 },
|
|
|
+ { wch: 15 }, { wch: 15 }, { wch: 15 }, { wch: 15 }, { wch: 15 }, { wch: 15 },
|
|
|
+ { wch: 15 }, { wch: 15 }, { wch: 15 }]
|
|
|
+ const fileName = 'index导出 ' + new Date().Format('yyyyMMddhhmm')
|
|
|
+ console.log('_this.OutData',this.OutData,fileName)
|
|
|
+ this.$outputXlsxFile(this.OutData, OutSize, fileName)
|
|
|
+ }
|
|
|
+ }).catch(() => {
|
|
|
+ })
|
|
|
+ },
|
|
|
+ dlgOpen: function() {
|
|
|
+ const _this = this
|
|
|
+
|
|
|
+ if (_this.form.id !== '') {
|
|
|
+ const postData = {
|
|
|
+ id: _this.form.id
|
|
|
+ }
|
|
|
+ this.baseRequest('getById', postData).then((res) => {
|
|
|
+ if (res.data) {
|
|
|
+ _this.form = Object.assign({}, _this.form, res.data)
|
|
|
+ }
|
|
|
+ })
|
|
|
+ }
|
|
|
+ },
|
|
|
+ /* 新增*/
|
|
|
+ handleExamine: function(row) {
|
|
|
+ this.form = this.initForm()
|
|
|
+ this.isAdd = true
|
|
|
+ this.dialogVisible = true
|
|
|
+ this.dialogTitle = '企业认证审核'
|
|
|
+ this.proveId = row.id
|
|
|
+ this.getUserProve(row.id)
|
|
|
+ },
|
|
|
+
|
|
|
+ // 查看
|
|
|
+ handleShow: function(row) {
|
|
|
+ this.form = this.initForm()
|
|
|
+ this.isAdd = false
|
|
|
+ this.dialogVisible = true
|
|
|
+ this.dialogTitle = '企业认证审核'
|
|
|
+ this.proveId = row.id
|
|
|
+ this.getUserProve(row.id)
|
|
|
+ },
|
|
|
+
|
|
|
+ confirmSubmit: function(val) {
|
|
|
+ this.$confirm('此操作将审核该认证信息, 是否继续?', '提示', {
|
|
|
+ confirmButtonText: '确定',
|
|
|
+ cancelButtonText: '取消',
|
|
|
+ type: 'warning'
|
|
|
+ }).then(() => {
|
|
|
+ const reqData = {
|
|
|
+ id: this.proveId,
|
|
|
+ state: val
|
|
|
+ }
|
|
|
+ this.baseRequest('examine', reqData).then((res) => {
|
|
|
+ this.dialogVisible = false
|
|
|
+ this.getData()
|
|
|
+ let msg = ''
|
|
|
+ if (val == 1) {
|
|
|
+ console.log('res', res)
|
|
|
+ msg = '审核通过成功!'
|
|
|
+ } else {
|
|
|
+ msg = '审核不通过成功!'
|
|
|
+ }
|
|
|
+ this.$message({
|
|
|
+ type: 'success',
|
|
|
+ message: msg
|
|
|
+ })
|
|
|
+ }).catch((e) => {
|
|
|
+ this.$message({
|
|
|
+ type: 'error',
|
|
|
+ message: e
|
|
|
+ })
|
|
|
+ })
|
|
|
+ }).catch(() => {
|
|
|
+ this.$message({
|
|
|
+ type: 'info',
|
|
|
+ message: '已取消操作'
|
|
|
+ })
|
|
|
+ })
|
|
|
+ },
|
|
|
+ baseRequest(opUrl, postData) {
|
|
|
+ return this.$channel.globeRequest('ParkProveInfoController', opUrl, postData, 'project')
|
|
|
+ },
|
|
|
+
|
|
|
+ // 获取用户认证信息
|
|
|
+ getUserProve(id) {
|
|
|
+ const reqData = {
|
|
|
+ id: id
|
|
|
+ }
|
|
|
+ this.baseRequest('getDetialById', reqData).then((res) => {
|
|
|
+ console.log('获取用户认证信息——:', res)
|
|
|
+ if (res.data.data) {
|
|
|
+ this.parkProveInfo = this.getItemJson(res.data.data.parkProveInfo)
|
|
|
+ this.user = res.data.data.user
|
|
|
+ this.userAccount = res.data.data.userAccount
|
|
|
+ this.parkInfo = !res.data.data.parkInfo ? {} : res.data.data.parkInfo
|
|
|
+ if (this.parkProveInfo.currency) {
|
|
|
+ this.parkProveInfo.currency = '' + this.parkProveInfo.currency
|
|
|
+ }
|
|
|
+ // console.log('asopifoqwiegnioqeniofnioqwfnioqwfnio——:', res)
|
|
|
+ }
|
|
|
+ })
|
|
|
+ }
|
|
|
+
|
|
|
+ }
|
|
|
+}
|
|
|
+</script>
|
|
|
+
|
|
|
+<style scoped>
|
|
|
+.ch-input .el-input__inner {
|
|
|
+ border-color: #32323A;
|
|
|
+}
|
|
|
+
|
|
|
+.ch-input-size {
|
|
|
+ width: 150px;
|
|
|
+}
|
|
|
+
|
|
|
+.ch-button {
|
|
|
+ border-color: #32323A;
|
|
|
+ background-color: #32323A;
|
|
|
+ color: #fff;
|
|
|
+}
|
|
|
+
|
|
|
+.ch-button-warning {
|
|
|
+ margin-left: 10px;
|
|
|
+ border-color: #E6A23C;
|
|
|
+ background-color: #E6A23C;
|
|
|
+ color: #fff;
|
|
|
+}
|
|
|
+
|
|
|
+.ch-button-export {
|
|
|
+ margin-left: 10px;
|
|
|
+ border-color: #98CC1F;
|
|
|
+ background-color: #98CC1F;
|
|
|
+ color: #fff;
|
|
|
+}
|
|
|
+
|
|
|
+/deep/ .el-dialog__header {
|
|
|
+ padding: 10px 20px;
|
|
|
+}
|
|
|
+
|
|
|
+/deep/ .el-dialog__body {
|
|
|
+ padding: 10px 20px;
|
|
|
+}
|
|
|
+</style>
|