|
@@ -0,0 +1,846 @@
|
|
|
+<template>
|
|
|
+ <div>
|
|
|
+ <!-- 详情页面 -->
|
|
|
+ <el-row>
|
|
|
+ <el-col :span="24">
|
|
|
+ <div class="company_title" style="display: flex;align-items: center">
|
|
|
+ {{ form.qymc }}
|
|
|
+ <div class="" style="margin-left: 20px;margin-top: 10px">
|
|
|
+ <img v-if="form.isListingReserve === '是'" :src="require('../../../static/images/listingReserve.png')" style="width: 100px" alt="">
|
|
|
+ <img v-if="form.isImportantCompany === '是'" :src="require('../../../static/images/importantCompany.png')" style="width: 100px" alt="">
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="24">
|
|
|
+ <div style="min-height: 10px;float: left">
|
|
|
+ <div v-if="!tagOptions.length" class="comapny_tags">{{ '暂无标签' }}</div>
|
|
|
+ <div v-for="item in tagOptions" :key="item.id" class="comapny_tags">
|
|
|
+ {{ item.tagName }}
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div style="margin-bottom: 20px">
|
|
|
+ <el-tooltip v-if="fromAddress!=='getBillManagementCollecte'" class="item" effect="dark" content="编辑标签" placement="top-end">
|
|
|
+ <img :src="require('../../../static/images/editTag.png')" style="width: 25px;" alt="" @click="toEditTag">
|
|
|
+ </el-tooltip>
|
|
|
+ <el-tooltip class="item" effect="dark" content="标签历史" placement="top-end">
|
|
|
+ <img :src="require('../../../static/images/editHistory.png')" style="width: 25px;;" alt="" @click="toTagHistory">
|
|
|
+ </el-tooltip>
|
|
|
+ </div>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="24">
|
|
|
+ <div class="company_info">所属园区:{{ form.groupId }}</div>
|
|
|
+ <div class="company_info">所属行业:{{ form.industry }}</div>
|
|
|
+ <div class="company_info">入驻类型:{{ form.settleInTypeName }}</div>
|
|
|
+ <div class="company_info">从业人数:{{ form.practiceNumber }}</div>
|
|
|
+ <div class="company_info">当前企服专员:{{ form.serviceCommissionerName }}</div>
|
|
|
+ <div class="company_info">企业经营面积(㎡):{{ form.manageArea }}</div>
|
|
|
+
|
|
|
+<!-- <div class="company_info" style="margin-left: 0">所属楼盘:{{ form.areaName }}</div>-->
|
|
|
+<!-- <div class="company_info">所属行业:{{ form.industry }}</div>-->
|
|
|
+<!-- <div class="company_info">入驻类型:{{ form.settleInTypeName }}</div>-->
|
|
|
+<!-- <div class="company_info">法定代表人:{{ form.fddbr }}</div>-->
|
|
|
+<!-- <div class="company_info">联系人:{{ form.qylxr }}</div>-->
|
|
|
+<!-- <div class="company_info">联系电话:{{ form.lxdh }}</div>-->
|
|
|
+<!-- <div class="company_info">所属园区:{{ form.groupId }}</div>-->
|
|
|
+<!-- <div class="company_info">从业人数:{{ form.practiceNumber }}</div>-->
|
|
|
+<!-- <div class="company_info">入驻状态:{{ entryStatusName }}</div>-->
|
|
|
+<!-- <div class="company_info">入驻园区日期:{{ form.rzsj }}</div>-->
|
|
|
+<!-- <div class="company_info">当前企服专员:{{ form.serviceCommissionerName }}</div>-->
|
|
|
+ </el-col>
|
|
|
+ </el-row>
|
|
|
+ <el-tabs v-model="activeName" style="font-size: 16px" @tab-click="handleClick">
|
|
|
+ <el-tab-pane label="基本信息" name="基本信息">
|
|
|
+<!-- <el-button v-if="fromAddress!=='getBillManagementCollecte'" size="small" type="primary" @click="handleEdit()"><i class="el-icon-edit" /> 编辑</el-button>-->
|
|
|
+ <index-edit v-if="activeName==='基本信息'" ref="indexEdit" />
|
|
|
+ </el-tab-pane>
|
|
|
+ <el-tab-pane label="经发数据" name="经发数据">
|
|
|
+ <el-row>
|
|
|
+ <el-col :span="16">
|
|
|
+ <el-date-picker
|
|
|
+ v-model="yearSearch"
|
|
|
+ size="small"
|
|
|
+ type="year"
|
|
|
+ value-format="yyyy"
|
|
|
+ placeholder="选择年"
|
|
|
+ :clearable="false"
|
|
|
+ @change="getGrowthData"
|
|
|
+ />
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="16">
|
|
|
+ <el-table :data="tableData" style="width: 100%" size="mini">
|
|
|
+ <el-table-column prop="month" label="月份" />
|
|
|
+ <el-table-column prop="ysYb" label="营收(预报)" />
|
|
|
+ <el-table-column prop="ysYbLastYear" label="去年同期" />
|
|
|
+ <el-table-column label="同比增长">
|
|
|
+ <template v-slot="scope">
|
|
|
+ {{ scope.row.ysTbzz === '--' ? scope.row.ysTbzz : (parseFloat(scope.row.ysTbzz).toFixed(2) + '%') }}
|
|
|
+ <i v-if="scope.row.ysTbzz > 0 && scope.row.ysTbzz !== '--'" class="el-icon-top" style="color:#74D118;" />
|
|
|
+ <i v-if="scope.row.ysTbzz < 0 && scope.row.ysTbzz !== '--'" class="el-icon-bottom" style="color:#F61C1C;" />
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column label="环比增长">
|
|
|
+ <template v-slot="scope">
|
|
|
+ {{ scope.row.ysHbzz === '--' ? scope.row.ysHbzz : (parseFloat(scope.row.ysHbzz).toFixed(2) + '%') }}
|
|
|
+ <i v-if="scope.row.ysHbzz > 0 && scope.row.ysHbzz !== '--'" class="el-icon-top" style="color:#74D118;" />
|
|
|
+ <i v-if="scope.row.ysHbzz < 0 && scope.row.ysHbzz !== '--'" class="el-icon-bottom" style="color:#F61C1C;" />
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="ysDr" label="营收(导入)" width="100" />
|
|
|
+ <el-table-column prop="ysCyz" label="差异值" />
|
|
|
+ <el-table-column prop="ssYb" label="税收(预报)" width="100" />
|
|
|
+ <el-table-column prop="ssYbLastYear" label="去年同期" />
|
|
|
+ <el-table-column label="同比增长">
|
|
|
+ <template v-slot="scope">
|
|
|
+ {{ scope.row.ssTbzz === '--' ? scope.row.ssTbzz : (parseFloat(scope.row.ssTbzz).toFixed(2) + '%') }}
|
|
|
+ <i v-if="scope.row.ssTbzz > 0 && scope.row.ssTbzz !== '--'" class="el-icon-top" style="color:#74D118;" />
|
|
|
+ <i v-if="scope.row.ssTbzz < 0 && scope.row.ssTbzz !== '--'" class="el-icon-bottom" style="color:#F61C1C;" />
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column label="环比增长">
|
|
|
+ <template v-slot="scope">
|
|
|
+ {{ scope.row.ssHbzz === '--' ? scope.row.ssHbzz : (parseFloat(scope.row.ssHbzz).toFixed(2) + '%') }}
|
|
|
+ <i v-if="scope.row.ssHbzz > 0 && scope.row.ssHbzz !== '--'" class="el-icon-top" style="color:#74D118;" />
|
|
|
+ <i v-if="scope.row.ssHbzz < 0 && scope.row.ssHbzz !== '--'" class="el-icon-bottom" style="color:#F61C1C;" />
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="ssDr" label="税收(导入)" width="100" />
|
|
|
+ <el-table-column prop="ssCyz" label="差异值" />
|
|
|
+ </el-table>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="8">
|
|
|
+ <div
|
|
|
+ v-if="activeName === '经发数据'"
|
|
|
+ id="charts"
|
|
|
+ style="height: 490px; width: 100%"
|
|
|
+ />
|
|
|
+ </el-col>
|
|
|
+ </el-row>
|
|
|
+ </el-tab-pane>
|
|
|
+<!-- <el-tab-pane label="合同信息" name="合同信息">-->
|
|
|
+<!-- <el-row>-->
|
|
|
+<!-- <el-col :span="24">-->
|
|
|
+<!-- <el-table :data="tableData" style="width: 100%" size="mini">-->
|
|
|
+<!-- <el-table-column type="index" label="序号" />-->
|
|
|
+<!-- <el-table-column prop="enterpriseName" label="乙方名称" />-->
|
|
|
+<!-- <el-table-column prop="contractNo" label="合同编号" />-->
|
|
|
+<!-- <el-table-column prop="contractType" label="合同类型" />-->
|
|
|
+<!-- <el-table-column prop="address" label="合同日期起止">-->
|
|
|
+<!-- <template v-slot="scope">-->
|
|
|
+<!-- {{ scope.row.startDate + ' ~ ' + scope.row.endDate }}-->
|
|
|
+<!-- </template>-->
|
|
|
+<!-- </el-table-column>-->
|
|
|
+<!-- <el-table-column prop="estateBuildingRoomNo" label="载体" />-->
|
|
|
+<!-- <el-table-column prop="limitMonth" label="租期(月)" />-->
|
|
|
+<!-- <el-table-column prop="area" label="面积(平米)" />-->
|
|
|
+<!-- <el-table-column prop="totalRent" label="合同总金额(万元)" />-->
|
|
|
+<!-- <el-table-column prop="" label="应收结余(万元)" />-->
|
|
|
+<!-- <el-table-column prop="totalPropertyCost" label="总物业费金额(万元)" />-->
|
|
|
+<!-- <el-table-column prop="contractStatus" label="合同状态" />-->
|
|
|
+<!-- <el-table-column label="操作" align="center" width="90">-->
|
|
|
+<!-- <template scope="scope">-->
|
|
|
+<!-- <el-button size="mini" type="text" @click="handleView(scope.row)">查看</el-button>-->
|
|
|
+<!-- </template>-->
|
|
|
+<!-- </el-table-column>-->
|
|
|
+<!-- </el-table>-->
|
|
|
+<!-- </el-col>-->
|
|
|
+<!-- </el-row>-->
|
|
|
+<!-- </el-tab-pane>-->
|
|
|
+<!-- <el-tab-pane label="入驻情况" name="入驻情况">-->
|
|
|
+<!-- <el-row>-->
|
|
|
+<!-- <el-col :span="24">-->
|
|
|
+<!-- 当前入驻状态:{{ entryStatusName }}-->
|
|
|
+<!-- </el-col>-->
|
|
|
+<!-- <el-col :span="24">-->
|
|
|
+<!-- <el-table :data="tableData" style="width: 100%" size="mini">-->
|
|
|
+<!-- <el-table-column align="center" type="index" label="序号" />-->
|
|
|
+<!-- <el-table-column align="center" prop="orderType" label="类型" />-->
|
|
|
+<!-- <el-table-column align="center" prop="orderNo" label="对应单号" />-->
|
|
|
+<!-- <el-table-column align="center" prop="completionDate" label="办结日期" />-->
|
|
|
+<!-- <el-table-column label="操作" align="center" width="90">-->
|
|
|
+<!-- <template scope="scope">-->
|
|
|
+<!-- <el-button size="mini" type="text" @click="handleEntryView(scope.row)">查看</el-button>-->
|
|
|
+<!-- </template>-->
|
|
|
+<!-- </el-table-column>-->
|
|
|
+<!-- </el-table>-->
|
|
|
+<!-- </el-col>-->
|
|
|
+<!-- </el-row>-->
|
|
|
+<!-- </el-tab-pane>-->
|
|
|
+<!-- <el-tab-pane label="缴费记录" name="缴费记录">-->
|
|
|
+<!-- <el-row>-->
|
|
|
+<!-- <el-col :span="24">-->
|
|
|
+<!-- <el-table :data="tableData" style="width: 100%" size="mini">-->
|
|
|
+<!-- <el-table-column prop="date" label="序号" />-->
|
|
|
+<!-- <el-table-column prop="name" label="合同编号" />-->
|
|
|
+<!-- <el-table-column prop="address" label="企业名称" />-->
|
|
|
+<!-- <el-table-column prop="address" label="联系人" />-->
|
|
|
+<!-- <el-table-column prop="address" label="联系电话" />-->
|
|
|
+<!-- <el-table-column prop="address" label="账单归属" />-->
|
|
|
+<!-- <el-table-column prop="address" label="账单日期" />-->
|
|
|
+<!-- <el-table-column prop="address" label="缴费日期" />-->
|
|
|
+<!-- <el-table-column prop="address" label="费用类型" />-->
|
|
|
+<!-- <el-table-column prop="address" label="支付金额" />-->
|
|
|
+<!-- <el-table-column prop="address" label="支付方式" />-->
|
|
|
+<!-- <el-table-column prop="address" label="支付凭证" />-->
|
|
|
+<!-- <el-table-column prop="address" label="开票状态" />-->
|
|
|
+<!-- <el-table-column prop="address" label="发票类型" />-->
|
|
|
+<!-- <el-table-column prop="address" label="发票号" />-->
|
|
|
+<!-- </el-table>-->
|
|
|
+<!-- </el-col>-->
|
|
|
+<!-- </el-row>-->
|
|
|
+<!-- </el-tab-pane>-->
|
|
|
+<!-- <el-tab-pane label="补贴信息" name="补贴信息">-->
|
|
|
+<!-- <el-row>-->
|
|
|
+<!-- <el-col :span="24" style="text-align: right">-->
|
|
|
+<!-- 累计补贴金额:{{ subsidyMoneyTotal }}万元-->
|
|
|
+<!-- </el-col>-->
|
|
|
+<!-- </el-row>-->
|
|
|
+<!-- <el-row>-->
|
|
|
+<!-- <el-col :span="24">-->
|
|
|
+<!-- <el-table :data="tableData" style="width: 100%" size="mini">-->
|
|
|
+<!-- <el-table-column align="center" type="index" label="序号" />-->
|
|
|
+<!-- <el-table-column align="center" prop="enterpriseName" label="企业名称" />-->
|
|
|
+<!-- <el-table-column align="center" prop="projectName" label="项目名称" />-->
|
|
|
+<!-- <el-table-column align="center" prop="subsidyMonth" label="补贴月份" />-->
|
|
|
+<!-- <el-table-column align="center" prop="subsidyMoney" label="补贴金额(万元)" />-->
|
|
|
+<!-- </el-table>-->
|
|
|
+<!-- </el-col>-->
|
|
|
+<!-- </el-row>-->
|
|
|
+<!-- </el-tab-pane>-->
|
|
|
+ <el-tab-pane label="走访信息" name="走访信息">
|
|
|
+ <el-row>
|
|
|
+ <el-col :span="24">
|
|
|
+ <el-table :data="tableData" style="width: 100%" size="mini">
|
|
|
+ <el-table-column align="center" type="index" label="序号" />
|
|
|
+ <el-table-column align="center" prop="interviewTime" label="走访时间" />
|
|
|
+ <el-table-column align="center" prop="interviewUserName" label="走访人" />
|
|
|
+ <el-table-column align="center" prop="interviewRecord" label="走访记录" />
|
|
|
+ <el-table-column align="center" prop="interviewType" label="走访类型" />
|
|
|
+ <el-table-column align="center" prop="isStatus" label="是否需要处理" />
|
|
|
+ <el-table-column align="center" prop="handleResult" label="处理结果" />
|
|
|
+ <el-table-column align="center" prop="handleUserName" label="处理人" />
|
|
|
+ </el-table>
|
|
|
+ </el-col>
|
|
|
+ </el-row>
|
|
|
+ </el-tab-pane>
|
|
|
+<!-- <el-tab-pane label="上市进展" name="上市进展">-->
|
|
|
+<!-- <el-card>-->
|
|
|
+<!-- <el-row>-->
|
|
|
+<!-- <el-col :span="3" class="col-txt">新增时间:</el-col>-->
|
|
|
+<!-- <el-col :span="10" class="col-input">-->
|
|
|
+<!-- <el-input v-model="formData.createDate" readonly />-->
|
|
|
+<!-- </el-col>-->
|
|
|
+<!-- <el-col :span="5" class="col-txt">当前是否上市后备企业:</el-col>-->
|
|
|
+<!-- <el-col :span="5" class="col-input">-->
|
|
|
+<!-- {{ form.isListingReserve === '是' ? form.isListingReserve: '否' }}-->
|
|
|
+<!-- </el-col>-->
|
|
|
+<!-- </el-row>-->
|
|
|
+<!-- <el-row style="margin-top: 10px">-->
|
|
|
+<!-- <el-col :span="3" class="col-txt">公司简介:</el-col>-->
|
|
|
+<!-- <el-col :span="20" class="col-input">-->
|
|
|
+<!-- <el-input v-model="formData.companyProfile" type="textarea" autosize readonly />-->
|
|
|
+<!-- </el-col>-->
|
|
|
+<!-- </el-row>-->
|
|
|
+<!-- <el-row style="margin-top: 10px">-->
|
|
|
+<!-- <el-col :span="3" class="col-txt">上市板块:</el-col>-->
|
|
|
+<!-- <el-col :span="20" class="col-input">-->
|
|
|
+<!-- <el-input v-model="formData.listSector" readonly />-->
|
|
|
+<!-- </el-col>-->
|
|
|
+<!-- </el-row>-->
|
|
|
+<!-- <el-row style="margin-top: 10px">-->
|
|
|
+<!-- <el-col :span="3" class="col-txt">挂钩领导:</el-col>-->
|
|
|
+<!-- <el-col :span="20" class="col-input">-->
|
|
|
+<!-- <el-input v-model="formData.linkedLeadership" readonly />-->
|
|
|
+<!-- </el-col>-->
|
|
|
+<!-- </el-row>-->
|
|
|
+<!-- <el-row style="margin-top: 10px">-->
|
|
|
+<!-- <el-col :span="3" class="col-txt">上市进度:</el-col>-->
|
|
|
+<!-- <el-col :span="20" class="col-input">-->
|
|
|
+<!-- <el-input v-model="formData.listProgress" type="textarea" autosize readonly />-->
|
|
|
+<!-- </el-col>-->
|
|
|
+<!-- </el-row>-->
|
|
|
+<!-- <el-row style="margin-top: 10px">-->
|
|
|
+<!-- <el-col :span="3" class="col-txt">最新进展:</el-col>-->
|
|
|
+<!-- <el-col :span="20" class="col-input">-->
|
|
|
+<!-- <el-input v-model="formData.latestDevelopments" type="textarea" autosize readonly />-->
|
|
|
+<!-- </el-col>-->
|
|
|
+<!-- </el-row>-->
|
|
|
+<!-- <el-row style="margin-top: 10px">-->
|
|
|
+<!-- <el-col :span="3" class="col-txt">更新时间:</el-col>-->
|
|
|
+<!-- <el-col :span="20" class="col-input">-->
|
|
|
+<!-- <el-input v-model="formData.updateDate" readonly />-->
|
|
|
+<!-- </el-col>-->
|
|
|
+<!-- </el-row>-->
|
|
|
+<!-- <el-row style="margin-top: 10px">-->
|
|
|
+<!-- <el-col :span="3" class="col-txt">更新人:</el-col>-->
|
|
|
+<!-- <el-col :span="20" class="col-input">-->
|
|
|
+<!-- <el-input v-model="formData.updateBy" readonly />-->
|
|
|
+<!-- </el-col>-->
|
|
|
+<!-- </el-row>-->
|
|
|
+<!-- </el-card>-->
|
|
|
+<!-- </el-tab-pane>-->
|
|
|
+<!-- <el-tab-pane label="能耗情况" name="能耗情况">-->
|
|
|
+<!-- <el-row>-->
|
|
|
+<!-- <el-col :span="24">-->
|
|
|
+<!-- <el-table :data="tableData" style="width: 100%" size="mini">-->
|
|
|
+<!-- <el-table-column prop="date" label="序号" />-->
|
|
|
+<!-- <el-table-column prop="name" label="账单日期" />-->
|
|
|
+<!-- <el-table-column prop="address" label="能耗类型" />-->
|
|
|
+<!-- <el-table-column prop="address" label="账单归属" />-->
|
|
|
+<!-- <el-table-column prop="address" label="数量" />-->
|
|
|
+<!-- <el-table-column prop="address" label="单位" />-->
|
|
|
+<!-- <el-table-column prop="address" label="单价(元)" />-->
|
|
|
+<!-- <el-table-column prop="address" label="已收金额(元)" />-->
|
|
|
+<!-- <el-table-column prop="address" label="欠费金额(元)" />-->
|
|
|
+<!-- </el-table>-->
|
|
|
+<!-- </el-col>-->
|
|
|
+<!-- </el-row>-->
|
|
|
+<!-- </el-tab-pane>-->
|
|
|
+<!-- <el-tab-pane label="风险预警" name="风险预警">-->
|
|
|
+<!-- <risk ref="risk" :from-address="fromAddress" />-->
|
|
|
+<!-- </el-tab-pane>-->
|
|
|
+ </el-tabs>
|
|
|
+ <div slot="footer" style="text-align: right">
|
|
|
+ <el-button @click="handleClose">关 闭</el-button>
|
|
|
+ </div>
|
|
|
+ <el-dialog
|
|
|
+ :title="dialogTitle"
|
|
|
+ :visible.sync="dialogVisible"
|
|
|
+ width="75%"
|
|
|
+ top="50px"
|
|
|
+ :close-on-press-escape="false"
|
|
|
+ :close-on-click-modal="false"
|
|
|
+ append-to-body
|
|
|
+ @close="handleEditClose"
|
|
|
+ >
|
|
|
+ <index-edit v-if="dialogVisible" ref="indexEdit2" @editClose="handleEditClose" />
|
|
|
+ </el-dialog>
|
|
|
+ <!-- 企业标签相关 -->
|
|
|
+ <el-dialog
|
|
|
+ :title="tagName"
|
|
|
+ :visible.sync="dialogBindCompanyLogVisible"
|
|
|
+ :close-on-click-modal="false"
|
|
|
+ :close-on-press-escape="false"
|
|
|
+ width="90%"
|
|
|
+ top="20px"
|
|
|
+ append-to-body
|
|
|
+ @close="getChildrenData"
|
|
|
+ >
|
|
|
+ <bind-company-tag ref="bindCompanyTag" @childEventBug="getChildrenData" />
|
|
|
+ </el-dialog>
|
|
|
+ <el-dialog
|
|
|
+ :title="'合同详情'"
|
|
|
+ :visible.sync="dialogContractVisible"
|
|
|
+ :close-on-click-modal="false"
|
|
|
+ :close-on-press-escape="false"
|
|
|
+ width="90%"
|
|
|
+ top="20px"
|
|
|
+ append-to-body
|
|
|
+ @close="contractClose"
|
|
|
+ >
|
|
|
+ <contract-detail v-if="dialogContractVisible" ref="contractDetail" @dlgClose="contractClose" />
|
|
|
+ </el-dialog>
|
|
|
+ <el-dialog
|
|
|
+ :title="'入驻详情'"
|
|
|
+ :visible.sync="dialogSettleInVisible"
|
|
|
+ :close-on-click-modal="false"
|
|
|
+ :close-on-press-escape="false"
|
|
|
+ width="90%"
|
|
|
+ top="20px"
|
|
|
+ append-to-body
|
|
|
+ @close="settleInClose"
|
|
|
+ >
|
|
|
+ <settle-in-view v-if="dialogSettleInVisible" ref="settleInDetail" @checkClose="settleInClose" />
|
|
|
+ </el-dialog>
|
|
|
+ <el-dialog
|
|
|
+ title="快速清退单详情"
|
|
|
+ :visible.sync="clearVisible"
|
|
|
+ :close-on-click-modal="false"
|
|
|
+ :close-on-press-escape="false"
|
|
|
+ width="90%"
|
|
|
+ top="20px"
|
|
|
+ append-to-body
|
|
|
+ @close="clearClose"
|
|
|
+ >
|
|
|
+ <clear-view v-if="clearVisible" ref="clearDetail" @cancel="clearClose" />
|
|
|
+ </el-dialog>
|
|
|
+ <el-dialog
|
|
|
+ title="退租单详情"
|
|
|
+ :visible.sync="retreatVisible"
|
|
|
+ :close-on-click-modal="false"
|
|
|
+ :close-on-press-escape="false"
|
|
|
+ width="90%"
|
|
|
+ top="20px"
|
|
|
+ append-to-body
|
|
|
+ @close="clearClose"
|
|
|
+ >
|
|
|
+ <retreat-view v-if="retreatVisible" ref="retreatDetail" @cancel="retreatClose" />
|
|
|
+ </el-dialog>
|
|
|
+ <tag-record ref="tagRecord" />
|
|
|
+ </div>
|
|
|
+</template>
|
|
|
+<script>
|
|
|
+import Base from '@/views/base/base'
|
|
|
+import risk from './risk.vue'
|
|
|
+import IndexEdit from '@/views/company/components/indexEdit.vue'
|
|
|
+import bindCompanyTag from '@/views/company/dialog/bindCompanyTag.vue'
|
|
|
+import tagRecord from '@/views/company/dialog/tagRecord.vue'
|
|
|
+import ContractDetail from '@/views/company/components/contractDetail.vue'
|
|
|
+
|
|
|
+export default {
|
|
|
+ name: 'IndexDetail',
|
|
|
+ components: { ContractDetail, tagRecord, bindCompanyTag, IndexEdit, risk, },
|
|
|
+ mixins: [Base],
|
|
|
+ props: {
|
|
|
+ // 确认从哪个页面跳转过来的,这样可以做相应的操作
|
|
|
+ fromAddress: {
|
|
|
+ type: String,
|
|
|
+ default: ''
|
|
|
+ }
|
|
|
+ },
|
|
|
+ data() {
|
|
|
+ return {
|
|
|
+ form: {},
|
|
|
+ formData: {},
|
|
|
+ tagOptions: [],
|
|
|
+ tableData: [],
|
|
|
+ activeName: '基本信息',
|
|
|
+ dc_key: ['MNP_BUILDING_TYPE', 'CURRENCY', 'MNP_BUILDING_LCQY', 'CONTRACT_STATUS', 'CONTRACT_TYPE', 'SETTLE_IN_STATUS'],
|
|
|
+ // 弹框相关
|
|
|
+ closeRefresh: false,
|
|
|
+ dialogVisible: false,
|
|
|
+ dialogTitle: '',
|
|
|
+ tagName: '',
|
|
|
+ dialogContractVisible: false,
|
|
|
+ dialogBindCompanyLogVisible: false,
|
|
|
+ dialogSettleInVisible: false,
|
|
|
+ clearVisible: false,
|
|
|
+ retreatVisible: false,
|
|
|
+ yearSearch: '',
|
|
|
+ entryStatusName: '',
|
|
|
+ subsidyMoneyTotal: 0
|
|
|
+ }
|
|
|
+ },
|
|
|
+ mounted() {
|
|
|
+ },
|
|
|
+ methods: {
|
|
|
+ initData(data) {
|
|
|
+ this.baseRequest('getById', { id: data.id }).then(res => {
|
|
|
+ this.form = res.data || {}
|
|
|
+ this.initDict(this.dc_key).then(res => {
|
|
|
+ this.form.area = this.form.area ? this.dc_map.MNP_BUILDING_LCQY[this.form.area] : ''
|
|
|
+ this.form.settleInTypeName = this.form.settleInType ? this.dc_map.MNP_BUILDING_TYPE[this.form.settleInType] : ''
|
|
|
+ this.entryStatusName = this.form.entryStatus ? this.dc_map.SETTLE_IN_STATUS[this.form.entryStatus] : ''
|
|
|
+ })
|
|
|
+ this.$nextTick(() => {
|
|
|
+ this.$refs.indexEdit.initData(this.form.id, false, true)
|
|
|
+ })
|
|
|
+ this.initTagInfo()
|
|
|
+ })
|
|
|
+ },
|
|
|
+ initTagInfo() {
|
|
|
+ this.tagOptions = []
|
|
|
+ if (this.form.id) {
|
|
|
+ this.mnpTagInfoRequest('getCompanyTags/' + this.form.id, {}).then((res) => {
|
|
|
+ this.tagOptions = res.data || []
|
|
|
+ })
|
|
|
+ }
|
|
|
+ },
|
|
|
+ handleClose() {
|
|
|
+ this.$emit('detailClose', this.closeRefresh)
|
|
|
+ },
|
|
|
+ initChart() {
|
|
|
+ // 基于准备好的dom,初始化echarts实例 这个和上面的main对应
|
|
|
+ const myChart = this.$echarts.init(document.getElementById('charts'))
|
|
|
+ window.addEventListener('resize', myChart.resize)
|
|
|
+ const month = []
|
|
|
+ const ss = []
|
|
|
+ const ys = []
|
|
|
+ this.tableData.forEach(item => {
|
|
|
+ month.push(item.month)
|
|
|
+ ss.push(item.ssDr === '--' ? 0 : item.ssDr)
|
|
|
+ ys.push(item.ysDr === '--' ? 0 : item.ysDr)
|
|
|
+ })
|
|
|
+ // 指定图表的配置项和数据
|
|
|
+ const option = {
|
|
|
+ color: ['#4C77FE', '#1860FF'],
|
|
|
+ tooltip: {
|
|
|
+ trigger: 'axis',
|
|
|
+ axisPointer: {
|
|
|
+ // Use axis to trigger tooltip
|
|
|
+ type: 'shadow' // 'shadow' as default; can also be 'line' or 'shadow'
|
|
|
+ }
|
|
|
+ },
|
|
|
+ legend: {
|
|
|
+ x: 'center', // 可设定图例在左、右、居中
|
|
|
+ y: 'bottom' // 可设定图例在上、下、居中
|
|
|
+ },
|
|
|
+ grid: {
|
|
|
+ left: '3%',
|
|
|
+ right: '4%',
|
|
|
+
|
|
|
+ containLabel: true
|
|
|
+ },
|
|
|
+ xAxis: {
|
|
|
+ type: 'value'
|
|
|
+ },
|
|
|
+ yAxis: {
|
|
|
+ type: 'category',
|
|
|
+ data: month
|
|
|
+ },
|
|
|
+ series: [
|
|
|
+ {
|
|
|
+ name: '税收',
|
|
|
+ type: 'bar',
|
|
|
+ stack: 'total',
|
|
|
+ label: {
|
|
|
+ show: true
|
|
|
+ },
|
|
|
+ emphasis: {
|
|
|
+ focus: 'series'
|
|
|
+ },
|
|
|
+ data: ss
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name: '营收',
|
|
|
+ type: 'bar',
|
|
|
+ stack: 'total',
|
|
|
+ label: {
|
|
|
+ show: true
|
|
|
+ },
|
|
|
+ emphasis: {
|
|
|
+ focus: 'series'
|
|
|
+ },
|
|
|
+ data: ys
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ }
|
|
|
+ // 使用刚指定的配置项和数据显示图表。
|
|
|
+ myChart.setOption(option)
|
|
|
+ },
|
|
|
+ handleClick(tab, event) {
|
|
|
+ this.tableData = []
|
|
|
+ if (tab.name === '基本信息') {
|
|
|
+ this.$nextTick(() => {
|
|
|
+ this.$refs.indexEdit.initData(this.form.id, false, true)
|
|
|
+ })
|
|
|
+ } else if (tab.name === '经发数据') {
|
|
|
+ this.yearSearch = this.$common.formatDate('yyyy', new Date())
|
|
|
+ this.getGrowthData()
|
|
|
+ } else if (tab.name === '走访信息') {
|
|
|
+ this.getInterviewData()
|
|
|
+ } else if (tab.name === '合同信息') {
|
|
|
+ this.getContractData()
|
|
|
+ } else if (tab.name === '入驻情况') {
|
|
|
+ this.getEntryData()
|
|
|
+ } else if (tab.name === '补贴信息') {
|
|
|
+ this.getSubsidyData()
|
|
|
+ } else if (tab.name === '上市进展') {
|
|
|
+ this.getReserveData()
|
|
|
+ } else if (tab.name === '风险预警') {
|
|
|
+ this.$nextTick(() => {
|
|
|
+ this.$refs.risk.initData(this.form.id)
|
|
|
+ })
|
|
|
+ }
|
|
|
+ },
|
|
|
+ getGrowthData() {
|
|
|
+ this.parkFillInfoRequest('getGrowthData', { id: this.form.id, year: this.yearSearch }).then(res => {
|
|
|
+ this.tableData = res.data || []
|
|
|
+ this.initChart()
|
|
|
+ })
|
|
|
+ },
|
|
|
+ getSubsidyData() {
|
|
|
+ this.subsidyMoneyTotal = 0
|
|
|
+ this.baseRequest('getSubsidyData', { id: this.form.id }).then(res => {
|
|
|
+ this.tableData = res.data || []
|
|
|
+ this.tableData.forEach(item => {
|
|
|
+ if (item.subsidyMonth) {
|
|
|
+ item.subsidyMonth = this.$common.formatDate('yyyy-MM', new Date(item.subsidyMonth))
|
|
|
+ }
|
|
|
+ this.subsidyMoneyTotal += item.subsidyMoney
|
|
|
+ })
|
|
|
+ })
|
|
|
+ },
|
|
|
+ getReserveData() {
|
|
|
+ this.baseRequest('getReserveData', { id: this.form.id }).then(res => {
|
|
|
+ this.formData = res.data || {}
|
|
|
+ if (this.formData.createDate) {
|
|
|
+ this.formData.createDate = this.$common.formatDate('yyyy-MM-dd hh:mm:ss', new Date(this.formData.createDate))
|
|
|
+ }
|
|
|
+ if (this.formData.updateDate) {
|
|
|
+ this.formData.updateDate = this.$common.formatDate('yyyy-MM-dd hh:mm:ss', new Date(this.formData.updateDate))
|
|
|
+ }
|
|
|
+ })
|
|
|
+ },
|
|
|
+ getInterviewData() {
|
|
|
+ this.baseRequest('getInterviewData', { id: this.form.id }).then(res => {
|
|
|
+ this.tableData = res.data || []
|
|
|
+ if (this.tableData.length) {
|
|
|
+ this.tableData.forEach(item => {
|
|
|
+ if (item.isStatus) {
|
|
|
+ item.isStatus = item.isStatus === '1' ? '否' : item.isStatus === '2' ? '是' : ''
|
|
|
+ if (item.isStatus === '否') {
|
|
|
+ item.handleResult = ''
|
|
|
+ item.handleUserName = ''
|
|
|
+ }
|
|
|
+ }
|
|
|
+ })
|
|
|
+ }
|
|
|
+ })
|
|
|
+ },
|
|
|
+ getContractData() {
|
|
|
+ this.baseRequest('getContractData', { code: this.form.shxydm }).then(res => {
|
|
|
+ this.tableData = res.data || []
|
|
|
+ this.tableData.forEach(item => {
|
|
|
+ item.contractStatus = item.contractStatus ? this.dc_map.CONTRACT_STATUS[item.contractStatus] : ''
|
|
|
+ item.contractType = item.contractType ? this.dc_map.CONTRACT_TYPE[item.contractType] : ''
|
|
|
+ })
|
|
|
+ })
|
|
|
+ },
|
|
|
+ getEntryData() {
|
|
|
+ this.baseRequest('getMnpCompanyEntryData', { id: this.form.id }).then(res => {
|
|
|
+ this.tableData = res.data || []
|
|
|
+ })
|
|
|
+ },
|
|
|
+ handleView(row) {
|
|
|
+ this.dialogContractVisible = true
|
|
|
+ this.$nextTick(() => {
|
|
|
+ this.$refs.contractDetail.initData(row.id)
|
|
|
+ })
|
|
|
+ },
|
|
|
+ handleEntryView(row) {
|
|
|
+ if (row.orderType === '入驻单') {
|
|
|
+ this.dialogSettleInVisible = true
|
|
|
+ this.$nextTick(() => {
|
|
|
+ this.$refs.settleInDetail.initData(row, 'complete')
|
|
|
+ })
|
|
|
+ } else if (row.orderType === '快速清退单') {
|
|
|
+ this.clearVisible = true
|
|
|
+ this.$nextTick(() => {
|
|
|
+ this.$refs.clearDetail.initData(row, 'clearanceComplete')
|
|
|
+ })
|
|
|
+ } else if (row.orderType === '退租单') {
|
|
|
+ this.retreatVisible = true
|
|
|
+ this.$nextTick(() => {
|
|
|
+ this.$refs.retreatDetail.initData(row, 'rentOutEnd')
|
|
|
+ })
|
|
|
+ }
|
|
|
+ },
|
|
|
+ settleInClose() {
|
|
|
+ this.dialogSettleInVisible = false
|
|
|
+ },
|
|
|
+ clearClose() {
|
|
|
+ this.clearVisible = false
|
|
|
+ },
|
|
|
+ retreatClose() {
|
|
|
+ this.retreatVisible = false
|
|
|
+ },
|
|
|
+ contractClose() {
|
|
|
+ this.dialogContractVisible = false
|
|
|
+ },
|
|
|
+ handleEdit() {
|
|
|
+ this.dialogVisible = true
|
|
|
+ this.dialogTitle = '编辑'
|
|
|
+ this.$nextTick(() => {
|
|
|
+ this.$refs.indexEdit2.initData(this.form.id, false, false)
|
|
|
+ })
|
|
|
+ },
|
|
|
+ handleEditClose(refresh) {
|
|
|
+ this.dialogVisible = false
|
|
|
+ if (refresh) {
|
|
|
+ this.baseRequest('getById', { id: this.form.id }).then(res => {
|
|
|
+ this.form = res.data || {}
|
|
|
+ this.$nextTick(() => {
|
|
|
+ this.$refs.indexEdit.initData(this.form.id, false, true)
|
|
|
+ })
|
|
|
+ })
|
|
|
+ this.closeRefresh = true
|
|
|
+ }
|
|
|
+ },
|
|
|
+ toEditTag() {
|
|
|
+ this.tagName = this.form.qymc + '标签'
|
|
|
+ this.dialogBindCompanyLogVisible = true
|
|
|
+ // 新vue时调用的方法
|
|
|
+ this.$nextTick(() => {
|
|
|
+ const a = []
|
|
|
+ a.push({ id: this.form.id })
|
|
|
+ this.$refs.bindCompanyTag.initData(a)
|
|
|
+ })
|
|
|
+ },
|
|
|
+ getChildrenData() {
|
|
|
+ this.dialogBindCompanyLogVisible = false
|
|
|
+ this.initTagInfo()
|
|
|
+ this.closeRefresh = true
|
|
|
+ },
|
|
|
+ toTagHistory() {
|
|
|
+ this.$refs.tagRecord.setVisible(true, this.form.id)
|
|
|
+ },
|
|
|
+ mnpTagInfoRequest(opUrl, postData) {
|
|
|
+ return this.$channel.globeRequest('MnpTagInfoController', opUrl, postData, 'project')
|
|
|
+ },
|
|
|
+ parkFillInfoRequest(opUrl, postData) {
|
|
|
+ return this.$channel.globeRequest('ParkFillInfoController', opUrl, postData, 'project')
|
|
|
+ },
|
|
|
+ baseRequest(opUrl, postData) {
|
|
|
+ return this.$channel.globeRequest('MnpCompanyController', opUrl, postData, 'project')
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|
|
|
+</script>
|
|
|
+
|
|
|
+<style scoped>
|
|
|
+.fuck_switch{
|
|
|
+ height: 27px;
|
|
|
+ width: 27px;
|
|
|
+ line-height: 27px;
|
|
|
+ border-radius: 50%;
|
|
|
+ background: white;
|
|
|
+ text-align: center;
|
|
|
+ position: absolute;
|
|
|
+ z-index: 100;
|
|
|
+ top: 96%;
|
|
|
+ left: 50%;
|
|
|
+}
|
|
|
+.list_total_row{
|
|
|
+ margin-left: 15px;
|
|
|
+}
|
|
|
+.handle-box_xufeng{
|
|
|
+ padding: 10px;
|
|
|
+ background-color: white;
|
|
|
+ line-height: 31px;
|
|
|
+}
|
|
|
+.handle-box_button{
|
|
|
+ background-color: white;
|
|
|
+ padding: 20px 1px 0 20px;
|
|
|
+}
|
|
|
+.search-label{
|
|
|
+ height: 28px;
|
|
|
+ width: 90%;
|
|
|
+ line-height: 28px;
|
|
|
+ text-align-last: justify;
|
|
|
+ text-justify:inter-ideograph;
|
|
|
+ text-align:justify;
|
|
|
+}
|
|
|
+.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;
|
|
|
+}
|
|
|
+.mast_button{
|
|
|
+ color: #fff;
|
|
|
+ padding: 0;
|
|
|
+ background: #1D18BC;
|
|
|
+ height: 37px;
|
|
|
+ width: 15%;
|
|
|
+ line-height: 37px;
|
|
|
+ text-align: center;
|
|
|
+}
|
|
|
+.list_total{
|
|
|
+ height: 37px;
|
|
|
+ line-height: 37px;
|
|
|
+ font-size: 16px;
|
|
|
+ color: #333333;
|
|
|
+ display: flex;
|
|
|
+ float: right;
|
|
|
+ margin-right: 30px;
|
|
|
+}
|
|
|
+.second_button{
|
|
|
+ color: #fff;
|
|
|
+ padding: 0;
|
|
|
+ background: #567CFF;
|
|
|
+ height: 37px;
|
|
|
+ width: 15%;
|
|
|
+ line-height: 37px;
|
|
|
+ text-align: center;
|
|
|
+}
|
|
|
+.listBox {
|
|
|
+ display: flex;
|
|
|
+ flex-wrap: wrap;
|
|
|
+}
|
|
|
+.list {
|
|
|
+
|
|
|
+ border-radius: 4px;
|
|
|
+ margin-right: 20px;
|
|
|
+ cursor: pointer;
|
|
|
+ width: 138px;
|
|
|
+ height: 28px;
|
|
|
+ text-align: center;
|
|
|
+ line-height: 28px;
|
|
|
+ background: #EBEBEB;
|
|
|
+ color: #777777;
|
|
|
+}
|
|
|
+.checked {
|
|
|
+ color: #2C27D0;
|
|
|
+ background: rgba(44,39,208,0.1);
|
|
|
+ /*border: 1px solid #3377ff;*/
|
|
|
+}
|
|
|
+/deep/ .el-dialog__header {
|
|
|
+ padding: 10px 20px;
|
|
|
+}
|
|
|
+
|
|
|
+/deep/ .el-dialog__body {
|
|
|
+ padding: 10px 20px;
|
|
|
+}
|
|
|
+.company_title {
|
|
|
+ margin: 18px 0;
|
|
|
+ font-size: 16px;
|
|
|
+ font-weight: bold;
|
|
|
+ width: 50%;
|
|
|
+ float: left;
|
|
|
+}
|
|
|
+.company_info {
|
|
|
+ float: left;
|
|
|
+ font-size: 14px;
|
|
|
+ margin-left: 30px;
|
|
|
+}
|
|
|
+.company_info :first {
|
|
|
+ margin-left: 0;
|
|
|
+}
|
|
|
+.comapny_tags_row {
|
|
|
+ //float: right;
|
|
|
+ margin: 50px ;
|
|
|
+}
|
|
|
+
|
|
|
+.comapny_tags {
|
|
|
+ border: 1px solid #0099ff;
|
|
|
+ background: #b3d9f8;
|
|
|
+ margin: 0 20px 20px 0;
|
|
|
+ height: 25px;
|
|
|
+ float: left;
|
|
|
+ padding: 0 10px;
|
|
|
+ text-align: center;
|
|
|
+ line-height: 25px;
|
|
|
+ border-radius: 15px;
|
|
|
+ color: #0099ff;
|
|
|
+}
|
|
|
+.comapny_tags_row {
|
|
|
+ color: #0099ff;
|
|
|
+ border-color: rgba(0, 153, 255, 1);
|
|
|
+}
|
|
|
+.el-icon-edit-outline .el-icon-refresh {
|
|
|
+ font-weight: bold;
|
|
|
+ font-size: 25px;
|
|
|
+ height: 40px;
|
|
|
+}
|
|
|
+</style>
|