Commit 6e00f0dc by @zhang-bin-1

gx

parent 28187334
...@@ -105,4 +105,13 @@ export function queryListDeedTax(params) { ...@@ -105,4 +105,13 @@ export function queryListDeedTax(params) {
url: `${config.proxy}deedTax/userExport`, url: `${config.proxy}deedTax/userExport`,
responseType: 'blob' responseType: 'blob'
}) })
}
/**
* 契税补贴数据推送(至市契税)
*/
export function dtSubsidy(params) {
return api(Object.assign(formatParams('POST', params), {
url: `/admin-api/deedTax/dtSubsidy`
}))
} }
\ No newline at end of file
...@@ -168,4 +168,13 @@ export function mattersHousingReason(params) { ...@@ -168,4 +168,13 @@ export function mattersHousingReason(params) {
return api1(Object.assign(formatParams1('POST', params), { return api1(Object.assign(formatParams1('POST', params), {
url: `${config.proxy}talent/mattersHousingReason` url: `${config.proxy}talent/mattersHousingReason`
})) }))
}
/**
* 契税补贴数据推送(至市契税)
*/
export function dtSubsidy(params) {
return api(Object.assign(formatParams('POST', params), {
url: `/admin-api/deedTax/dtSubsidy`
}))
} }
\ No newline at end of file
const domain = { const domain = {
// dev: "http://192.168.3.144:8881", // 姚镇接口 dev: "http://192.168.3.144:8881", // 姚镇接口
// dev: "http://81.69.231.72:8881", // 测试接口 // dev: "http://81.69.231.72:8881", // 测试接口
// dev: "https://smart-zj.cn:55901/smartExam/", // 正式接口 // dev: "https://smart-zj.cn:55901/smartExam/", // 正式接口
dev: "https://exam.smart-zj.cn:9100/smartExam/", // 新正式接口 // dev: "https://exam.smart-zj.cn:9100/smartExam/", // 新正式接口
}; };
export const baseUrl = domain.dev; export const baseUrl = domain.dev;
...@@ -5,8 +5,8 @@ import { getToken } from "@/utils/auth"; ...@@ -5,8 +5,8 @@ import { getToken } from "@/utils/auth";
const config = { const config = {
// proxy: 'http://192.168.3.144:9089/', // 本地 // proxy: 'http://192.168.3.144:9089/', // 本地
// proxy: "https://www.smart-zj.cn:55901/exmManage/", // 旧线上地址 // proxy: "https://www.smart-zj.cn:55901/exmManage/", // 旧线上地址
proxy: "https://exam.smart-zj.cn:9100/exam/", // 新线上地址 // proxy: "https://exam.smart-zj.cn:9100/exam/", // 新线上地址
// proxy: "http://81.69.231.72:9089/", // 测试地址 proxy: "http://81.69.231.72:9089/", // 测试地址
// proxy: "http://36.156.31.171:9100/exam/", // proxy: "http://36.156.31.171:9100/exam/",
}; };
......
...@@ -42,7 +42,6 @@ ...@@ -42,7 +42,6 @@
<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.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>
...@@ -64,7 +63,7 @@ ...@@ -64,7 +63,7 @@
size="mini" round @click="drevokeeny(scope.row)">撤销 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'" v-if="(scope.row.state == 3 || scope.row.state == 2) && searchForm.departmentCode == '10000031' && this.$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="scope.row.state != 0 && scope.row.state != 4 && scope.row.fileUrl && searchForm.departmentCode == '10000027'"
...@@ -693,27 +692,39 @@ export default { ...@@ -693,27 +692,39 @@ export default {
this.$message.error("未输入原因"); this.$message.error("未输入原因");
return; return;
} }
let params = { queryDeedTaxDetailInfo({ code: row.code }).then(res => {
code: row.code,
idCard: row.idCard,
phone: row.phone,
createTime: row.createTime,
checkArea: row.checkArea,
name: this.userName,
departmentName: this.departmentName,
// name: '人才窗口',
state: 2,
reviewerId: row.reviewerId,
reason: value
};
updateDeedTaxState(params).then(res => {
if (res.success) { if (res.success) {
this.$message.success(`复审通过`); let params = {
this.init(); code: row.code,
} else { idCard: res.data.idCard,
this.$message.warning(res.msg || "该申请已被其他部门驳回,无法审核通过"); phone: res.data.phone,
createTime: row.createTime,
checkArea: row.checkArea,
name: this.userName,
departmentName: this.departmentName,
// name: '人才窗口',
state: 2,
reviewerId: row.reviewerId,
reason: value
};
updateDeedTaxState(params).then(res => {
if (res.success) {
this.$message.success(`复审通过`);
this.init();
// if (this.$route.query.realEstateArea != '句容市') {
// dtSubsidy({ billType: 1, code: row.code }).then((res) => {
// console.log(res)
// if (!res.success) {
// this.$message.error(res.msg || '推送失败');
// }
// })
// }
} else {
this.$message.warning(res.msg || "该申请已被其他部门驳回,无法审核通过");
}
});
} }
}); })
}) })
.catch(() => { .catch(() => {
// console.log("取消审核"); // console.log("取消审核");
...@@ -731,24 +742,29 @@ export default { ...@@ -731,24 +742,29 @@ export default {
this.$message.error("未输入原因"); this.$message.error("未输入原因");
return; return;
} }
let params = { queryDeedTaxDetailInfo({ code: row.code }).then(res => {
code: row.code, if (res.success) {
idCard: row.idCard, let params = {
phone: row.phone, code: row.code,
createTime: row.createTime, idCard: res.data.idCard,
checkArea: row.checkArea, phone: res.data.phone,
name: this.userName, createTime: row.createTime,
departmentName: this.departmentName, checkArea: row.checkArea,
state: 4, name: this.userName,
reviewerId: row.reviewerId, departmentName: this.departmentName,
reason: value state: 4,
}; reviewerId: row.reviewerId,
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(() => {
}); });
......
...@@ -729,7 +729,7 @@ export default { ...@@ -729,7 +729,7 @@ export default {
if (res.success) { if (res.success) {
let params = { let params = {
code: row.code, code: row.code,
idCard: row.idCard, idCard: res.data.idCard,
phone: res.data.phone, phone: res.data.phone,
createTime: row.createTime, createTime: row.createTime,
checkArea: row.checkArea, checkArea: row.checkArea,
......
...@@ -72,6 +72,10 @@ ...@@ -72,6 +72,10 @@
<p :class="['value', viewDetail.enjoyFlag == true ? 'value1' : 'value2']">{{ viewDetail.enjoyFlag ? '是' : '否' <p :class="['value', viewDetail.enjoyFlag == true ? 'value1' : 'value2']">{{ viewDetail.enjoyFlag ? '是' : '否'
}}</p> }}</p>
</div> </div>
<div class="cell">
<p class="label">市契税系统</p>
<p class="value">{{ viewDetail.tradeStatus === 0 ? '未支付' : viewDetail.tradeStatus === 1 ? '已支付' : viewDetail.tradeStatus === 2 ? '不予发放' : '未审核' }}</p>
</div>
<!-- 新增功能end --> <!-- 新增功能end -->
<div class="cell"> <div class="cell">
<p class="label">事项类型</p> <p class="label">事项类型</p>
......
...@@ -64,6 +64,10 @@ ...@@ -64,6 +64,10 @@
<p :class="['value', viewDetail.enjoyFlag == true ? 'value1' : 'value2']">{{ viewDetail.enjoyFlag ? '是' : '否' <p :class="['value', viewDetail.enjoyFlag == true ? 'value1' : 'value2']">{{ viewDetail.enjoyFlag ? '是' : '否'
}}</p> }}</p>
</div> </div>
<div class="cell">
<p class="label">市契税系统</p>
<p class="value">{{ viewDetail.tradeStatus === 0 ? '未支付' : viewDetail.tradeStatus === 1 ? '已支付' : viewDetail.tradeStatus === 2 ? '不予发放' : '未审核' }}</p>
</div>
<!-- 新增end --> <!-- 新增end -->
<div class="cell"> <div class="cell">
<p class="label">事项类型</p> <p class="label">事项类型</p>
......
...@@ -139,6 +139,10 @@ ...@@ -139,6 +139,10 @@
<p :class="['value', viewDetail.enjoyFlag == true ? 'value1' : 'value2']">{{ viewDetail.enjoyFlag ? '是' : '否' <p :class="['value', viewDetail.enjoyFlag == true ? 'value1' : 'value2']">{{ viewDetail.enjoyFlag ? '是' : '否'
}}</p> }}</p>
</div> </div>
<div class="cell">
<p class="label">市契税系统</p>
<p class="value">{{ viewDetail.tradeStatus === 0 ? '未支付' : viewDetail.tradeStatus === 1 ? '已支付' : viewDetail.tradeStatus === 2 ? '不予发放' : '未审核' }}</p>
</div>
<!-- 新增end --> <!-- 新增end -->
<div class="cell"> <div class="cell">
<p class="label">事项类型</p> <p class="label">事项类型</p>
...@@ -288,7 +292,8 @@ import { ...@@ -288,7 +292,8 @@ import {
mattersHousingUpdate, mattersHousingUpdate,
mattersHousingGet, mattersHousingGet,
mattersGetReason, mattersGetReason,
mattersHousingReason mattersHousingReason,
// dtSubsidy
} from "@/api/policy"; } from "@/api/policy";
export default { export default {
...@@ -634,6 +639,12 @@ export default { ...@@ -634,6 +639,12 @@ export default {
if (res.success) { if (res.success) {
this.$message.success(`资料审核通过`); this.$message.success(`资料审核通过`);
this.init(); this.init();
// dtSubsidy({billType: 2,code: row.code}).then((res) => {
// console.log(res)
// if (!res.success) {
// this.$message.error(res.msg || '推送失败');
// }
// })
} }
}); });
}) })
......
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