Commit 17fc1a5b by swl

购房补贴--企业名称

parent d50d1398
<template>
<div class="purchase">
<div class="search-wrapper">
<el-form
:inline="true"
:model="searchForm"
class="search_form"
style="text-align: left"
>
<el-form-item label="姓名">
<el-input
v-model="searchForm.name"
placeholder="请输入姓名"
@keyup.enter.native="onSubmit"
></el-input>
<el-form :inline="true" :model="searchForm" class="search_form" style="text-align: left">
<el-form-item label="企业名称">
<el-input v-model="searchForm.enterpriseName" placeholder="请输入姓名" @keyup.enter.native="onSubmit"></el-input>
</el-form-item>
<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 label="事项名称">
<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-select>
</el-form-item>
......@@ -38,117 +20,47 @@
<br />
<el-form-item label="状态" style="margin-top: 10px">
<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-form-item>
</el-form>
</div>
<div class="table-wrapper">
<table-template
:tableData="tableData"
:tableColumns="tableColumns"
:loading="loading"
:pagination="pagination"
@Jump="jumpPage"
>
<table-template :tableData="tableData" :tableColumns="tableColumns" :loading="loading" :pagination="pagination"
@Jump="jumpPage">
<el-table-column width="120" label="状态" align="center">
<template slot-scope="scope">
<el-tag
type="warning"
v-if="scope.row.houseState === 0 && scope.row.reviewerState !== 8"
>待审核</el-tag
>
<el-tag
type="warning"
v-if="scope.row.houseState === 0 && scope.row.reviewerState === 8"
>待复审</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
>
<el-tag type="warning" v-if="scope.row.houseState === 0 && scope.row.reviewerState !== 8">待审核</el-tag>
<el-tag type="warning" v-if="scope.row.houseState === 0 && scope.row.reviewerState === 8">待复审</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>
</el-table-column>
<el-table-column fixed="right" label="操作" width="380" align="left">
<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="record(scope.row)"
>记录</el-button
>
<el-button type="primary" size="mini" round @click="view(scope.row)">查看</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
@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 &&
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
@click="viewUrl(scope.row)"
>查看附件</el-button
>
<el-button v-if="scope.row.houseState === 0 && scope.row.reviewerState === 0" type="success" size="mini"
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 &&
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
@click="viewUrl(scope.row)">查看附件</el-button>
</template>
</el-table-column>
</table-template>
</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">
<el-table :data="totalList" style="width: 100%">
<el-table-column prop="reasonName" label="审核单位" width="180">
......@@ -186,47 +98,32 @@
viewDetail.enterprise.type == 0
? "企业"
: viewDetail.enterprise.type == 1
? "事业单位"
: ""
? "事业单位"
: ""
}}
</p>
</div>
<div class="cell">
<p class="label">企业营业执照或事业单位法人登记证</p>
<p class="value">
<el-image
v-for="(item, index) in viewDetail.enterprise
.businessLicenseList"
:key="index"
style="width: 100px; height: 100px; margin-right: 10px"
:src="item.picture"
:z-index="7777777"
:preview-src-list="[item.picture]"
>
<el-image v-for="(item, index) in viewDetail.enterprise
.businessLicenseList" :key="index" style="width: 100px; height: 100px; margin-right: 10px"
:src="item.picture" :z-index="7777777" :preview-src-list="[item.picture]">
</el-image>
</p>
</div>
<div class="cell">
<p class="label">单位申报人才购房补贴汇总表</p>
<p class="value">
<el-image
v-for="(item, index) in viewDetail.enterprise.summarySheetList"
:key="index"
style="width: 100px; height: 100px; margin-right: 10px"
:src="item.picture"
:z-index="7777777"
:preview-src-list="[item.picture]"
>
<el-image v-for="(item, index) in viewDetail.enterprise.summarySheetList" :key="index"
style="width: 100px; height: 100px; margin-right: 10px" :src="item.picture" :z-index="7777777"
:preview-src-list="[item.picture]">
</el-image>
</p>
</div>
</div>
<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="cell">
<p class="label">申报人姓名</p>
......@@ -260,8 +157,8 @@
item.educationType == 0
? "国(境)内"
: item.educationType == 1
? "国(境)外"
: ""
? "国(境)外"
: ""
}}
</p>
</div>
......@@ -277,14 +174,9 @@
<p class="label">学历认证报告</p>
<p class="value">
<template v-for="(i, index) in item.pictureVoS">
<el-image
v-if="i.pictureType == 12"
:key="index"
style="width: 100px; height: 100px; margin-right: 10px"
:src="i.picture"
:z-index="7777777"
:preview-src-list="[i.picture]"
>
<el-image v-if="i.pictureType == 12" :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>
......@@ -313,10 +205,10 @@
item.bankType == 0
? "交通银行"
: item.bankType == 1
? "江苏银行"
: item.bankType == 2
? "工商银行"
: ""
? "江苏银行"
: item.bankType == 2
? "工商银行"
: ""
}}
</p>
</div>
......@@ -357,14 +249,9 @@
<p class="label">个人申请表</p>
<p class="value">
<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"
:src="i.picture"
:z-index="7777777"
:preview-src-list="[i.picture]"
>
<el-image 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>
</template>
</p>
......@@ -373,14 +260,9 @@
<p class="label">身份证照片</p>
<p class="value">
<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"
:src="i.picture"
:z-index="7777777"
:preview-src-list="[i.picture]"
>
<el-image 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>
</template>
</p>
......@@ -389,14 +271,9 @@
<p class="label">个人银行卡照</p>
<p class="value">
<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"
:src="i.picture"
:z-index="7777777"
:preview-src-list="[i.picture]"
>
<el-image 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>
</template>
</p>
......@@ -405,14 +282,9 @@
<p class="label">商品买卖合同</p>
<p class="value">
<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"
:src="i.picture"
:z-index="7777777"
:preview-src-list="[i.picture]"
>
<el-image 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>
</template>
</p>
......@@ -421,14 +293,9 @@
<p class="label">不动产权证书</p>
<p class="value">
<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"
:src="i.picture"
:z-index="7777777"
:preview-src-list="[i.picture]"
>
<el-image 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>
</template>
</p>
......@@ -437,14 +304,9 @@
<p class="label">契税完税凭证</p>
<p class="value">
<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"
:src="i.picture"
:z-index="7777777"
:preview-src-list="[i.picture]"
>
<el-image 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>
</template>
</p>
......@@ -453,14 +315,9 @@
<p class="label">劳动或聘用合同</p>
<p class="value">
<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"
:src="i.picture"
:z-index="7777777"
:preview-src-list="[i.picture]"
>
<el-image 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>
</template>
</p>
......@@ -469,33 +326,20 @@
<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 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 == '镇江市市区“归雁”人才购房补贴'"
>
<div class="cell" v-if="viewDetail.guideName == '镇江市市区“归雁”人才购房补贴'">
<p class="label">镇江籍证明材料</p>
<p class="value">
<template v-for="(i, index) in item.pictureVoS">
<el-image
v-if="i.pictureType == 10"
:key="index"
style="width: 100px; height: 100px; margin-right: 10px"
:src="i.picture"
:z-index="7777777"
:preview-src-list="[i.picture]"
>
<el-image v-if="i.pictureType == 10" :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>
......@@ -504,12 +348,7 @@
</div>
</div>
</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="cell" v-for="(item, index) in recordList" :key="index">
<p class="label" style="margin-right: 20px">
......@@ -524,97 +363,44 @@
<p v-if="record.length === 0">暂无记录~</p>
</div>
</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">
<el-cascader
v-model="item.test"
:options="options"
: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>
<el-cascader v-model="item.test" :options="options" :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 class="button">
<el-button @click="cancel">取消</el-button>
<el-button @click="affirm" type="primary">确认</el-button>
</div>
</el-dialog>
<el-dialog
title="查看附件"
:visible.sync="showUrl"
width="500px"
:close-on-press-escape="false"
>
<el-dialog title="查看附件" :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 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>
<el-image style="width: 95px; height: 95px; margin: 10px" :src="item.file"
:preview-src-list="[item.file]"></el-image>
</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>
</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
v-for="(item, index) in fileUrlList"
:key="index"
style="
<div 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;
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
>
<el-button size="mini" type="primary" @click="download(item.file)" class="down-text">下载附件</el-button>
</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>
</div>
</el-dialog>
......@@ -665,7 +451,7 @@ export default {
input: "",
userName: "",
searchForm: {
name: "",
enterpriseName: "",
phone: "",
state: "",
departmentCode: "",
......@@ -827,7 +613,7 @@ export default {
if (this.$route) {
this.userName = localStorage.getItem("userName");
this.searchForm.departmentCode = this.$route.query.departmentCode;
this.searchForm.name = "";
this.searchForm.enterpriseName = "";
this.searchForm.phone = "";
this.searchForm.state = "";
this.init();
......@@ -852,14 +638,14 @@ export default {
this.pictureUrlList = res.data.filter((item) => {
let fileType =
item.fileExplain.split(".")[
item.fileExplain.split(".").length - 1
item.fileExplain.split(".").length - 1
];
return fileType == "jpg" || fileType == "jpeg" || fileType == "png";
});
this.fileUrlList = res.data.filter((item) => {
let fileType =
item.fileExplain.split(".")[
item.fileExplain.split(".").length - 1
item.fileExplain.split(".").length - 1
];
return fileType != "jpg" && fileType != "jpeg" && fileType != "png";
});
......@@ -875,7 +661,7 @@ export default {
this.tableData = [];
this.loading = true;
let parmas = {
name: this.searchForm.name,
enterpriseName: this.searchForm.enterpriseName,
phone: this.searchForm.phone,
state: this.searchForm.state,
departmentCode: this.searchForm.departmentCode,
......@@ -940,10 +726,10 @@ export default {
// console.log("this.housingList----", this.housingList);
this.housingList.forEach((item) => {
item.state == 1 ||
item.state == 2 ||
item.state == 3 ||
item.state == 6 ||
item.state == 7
item.state == 2 ||
item.state == 3 ||
item.state == 6 ||
item.state == 7
? (item.state = "通过")
: (item.state = "拒绝");
});
......
<template>
<div class="purchase">
<div class="search-wrapper">
<el-form
:inline="true"
:model="searchForm"
class="search_form"
style="text-align: left"
>
<el-form-item label="姓名">
<el-input
v-model="searchForm.name"
placeholder="请输入姓名"
@keyup.enter.native="onSubmit"
></el-input>
<el-form :inline="true" :model="searchForm" class="search_form" style="text-align: left">
<el-form-item label="企业名称">
<el-input v-model="searchForm.enterpriseName" placeholder="请输入姓名" @keyup.enter.native="onSubmit"></el-input>
</el-form-item>
<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 label="事项名称">
<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-select>
</el-form-item>
......@@ -38,100 +20,40 @@
<br />
<el-form-item label="状态" style="margin-top: 10px">
<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-form-item>
</el-form>
</div>
<div class="table-wrapper">
<table-template
:tableData="tableData"
:tableColumns="tableColumns"
:loading="loading"
:pagination="pagination"
@Jump="jumpPage"
>
<el-table-column
width="120"
key="stateName"
prop="stateName"
label="状态"
align="center"
>
<table-template :tableData="tableData" :tableColumns="tableColumns" :loading="loading" :pagination="pagination"
@Jump="jumpPage">
<el-table-column width="120" key="stateName" prop="stateName" label="状态" align="center">
<template slot-scope="scope">
<el-tag :type="scope.row.type">{{ scope.row.stateName }}</el-tag>
</template>
</el-table-column>
<el-table-column fixed="right" label="操作" width="420" align="left">
<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="record(scope.row)"
>记录</el-button
>
<el-button type="primary" size="mini" round @click="view(scope.row)">查看</el-button>
<el-button type="primary" size="mini" round @click="record(scope.row)">记录</el-button>
<!-- 待复审的单子有通过拒绝-->
<template v-if="scope.row.state === 1">
<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
>
<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 v-if="scope.row.state === 2">
<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
>
<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 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>
</el-table-column>
</table-template>
</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">
<el-table :data="totalList" style="width: 100%">
<el-table-column prop="reasonName" label="审核单位" width="180">
......@@ -169,47 +91,32 @@
viewDetail.enterprise.type == 0
? "企业"
: viewDetail.enterprise.type == 1
? "事业单位"
: ""
? "事业单位"
: ""
}}
</p>
</div>
<div class="cell">
<p class="label">企业营业执照或事业单位法人登记证</p>
<p class="value">
<el-image
v-for="(item, index) in viewDetail.enterprise
.businessLicenseList"
:key="index"
style="width: 100px; height: 100px; margin-right: 10px"
:src="item.picture"
:z-index="7777777"
:preview-src-list="[item.picture]"
>
<el-image v-for="(item, index) in viewDetail.enterprise
.businessLicenseList" :key="index" style="width: 100px; height: 100px; margin-right: 10px"
:src="item.picture" :z-index="7777777" :preview-src-list="[item.picture]">
</el-image>
</p>
</div>
<div class="cell">
<p class="label">单位申报人才购房补贴汇总表</p>
<p class="value">
<el-image
v-for="(item, index) in viewDetail.enterprise.summarySheetList"
:key="index"
style="width: 100px; height: 100px; margin-right: 10px"
:src="item.picture"
:z-index="7777777"
:preview-src-list="[item.picture]"
>
<el-image v-for="(item, index) in viewDetail.enterprise.summarySheetList" :key="index"
style="width: 100px; height: 100px; margin-right: 10px" :src="item.picture" :z-index="7777777"
:preview-src-list="[item.picture]">
</el-image>
</p>
</div>
</div>
<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="cell">
<p class="label">申报人姓名</p>
......@@ -243,8 +150,8 @@
item.educationType == 0
? "国(境)内"
: item.educationType == 1
? "国(境)外"
: ""
? "国(境)外"
: ""
}}
</p>
</div>
......@@ -260,14 +167,9 @@
<p class="label">学历认证报告</p>
<p class="value">
<template v-for="(i, index) in item.pictureVoS">
<el-image
v-if="i.pictureType == 12"
:key="index"
style="width: 100px; height: 100px; margin-right: 10px"
:src="i.picture"
:z-index="7777777"
:preview-src-list="[i.picture]"
>
<el-image v-if="i.pictureType == 12" :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>
......@@ -296,10 +198,10 @@
item.bankType == 0
? "交通银行"
: item.bankType == 1
? "江苏银行"
: item.bankType == 2
? "工商银行"
: ""
? "江苏银行"
: item.bankType == 2
? "工商银行"
: ""
}}
</p>
</div>
......@@ -340,14 +242,9 @@
<p class="label">个人申请表</p>
<p class="value">
<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"
:src="i.picture"
:z-index="7777777"
:preview-src-list="[i.picture]"
>
<el-image 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>
</template>
</p>
......@@ -356,14 +253,9 @@
<p class="label">身份证照片</p>
<p class="value">
<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"
:src="i.picture"
:z-index="7777777"
:preview-src-list="[i.picture]"
>
<el-image 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>
</template>
</p>
......@@ -372,14 +264,9 @@
<p class="label">个人银行卡照</p>
<p class="value">
<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"
:src="i.picture"
:z-index="7777777"
:preview-src-list="[i.picture]"
>
<el-image 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>
</template>
</p>
......@@ -388,14 +275,9 @@
<p class="label">商品买卖合同</p>
<p class="value">
<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"
:src="i.picture"
:z-index="7777777"
:preview-src-list="[i.picture]"
>
<el-image 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>
</template>
</p>
......@@ -404,14 +286,9 @@
<p class="label">不动产权证书</p>
<p class="value">
<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"
:src="i.picture"
:z-index="7777777"
:preview-src-list="[i.picture]"
>
<el-image 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>
</template>
</p>
......@@ -420,14 +297,9 @@
<p class="label">契税完税凭证</p>
<p class="value">
<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"
:src="i.picture"
:z-index="7777777"
:preview-src-list="[i.picture]"
>
<el-image 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>
</template>
</p>
......@@ -436,14 +308,9 @@
<p class="label">劳动或聘用合同</p>
<p class="value">
<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"
:src="i.picture"
:z-index="7777777"
:preview-src-list="[i.picture]"
>
<el-image 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>
</template>
</p>
......@@ -452,33 +319,20 @@
<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 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 == '镇江市市区“归雁”人才购房补贴'"
>
<div class="cell" v-if="viewDetail.guideName == '镇江市市区“归雁”人才购房补贴'">
<p class="label">镇江籍证明材料</p>
<p class="value">
<template v-for="(i, index) in item.pictureVoS">
<el-image
v-if="i.pictureType == 10"
:key="index"
style="width: 100px; height: 100px; margin-right: 10px"
:src="i.picture"
:z-index="7777777"
:preview-src-list="[i.picture]"
>
<el-image v-if="i.pictureType == 10" :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>
......@@ -487,12 +341,7 @@
</div>
</div>
</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="cell" v-for="(item, index) in recordList" :key="index">
<p class="label" style="margin-right: 20px">
......@@ -507,97 +356,44 @@
<p v-if="record.length === 0">暂无记录~</p>
</div>
</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">
<el-cascader
v-model="item.test"
:options="options"
: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>
<el-cascader v-model="item.test" :options="options" :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 class="button">
<el-button @click="cancel">取消</el-button>
<el-button @click="affirm" type="primary">确认</el-button>
</div>
</el-dialog>
<el-dialog
title="查看附件"
:visible.sync="showUrl"
width="500px"
:close-on-press-escape="false"
>
<el-dialog title="查看附件" :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 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>
<el-image style="width: 95px; height: 95px; margin: 10px" :src="item.file"
:preview-src-list="[item.file]"></el-image>
</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>
</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
v-for="(item, index) in fileUrlList"
:key="index"
style="
<div 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;
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
>
<el-button size="mini" type="primary" @click="download(item.file)" class="down-text">下载附件</el-button>
</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>
</div>
</el-dialog>
......@@ -647,7 +443,7 @@ export default {
input: "",
userName: "",
searchForm: {
name: "",
enterpriseName: "",
phone: "",
state: "",
guideId: null,
......@@ -837,7 +633,7 @@ export default {
this.searchForm.payTaxesArea = this.$route.query.payTaxesArea
? this.$route.query.payTaxesArea
: null;
this.searchForm.name = "";
this.searchForm.enterpriseName = "";
this.searchForm.phone = "";
this.searchForm.state = "";
this.init();
......@@ -862,14 +658,14 @@ export default {
this.pictureUrlList = res.data.filter((item) => {
let fileType =
item.fileExplain.split(".")[
item.fileExplain.split(".").length - 1
item.fileExplain.split(".").length - 1
];
return fileType == "jpg" || fileType == "jpeg" || fileType == "png";
});
this.fileUrlList = res.data.filter((item) => {
let fileType =
item.fileExplain.split(".")[
item.fileExplain.split(".").length - 1
item.fileExplain.split(".").length - 1
];
return fileType != "jpg" && fileType != "jpeg" && fileType != "png";
});
......@@ -885,7 +681,7 @@ export default {
this.tableData = [];
this.loading = true;
let parmas = {
name: this.searchForm.name,
enterpriseName: this.searchForm.enterpriseName,
phone: this.searchForm.phone,
state: this.searchForm.state,
guideId: this.searchForm.guideId,
......@@ -948,10 +744,10 @@ export default {
// console.log("this.housingList----", this.housingList);
this.housingList.forEach((item) => {
item.state == 1 ||
item.state == 2 ||
item.state == 3 ||
item.state == 6 ||
item.state == 7
item.state == 2 ||
item.state == 3 ||
item.state == 6 ||
item.state == 7
? (item.state = "通过")
: (item.state = "拒绝");
});
......
<template>
<div class="purchase">
<div class="search-wrapper">
<el-form
:inline="true"
:model="searchForm"
class="search_form"
style="text-align: left"
>
<el-form-item label="姓名">
<el-input
v-model="searchForm.name"
placeholder="请输入姓名"
@keyup.enter.native="onSubmit"
></el-input>
<el-form :inline="true" :model="searchForm" class="search_form" style="text-align: left">
<el-form-item label="企业名称">
<el-input v-model="searchForm.enterpriseName" placeholder="请输入姓名" @keyup.enter.native="onSubmit"></el-input>
</el-form-item>
<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 label="事项名称">
<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-select>
</el-form-item>
......@@ -38,76 +20,35 @@
<br />
<el-form-item label="状态" style="margin-top: 10px">
<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-form-item>
</el-form>
</div>
<div class="table-wrapper">
<table-template
:tableData="tableData"
:tableColumns="tableColumns"
:loading="loading"
:pagination="pagination"
@Jump="jumpPage"
>
<el-table-column
width="120"
key="stateName"
prop="stateName"
label="状态"
align="center"
>
<table-template :tableData="tableData" :tableColumns="tableColumns" :loading="loading" :pagination="pagination"
@Jump="jumpPage">
<el-table-column width="120" key="stateName" prop="stateName" label="状态" align="center">
<template slot-scope="scope">
<el-tag :type="scope.row.type">{{ scope.row.stateName }}</el-tag>
</template>
</el-table-column>
<el-table-column fixed="right" label="操作" width="380" align="left">
<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="record(scope.row)"
>记录</el-button
>
<el-button type="primary" size="mini" round @click="view(scope.row)">查看</el-button>
<el-button type="primary" size="mini" round @click="record(scope.row)">记录</el-button>
<!-- 待复审的单子有通过拒绝-->
<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 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>
</el-table-column>
</table-template>
</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">
<el-table :data="totalList" style="width: 100%">
<el-table-column prop="reasonName" label="审核单位" width="180">
......@@ -145,47 +86,32 @@
viewDetail.enterprise.type == 0
? "企业"
: viewDetail.enterprise.type == 1
? "事业单位"
: ""
? "事业单位"
: ""
}}
</p>
</div>
<div class="cell">
<p class="label">企业营业执照或事业单位法人登记证</p>
<p class="value">
<el-image
v-for="(item, index) in viewDetail.enterprise
.businessLicenseList"
:key="index"
style="width: 100px; height: 100px; margin-right: 10px"
:src="item.picture"
:z-index="7777777"
:preview-src-list="[item.picture]"
>
<el-image v-for="(item, index) in viewDetail.enterprise
.businessLicenseList" :key="index" style="width: 100px; height: 100px; margin-right: 10px"
:src="item.picture" :z-index="7777777" :preview-src-list="[item.picture]">
</el-image>
</p>
</div>
<div class="cell">
<p class="label">单位申报人才购房补贴汇总表</p>
<p class="value">
<el-image
v-for="(item, index) in viewDetail.enterprise.summarySheetList"
:key="index"
style="width: 100px; height: 100px; margin-right: 10px"
:src="item.picture"
:z-index="7777777"
:preview-src-list="[item.picture]"
>
<el-image v-for="(item, index) in viewDetail.enterprise.summarySheetList" :key="index"
style="width: 100px; height: 100px; margin-right: 10px" :src="item.picture" :z-index="7777777"
:preview-src-list="[item.picture]">
</el-image>
</p>
</div>
</div>
<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="cell">
<p class="label">申报人姓名</p>
......@@ -219,8 +145,8 @@
item.educationType == 0
? "国(境)内"
: item.educationType == 1
? "国(境)外"
: ""
? "国(境)外"
: ""
}}
</p>
</div>
......@@ -236,14 +162,9 @@
<p class="label">学历认证报告</p>
<p class="value">
<template v-for="(i, index) in item.pictureVoS">
<el-image
v-if="i.pictureType == 12"
:key="index"
style="width: 100px; height: 100px; margin-right: 10px"
:src="i.picture"
:z-index="7777777"
:preview-src-list="[i.picture]"
>
<el-image v-if="i.pictureType == 12" :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>
......@@ -271,10 +192,10 @@
item.bankType == 0
? "交通银行"
: item.bankType == 1
? "江苏银行"
: item.bankType == 2
? "工商银行"
: ""
? "江苏银行"
: item.bankType == 2
? "工商银行"
: ""
}}
</p>
</div>
......@@ -315,14 +236,9 @@
<p class="label">个人申请表</p>
<p class="value">
<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"
:src="i.picture"
:z-index="7777777"
:preview-src-list="[i.picture]"
>
<el-image 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>
</template>
</p>
......@@ -331,14 +247,9 @@
<p class="label">身份证照片</p>
<p class="value">
<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"
:src="i.picture"
:z-index="7777777"
:preview-src-list="[i.picture]"
>
<el-image 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>
</template>
</p>
......@@ -347,14 +258,9 @@
<p class="label">个人银行卡照</p>
<p class="value">
<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"
:src="i.picture"
:z-index="7777777"
:preview-src-list="[i.picture]"
>
<el-image 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>
</template>
</p>
......@@ -363,14 +269,9 @@
<p class="label">商品买卖合同</p>
<p class="value">
<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"
:src="i.picture"
:z-index="7777777"
:preview-src-list="[i.picture]"
>
<el-image 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>
</template>
</p>
......@@ -379,14 +280,9 @@
<p class="label">不动产权证书</p>
<p class="value">
<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"
:src="i.picture"
:z-index="7777777"
:preview-src-list="[i.picture]"
>
<el-image 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>
</template>
</p>
......@@ -395,14 +291,9 @@
<p class="label">契税完税凭证</p>
<p class="value">
<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"
:src="i.picture"
:z-index="7777777"
:preview-src-list="[i.picture]"
>
<el-image 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>
</template>
</p>
......@@ -411,14 +302,9 @@
<p class="label">劳动或聘用合同</p>
<p class="value">
<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"
:src="i.picture"
:z-index="7777777"
:preview-src-list="[i.picture]"
>
<el-image 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>
</template>
</p>
......@@ -427,33 +313,20 @@
<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 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 == '镇江市市区“归雁”人才购房补贴'"
>
<div class="cell" v-if="viewDetail.guideName == '镇江市市区“归雁”人才购房补贴'">
<p class="label">镇江籍证明材料</p>
<p class="value">
<template v-for="(i, index) in item.pictureVoS">
<el-image
v-if="i.pictureType == 10"
:key="index"
style="width: 100px; height: 100px; margin-right: 10px"
:src="i.picture"
:z-index="7777777"
:preview-src-list="[i.picture]"
>
<el-image v-if="i.pictureType == 10" :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>
......@@ -462,12 +335,7 @@
</div>
</div>
</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="cell" v-for="(item, index) in recordList" :key="index">
<p class="label" style="margin-right: 20px">
......@@ -482,38 +350,17 @@
<p v-if="record.length === 0">暂无记录~</p>
</div>
</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="cell1">
<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 class="cell1">
<p class="label">请上传附件:</p>
<el-upload
class="upload-demo"
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-upload class="upload-demo" 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>
<div slot="tip" class="el-upload__tip" style="color: #f56c6c">
支持上传jpg/png/doc/docx/xls/xlsx/pdf等文件
......@@ -526,66 +373,32 @@
<el-button type="primary" @click="passData1">确 定</el-button>
</span>
</el-dialog>
<el-dialog
title="查看附件"
:visible.sync="showUrl"
width="500px"
:close-on-press-escape="false"
>
<el-dialog title="查看附件" :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 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>
<el-image style="width: 95px; height: 95px; margin: 10px" :src="item.file"
:preview-src-list="[item.file]"></el-image>
</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>
</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
v-for="(item, index) in fileUrlList"
:key="index"
style="
<div 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;
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
>
<el-button size="mini" type="primary" @click="download(item.file)" class="down-text">下载附件</el-button>
</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>
</div>
</el-dialog>
......@@ -620,7 +433,7 @@ export default {
fileUrl1: [],
userName: "",
searchForm: {
name: "",
enterpriseName: "",
phone: "",
state: "",
departmentCode: "",
......@@ -818,14 +631,14 @@ export default {
this.pictureUrlList = res.data.filter((item) => {
let fileType =
item.fileExplain.split(".")[
item.fileExplain.split(".").length - 1
item.fileExplain.split(".").length - 1
];
return fileType == "jpg" || fileType == "jpeg" || fileType == "png";
});
this.fileUrlList = res.data.filter((item) => {
let fileType =
item.fileExplain.split(".")[
item.fileExplain.split(".").length - 1
item.fileExplain.split(".").length - 1
];
return fileType != "jpg" && fileType != "jpeg" && fileType != "png";
});
......@@ -881,7 +694,7 @@ export default {
init() {
this.loading = true;
let parmas = {
name: this.searchForm.name,
enterpriseName: this.searchForm.enterpriseName,
phone: this.searchForm.phone,
state: this.searchForm.state,
departmentCode: this.searchForm.departmentCode,
......@@ -944,10 +757,10 @@ export default {
// console.log("this.housingList----", this.housingList);
this.housingList.forEach((item) => {
item.state == 1 ||
item.state == 2 ||
item.state == 3 ||
item.state == 6 ||
item.state == 7
item.state == 2 ||
item.state == 3 ||
item.state == 6 ||
item.state == 7
? (item.state = "通过")
: (item.state = "拒绝");
});
......
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