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
: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="this.realEstateArea == '市区'"> <el-form-item
<el-select v-model="searchForm.checkArealEstateArea" placeholder="请选择不动产坐落辖市区" @change="onSubmit" label="不动产坐落辖市区"
size="medium"> v-if="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>
...@@ -22,20 +47,30 @@ ...@@ -22,20 +47,30 @@
<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" <table-template
:pagination="pagination" @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.departmentCode == "10000031" ? this.realEstateArea + '住建局' : this.$route.query.departmentCode == "10000031"
this.realEstateArea + '住建窗口' ? this.realEstateArea + "住建局"
: this.realEstateArea + "住建窗口"
}} }}
</template> </template>
</el-table-column> </el-table-column>
...@@ -43,36 +78,85 @@ ...@@ -43,36 +78,85 @@
<template slot-scope="scope"> <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 == 0">待审核</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 || scope.row.state == 3">待退税办理</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="danger" v-if="scope.row.state == 4">已驳回</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>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column fixed="right" label="操作" width="380" align="center"> <el-table-column fixed="right" label="操作" width="380" 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.state == 1 && searchForm.departmentCode == '10000027'" type="success" <el-button
size="mini" round @click="pass(scope.row)">通过 v-if="
scope.row.state == 1 && searchForm.departmentCode == '10000027'
"
type="success"
size="mini"
round
@click="pass(scope.row)"
>通过
</el-button> </el-button>
<el-button v-if="scope.row.state == 1 && searchForm.departmentCode == '10000027'" type="danger" <el-button
size="mini" round @click="deny(scope.row)">拒绝 v-if="
scope.row.state == 1 && searchForm.departmentCode == '10000027'
"
type="danger"
size="mini"
round
@click="deny(scope.row)"
>拒绝
</el-button> </el-button>
<el-button v-if="scope.row.flag == true && searchForm.departmentCode == '10000027'" type="info" <el-button
size="mini" round @click="drevokeeny(scope.row)">撤销 v-if="
scope.row.flag == true &&
searchForm.departmentCode == '10000027'
"
type="info"
size="mini"
round
@click="drevokeeny(scope.row)"
>撤销
</el-button> </el-button>
<!-- <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 &&
scope.row.state != 4 &&
scope.row.fileUrl &&
searchForm.departmentCode == '10000027'
"
type="success"
size="mini"
round
@click="download(scope.row.fileUrl)"
>下载申请表</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%">
...@@ -81,13 +165,19 @@ ...@@ -81,13 +165,19 @@
<el-table-column prop="state" label="审核状态" width="180"> <el-table-column prop="state" label="审核状态" width="180">
</el-table-column> </el-table-column>
<el-table-column prop="reason" label="审核意见"> </el-table-column> <el-table-column prop="reason" label="审核意见"> </el-table-column>
<el-table-column prop="createTime" label="审核时间"> </el-table-column> <el-table-column prop="createTime" label="审核时间">
</el-table-column>
</el-table> </el-table>
<div class="cell"> <div class="cell">
<p class="label">是否享受过相关政策</p> <p class="label">是否享受过相关政策</p>
<p :class="['value', viewDetail.enjoyFlag == true ? 'value2' : 'value1']">{{ viewDetail.enjoyFlag ? <p
'否' : '是' :class="[
}}</p> 'value',
viewDetail.enjoyFlag == true ? 'value2' : 'value1',
]"
>
{{ viewDetail.enjoyFlag ? "否" : "是" }}
</p>
</div> </div>
<!-- 新增功能end --> <!-- 新增功能end -->
<div class="cell"> <div class="cell">
...@@ -98,8 +188,9 @@ ...@@ -98,8 +188,9 @@
<p class="label">实施主体</p> <p class="label">实施主体</p>
<p class="value"> <p class="value">
{{ {{
this.$route.query.departmentCode == "10000031" ? this.realEstateArea + '住建局' : this.$route.query.departmentCode == "10000031"
this.realEstateArea + '住建窗口' ? this.realEstateArea + "住建局"
: this.realEstateArea + "住建窗口"
}} }}
</p> </p>
</div> </div>
...@@ -126,9 +217,14 @@ ...@@ -126,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" v-for="(item, index) in viewDetail.idCardPicture"
:z-index="7777777" :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>
...@@ -143,23 +239,39 @@ ...@@ -143,23 +239,39 @@
<div class="cell"> <div class="cell">
<p class="label">银行卡照片</p> <p class="label">银行卡照片</p>
<p class="value"> <p class="value">
<el-image v-for="(item, index) in viewDetail.bankCardPicture" :key="index" <el-image
style="width: 100px; height: 100px; margin-right: 10px" :src="item.picture" v-for="(item, index) in viewDetail.bankCardPicture"
:z-index="7777777" :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">NO.{{ <p
viewDetail.deedBillCode class="value"
}}</p> v-if="viewDetail.deedBillCode && !viewDetail.secondDeedBillCode"
<p class="value" v-if="!viewDetail.deedBillCode && viewDetail.secondDeedBillCode">NO.{{ >
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 viewDetail.secondDeedBillCode
}}</p> }}
<p class="value" v-if="viewDetail.deedBillCode && viewDetail.secondDeedBillCode">NO.{{ </p>
viewDetail.deedBillCode
}}、NO.{{ viewDetail.secondDeedBillCode }}</p>
</div> </div>
<div class="cell"> <div class="cell">
<p class="label">缴纳契税金额(元)</p> <p class="label">缴纳契税金额(元)</p>
...@@ -192,33 +304,53 @@ ...@@ -192,33 +304,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" v-for="(item, index) in viewDetail.certificate"
:z-index="7777777" :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" v-for="(item, index) in viewDetail.contract"
:z-index="7777777" :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" v-for="(item, index) in viewDetail.voucher"
:z-index="7777777" :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">
...@@ -233,13 +365,23 @@ ...@@ -233,13 +365,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" <el-cascader
:show-all-levels="false" @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>
...@@ -258,7 +400,14 @@ import { changeList, setName, setTel, setCertNo } from "@/utils"; ...@@ -258,7 +400,14 @@ 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 },
...@@ -270,7 +419,7 @@ export default { ...@@ -270,7 +419,7 @@ export default {
phone: "", phone: "",
state: "", state: "",
departmentCode: "", departmentCode: "",
checkArealEstateArea: "" checkArealEstateArea: "",
}, },
stateList: [ stateList: [
{ {
...@@ -318,43 +467,43 @@ export default { ...@@ -318,43 +467,43 @@ export default {
{ {
state: 0, state: 0,
stateName: "待审核", stateName: "待审核",
type: "warning" type: "warning",
}, },
{ {
state: 1, state: 1,
stateName: "待复审", stateName: "待复审",
type: "warning" type: "warning",
}, },
{ {
state: 6, state: 6,
stateName: "已完成", stateName: "已完成",
type: "warning" type: "warning",
}, },
{ {
state: 2, state: 2,
stateName: "资料审核", stateName: "资料审核",
type: "warning" type: "warning",
}, },
{ {
state: 3, state: 3,
stateName: "卡号确认", stateName: "卡号确认",
type: "success" type: "success",
}, },
{ {
state: 4, state: 4,
stateName: "已驳回", stateName: "已驳回",
type: "danger" type: "danger",
}, },
{ {
state: 8, state: 8,
stateName: "初审通过", stateName: "初审通过",
type: "success" type: "success",
}, },
{ {
state: 9, state: 9,
stateName: "已驳回", stateName: "已驳回",
type: "danger" type: "danger",
} },
], ],
loading: false, loading: false,
tableData: [], tableData: [],
...@@ -362,27 +511,27 @@ export default { ...@@ -362,27 +511,27 @@ export default {
{ {
key: "code", key: "code",
label: "申请编号", label: "申请编号",
width: 200 width: 200,
}, },
{ {
key: "name", key: "name",
label: "企业联系人", label: "企业联系人",
width: 150 width: 150,
}, },
{ {
key: "phone", key: "phone",
label: "手机号", label: "手机号",
width: 150 width: 150,
}, },
{ {
key: "guideName", key: "guideName",
label: "事项名称", label: "事项名称",
width: 150 width: 150,
}, },
{ {
key: "realEstateArea", key: "realEstateArea",
label: "不动产坐落辖市区", label: "不动产坐落辖市区",
width: 150 width: 150,
}, },
{ {
key: "departmentName", key: "departmentName",
...@@ -393,13 +542,13 @@ export default { ...@@ -393,13 +542,13 @@ export default {
{ {
key: "createTime", key: "createTime",
label: "更新时间", label: "更新时间",
width: 160 width: 160,
} },
], ],
pagination: { pagination: {
total: 0, total: 0,
pageSize: 10, pageSize: 10,
currentPage: 1 currentPage: 1,
}, },
viewShow: false, viewShow: false,
viewDetail: {}, viewDetail: {},
...@@ -412,47 +561,53 @@ export default { ...@@ -412,47 +561,53 @@ export default {
realEstateArea: null, realEstateArea: null,
reassignmentShow: false, reassignmentShow: false,
params: { params: {
code: '', code: "",
checkArea: '', checkArea: "",
departmentCode: '10000031' departmentCode: "10000031",
}, },
checkAreaList: [ checkAreaList: [
{ {
label: '市区', label: "市区",
value: '市区', value: "市区",
children: [ children: [
{ {
label: '京口区', label: "京口区",
value: '京口区', value: "京口区",
}, { },
label: '润州区', {
value: '润州区', label: "润州区",
}, { value: "润州区",
label: '镇江高新区', },
value: '镇江高新区', {
}, { label: "镇江高新区",
label: '镇江新区-丁卯片区', value: "镇江高新区",
value: '镇江新区-丁卯片区', },
} {
] label: "镇江新区-丁卯片区",
}, { value: "镇江新区-丁卯片区",
label: '丹徒区', },
value: '丹徒区' ],
}, { },
label: '镇江新区', {
value: '镇江新区', label: "丹徒区",
value: "丹徒区",
},
{
label: "镇江新区",
value: "镇江新区",
children: [ children: [
{ {
label: '大港片区', label: "大港片区",
value: '大港片区', value: "大港片区",
} },
]
}, {
label: '句容市',
value: '句容市'
}
], ],
departmentName: '', },
{
label: "句容市",
value: "句容市",
},
],
departmentName: "",
areaList: [ areaList: [
{ {
id: "", id: "",
...@@ -492,19 +647,21 @@ export default { ...@@ -492,19 +647,21 @@ export default {
watch: { watch: {
$route() { $route() {
if (this.$route) { if (this.$route) {
this.userName = localStorage.getItem('userName'); this.userName = localStorage.getItem("userName");
// 10000027 人才窗口code 10000031 市财政局code退税办理 // 10000027 人才窗口code 10000031 市财政局code退税办理
this.searchForm.departmentCode = this.$route.query.departmentCode; this.searchForm.departmentCode = this.$route.query.departmentCode;
// realEstateArea: 市区、镇江新区、丹徒区 // realEstateArea: 市区、镇江新区、丹徒区
this.realEstateArea = this.$route.query.realEstateArea ? this.$route.query.realEstateArea : null this.realEstateArea = this.$route.query.realEstateArea
? this.$route.query.realEstateArea
: 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() {
...@@ -518,23 +675,23 @@ export default { ...@@ -518,23 +675,23 @@ export default {
pageNum: this.pagination.currentPage, pageNum: this.pagination.currentPage,
pageSize: this.pagination.pageSize, pageSize: this.pagination.pageSize,
checkArea: this.realEstateArea, checkArea: this.realEstateArea,
checkArealEstateArea: this.searchForm.checkArealEstateArea checkArealEstateArea: this.searchForm.checkArealEstateArea,
}; };
queryListDeedTax(parmas).then(res => { queryListDeedTax(parmas).then((res) => {
this.loading = false; this.loading = false;
if (res.success) { if (res.success) {
this.pagination.total = res.data.total; this.pagination.total = res.data.total;
if (res.data.total) { if (res.data.total) {
this.tableData = res.data.list.map(item => { this.tableData = res.data.list.map((item) => {
item.stateName = this.getSatusArr(item.state).stateName; item.stateName = this.getSatusArr(item.state).stateName;
item.type = this.getSatusArr(item.state).type; item.type = this.getSatusArr(item.state).type;
return item; return item;
}); });
if (localStorage.getItem('userName') == 'admin') { if (localStorage.getItem("userName") == "admin") {
this.tableData = changeList(this.tableData) this.tableData = changeList(this.tableData);
} }
} else { } else {
this.tableData = [] this.tableData = [];
} }
} }
}); });
...@@ -565,15 +722,15 @@ export default { ...@@ -565,15 +722,15 @@ export default {
// }, // },
download(url) { download(url) {
// this.changeUrl(url) // this.changeUrl(url)
if (url.indexOf('81.69.44.115') !== -1) { if (url.indexOf("81.69.44.115") !== -1) {
// 测试环境 // 测试环境
window.location.href = url window.location.href = url;
} else { } else {
// 生产环境 // 生产环境
// http跨域 ---> https // http跨域 ---> https
// let a = url.substr(0, 4) + 's' + url.substr(4) // let a = url.substr(0, 4) + 's' + url.substr(4)
// window.location.href = a // window.location.href = a
window.location.href = url window.location.href = url;
} }
}, },
view(row) { view(row) {
...@@ -581,7 +738,7 @@ export default { ...@@ -581,7 +738,7 @@ export default {
code: row.code, code: row.code,
// matterType: row.matterType // matterType: row.matterType
}; };
queryDeedTaxDetailInfo(params).then(res => { queryDeedTaxDetailInfo(params).then((res) => {
// let arr = [] // let arr = []
// res.data.pictures.forEach((item) => { // res.data.pictures.forEach((item) => {
// let params = { // let params = {
...@@ -594,54 +751,65 @@ export default { ...@@ -594,54 +751,65 @@ 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;
});
})
}, },
record(row) { record(row) {
queryDeedTaxRecord({ code: row.code }).then((res) => { queryDeedTaxRecord({ code: row.code }).then((res) => {
let reason = [] let reason = [];
res.data.map((item) => { res.data.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.recordShow = true; this.recordShow = true;
}) });
}, },
dispatch(row) { dispatch(row) {
this.$prompt(`确定通过该申请的退税办理吗?`, "提示", { this.$prompt(`确定通过该申请的退税办理吗?`, "提示", {
...@@ -649,7 +817,7 @@ export default { ...@@ -649,7 +817,7 @@ export default {
cancelButtonText: "取消", cancelButtonText: "取消",
inputPlaceholder: "请输入退税金额(万元)", inputPlaceholder: "请输入退税金额(万元)",
inputType: "textarea", inputType: "textarea",
type: "warning" type: "warning",
}) })
.then(({ value }) => { .then(({ value }) => {
if (!value) { if (!value) {
...@@ -667,9 +835,9 @@ export default { ...@@ -667,9 +835,9 @@ export default {
// name: '市财政局', // name: '市财政局',
state: 6, state: 6,
reviewerId: row.reviewerId, reviewerId: row.reviewerId,
reason: '退税办理通过' reason: "退税办理通过",
}; };
updateDeedTaxState(params).then(res => { updateDeedTaxState(params).then((res) => {
if (res.success) { if (res.success) {
this.$message.success(`退税办理成功`); this.$message.success(`退税办理成功`);
this.init(); this.init();
...@@ -686,14 +854,15 @@ export default { ...@@ -686,14 +854,15 @@ export default {
cancelButtonText: "取消", cancelButtonText: "取消",
inputPlaceholder: "请输入原因", inputPlaceholder: "请输入原因",
inputType: "textarea", inputType: "textarea",
type: "warning" type: "warning",
}) })
.then(({ value }) => { .then(({ value }) => {
if (!value) { if (!value) {
this.$message.error("未输入原因"); this.$message.error("未输入原因");
return; return;
} }
queryDeedTaxDetailInfo({ code: row.code }).then(res => { queryDeedTaxDetailInfo({ code: row.code }).then((res) => {
if (res.success) { if (res.success) {
let params = { let params = {
code: row.code, code: row.code,
...@@ -706,9 +875,9 @@ export default { ...@@ -706,9 +875,9 @@ export default {
// name: '人才窗口', // name: '人才窗口',
state: 2, state: 2,
reviewerId: row.reviewerId, reviewerId: row.reviewerId,
reason: value reason: value,
}; };
updateDeedTaxState(params).then(res => { updateDeedTaxState(params).then((res) => {
if (res.success) { if (res.success) {
this.$message.success(`复审通过`); this.$message.success(`复审通过`);
this.init(); this.init();
...@@ -721,11 +890,15 @@ export default { ...@@ -721,11 +890,15 @@ export default {
// }) // })
// } // }
} else { } else {
this.$message.warning(res.msg || "该申请已被其他部门驳回,无法审核通过"); this.$message.warning(
res.msg || "该申请已被其他部门驳回,无法审核通过"
);
} }
}); });
} else {
this.$message.warning(res.msg);
} }
}) });
}) })
.catch(() => { .catch(() => {
// console.log("取消审核"); // console.log("取消审核");
...@@ -736,14 +909,14 @@ export default { ...@@ -736,14 +909,14 @@ export default {
confirmButtonText: "确定", confirmButtonText: "确定",
cancelButtonText: "取消", cancelButtonText: "取消",
inputPlaceholder: "请输入原因", inputPlaceholder: "请输入原因",
inputType: "textarea" inputType: "textarea",
}) })
.then(({ value }) => { .then(({ value }) => {
if (!value) { if (!value) {
this.$message.error("未输入原因"); this.$message.error("未输入原因");
return; return;
} }
queryDeedTaxDetailInfo({ code: row.code }).then(res => { queryDeedTaxDetailInfo({ code: row.code }).then((res) => {
if (res.success) { if (res.success) {
let params = { let params = {
code: row.code, code: row.code,
...@@ -755,102 +928,104 @@ export default { ...@@ -755,102 +928,104 @@ export default {
departmentName: this.departmentName, departmentName: this.departmentName,
state: 4, state: 4,
reviewerId: row.reviewerId, reviewerId: row.reviewerId,
reason: value reason: value,
}; };
updateDeedTaxState(params).then(res => { updateDeedTaxState(params).then((res) => {
console.log(res) console.log(res);
this.$message.success(`复审驳回成功`); this.$message.success(`复审驳回成功`);
this.init(); this.init();
}); });
} }
})
})
.catch(() => {
}); });
})
.catch(() => {});
}, },
drevokeeny(row) { drevokeeny(row) {
this.$confirm(`确定撤回该申请的审核结果吗?`, "提示", { this.$confirm(`确定撤回该申请的审核结果吗?`, "提示", {
confirmButtonText: "确定", confirmButtonText: "确定",
cancelButtonText: "取消", cancelButtonText: "取消",
type: "warning" type: "warning",
}).then(() => { }).then(() => {
let params = { let params = {
code: row.code, code: row.code,
phone: row.phone, phone: row.phone,
reviewerId: row.reviewerId, reviewerId: row.reviewerId,
state: row.state state: row.state,
} };
mainRevocation(params).then((res) => { mainRevocation(params).then((res) => {
if (res.code == 200 || res.success) { if (res.code == 200 || res.success) {
this.$message.success(res.data || '审核撤回成功'); this.$message.success(res.data || "审核撤回成功");
this.init(); this.init();
} else { } else {
this.$message.error(res.msg); this.$message.error(res.msg);
this.init(); this.init();
} }
}) });
}) });
}, },
reassignment(row) { reassignment(row) {
this.params.code = row.code; this.params.code = row.code;
this.params.checkArea = row.checkArea; this.params.checkArea = row.checkArea;
this.reassignmentShow = true this.reassignmentShow = true;
}, },
closeDialog() { closeDialog() {
this.reassignmentShow = false this.reassignmentShow = false;
this.params = { this.params = {
code: '', code: "",
checkArea: '', checkArea: "",
departmentCode: '10000031' departmentCode: "10000031",
} };
}, },
handleChange(value) { handleChange(value) {
if (value.length == 2) { if (value.length == 2) {
this.params.checkArea = value[1] this.params.checkArea = value[1];
} else { } else {
this.params.checkArea = value[0] this.params.checkArea = value[0];
} }
}, },
determine() { determine() {
this.$confirm(`确定改派该申请的审核部门吗?`, "提示", { this.$confirm(`确定改派该申请的审核部门吗?`, "提示", {
confirmButtonText: "确定", confirmButtonText: "确定",
cancelButtonText: "取消", cancelButtonText: "取消",
type: "warning" type: "warning",
}).then(() => { }).then(() => {
updateCheckArea(this.params).then((res) => { updateCheckArea(this.params).then((res) => {
if (res.success) { if (res.success) {
this.reassignmentShow = false this.reassignmentShow = false;
this.$message.success(`改派成功`); this.$message.success(`改派成功`);
this.init(); this.init();
} else { } else {
this.$message.warning(res.msg || "该申请已被其他部门驳回,无法审核通过"); this.$message.warning(
res.msg || "该申请已被其他部门驳回,无法审核通过"
);
} }
}) });
}) });
}, },
getSatusArr(state) { getSatusArr(state) {
return this.stateList.filter(item => { return this.stateList.filter((item) => {
return item.state === state; return item.state === state;
})[0]; })[0];
}, },
getSatusArr1(state) { getSatusArr1(state) {
return this.stateList1.filter(item => { return this.stateList1.filter((item) => {
return item.state === state; return item.state === state;
})[0]; })[0];
} },
}, },
created() { created() {
this.userName = localStorage.getItem('userName'); this.userName = localStorage.getItem("userName");
// 10000027 人才窗口code 10000031 市财政局code退税办理 // 10000027 人才窗口code 10000031 市财政局code退税办理
this.searchForm.departmentCode = this.$route.query.departmentCode; this.searchForm.departmentCode = this.$route.query.departmentCode;
// realEstateArea: 市区、镇江新区、丹徒区 // realEstateArea: 市区、镇江新区、丹徒区
this.realEstateArea = this.$route.query.realEstateArea ? this.$route.query.realEstateArea : null this.realEstateArea = this.$route.query.realEstateArea
? this.$route.query.realEstateArea
: null;
// departmentName: 审核部门名称(左侧列表) // departmentName: 审核部门名称(左侧列表)
this.departmentName = this.$route.query.departmentName this.departmentName = this.$route.query.departmentName;
this.init(); 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
label="不动产坐落辖市区"
v-if="
this.realEstateArea == '市区' || this.realEstateArea == '市区' ||
(this.searchForm.departmentCode == '10000032' && (this.searchForm.departmentCode == '10000032' &&
this.realEstateArea != '句容市') this.realEstateArea != '句容市')
"> "
<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-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
type="primary"
v-if="
this.searchForm.departmentCode == '10000033' || this.searchForm.departmentCode == '10000033' ||
this.searchForm.departmentCode == '10000031' this.searchForm.departmentCode == '10000031'
" @click="downLoadShow = true">导出 "
@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
v-if="
(scope.row.reviewerState == 9 && scope.row.state == 4) || (scope.row.reviewerState == 9 && scope.row.state == 4) ||
((scope.row.state == 0 || scope.row.state == 1) && ((scope.row.state == 0 || scope.row.state == 1) &&
scope.row.reviewerState == 8) scope.row.reviewerState == 8)
" type="info" size="mini" round @click="drevokeeny(scope.row)">撤销 "
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
:class="[
'value', 'value',
viewDetail.enjoyFlag == true ? 'value2' : 'value1', 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
}} }}
...@@ -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);
...@@ -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,
...@@ -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,7 +971,7 @@ export default { ...@@ -809,7 +971,7 @@ 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 || ""; // 税务
...@@ -877,8 +1039,9 @@ export default { ...@@ -877,8 +1039,9 @@ 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) => {
console.log(res);
if (res.success) { if (res.success) {
let params = { let params = {
code: that.rowDetail.code, code: that.rowDetail.code,
...@@ -891,7 +1054,8 @@ export default { ...@@ -891,7 +1054,8 @@ export default {
that.init(); 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
......
<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
: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="this.realEstateArea == '市区'"> <el-form-item
<el-select v-model="searchForm.checkArealEstateArea" placeholder="请选择不动产坐落辖市区" @change="onSubmit" label="不动产坐落辖市区"
size="medium"> v-if="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>
...@@ -22,20 +47,30 @@ ...@@ -22,20 +47,30 @@
<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" <table-template
:pagination="pagination" @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.departmentCode == "10000031" ? this.realEstateArea + '住建局' : this.$route.query.departmentCode == "10000031"
this.realEstateArea + '住建窗口' ? this.realEstateArea + "住建局"
: this.realEstateArea + "住建窗口"
}} }}
</template> </template>
</el-table-column> </el-table-column>
...@@ -43,36 +78,93 @@ ...@@ -43,36 +78,93 @@
<template slot-scope="scope"> <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 == 0">待审核</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 || scope.row.state == 3">待退税办理</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="danger" v-if="scope.row.state == 4">已驳回</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>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column fixed="right" label="操作" width="380" align="center"> <el-table-column fixed="right" label="操作" width="520" 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.state == 1 && searchForm.departmentCode == '10000027'" type="success" <el-button
size="mini" round @click="pass(scope.row)">通过 v-if="
scope.row.state == 1 && searchForm.departmentCode == '10000027'
"
type="success"
size="mini"
round
@click="pass(scope.row)"
>通过
</el-button> </el-button>
<el-button v-if="scope.row.state == 1 && searchForm.departmentCode == '10000027'" type="danger" <el-button
size="mini" round @click="deny(scope.row)">拒绝 v-if="
scope.row.state == 1 && searchForm.departmentCode == '10000027'
"
type="danger"
size="mini"
round
@click="deny(scope.row)"
>拒绝
</el-button> </el-button>
<el-button v-if="scope.row.flag == true && searchForm.departmentCode == '10000027'" type="info" <el-button
size="mini" round @click="drevokeeny(scope.row)">撤销 v-if="
scope.row.flag == true &&
searchForm.departmentCode == '10000027'
"
type="info"
size="mini"
round
@click="drevokeeny(scope.row)"
>撤销
</el-button> </el-button>
<!-- <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 &&
scope.row.state != 4 &&
scope.row.fileUrl &&
searchForm.departmentCode == '10000027'
"
type="success"
size="mini"
round
@click="download(scope.row.fileUrl)"
>下载申请表</el-button
>
<el-button
v-if="searchForm.departmentCode == '10000027'"
type="warning"
size="mini"
round
@click="downloadFamily(scope.row.familyCodeFile)"
>下载家庭码申请表</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%">
...@@ -81,13 +173,19 @@ ...@@ -81,13 +173,19 @@
<el-table-column prop="state" label="审核状态" width="180"> <el-table-column prop="state" label="审核状态" width="180">
</el-table-column> </el-table-column>
<el-table-column prop="reason" label="审核意见"> </el-table-column> <el-table-column prop="reason" label="审核意见"> </el-table-column>
<el-table-column prop="createTime" label="审核时间"> </el-table-column> <el-table-column prop="createTime" label="审核时间">
</el-table-column>
</el-table> </el-table>
<div class="cell"> <div class="cell">
<p class="label">是否享受过相关政策</p> <p class="label">是否享受过相关政策</p>
<p :class="['value', viewDetail.enjoyFlag == true ? 'value2' : 'value1']">{{ viewDetail.enjoyFlag ? <p
'否' : '是' :class="[
}}</p> 'value',
viewDetail.enjoyFlag == true ? 'value2' : 'value1',
]"
>
{{ viewDetail.enjoyFlag ? "否" : "是" }}
</p>
</div> </div>
<!-- 新增功能end --> <!-- 新增功能end -->
<div class="cell"> <div class="cell">
...@@ -98,8 +196,9 @@ ...@@ -98,8 +196,9 @@
<p class="label">实施主体</p> <p class="label">实施主体</p>
<p class="value"> <p class="value">
{{ {{
this.$route.query.departmentCode == "10000031" ? this.realEstateArea + '住建局' : this.$route.query.departmentCode == "10000031"
this.realEstateArea + '住建窗口' ? this.realEstateArea + "住建局"
: this.realEstateArea + "住建窗口"
}} }}
</p> </p>
</div> </div>
...@@ -126,9 +225,14 @@ ...@@ -126,9 +225,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" v-for="(item, index) in viewDetail.idCardPicture"
:z-index="7777777" :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>
...@@ -143,23 +247,39 @@ ...@@ -143,23 +247,39 @@
<div class="cell"> <div class="cell">
<p class="label">银行卡照片</p> <p class="label">银行卡照片</p>
<p class="value"> <p class="value">
<el-image v-for="(item, index) in viewDetail.bankCardPicture" :key="index" <el-image
style="width: 100px; height: 100px; margin-right: 10px" :src="item.picture" v-for="(item, index) in viewDetail.bankCardPicture"
:z-index="7777777" :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">NO.{{ <p
viewDetail.deedBillCode class="value"
}}</p> v-if="viewDetail.deedBillCode && !viewDetail.secondDeedBillCode"
<p class="value" v-if="!viewDetail.deedBillCode && viewDetail.secondDeedBillCode">NO.{{ >
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 viewDetail.secondDeedBillCode
}}</p> }}
<p class="value" v-if="viewDetail.deedBillCode && viewDetail.secondDeedBillCode">NO.{{ </p>
viewDetail.deedBillCode
}}、NO.{{ viewDetail.secondDeedBillCode }}</p>
</div> </div>
<div class="cell"> <div class="cell">
<p class="label">缴纳契税金额(元)</p> <p class="label">缴纳契税金额(元)</p>
...@@ -192,33 +312,53 @@ ...@@ -192,33 +312,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" v-for="(item, index) in viewDetail.certificate"
:z-index="7777777" :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" v-for="(item, index) in viewDetail.contract"
:z-index="7777777" :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" v-for="(item, index) in viewDetail.voucher"
:z-index="7777777" :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">
...@@ -233,13 +373,23 @@ ...@@ -233,13 +373,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" <el-cascader
:show-all-levels="false" @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>
...@@ -258,14 +408,14 @@ import { changeList, setName, setTel, setCertNo } from "@/utils"; ...@@ -258,14 +408,14 @@ 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() {
...@@ -276,7 +426,7 @@ export default { ...@@ -276,7 +426,7 @@ export default {
phone: "", phone: "",
state: "", state: "",
departmentCode: "", departmentCode: "",
checkArealEstateArea: "" checkArealEstateArea: "",
}, },
stateList: [ stateList: [
{ {
...@@ -324,43 +474,43 @@ export default { ...@@ -324,43 +474,43 @@ export default {
{ {
state: 0, state: 0,
stateName: "待审核", stateName: "待审核",
type: "warning" type: "warning",
}, },
{ {
state: 1, state: 1,
stateName: "待复审", stateName: "待复审",
type: "warning" type: "warning",
}, },
{ {
state: 6, state: 6,
stateName: "已完成", stateName: "已完成",
type: "warning" type: "warning",
}, },
{ {
state: 2, state: 2,
stateName: "资料审核", stateName: "资料审核",
type: "warning" type: "warning",
}, },
{ {
state: 3, state: 3,
stateName: "卡号确认", stateName: "卡号确认",
type: "success" type: "success",
}, },
{ {
state: 4, state: 4,
stateName: "已驳回", stateName: "已驳回",
type: "danger" type: "danger",
}, },
{ {
state: 8, state: 8,
stateName: "初审通过", stateName: "初审通过",
type: "success" type: "success",
}, },
{ {
state: 9, state: 9,
stateName: "已驳回", stateName: "已驳回",
type: "danger" type: "danger",
} },
], ],
loading: false, loading: false,
tableData: [], tableData: [],
...@@ -368,27 +518,27 @@ export default { ...@@ -368,27 +518,27 @@ export default {
{ {
key: "code", key: "code",
label: "申请编号", label: "申请编号",
width: 200 width: 200,
}, },
{ {
key: "name", key: "name",
label: "企业联系人", label: "企业联系人",
width: 150 width: 150,
}, },
{ {
key: "phone", key: "phone",
label: "手机号", label: "手机号",
width: 150 width: 150,
}, },
{ {
key: "guideName", key: "guideName",
label: "事项名称", label: "事项名称",
width: 150 width: 150,
}, },
{ {
key: "realEstateArea", key: "realEstateArea",
label: "不动产坐落辖市区", label: "不动产坐落辖市区",
width: 150 width: 150,
}, },
{ {
key: "departmentName", key: "departmentName",
...@@ -399,13 +549,13 @@ export default { ...@@ -399,13 +549,13 @@ export default {
{ {
key: "createTime", key: "createTime",
label: "更新时间", label: "更新时间",
width: 160 width: 160,
} },
], ],
pagination: { pagination: {
total: 0, total: 0,
pageSize: 10, pageSize: 10,
currentPage: 1 currentPage: 1,
}, },
viewShow: false, viewShow: false,
viewDetail: {}, viewDetail: {},
...@@ -418,47 +568,53 @@ export default { ...@@ -418,47 +568,53 @@ export default {
realEstateArea: null, realEstateArea: null,
reassignmentShow: false, reassignmentShow: false,
params: { params: {
code: '', code: "",
checkArea: '', checkArea: "",
departmentCode: '10000031' departmentCode: "10000031",
}, },
checkAreaList: [ checkAreaList: [
{ {
label: '市区', label: "市区",
value: '市区', value: "市区",
children: [ children: [
{ {
label: '京口区', label: "京口区",
value: '京口区', value: "京口区",
}, { },
label: '润州区', {
value: '润州区', label: "润州区",
}, { value: "润州区",
label: '镇江高新区', },
value: '镇江高新区', {
}, { label: "镇江高新区",
label: '镇江新区-丁卯片区', value: "镇江高新区",
value: '镇江新区-丁卯片区', },
} {
] label: "镇江新区-丁卯片区",
}, { value: "镇江新区-丁卯片区",
label: '丹徒区', },
value: '丹徒区' ],
}, { },
label: '镇江新区', {
value: '镇江新区', label: "丹徒区",
value: "丹徒区",
},
{
label: "镇江新区",
value: "镇江新区",
children: [ children: [
{ {
label: '大港片区', label: "大港片区",
value: '大港片区', value: "大港片区",
} },
]
}, {
label: '句容市',
value: '句容市'
}
], ],
departmentName: '', },
{
label: "句容市",
value: "句容市",
},
],
departmentName: "",
areaList: [ areaList: [
{ {
id: "", id: "",
...@@ -498,19 +654,21 @@ export default { ...@@ -498,19 +654,21 @@ export default {
watch: { watch: {
$route() { $route() {
if (this.$route) { if (this.$route) {
this.userName = localStorage.getItem('userName'); this.userName = localStorage.getItem("userName");
// 10000027 人才窗口code 10000031 市财政局code退税办理 // 10000027 人才窗口code 10000031 市财政局code退税办理
this.searchForm.departmentCode = this.$route.query.departmentCode; this.searchForm.departmentCode = this.$route.query.departmentCode;
// realEstateArea: 市区、镇江新区、丹徒区 // realEstateArea: 市区、镇江新区、丹徒区
this.realEstateArea = this.$route.query.realEstateArea ? this.$route.query.realEstateArea : null this.realEstateArea = this.$route.query.realEstateArea
? this.$route.query.realEstateArea
: 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() {
...@@ -524,23 +682,23 @@ export default { ...@@ -524,23 +682,23 @@ export default {
pageNum: this.pagination.currentPage, pageNum: this.pagination.currentPage,
pageSize: this.pagination.pageSize, pageSize: this.pagination.pageSize,
checkArea: this.realEstateArea, checkArea: this.realEstateArea,
checkArealEstateArea: this.searchForm.checkArealEstateArea checkArealEstateArea: this.searchForm.checkArealEstateArea,
}; };
queryMultipleListDeedTax(parmas).then(res => { queryMultipleListDeedTax(parmas).then((res) => {
this.loading = false; this.loading = false;
if (res.success) { if (res.success) {
this.pagination.total = res.data.total; this.pagination.total = res.data.total;
if (res.data.total) { if (res.data.total) {
this.tableData = res.data.list.map(item => { this.tableData = res.data.list.map((item) => {
item.stateName = this.getSatusArr(item.state).stateName; item.stateName = this.getSatusArr(item.state).stateName;
item.type = this.getSatusArr(item.state).type; item.type = this.getSatusArr(item.state).type;
return item; return item;
}); });
if (localStorage.getItem('userName') == 'admin') { if (localStorage.getItem("userName") == "admin") {
this.tableData = changeList(this.tableData) this.tableData = changeList(this.tableData);
} }
} else { } else {
this.tableData = [] this.tableData = [];
} }
} }
}); });
...@@ -569,17 +727,29 @@ export default { ...@@ -569,17 +727,29 @@ export default {
// } // }
// }) // })
// }, // },
downloadFamily(url) {
if (url) {
if (url.indexOf("81.69.44.115") !== -1) {
// 测试环境
window.location.href = url;
} else {
window.location.href = url;
}
} else {
this.$message.warning("家庭码申请表尚未初始化");
}
},
download(url) { download(url) {
// this.changeUrl(url) // this.changeUrl(url)
if (url.indexOf('81.69.44.115') !== -1) { if (url.indexOf("81.69.44.115") !== -1) {
// 测试环境 // 测试环境
window.location.href = url window.location.href = url;
} else { } else {
// 生产环境 // 生产环境
// http跨域 ---> https // http跨域 ---> https
// let a = url.substr(0, 4) + 's' + url.substr(4) // let a = url.substr(0, 4) + 's' + url.substr(4)
// window.location.href = a // window.location.href = a
window.location.href = url window.location.href = url;
} }
}, },
view(row) { view(row) {
...@@ -587,7 +757,7 @@ export default { ...@@ -587,7 +757,7 @@ export default {
code: row.code, code: row.code,
// matterType: row.matterType // matterType: row.matterType
}; };
queryMultipleDeedTaxDetailInfo(params).then(res => { queryMultipleDeedTaxDetailInfo(params).then((res) => {
// let arr = [] // let arr = []
// res.data.pictures.forEach((item) => { // res.data.pictures.forEach((item) => {
// let params = { // let params = {
...@@ -600,54 +770,65 @@ export default { ...@@ -600,54 +770,65 @@ 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;
});
})
}, },
record(row) { record(row) {
queryMultipleDeedTaxRecord({ code: row.code }).then((res) => { queryMultipleDeedTaxRecord({ code: row.code }).then((res) => {
let reason = [] let reason = [];
res.data.map((item) => { res.data.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.recordShow = true; this.recordShow = true;
}) });
}, },
dispatch(row) { dispatch(row) {
this.$prompt(`确定通过该申请的退税办理吗?`, "提示", { this.$prompt(`确定通过该申请的退税办理吗?`, "提示", {
...@@ -655,7 +836,7 @@ export default { ...@@ -655,7 +836,7 @@ export default {
cancelButtonText: "取消", cancelButtonText: "取消",
inputPlaceholder: "请输入退税金额(万元)", inputPlaceholder: "请输入退税金额(万元)",
inputType: "textarea", inputType: "textarea",
type: "warning" type: "warning",
}) })
.then(({ value }) => { .then(({ value }) => {
if (!value) { if (!value) {
...@@ -673,9 +854,9 @@ export default { ...@@ -673,9 +854,9 @@ export default {
// name: '市财政局', // name: '市财政局',
state: 6, state: 6,
reviewerId: row.reviewerId, reviewerId: row.reviewerId,
reason: '退税办理通过' reason: "退税办理通过",
}; };
updateMultipleDeedTaxState(params).then(res => { updateMultipleDeedTaxState(params).then((res) => {
if (res.success) { if (res.success) {
this.$message.success(`退税办理成功`); this.$message.success(`退税办理成功`);
this.init(); this.init();
...@@ -692,14 +873,16 @@ export default { ...@@ -692,14 +873,16 @@ export default {
cancelButtonText: "取消", cancelButtonText: "取消",
inputPlaceholder: "请输入原因", inputPlaceholder: "请输入原因",
inputType: "textarea", inputType: "textarea",
type: "warning" type: "warning",
}) })
.then(({ value }) => { .then(({ value }) => {
if (!value) { if (!value) {
this.$message.error("未输入原因"); this.$message.error("未输入原因");
return; return;
} }
queryMultipleDeedTaxDetailInfo({ code: row.code }).then(res => { console.log(value);
queryMultipleDeedTaxDetailInfo({ code: row.code }).then((res) => {
console.log(res);
if (res.success) { if (res.success) {
let params = { let params = {
code: row.code, code: row.code,
...@@ -712,9 +895,9 @@ export default { ...@@ -712,9 +895,9 @@ export default {
// name: '人才窗口', // name: '人才窗口',
state: 2, state: 2,
reviewerId: row.reviewerId, reviewerId: row.reviewerId,
reason: value reason: value,
}; };
updateMultipleDeedTaxState(params).then(res => { updateMultipleDeedTaxState(params).then((res) => {
if (res.success) { if (res.success) {
this.$message.success(`复审通过`); this.$message.success(`复审通过`);
this.init(); this.init();
...@@ -727,11 +910,15 @@ export default { ...@@ -727,11 +910,15 @@ export default {
// }) // })
// } // }
} else { } else {
this.$message.warning(res.msg || "该申请已被其他部门驳回,无法审核通过"); this.$message.warning(
res.msg || "该申请已被其他部门驳回,无法审核通过"
);
} }
}); });
} else {
this.$message.warning(res.msg);
} }
}) });
}) })
.catch(() => { .catch(() => {
// console.log("取消审核"); // console.log("取消审核");
...@@ -742,14 +929,14 @@ export default { ...@@ -742,14 +929,14 @@ export default {
confirmButtonText: "确定", confirmButtonText: "确定",
cancelButtonText: "取消", cancelButtonText: "取消",
inputPlaceholder: "请输入原因", inputPlaceholder: "请输入原因",
inputType: "textarea" inputType: "textarea",
}) })
.then(({ value }) => { .then(({ value }) => {
if (!value) { if (!value) {
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,
...@@ -761,102 +948,104 @@ export default { ...@@ -761,102 +948,104 @@ export default {
departmentName: this.departmentName, departmentName: this.departmentName,
state: 4, state: 4,
reviewerId: row.reviewerId, reviewerId: row.reviewerId,
reason: value reason: value,
}; };
updateMultipleDeedTaxState(params).then(res => { updateMultipleDeedTaxState(params).then((res) => {
console.log(res) console.log(res);
this.$message.success(`复审驳回成功`); this.$message.success(`复审驳回成功`);
this.init(); this.init();
}); });
} }
})
})
.catch(() => {
}); });
})
.catch(() => {});
}, },
drevokeeny(row) { drevokeeny(row) {
this.$confirm(`确定撤回该申请的审核结果吗?`, "提示", { this.$confirm(`确定撤回该申请的审核结果吗?`, "提示", {
confirmButtonText: "确定", confirmButtonText: "确定",
cancelButtonText: "取消", cancelButtonText: "取消",
type: "warning" type: "warning",
}).then(() => { }).then(() => {
let params = { let params = {
code: row.code, code: row.code,
phone: row.phone, phone: row.phone,
reviewerId: row.reviewerId, reviewerId: row.reviewerId,
state: row.state state: row.state,
} };
mainMultipleRevocation(params).then((res) => { mainMultipleRevocation(params).then((res) => {
if (res.code == 200 || res.success) { if (res.code == 200 || res.success) {
this.$message.success(res.data || '审核撤回成功'); this.$message.success(res.data || "审核撤回成功");
this.init(); this.init();
} else { } else {
this.$message.error(res.msg); this.$message.error(res.msg);
this.init(); this.init();
} }
}) });
}) });
}, },
reassignment(row) { reassignment(row) {
this.params.code = row.code; this.params.code = row.code;
this.params.checkArea = row.checkArea; this.params.checkArea = row.checkArea;
this.reassignmentShow = true this.reassignmentShow = true;
}, },
closeDialog() { closeDialog() {
this.reassignmentShow = false this.reassignmentShow = false;
this.params = { this.params = {
code: '', code: "",
checkArea: '', checkArea: "",
departmentCode: '10000031' departmentCode: "10000031",
} };
}, },
handleChange(value) { handleChange(value) {
if (value.length == 2) { if (value.length == 2) {
this.params.checkArea = value[1] this.params.checkArea = value[1];
} else { } else {
this.params.checkArea = value[0] this.params.checkArea = value[0];
} }
}, },
determine() { determine() {
this.$confirm(`确定改派该申请的审核部门吗?`, "提示", { this.$confirm(`确定改派该申请的审核部门吗?`, "提示", {
confirmButtonText: "确定", confirmButtonText: "确定",
cancelButtonText: "取消", cancelButtonText: "取消",
type: "warning" type: "warning",
}).then(() => { }).then(() => {
updateMultipleCheckArea(this.params).then((res) => { updateMultipleCheckArea(this.params).then((res) => {
if (res.success) { if (res.success) {
this.reassignmentShow = false this.reassignmentShow = false;
this.$message.success(`改派成功`); this.$message.success(`改派成功`);
this.init(); this.init();
} else { } else {
this.$message.warning(res.msg || "该申请已被其他部门驳回,无法审核通过"); this.$message.warning(
res.msg || "该申请已被其他部门驳回,无法审核通过"
);
} }
}) });
}) });
}, },
getSatusArr(state) { getSatusArr(state) {
return this.stateList.filter(item => { return this.stateList.filter((item) => {
return item.state === state; return item.state === state;
})[0]; })[0];
}, },
getSatusArr1(state) { getSatusArr1(state) {
return this.stateList1.filter(item => { return this.stateList1.filter((item) => {
return item.state === state; return item.state === state;
})[0]; })[0];
} },
}, },
created() { created() {
this.userName = localStorage.getItem('userName'); this.userName = localStorage.getItem("userName");
// 10000027 人才窗口code 10000031 市财政局code退税办理 // 10000027 人才窗口code 10000031 市财政局code退税办理
this.searchForm.departmentCode = this.$route.query.departmentCode; this.searchForm.departmentCode = this.$route.query.departmentCode;
// realEstateArea: 市区、镇江新区、丹徒区 // realEstateArea: 市区、镇江新区、丹徒区
this.realEstateArea = this.$route.query.realEstateArea ? this.$route.query.realEstateArea : null this.realEstateArea = this.$route.query.realEstateArea
? this.$route.query.realEstateArea
: null;
// departmentName: 审核部门名称(左侧列表) // departmentName: 审核部门名称(左侧列表)
this.departmentName = this.$route.query.departmentName this.departmentName = this.$route.query.departmentName;
this.init(); 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
label="不动产坐落辖市区"
v-if="
this.realEstateArea == '市区' || this.realEstateArea == '市区' ||
(this.searchForm.departmentCode == '10000032' && (this.searchForm.departmentCode == '10000032' &&
this.realEstateArea != '句容市') this.realEstateArea != '句容市')
"> "
<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-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
type="primary"
v-if="
this.searchForm.departmentCode == '10000033' || this.searchForm.departmentCode == '10000033' ||
this.searchForm.departmentCode == '10000031' this.searchForm.departmentCode == '10000031'
" @click="downLoadShow = true">导出 "
@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
v-if="
(scope.row.reviewerState == 9 && scope.row.state == 4) || (scope.row.reviewerState == 9 && scope.row.state == 4) ||
((scope.row.state == 0 || scope.row.state == 1) && ((scope.row.state == 0 || scope.row.state == 1) &&
scope.row.reviewerState == 8) scope.row.reviewerState == 8)
" type="info" size="mini" round @click="drevokeeny(scope.row)">撤销 "
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
:class="[
'value', 'value',
viewDetail.enjoyFlag == true ? 'value2' : 'value1', 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
}} }}
...@@ -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);
...@@ -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,
...@@ -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,7 +973,7 @@ export default { ...@@ -811,7 +973,7 @@ 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 || ""; // 税务
...@@ -879,8 +1041,9 @@ export default { ...@@ -879,8 +1041,9 @@ 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) => {
console.log(res);
if (res.success) { if (res.success) {
let params = { let params = {
code: that.rowDetail.code, code: that.rowDetail.code,
...@@ -893,7 +1056,8 @@ export default { ...@@ -893,7 +1056,8 @@ export default {
that.init(); 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
......
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