Commit 6e00f0dc by @zhang-bin-1

gx

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