Commit a9bb61be by swl

feat: gx

parent cc211273
<template> <template>
<div class="purchase"> <div class="purchase">
<div class="search-wrapper"> <div class="search-wrapper">
<el-form :inline="true" :model="searchForm" class="search_form" style="text-align: left"> <el-form
:inline="true"
:model="searchForm"
class="search_form"
style="text-align: left"
>
<el-form-item label="姓名"> <el-form-item label="姓名">
<el-input v-model="searchForm.name" placeholder="请输入姓名" @keyup.enter.native="onSubmit"></el-input> <el-input
v-model="searchForm.name"
placeholder="请输入姓名"
@keyup.enter.native="onSubmit"
></el-input>
</el-form-item> </el-form-item>
<el-form-item label="手机号码"> <el-form-item label="手机号码">
<el-input v-model="searchForm.phone" placeholder="请输入手机号码" @keyup.enter.native="onSubmit"></el-input> <el-input
v-model="searchForm.phone"
placeholder="请输入手机号码"
@keyup.enter.native="onSubmit"
></el-input>
</el-form-item> </el-form-item>
<el-form-item label="事项名称"> <el-form-item label="事项名称">
<el-select v-model="searchForm.guideId" placeholder="请选择事项名称"> <el-select v-model="searchForm.guideId" placeholder="请选择事项名称">
<el-option v-for="item in guideIdList" :key="item.value" :label="item.label" :value="item.value"> <el-option
v-for="item in guideIdList"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option> </el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
...@@ -20,47 +38,117 @@ ...@@ -20,47 +38,117 @@
<br /> <br />
<el-form-item label="状态" style="margin-top: 10px"> <el-form-item label="状态" style="margin-top: 10px">
<el-radio-group v-model="searchForm.state" @change="onSubmit"> <el-radio-group v-model="searchForm.state" @change="onSubmit">
<el-radio :label="item.state" v-for="item in stateList" :key="item.state">{{ item.stateName }}</el-radio> <el-radio
:label="item.state"
v-for="item in stateList"
:key="item.state"
>{{ item.stateName }}</el-radio
>
</el-radio-group> </el-radio-group>
</el-form-item> </el-form-item>
</el-form> </el-form>
</div> </div>
<div class="table-wrapper"> <div class="table-wrapper">
<table-template :tableData="tableData" :tableColumns="tableColumns" :loading="loading" :pagination="pagination" <table-template
@Jump="jumpPage"> :tableData="tableData"
:tableColumns="tableColumns"
:loading="loading"
:pagination="pagination"
@Jump="jumpPage"
>
<el-table-column width="120" label="状态" align="center"> <el-table-column width="120" label="状态" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<el-tag type="warning" v-if="scope.row.houseState === 0 && scope.row.reviewerState !== 8">待审核</el-tag> <el-tag
<el-tag type="warning" v-if="scope.row.houseState === 0 && scope.row.reviewerState === 8">待复审</el-tag> type="warning"
<el-tag type="success" v-if="scope.row.houseState === 1">初审通过</el-tag> v-if="scope.row.houseState === 0 && scope.row.reviewerState !== 8"
<el-tag type="warning" v-if="scope.row.houseState === 2">待终审</el-tag> >待审核</el-tag
<el-tag type="success" v-if="scope.row.houseState === 3">已完结</el-tag> >
<el-tag type="danger" v-if="scope.row.houseState === 4">已驳回</el-tag> <el-tag
<el-tag type="info" v-if="scope.row.houseState === 5">已撤销</el-tag> type="warning"
<el-tag type="warning" v-if="scope.row.houseState === 6">资料审核</el-tag> v-if="scope.row.houseState === 0 && scope.row.reviewerState === 8"
<el-tag type="success" v-if="scope.row.houseState === 7">发放补贴</el-tag> >待复审</el-tag
>
<el-tag type="success" v-if="scope.row.houseState === 1"
>初审通过</el-tag
>
<el-tag type="warning" v-if="scope.row.houseState === 2"
>待终审</el-tag
>
<el-tag type="success" v-if="scope.row.houseState === 3"
>已完结</el-tag
>
<el-tag type="danger" v-if="scope.row.houseState === 4"
>已驳回</el-tag
>
<el-tag type="info" v-if="scope.row.houseState === 5"
>已撤销</el-tag
>
<el-tag type="warning" v-if="scope.row.houseState === 6"
>资料审核</el-tag
>
<el-tag type="success" v-if="scope.row.houseState === 7"
>发放补贴</el-tag
>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column fixed="right" label="操作" width="380" align="left"> <el-table-column fixed="right" label="操作" width="380" align="left">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button type="primary" size="mini" round @click="view(scope.row)">查看</el-button> <el-button type="primary" size="mini" round @click="view(scope.row)"
<el-button type="primary" size="mini" round @click="record(scope.row)">记录</el-button> >查看</el-button
>
<el-button
type="primary"
size="mini"
round
@click="record(scope.row)"
>记录</el-button
>
<!-- 申请的单子有通过拒绝--> <!-- 申请的单子有通过拒绝-->
<el-button v-if="scope.row.houseState === 0 && scope.row.reviewerState === 0" type="success" size="mini" round <el-button
@click="pass(scope.row)">通过</el-button> v-if="scope.row.houseState === 0 && scope.row.reviewerState === 0"
<el-button v-if="scope.row.houseState === 0 && scope.row.reviewerState === 0" type="danger" size="mini" round type="success"
@click="deny(scope.row)">拒绝</el-button> size="mini"
<el-button v-if=" round
@click="pass(scope.row)"
>通过</el-button
>
<el-button
v-if="scope.row.houseState === 0 && scope.row.reviewerState === 0"
type="danger"
size="mini"
round
@click="deny(scope.row)"
>拒绝</el-button
>
<el-button
v-if="
scope.row.houseState === 3 && scope.row.houseState === 3 &&
searchForm.departmentCode === '10000031' searchForm.departmentCode === '10000031'
" type="success" size="mini" round @click="dispatch(scope.row)">发放补贴</el-button> "
<el-button v-if="scope.row.attachedFileMark === true" type="info" size="mini" round type="success"
@click="viewUrl(scope.row)">查看附件</el-button> size="mini"
round
@click="dispatch(scope.row)"
>发放补贴</el-button
>
<el-button
v-if="scope.row.attachedFileMark === true"
type="info"
size="mini"
round
@click="viewUrl(scope.row)"
>查看附件</el-button
>
</template> </template>
</el-table-column> </el-table-column>
</table-template> </table-template>
</div> </div>
<el-dialog title="申报详情" :visible.sync="viewShow" width="800px" :close-on-press-escape="false"> <el-dialog
title="申报详情"
:visible.sync="viewShow"
width="800px"
:close-on-press-escape="false"
>
<div class="content"> <div class="content">
<el-table :data="totalList" style="width: 100%"> <el-table :data="totalList" style="width: 100%">
<el-table-column prop="reasonName" label="审核单位" width="180"> <el-table-column prop="reasonName" label="审核单位" width="180">
...@@ -94,24 +182,39 @@ ...@@ -94,24 +182,39 @@
<div class="cell"> <div class="cell">
<p class="label">企业营业执照或事业单位法人登记证</p> <p class="label">企业营业执照或事业单位法人登记证</p>
<p class="value"> <p class="value">
<el-image v-for="(item, index) in viewDetail.enterprise <el-image
.businessLicenseList" :key="index" style="width: 100px; height: 100px; margin-right: 10px" v-for="(item, index) in viewDetail.enterprise
:src="item.picture" :z-index="7777777" :preview-src-list="[item.picture]"> .businessLicenseList"
:key="index"
style="width: 100px; height: 100px; margin-right: 10px"
:src="item.picture"
:z-index="7777777"
:preview-src-list="[item.picture]"
>
</el-image> </el-image>
</p> </p>
</div> </div>
<div class="cell"> <div class="cell">
<p class="label">单位申报人才购房补贴汇总表</p> <p class="label">单位申报人才购房补贴汇总表</p>
<p class="value"> <p class="value">
<el-image v-for="(item, index) in viewDetail.enterprise.summarySheetList" :key="index" <el-image
style="width: 100px; height: 100px; margin-right: 10px" :src="item.picture" :z-index="7777777" v-for="(item, index) in viewDetail.enterprise.summarySheetList"
:preview-src-list="[item.picture]"> :key="index"
style="width: 100px; height: 100px; margin-right: 10px"
:src="item.picture"
:z-index="7777777"
:preview-src-list="[item.picture]"
>
</el-image> </el-image>
</p> </p>
</div> </div>
</div> </div>
<div class="applilist"> <div class="applilist">
<div class="card" v-for="(item, index) in viewDetail.appliList" :key="index"> <div
class="card"
v-for="(item, index) in viewDetail.appliList"
:key="index"
>
<div class="title">申报人信息{{ index + 1 }}</div> <div class="title">申报人信息{{ index + 1 }}</div>
<div class="cell"> <div class="cell">
<p class="label">申报人姓名</p> <p class="label">申报人姓名</p>
...@@ -193,8 +296,14 @@ ...@@ -193,8 +296,14 @@
<p class="label">个人申请表</p> <p class="label">个人申请表</p>
<p class="value"> <p class="value">
<template v-for="(i, index) in item.pictureVoS"> <template v-for="(i, index) in item.pictureVoS">
<el-image v-if="i.pictureType == 3" :key="index" style="width: 100px; height: 100px; margin-right: 10px" <el-image
:src="i.picture" :z-index="7777777" :preview-src-list="[i.picture]"> v-if="i.pictureType == 3"
:key="index"
style="width: 100px; height: 100px; margin-right: 10px"
:src="i.picture"
:z-index="7777777"
:preview-src-list="[i.picture]"
>
</el-image> </el-image>
</template> </template>
</p> </p>
...@@ -203,8 +312,14 @@ ...@@ -203,8 +312,14 @@
<p class="label">身份证照片</p> <p class="label">身份证照片</p>
<p class="value"> <p class="value">
<template v-for="(i, index) in item.pictureVoS"> <template v-for="(i, index) in item.pictureVoS">
<el-image v-if="i.pictureType == 4" :key="index" style="width: 100px; height: 100px; margin-right: 10px" <el-image
:src="i.picture" :z-index="7777777" :preview-src-list="[i.picture]"> v-if="i.pictureType == 4"
:key="index"
style="width: 100px; height: 100px; margin-right: 10px"
:src="i.picture"
:z-index="7777777"
:preview-src-list="[i.picture]"
>
</el-image> </el-image>
</template> </template>
</p> </p>
...@@ -213,8 +328,14 @@ ...@@ -213,8 +328,14 @@
<p class="label">个人银行卡照</p> <p class="label">个人银行卡照</p>
<p class="value"> <p class="value">
<template v-for="(i, index) in item.pictureVoS"> <template v-for="(i, index) in item.pictureVoS">
<el-image v-if="i.pictureType == 5" :key="index" style="width: 100px; height: 100px; margin-right: 10px" <el-image
:src="i.picture" :z-index="7777777" :preview-src-list="[i.picture]"> v-if="i.pictureType == 5"
:key="index"
style="width: 100px; height: 100px; margin-right: 10px"
:src="i.picture"
:z-index="7777777"
:preview-src-list="[i.picture]"
>
</el-image> </el-image>
</template> </template>
</p> </p>
...@@ -223,8 +344,14 @@ ...@@ -223,8 +344,14 @@
<p class="label">商品买卖合同</p> <p class="label">商品买卖合同</p>
<p class="value"> <p class="value">
<template v-for="(i, index) in item.pictureVoS"> <template v-for="(i, index) in item.pictureVoS">
<el-image v-if="i.pictureType == 6" :key="index" style="width: 100px; height: 100px; margin-right: 10px" <el-image
:src="i.picture" :z-index="7777777" :preview-src-list="[i.picture]"> v-if="i.pictureType == 6"
:key="index"
style="width: 100px; height: 100px; margin-right: 10px"
:src="i.picture"
:z-index="7777777"
:preview-src-list="[i.picture]"
>
</el-image> </el-image>
</template> </template>
</p> </p>
...@@ -233,8 +360,14 @@ ...@@ -233,8 +360,14 @@
<p class="label">不动产权证书</p> <p class="label">不动产权证书</p>
<p class="value"> <p class="value">
<template v-for="(i, index) in item.pictureVoS"> <template v-for="(i, index) in item.pictureVoS">
<el-image v-if="i.pictureType == 7" :key="index" style="width: 100px; height: 100px; margin-right: 10px" <el-image
:src="i.picture" :z-index="7777777" :preview-src-list="[i.picture]"> v-if="i.pictureType == 7"
:key="index"
style="width: 100px; height: 100px; margin-right: 10px"
:src="i.picture"
:z-index="7777777"
:preview-src-list="[i.picture]"
>
</el-image> </el-image>
</template> </template>
</p> </p>
...@@ -243,8 +376,14 @@ ...@@ -243,8 +376,14 @@
<p class="label">契税完税凭证</p> <p class="label">契税完税凭证</p>
<p class="value"> <p class="value">
<template v-for="(i, index) in item.pictureVoS"> <template v-for="(i, index) in item.pictureVoS">
<el-image v-if="i.pictureType == 8" :key="index" style="width: 100px; height: 100px; margin-right: 10px" <el-image
:src="i.picture" :z-index="7777777" :preview-src-list="[i.picture]"> v-if="i.pictureType == 8"
:key="index"
style="width: 100px; height: 100px; margin-right: 10px"
:src="i.picture"
:z-index="7777777"
:preview-src-list="[i.picture]"
>
</el-image> </el-image>
</template> </template>
</p> </p>
...@@ -253,19 +392,49 @@ ...@@ -253,19 +392,49 @@
<p class="label">劳动或聘用合同</p> <p class="label">劳动或聘用合同</p>
<p class="value"> <p class="value">
<template v-for="(i, index) in item.pictureVoS"> <template v-for="(i, index) in item.pictureVoS">
<el-image v-if="i.pictureType == 9" :key="index" style="width: 100px; height: 100px; margin-right: 10px" <el-image
:src="i.picture" :z-index="7777777" :preview-src-list="[i.picture]"> v-if="i.pictureType == 9"
:key="index"
style="width: 100px; height: 100px; margin-right: 10px"
:src="i.picture"
:z-index="7777777"
:preview-src-list="[i.picture]"
>
</el-image> </el-image>
</template> </template>
</p> </p>
</div> </div>
<div class="cell" v-if="viewDetail.guideName == '镇江市市区“归雁”人才购房补贴'"> <div class="cell">
<p class="label">毕业证照片</p>
<p class="value">
<template v-for="(i, index) in item.pictureVoS">
<el-image
v-if="i.pictureType == 11"
:key="index"
style="width: 100px; height: 100px; margin-right: 10px"
:src="i.picture"
:z-index="7777777"
:preview-src-list="[i.picture]"
>
</el-image>
</template>
</p>
</div>
<div
class="cell"
v-if="viewDetail.guideName == '镇江市市区“归雁”人才购房补贴'"
>
<p class="label">镇江籍证明材料</p> <p class="label">镇江籍证明材料</p>
<p class="value"> <p class="value">
<template v-for="(i, index) in item.pictureVoS"> <template v-for="(i, index) in item.pictureVoS">
<el-image v-if="i.pictureType == 10" :key="index" <el-image
style="width: 100px; height: 100px; margin-right: 10px" :src="i.picture" :z-index="7777777" v-if="i.pictureType == 10"
:preview-src-list="[i.picture]"> :key="index"
style="width: 100px; height: 100px; margin-right: 10px"
:src="i.picture"
:z-index="7777777"
:preview-src-list="[i.picture]"
>
</el-image> </el-image>
</template> </template>
</p> </p>
...@@ -274,7 +443,12 @@ ...@@ -274,7 +443,12 @@
</div> </div>
</div> </div>
</el-dialog> </el-dialog>
<el-dialog title="操作记录" :visible.sync="recordShow" width="800px" :close-on-press-escape="false"> <el-dialog
title="操作记录"
:visible.sync="recordShow"
width="800px"
:close-on-press-escape="false"
>
<div class="content"> <div class="content">
<div class="cell" v-for="(item, index) in recordList" :key="index"> <div class="cell" v-for="(item, index) in recordList" :key="index">
<p class="label" style="margin-right: 20px"> <p class="label" style="margin-right: 20px">
...@@ -289,44 +463,97 @@ ...@@ -289,44 +463,97 @@
<p v-if="record.length === 0">暂无记录~</p> <p v-if="record.length === 0">暂无记录~</p>
</div> </div>
</el-dialog> </el-dialog>
<el-dialog title="拒绝原因" :visible.sync="refuseShow" width="800px" :close-on-press-escape="false"> <el-dialog
title="拒绝原因"
:visible.sync="refuseShow"
width="800px"
:close-on-press-escape="false"
>
<div class="reject" v-for="(item, index) in arrList" :key="index"> <div class="reject" v-for="(item, index) in arrList" :key="index">
<el-cascader v-model="item.test" :options="options" :props="{ checkStrictly: true }" :show-all-levels="false" <el-cascader
clearable></el-cascader> v-model="item.test"
<el-input v-model="item.remark" style="padding: 0 10px" placeholder="请输入原因" clearable></el-input> :options="options"
<el-button type="primary" icon="el-icon-plus" @click="arrList.push({ test: '', remark: '' })"></el-button> :props="{ checkStrictly: true }"
:show-all-levels="false"
clearable
></el-cascader>
<el-input
v-model="item.remark"
style="padding: 0 10px"
placeholder="请输入原因"
clearable
></el-input>
<el-button
type="primary"
icon="el-icon-plus"
@click="arrList.push({ test: '', remark: '' })"
></el-button>
</div> </div>
<div class="button"> <div class="button">
<el-button @click="cancel">取消</el-button> <el-button @click="cancel">取消</el-button>
<el-button @click="affirm" type="primary">确认</el-button> <el-button @click="affirm" type="primary">确认</el-button>
</div> </div>
</el-dialog> </el-dialog>
<el-dialog title="查看附件" :visible.sync="showUrl" width="500px" :close-on-press-escape="false"> <el-dialog
<div style="margin: 0 0 0 10px;font-weight: 700;">图片附件:</div> title="查看附件"
<div class="content" style="display: flex; flex-wrap: wrap" v-if="pictureUrlList.length > 0"> :visible.sync="showUrl"
width="500px"
:close-on-press-escape="false"
>
<div style="margin: 0 0 0 10px; font-weight: 700">图片附件:</div>
<div
class="content"
style="display: flex; flex-wrap: wrap"
v-if="pictureUrlList.length > 0"
>
<div v-for="(item, index) in pictureUrlList" :key="index"> <div v-for="(item, index) in pictureUrlList" :key="index">
<el-image style="width: 95px; height: 95px; margin: 10px" :src="item.file" <el-image
:preview-src-list="[item.file]"></el-image> style="width: 95px; height: 95px; margin: 10px"
:src="item.file"
:preview-src-list="[item.file]"
></el-image>
</div> </div>
</div> </div>
<div class="content" style="display: flex; justify-content: center" v-if="pictureUrlList.length == 0"> <div
class="content"
style="display: flex; justify-content: center"
v-if="pictureUrlList.length == 0"
>
<el-empty :image-size="50"></el-empty> <el-empty :image-size="50"></el-empty>
</div> </div>
<div style="margin: 0 0 0 10px;font-weight: 700;">文件附件:</div> <div style="margin: 0 0 0 10px; font-weight: 700">文件附件:</div>
<div class="content" style="display: flex; flex-direction: column; flex-wrap: wrap" v-if="fileUrlList.length > 0"> <div
<div v-for="(item, index) in fileUrlList" :key="index" style=" class="content"
style="display: flex; flex-direction: column; flex-wrap: wrap"
v-if="fileUrlList.length > 0"
>
<div
v-for="(item, index) in fileUrlList"
:key="index"
style="
margin: 10px 10px 0 10px; margin: 10px 10px 0 10px;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
"> "
>
<p class="label" style="margin: 0; text-align: center"> <p class="label" style="margin: 0; text-align: center">
{{ item.fileExplain }} {{ item.fileExplain }}
</p> </p>
<el-button size="mini" type="primary" @click="download(item.file)" class="down-text">下载附件</el-button> <el-button
size="mini"
type="primary"
@click="download(item.file)"
class="down-text"
>下载附件</el-button
>
</div> </div>
</div> </div>
<div class="content" style="display: flex; justify-content: center" v-if="fileUrlList.length == 0"> <div
class="content"
style="display: flex; justify-content: center"
v-if="fileUrlList.length == 0"
>
<el-empty :image-size="50"></el-empty> <el-empty :image-size="50"></el-empty>
</div> </div>
</el-dialog> </el-dialog>
......
<template> <template>
<div class="purchase"> <div class="purchase">
<div class="search-wrapper"> <div class="search-wrapper">
<el-form :inline="true" :model="searchForm" class="search_form" style="text-align: left"> <el-form
:inline="true"
:model="searchForm"
class="search_form"
style="text-align: left"
>
<el-form-item label="姓名"> <el-form-item label="姓名">
<el-input v-model="searchForm.name" placeholder="请输入姓名" @keyup.enter.native="onSubmit"></el-input> <el-input
v-model="searchForm.name"
placeholder="请输入姓名"
@keyup.enter.native="onSubmit"
></el-input>
</el-form-item> </el-form-item>
<el-form-item label="手机号码"> <el-form-item label="手机号码">
<el-input v-model="searchForm.phone" placeholder="请输入手机号码" @keyup.enter.native="onSubmit"></el-input> <el-input
v-model="searchForm.phone"
placeholder="请输入手机号码"
@keyup.enter.native="onSubmit"
></el-input>
</el-form-item> </el-form-item>
<el-form-item label="事项名称"> <el-form-item label="事项名称">
<el-select v-model="searchForm.guideId" placeholder="请选择事项名称"> <el-select v-model="searchForm.guideId" placeholder="请选择事项名称">
<el-option v-for="item in guideIdList" :key="item.value" :label="item.label" :value="item.value"> <el-option
v-for="item in guideIdList"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option> </el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
...@@ -20,40 +38,100 @@ ...@@ -20,40 +38,100 @@
<br /> <br />
<el-form-item label="状态" style="margin-top: 10px"> <el-form-item label="状态" style="margin-top: 10px">
<el-radio-group v-model="searchForm.state" @change="onSubmit"> <el-radio-group v-model="searchForm.state" @change="onSubmit">
<el-radio :label="item.state" v-for="item in stateList" :key="item.state">{{ item.stateName }}</el-radio> <el-radio
:label="item.state"
v-for="item in stateList"
:key="item.state"
>{{ item.stateName }}</el-radio
>
</el-radio-group> </el-radio-group>
</el-form-item> </el-form-item>
</el-form> </el-form>
</div> </div>
<div class="table-wrapper"> <div class="table-wrapper">
<table-template :tableData="tableData" :tableColumns="tableColumns" :loading="loading" :pagination="pagination" <table-template
@Jump="jumpPage"> :tableData="tableData"
<el-table-column width="120" key="stateName" prop="stateName" label="状态" align="center"> :tableColumns="tableColumns"
:loading="loading"
:pagination="pagination"
@Jump="jumpPage"
>
<el-table-column
width="120"
key="stateName"
prop="stateName"
label="状态"
align="center"
>
<template slot-scope="scope"> <template slot-scope="scope">
<el-tag :type="scope.row.type">{{ scope.row.stateName }}</el-tag> <el-tag :type="scope.row.type">{{ scope.row.stateName }}</el-tag>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column fixed="right" label="操作" width="420" align="left"> <el-table-column fixed="right" label="操作" width="420" align="left">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button type="primary" size="mini" round @click="view(scope.row)">查看</el-button> <el-button type="primary" size="mini" round @click="view(scope.row)"
<el-button type="primary" size="mini" round @click="record(scope.row)">记录</el-button> >查看</el-button
>
<el-button
type="primary"
size="mini"
round
@click="record(scope.row)"
>记录</el-button
>
<!-- 待复审的单子有通过拒绝--> <!-- 待复审的单子有通过拒绝-->
<template v-if="scope.row.state === 1"> <template v-if="scope.row.state === 1">
<el-button type="success" size="mini" round @click="pass(scope.row)">复审通过</el-button> <el-button
<el-button type="danger" size="mini" round @click="deny(scope.row)">复审拒绝</el-button> type="success"
size="mini"
round
@click="pass(scope.row)"
>复审通过</el-button
>
<el-button
type="danger"
size="mini"
round
@click="deny(scope.row)"
>复审拒绝</el-button
>
</template> </template>
<template v-if="scope.row.state === 2"> <template v-if="scope.row.state === 2">
<el-button type="success" size="mini" round @click="passFinal(scope.row)">终审通过</el-button> <el-button
<el-button type="danger" size="mini" round @click="deny(scope.row)" m>终审拒绝</el-button> type="success"
size="mini"
round
@click="passFinal(scope.row)"
>终审通过</el-button
>
<el-button
type="danger"
size="mini"
round
@click="deny(scope.row)"
m
>终审拒绝</el-button
>
</template> </template>
<template v-if="scope.row.attachedFileMark === true"> <template v-if="scope.row.attachedFileMark === true">
<el-button type="info" size="mini" round @click="viewUrl(scope.row)">查看附件</el-button> <el-button
type="info"
size="mini"
round
@click="viewUrl(scope.row)"
>查看附件</el-button
>
</template> </template>
</template> </template>
</el-table-column> </el-table-column>
</table-template> </table-template>
</div> </div>
<el-dialog title="申报详情" :visible.sync="viewShow" width="800px" :close-on-press-escape="false"> <el-dialog
title="申报详情"
:visible.sync="viewShow"
width="800px"
:close-on-press-escape="false"
>
<div class="content"> <div class="content">
<el-table :data="totalList" style="width: 100%"> <el-table :data="totalList" style="width: 100%">
<el-table-column prop="reasonName" label="审核单位" width="180"> <el-table-column prop="reasonName" label="审核单位" width="180">
...@@ -87,24 +165,39 @@ ...@@ -87,24 +165,39 @@
<div class="cell"> <div class="cell">
<p class="label">企业营业执照或事业单位法人登记证</p> <p class="label">企业营业执照或事业单位法人登记证</p>
<p class="value"> <p class="value">
<el-image v-for="(item, index) in viewDetail.enterprise <el-image
.businessLicenseList" :key="index" style="width: 100px; height: 100px; margin-right: 10px" v-for="(item, index) in viewDetail.enterprise
:src="item.picture" :z-index="7777777" :preview-src-list="[item.picture]"> .businessLicenseList"
:key="index"
style="width: 100px; height: 100px; margin-right: 10px"
:src="item.picture"
:z-index="7777777"
:preview-src-list="[item.picture]"
>
</el-image> </el-image>
</p> </p>
</div> </div>
<div class="cell"> <div class="cell">
<p class="label">单位申报人才购房补贴汇总表</p> <p class="label">单位申报人才购房补贴汇总表</p>
<p class="value"> <p class="value">
<el-image v-for="(item, index) in viewDetail.enterprise.summarySheetList" :key="index" <el-image
style="width: 100px; height: 100px; margin-right: 10px" :src="item.picture" :z-index="7777777" v-for="(item, index) in viewDetail.enterprise.summarySheetList"
:preview-src-list="[item.picture]"> :key="index"
style="width: 100px; height: 100px; margin-right: 10px"
:src="item.picture"
:z-index="7777777"
:preview-src-list="[item.picture]"
>
</el-image> </el-image>
</p> </p>
</div> </div>
</div> </div>
<div class="applilist"> <div class="applilist">
<div class="card" v-for="(item, index) in viewDetail.appliList" :key="index"> <div
class="card"
v-for="(item, index) in viewDetail.appliList"
:key="index"
>
<div class="title">申报人信息{{ index + 1 }}</div> <div class="title">申报人信息{{ index + 1 }}</div>
<div class="cell"> <div class="cell">
<p class="label">申报人姓名</p> <p class="label">申报人姓名</p>
...@@ -186,8 +279,14 @@ ...@@ -186,8 +279,14 @@
<p class="label">个人申请表</p> <p class="label">个人申请表</p>
<p class="value"> <p class="value">
<template v-for="(i, index) in item.pictureVoS"> <template v-for="(i, index) in item.pictureVoS">
<el-image v-if="i.pictureType == 3" :key="index" style="width: 100px; height: 100px; margin-right: 10px" <el-image
:src="i.picture" :z-index="7777777" :preview-src-list="[i.picture]"> v-if="i.pictureType == 3"
:key="index"
style="width: 100px; height: 100px; margin-right: 10px"
:src="i.picture"
:z-index="7777777"
:preview-src-list="[i.picture]"
>
</el-image> </el-image>
</template> </template>
</p> </p>
...@@ -196,8 +295,14 @@ ...@@ -196,8 +295,14 @@
<p class="label">身份证照片</p> <p class="label">身份证照片</p>
<p class="value"> <p class="value">
<template v-for="(i, index) in item.pictureVoS"> <template v-for="(i, index) in item.pictureVoS">
<el-image v-if="i.pictureType == 4" :key="index" style="width: 100px; height: 100px; margin-right: 10px" <el-image
:src="i.picture" :z-index="7777777" :preview-src-list="[i.picture]"> v-if="i.pictureType == 4"
:key="index"
style="width: 100px; height: 100px; margin-right: 10px"
:src="i.picture"
:z-index="7777777"
:preview-src-list="[i.picture]"
>
</el-image> </el-image>
</template> </template>
</p> </p>
...@@ -206,8 +311,14 @@ ...@@ -206,8 +311,14 @@
<p class="label">个人银行卡照</p> <p class="label">个人银行卡照</p>
<p class="value"> <p class="value">
<template v-for="(i, index) in item.pictureVoS"> <template v-for="(i, index) in item.pictureVoS">
<el-image v-if="i.pictureType == 5" :key="index" style="width: 100px; height: 100px; margin-right: 10px" <el-image
:src="i.picture" :z-index="7777777" :preview-src-list="[i.picture]"> v-if="i.pictureType == 5"
:key="index"
style="width: 100px; height: 100px; margin-right: 10px"
:src="i.picture"
:z-index="7777777"
:preview-src-list="[i.picture]"
>
</el-image> </el-image>
</template> </template>
</p> </p>
...@@ -216,8 +327,14 @@ ...@@ -216,8 +327,14 @@
<p class="label">商品买卖合同</p> <p class="label">商品买卖合同</p>
<p class="value"> <p class="value">
<template v-for="(i, index) in item.pictureVoS"> <template v-for="(i, index) in item.pictureVoS">
<el-image v-if="i.pictureType == 6" :key="index" style="width: 100px; height: 100px; margin-right: 10px" <el-image
:src="i.picture" :z-index="7777777" :preview-src-list="[i.picture]"> v-if="i.pictureType == 6"
:key="index"
style="width: 100px; height: 100px; margin-right: 10px"
:src="i.picture"
:z-index="7777777"
:preview-src-list="[i.picture]"
>
</el-image> </el-image>
</template> </template>
</p> </p>
...@@ -226,8 +343,14 @@ ...@@ -226,8 +343,14 @@
<p class="label">不动产权证书</p> <p class="label">不动产权证书</p>
<p class="value"> <p class="value">
<template v-for="(i, index) in item.pictureVoS"> <template v-for="(i, index) in item.pictureVoS">
<el-image v-if="i.pictureType == 7" :key="index" style="width: 100px; height: 100px; margin-right: 10px" <el-image
:src="i.picture" :z-index="7777777" :preview-src-list="[i.picture]"> v-if="i.pictureType == 7"
:key="index"
style="width: 100px; height: 100px; margin-right: 10px"
:src="i.picture"
:z-index="7777777"
:preview-src-list="[i.picture]"
>
</el-image> </el-image>
</template> </template>
</p> </p>
...@@ -236,8 +359,14 @@ ...@@ -236,8 +359,14 @@
<p class="label">契税完税凭证</p> <p class="label">契税完税凭证</p>
<p class="value"> <p class="value">
<template v-for="(i, index) in item.pictureVoS"> <template v-for="(i, index) in item.pictureVoS">
<el-image v-if="i.pictureType == 8" :key="index" style="width: 100px; height: 100px; margin-right: 10px" <el-image
:src="i.picture" :z-index="7777777" :preview-src-list="[i.picture]"> v-if="i.pictureType == 8"
:key="index"
style="width: 100px; height: 100px; margin-right: 10px"
:src="i.picture"
:z-index="7777777"
:preview-src-list="[i.picture]"
>
</el-image> </el-image>
</template> </template>
</p> </p>
...@@ -246,19 +375,49 @@ ...@@ -246,19 +375,49 @@
<p class="label">劳动或聘用合同</p> <p class="label">劳动或聘用合同</p>
<p class="value"> <p class="value">
<template v-for="(i, index) in item.pictureVoS"> <template v-for="(i, index) in item.pictureVoS">
<el-image v-if="i.pictureType == 9" :key="index" style="width: 100px; height: 100px; margin-right: 10px" <el-image
:src="i.picture" :z-index="7777777" :preview-src-list="[i.picture]"> v-if="i.pictureType == 9"
:key="index"
style="width: 100px; height: 100px; margin-right: 10px"
:src="i.picture"
:z-index="7777777"
:preview-src-list="[i.picture]"
>
</el-image> </el-image>
</template> </template>
</p> </p>
</div> </div>
<div class="cell" v-if="viewDetail.guideName == '镇江市市区“归雁”人才购房补贴'"> <div class="cell">
<p class="label">毕业证照片</p>
<p class="value">
<template v-for="(i, index) in item.pictureVoS">
<el-image
v-if="i.pictureType == 11"
:key="index"
style="width: 100px; height: 100px; margin-right: 10px"
:src="i.picture"
:z-index="7777777"
:preview-src-list="[i.picture]"
>
</el-image>
</template>
</p>
</div>
<div
class="cell"
v-if="viewDetail.guideName == '镇江市市区“归雁”人才购房补贴'"
>
<p class="label">镇江籍证明材料</p> <p class="label">镇江籍证明材料</p>
<p class="value"> <p class="value">
<template v-for="(i, index) in item.pictureVoS"> <template v-for="(i, index) in item.pictureVoS">
<el-image v-if="i.pictureType == 10" :key="index" <el-image
style="width: 100px; height: 100px; margin-right: 10px" :src="i.picture" :z-index="7777777" v-if="i.pictureType == 10"
:preview-src-list="[i.picture]"> :key="index"
style="width: 100px; height: 100px; margin-right: 10px"
:src="i.picture"
:z-index="7777777"
:preview-src-list="[i.picture]"
>
</el-image> </el-image>
</template> </template>
</p> </p>
...@@ -267,7 +426,12 @@ ...@@ -267,7 +426,12 @@
</div> </div>
</div> </div>
</el-dialog> </el-dialog>
<el-dialog title="操作记录" :visible.sync="recordShow" width="800px" :close-on-press-escape="false"> <el-dialog
title="操作记录"
:visible.sync="recordShow"
width="800px"
:close-on-press-escape="false"
>
<div class="content"> <div class="content">
<div class="cell" v-for="(item, index) in recordList" :key="index"> <div class="cell" v-for="(item, index) in recordList" :key="index">
<p class="label" style="margin-right: 20px"> <p class="label" style="margin-right: 20px">
...@@ -282,38 +446,97 @@ ...@@ -282,38 +446,97 @@
<p v-if="record.length === 0">暂无记录~</p> <p v-if="record.length === 0">暂无记录~</p>
</div> </div>
</el-dialog> </el-dialog>
<el-dialog title="拒绝原因" :visible.sync="refuseShow" width="800px" :close-on-press-escape="false"> <el-dialog
title="拒绝原因"
:visible.sync="refuseShow"
width="800px"
:close-on-press-escape="false"
>
<div class="reject" v-for="(item, index) in arrList" :key="index"> <div class="reject" v-for="(item, index) in arrList" :key="index">
<el-cascader v-model="item.test" :options="options" :props="{ checkStrictly: true }" :show-all-levels="false" <el-cascader
clearable></el-cascader> v-model="item.test"
<el-input v-model="item.remark" style="padding: 0 10px" placeholder="请输入原因" clearable></el-input> :options="options"
<el-button type="primary" icon="el-icon-plus" @click="arrList.push({ test: '', remark: '' })"></el-button> :props="{ checkStrictly: true }"
:show-all-levels="false"
clearable
></el-cascader>
<el-input
v-model="item.remark"
style="padding: 0 10px"
placeholder="请输入原因"
clearable
></el-input>
<el-button
type="primary"
icon="el-icon-plus"
@click="arrList.push({ test: '', remark: '' })"
></el-button>
</div> </div>
<div class="button"> <div class="button">
<el-button @click="cancel">取消</el-button> <el-button @click="cancel">取消</el-button>
<el-button @click="affirm" type="primary">确认</el-button> <el-button @click="affirm" type="primary">确认</el-button>
</div> </div>
</el-dialog> </el-dialog>
<el-dialog title="查看附件" :visible.sync="showUrl" width="500px" :close-on-press-escape="false"> <el-dialog
<div style="margin: 0 0 0 10px;font-weight: 700;">图片附件:</div> title="查看附件"
<div class="content" style="display:flex;flex-wrap:wrap;" v-if="pictureUrlList.length > 0"> :visible.sync="showUrl"
<div v-for="(item,index) in pictureUrlList" :key="index"> width="500px"
<el-image style="width: 95px; height: 95px; margin: 10px;" :src="item.file" :preview-src-list="[item.file]"></el-image> :close-on-press-escape="false"
>
<div style="margin: 0 0 0 10px; font-weight: 700">图片附件:</div>
<div
class="content"
style="display: flex; flex-wrap: wrap"
v-if="pictureUrlList.length > 0"
>
<div v-for="(item, index) in pictureUrlList" :key="index">
<el-image
style="width: 95px; height: 95px; margin: 10px"
:src="item.file"
:preview-src-list="[item.file]"
></el-image>
</div> </div>
</div> </div>
<div class="content" style="display:flex;justify-content: center;" v-if="pictureUrlList.length == 0"> <div
class="content"
style="display: flex; justify-content: center"
v-if="pictureUrlList.length == 0"
>
<el-empty :image-size="50"></el-empty> <el-empty :image-size="50"></el-empty>
</div> </div>
<div style="margin: 0 0 0 10px;font-weight: 700;">文件附件:</div> <div style="margin: 0 0 0 10px; font-weight: 700">文件附件:</div>
<div class="content" style="display:flex;flex-direction:column;flex-wrap:wrap;" v-if="fileUrlList.length > 0"> <div
<div v-for="(item,index) in fileUrlList" :key="index" style="margin: 10px 10px 0 10px; display:flex; align-items:center; justify-content: space-between;"> class="content"
<p class="label" style="margin: 0;text-align:center;">{{item.fileExplain}}</p> style="display: flex; flex-direction: column; flex-wrap: wrap"
<el-button size="mini" type="primary" @click=" v-if="fileUrlList.length > 0"
download(item.file) >
" class="down-text">下载附件</el-button> <div
v-for="(item, index) in fileUrlList"
:key="index"
style="
margin: 10px 10px 0 10px;
display: flex;
align-items: center;
justify-content: space-between;
"
>
<p class="label" style="margin: 0; text-align: center">
{{ item.fileExplain }}
</p>
<el-button
size="mini"
type="primary"
@click="download(item.file)"
class="down-text"
>下载附件</el-button
>
</div> </div>
</div> </div>
<div class="content" style="display:flex;justify-content: center;" v-if="fileUrlList.length == 0"> <div
class="content"
style="display: flex; justify-content: center"
v-if="fileUrlList.length == 0"
>
<el-empty :image-size="50"></el-empty> <el-empty :image-size="50"></el-empty>
</div> </div>
</el-dialog> </el-dialog>
...@@ -331,7 +554,7 @@ import { ...@@ -331,7 +554,7 @@ import {
mattersHouseStaffList, mattersHouseStaffList,
mattersHouseReject, mattersHouseReject,
mattersHousePass, mattersHousePass,
queryAttacheFile queryAttacheFile,
} from "@/api/purchase"; } from "@/api/purchase";
export default { export default {
components: { TableTemplate }, components: { TableTemplate },
...@@ -529,7 +752,7 @@ export default { ...@@ -529,7 +752,7 @@ export default {
}, },
viewShow: false, viewShow: false,
viewDetail: { viewDetail: {
guideName: '', guideName: "",
enterprise: { enterprise: {
businessLicenseList: [], businessLicenseList: [],
summarySheetList: [], summarySheetList: [],
...@@ -548,51 +771,57 @@ export default { ...@@ -548,51 +771,57 @@ export default {
watch: { watch: {
$route() { $route() {
if (this.$route) { if (this.$route) {
this.userName = localStorage.getItem('userName'); this.userName = localStorage.getItem("userName");
this.searchForm.departmentCode = this.$route.query.departmentCode this.searchForm.departmentCode = this.$route.query.departmentCode;
this.searchForm.payTaxesArea = this.$route.query.payTaxesArea this.searchForm.payTaxesArea = this.$route.query.payTaxesArea
? this.$route.query.payTaxesArea ? this.$route.query.payTaxesArea
: null; : null;
this.searchForm.name = '' this.searchForm.name = "";
this.searchForm.phone = '' this.searchForm.phone = "";
this.searchForm.state = '' this.searchForm.state = "";
this.init(); this.init();
} }
} },
}, },
methods: { methods: {
download(url) { download(url) {
console.log(url) console.log(url);
let fileType = url.split(".")[url.split('.').length - 1] let fileType = url.split(".")[url.split(".").length - 1];
if(fileType == 'pdf' || fileType == 'PDF') { if (fileType == "pdf" || fileType == "PDF") {
window.open(url) window.open(url);
} else { } else {
window.location.href = url window.location.href = url;
} }
}, },
viewUrl(row) { viewUrl(row) {
console.log(row) console.log(row);
queryAttacheFile({ code: row.houseCode }).then((res) => { queryAttacheFile({ code: row.houseCode }).then((res) => {
console.log(res) console.log(res);
if (res.success) { if (res.success) {
this.pictureUrlList = res.data.filter((item) => { this.pictureUrlList = res.data.filter((item) => {
let fileType = item.fileExplain.split(".")[item.fileExplain.split('.').length - 1] let fileType =
return fileType == 'jpg' || fileType == 'jpeg' || fileType == 'png' item.fileExplain.split(".")[
}) item.fileExplain.split(".").length - 1
];
return fileType == "jpg" || fileType == "jpeg" || fileType == "png";
});
this.fileUrlList = res.data.filter((item) => { this.fileUrlList = res.data.filter((item) => {
let fileType = item.fileExplain.split(".")[item.fileExplain.split('.').length - 1] let fileType =
return fileType != 'jpg' && fileType != 'jpeg' && fileType != 'png' item.fileExplain.split(".")[
}) item.fileExplain.split(".").length - 1
console.log(this.pictureUrlList) ];
console.log(this.fileUrlList) return fileType != "jpg" && fileType != "jpeg" && fileType != "png";
this.showUrl = true });
console.log(this.pictureUrlList);
console.log(this.fileUrlList);
this.showUrl = true;
} else { } else {
this.$message.error(res.msg || '查询失败'); this.$message.error(res.msg || "查询失败");
} }
}) });
}, },
init() { init() {
this.tableData = [] this.tableData = [];
this.loading = true; this.loading = true;
let parmas = { let parmas = {
name: this.searchForm.name, name: this.searchForm.name,
...@@ -616,11 +845,11 @@ export default { ...@@ -616,11 +845,11 @@ export default {
item.type = this.getSatusArr(item.state).type; item.type = this.getSatusArr(item.state).type;
return item; return item;
}); });
if (localStorage.getItem('userName') == 'admin') { if (localStorage.getItem("userName") == "admin") {
this.tableData = changeList(this.tableData) this.tableData = changeList(this.tableData);
} }
} else { } else {
this.tableData = [] this.tableData = [];
} }
} }
}); });
...@@ -668,24 +897,26 @@ export default { ...@@ -668,24 +897,26 @@ export default {
this.totalList = this.examineList.concat(this.housingList); this.totalList = this.examineList.concat(this.housingList);
}); });
mattersHouseGetInfo(params2).then((res) => { mattersHouseGetInfo(params2).then((res) => {
console.log('mattersHouseGetInfo----', res.data); console.log("mattersHouseGetInfo----", res.data);
this.viewDetail.guideName = res.data.guideName this.viewDetail.guideName = res.data.guideName;
this.viewDetail.enterprise = res.data.enterpriseVO; this.viewDetail.enterprise = res.data.enterpriseVO;
this.viewDetail.enterprise.businessLicenseList = res.data.enterpriseVO.pictureVoS.filter( this.viewDetail.enterprise.businessLicenseList =
(item) => { res.data.enterpriseVO.pictureVoS.filter((item) => {
return item.pictureType != 2; return item.pictureType != 2;
} });
); this.viewDetail.enterprise.summarySheetList =
this.viewDetail.enterprise.summarySheetList = res.data.enterpriseVO.pictureVoS.filter( res.data.enterpriseVO.pictureVoS.filter((item) => {
(item) => {
return item.pictureType != 1; return item.pictureType != 1;
} });
);
this.viewDetail.appliList = res.data.staffVOList; this.viewDetail.appliList = res.data.staffVOList;
if (localStorage.getItem('userName') == 'admin') { if (localStorage.getItem("userName") == "admin") {
this.viewDetail.enterprise.contactUser = setName(this.viewDetail.enterprise.contactUser) this.viewDetail.enterprise.contactUser = setName(
this.viewDetail.enterprise.contactMobile = setTel(this.viewDetail.enterprise.contactMobile) this.viewDetail.enterprise.contactUser
this.viewDetail.appliList = changeList(res.data.staffVOList) );
this.viewDetail.enterprise.contactMobile = setTel(
this.viewDetail.enterprise.contactMobile
);
this.viewDetail.appliList = changeList(res.data.staffVOList);
} }
this.viewShow = true; this.viewShow = true;
}); });
...@@ -866,8 +1097,8 @@ export default { ...@@ -866,8 +1097,8 @@ export default {
}, },
}, },
created() { created() {
this.userName = localStorage.getItem('userName'); this.userName = localStorage.getItem("userName");
this.searchForm.departmentCode = this.$route.query.departmentCode this.searchForm.departmentCode = this.$route.query.departmentCode;
this.searchForm.payTaxesArea = this.$route.query.payTaxesArea this.searchForm.payTaxesArea = this.$route.query.payTaxesArea
? this.$route.query.payTaxesArea ? this.$route.query.payTaxesArea
: null; : null;
......
<template> <template>
<div class="purchase"> <div class="purchase">
<div class="search-wrapper"> <div class="search-wrapper">
<el-form :inline="true" :model="searchForm" class="search_form" style="text-align: left"> <el-form
:inline="true"
:model="searchForm"
class="search_form"
style="text-align: left"
>
<el-form-item label="姓名"> <el-form-item label="姓名">
<el-input v-model="searchForm.name" placeholder="请输入姓名" @keyup.enter.native="onSubmit"></el-input> <el-input
v-model="searchForm.name"
placeholder="请输入姓名"
@keyup.enter.native="onSubmit"
></el-input>
</el-form-item> </el-form-item>
<el-form-item label="手机号码"> <el-form-item label="手机号码">
<el-input v-model="searchForm.phone" placeholder="请输入手机号码" @keyup.enter.native="onSubmit"></el-input> <el-input
v-model="searchForm.phone"
placeholder="请输入手机号码"
@keyup.enter.native="onSubmit"
></el-input>
</el-form-item> </el-form-item>
<el-form-item label="事项名称"> <el-form-item label="事项名称">
<el-select v-model="searchForm.guideId" placeholder="请选择事项名称"> <el-select v-model="searchForm.guideId" placeholder="请选择事项名称">
<el-option v-for="item in guideIdList" :key="item.value" :label="item.label" :value="item.value"> <el-option
v-for="item in guideIdList"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option> </el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
...@@ -20,35 +38,76 @@ ...@@ -20,35 +38,76 @@
<br /> <br />
<el-form-item label="状态" style="margin-top: 10px"> <el-form-item label="状态" style="margin-top: 10px">
<el-radio-group v-model="searchForm.state" @change="onSubmit"> <el-radio-group v-model="searchForm.state" @change="onSubmit">
<el-radio :label="item.state" v-for="item in stateList" :key="item.state">{{ item.stateName }}</el-radio> <el-radio
:label="item.state"
v-for="item in stateList"
:key="item.state"
>{{ item.stateName }}</el-radio
>
</el-radio-group> </el-radio-group>
</el-form-item> </el-form-item>
</el-form> </el-form>
</div> </div>
<div class="table-wrapper"> <div class="table-wrapper">
<table-template :tableData="tableData" :tableColumns="tableColumns" :loading="loading" :pagination="pagination" <table-template
@Jump="jumpPage"> :tableData="tableData"
<el-table-column width="120" key="stateName" prop="stateName" label="状态" align="center"> :tableColumns="tableColumns"
:loading="loading"
:pagination="pagination"
@Jump="jumpPage"
>
<el-table-column
width="120"
key="stateName"
prop="stateName"
label="状态"
align="center"
>
<template slot-scope="scope"> <template slot-scope="scope">
<el-tag :type="scope.row.type">{{ scope.row.stateName }}</el-tag> <el-tag :type="scope.row.type">{{ scope.row.stateName }}</el-tag>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column fixed="right" label="操作" width="380" align="left"> <el-table-column fixed="right" label="操作" width="380" align="left">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button type="primary" size="mini" round @click="view(scope.row)">查看</el-button> <el-button type="primary" size="mini" round @click="view(scope.row)"
<el-button type="primary" size="mini" round @click="record(scope.row)">记录</el-button> >查看</el-button
>
<el-button
type="primary"
size="mini"
round
@click="record(scope.row)"
>记录</el-button
>
<!-- 待复审的单子有通过拒绝--> <!-- 待复审的单子有通过拒绝-->
<template v-if="scope.row.state === 6"> <template v-if="scope.row.state === 6">
<el-button type="success" size="mini" round @click="passData(scope.row)">资料通过</el-button> <el-button
type="success"
size="mini"
round
@click="passData(scope.row)"
>资料通过</el-button
>
</template> </template>
<template v-if="scope.row.attachedFileMark === true"> <template v-if="scope.row.attachedFileMark === true">
<el-button type="info" size="mini" round @click="viewUrl(scope.row)">查看附件</el-button> <el-button
type="info"
size="mini"
round
@click="viewUrl(scope.row)"
>查看附件</el-button
>
</template> </template>
</template> </template>
</el-table-column> </el-table-column>
</table-template> </table-template>
</div> </div>
<el-dialog title="申报详情" :visible.sync="viewShow" width="800px" :close-on-press-escape="false"> <el-dialog
title="申报详情"
:visible.sync="viewShow"
width="800px"
:close-on-press-escape="false"
>
<div class="content"> <div class="content">
<el-table :data="totalList" style="width: 100%"> <el-table :data="totalList" style="width: 100%">
<el-table-column prop="reasonName" label="审核单位" width="180"> <el-table-column prop="reasonName" label="审核单位" width="180">
...@@ -82,24 +141,39 @@ ...@@ -82,24 +141,39 @@
<div class="cell"> <div class="cell">
<p class="label">企业营业执照或事业单位法人登记证</p> <p class="label">企业营业执照或事业单位法人登记证</p>
<p class="value"> <p class="value">
<el-image v-for="(item, index) in viewDetail.enterprise <el-image
.businessLicenseList" :key="index" style="width: 100px; height: 100px; margin-right: 10px" v-for="(item, index) in viewDetail.enterprise
:src="item.picture" :z-index="7777777" :preview-src-list="[item.picture]"> .businessLicenseList"
:key="index"
style="width: 100px; height: 100px; margin-right: 10px"
:src="item.picture"
:z-index="7777777"
:preview-src-list="[item.picture]"
>
</el-image> </el-image>
</p> </p>
</div> </div>
<div class="cell"> <div class="cell">
<p class="label">单位申报人才购房补贴汇总表</p> <p class="label">单位申报人才购房补贴汇总表</p>
<p class="value"> <p class="value">
<el-image v-for="(item, index) in viewDetail.enterprise.summarySheetList" :key="index" <el-image
style="width: 100px; height: 100px; margin-right: 10px" :src="item.picture" :z-index="7777777" v-for="(item, index) in viewDetail.enterprise.summarySheetList"
:preview-src-list="[item.picture]"> :key="index"
style="width: 100px; height: 100px; margin-right: 10px"
:src="item.picture"
:z-index="7777777"
:preview-src-list="[item.picture]"
>
</el-image> </el-image>
</p> </p>
</div> </div>
</div> </div>
<div class="applilist"> <div class="applilist">
<div class="card" v-for="(item, index) in viewDetail.appliList" :key="index"> <div
class="card"
v-for="(item, index) in viewDetail.appliList"
:key="index"
>
<div class="title">申报人信息{{ index + 1 }}</div> <div class="title">申报人信息{{ index + 1 }}</div>
<div class="cell"> <div class="cell">
<p class="label">申报人姓名</p> <p class="label">申报人姓名</p>
...@@ -181,8 +255,14 @@ ...@@ -181,8 +255,14 @@
<p class="label">个人申请表</p> <p class="label">个人申请表</p>
<p class="value"> <p class="value">
<template v-for="(i, index) in item.pictureVoS"> <template v-for="(i, index) in item.pictureVoS">
<el-image v-if="i.pictureType == 3" :key="index" style="width: 100px; height: 100px; margin-right: 10px" <el-image
:src="i.picture" :z-index="7777777" :preview-src-list="[i.picture]"> v-if="i.pictureType == 3"
:key="index"
style="width: 100px; height: 100px; margin-right: 10px"
:src="i.picture"
:z-index="7777777"
:preview-src-list="[i.picture]"
>
</el-image> </el-image>
</template> </template>
</p> </p>
...@@ -191,8 +271,14 @@ ...@@ -191,8 +271,14 @@
<p class="label">身份证照片</p> <p class="label">身份证照片</p>
<p class="value"> <p class="value">
<template v-for="(i, index) in item.pictureVoS"> <template v-for="(i, index) in item.pictureVoS">
<el-image v-if="i.pictureType == 4" :key="index" style="width: 100px; height: 100px; margin-right: 10px" <el-image
:src="i.picture" :z-index="7777777" :preview-src-list="[i.picture]"> v-if="i.pictureType == 4"
:key="index"
style="width: 100px; height: 100px; margin-right: 10px"
:src="i.picture"
:z-index="7777777"
:preview-src-list="[i.picture]"
>
</el-image> </el-image>
</template> </template>
</p> </p>
...@@ -201,8 +287,14 @@ ...@@ -201,8 +287,14 @@
<p class="label">个人银行卡照</p> <p class="label">个人银行卡照</p>
<p class="value"> <p class="value">
<template v-for="(i, index) in item.pictureVoS"> <template v-for="(i, index) in item.pictureVoS">
<el-image v-if="i.pictureType == 5" :key="index" style="width: 100px; height: 100px; margin-right: 10px" <el-image
:src="i.picture" :z-index="7777777" :preview-src-list="[i.picture]"> v-if="i.pictureType == 5"
:key="index"
style="width: 100px; height: 100px; margin-right: 10px"
:src="i.picture"
:z-index="7777777"
:preview-src-list="[i.picture]"
>
</el-image> </el-image>
</template> </template>
</p> </p>
...@@ -211,8 +303,14 @@ ...@@ -211,8 +303,14 @@
<p class="label">商品买卖合同</p> <p class="label">商品买卖合同</p>
<p class="value"> <p class="value">
<template v-for="(i, index) in item.pictureVoS"> <template v-for="(i, index) in item.pictureVoS">
<el-image v-if="i.pictureType == 6" :key="index" style="width: 100px; height: 100px; margin-right: 10px" <el-image
:src="i.picture" :z-index="7777777" :preview-src-list="[i.picture]"> v-if="i.pictureType == 6"
:key="index"
style="width: 100px; height: 100px; margin-right: 10px"
:src="i.picture"
:z-index="7777777"
:preview-src-list="[i.picture]"
>
</el-image> </el-image>
</template> </template>
</p> </p>
...@@ -221,8 +319,14 @@ ...@@ -221,8 +319,14 @@
<p class="label">不动产权证书</p> <p class="label">不动产权证书</p>
<p class="value"> <p class="value">
<template v-for="(i, index) in item.pictureVoS"> <template v-for="(i, index) in item.pictureVoS">
<el-image v-if="i.pictureType == 7" :key="index" style="width: 100px; height: 100px; margin-right: 10px" <el-image
:src="i.picture" :z-index="7777777" :preview-src-list="[i.picture]"> v-if="i.pictureType == 7"
:key="index"
style="width: 100px; height: 100px; margin-right: 10px"
:src="i.picture"
:z-index="7777777"
:preview-src-list="[i.picture]"
>
</el-image> </el-image>
</template> </template>
</p> </p>
...@@ -231,8 +335,14 @@ ...@@ -231,8 +335,14 @@
<p class="label">契税完税凭证</p> <p class="label">契税完税凭证</p>
<p class="value"> <p class="value">
<template v-for="(i, index) in item.pictureVoS"> <template v-for="(i, index) in item.pictureVoS">
<el-image v-if="i.pictureType == 8" :key="index" style="width: 100px; height: 100px; margin-right: 10px" <el-image
:src="i.picture" :z-index="7777777" :preview-src-list="[i.picture]"> v-if="i.pictureType == 8"
:key="index"
style="width: 100px; height: 100px; margin-right: 10px"
:src="i.picture"
:z-index="7777777"
:preview-src-list="[i.picture]"
>
</el-image> </el-image>
</template> </template>
</p> </p>
...@@ -241,19 +351,49 @@ ...@@ -241,19 +351,49 @@
<p class="label">劳动或聘用合同</p> <p class="label">劳动或聘用合同</p>
<p class="value"> <p class="value">
<template v-for="(i, index) in item.pictureVoS"> <template v-for="(i, index) in item.pictureVoS">
<el-image v-if="i.pictureType == 9" :key="index" style="width: 100px; height: 100px; margin-right: 10px" <el-image
:src="i.picture" :z-index="7777777" :preview-src-list="[i.picture]"> v-if="i.pictureType == 9"
:key="index"
style="width: 100px; height: 100px; margin-right: 10px"
:src="i.picture"
:z-index="7777777"
:preview-src-list="[i.picture]"
>
</el-image> </el-image>
</template> </template>
</p> </p>
</div> </div>
<div class="cell" v-if="viewDetail.guideName == '镇江市市区“归雁”人才购房补贴'"> <div class="cell">
<p class="label">毕业证照片</p>
<p class="value">
<template v-for="(i, index) in item.pictureVoS">
<el-image
v-if="i.pictureType == 11"
:key="index"
style="width: 100px; height: 100px; margin-right: 10px"
:src="i.picture"
:z-index="7777777"
:preview-src-list="[i.picture]"
>
</el-image>
</template>
</p>
</div>
<div
class="cell"
v-if="viewDetail.guideName == '镇江市市区“归雁”人才购房补贴'"
>
<p class="label">镇江籍证明材料</p> <p class="label">镇江籍证明材料</p>
<p class="value"> <p class="value">
<template v-for="(i, index) in item.pictureVoS"> <template v-for="(i, index) in item.pictureVoS">
<el-image v-if="i.pictureType == 10" :key="index" <el-image
style="width: 100px; height: 100px; margin-right: 10px" :src="i.picture" :z-index="7777777" v-if="i.pictureType == 10"
:preview-src-list="[i.picture]"> :key="index"
style="width: 100px; height: 100px; margin-right: 10px"
:src="i.picture"
:z-index="7777777"
:preview-src-list="[i.picture]"
>
</el-image> </el-image>
</template> </template>
</p> </p>
...@@ -262,7 +402,12 @@ ...@@ -262,7 +402,12 @@
</div> </div>
</div> </div>
</el-dialog> </el-dialog>
<el-dialog title="操作记录" :visible.sync="recordShow" width="800px" :close-on-press-escape="false"> <el-dialog
title="操作记录"
:visible.sync="recordShow"
width="800px"
:close-on-press-escape="false"
>
<div class="content"> <div class="content">
<div class="cell" v-for="(item, index) in recordList" :key="index"> <div class="cell" v-for="(item, index) in recordList" :key="index">
<p class="label" style="margin-right: 20px"> <p class="label" style="margin-right: 20px">
...@@ -277,19 +422,42 @@ ...@@ -277,19 +422,42 @@
<p v-if="record.length === 0">暂无记录~</p> <p v-if="record.length === 0">暂无记录~</p>
</div> </div>
</el-dialog> </el-dialog>
<el-dialog title="资料审核通过" :visible.sync="finalShow" width="500px" :close-on-press-escape="false"> <el-dialog
title="资料审核通过"
:visible.sync="finalShow"
width="500px"
:close-on-press-escape="false"
>
<div class="content"> <div class="content">
<div class="cell1"> <div class="cell1">
<p class="label" style="margin: 0 0 10px 0">请输入原因:</p> <p class="label" style="margin: 0 0 10px 0">请输入原因:</p>
<el-input type="textarea" placeholder="请输入通过原因" v-model="textarea" maxlength="50" show-word-limit></el-input> <el-input
type="textarea"
placeholder="请输入通过原因"
v-model="textarea"
maxlength="50"
show-word-limit
></el-input>
</div> </div>
<div class="cell1"> <div class="cell1">
<p class="label">请上传附件:</p> <p class="label">请上传附件:</p>
<el-upload class="upload-demo" name="file" action="string" :limit="10" :show-file-list="true" <el-upload
:on-remove="handleRemove" :on-error="handleError" :on-exceed="handleExceed" ref="dmtUploadFile" class="upload-demo"
:file-list="fileList" :http-request="uploadFile"> name="file"
action="string"
:limit="10"
:show-file-list="true"
:on-remove="handleRemove"
:on-error="handleError"
:on-exceed="handleExceed"
ref="dmtUploadFile"
:file-list="fileList"
:http-request="uploadFile"
>
<el-button size="small" type="primary">点击上传</el-button> <el-button size="small" type="primary">点击上传</el-button>
<div slot="tip" class="el-upload__tip" style="color: #F56C6C">支持上传jpg/png/doc/docx/xls/xlsx/pdf等文件</div> <div slot="tip" class="el-upload__tip" style="color: #f56c6c">
支持上传jpg/png/doc/docx/xls/xlsx/pdf等文件
</div>
</el-upload> </el-upload>
</div> </div>
</div> </div>
...@@ -298,28 +466,66 @@ ...@@ -298,28 +466,66 @@
<el-button type="primary" @click="passData1">确 定</el-button> <el-button type="primary" @click="passData1">确 定</el-button>
</span> </span>
</el-dialog> </el-dialog>
<el-dialog title="查看附件" :visible.sync="showUrl" width="500px" :close-on-press-escape="false"> <el-dialog
<div style="margin: 0 0 0 10px;font-weight: 700;">图片附件:</div> title="查看附件"
<div class="content" style="display:flex;flex-wrap:wrap;" v-if="pictureUrlList.length > 0"> :visible.sync="showUrl"
width="500px"
:close-on-press-escape="false"
>
<div style="margin: 0 0 0 10px; font-weight: 700">图片附件:</div>
<div
class="content"
style="display: flex; flex-wrap: wrap"
v-if="pictureUrlList.length > 0"
>
<div v-for="(item, index) in pictureUrlList" :key="index"> <div v-for="(item, index) in pictureUrlList" :key="index">
<el-image style="width: 95px; height: 95px; margin: 10px;" :src="item.file" <el-image
:preview-src-list="[item.file]"></el-image> style="width: 95px; height: 95px; margin: 10px"
:src="item.file"
:preview-src-list="[item.file]"
></el-image>
</div> </div>
</div> </div>
<div class="content" style="display:flex;justify-content: center;" v-if="pictureUrlList.length == 0"> <div
class="content"
style="display: flex; justify-content: center"
v-if="pictureUrlList.length == 0"
>
<el-empty :image-size="50"></el-empty> <el-empty :image-size="50"></el-empty>
</div> </div>
<div style="margin: 0 0 0 10px;font-weight: 700;">文件附件:</div> <div style="margin: 0 0 0 10px; font-weight: 700">文件附件:</div>
<div class="content" style="display:flex;flex-direction:column;flex-wrap:wrap;" v-if="fileUrlList.length > 0"> <div
<div v-for="(item, index) in fileUrlList" :key="index" class="content"
style="margin: 10px 10px 0 10px; display:flex; align-items:center; justify-content: space-between;"> style="display: flex; flex-direction: column; flex-wrap: wrap"
<p class="label" style="margin: 0;text-align:center;">{{ item.fileExplain }}</p> v-if="fileUrlList.length > 0"
<el-button size="mini" type="primary" @click=" >
download(item.file) <div
" class="down-text">下载附件</el-button> v-for="(item, index) in fileUrlList"
:key="index"
style="
margin: 10px 10px 0 10px;
display: flex;
align-items: center;
justify-content: space-between;
"
>
<p class="label" style="margin: 0; text-align: center">
{{ item.fileExplain }}
</p>
<el-button
size="mini"
type="primary"
@click="download(item.file)"
class="down-text"
>下载附件</el-button
>
</div> </div>
</div> </div>
<div class="content" style="display:flex;justify-content: center;" v-if="fileUrlList.length == 0"> <div
class="content"
style="display: flex; justify-content: center"
v-if="fileUrlList.length == 0"
>
<el-empty :image-size="50"></el-empty> <el-empty :image-size="50"></el-empty>
</div> </div>
</el-dialog> </el-dialog>
...@@ -335,7 +541,7 @@ import { ...@@ -335,7 +541,7 @@ import {
mattersHouseReason, mattersHouseReason,
mattersHouseGetInfo, mattersHouseGetInfo,
mattersHousePass, mattersHousePass,
queryAttacheFile queryAttacheFile,
} from "@/api/purchase"; } from "@/api/purchase";
import { uploadTalentFile } from "@/api/upload"; import { uploadTalentFile } from "@/api/upload";
...@@ -363,14 +569,16 @@ export default { ...@@ -363,14 +569,16 @@ export default {
}, },
guideIdList: [ guideIdList: [
{ {
label: '全部', label: "全部",
value: null value: null,
}, { },
label: '购房补贴申领服务指南', {
value: '1000126' label: "购房补贴申领服务指南",
}, { value: "1000126",
label: '镇江市市区“归雁”人才购房补贴', },
value: '1000159' {
label: "镇江市市区“归雁”人才购房补贴",
value: "1000159",
}, },
], ],
stateList: [ stateList: [
...@@ -469,7 +677,7 @@ export default { ...@@ -469,7 +677,7 @@ export default {
{ {
state: 9, state: 9,
stateName: "已驳回", stateName: "已驳回",
type: "danger" type: "danger",
}, },
], ],
loading: false, loading: false,
...@@ -518,7 +726,7 @@ export default { ...@@ -518,7 +726,7 @@ export default {
}, },
viewShow: false, viewShow: false,
viewDetail: { viewDetail: {
guideName: '', guideName: "",
enterprise: { enterprise: {
businessLicenseList: [], businessLicenseList: [],
summarySheetList: [], summarySheetList: [],
...@@ -534,65 +742,79 @@ export default { ...@@ -534,65 +742,79 @@ export default {
}, },
methods: { methods: {
download(url) { download(url) {
console.log(url) console.log(url);
let fileType = url.split(".")[url.split('.').length - 1] let fileType = url.split(".")[url.split(".").length - 1];
if (fileType == 'pdf' || fileType == 'PDF') { if (fileType == "pdf" || fileType == "PDF") {
window.open(url) window.open(url);
} else { } else {
window.location.href = url window.location.href = url;
} }
}, },
viewUrl(row) { viewUrl(row) {
console.log(row) console.log(row);
queryAttacheFile({ code: row.houseCode }).then((res) => { queryAttacheFile({ code: row.houseCode }).then((res) => {
console.log(res) console.log(res);
if (res.success) { if (res.success) {
this.pictureUrlList = res.data.filter((item) => { this.pictureUrlList = res.data.filter((item) => {
let fileType = item.fileExplain.split(".")[item.fileExplain.split('.').length - 1] let fileType =
return fileType == 'jpg' || fileType == 'jpeg' || fileType == 'png' item.fileExplain.split(".")[
}) item.fileExplain.split(".").length - 1
];
return fileType == "jpg" || fileType == "jpeg" || fileType == "png";
});
this.fileUrlList = res.data.filter((item) => { this.fileUrlList = res.data.filter((item) => {
let fileType = item.fileExplain.split(".")[item.fileExplain.split('.').length - 1] let fileType =
return fileType != 'jpg' && fileType != 'jpeg' && fileType != 'png' item.fileExplain.split(".")[
}) item.fileExplain.split(".").length - 1
console.log(this.pictureUrlList) ];
console.log(this.fileUrlList) return fileType != "jpg" && fileType != "jpeg" && fileType != "png";
this.showUrl = true });
console.log(this.pictureUrlList);
console.log(this.fileUrlList);
this.showUrl = true;
} else { } else {
this.$message.error(res.msg || '查询失败'); this.$message.error(res.msg || "查询失败");
} }
}) });
}, },
handleExceed(files, fileList) { handleExceed(files, fileList) {
console.log(files, fileList) console.log(files, fileList);
this.$message.warning(`最多上传10个文件!`); this.$message.warning(`最多上传10个文件!`);
}, },
handleRemove(file, fileList) { handleRemove(file, fileList) {
console.log(file, fileList); console.log(file, fileList);
this.fileUrl1 = this.fileUrl1.filter((item) => { this.fileUrl1 = this.fileUrl1.filter((item) => {
return item.fileExplain != file.name return item.fileExplain != file.name;
}) });
console.log(this.fileUrl1) console.log(this.fileUrl1);
}, },
handleError(err, file, fileList) { handleError(err, file, fileList) {
console.log('err,file,fileList', err, file, fileList) console.log("err,file,fileList", err, file, fileList);
}, },
uploadFile(param) { uploadFile(param) {
const link = document.createElement("a"); const link = document.createElement("a");
link.style.display = "none"; link.style.display = "none";
uploadTalentFile(param.file).then((res) => { uploadTalentFile(param.file)
console.log('res', res); .then((res) => {
console.log("res", res);
if (res.success) { if (res.success) {
this.$message.success(res.msg || "上传成功"); this.$message.success(res.msg || "上传成功");
this.fileUrl1.push({ fileExplain: param.file.name, file: res.data }) this.fileUrl1.push({
fileExplain: param.file.name,
file: res.data,
});
} else { } else {
// 上传失败删除列表展示 // 上传失败删除列表展示
this.$refs.dmtUploadFile.uploadFiles.splice(this.$refs.dmtUploadFile.uploadFiles.indexOf(res), 1); this.$refs.dmtUploadFile.uploadFiles.splice(
console.log(this.$refs.dmtUploadFile.uploadFiles) this.$refs.dmtUploadFile.uploadFiles.indexOf(res),
1
);
console.log(this.$refs.dmtUploadFile.uploadFiles);
this.$message.error(res.msg || "上传失败"); this.$message.error(res.msg || "上传失败");
} }
}).catch((err) => { })
this.fileList = [] .catch((err) => {
this.fileList = [];
this.$message.error(err.msg || "上传失败"); this.$message.error(err.msg || "上传失败");
}); });
}, },
...@@ -620,11 +842,11 @@ export default { ...@@ -620,11 +842,11 @@ export default {
item.type = this.getSatusArr(item.state).type; item.type = this.getSatusArr(item.state).type;
return item; return item;
}); });
if (localStorage.getItem('userName') == 'admin') { if (localStorage.getItem("userName") == "admin") {
this.tableData = changeList(this.tableData) this.tableData = changeList(this.tableData);
} }
} else { } else {
this.tableData = [] this.tableData = [];
} }
} }
}); });
...@@ -684,10 +906,14 @@ export default { ...@@ -684,10 +906,14 @@ export default {
return item.pictureType != 1; return item.pictureType != 1;
}); });
this.viewDetail.appliList = res.data.staffVOList; this.viewDetail.appliList = res.data.staffVOList;
if (localStorage.getItem('userName') == 'admin') { if (localStorage.getItem("userName") == "admin") {
this.viewDetail.enterprise.contactUser = setName(this.viewDetail.enterprise.contactUser) this.viewDetail.enterprise.contactUser = setName(
this.viewDetail.enterprise.contactMobile = setTel(this.viewDetail.enterprise.contactMobile) this.viewDetail.enterprise.contactUser
this.viewDetail.appliList = changeList(res.data.staffVOList) );
this.viewDetail.enterprise.contactMobile = setTel(
this.viewDetail.enterprise.contactMobile
);
this.viewDetail.appliList = changeList(res.data.staffVOList);
} }
this.viewShow = true; this.viewShow = true;
}); });
...@@ -718,11 +944,11 @@ export default { ...@@ -718,11 +944,11 @@ export default {
}, },
//资料审核 //资料审核
passData(row) { passData(row) {
console.log(row) console.log(row);
this.rowDetail = row this.rowDetail = row;
this.fileList = [] this.fileList = [];
this.fileUrl1 = [] this.fileUrl1 = [];
this.finalShow = true this.finalShow = true;
}, },
passData1() { passData1() {
if (!this.textarea) { if (!this.textarea) {
...@@ -739,11 +965,11 @@ export default { ...@@ -739,11 +965,11 @@ export default {
name: this.userName, name: this.userName,
state: 2, state: 2,
reason: this.textarea, reason: this.textarea,
attachedPictureUploadDTO: this.fileUrl1 attachedPictureUploadDTO: this.fileUrl1,
}; };
mattersHousePass(params).then((res) => { mattersHousePass(params).then((res) => {
if (res.success) { if (res.success) {
this.finalShow = false this.finalShow = false;
this.$message.success(`资料审核通过`); this.$message.success(`资料审核通过`);
this.init(); this.init();
} else { } else {
...@@ -763,8 +989,8 @@ export default { ...@@ -763,8 +989,8 @@ export default {
}, },
}, },
created() { created() {
this.userName = localStorage.getItem('userName'); this.userName = localStorage.getItem("userName");
this.searchForm.departmentCode = this.$route.query.departmentCode this.searchForm.departmentCode = this.$route.query.departmentCode;
this.init(); this.init();
}, },
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment