Commit 775be40d by swl

gx

parent fd44d77c
No preview for this file type
File added
const domain = { const domain = {
// dev: "http://192.168.3.87:8881", // 姚镇接口 dev: "http://192.168.3.87:8881", // 姚镇接口
// dev: "http://81.69.231.72:8881", // 姚镇接口 // dev: "http://81.69.231.72:8881", // 姚镇接口
dev: "http://81.69.231.72:8881", // 测试接口 // dev: "http://81.69.231.72:8881", // 测试接口
// dev: "https://exam.smart-zj.cn:9100/smartExam/", // 新正式接口 // dev: "https://exam.smart-zj.cn:9100/smartExam/", // 新正式接口
}; };
// 腾讯地图 key // 腾讯地图 key
......
...@@ -5,8 +5,8 @@ import { TokenKey } from "@/utils/auth"; ...@@ -5,8 +5,8 @@ import { TokenKey } from "@/utils/auth";
const config = { const config = {
// proxy: "https://exam.smart-zj.cn:9100/exam/", // 新线上地址 // proxy: "https://exam.smart-zj.cn:9100/exam/", // 新线上地址
proxy: "http://81.69.231.72:8881", // 测试地址 // proxy: "http://81.69.231.72:8881", // 测试地址
// proxy: "http://192.168.3.87:8881/", //本地 proxy: "http://192.168.3.87:8881/", //本地
// proxy: "https://exam.smart-zj.cn:9100/smartExam/", // 新正式接口 // proxy: "https://exam.smart-zj.cn:9100/smartExam/", // 新正式接口
// proxy: "http://81.69.231.72:9089/", // 测试地址 // proxy: "http://81.69.231.72:9089/", // 测试地址
// proxy1: "http://81.69.231.72:8881/admin-api", // 测试地址 // proxy1: "http://81.69.231.72:8881/admin-api", // 测试地址
......
<template> <template>
<div class="deedtax-house"> <div class="deedtax-house">
<div class="search-wrapper"> <div class="search-wrapper">
<el-form :inline="true" :model="searchForm" class="search_form" style="text-align: left"> <el-form
<el-form-item label="姓名"> :inline="true"
<el-input v-model="searchForm.name" placeholder="请输入姓名" @keyup.enter.native="onSubmit"></el-input> :model="searchForm"
</el-form-item> class="search_form"
<el-form-item label="手机号码"> style="text-align: left"
<el-input v-model="searchForm.phone" placeholder="请输入手机号码" @keyup.enter.native="onSubmit"> >
</el-input> <el-form-item label="姓名">
</el-form-item> <el-input
<el-form-item label="不动产坐落辖市区" v-if="this.realEstateArea == '市区'"> v-model="searchForm.name"
<el-select v-model="searchForm.checkArealEstateArea" placeholder="请选择不动产坐落辖市区" @change="onSubmit" placeholder="请输入姓名"
size="medium"> @keyup.enter.native="onSubmit"
<el-option v-for="item in areaList" :key="item.id" :label="item.label" :value="item.id"> ></el-input>
</el-option> </el-form-item>
</el-select> <el-form-item label="手机号码">
</el-form-item> <el-input
<el-form-item> v-model="searchForm.phone"
<el-button type="primary" @click="onSubmit">查询</el-button> placeholder="请输入手机号码"
</el-form-item> @keyup.enter.native="onSubmit"
<br /> >
<el-form-item label="状态" style="margin-top: 10px"> </el-input>
<el-radio-group v-model="searchForm.state" @change="onSubmit"> </el-form-item>
<el-radio :label="item.state" v-for="item in stateList" :key="item.state">{{ item.stateName }} <el-form-item
</el-radio> label="不动产坐落辖市区"
</el-radio-group> v-if="this.realEstateArea == '市区'"
</el-form-item> >
</el-form> <el-select
</div> v-model="searchForm.checkArealEstateArea"
<div class="table-wrapper"> placeholder="请选择不动产坐落辖市区"
<table-template :tableData="tableData" :tableColumns="tableColumns" :loading="loading" @change="onSubmit"
:pagination="pagination" @Jump="jumpPage"> size="medium"
<el-table-column slot="departmentName" label="实施主体" align="center"> >
<template> <el-option
{{ v-for="item in areaList"
this.$route.query.departmentCode == "10000031" ? this.realEstateArea + '住建局' : :key="item.id"
this.realEstateArea + '住建窗口' :label="item.label"
}} :value="item.id"
</template> >
</el-table-column> </el-option>
<el-table-column label="状态" width="180" align="center"> </el-select>
<template slot-scope="scope"> </el-form-item>
<el-tag type="warning" v-if="scope.row.state == 0">待审核</el-tag> <el-form-item>
<el-tag type="warning" v-if="scope.row.state == 1">待复审</el-tag> <el-button type="primary" @click="onSubmit">查询</el-button>
<el-tag type="warning" v-if="scope.row.state == 2 || scope.row.state == 3">待退税办理</el-tag> </el-form-item>
<el-tag type="danger" v-if="scope.row.state == 4">已驳回</el-tag> <br />
<el-tag type="success" v-if="scope.row.state == 6">已完成</el-tag> <el-form-item label="状态" style="margin-top: 10px">
</template> <el-radio-group v-model="searchForm.state" @change="onSubmit">
</el-table-column> <el-radio
<el-table-column fixed="right" label="操作" width="380" align="center"> :label="item.state"
<template slot-scope="scope"> v-for="item in stateList"
<el-button type="primary" size="mini" round @click="view(scope.row)">查看</el-button> :key="item.state"
<el-button type="primary" size="mini" round @click="record(scope.row)">记录</el-button> >{{ item.stateName }}
<!-- 申请的单子有通过拒绝--> </el-radio>
<el-button v-if="scope.row.state == 1 && searchForm.departmentCode == '10000027'" type="success" </el-radio-group>
size="mini" round @click="pass(scope.row)">通过 </el-form-item>
</el-button> </el-form>
<el-button v-if="scope.row.state == 1 && searchForm.departmentCode == '10000027'" type="danger" </div>
size="mini" round @click="deny(scope.row)">拒绝 <div class="table-wrapper">
</el-button> <table-template
<el-button v-if="scope.row.flag == true && searchForm.departmentCode == '10000027'" type="info" :tableData="tableData"
size="mini" round @click="drevokeeny(scope.row)">撤销 :tableColumns="tableColumns"
</el-button> :loading="loading"
<!-- <el-button :pagination="pagination"
@Jump="jumpPage"
>
<el-table-column slot="departmentName" label="实施主体" align="center">
<template>
{{
this.$route.query.departmentCode == "10000031"
? this.realEstateArea + "住建局"
: this.realEstateArea + "住建窗口"
}}
</template>
</el-table-column>
<el-table-column label="状态" width="180" align="center">
<template slot-scope="scope">
<el-tag type="warning" v-if="scope.row.state == 0">待审核</el-tag>
<el-tag type="warning" v-if="scope.row.state == 1">待复审</el-tag>
<el-tag
type="warning"
v-if="scope.row.state == 2 || scope.row.state == 3"
>待退税办理</el-tag
>
<el-tag type="danger" v-if="scope.row.state == 4">已驳回</el-tag>
<el-tag type="success" v-if="scope.row.state == 6">已完成</el-tag>
</template>
</el-table-column>
<el-table-column fixed="right" label="操作" width="380" align="center">
<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
v-if="
scope.row.state == 1 && searchForm.departmentCode == '10000027'
"
type="success"
size="mini"
round
@click="pass(scope.row)"
>通过
</el-button>
<el-button
v-if="
scope.row.state == 1 && searchForm.departmentCode == '10000027'
"
type="danger"
size="mini"
round
@click="deny(scope.row)"
>拒绝
</el-button>
<el-button
v-if="
scope.row.flag == true &&
searchForm.departmentCode == '10000027'
"
type="info"
size="mini"
round
@click="drevokeeny(scope.row)"
>撤销
</el-button>
<!-- <el-button
v-if="(scope.row.state == 3 || scope.row.state == 2) && searchForm.departmentCode == '10000031' && $route.query.realEstateArea == '句容市'" v-if="(scope.row.state == 3 || scope.row.state == 2) && searchForm.departmentCode == '10000031' && $route.query.realEstateArea == '句容市'"
type="success" size="mini" round @click="dispatch(scope.row)">退税办理</el-button> --> type="success" size="mini" round @click="dispatch(scope.row)">退税办理</el-button> -->
<el-button <el-button
v-if="scope.row.state != 0 && scope.row.state != 4 && scope.row.fileUrl && searchForm.departmentCode == '10000027'" v-if="
type="success" size="mini" round @click="download(scope.row.fileUrl)">下载申请表</el-button> scope.row.state != 0 &&
</template> scope.row.state != 4 &&
</el-table-column> scope.row.fileUrl &&
</table-template> searchForm.departmentCode == '10000027'
</div> "
<el-dialog title="申报详情" :visible.sync="viewShow" width="800px" :close-on-press-escape="false"> type="success"
<div class="content"> size="mini"
<!-- 新增功能start --> round
<el-table :data="totalList" style="width: 100%"> @click="download(scope.row.fileUrl)"
<el-table-column prop="departmentName" label="审核单位" width="180"> >下载申请表</el-button
</el-table-column> >
<el-table-column prop="state" label="审核状态" width="180"> </template>
</el-table-column> </el-table-column>
<el-table-column prop="reason" label="审核意见"> </el-table-column> </table-template>
<el-table-column prop="createTime" label="审核时间"> </el-table-column>
</el-table>
<div class="cell">
<p class="label">是否享受过相关政策</p>
<p :class="['value', viewDetail.enjoyFlag == true ? 'value2' : 'value1']">{{ viewDetail.enjoyFlag ?
'否' : '是'
}}</p>
</div>
<!-- 新增功能end -->
<div class="cell">
<p class="label">事项名称</p>
<p class="value">{{ viewDetail.guideName }}</p>
</div>
<div class="cell">
<p class="label">实施主体</p>
<p class="value">
{{
this.$route.query.departmentCode == "10000031" ? this.realEstateArea + '住建局' :
this.realEstateArea + '住建窗口'
}}
</p>
</div>
<div class="cell">
<p class="label">姓名</p>
<p class="value">{{ viewDetail.name }}</p>
</div>
<div class="cell">
<p class="label">身份证</p>
<p class="value">{{ viewDetail.idCard }}</p>
</div>
<div class="cell">
<p class="label">手机号</p>
<p class="value">{{ viewDetail.phone }}</p>
</div>
<div class="cell">
<p class="label">辖市区</p>
<p class="value">{{ viewDetail.userArea }}</p>
</div>
<div class="cell">
<p class="label">联系地址</p>
<p class="value">{{ viewDetail.address }}</p>
</div>
<div class="cell">
<p class="label">身份证照片</p>
<p class="value">
<el-image v-for="(item, index) in viewDetail.idCardPicture" :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">{{ viewDetail.bank }}</p>
</div>
<div class="cell">
<p class="label">银行卡号</p>
<p class="value">{{ viewDetail.bankCard }}</p>
</div>
<div class="cell">
<p class="label">银行卡照片</p>
<p class="value">
<el-image v-for="(item, index) in viewDetail.bankCardPicture" :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" v-if="viewDetail.deedBillCode && !viewDetail.secondDeedBillCode">NO.{{
viewDetail.deedBillCode
}}</p>
<p class="value" v-if="!viewDetail.deedBillCode && viewDetail.secondDeedBillCode">NO.{{
viewDetail.secondDeedBillCode
}}</p>
<p class="value" v-if="viewDetail.deedBillCode && viewDetail.secondDeedBillCode">NO.{{
viewDetail.deedBillCode
}}、NO.{{ viewDetail.secondDeedBillCode }}</p>
</div>
<div class="cell">
<p class="label">缴纳契税金额(元)</p>
<p class="value">{{ viewDetail.paymentDeedTaxAmount }}</p>
</div>
<div class="cell" v-if="viewDetail.taxReimbursementAmount">
<p class="label">退税金额(万元)</p>
<p class="value">{{ viewDetail.taxReimbursementAmount }}</p>
</div>
<div class="cell">
<p class="label">房屋面积</p>
<p class="value">{{ viewDetail.square }}</p>
</div>
<div class="cell">
<p class="label">不动产坐落辖市区</p>
<p class="value">{{ viewDetail.checkArea }}</p>
</div>
<div class="cell">
<p class="label">网签时间</p>
<p class="value">{{ viewDetail.netSignTime }}</p>
</div>
<div class="cell">
<p class="label">不动产权证号</p>
<p class="value">{{ viewDetail.realEstateCard }}</p>
</div>
<div class="cell">
<p class="label">不动产权坐落地址</p>
<p class="value">{{ viewDetail.realEstateAddress }}</p>
</div>
<div class="cell">
<p class="label">不动产权证书</p>
<p class="value">
<el-image v-for="(item, index) in viewDetail.certificate" :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">商品房买卖合同3张</p>
<p class="value">
<el-image v-for="(item, index) in viewDetail.contract" :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.voucher" :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>
</el-dialog>
<el-dialog title="操作记录" :visible.sync="recordShow" width="800px" :close-on-press-escape="false">
<div class="content" v-if="recordList[0]">
<div class="cell" v-for="(item, index) in recordList" :key="index">
<p class="label" style="margin-right: 20px">
{{ item.stateName }}
<span v-if="item.reason">({{ item.reason }})</span>
</p>
<div class="info">
<p class="item">操作人:{{ item.departmentName }}</p>
<p class="item">操作时间:{{ item.createTime }}</p>
</div>
</div>
<p v-if="record.length === 0">暂无记录~</p>
</div>
</el-dialog>
<el-dialog title="改派部门" :visible.sync="reassignmentShow" width="600px" :close-on-press-escape="false"
:before-close="closeDialog">
<el-form label-width="120px" :model="params">
<el-row>
<el-form-item label="改派部门">
<el-cascader v-model="params.checkArea" placeholder="请选择部门" :options="checkAreaList"
:show-all-levels="false" @change="handleChange">
</el-cascader>
</el-form-item>
</el-row>
</el-form>
<span slot="footer" class="dialog-footer">
<el-button @click="closeDialog">取 消</el-button>
<el-button type="primary" @click="determine">确 定</el-button>
</span>
</el-dialog>
</div> </div>
<el-dialog
title="申报详情"
:visible.sync="viewShow"
width="800px"
:close-on-press-escape="false"
>
<div class="content">
<!-- 新增功能start -->
<el-table :data="totalList" style="width: 100%">
<el-table-column prop="departmentName" label="审核单位" width="180">
</el-table-column>
<el-table-column prop="state" label="审核状态" width="180">
</el-table-column>
<el-table-column prop="reason" label="审核意见"> </el-table-column>
<el-table-column prop="createTime" label="审核时间">
</el-table-column>
</el-table>
<div class="cell">
<p class="label">是否享受过相关政策</p>
<p
:class="[
'value',
viewDetail.enjoyFlag == true ? 'value2' : 'value1',
]"
>
{{ viewDetail.enjoyFlag ? "否" : "是" }}
</p>
</div>
<!-- 新增功能end -->
<div class="cell">
<p class="label">事项名称</p>
<p class="value">{{ viewDetail.guideName }}</p>
</div>
<div class="cell">
<p class="label">实施主体</p>
<p class="value">
{{
this.$route.query.departmentCode == "10000031"
? this.realEstateArea + "住建局"
: this.realEstateArea + "住建窗口"
}}
</p>
</div>
<div class="cell">
<p class="label">姓名</p>
<p class="value">{{ viewDetail.name }}</p>
</div>
<div class="cell">
<p class="label">身份证</p>
<p class="value">{{ viewDetail.idCard }}</p>
</div>
<div class="cell">
<p class="label">手机号</p>
<p class="value">{{ viewDetail.phone }}</p>
</div>
<div class="cell">
<p class="label">辖市区</p>
<p class="value">{{ viewDetail.userArea }}</p>
</div>
<div class="cell">
<p class="label">联系地址</p>
<p class="value">{{ viewDetail.address }}</p>
</div>
<div class="cell">
<p class="label">身份证照片</p>
<p class="value">
<el-image
v-for="(item, index) in viewDetail.idCardPicture"
: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">{{ viewDetail.bank }}</p>
</div>
<div class="cell">
<p class="label">银行卡号</p>
<p class="value">{{ viewDetail.bankCard }}</p>
</div>
<div class="cell">
<p class="label">银行卡照片</p>
<p class="value">
<el-image
v-for="(item, index) in viewDetail.bankCardPicture"
: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"
v-if="viewDetail.deedBillCode && !viewDetail.secondDeedBillCode"
>
NO.{{ viewDetail.deedBillCode }}
</p>
<p
class="value"
v-if="!viewDetail.deedBillCode && viewDetail.secondDeedBillCode"
>
NO.{{ viewDetail.secondDeedBillCode }}
</p>
<p
class="value"
v-if="viewDetail.deedBillCode && viewDetail.secondDeedBillCode"
>
NO.{{ viewDetail.deedBillCode }}、NO.{{
viewDetail.secondDeedBillCode
}}
</p>
</div>
<div class="cell">
<p class="label">缴纳契税金额(元)</p>
<p class="value">{{ viewDetail.paymentDeedTaxAmount }}</p>
</div>
<div class="cell" v-if="viewDetail.taxReimbursementAmount">
<p class="label">退税金额(万元)</p>
<p class="value">{{ viewDetail.taxReimbursementAmount }}</p>
</div>
<div class="cell">
<p class="label">房屋面积</p>
<p class="value">{{ viewDetail.square }}</p>
</div>
<div class="cell">
<p class="label">不动产坐落辖市区</p>
<p class="value">{{ viewDetail.checkArea }}</p>
</div>
<div class="cell">
<p class="label">网签时间</p>
<p class="value">{{ viewDetail.netSignTime }}</p>
</div>
<div class="cell">
<p class="label">不动产权证号</p>
<p class="value">{{ viewDetail.realEstateCard }}</p>
</div>
<div class="cell">
<p class="label">不动产权坐落地址</p>
<p class="value">{{ viewDetail.realEstateAddress }}</p>
</div>
<div class="cell">
<p class="label">不动产权证书</p>
<p class="value">
<el-image
v-for="(item, index) in viewDetail.certificate"
: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">商品房买卖合同3张</p>
<p class="value">
<el-image
v-for="(item, index) in viewDetail.contract"
: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.voucher"
: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>
</el-dialog>
<el-dialog
title="操作记录"
:visible.sync="recordShow"
width="800px"
:close-on-press-escape="false"
>
<div class="content" v-if="recordList[0]">
<div class="cell" v-for="(item, index) in recordList" :key="index">
<p class="label" style="margin-right: 20px">
{{ item.stateName }}
<span v-if="item.reason">({{ item.reason }})</span>
</p>
<div class="info">
<p class="item">操作人:{{ item.departmentName }}</p>
<p class="item">操作时间:{{ item.createTime }}</p>
</div>
</div>
<p v-if="record.length === 0">暂无记录~</p>
</div>
</el-dialog>
<el-dialog
title="改派部门"
:visible.sync="reassignmentShow"
width="600px"
:close-on-press-escape="false"
:before-close="closeDialog"
>
<el-form label-width="120px" :model="params">
<el-row>
<el-form-item label="改派部门">
<el-cascader
v-model="params.checkArea"
placeholder="请选择部门"
:options="checkAreaList"
:show-all-levels="false"
@change="handleChange"
>
</el-cascader>
</el-form-item>
</el-row>
</el-form>
<span slot="footer" class="dialog-footer">
<el-button @click="closeDialog">取 消</el-button>
<el-button type="primary" @click="determine">确 定</el-button>
</span>
</el-dialog>
</div>
</template> </template>
<script> <script>
...@@ -258,599 +400,632 @@ import { changeList, setName, setTel, setCertNo } from "@/utils"; ...@@ -258,599 +400,632 @@ import { changeList, setName, setTel, setCertNo } from "@/utils";
// import { $fileUrl } from "@/utils/mix"; // import { $fileUrl } from "@/utils/mix";
// import { getTempUrl } from "@/api/exportFileUrl"; // import { getTempUrl } from "@/api/exportFileUrl";
import { queryListDeedTax, queryDeedTaxDetailInfo, queryDeedTaxRecord, updateDeedTaxState, mainRevocation, updateCheckArea } from '@/api/deedtax' import {
queryListDeedTax,
queryDeedTaxDetailInfo,
queryDeedTaxRecord,
updateDeedTaxState,
mainRevocation,
updateCheckArea,
} from "@/api/deedtax";
export default { export default {
components: { TableTemplate }, components: { TableTemplate },
data() { data() {
return { return {
userName: "", userName: "",
searchForm: { searchForm: {
name: "", name: "",
phone: "", phone: "",
state: "", state: "",
departmentCode: "", departmentCode: "",
checkArealEstateArea: "" checkArealEstateArea: "",
},
stateList: [
{
state: "",
stateName: "全部",
type: "",
},
{
state: 0,
stateName: "待审核",
type: "warning",
},
{
state: 1,
stateName: "待复审",
type: "warning",
},
// {
// state: 2,
// stateName: "待用户确认",
// type: "warning",
// },
// {
// state: 3,
// stateName: "待退税办理",
// type: "warning",
// },
{
state: 2,
stateName: "待退税办理",
type: "warning",
},
{
state: 4,
stateName: "已驳回",
type: "danger",
},
{
state: 6,
stateName: "已完成",
type: "success",
},
],
stateList1: [
{
state: 0,
stateName: "待审核",
type: "warning",
},
{
state: 1,
stateName: "待复审",
type: "warning",
},
{
state: 6,
stateName: "已完成",
type: "warning",
},
{
state: 2,
stateName: "资料审核",
type: "warning",
},
{
state: 3,
stateName: "卡号确认",
type: "success",
},
{
state: 4,
stateName: "已驳回",
type: "danger",
},
{
state: 8,
stateName: "初审通过",
type: "success",
},
{
state: 9,
stateName: "已驳回",
type: "danger",
},
],
loading: false,
tableData: [],
tableColumns: [
{
key: "code",
label: "申请编号",
width: 200,
},
{
key: "name",
label: "企业联系人",
width: 150,
},
{
key: "phone",
label: "手机号",
width: 150,
},
{
key: "guideName",
label: "事项名称",
width: 150,
},
{
key: "realEstateArea",
label: "不动产坐落辖市区",
width: 150,
},
{
key: "departmentName",
label: "实施主体",
type: "slot",
// width: 150
},
{
key: "createTime",
label: "更新时间",
width: 160,
},
],
pagination: {
total: 0,
pageSize: 10,
currentPage: 1,
},
viewShow: false,
viewDetail: {},
recordShow: false,
recordList: [],
examineList: [], // 审核单位数据
housingList: [], // 住建局列表数据
totalList: [], // 合并数组
realName: "",
realEstateArea: null,
reassignmentShow: false,
params: {
code: "",
checkArea: "",
departmentCode: "10000031",
},
checkAreaList: [
{
label: "市区",
value: "市区",
children: [
{
label: "京口区",
value: "京口区",
}, },
stateList: [ {
{ label: "润州区",
state: "", value: "润州区",
stateName: "全部",
type: "",
},
{
state: 0,
stateName: "待审核",
type: "warning",
},
{
state: 1,
stateName: "待复审",
type: "warning",
},
// {
// state: 2,
// stateName: "待用户确认",
// type: "warning",
// },
// {
// state: 3,
// stateName: "待退税办理",
// type: "warning",
// },
{
state: 2,
stateName: "待退税办理",
type: "warning",
},
{
state: 4,
stateName: "已驳回",
type: "danger",
},
{
state: 6,
stateName: "已完成",
type: "success",
},
],
stateList1: [
{
state: 0,
stateName: "待审核",
type: "warning"
},
{
state: 1,
stateName: "待复审",
type: "warning"
},
{
state: 6,
stateName: "已完成",
type: "warning"
},
{
state: 2,
stateName: "资料审核",
type: "warning"
},
{
state: 3,
stateName: "卡号确认",
type: "success"
},
{
state: 4,
stateName: "已驳回",
type: "danger"
},
{
state: 8,
stateName: "初审通过",
type: "success"
},
{
state: 9,
stateName: "已驳回",
type: "danger"
}
],
loading: false,
tableData: [],
tableColumns: [
{
key: "code",
label: "申请编号",
width: 200
},
{
key: "name",
label: "企业联系人",
width: 150
},
{
key: "phone",
label: "手机号",
width: 150
},
{
key: "guideName",
label: "事项名称",
width: 150
},
{
key: "realEstateArea",
label: "不动产坐落辖市区",
width: 150
},
{
key: "departmentName",
label: "实施主体",
type: "slot",
// width: 150
},
{
key: "createTime",
label: "更新时间",
width: 160
}
],
pagination: {
total: 0,
pageSize: 10,
currentPage: 1
}, },
viewShow: false, {
viewDetail: {}, label: "镇江高新区",
recordShow: false, value: "镇江高新区",
recordList: [],
examineList: [], // 审核单位数据
housingList: [], // 住建局列表数据
totalList: [], // 合并数组
realName: "",
realEstateArea: null,
reassignmentShow: false,
params: {
code: '',
checkArea: '',
departmentCode: '10000031'
}, },
checkAreaList: [ {
{ label: "镇江新区-丁卯片区",
label: '市区', value: "镇江新区-丁卯片区",
value: '市区', },
children: [ ],
{ },
label: '京口区', {
value: '京口区', label: "丹徒区",
}, { value: "丹徒区",
label: '润州区', },
value: '润州区', {
}, { label: "镇江新区",
label: '镇江高新区', value: "镇江新区",
value: '镇江高新区', children: [
}, { {
label: '镇江新区-丁卯片区', label: "大港片区",
value: '镇江新区-丁卯片区', value: "大港片区",
} },
] ],
}, { },
label: '丹徒区', {
value: '丹徒区' label: "句容市",
}, { value: "句容市",
label: '镇江新区', },
value: '镇江新区', ],
children: [ departmentName: "",
{ areaList: [
label: '大港片区', {
value: '大港片区', id: "",
} label: "全部",
] },
}, { {
label: '句容市', id: "京口区",
value: '句容市' label: "京口区",
} },
], {
departmentName: '', id: "润州区",
areaList: [ label: "润州区",
{ },
id: "", {
label: "全部", id: "丹徒区",
}, label: "丹徒区",
{ },
id: "京口区", {
label: "京口区", id: "镇江新区-大港片区",
}, label: "镇江新区-大港片区",
{ },
id: "润州区", {
label: "润州区", id: "镇江新区-丁卯片区",
}, label: "镇江新区-丁卯片区",
{ },
id: "丹徒区", {
label: "丹徒区", id: "镇江高新区",
}, label: "镇江高新区",
{ },
id: "镇江新区-大港片区", {
label: "镇江新区-大港片区", id: "句容市",
}, label: "句容市",
{ },
id: "镇江新区-丁卯片区", ],
label: "镇江新区-丁卯片区", };
}, },
{ watch: {
id: "镇江高新区", $route() {
label: "镇江高新区", if (this.$route) {
}, this.userName = localStorage.getItem("userName");
{ // 10000027 人才窗口code 10000031 市财政局code退税办理
id: "句容市", this.searchForm.departmentCode = this.$route.query.departmentCode;
label: "句容市", // realEstateArea: 市区、镇江新区、丹徒区
}, this.realEstateArea = this.$route.query.realEstateArea
], ? this.$route.query.realEstateArea
}; : null;
// departmentName: 审核部门名称(左侧列表)
this.departmentName = this.$route.query.departmentName;
this.searchForm.name = "";
this.searchForm.phone = "";
this.searchForm.state = "";
this.init();
}
}, },
watch: { },
$route() { methods: {
if (this.$route) { init() {
this.userName = localStorage.getItem('userName'); this.tableData = [];
// 10000027 人才窗口code 10000031 市财政局code退税办理 this.loading = true;
this.searchForm.departmentCode = this.$route.query.departmentCode; let parmas = {
// realEstateArea: 市区、镇江新区、丹徒区 name: this.searchForm.name,
this.realEstateArea = this.$route.query.realEstateArea ? this.$route.query.realEstateArea : null phone: this.searchForm.phone,
// departmentName: 审核部门名称(左侧列表) state: this.searchForm.state,
this.departmentName = this.$route.query.departmentName departmentCode: this.searchForm.departmentCode,
this.searchForm.name = '' pageNum: this.pagination.currentPage,
this.searchForm.phone = '' pageSize: this.pagination.pageSize,
this.searchForm.state = '' checkArea: this.realEstateArea,
this.init(); checkArealEstateArea: this.searchForm.checkArealEstateArea,
};
queryListDeedTax(parmas).then((res) => {
this.loading = false;
if (res.success) {
this.pagination.total = res.data.total;
if (res.data.total) {
this.tableData = res.data.list.map((item) => {
item.stateName = this.getSatusArr(item.state).stateName;
item.type = this.getSatusArr(item.state).type;
return item;
});
if (localStorage.getItem("userName") == "admin") {
this.tableData = changeList(this.tableData);
} }
} else {
this.tableData = [];
}
} }
});
}, },
methods: { onSubmit() {
init() { this.pagination.currentPage = 1;
this.tableData = []; this.init();
this.loading = true; },
let parmas = { jumpPage() {
name: this.searchForm.name, this.init();
phone: this.searchForm.phone, },
state: this.searchForm.state, // changeUrl(url) {
departmentCode: this.searchForm.departmentCode, // let params = {
pageNum: this.pagination.currentPage, // file: url,
pageSize: this.pagination.pageSize, // day: 1
checkArea: this.realEstateArea, // }
checkArealEstateArea: this.searchForm.checkArealEstateArea // getTempUrl(params).then((res) => {
}; // if (res.data.indexOf('81.69.44.115') !== -1) {
queryListDeedTax(parmas).then(res => { // // 测试环境
this.loading = false; // window.location.href = res.data
if (res.success) { // } else {
this.pagination.total = res.data.total; // // 生产环境
if (res.data.total) { // // http跨域 ---> https
this.tableData = res.data.list.map(item => { // let a = res.data.substr(0, 4) + 's' + res.data.substr(4)
item.stateName = this.getSatusArr(item.state).stateName; // window.location.href = a
item.type = this.getSatusArr(item.state).type; // }
return item; // })
}); // },
if (localStorage.getItem('userName') == 'admin') { download(url) {
this.tableData = changeList(this.tableData) // this.changeUrl(url)
} if (url.indexOf("81.69.44.115") !== -1) {
} else { // 测试环境
this.tableData = [] window.location.href = url;
} } else {
} // 生产环境
}); // http跨域 ---> https
}, // let a = url.substr(0, 4) + 's' + url.substr(4)
onSubmit() { // window.location.href = a
this.pagination.currentPage = 1; window.location.href = url;
this.init(); }
}, },
jumpPage() { view(row) {
this.init(); let params = {
}, code: row.code,
// changeUrl(url) { // matterType: row.matterType
};
queryDeedTaxDetailInfo(params).then((res) => {
// let arr = []
// res.data.pictures.forEach((item) => {
// let params = { // let params = {
// file: url, // file: item.picture,
// day: 1 // day: 1
// } // }
// getTempUrl(params).then((res) => { // arr.push(getTempUrl(params))
// if (res.data.indexOf('81.69.44.115') !== -1) { // })
// // 测试环境 // Promise.all(arr).then(res1 => {
// window.location.href = res.data // let arr1 = []
// } else { // arr1 = res1.map((item, index) => ({ picture: item.data, pictureType: res.data.pictures[index].pictureType }))
// // 生产环境 this.viewDetail = res.data;
// // http跨域 ---> https if (localStorage.getItem("userName") == "admin") {
// let a = res.data.substr(0, 4) + 's' + res.data.substr(4) this.viewDetail.name = setName(this.viewDetail.name);
// window.location.href = a this.viewDetail.phone = setTel(this.viewDetail.phone);
// } this.viewDetail.idCard = setCertNo(this.viewDetail.idCard);
// }) }
// }, this.viewDetail.idCardPicture = res.data.pictures.filter(
download(url) { (item) => item.pictureType === 1
// this.changeUrl(url) );
if (url.indexOf('81.69.44.115') !== -1) { this.viewDetail.bankCardPicture = res.data.pictures.filter(
// 测试环境 (item) => item.pictureType === 5
window.location.href = url );
} else { this.viewDetail.contract = res.data.pictures.filter(
// 生产环境 (item) => item.pictureType === 2
// http跨域 ---> https );
// let a = url.substr(0, 4) + 's' + url.substr(4) this.viewDetail.certificate = res.data.pictures.filter(
// window.location.href = a (item) => item.pictureType === 3
window.location.href = url );
this.viewDetail.voucher = res.data.pictures.filter(
(item) => item.pictureType === 4 || item.pictureType === 6
);
this.viewShow = true;
// })
let reason = [];
res.data.recordVos.map((item) => {
if (item) {
reason.push(item);
}
});
this.recordList = reason.map((item) => {
item.stateName = this.getSatusArr1(item.state)
? this.getSatusArr1(item.state).stateName
: "未知状态";
return item;
});
this.examineList = this.recordList;
this.examineList.forEach((item) => {
item.state != 4 && item.state != 9
? (item.state = "通过")
: (item.state = "拒绝");
});
this.totalList = this.examineList;
});
},
record(row) {
queryDeedTaxRecord({ code: row.code }).then((res) => {
let reason = [];
res.data.map((item) => {
if (item) {
reason.push(item);
}
});
this.recordList = reason.map((item) => {
item.stateName = this.getSatusArr1(item.state)
? this.getSatusArr1(item.state).stateName
: "未知状态";
return item;
});
this.recordShow = true;
});
},
dispatch(row) {
this.$prompt(`确定通过该申请的退税办理吗?`, "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
inputPlaceholder: "请输入退税金额(万元)",
inputType: "textarea",
type: "warning",
})
.then(({ value }) => {
if (!value) {
this.$message.error("未输入退税金额(万元)");
return;
}
let params = {
code: row.code,
idCard: row.idCard,
phone: row.phone,
createTime: row.createTime,
name: this.userName,
departmentName: this.departmentName,
taxReimbursementAmount: value,
// name: '市财政局',
state: 6,
reviewerId: row.reviewerId,
reason: "退税办理通过",
};
updateDeedTaxState(params).then((res) => {
if (res.success) {
this.$message.success(`退税办理成功`);
this.init();
} }
}, });
view(row) { })
let params = { .catch(() => {
code: row.code, // console.log("取消审核");
// matterType: row.matterType });
}; },
queryDeedTaxDetailInfo(params).then(res => { pass(row) {
// let arr = [] this.$prompt(`确定通过该申请的复审吗?`, "提示", {
// res.data.pictures.forEach((item) => { confirmButtonText: "确定",
// let params = { cancelButtonText: "取消",
// file: item.picture, inputPlaceholder: "请输入原因",
// day: 1 inputType: "textarea",
// } type: "warning",
// arr.push(getTempUrl(params)) })
// }) .then(({ value }) => {
// Promise.all(arr).then(res1 => { if (!value) {
// let arr1 = [] this.$message.error("未输入原因");
// arr1 = res1.map((item, index) => ({ picture: item.data, pictureType: res.data.pictures[index].pictureType }))
this.viewDetail = res.data;
if (localStorage.getItem('userName') == 'admin') {
this.viewDetail.name = setName(this.viewDetail.name)
this.viewDetail.phone = setTel(this.viewDetail.phone)
this.viewDetail.idCard = setCertNo(this.viewDetail.idCard)
}
this.viewDetail.idCardPicture = res.data.pictures.filter(item => item.pictureType === 1);
this.viewDetail.bankCardPicture = res.data.pictures.filter(item => item.pictureType === 5);
this.viewDetail.contract = res.data.pictures.filter(item => item.pictureType === 2);
this.viewDetail.certificate = res.data.pictures.filter(item => item.pictureType === 3);
this.viewDetail.voucher = res.data.pictures.filter(item => (item.pictureType === 4 || item.pictureType === 6));
this.viewShow = true;
// })
let reason = []
res.data.recordVos.map((item) => {
if (item) {
reason.push(item)
}
});
this.recordList = reason.map(item => {
item.stateName = this.getSatusArr1(item.state)
? this.getSatusArr1(item.state).stateName
: "未知状态";
return item;
});
this.examineList = this.recordList;
this.examineList.forEach(item => {
(item.state != 4 && item.state != 9) ? (item.state = "通过") : (item.state = "拒绝");
});
this.totalList = this.examineList;
})
},
record(row) {
queryDeedTaxRecord({ code: row.code }).then((res) => {
let reason = []
res.data.map((item) => {
if (item) {
reason.push(item)
}
});
this.recordList = reason.map(item => {
item.stateName = this.getSatusArr1(item.state)
? this.getSatusArr1(item.state).stateName
: "未知状态";
return item;
});
this.recordShow = true;
})
},
dispatch(row) {
this.$prompt(`确定通过该申请的退税办理吗?`, "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
inputPlaceholder: "请输入退税金额(万元)",
inputType: "textarea",
type: "warning"
})
.then(({ value }) => {
if (!value) {
this.$message.error("未输入退税金额(万元)");
return;
}
let params = {
code: row.code,
idCard: row.idCard,
phone: row.phone,
createTime: row.createTime,
name: this.userName,
departmentName: this.departmentName,
taxReimbursementAmount: value,
// name: '市财政局',
state: 6,
reviewerId: row.reviewerId,
reason: '退税办理通过'
};
updateDeedTaxState(params).then(res => {
if (res.success) {
this.$message.success(`退税办理成功`);
this.init();
}
});
})
.catch(() => {
// console.log("取消审核");
});
},
pass(row) {
this.$prompt(`确定通过该申请的复审吗?`, "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
inputPlaceholder: "请输入原因",
inputType: "textarea",
type: "warning"
})
.then(({ value }) => {
if (!value) {
this.$message.error("未输入原因");
return;
}
queryDeedTaxDetailInfo({ code: row.code }).then(res => {
if (res.success) {
let params = {
code: row.code,
idCard: res.data.idCard,
phone: res.data.phone,
createTime: row.createTime,
checkArea: row.checkArea,
name: this.userName,
departmentName: this.departmentName,
// name: '人才窗口',
state: 2,
reviewerId: row.reviewerId,
reason: value
};
updateDeedTaxState(params).then(res => {
if (res.success) {
this.$message.success(`复审通过`);
this.init();
// if (this.$route.query.realEstateArea != '句容市') {
// dtSubsidy({ billType: 1, code: row.code }).then((res) => {
// console.log(res)
// if (!res.success) {
// this.$message.error(res.msg || '推送失败');
// }
// })
// }
} else {
this.$message.warning(res.msg || "该申请已被其他部门驳回,无法审核通过");
}
});
}
})
})
.catch(() => {
// console.log("取消审核");
});
},
deny(row) {
this.$prompt(`确定驳回该申请的复审吗?`, "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
inputPlaceholder: "请输入原因",
inputType: "textarea"
})
.then(({ value }) => {
if (!value) {
this.$message.error("未输入原因");
return;
}
queryDeedTaxDetailInfo({ code: row.code }).then(res => {
if (res.success) {
let params = {
code: row.code,
idCard: res.data.idCard,
phone: res.data.phone,
createTime: row.createTime,
checkArea: row.checkArea,
name: this.userName,
departmentName: this.departmentName,
state: 4,
reviewerId: row.reviewerId,
reason: value
};
updateDeedTaxState(params).then(res => { return;
console.log(res) }
this.$message.success(`复审驳回成功`); queryDeedTaxDetailInfo({ code: row.code }).then((res) => {
this.init(); if (res.success) {
}); let params = {
} code: row.code,
}) idCard: res.data.idCard,
phone: res.data.phone,
}) createTime: row.createTime,
.catch(() => { checkArea: row.checkArea,
}); name: this.userName,
}, departmentName: this.departmentName,
drevokeeny(row) { // name: '人才窗口',
this.$confirm(`确定撤回该申请的审核结果吗?`, "提示", { state: 2,
confirmButtonText: "确定", reviewerId: row.reviewerId,
cancelButtonText: "取消", reason: value,
type: "warning" };
}).then(() => { updateDeedTaxState(params).then((res) => {
let params = { if (res.success) {
code: row.code, this.$message.success(`复审通过`);
phone: row.phone, this.init();
reviewerId: row.reviewerId, // if (this.$route.query.realEstateArea != '句容市') {
state: row.state // dtSubsidy({ billType: 1, code: row.code }).then((res) => {
// console.log(res)
// if (!res.success) {
// this.$message.error(res.msg || '推送失败');
// }
// })
// }
} else {
this.$message.warning(
res.msg || "该申请已被其他部门驳回,无法审核通过"
);
} }
mainRevocation(params).then((res) => { });
if (res.code == 200 || res.success) {
this.$message.success(res.data || '审核撤回成功');
this.init();
} else {
this.$message.error(res.msg);
this.init();
}
})
})
},
reassignment(row) {
this.params.code = row.code;
this.params.checkArea = row.checkArea;
this.reassignmentShow = true
},
closeDialog() {
this.reassignmentShow = false
this.params = {
code: '',
checkArea: '',
departmentCode: '10000031'
}
},
handleChange(value) {
if (value.length == 2) {
this.params.checkArea = value[1]
} else { } else {
this.params.checkArea = value[0] this.$message.warning(res.msg);
} }
}, });
determine() { })
this.$confirm(`确定改派该申请的审核部门吗?`, "提示", { .catch(() => {
confirmButtonText: "确定", // console.log("取消审核");
cancelButtonText: "取消", });
type: "warning"
}).then(() => {
updateCheckArea(this.params).then((res) => {
if (res.success) {
this.reassignmentShow = false
this.$message.success(`改派成功`);
this.init();
} else {
this.$message.warning(res.msg || "该申请已被其他部门驳回,无法审核通过");
}
})
})
},
getSatusArr(state) {
return this.stateList.filter(item => {
return item.state === state;
})[0];
},
getSatusArr1(state) {
return this.stateList1.filter(item => {
return item.state === state;
})[0];
}
}, },
created() { deny(row) {
this.userName = localStorage.getItem('userName'); this.$prompt(`确定驳回该申请的复审吗?`, "提示", {
// 10000027 人才窗口code 10000031 市财政局code退税办理 confirmButtonText: "确定",
this.searchForm.departmentCode = this.$route.query.departmentCode; cancelButtonText: "取消",
// realEstateArea: 市区、镇江新区、丹徒区 inputPlaceholder: "请输入原因",
this.realEstateArea = this.$route.query.realEstateArea ? this.$route.query.realEstateArea : null inputType: "textarea",
// departmentName: 审核部门名称(左侧列表) })
this.departmentName = this.$route.query.departmentName .then(({ value }) => {
this.init(); if (!value) {
} this.$message.error("未输入原因");
return;
}
queryDeedTaxDetailInfo({ code: row.code }).then((res) => {
if (res.success) {
let params = {
code: row.code,
idCard: res.data.idCard,
phone: res.data.phone,
createTime: row.createTime,
checkArea: row.checkArea,
name: this.userName,
departmentName: this.departmentName,
state: 4,
reviewerId: row.reviewerId,
reason: value,
};
updateDeedTaxState(params).then((res) => {
console.log(res);
this.$message.success(`复审驳回成功`);
this.init();
});
}
});
})
.catch(() => {});
},
drevokeeny(row) {
this.$confirm(`确定撤回该申请的审核结果吗?`, "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
}).then(() => {
let params = {
code: row.code,
phone: row.phone,
reviewerId: row.reviewerId,
state: row.state,
};
mainRevocation(params).then((res) => {
if (res.code == 200 || res.success) {
this.$message.success(res.data || "审核撤回成功");
this.init();
} else {
this.$message.error(res.msg);
this.init();
}
});
});
},
reassignment(row) {
this.params.code = row.code;
this.params.checkArea = row.checkArea;
this.reassignmentShow = true;
},
closeDialog() {
this.reassignmentShow = false;
this.params = {
code: "",
checkArea: "",
departmentCode: "10000031",
};
},
handleChange(value) {
if (value.length == 2) {
this.params.checkArea = value[1];
} else {
this.params.checkArea = value[0];
}
},
determine() {
this.$confirm(`确定改派该申请的审核部门吗?`, "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
}).then(() => {
updateCheckArea(this.params).then((res) => {
if (res.success) {
this.reassignmentShow = false;
this.$message.success(`改派成功`);
this.init();
} else {
this.$message.warning(
res.msg || "该申请已被其他部门驳回,无法审核通过"
);
}
});
});
},
getSatusArr(state) {
return this.stateList.filter((item) => {
return item.state === state;
})[0];
},
getSatusArr1(state) {
return this.stateList1.filter((item) => {
return item.state === state;
})[0];
},
},
created() {
this.userName = localStorage.getItem("userName");
// 10000027 人才窗口code 10000031 市财政局code退税办理
this.searchForm.departmentCode = this.$route.query.departmentCode;
// realEstateArea: 市区、镇江新区、丹徒区
this.realEstateArea = this.$route.query.realEstateArea
? this.$route.query.realEstateArea
: null;
// departmentName: 审核部门名称(左侧列表)
this.departmentName = this.$route.query.departmentName;
this.init();
},
}; };
</script> </script>
......
<template> <template>
<div class="deedtax"> <div class="deedtax">
<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
v-model="searchForm.phone"
placeholder="请输入手机号码"
@keyup.enter.native="onSubmit"
>
</el-input> </el-input>
</el-form-item> </el-form-item>
<el-form-item label="不动产坐落辖市区" v-if=" <el-form-item
this.realEstateArea == '市区' || label="不动产坐落辖市区"
(this.searchForm.departmentCode == '10000032' && v-if="
this.realEstateArea != '句容市') this.realEstateArea == '市区' ||
"> (this.searchForm.departmentCode == '10000032' &&
<el-select v-model="searchForm.checkArealEstateArea" placeholder="请选择不动产坐落辖市区" @change="onSubmit" size="medium"> this.realEstateArea != '句容市')
<el-option v-for="item in areaList" :key="item.id" :label="item.label" :value="item.id"> "
>
<el-select
v-model="searchForm.checkArealEstateArea"
placeholder="请选择不动产坐落辖市区"
@change="onSubmit"
size="medium"
>
<el-option
v-for="item in areaList"
:key="item.id"
:label="item.label"
:value="item.id"
>
</el-option> </el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
...@@ -23,24 +49,37 @@ ...@@ -23,24 +49,37 @@
<el-button type="primary" @click="onSubmit">查询</el-button> <el-button type="primary" @click="onSubmit">查询</el-button>
</el-form-item> </el-form-item>
<el-form-item> <el-form-item>
<el-button type="primary" v-if=" <el-button
this.searchForm.departmentCode == '10000033' || type="primary"
this.searchForm.departmentCode == '10000031' v-if="
" @click="downLoadShow = true">导出 this.searchForm.departmentCode == '10000033' ||
this.searchForm.departmentCode == '10000031'
"
@click="downLoadShow = true"
>导出
</el-button> </el-button>
</el-form-item> </el-form-item>
<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
:label="item.state"
v-for="item in stateList"
:key="item.state"
>{{ item.stateName }}
</el-radio> </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 slot="departmentName" label="实施主体" align="center"> <el-table-column slot="departmentName" label="实施主体" align="center">
<template> <template>
{{ this.$route.query.departmentName }} {{ this.$route.query.departmentName }}
...@@ -48,12 +87,18 @@ ...@@ -48,12 +87,18 @@
</el-table-column> </el-table-column>
<el-table-column label="状态" align="center"> <el-table-column label="状态" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<el-tag type="warning" v-if="scope.row.reviewerState == 0">待审核</el-tag> <el-tag type="warning" v-if="scope.row.reviewerState == 0"
<el-tag type="success" v-if="scope.row.reviewerState == 8">初审通过</el-tag> >待审核</el-tag
>
<el-tag type="success" v-if="scope.row.reviewerState == 8"
>初审通过</el-tag
>
<!-- <el-tag type="warning" v-if="scope.row.state == 1">待复审</el-tag> <!-- <el-tag type="warning" v-if="scope.row.state == 1">待复审</el-tag>
<el-tag type="warning" v-if="scope.row.state == 2">待用户确认</el-tag> <el-tag type="warning" v-if="scope.row.state == 2">待用户确认</el-tag>
<el-tag type="warning" v-if="scope.row.state == 3">待退税办理</el-tag> --> <el-tag type="warning" v-if="scope.row.state == 3">待退税办理</el-tag> -->
<el-tag type="danger" v-if="scope.row.reviewerState == 9">已驳回</el-tag> <el-tag type="danger" v-if="scope.row.reviewerState == 9"
>已驳回</el-tag
>
<!-- <el-tag type="info" v-if="scope.row.state == 5">已撤销</el-tag> --> <!-- <el-tag type="info" v-if="scope.row.state == 5">已撤销</el-tag> -->
<!-- <el-tag type="warning" v-if="scope.row.state == 6">资料审核</el-tag> --> <!-- <el-tag type="warning" v-if="scope.row.state == 6">资料审核</el-tag> -->
<!-- <el-tag type="success" v-if="scope.row.state == 6">已完成</el-tag> --> <!-- <el-tag type="success" v-if="scope.row.state == 6">已完成</el-tag> -->
...@@ -61,28 +106,63 @@ ...@@ -61,28 +106,63 @@
</el-table-column> </el-table-column>
<el-table-column fixed="right" label="操作" width="350" align="center"> <el-table-column fixed="right" label="操作" width="350" align="center">
<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.reviewerState == 0 && scope.row.state == 0" type="success" size="mini" round <el-button
@click="pass(scope.row)">通过 v-if="scope.row.reviewerState == 0 && scope.row.state == 0"
type="success"
size="mini"
round
@click="pass(scope.row)"
>通过
</el-button> </el-button>
<el-button v-if="scope.row.reviewerState == 0 && scope.row.state == 0" type="danger" size="mini" round <el-button
@click="deny(scope.row)">拒绝 v-if="scope.row.reviewerState == 0 && scope.row.state == 0"
type="danger"
size="mini"
round
@click="deny(scope.row)"
>拒绝
</el-button> </el-button>
<el-button v-if=" <el-button
(scope.row.reviewerState == 9 && scope.row.state == 4) || v-if="
((scope.row.state == 0 || scope.row.state == 1) && (scope.row.reviewerState == 9 && scope.row.state == 4) ||
scope.row.reviewerState == 8) ((scope.row.state == 0 || scope.row.state == 1) &&
" type="info" size="mini" round @click="drevokeeny(scope.row)">撤销 scope.row.reviewerState == 8)
"
type="info"
size="mini"
round
@click="drevokeeny(scope.row)"
>撤销
</el-button> </el-button>
<el-button v-if="scope.row.state == 0" type="warning" size="mini" round @click="reassignment(scope.row)">改派 <el-button
v-if="scope.row.state == 0"
type="warning"
size="mini"
round
@click="reassignment(scope.row)"
>改派
</el-button> </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">
<!-- 新增功能start --> <!-- 新增功能start -->
<el-table :data="totalList" style="width: 100%"> <el-table :data="totalList" style="width: 100%">
...@@ -96,10 +176,12 @@ ...@@ -96,10 +176,12 @@
</el-table> </el-table>
<div class="cell"> <div class="cell">
<p class="label">是否享受过相关政策</p> <p class="label">是否享受过相关政策</p>
<p :class="[ <p
'value', :class="[
viewDetail.enjoyFlag == true ? 'value2' : 'value1', 'value',
]"> viewDetail.enjoyFlag == true ? 'value2' : 'value1',
]"
>
{{ viewDetail.enjoyFlag ? "否" : "是" }} {{ viewDetail.enjoyFlag ? "否" : "是" }}
</p> </p>
</div> </div>
...@@ -135,9 +217,14 @@ ...@@ -135,9 +217,14 @@
<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.idCardPicture" :key="index" <el-image
style="width: 100px; height: 100px; margin-right: 10px" :src="item.picture" :z-index="7777777" v-for="(item, index) in viewDetail.idCardPicture"
: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>
...@@ -152,21 +239,35 @@ ...@@ -152,21 +239,35 @@
<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.bankCardPicture" :key="index" <el-image
style="width: 100px; height: 100px; margin-right: 10px" :src="item.picture" :z-index="7777777" v-for="(item, index) in viewDetail.bankCardPicture"
: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 class="cell"> <div class="cell">
<p class="label">契税发票号码</p> <p class="label">契税发票号码</p>
<p class="value" v-if="viewDetail.deedBillCode && !viewDetail.secondDeedBillCode"> <p
class="value"
v-if="viewDetail.deedBillCode && !viewDetail.secondDeedBillCode"
>
NO.{{ viewDetail.deedBillCode }} NO.{{ viewDetail.deedBillCode }}
</p> </p>
<p class="value" v-if="!viewDetail.deedBillCode && viewDetail.secondDeedBillCode"> <p
class="value"
v-if="!viewDetail.deedBillCode && viewDetail.secondDeedBillCode"
>
NO.{{ viewDetail.secondDeedBillCode }} NO.{{ viewDetail.secondDeedBillCode }}
</p> </p>
<p class="value" v-if="viewDetail.deedBillCode && viewDetail.secondDeedBillCode"> <p
class="value"
v-if="viewDetail.deedBillCode && viewDetail.secondDeedBillCode"
>
NO.{{ viewDetail.deedBillCode }}、NO.{{ NO.{{ viewDetail.deedBillCode }}、NO.{{
viewDetail.secondDeedBillCode viewDetail.secondDeedBillCode
}} }}
...@@ -201,8 +302,8 @@ ...@@ -201,8 +302,8 @@
<p class="value"> <p class="value">
{{ {{
viewDetail.houseType == 1 viewDetail.houseType == 1
? "商品房" ? "商品房"
: viewDetail.houseType == 2 : viewDetail.houseType == 2
? "二手房" ? "二手房"
: "-" : "-"
}} }}
...@@ -215,33 +316,53 @@ ...@@ -215,33 +316,53 @@
<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.certificate" :key="index" <el-image
style="width: 100px; height: 100px; margin-right: 10px" :src="item.picture" :z-index="7777777" v-for="(item, index) in viewDetail.certificate"
: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 class="cell"> <div class="cell">
<p class="label">商品房买卖合同3张</p> <p class="label">商品房买卖合同3张</p>
<p class="value"> <p class="value">
<el-image v-for="(item, index) in viewDetail.contract" :key="index" <el-image
style="width: 100px; height: 100px; margin-right: 10px" :src="item.picture" :z-index="7777777" v-for="(item, index) in viewDetail.contract"
: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 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.voucher" :key="index" <el-image
style="width: 100px; height: 100px; margin-right: 10px" :src="item.picture" :z-index="7777777" v-for="(item, index) in viewDetail.voucher"
: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>
</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" v-if="recordList[0]"> <div class="content" v-if="recordList[0]">
<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">
...@@ -256,13 +377,23 @@ ...@@ -256,13 +377,23 @@
<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="reassignmentShow" width="600px" :close-on-press-escape="false" <el-dialog
:before-close="closeDialog"> title="改派部门"
:visible.sync="reassignmentShow"
width="600px"
:close-on-press-escape="false"
:before-close="closeDialog"
>
<el-form label-width="120px" :model="params"> <el-form label-width="120px" :model="params">
<el-row> <el-row>
<el-form-item label="改派部门"> <el-form-item label="改派部门">
<el-cascader v-model="params.checkArea" placeholder="请选择部门" :options="checkAreaList" :show-all-levels="false" <el-cascader
@change="handleChange"> v-model="params.checkArea"
placeholder="请选择部门"
:options="checkAreaList"
:show-all-levels="false"
@change="handleChange"
>
</el-cascader> </el-cascader>
</el-form-item> </el-form-item>
</el-row> </el-row>
...@@ -272,19 +403,37 @@ ...@@ -272,19 +403,37 @@
<el-button type="primary" @click="determine">确 定</el-button> <el-button type="primary" @click="determine">确 定</el-button>
</span> </span>
</el-dialog> </el-dialog>
<el-dialog title="导出范围" :visible.sync="downLoadShow" width="600px" :close-on-press-escape="false"> <el-dialog
title="导出范围"
:visible.sync="downLoadShow"
width="600px"
:close-on-press-escape="false"
>
<el-form label-width="120px" :model="params"> <el-form label-width="120px" :model="params">
<el-row> <el-row>
<el-form-item label="状态"> <el-form-item label="状态">
<el-select v-model="downLoadParams.state" placeholder="请选择状态"> <el-select v-model="downLoadParams.state" placeholder="请选择状态">
<el-option v-for="item in downLoadList" :key="item.value" :label="item.label" :value="item.value"> <el-option
v-for="item in downLoadList"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option> </el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="日期"> <el-form-item label="日期">
<el-date-picker v-model="date" type="daterange" range-separator="-" start-placeholder="开始日期" <el-date-picker
end-placeholder="结束日期" :default-time="['00:00:00', '23:59:59']" format="yyyy-MM-dd" v-model="date"
value-format="yyyy-MM-dd HH:mm:ss" @change="time"> type="daterange"
range-separator="-"
start-placeholder="开始日期"
end-placeholder="结束日期"
:default-time="['00:00:00', '23:59:59']"
format="yyyy-MM-dd"
value-format="yyyy-MM-dd HH:mm:ss"
@change="time"
>
</el-date-picker> </el-date-picker>
</el-form-item> </el-form-item>
</el-row> </el-row>
...@@ -308,7 +457,7 @@ import { ...@@ -308,7 +457,7 @@ import {
initHouseDepartmentRevocation, initHouseDepartmentRevocation,
updateHouseCheckArea, updateHouseCheckArea,
saveHouseFileUrl, saveHouseFileUrl,
userHouseExport userHouseExport,
} from "@/api/house.js"; } from "@/api/house.js";
import docxtemplater from "docxtemplater"; import docxtemplater from "docxtemplater";
import PizZip from "pizzip"; import PizZip from "pizzip";
...@@ -321,7 +470,7 @@ export default { ...@@ -321,7 +470,7 @@ export default {
components: { TableTemplate }, components: { TableTemplate },
data() { data() {
return { return {
userName: '', userName: "",
searchForm: { searchForm: {
name: "", name: "",
phone: "", phone: "",
...@@ -570,7 +719,7 @@ export default { ...@@ -570,7 +719,7 @@ export default {
watch: { watch: {
$route() { $route() {
if (this.$route) { if (this.$route) {
this.userName = localStorage.getItem('userName'); this.userName = localStorage.getItem("userName");
// 10000031 财政局code 10000032 税务局code 10000033 不动产登记中心code // 10000031 财政局code 10000032 税务局code 10000033 不动产登记中心code
this.searchForm.departmentCode = this.$route.query.departmentCode; this.searchForm.departmentCode = this.$route.query.departmentCode;
this.realEstateArea = this.$route.query.realEstateArea this.realEstateArea = this.$route.query.realEstateArea
...@@ -578,12 +727,12 @@ export default { ...@@ -578,12 +727,12 @@ export default {
: null; : null;
// departmentName: 审核部门名称(左侧列表) // departmentName: 审核部门名称(左侧列表)
this.departmentName = this.$route.query.departmentName; this.departmentName = this.$route.query.departmentName;
this.searchForm.name = '' this.searchForm.name = "";
this.searchForm.phone = '' this.searchForm.phone = "";
this.searchForm.state = '' this.searchForm.state = "";
this.init(); this.init();
} }
} },
}, },
methods: { methods: {
init() { init() {
...@@ -610,11 +759,11 @@ export default { ...@@ -610,11 +759,11 @@ export default {
item.type = this.getSatusArr(item.reviewerState).type; item.type = this.getSatusArr(item.reviewerState).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 = [];
} }
} }
}); });
...@@ -637,7 +786,7 @@ export default { ...@@ -637,7 +786,7 @@ export default {
code: row.code, code: row.code,
// matterType: row.matterType // matterType: row.matterType
}; };
queryHouseDeedTaxDetailInfo(params).then(res => { queryHouseDeedTaxDetailInfo(params).then((res) => {
// console.log(res) // console.log(res)
// let arr = [] // let arr = []
// res.data.pictures.forEach((item) => { // res.data.pictures.forEach((item) => {
...@@ -651,33 +800,45 @@ export default { ...@@ -651,33 +800,45 @@ export default {
// let arr1 = [] // let arr1 = []
// arr1 = res1.map((item, index) => ({ picture: item.data, pictureType: res.data.pictures[index].pictureType })) // arr1 = res1.map((item, index) => ({ picture: item.data, pictureType: res.data.pictures[index].pictureType }))
this.viewDetail = res.data; this.viewDetail = res.data;
if (localStorage.getItem('userName') == 'admin') { if (localStorage.getItem("userName") == "admin") {
this.viewDetail.name = setName(this.viewDetail.name) this.viewDetail.name = setName(this.viewDetail.name);
this.viewDetail.phone = setTel(this.viewDetail.phone) this.viewDetail.phone = setTel(this.viewDetail.phone);
this.viewDetail.idCard = setCertNo(this.viewDetail.idCard) this.viewDetail.idCard = setCertNo(this.viewDetail.idCard);
} }
this.viewDetail.idCardPicture = res.data.pictures.filter(item => item.pictureType === 1); this.viewDetail.idCardPicture = res.data.pictures.filter(
this.viewDetail.bankCardPicture = res.data.pictures.filter(item => item.pictureType === 5); (item) => item.pictureType === 1
this.viewDetail.contract = res.data.pictures.filter(item => item.pictureType === 2); );
this.viewDetail.certificate = res.data.pictures.filter(item => item.pictureType === 3); this.viewDetail.bankCardPicture = res.data.pictures.filter(
this.viewDetail.voucher = res.data.pictures.filter(item => (item.pictureType === 4 || item.pictureType === 6)); (item) => item.pictureType === 5
);
this.viewDetail.contract = res.data.pictures.filter(
(item) => item.pictureType === 2
);
this.viewDetail.certificate = res.data.pictures.filter(
(item) => item.pictureType === 3
);
this.viewDetail.voucher = res.data.pictures.filter(
(item) => item.pictureType === 4 || item.pictureType === 6
);
this.viewShow = true; this.viewShow = true;
// }) // })
let reason = [] let reason = [];
res.data.recordVos.map((item) => { res.data.recordVos.map((item) => {
if (item) { if (item) {
reason.push(item) reason.push(item);
} }
}); });
this.recordList = reason.map(item => { this.recordList = reason.map((item) => {
item.stateName = this.getSatusArr1(item.state) item.stateName = this.getSatusArr1(item.state)
? this.getSatusArr1(item.state).stateName ? this.getSatusArr1(item.state).stateName
: "未知状态"; : "未知状态";
return item; return item;
}); });
this.examineList = this.recordList; this.examineList = this.recordList;
this.examineList.forEach(item => { this.examineList.forEach((item) => {
(item.state != 4 && item.state != 9) ? (item.state = "通过") : (item.state = "拒绝"); item.state != 4 && item.state != 9
? (item.state = "通过")
: (item.state = "拒绝");
}); });
this.totalList = this.examineList; this.totalList = this.examineList;
console.log(this.totalList); console.log(this.totalList);
...@@ -687,7 +848,7 @@ export default { ...@@ -687,7 +848,7 @@ export default {
record(row) { record(row) {
console.log(1); console.log(1);
// console.log(row); // console.log(row);
queryHouseDeedTaxRecord({ code: row.code }).then((res) => { queryHouseDeedTaxRecord({ code: row.code }).then((res) => {
console.log(res.data); console.log(res.data);
let reason = []; let reason = [];
...@@ -713,7 +874,7 @@ export default { ...@@ -713,7 +874,7 @@ export default {
}, },
pass(row) { pass(row) {
console.log(row); console.log(row);
this.rowDetail = row this.rowDetail = row;
this.$prompt(`确定通过该申请的初审吗?`, "提示", { this.$prompt(`确定通过该申请的初审吗?`, "提示", {
confirmButtonText: "确定", confirmButtonText: "确定",
cancelButtonText: "取消", cancelButtonText: "取消",
...@@ -726,7 +887,7 @@ export default { ...@@ -726,7 +887,7 @@ export default {
this.$message.error("未输入原因"); this.$message.error("未输入原因");
return; return;
} }
queryHouseDeedTaxDetailInfo({ code: row.code }).then(res => { queryHouseDeedTaxDetailInfo({ code: row.code }).then((res) => {
if (res.success) { if (res.success) {
let params = { let params = {
code: row.code, code: row.code,
...@@ -751,8 +912,8 @@ export default { ...@@ -751,8 +912,8 @@ export default {
// matterType: row.matterType // matterType: row.matterType
}; };
Promise.all([ Promise.all([
queryHouseDeedTaxDetailInfo(params), queryHouseDeedTaxDetailInfo(params),
queryHouseDeedTaxRecord(params), queryHouseDeedTaxRecord(params),
]).then((res) => { ]).then((res) => {
if (res[0].data.state == 1) { if (res[0].data.state == 1) {
this.detail = res[0].data; this.detail = res[0].data;
...@@ -777,9 +938,10 @@ export default { ...@@ -777,9 +938,10 @@ export default {
); );
} }
}); });
} else {
this.$message.warning(res.msg);
} }
}) });
}) })
.catch(() => { .catch(() => {
// console.log("取消审核"); // console.log("取消审核");
...@@ -809,14 +971,14 @@ export default { ...@@ -809,14 +971,14 @@ export default {
arr.arr1 = that.arr1 || ""; // 财政 arr.arr1 = that.arr1 || ""; // 财政
arr.arr2 = that.arr2 || ""; // 不动产 arr.arr2 = that.arr2 || ""; // 不动产
arr.arr3 = that.arr3 || ""; // 税务 arr.arr3 = that.arr3 || ""; // 税务
if (this.$route.query.realEstateArea != '句容市') { if (this.$route.query.realEstateArea != "句容市") {
arr.arr1 = that.arr1 || ""; // 财政 arr.arr1 = that.arr1 || ""; // 财政
arr.arr2 = that.arr2 || ""; // 不动产 arr.arr2 = that.arr2 || ""; // 不动产
arr.arr3 = that.arr3 || ""; // 税务 arr.arr3 = that.arr3 || ""; // 税务
this.docxsrc = "./static/deedTax1.docx"; //模板文件的位置 this.docxsrc = "./static/deedTax1.docx"; //模板文件的位置
} else { } else {
arr.arr3 = that.arr3 || ""; // 税务 arr.arr3 = that.arr3 || ""; // 税务
this.docxsrc = "./static/deedTax2.docx"; //模板文件的位置 this.docxsrc = "./static/deedTax2.docx"; //模板文件的位置
} }
// let docxname = '购房契税补贴申请表'; //导出文件的名字 // let docxname = '购房契税补贴申请表'; //导出文件的名字
// 读取并获得模板文件的二进制内容 // 读取并获得模板文件的二进制内容
...@@ -877,21 +1039,23 @@ export default { ...@@ -877,21 +1039,23 @@ export default {
}); });
} else { } else {
that.$message.error(res.msg); that.$message.error(res.msg);
queryHouseDeedTaxDetailInfo({ code: that.rowDetail.code }).then(res => { queryHouseDeedTaxDetailInfo({ code: that.rowDetail.code }).then(
console.log(res) (res) => {
if (res.success) { console.log(res);
let params = { if (res.success) {
code: that.rowDetail.code, let params = {
phone: res.data.phone, code: that.rowDetail.code,
reviewerId: that.rowDetail.reviewerId, phone: res.data.phone,
state: res.data.state, reviewerId: that.rowDetail.reviewerId,
}; state: res.data.state,
initHouseDepartmentRevocation(params).then((res) => { };
console.log(res); initHouseDepartmentRevocation(params).then((res) => {
that.init(); console.log(res);
}); that.init();
});
}
} }
}) );
} }
}); });
// 将目标文件对象保存为目标类型的文件,并命名 // 将目标文件对象保存为目标类型的文件,并命名
...@@ -910,8 +1074,8 @@ export default { ...@@ -910,8 +1074,8 @@ export default {
this.$message.error("未输入原因"); this.$message.error("未输入原因");
return; return;
} }
queryHouseDeedTaxDetailInfo({ code: row.code }).then(res => { queryHouseDeedTaxDetailInfo({ code: row.code }).then((res) => {
console.log(res) console.log(res);
if (res.success) { if (res.success) {
let params = { let params = {
code: row.code, code: row.code,
...@@ -933,7 +1097,7 @@ export default { ...@@ -933,7 +1097,7 @@ export default {
this.init(); this.init();
}); });
} }
}) });
}) })
.catch(() => { .catch(() => {
// console.log("取消审核"); // console.log("取消审核");
...@@ -946,8 +1110,8 @@ export default { ...@@ -946,8 +1110,8 @@ export default {
cancelButtonText: "取消", cancelButtonText: "取消",
type: "warning", type: "warning",
}).then(() => { }).then(() => {
queryHouseDeedTaxDetailInfo({ code: row.code }).then(res => { queryHouseDeedTaxDetailInfo({ code: row.code }).then((res) => {
console.log(res) console.log(res);
if (res.success) { if (res.success) {
let params = { let params = {
code: row.code, code: row.code,
...@@ -966,8 +1130,7 @@ export default { ...@@ -966,8 +1130,7 @@ export default {
} }
}); });
} }
}) });
}); });
}, },
reassignment(row) { reassignment(row) {
...@@ -1064,7 +1227,7 @@ export default { ...@@ -1064,7 +1227,7 @@ export default {
}, },
}, },
created() { created() {
this.userName = localStorage.getItem('userName'); this.userName = localStorage.getItem("userName");
// 10000031 财政局code 10000032 税务局code 10000033 不动产登记中心code // 10000031 财政局code 10000032 税务局code 10000033 不动产登记中心code
this.searchForm.departmentCode = this.$route.query.departmentCode; this.searchForm.departmentCode = this.$route.query.departmentCode;
this.realEstateArea = this.$route.query.realEstateArea this.realEstateArea = this.$route.query.realEstateArea
...@@ -1128,4 +1291,4 @@ export default { ...@@ -1128,4 +1291,4 @@ export default {
} }
} }
} }
</style> </style>
\ No newline at end of file
<template> <template>
<div class="deedtax-house"> <div class="deedtax-house">
<div class="search-wrapper"> <div class="search-wrapper">
<el-form :inline="true" :model="searchForm" class="search_form" style="text-align: left"> <el-form
<el-form-item label="姓名"> :inline="true"
<el-input v-model="searchForm.name" placeholder="请输入姓名" @keyup.enter.native="onSubmit"></el-input> :model="searchForm"
</el-form-item> class="search_form"
<el-form-item label="手机号码"> style="text-align: left"
<el-input v-model="searchForm.phone" placeholder="请输入手机号码" @keyup.enter.native="onSubmit"> >
</el-input> <el-form-item label="姓名">
</el-form-item> <el-input
<el-form-item label="不动产坐落辖市区" v-if="this.realEstateArea == '市区'"> v-model="searchForm.name"
<el-select v-model="searchForm.checkArealEstateArea" placeholder="请选择不动产坐落辖市区" @change="onSubmit" placeholder="请输入姓名"
size="medium"> @keyup.enter.native="onSubmit"
<el-option v-for="item in areaList" :key="item.id" :label="item.label" :value="item.id"> ></el-input>
</el-option> </el-form-item>
</el-select> <el-form-item label="手机号码">
</el-form-item> <el-input
<el-form-item> v-model="searchForm.phone"
<el-button type="primary" @click="onSubmit">查询</el-button> placeholder="请输入手机号码"
</el-form-item> @keyup.enter.native="onSubmit"
<br /> >
<el-form-item label="状态" style="margin-top: 10px"> </el-input>
<el-radio-group v-model="searchForm.state" @change="onSubmit"> </el-form-item>
<el-radio :label="item.state" v-for="item in stateList" :key="item.state">{{ item.stateName }} <el-form-item
</el-radio> label="不动产坐落辖市区"
</el-radio-group> v-if="this.realEstateArea == '市区'"
</el-form-item> >
</el-form> <el-select
</div> v-model="searchForm.checkArealEstateArea"
<div class="table-wrapper"> placeholder="请选择不动产坐落辖市区"
<table-template :tableData="tableData" :tableColumns="tableColumns" :loading="loading" @change="onSubmit"
:pagination="pagination" @Jump="jumpPage"> size="medium"
<el-table-column slot="departmentName" label="实施主体" align="center"> >
<template> <el-option
{{ v-for="item in areaList"
this.$route.query.departmentCode == "10000031" ? this.realEstateArea + '住建局' : :key="item.id"
this.realEstateArea + '住建窗口' :label="item.label"
}} :value="item.id"
</template> >
</el-table-column> </el-option>
<el-table-column label="状态" width="180" align="center"> </el-select>
<template slot-scope="scope"> </el-form-item>
<el-tag type="warning" v-if="scope.row.state == 0">待审核</el-tag> <el-form-item>
<el-tag type="warning" v-if="scope.row.state == 1">待复审</el-tag> <el-button type="primary" @click="onSubmit">查询</el-button>
<el-tag type="warning" v-if="scope.row.state == 2 || scope.row.state == 3">待退税办理</el-tag> </el-form-item>
<el-tag type="danger" v-if="scope.row.state == 4">已驳回</el-tag> <br />
<el-tag type="success" v-if="scope.row.state == 6">已完成</el-tag> <el-form-item label="状态" style="margin-top: 10px">
</template> <el-radio-group v-model="searchForm.state" @change="onSubmit">
</el-table-column> <el-radio
<el-table-column fixed="right" label="操作" width="380" align="center"> :label="item.state"
<template slot-scope="scope"> v-for="item in stateList"
<el-button type="primary" size="mini" round @click="view(scope.row)">查看</el-button> :key="item.state"
<el-button type="primary" size="mini" round @click="record(scope.row)">记录</el-button> >{{ item.stateName }}
<!-- 申请的单子有通过拒绝--> </el-radio>
<el-button v-if="scope.row.state == 1 && searchForm.departmentCode == '10000027'" type="success" </el-radio-group>
size="mini" round @click="pass(scope.row)">通过 </el-form-item>
</el-button> </el-form>
<el-button v-if="scope.row.state == 1 && searchForm.departmentCode == '10000027'" type="danger" </div>
size="mini" round @click="deny(scope.row)">拒绝 <div class="table-wrapper">
</el-button> <table-template
<el-button v-if="scope.row.flag == true && searchForm.departmentCode == '10000027'" type="info" :tableData="tableData"
size="mini" round @click="drevokeeny(scope.row)">撤销 :tableColumns="tableColumns"
</el-button> :loading="loading"
<!-- <el-button :pagination="pagination"
@Jump="jumpPage"
>
<el-table-column slot="departmentName" label="实施主体" align="center">
<template>
{{
this.$route.query.departmentCode == "10000031"
? this.realEstateArea + "住建局"
: this.realEstateArea + "住建窗口"
}}
</template>
</el-table-column>
<el-table-column label="状态" width="180" align="center">
<template slot-scope="scope">
<el-tag type="warning" v-if="scope.row.state == 0">待审核</el-tag>
<el-tag type="warning" v-if="scope.row.state == 1">待复审</el-tag>
<el-tag
type="warning"
v-if="scope.row.state == 2 || scope.row.state == 3"
>待退税办理</el-tag
>
<el-tag type="danger" v-if="scope.row.state == 4">已驳回</el-tag>
<el-tag type="success" v-if="scope.row.state == 6">已完成</el-tag>
</template>
</el-table-column>
<el-table-column fixed="right" label="操作" width="520" align="center">
<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
v-if="
scope.row.state == 1 && searchForm.departmentCode == '10000027'
"
type="success"
size="mini"
round
@click="pass(scope.row)"
>通过
</el-button>
<el-button
v-if="
scope.row.state == 1 && searchForm.departmentCode == '10000027'
"
type="danger"
size="mini"
round
@click="deny(scope.row)"
>拒绝
</el-button>
<el-button
v-if="
scope.row.flag == true &&
searchForm.departmentCode == '10000027'
"
type="info"
size="mini"
round
@click="drevokeeny(scope.row)"
>撤销
</el-button>
<!-- <el-button
v-if="(scope.row.state == 3 || scope.row.state == 2) && searchForm.departmentCode == '10000031' && $route.query.realEstateArea == '句容市'" v-if="(scope.row.state == 3 || scope.row.state == 2) && searchForm.departmentCode == '10000031' && $route.query.realEstateArea == '句容市'"
type="success" size="mini" round @click="dispatch(scope.row)">退税办理</el-button> --> type="success" size="mini" round @click="dispatch(scope.row)">退税办理</el-button> -->
<el-button <el-button
v-if="scope.row.state != 0 && scope.row.state != 4 && scope.row.fileUrl && searchForm.departmentCode == '10000027'" v-if="
type="success" size="mini" round @click="download(scope.row.fileUrl)">下载申请表</el-button> scope.row.state != 0 &&
</template> scope.row.state != 4 &&
</el-table-column> scope.row.fileUrl &&
</table-template> searchForm.departmentCode == '10000027'
</div> "
<el-dialog title="申报详情" :visible.sync="viewShow" width="800px" :close-on-press-escape="false"> type="success"
<div class="content"> size="mini"
<!-- 新增功能start --> round
<el-table :data="totalList" style="width: 100%"> @click="download(scope.row.fileUrl)"
<el-table-column prop="departmentName" label="审核单位" width="180"> >下载申请表</el-button
</el-table-column> >
<el-table-column prop="state" label="审核状态" width="180"> <el-button
</el-table-column> v-if="searchForm.departmentCode == '10000027'"
<el-table-column prop="reason" label="审核意见"> </el-table-column> type="warning"
<el-table-column prop="createTime" label="审核时间"> </el-table-column> size="mini"
</el-table> round
<div class="cell"> @click="downloadFamily(scope.row.familyCodeFile)"
<p class="label">是否享受过相关政策</p> >下载家庭码申请表</el-button
<p :class="['value', viewDetail.enjoyFlag == true ? 'value2' : 'value1']">{{ viewDetail.enjoyFlag ? >
'否' : '是' </template>
}}</p> </el-table-column>
</div> </table-template>
<!-- 新增功能end -->
<div class="cell">
<p class="label">事项名称</p>
<p class="value">{{ viewDetail.guideName }}</p>
</div>
<div class="cell">
<p class="label">实施主体</p>
<p class="value">
{{
this.$route.query.departmentCode == "10000031" ? this.realEstateArea + '住建局' :
this.realEstateArea + '住建窗口'
}}
</p>
</div>
<div class="cell">
<p class="label">姓名</p>
<p class="value">{{ viewDetail.name }}</p>
</div>
<div class="cell">
<p class="label">身份证</p>
<p class="value">{{ viewDetail.idCard }}</p>
</div>
<div class="cell">
<p class="label">手机号</p>
<p class="value">{{ viewDetail.phone }}</p>
</div>
<div class="cell">
<p class="label">辖市区</p>
<p class="value">{{ viewDetail.userArea }}</p>
</div>
<div class="cell">
<p class="label">联系地址</p>
<p class="value">{{ viewDetail.address }}</p>
</div>
<div class="cell">
<p class="label">身份证照片</p>
<p class="value">
<el-image v-for="(item, index) in viewDetail.idCardPicture" :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">{{ viewDetail.bank }}</p>
</div>
<div class="cell">
<p class="label">银行卡号</p>
<p class="value">{{ viewDetail.bankCard }}</p>
</div>
<div class="cell">
<p class="label">银行卡照片</p>
<p class="value">
<el-image v-for="(item, index) in viewDetail.bankCardPicture" :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" v-if="viewDetail.deedBillCode && !viewDetail.secondDeedBillCode">NO.{{
viewDetail.deedBillCode
}}</p>
<p class="value" v-if="!viewDetail.deedBillCode && viewDetail.secondDeedBillCode">NO.{{
viewDetail.secondDeedBillCode
}}</p>
<p class="value" v-if="viewDetail.deedBillCode && viewDetail.secondDeedBillCode">NO.{{
viewDetail.deedBillCode
}}、NO.{{ viewDetail.secondDeedBillCode }}</p>
</div>
<div class="cell">
<p class="label">缴纳契税金额(元)</p>
<p class="value">{{ viewDetail.paymentDeedTaxAmount }}</p>
</div>
<div class="cell" v-if="viewDetail.taxReimbursementAmount">
<p class="label">退税金额(万元)</p>
<p class="value">{{ viewDetail.taxReimbursementAmount }}</p>
</div>
<div class="cell">
<p class="label">房屋面积</p>
<p class="value">{{ viewDetail.square }}</p>
</div>
<div class="cell">
<p class="label">不动产坐落辖市区</p>
<p class="value">{{ viewDetail.checkArea }}</p>
</div>
<div class="cell">
<p class="label">网签时间</p>
<p class="value">{{ viewDetail.netSignTime }}</p>
</div>
<div class="cell">
<p class="label">不动产权证号</p>
<p class="value">{{ viewDetail.realEstateCard }}</p>
</div>
<div class="cell">
<p class="label">不动产权坐落地址</p>
<p class="value">{{ viewDetail.realEstateAddress }}</p>
</div>
<div class="cell">
<p class="label">不动产权证书</p>
<p class="value">
<el-image v-for="(item, index) in viewDetail.certificate" :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">商品房买卖合同3张</p>
<p class="value">
<el-image v-for="(item, index) in viewDetail.contract" :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.voucher" :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>
</el-dialog>
<el-dialog title="操作记录" :visible.sync="recordShow" width="800px" :close-on-press-escape="false">
<div class="content" v-if="recordList[0]">
<div class="cell" v-for="(item, index) in recordList" :key="index">
<p class="label" style="margin-right: 20px">
{{ item.stateName }}
<span v-if="item.reason">({{ item.reason }})</span>
</p>
<div class="info">
<p class="item">操作人:{{ item.departmentName }}</p>
<p class="item">操作时间:{{ item.createTime }}</p>
</div>
</div>
<p v-if="record.length === 0">暂无记录~</p>
</div>
</el-dialog>
<el-dialog title="改派部门" :visible.sync="reassignmentShow" width="600px" :close-on-press-escape="false"
:before-close="closeDialog">
<el-form label-width="120px" :model="params">
<el-row>
<el-form-item label="改派部门">
<el-cascader v-model="params.checkArea" placeholder="请选择部门" :options="checkAreaList"
:show-all-levels="false" @change="handleChange">
</el-cascader>
</el-form-item>
</el-row>
</el-form>
<span slot="footer" class="dialog-footer">
<el-button @click="closeDialog">取 消</el-button>
<el-button type="primary" @click="determine">确 定</el-button>
</span>
</el-dialog>
</div> </div>
<el-dialog
title="申报详情"
:visible.sync="viewShow"
width="800px"
:close-on-press-escape="false"
>
<div class="content">
<!-- 新增功能start -->
<el-table :data="totalList" style="width: 100%">
<el-table-column prop="departmentName" label="审核单位" width="180">
</el-table-column>
<el-table-column prop="state" label="审核状态" width="180">
</el-table-column>
<el-table-column prop="reason" label="审核意见"> </el-table-column>
<el-table-column prop="createTime" label="审核时间">
</el-table-column>
</el-table>
<div class="cell">
<p class="label">是否享受过相关政策</p>
<p
:class="[
'value',
viewDetail.enjoyFlag == true ? 'value2' : 'value1',
]"
>
{{ viewDetail.enjoyFlag ? "否" : "是" }}
</p>
</div>
<!-- 新增功能end -->
<div class="cell">
<p class="label">事项名称</p>
<p class="value">{{ viewDetail.guideName }}</p>
</div>
<div class="cell">
<p class="label">实施主体</p>
<p class="value">
{{
this.$route.query.departmentCode == "10000031"
? this.realEstateArea + "住建局"
: this.realEstateArea + "住建窗口"
}}
</p>
</div>
<div class="cell">
<p class="label">姓名</p>
<p class="value">{{ viewDetail.name }}</p>
</div>
<div class="cell">
<p class="label">身份证</p>
<p class="value">{{ viewDetail.idCard }}</p>
</div>
<div class="cell">
<p class="label">手机号</p>
<p class="value">{{ viewDetail.phone }}</p>
</div>
<div class="cell">
<p class="label">辖市区</p>
<p class="value">{{ viewDetail.userArea }}</p>
</div>
<div class="cell">
<p class="label">联系地址</p>
<p class="value">{{ viewDetail.address }}</p>
</div>
<div class="cell">
<p class="label">身份证照片</p>
<p class="value">
<el-image
v-for="(item, index) in viewDetail.idCardPicture"
: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">{{ viewDetail.bank }}</p>
</div>
<div class="cell">
<p class="label">银行卡号</p>
<p class="value">{{ viewDetail.bankCard }}</p>
</div>
<div class="cell">
<p class="label">银行卡照片</p>
<p class="value">
<el-image
v-for="(item, index) in viewDetail.bankCardPicture"
: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"
v-if="viewDetail.deedBillCode && !viewDetail.secondDeedBillCode"
>
NO.{{ viewDetail.deedBillCode }}
</p>
<p
class="value"
v-if="!viewDetail.deedBillCode && viewDetail.secondDeedBillCode"
>
NO.{{ viewDetail.secondDeedBillCode }}
</p>
<p
class="value"
v-if="viewDetail.deedBillCode && viewDetail.secondDeedBillCode"
>
NO.{{ viewDetail.deedBillCode }}、NO.{{
viewDetail.secondDeedBillCode
}}
</p>
</div>
<div class="cell">
<p class="label">缴纳契税金额(元)</p>
<p class="value">{{ viewDetail.paymentDeedTaxAmount }}</p>
</div>
<div class="cell" v-if="viewDetail.taxReimbursementAmount">
<p class="label">退税金额(万元)</p>
<p class="value">{{ viewDetail.taxReimbursementAmount }}</p>
</div>
<div class="cell">
<p class="label">房屋面积</p>
<p class="value">{{ viewDetail.square }}</p>
</div>
<div class="cell">
<p class="label">不动产坐落辖市区</p>
<p class="value">{{ viewDetail.checkArea }}</p>
</div>
<div class="cell">
<p class="label">网签时间</p>
<p class="value">{{ viewDetail.netSignTime }}</p>
</div>
<div class="cell">
<p class="label">不动产权证号</p>
<p class="value">{{ viewDetail.realEstateCard }}</p>
</div>
<div class="cell">
<p class="label">不动产权坐落地址</p>
<p class="value">{{ viewDetail.realEstateAddress }}</p>
</div>
<div class="cell">
<p class="label">不动产权证书</p>
<p class="value">
<el-image
v-for="(item, index) in viewDetail.certificate"
: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">商品房买卖合同3张</p>
<p class="value">
<el-image
v-for="(item, index) in viewDetail.contract"
: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.voucher"
: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>
</el-dialog>
<el-dialog
title="操作记录"
:visible.sync="recordShow"
width="800px"
:close-on-press-escape="false"
>
<div class="content" v-if="recordList[0]">
<div class="cell" v-for="(item, index) in recordList" :key="index">
<p class="label" style="margin-right: 20px">
{{ item.stateName }}
<span v-if="item.reason">({{ item.reason }})</span>
</p>
<div class="info">
<p class="item">操作人:{{ item.departmentName }}</p>
<p class="item">操作时间:{{ item.createTime }}</p>
</div>
</div>
<p v-if="record.length === 0">暂无记录~</p>
</div>
</el-dialog>
<el-dialog
title="改派部门"
:visible.sync="reassignmentShow"
width="600px"
:close-on-press-escape="false"
:before-close="closeDialog"
>
<el-form label-width="120px" :model="params">
<el-row>
<el-form-item label="改派部门">
<el-cascader
v-model="params.checkArea"
placeholder="请选择部门"
:options="checkAreaList"
:show-all-levels="false"
@change="handleChange"
>
</el-cascader>
</el-form-item>
</el-row>
</el-form>
<span slot="footer" class="dialog-footer">
<el-button @click="closeDialog">取 消</el-button>
<el-button type="primary" @click="determine">确 定</el-button>
</span>
</el-dialog>
</div>
</template> </template>
<script> <script>
...@@ -258,605 +408,644 @@ import { changeList, setName, setTel, setCertNo } from "@/utils"; ...@@ -258,605 +408,644 @@ import { changeList, setName, setTel, setCertNo } from "@/utils";
// import { $fileUrl } from "@/utils/mix"; // import { $fileUrl } from "@/utils/mix";
// import { getTempUrl } from "@/api/exportFileUrl"; // import { getTempUrl } from "@/api/exportFileUrl";
import { import {
queryMultipleListDeedTax, queryMultipleListDeedTax,
queryMultipleDeedTaxRecord, queryMultipleDeedTaxRecord,
queryMultipleDeedTaxDetailInfo, queryMultipleDeedTaxDetailInfo,
updateMultipleDeedTaxState, updateMultipleDeedTaxState,
mainMultipleRevocation, mainMultipleRevocation,
updateMultipleCheckArea} from '@/api/multiple' updateMultipleCheckArea,
} from "@/api/multiple";
export default { export default {
components: { TableTemplate }, components: { TableTemplate },
data() { data() {
return { return {
userName: "", userName: "",
searchForm: { searchForm: {
name: "", name: "",
phone: "", phone: "",
state: "", state: "",
departmentCode: "", departmentCode: "",
checkArealEstateArea: "" checkArealEstateArea: "",
},
stateList: [
{
state: "",
stateName: "全部",
type: "",
},
{
state: 0,
stateName: "待审核",
type: "warning",
},
{
state: 1,
stateName: "待复审",
type: "warning",
},
// {
// state: 2,
// stateName: "待用户确认",
// type: "warning",
// },
// {
// state: 3,
// stateName: "待退税办理",
// type: "warning",
// },
{
state: 2,
stateName: "待退税办理",
type: "warning",
},
{
state: 4,
stateName: "已驳回",
type: "danger",
},
{
state: 6,
stateName: "已完成",
type: "success",
},
],
stateList1: [
{
state: 0,
stateName: "待审核",
type: "warning",
},
{
state: 1,
stateName: "待复审",
type: "warning",
},
{
state: 6,
stateName: "已完成",
type: "warning",
},
{
state: 2,
stateName: "资料审核",
type: "warning",
},
{
state: 3,
stateName: "卡号确认",
type: "success",
},
{
state: 4,
stateName: "已驳回",
type: "danger",
},
{
state: 8,
stateName: "初审通过",
type: "success",
},
{
state: 9,
stateName: "已驳回",
type: "danger",
},
],
loading: false,
tableData: [],
tableColumns: [
{
key: "code",
label: "申请编号",
width: 200,
},
{
key: "name",
label: "企业联系人",
width: 150,
},
{
key: "phone",
label: "手机号",
width: 150,
},
{
key: "guideName",
label: "事项名称",
width: 150,
},
{
key: "realEstateArea",
label: "不动产坐落辖市区",
width: 150,
},
{
key: "departmentName",
label: "实施主体",
type: "slot",
// width: 150
},
{
key: "createTime",
label: "更新时间",
width: 160,
},
],
pagination: {
total: 0,
pageSize: 10,
currentPage: 1,
},
viewShow: false,
viewDetail: {},
recordShow: false,
recordList: [],
examineList: [], // 审核单位数据
housingList: [], // 住建局列表数据
totalList: [], // 合并数组
realName: "",
realEstateArea: null,
reassignmentShow: false,
params: {
code: "",
checkArea: "",
departmentCode: "10000031",
},
checkAreaList: [
{
label: "市区",
value: "市区",
children: [
{
label: "京口区",
value: "京口区",
}, },
stateList: [ {
{ label: "润州区",
state: "", value: "润州区",
stateName: "全部",
type: "",
},
{
state: 0,
stateName: "待审核",
type: "warning",
},
{
state: 1,
stateName: "待复审",
type: "warning",
},
// {
// state: 2,
// stateName: "待用户确认",
// type: "warning",
// },
// {
// state: 3,
// stateName: "待退税办理",
// type: "warning",
// },
{
state: 2,
stateName: "待退税办理",
type: "warning",
},
{
state: 4,
stateName: "已驳回",
type: "danger",
},
{
state: 6,
stateName: "已完成",
type: "success",
},
],
stateList1: [
{
state: 0,
stateName: "待审核",
type: "warning"
},
{
state: 1,
stateName: "待复审",
type: "warning"
},
{
state: 6,
stateName: "已完成",
type: "warning"
},
{
state: 2,
stateName: "资料审核",
type: "warning"
},
{
state: 3,
stateName: "卡号确认",
type: "success"
},
{
state: 4,
stateName: "已驳回",
type: "danger"
},
{
state: 8,
stateName: "初审通过",
type: "success"
},
{
state: 9,
stateName: "已驳回",
type: "danger"
}
],
loading: false,
tableData: [],
tableColumns: [
{
key: "code",
label: "申请编号",
width: 200
},
{
key: "name",
label: "企业联系人",
width: 150
},
{
key: "phone",
label: "手机号",
width: 150
},
{
key: "guideName",
label: "事项名称",
width: 150
},
{
key: "realEstateArea",
label: "不动产坐落辖市区",
width: 150
},
{
key: "departmentName",
label: "实施主体",
type: "slot",
// width: 150
},
{
key: "createTime",
label: "更新时间",
width: 160
}
],
pagination: {
total: 0,
pageSize: 10,
currentPage: 1
}, },
viewShow: false, {
viewDetail: {}, label: "镇江高新区",
recordShow: false, value: "镇江高新区",
recordList: [],
examineList: [], // 审核单位数据
housingList: [], // 住建局列表数据
totalList: [], // 合并数组
realName: "",
realEstateArea: null,
reassignmentShow: false,
params: {
code: '',
checkArea: '',
departmentCode: '10000031'
}, },
checkAreaList: [ {
{ label: "镇江新区-丁卯片区",
label: '市区', value: "镇江新区-丁卯片区",
value: '市区', },
children: [ ],
{ },
label: '京口区', {
value: '京口区', label: "丹徒区",
}, { value: "丹徒区",
label: '润州区', },
value: '润州区', {
}, { label: "镇江新区",
label: '镇江高新区', value: "镇江新区",
value: '镇江高新区', children: [
}, { {
label: '镇江新区-丁卯片区', label: "大港片区",
value: '镇江新区-丁卯片区', value: "大港片区",
} },
] ],
}, { },
label: '丹徒区', {
value: '丹徒区' label: "句容市",
}, { value: "句容市",
label: '镇江新区', },
value: '镇江新区', ],
children: [ departmentName: "",
{ areaList: [
label: '大港片区', {
value: '大港片区', id: "",
} label: "全部",
] },
}, { {
label: '句容市', id: "京口区",
value: '句容市' label: "京口区",
} },
], {
departmentName: '', id: "润州区",
areaList: [ label: "润州区",
{ },
id: "", {
label: "全部", id: "丹徒区",
}, label: "丹徒区",
{ },
id: "京口区", {
label: "京口区", id: "镇江新区-大港片区",
}, label: "镇江新区-大港片区",
{ },
id: "润州区", {
label: "润州区", id: "镇江新区-丁卯片区",
}, label: "镇江新区-丁卯片区",
{ },
id: "丹徒区", {
label: "丹徒区", id: "镇江高新区",
}, label: "镇江高新区",
{ },
id: "镇江新区-大港片区", {
label: "镇江新区-大港片区", id: "句容市",
}, label: "句容市",
{ },
id: "镇江新区-丁卯片区", ],
label: "镇江新区-丁卯片区", };
}, },
{ watch: {
id: "镇江高新区", $route() {
label: "镇江高新区", if (this.$route) {
}, this.userName = localStorage.getItem("userName");
{ // 10000027 人才窗口code 10000031 市财政局code退税办理
id: "句容市", this.searchForm.departmentCode = this.$route.query.departmentCode;
label: "句容市", // realEstateArea: 市区、镇江新区、丹徒区
}, this.realEstateArea = this.$route.query.realEstateArea
], ? this.$route.query.realEstateArea
}; : null;
// departmentName: 审核部门名称(左侧列表)
this.departmentName = this.$route.query.departmentName;
this.searchForm.name = "";
this.searchForm.phone = "";
this.searchForm.state = "";
this.init();
}
}, },
watch: { },
$route() { methods: {
if (this.$route) { init() {
this.userName = localStorage.getItem('userName'); this.tableData = [];
// 10000027 人才窗口code 10000031 市财政局code退税办理 this.loading = true;
this.searchForm.departmentCode = this.$route.query.departmentCode; let parmas = {
// realEstateArea: 市区、镇江新区、丹徒区 name: this.searchForm.name,
this.realEstateArea = this.$route.query.realEstateArea ? this.$route.query.realEstateArea : null phone: this.searchForm.phone,
// departmentName: 审核部门名称(左侧列表) state: this.searchForm.state,
this.departmentName = this.$route.query.departmentName departmentCode: this.searchForm.departmentCode,
this.searchForm.name = '' pageNum: this.pagination.currentPage,
this.searchForm.phone = '' pageSize: this.pagination.pageSize,
this.searchForm.state = '' checkArea: this.realEstateArea,
this.init(); checkArealEstateArea: this.searchForm.checkArealEstateArea,
};
queryMultipleListDeedTax(parmas).then((res) => {
this.loading = false;
if (res.success) {
this.pagination.total = res.data.total;
if (res.data.total) {
this.tableData = res.data.list.map((item) => {
item.stateName = this.getSatusArr(item.state).stateName;
item.type = this.getSatusArr(item.state).type;
return item;
});
if (localStorage.getItem("userName") == "admin") {
this.tableData = changeList(this.tableData);
} }
} else {
this.tableData = [];
}
} }
});
}, },
methods: { onSubmit() {
init() { this.pagination.currentPage = 1;
this.tableData = []; this.init();
this.loading = true; },
let parmas = { jumpPage() {
name: this.searchForm.name, this.init();
phone: this.searchForm.phone, },
state: this.searchForm.state, // changeUrl(url) {
departmentCode: this.searchForm.departmentCode, // let params = {
pageNum: this.pagination.currentPage, // file: url,
pageSize: this.pagination.pageSize, // day: 1
checkArea: this.realEstateArea, // }
checkArealEstateArea: this.searchForm.checkArealEstateArea // getTempUrl(params).then((res) => {
}; // if (res.data.indexOf('81.69.44.115') !== -1) {
queryMultipleListDeedTax(parmas).then(res => { // // 测试环境
this.loading = false; // window.location.href = res.data
if (res.success) { // } else {
this.pagination.total = res.data.total; // // 生产环境
if (res.data.total) { // // http跨域 ---> https
this.tableData = res.data.list.map(item => { // let a = res.data.substr(0, 4) + 's' + res.data.substr(4)
item.stateName = this.getSatusArr(item.state).stateName; // window.location.href = a
item.type = this.getSatusArr(item.state).type; // }
return item; // })
}); // },
if (localStorage.getItem('userName') == 'admin') { downloadFamily(url) {
this.tableData = changeList(this.tableData) if (url) {
} if (url.indexOf("81.69.44.115") !== -1) {
} else { // 测试环境
this.tableData = [] window.location.href = url;
} } else {
} window.location.href = url;
}); }
}, } else {
onSubmit() { this.$message.warning("家庭码申请表尚未初始化");
this.pagination.currentPage = 1; }
this.init(); },
}, download(url) {
jumpPage() { // this.changeUrl(url)
this.init(); if (url.indexOf("81.69.44.115") !== -1) {
}, // 测试环境
// changeUrl(url) { window.location.href = url;
} else {
// 生产环境
// http跨域 ---> https
// let a = url.substr(0, 4) + 's' + url.substr(4)
// window.location.href = a
window.location.href = url;
}
},
view(row) {
let params = {
code: row.code,
// matterType: row.matterType
};
queryMultipleDeedTaxDetailInfo(params).then((res) => {
// let arr = []
// res.data.pictures.forEach((item) => {
// let params = { // let params = {
// file: url, // file: item.picture,
// day: 1 // day: 1
// } // }
// getTempUrl(params).then((res) => { // arr.push(getTempUrl(params))
// if (res.data.indexOf('81.69.44.115') !== -1) { // })
// // 测试环境 // Promise.all(arr).then(res1 => {
// window.location.href = res.data // let arr1 = []
// } else { // arr1 = res1.map((item, index) => ({ picture: item.data, pictureType: res.data.pictures[index].pictureType }))
// // 生产环境 this.viewDetail = res.data;
// // http跨域 ---> https if (localStorage.getItem("userName") == "admin") {
// let a = res.data.substr(0, 4) + 's' + res.data.substr(4) this.viewDetail.name = setName(this.viewDetail.name);
// window.location.href = a this.viewDetail.phone = setTel(this.viewDetail.phone);
// } this.viewDetail.idCard = setCertNo(this.viewDetail.idCard);
// }) }
// }, this.viewDetail.idCardPicture = res.data.pictures.filter(
download(url) { (item) => item.pictureType === 1
// this.changeUrl(url) );
if (url.indexOf('81.69.44.115') !== -1) { this.viewDetail.bankCardPicture = res.data.pictures.filter(
// 测试环境 (item) => item.pictureType === 5
window.location.href = url );
} else { this.viewDetail.contract = res.data.pictures.filter(
// 生产环境 (item) => item.pictureType === 2
// http跨域 ---> https );
// let a = url.substr(0, 4) + 's' + url.substr(4) this.viewDetail.certificate = res.data.pictures.filter(
// window.location.href = a (item) => item.pictureType === 3
window.location.href = url );
this.viewDetail.voucher = res.data.pictures.filter(
(item) => item.pictureType === 4 || item.pictureType === 6
);
this.viewShow = true;
// })
let reason = [];
res.data.recordVos.map((item) => {
if (item) {
reason.push(item);
}
});
this.recordList = reason.map((item) => {
item.stateName = this.getSatusArr1(item.state)
? this.getSatusArr1(item.state).stateName
: "未知状态";
return item;
});
this.examineList = this.recordList;
this.examineList.forEach((item) => {
item.state != 4 && item.state != 9
? (item.state = "通过")
: (item.state = "拒绝");
});
this.totalList = this.examineList;
});
},
record(row) {
queryMultipleDeedTaxRecord({ code: row.code }).then((res) => {
let reason = [];
res.data.map((item) => {
if (item) {
reason.push(item);
}
});
this.recordList = reason.map((item) => {
item.stateName = this.getSatusArr1(item.state)
? this.getSatusArr1(item.state).stateName
: "未知状态";
return item;
});
this.recordShow = true;
});
},
dispatch(row) {
this.$prompt(`确定通过该申请的退税办理吗?`, "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
inputPlaceholder: "请输入退税金额(万元)",
inputType: "textarea",
type: "warning",
})
.then(({ value }) => {
if (!value) {
this.$message.error("未输入退税金额(万元)");
return;
}
let params = {
code: row.code,
idCard: row.idCard,
phone: row.phone,
createTime: row.createTime,
name: this.userName,
departmentName: this.departmentName,
taxReimbursementAmount: value,
// name: '市财政局',
state: 6,
reviewerId: row.reviewerId,
reason: "退税办理通过",
};
updateMultipleDeedTaxState(params).then((res) => {
if (res.success) {
this.$message.success(`退税办理成功`);
this.init();
} }
}, });
view(row) { })
let params = { .catch(() => {
// console.log("取消审核");
});
},
pass(row) {
this.$prompt(`确定通过该申请的复审吗?`, "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
inputPlaceholder: "请输入原因",
inputType: "textarea",
type: "warning",
})
.then(({ value }) => {
if (!value) {
this.$message.error("未输入原因");
return;
}
console.log(value);
queryMultipleDeedTaxDetailInfo({ code: row.code }).then((res) => {
console.log(res);
if (res.success) {
let params = {
code: row.code, code: row.code,
// matterType: row.matterType idCard: res.data.idCard,
}; phone: res.data.phone,
queryMultipleDeedTaxDetailInfo(params).then(res => { createTime: row.createTime,
// let arr = [] checkArea: row.checkArea,
// res.data.pictures.forEach((item) => { name: this.userName,
// let params = { departmentName: this.departmentName,
// file: item.picture, // name: '人才窗口',
// day: 1 state: 2,
// } reviewerId: row.reviewerId,
// arr.push(getTempUrl(params)) reason: value,
// }) };
// Promise.all(arr).then(res1 => { updateMultipleDeedTaxState(params).then((res) => {
// let arr1 = [] if (res.success) {
// arr1 = res1.map((item, index) => ({ picture: item.data, pictureType: res.data.pictures[index].pictureType })) this.$message.success(`复审通过`);
this.viewDetail = res.data; this.init();
if (localStorage.getItem('userName') == 'admin') { // if (this.$route.query.realEstateArea != '句容市') {
this.viewDetail.name = setName(this.viewDetail.name) // dtSubsidy({ billType: 1, code: row.code }).then((res) => {
this.viewDetail.phone = setTel(this.viewDetail.phone) // console.log(res)
this.viewDetail.idCard = setCertNo(this.viewDetail.idCard) // if (!res.success) {
} // this.$message.error(res.msg || '推送失败');
this.viewDetail.idCardPicture = res.data.pictures.filter(item => item.pictureType === 1); // }
this.viewDetail.bankCardPicture = res.data.pictures.filter(item => item.pictureType === 5); // })
this.viewDetail.contract = res.data.pictures.filter(item => item.pictureType === 2); // }
this.viewDetail.certificate = res.data.pictures.filter(item => item.pictureType === 3); } else {
this.viewDetail.voucher = res.data.pictures.filter(item => (item.pictureType === 4 || item.pictureType === 6)); this.$message.warning(
this.viewShow = true; res.msg || "该申请已被其他部门驳回,无法审核通过"
// }) );
let reason = []
res.data.recordVos.map((item) => {
if (item) {
reason.push(item)
}
});
this.recordList = reason.map(item => {
item.stateName = this.getSatusArr1(item.state)
? this.getSatusArr1(item.state).stateName
: "未知状态";
return item;
});
this.examineList = this.recordList;
this.examineList.forEach(item => {
(item.state != 4 && item.state != 9) ? (item.state = "通过") : (item.state = "拒绝");
});
this.totalList = this.examineList;
})
},
record(row) {
queryMultipleDeedTaxRecord({ code: row.code }).then((res) => {
let reason = []
res.data.map((item) => {
if (item) {
reason.push(item)
}
});
this.recordList = reason.map(item => {
item.stateName = this.getSatusArr1(item.state)
? this.getSatusArr1(item.state).stateName
: "未知状态";
return item;
});
this.recordShow = true;
})
},
dispatch(row) {
this.$prompt(`确定通过该申请的退税办理吗?`, "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
inputPlaceholder: "请输入退税金额(万元)",
inputType: "textarea",
type: "warning"
})
.then(({ value }) => {
if (!value) {
this.$message.error("未输入退税金额(万元)");
return;
}
let params = {
code: row.code,
idCard: row.idCard,
phone: row.phone,
createTime: row.createTime,
name: this.userName,
departmentName: this.departmentName,
taxReimbursementAmount: value,
// name: '市财政局',
state: 6,
reviewerId: row.reviewerId,
reason: '退税办理通过'
};
updateMultipleDeedTaxState(params).then(res => {
if (res.success) {
this.$message.success(`退税办理成功`);
this.init();
}
});
})
.catch(() => {
// console.log("取消审核");
});
},
pass(row) {
this.$prompt(`确定通过该申请的复审吗?`, "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
inputPlaceholder: "请输入原因",
inputType: "textarea",
type: "warning"
})
.then(({ value }) => {
if (!value) {
this.$message.error("未输入原因");
return;
}
queryMultipleDeedTaxDetailInfo({ code: row.code }).then(res => {
if (res.success) {
let params = {
code: row.code,
idCard: res.data.idCard,
phone: res.data.phone,
createTime: row.createTime,
checkArea: row.checkArea,
name: this.userName,
departmentName: this.departmentName,
// name: '人才窗口',
state: 2,
reviewerId: row.reviewerId,
reason: value
};
updateMultipleDeedTaxState(params).then(res => {
if (res.success) {
this.$message.success(`复审通过`);
this.init();
// if (this.$route.query.realEstateArea != '句容市') {
// dtSubsidy({ billType: 1, code: row.code }).then((res) => {
// console.log(res)
// if (!res.success) {
// this.$message.error(res.msg || '推送失败');
// }
// })
// }
} else {
this.$message.warning(res.msg || "该申请已被其他部门驳回,无法审核通过");
}
});
}
})
})
.catch(() => {
// console.log("取消审核");
});
},
deny(row) {
this.$prompt(`确定驳回该申请的复审吗?`, "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
inputPlaceholder: "请输入原因",
inputType: "textarea"
})
.then(({ value }) => {
if (!value) {
this.$message.error("未输入原因");
return;
}
queryMultipleDeedTaxDetailInfo({ code: row.code }).then(res => {
if (res.success) {
let params = {
code: row.code,
idCard: res.data.idCard,
phone: res.data.phone,
createTime: row.createTime,
checkArea: row.checkArea,
name: this.userName,
departmentName: this.departmentName,
state: 4,
reviewerId: row.reviewerId,
reason: value
};
updateMultipleDeedTaxState(params).then(res => {
console.log(res)
this.$message.success(`复审驳回成功`);
this.init();
});
}
})
})
.catch(() => {
});
},
drevokeeny(row) {
this.$confirm(`确定撤回该申请的审核结果吗?`, "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning"
}).then(() => {
let params = {
code: row.code,
phone: row.phone,
reviewerId: row.reviewerId,
state: row.state
} }
mainMultipleRevocation(params).then((res) => { });
if (res.code == 200 || res.success) {
this.$message.success(res.data || '审核撤回成功');
this.init();
} else {
this.$message.error(res.msg);
this.init();
}
})
})
},
reassignment(row) {
this.params.code = row.code;
this.params.checkArea = row.checkArea;
this.reassignmentShow = true
},
closeDialog() {
this.reassignmentShow = false
this.params = {
code: '',
checkArea: '',
departmentCode: '10000031'
}
},
handleChange(value) {
if (value.length == 2) {
this.params.checkArea = value[1]
} else { } else {
this.params.checkArea = value[0] this.$message.warning(res.msg);
} }
}, });
determine() { })
this.$confirm(`确定改派该申请的审核部门吗?`, "提示", { .catch(() => {
confirmButtonText: "确定", // console.log("取消审核");
cancelButtonText: "取消", });
type: "warning"
}).then(() => {
updateMultipleCheckArea(this.params).then((res) => {
if (res.success) {
this.reassignmentShow = false
this.$message.success(`改派成功`);
this.init();
} else {
this.$message.warning(res.msg || "该申请已被其他部门驳回,无法审核通过");
}
})
})
},
getSatusArr(state) {
return this.stateList.filter(item => {
return item.state === state;
})[0];
},
getSatusArr1(state) {
return this.stateList1.filter(item => {
return item.state === state;
})[0];
}
}, },
created() { deny(row) {
this.userName = localStorage.getItem('userName'); this.$prompt(`确定驳回该申请的复审吗?`, "提示", {
// 10000027 人才窗口code 10000031 市财政局code退税办理 confirmButtonText: "确定",
this.searchForm.departmentCode = this.$route.query.departmentCode; cancelButtonText: "取消",
// realEstateArea: 市区、镇江新区、丹徒区 inputPlaceholder: "请输入原因",
this.realEstateArea = this.$route.query.realEstateArea ? this.$route.query.realEstateArea : null inputType: "textarea",
// departmentName: 审核部门名称(左侧列表) })
this.departmentName = this.$route.query.departmentName .then(({ value }) => {
this.init(); if (!value) {
} this.$message.error("未输入原因");
return;
}
queryMultipleDeedTaxDetailInfo({ code: row.code }).then((res) => {
if (res.success) {
let params = {
code: row.code,
idCard: res.data.idCard,
phone: res.data.phone,
createTime: row.createTime,
checkArea: row.checkArea,
name: this.userName,
departmentName: this.departmentName,
state: 4,
reviewerId: row.reviewerId,
reason: value,
};
updateMultipleDeedTaxState(params).then((res) => {
console.log(res);
this.$message.success(`复审驳回成功`);
this.init();
});
}
});
})
.catch(() => {});
},
drevokeeny(row) {
this.$confirm(`确定撤回该申请的审核结果吗?`, "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
}).then(() => {
let params = {
code: row.code,
phone: row.phone,
reviewerId: row.reviewerId,
state: row.state,
};
mainMultipleRevocation(params).then((res) => {
if (res.code == 200 || res.success) {
this.$message.success(res.data || "审核撤回成功");
this.init();
} else {
this.$message.error(res.msg);
this.init();
}
});
});
},
reassignment(row) {
this.params.code = row.code;
this.params.checkArea = row.checkArea;
this.reassignmentShow = true;
},
closeDialog() {
this.reassignmentShow = false;
this.params = {
code: "",
checkArea: "",
departmentCode: "10000031",
};
},
handleChange(value) {
if (value.length == 2) {
this.params.checkArea = value[1];
} else {
this.params.checkArea = value[0];
}
},
determine() {
this.$confirm(`确定改派该申请的审核部门吗?`, "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
}).then(() => {
updateMultipleCheckArea(this.params).then((res) => {
if (res.success) {
this.reassignmentShow = false;
this.$message.success(`改派成功`);
this.init();
} else {
this.$message.warning(
res.msg || "该申请已被其他部门驳回,无法审核通过"
);
}
});
});
},
getSatusArr(state) {
return this.stateList.filter((item) => {
return item.state === state;
})[0];
},
getSatusArr1(state) {
return this.stateList1.filter((item) => {
return item.state === state;
})[0];
},
},
created() {
this.userName = localStorage.getItem("userName");
// 10000027 人才窗口code 10000031 市财政局code退税办理
this.searchForm.departmentCode = this.$route.query.departmentCode;
// realEstateArea: 市区、镇江新区、丹徒区
this.realEstateArea = this.$route.query.realEstateArea
? this.$route.query.realEstateArea
: null;
// departmentName: 审核部门名称(左侧列表)
this.departmentName = this.$route.query.departmentName;
this.init();
},
}; };
</script> </script>
......
<template> <template>
<div class="deedtax"> <div class="deedtax">
<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
v-model="searchForm.phone"
placeholder="请输入手机号码"
@keyup.enter.native="onSubmit"
>
</el-input> </el-input>
</el-form-item> </el-form-item>
<el-form-item label="不动产坐落辖市区" v-if=" <el-form-item
this.realEstateArea == '市区' || label="不动产坐落辖市区"
(this.searchForm.departmentCode == '10000032' && v-if="
this.realEstateArea != '句容市') this.realEstateArea == '市区' ||
"> (this.searchForm.departmentCode == '10000032' &&
<el-select v-model="searchForm.checkArealEstateArea" placeholder="请选择不动产坐落辖市区" @change="onSubmit" size="medium"> this.realEstateArea != '句容市')
<el-option v-for="item in areaList" :key="item.id" :label="item.label" :value="item.id"> "
>
<el-select
v-model="searchForm.checkArealEstateArea"
placeholder="请选择不动产坐落辖市区"
@change="onSubmit"
size="medium"
>
<el-option
v-for="item in areaList"
:key="item.id"
:label="item.label"
:value="item.id"
>
</el-option> </el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
...@@ -23,24 +49,37 @@ ...@@ -23,24 +49,37 @@
<el-button type="primary" @click="onSubmit">查询</el-button> <el-button type="primary" @click="onSubmit">查询</el-button>
</el-form-item> </el-form-item>
<el-form-item> <el-form-item>
<el-button type="primary" v-if=" <el-button
this.searchForm.departmentCode == '10000033' || type="primary"
this.searchForm.departmentCode == '10000031' v-if="
" @click="downLoadShow = true">导出 this.searchForm.departmentCode == '10000033' ||
this.searchForm.departmentCode == '10000031'
"
@click="downLoadShow = true"
>导出
</el-button> </el-button>
</el-form-item> </el-form-item>
<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
:label="item.state"
v-for="item in stateList"
:key="item.state"
>{{ item.stateName }}
</el-radio> </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 slot="departmentName" label="实施主体" align="center"> <el-table-column slot="departmentName" label="实施主体" align="center">
<template> <template>
{{ this.$route.query.departmentName }} {{ this.$route.query.departmentName }}
...@@ -48,12 +87,18 @@ ...@@ -48,12 +87,18 @@
</el-table-column> </el-table-column>
<el-table-column label="状态" align="center"> <el-table-column label="状态" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<el-tag type="warning" v-if="scope.row.reviewerState == 0">待审核</el-tag> <el-tag type="warning" v-if="scope.row.reviewerState == 0"
<el-tag type="success" v-if="scope.row.reviewerState == 8">初审通过</el-tag> >待审核</el-tag
>
<el-tag type="success" v-if="scope.row.reviewerState == 8"
>初审通过</el-tag
>
<!-- <el-tag type="warning" v-if="scope.row.state == 1">待复审</el-tag> <!-- <el-tag type="warning" v-if="scope.row.state == 1">待复审</el-tag>
<el-tag type="warning" v-if="scope.row.state == 2">待用户确认</el-tag> <el-tag type="warning" v-if="scope.row.state == 2">待用户确认</el-tag>
<el-tag type="warning" v-if="scope.row.state == 3">待退税办理</el-tag> --> <el-tag type="warning" v-if="scope.row.state == 3">待退税办理</el-tag> -->
<el-tag type="danger" v-if="scope.row.reviewerState == 9">已驳回</el-tag> <el-tag type="danger" v-if="scope.row.reviewerState == 9"
>已驳回</el-tag
>
<!-- <el-tag type="info" v-if="scope.row.state == 5">已撤销</el-tag> --> <!-- <el-tag type="info" v-if="scope.row.state == 5">已撤销</el-tag> -->
<!-- <el-tag type="warning" v-if="scope.row.state == 6">资料审核</el-tag> --> <!-- <el-tag type="warning" v-if="scope.row.state == 6">资料审核</el-tag> -->
<!-- <el-tag type="success" v-if="scope.row.state == 6">已完成</el-tag> --> <!-- <el-tag type="success" v-if="scope.row.state == 6">已完成</el-tag> -->
...@@ -61,28 +106,63 @@ ...@@ -61,28 +106,63 @@
</el-table-column> </el-table-column>
<el-table-column fixed="right" label="操作" width="350" align="center"> <el-table-column fixed="right" label="操作" width="350" align="center">
<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.reviewerState == 0 && scope.row.state == 0" type="success" size="mini" round <el-button
@click="pass(scope.row)">通过 v-if="scope.row.reviewerState == 0 && scope.row.state == 0"
type="success"
size="mini"
round
@click="pass(scope.row)"
>通过
</el-button> </el-button>
<el-button v-if="scope.row.reviewerState == 0 && scope.row.state == 0" type="danger" size="mini" round <el-button
@click="deny(scope.row)">拒绝 v-if="scope.row.reviewerState == 0 && scope.row.state == 0"
type="danger"
size="mini"
round
@click="deny(scope.row)"
>拒绝
</el-button> </el-button>
<el-button v-if=" <el-button
(scope.row.reviewerState == 9 && scope.row.state == 4) || v-if="
((scope.row.state == 0 || scope.row.state == 1) && (scope.row.reviewerState == 9 && scope.row.state == 4) ||
scope.row.reviewerState == 8) ((scope.row.state == 0 || scope.row.state == 1) &&
" type="info" size="mini" round @click="drevokeeny(scope.row)">撤销 scope.row.reviewerState == 8)
"
type="info"
size="mini"
round
@click="drevokeeny(scope.row)"
>撤销
</el-button> </el-button>
<el-button v-if="scope.row.state == 0" type="warning" size="mini" round @click="reassignment(scope.row)">改派 <el-button
v-if="scope.row.state == 0"
type="warning"
size="mini"
round
@click="reassignment(scope.row)"
>改派
</el-button> </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">
<!-- 新增功能start --> <!-- 新增功能start -->
<el-table :data="totalList" style="width: 100%"> <el-table :data="totalList" style="width: 100%">
...@@ -96,10 +176,12 @@ ...@@ -96,10 +176,12 @@
</el-table> </el-table>
<div class="cell"> <div class="cell">
<p class="label">是否享受过相关政策</p> <p class="label">是否享受过相关政策</p>
<p :class="[ <p
'value', :class="[
viewDetail.enjoyFlag == true ? 'value2' : 'value1', 'value',
]"> viewDetail.enjoyFlag == true ? 'value2' : 'value1',
]"
>
{{ viewDetail.enjoyFlag ? "否" : "是" }} {{ viewDetail.enjoyFlag ? "否" : "是" }}
</p> </p>
</div> </div>
...@@ -135,9 +217,14 @@ ...@@ -135,9 +217,14 @@
<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.idCardPicture" :key="index" <el-image
style="width: 100px; height: 100px; margin-right: 10px" :src="item.picture" :z-index="7777777" v-for="(item, index) in viewDetail.idCardPicture"
: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>
...@@ -152,21 +239,35 @@ ...@@ -152,21 +239,35 @@
<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.bankCardPicture" :key="index" <el-image
style="width: 100px; height: 100px; margin-right: 10px" :src="item.picture" :z-index="7777777" v-for="(item, index) in viewDetail.bankCardPicture"
: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 class="cell"> <div class="cell">
<p class="label">契税发票号码</p> <p class="label">契税发票号码</p>
<p class="value" v-if="viewDetail.deedBillCode && !viewDetail.secondDeedBillCode"> <p
class="value"
v-if="viewDetail.deedBillCode && !viewDetail.secondDeedBillCode"
>
NO.{{ viewDetail.deedBillCode }} NO.{{ viewDetail.deedBillCode }}
</p> </p>
<p class="value" v-if="!viewDetail.deedBillCode && viewDetail.secondDeedBillCode"> <p
class="value"
v-if="!viewDetail.deedBillCode && viewDetail.secondDeedBillCode"
>
NO.{{ viewDetail.secondDeedBillCode }} NO.{{ viewDetail.secondDeedBillCode }}
</p> </p>
<p class="value" v-if="viewDetail.deedBillCode && viewDetail.secondDeedBillCode"> <p
class="value"
v-if="viewDetail.deedBillCode && viewDetail.secondDeedBillCode"
>
NO.{{ viewDetail.deedBillCode }}、NO.{{ NO.{{ viewDetail.deedBillCode }}、NO.{{
viewDetail.secondDeedBillCode viewDetail.secondDeedBillCode
}} }}
...@@ -201,8 +302,8 @@ ...@@ -201,8 +302,8 @@
<p class="value"> <p class="value">
{{ {{
viewDetail.houseType == 1 viewDetail.houseType == 1
? "商品房" ? "商品房"
: viewDetail.houseType == 2 : viewDetail.houseType == 2
? "二手房" ? "二手房"
: "-" : "-"
}} }}
...@@ -215,33 +316,53 @@ ...@@ -215,33 +316,53 @@
<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.certificate" :key="index" <el-image
style="width: 100px; height: 100px; margin-right: 10px" :src="item.picture" :z-index="7777777" v-for="(item, index) in viewDetail.certificate"
: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 class="cell"> <div class="cell">
<p class="label">商品房买卖合同3张</p> <p class="label">商品房买卖合同3张</p>
<p class="value"> <p class="value">
<el-image v-for="(item, index) in viewDetail.contract" :key="index" <el-image
style="width: 100px; height: 100px; margin-right: 10px" :src="item.picture" :z-index="7777777" v-for="(item, index) in viewDetail.contract"
: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 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.voucher" :key="index" <el-image
style="width: 100px; height: 100px; margin-right: 10px" :src="item.picture" :z-index="7777777" v-for="(item, index) in viewDetail.voucher"
: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>
</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" v-if="recordList[0]"> <div class="content" v-if="recordList[0]">
<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">
...@@ -256,13 +377,23 @@ ...@@ -256,13 +377,23 @@
<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="reassignmentShow" width="600px" :close-on-press-escape="false" <el-dialog
:before-close="closeDialog"> title="改派部门"
:visible.sync="reassignmentShow"
width="600px"
:close-on-press-escape="false"
:before-close="closeDialog"
>
<el-form label-width="120px" :model="params"> <el-form label-width="120px" :model="params">
<el-row> <el-row>
<el-form-item label="改派部门"> <el-form-item label="改派部门">
<el-cascader v-model="params.checkArea" placeholder="请选择部门" :options="checkAreaList" :show-all-levels="false" <el-cascader
@change="handleChange"> v-model="params.checkArea"
placeholder="请选择部门"
:options="checkAreaList"
:show-all-levels="false"
@change="handleChange"
>
</el-cascader> </el-cascader>
</el-form-item> </el-form-item>
</el-row> </el-row>
...@@ -272,19 +403,37 @@ ...@@ -272,19 +403,37 @@
<el-button type="primary" @click="determine">确 定</el-button> <el-button type="primary" @click="determine">确 定</el-button>
</span> </span>
</el-dialog> </el-dialog>
<el-dialog title="导出范围" :visible.sync="downLoadShow" width="600px" :close-on-press-escape="false"> <el-dialog
title="导出范围"
:visible.sync="downLoadShow"
width="600px"
:close-on-press-escape="false"
>
<el-form label-width="120px" :model="params"> <el-form label-width="120px" :model="params">
<el-row> <el-row>
<el-form-item label="状态"> <el-form-item label="状态">
<el-select v-model="downLoadParams.state" placeholder="请选择状态"> <el-select v-model="downLoadParams.state" placeholder="请选择状态">
<el-option v-for="item in downLoadList" :key="item.value" :label="item.label" :value="item.value"> <el-option
v-for="item in downLoadList"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option> </el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="日期"> <el-form-item label="日期">
<el-date-picker v-model="date" type="daterange" range-separator="-" start-placeholder="开始日期" <el-date-picker
end-placeholder="结束日期" :default-time="['00:00:00', '23:59:59']" format="yyyy-MM-dd" v-model="date"
value-format="yyyy-MM-dd HH:mm:ss" @change="time"> type="daterange"
range-separator="-"
start-placeholder="开始日期"
end-placeholder="结束日期"
:default-time="['00:00:00', '23:59:59']"
format="yyyy-MM-dd"
value-format="yyyy-MM-dd HH:mm:ss"
@change="time"
>
</el-date-picker> </el-date-picker>
</el-form-item> </el-form-item>
</el-row> </el-row>
...@@ -309,7 +458,7 @@ import { ...@@ -309,7 +458,7 @@ import {
initMultipleDepartmentRevocation, initMultipleDepartmentRevocation,
updateMultipleCheckArea, updateMultipleCheckArea,
saveMultipleFileUrl, saveMultipleFileUrl,
userMultipleExport userMultipleExport,
} from "@/api/multiple.js"; } from "@/api/multiple.js";
import docxtemplater from "docxtemplater"; import docxtemplater from "docxtemplater";
import PizZip from "pizzip"; import PizZip from "pizzip";
...@@ -322,7 +471,7 @@ export default { ...@@ -322,7 +471,7 @@ export default {
components: { TableTemplate }, components: { TableTemplate },
data() { data() {
return { return {
userName: '', userName: "",
searchForm: { searchForm: {
name: "", name: "",
phone: "", phone: "",
...@@ -571,7 +720,7 @@ export default { ...@@ -571,7 +720,7 @@ export default {
watch: { watch: {
$route() { $route() {
if (this.$route) { if (this.$route) {
this.userName = localStorage.getItem('userName'); this.userName = localStorage.getItem("userName");
// 10000031 财政局code 10000032 税务局code 10000033 不动产登记中心code // 10000031 财政局code 10000032 税务局code 10000033 不动产登记中心code
this.searchForm.departmentCode = this.$route.query.departmentCode; this.searchForm.departmentCode = this.$route.query.departmentCode;
this.realEstateArea = this.$route.query.realEstateArea this.realEstateArea = this.$route.query.realEstateArea
...@@ -579,12 +728,12 @@ export default { ...@@ -579,12 +728,12 @@ export default {
: null; : null;
// departmentName: 审核部门名称(左侧列表) // departmentName: 审核部门名称(左侧列表)
this.departmentName = this.$route.query.departmentName; this.departmentName = this.$route.query.departmentName;
this.searchForm.name = '' this.searchForm.name = "";
this.searchForm.phone = '' this.searchForm.phone = "";
this.searchForm.state = '' this.searchForm.state = "";
this.init(); this.init();
} }
} },
}, },
methods: { methods: {
init() { init() {
...@@ -611,12 +760,12 @@ export default { ...@@ -611,12 +760,12 @@ export default {
item.type = this.getSatusArr(item.reviewerState).type; item.type = this.getSatusArr(item.reviewerState).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);
console.log(JSON.parse(JSON.stringify(this.tableData))); console.log(JSON.parse(JSON.stringify(this.tableData)));
} }
} else { } else {
this.tableData = [] this.tableData = [];
} }
} }
}); });
...@@ -639,7 +788,7 @@ export default { ...@@ -639,7 +788,7 @@ export default {
code: row.code, code: row.code,
// matterType: row.matterType // matterType: row.matterType
}; };
queryMultipleDeedTaxDetailInfo(params).then(res => { queryMultipleDeedTaxDetailInfo(params).then((res) => {
// console.log(res) // console.log(res)
// let arr = [] // let arr = []
// res.data.pictures.forEach((item) => { // res.data.pictures.forEach((item) => {
...@@ -653,33 +802,45 @@ export default { ...@@ -653,33 +802,45 @@ export default {
// let arr1 = [] // let arr1 = []
// arr1 = res1.map((item, index) => ({ picture: item.data, pictureType: res.data.pictures[index].pictureType })) // arr1 = res1.map((item, index) => ({ picture: item.data, pictureType: res.data.pictures[index].pictureType }))
this.viewDetail = res.data; this.viewDetail = res.data;
if (localStorage.getItem('userName') == 'admin') { if (localStorage.getItem("userName") == "admin") {
this.viewDetail.name = setName(this.viewDetail.name) this.viewDetail.name = setName(this.viewDetail.name);
this.viewDetail.phone = setTel(this.viewDetail.phone) this.viewDetail.phone = setTel(this.viewDetail.phone);
this.viewDetail.idCard = setCertNo(this.viewDetail.idCard) this.viewDetail.idCard = setCertNo(this.viewDetail.idCard);
} }
this.viewDetail.idCardPicture = res.data.pictures.filter(item => item.pictureType === 1); this.viewDetail.idCardPicture = res.data.pictures.filter(
this.viewDetail.bankCardPicture = res.data.pictures.filter(item => item.pictureType === 5); (item) => item.pictureType === 1
this.viewDetail.contract = res.data.pictures.filter(item => item.pictureType === 2); );
this.viewDetail.certificate = res.data.pictures.filter(item => item.pictureType === 3); this.viewDetail.bankCardPicture = res.data.pictures.filter(
this.viewDetail.voucher = res.data.pictures.filter(item => (item.pictureType === 4 || item.pictureType === 6)); (item) => item.pictureType === 5
);
this.viewDetail.contract = res.data.pictures.filter(
(item) => item.pictureType === 2
);
this.viewDetail.certificate = res.data.pictures.filter(
(item) => item.pictureType === 3
);
this.viewDetail.voucher = res.data.pictures.filter(
(item) => item.pictureType === 4 || item.pictureType === 6
);
this.viewShow = true; this.viewShow = true;
// }) // })
let reason = [] let reason = [];
res.data.recordVos.map((item) => { res.data.recordVos.map((item) => {
if (item) { if (item) {
reason.push(item) reason.push(item);
} }
}); });
this.recordList = reason.map(item => { this.recordList = reason.map((item) => {
item.stateName = this.getSatusArr1(item.state) item.stateName = this.getSatusArr1(item.state)
? this.getSatusArr1(item.state).stateName ? this.getSatusArr1(item.state).stateName
: "未知状态"; : "未知状态";
return item; return item;
}); });
this.examineList = this.recordList; this.examineList = this.recordList;
this.examineList.forEach(item => { this.examineList.forEach((item) => {
(item.state != 4 && item.state != 9) ? (item.state = "通过") : (item.state = "拒绝"); item.state != 4 && item.state != 9
? (item.state = "通过")
: (item.state = "拒绝");
}); });
this.totalList = this.examineList; this.totalList = this.examineList;
console.log(this.totalList); console.log(this.totalList);
...@@ -689,7 +850,7 @@ export default { ...@@ -689,7 +850,7 @@ export default {
record(row) { record(row) {
console.log(1); console.log(1);
// console.log(row); // console.log(row);
queryMultipleDeedTaxRecord({ code: row.code }).then((res) => { queryMultipleDeedTaxRecord({ code: row.code }).then((res) => {
console.log(res.data); console.log(res.data);
let reason = []; let reason = [];
...@@ -715,7 +876,7 @@ export default { ...@@ -715,7 +876,7 @@ export default {
}, },
pass(row) { pass(row) {
console.log(row); console.log(row);
this.rowDetail = row this.rowDetail = row;
this.$prompt(`确定通过该申请的初审吗?`, "提示", { this.$prompt(`确定通过该申请的初审吗?`, "提示", {
confirmButtonText: "确定", confirmButtonText: "确定",
cancelButtonText: "取消", cancelButtonText: "取消",
...@@ -728,7 +889,7 @@ export default { ...@@ -728,7 +889,7 @@ export default {
this.$message.error("未输入原因"); this.$message.error("未输入原因");
return; return;
} }
queryMultipleDeedTaxDetailInfo({ code: row.code }).then(res => { queryMultipleDeedTaxDetailInfo({ code: row.code }).then((res) => {
if (res.success) { if (res.success) {
let params = { let params = {
code: row.code, code: row.code,
...@@ -753,8 +914,8 @@ export default { ...@@ -753,8 +914,8 @@ export default {
// matterType: row.matterType // matterType: row.matterType
}; };
Promise.all([ Promise.all([
queryMultipleDeedTaxDetailInfo(params), queryMultipleDeedTaxDetailInfo(params),
queryMultipleDeedTaxRecord(params), queryMultipleDeedTaxRecord(params),
]).then((res) => { ]).then((res) => {
if (res[0].data.state == 1) { if (res[0].data.state == 1) {
this.detail = res[0].data; this.detail = res[0].data;
...@@ -779,9 +940,10 @@ export default { ...@@ -779,9 +940,10 @@ export default {
); );
} }
}); });
} else {
this.$message.warning(res.msg);
} }
}) });
}) })
.catch(() => { .catch(() => {
// console.log("取消审核"); // console.log("取消审核");
...@@ -811,14 +973,14 @@ export default { ...@@ -811,14 +973,14 @@ export default {
arr.arr1 = that.arr1 || ""; // 财政 arr.arr1 = that.arr1 || ""; // 财政
arr.arr2 = that.arr2 || ""; // 不动产 arr.arr2 = that.arr2 || ""; // 不动产
arr.arr3 = that.arr3 || ""; // 税务 arr.arr3 = that.arr3 || ""; // 税务
if (this.$route.query.realEstateArea != '句容市') { if (this.$route.query.realEstateArea != "句容市") {
arr.arr1 = that.arr1 || ""; // 财政 arr.arr1 = that.arr1 || ""; // 财政
arr.arr2 = that.arr2 || ""; // 不动产 arr.arr2 = that.arr2 || ""; // 不动产
arr.arr3 = that.arr3 || ""; // 税务 arr.arr3 = that.arr3 || ""; // 税务
this.docxsrc = "./static/deedTax1.docx"; //模板文件的位置 this.docxsrc = "./static/deedTax1.docx"; //模板文件的位置
} else { } else {
arr.arr3 = that.arr3 || ""; // 税务 arr.arr3 = that.arr3 || ""; // 税务
this.docxsrc = "./static/deedTax2.docx"; //模板文件的位置 this.docxsrc = "./static/deedTax2.docx"; //模板文件的位置
} }
// let docxname = '购房契税补贴申请表'; //导出文件的名字 // let docxname = '购房契税补贴申请表'; //导出文件的名字
// 读取并获得模板文件的二进制内容 // 读取并获得模板文件的二进制内容
...@@ -879,21 +1041,23 @@ export default { ...@@ -879,21 +1041,23 @@ export default {
}); });
} else { } else {
that.$message.error(res.msg); that.$message.error(res.msg);
queryMultipleDeedTaxDetailInfo({ code: that.rowDetail.code }).then(res => { queryMultipleDeedTaxDetailInfo({ code: that.rowDetail.code }).then(
console.log(res) (res) => {
if (res.success) { console.log(res);
let params = { if (res.success) {
code: that.rowDetail.code, let params = {
phone: res.data.phone, code: that.rowDetail.code,
reviewerId: that.rowDetail.reviewerId, phone: res.data.phone,
state: res.data.state, reviewerId: that.rowDetail.reviewerId,
}; state: res.data.state,
initMultipleDepartmentRevocation(params).then((res) => { };
console.log(res); initMultipleDepartmentRevocation(params).then((res) => {
that.init(); console.log(res);
}); that.init();
});
}
} }
}) );
} }
}); });
// 将目标文件对象保存为目标类型的文件,并命名 // 将目标文件对象保存为目标类型的文件,并命名
...@@ -912,8 +1076,8 @@ export default { ...@@ -912,8 +1076,8 @@ export default {
this.$message.error("未输入原因"); this.$message.error("未输入原因");
return; return;
} }
queryMultipleDeedTaxDetailInfo({ code: row.code }).then(res => { queryMultipleDeedTaxDetailInfo({ code: row.code }).then((res) => {
console.log(res) console.log(res);
if (res.success) { if (res.success) {
let params = { let params = {
code: row.code, code: row.code,
...@@ -935,7 +1099,7 @@ export default { ...@@ -935,7 +1099,7 @@ export default {
this.init(); this.init();
}); });
} }
}) });
}) })
.catch(() => { .catch(() => {
// console.log("取消审核"); // console.log("取消审核");
...@@ -948,8 +1112,8 @@ export default { ...@@ -948,8 +1112,8 @@ export default {
cancelButtonText: "取消", cancelButtonText: "取消",
type: "warning", type: "warning",
}).then(() => { }).then(() => {
queryMultipleDeedTaxDetailInfo({ code: row.code }).then(res => { queryMultipleDeedTaxDetailInfo({ code: row.code }).then((res) => {
console.log(res) console.log(res);
if (res.success) { if (res.success) {
let params = { let params = {
code: row.code, code: row.code,
...@@ -968,8 +1132,7 @@ export default { ...@@ -968,8 +1132,7 @@ export default {
} }
}); });
} }
}) });
}); });
}, },
reassignment(row) { reassignment(row) {
...@@ -1066,7 +1229,7 @@ export default { ...@@ -1066,7 +1229,7 @@ export default {
}, },
}, },
created() { created() {
this.userName = localStorage.getItem('userName'); this.userName = localStorage.getItem("userName");
// 10000031 财政局code 10000032 税务局code 10000033 不动产登记中心code // 10000031 财政局code 10000032 税务局code 10000033 不动产登记中心code
this.searchForm.departmentCode = this.$route.query.departmentCode; this.searchForm.departmentCode = this.$route.query.departmentCode;
this.realEstateArea = this.$route.query.realEstateArea this.realEstateArea = this.$route.query.realEstateArea
...@@ -1130,4 +1293,4 @@ export default { ...@@ -1130,4 +1293,4 @@ export default {
} }
} }
} }
</style> </style>
\ No newline at end of file
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