Commit eb62e9e3 by songwenlu

gx

parent b94243f0
<template> <template>
<div id="app"> <div id="app">
<transition name="fade-transform" mode="out-in"> <transition
name="fade-transform"
mode="out-in"
>
<router-view /> <router-view />
</transition> </transition>
</div> </div>
...@@ -32,38 +35,15 @@ export default { ...@@ -32,38 +35,15 @@ export default {
userId: 37393, userId: 37393,
name: "124晚6565", name: "124晚6565",
realName: "张媛媛", realName: "张媛媛",
// idCardNo: "342601199503121817",
// idCardNo: "321111198502254219",
idCardNo: "32068219980926002X", idCardNo: "32068219980926002X",
// idCardNo: "DDfCYHcrBMRhvRt4AQKt+WfGq6l2uT5G",
// mobileNo: 13776475181,
// userId: 3182743,
// userId: 15237836350,
// name: "lXi375Ch1K4Q636",
// realName: "殷铭",
// idCardNo: "321102199408261015"
}; };
this.verify(JSON.stringify(userInfo)); this.verify(JSON.stringify(userInfo));
} }
// let userInfo = {
// mobileNo: 13900000000,
// userId: 373931,
// name: "124晚6565",F
// realName: "梁中全",
// idCardNo: "DDfCYHcrBMRhvRt4AQKt+WfGq6l2uT5G",
// };
// let userInfo = {
// mobileNo: 13900000000,
// userId: 37393,
// name: "124晚6565",
// realName: "孙辉",
// idCardNo: "DDfCYHcrBMRhvRt4AQKt+WfGq6l2uT5G",
// };
}, },
}, },
created() { created() {
// 测试模拟人员信息 // 测试模拟人员信息
this.init(); // this.init();
}, },
}; };
</script> </script>
......
...@@ -7,9 +7,9 @@ Vue.use(Toast); ...@@ -7,9 +7,9 @@ Vue.use(Toast);
const env = process.env.NODE_ENV === "development" ? "dev" : "prod"; const env = process.env.NODE_ENV === "development" ? "dev" : "prod";
const baseUrl = { const baseUrl = {
dev: "http://192.168.3.144:10010/", // dev: "http://192.168.3.144:10010/",
// dev: "http://81.69.231.72:10010/", // dev: "http://81.69.231.72:10010/",
// dev: "https://www.smart-zj.cn:55901/smartApp/", dev: "https://www.smart-zj.cn:55901/smartApp/",
// prod: 'http://81.69.231.72:9090/', // prod: 'http://81.69.231.72:9090/',
prod: "https://www.smart-zj.cn:55901/smartApp/", prod: "https://www.smart-zj.cn:55901/smartApp/",
......
...@@ -9,13 +9,20 @@ ...@@ -9,13 +9,20 @@
@click="jump(item.path, item.type)" @click="jump(item.path, item.type)"
> >
<div class="info"> <div class="info">
<img :src="item.imgUrl" alt="" /> <img
:src="item.imgUrl"
alt=""
/>
<div> <div>
<p class="name">{{ item.name }}</p> <p class="name">{{ item.name }}</p>
<p class="tips">{{ item.tips }}</p> <p class="tips">{{ item.tips }}</p>
</div> </div>
</div> </div>
<img class="icon" src="@/assets/common/enter_icon.png" alt="" /> <img
class="icon"
src="@/assets/common/enter_icon.png"
alt=""
/>
</div> </div>
</div> </div>
</div> </div>
...@@ -90,7 +97,7 @@ export default { ...@@ -90,7 +97,7 @@ export default {
const res = window.android.getUserInfo(); // 这是一个json字符串 const res = window.android.getUserInfo(); // 这是一个json字符串
sessionStorage.setItem("ZJCD-UserInfo", res); sessionStorage.setItem("ZJCD-UserInfo", res);
this.userInfo = JSON.parse(res); this.userInfo = JSON.parse(res);
sessionStorage.setItem('token', this.userInfo.token); sessionStorage.setItem("token", this.userInfo.token);
} else if (window.webkit) { } else if (window.webkit) {
window.webkit && window.webkit &&
window.webkit.messageHandlers.getUserInfo.postMessage("getUserInfo"); window.webkit.messageHandlers.getUserInfo.postMessage("getUserInfo");
...@@ -109,7 +116,7 @@ export default { ...@@ -109,7 +116,7 @@ export default {
getUserInfo(res) { getUserInfo(res) {
sessionStorage.setItem("ZJCD-UserInfo", res); sessionStorage.setItem("ZJCD-UserInfo", res);
this.userInfo = JSON.parse(res); this.userInfo = JSON.parse(res);
sessionStorage.setItem('token', this.userInfo.token); sessionStorage.setItem("token", this.userInfo.token);
}, },
}, },
mounted() { mounted() {
......
...@@ -537,7 +537,7 @@ import { ...@@ -537,7 +537,7 @@ import {
updateDeedTaxState, updateDeedTaxState,
queryUserApplyForRecord, queryUserApplyForRecord,
queryApplyingDeedTaxInfo, queryApplyingDeedTaxInfo,
idCardVerification // idCardVerification
} from "@/api/deedtax.js"; } from "@/api/deedtax.js";
// import { decryptByDES } from "@/utils/utils"; // import { decryptByDES } from "@/utils/utils";
...@@ -750,8 +750,8 @@ export default { ...@@ -750,8 +750,8 @@ export default {
}); });
}, },
jump() { jump() {
idCardVerification({idCard: this.userInfo.idCardNo}).then((res) => { // idCardVerification({idCard: this.userInfo.idCardNo}).then((res) => {
if (res.data) { // if (res.data) {
// let params = { // let params = {
// idCard: decryptByDES(this.userInfo.idCardNo, "MnuYbhGv"), // idCard: decryptByDES(this.userInfo.idCardNo, "MnuYbhGv"),
// }; // };
...@@ -806,14 +806,15 @@ export default { ...@@ -806,14 +806,15 @@ export default {
} }
} }
}); });
} else { // }
Dialog.confirm({ // else {
title: '提示', // Dialog.confirm({
messageAlign: 'left', // title: '提示',
message: "经系统查询,您已享受过相关政策补贴 ,不能再次申报契税补贴政策。如有异议请联系市财政窗口,地址:镇江市政务服务中心(冠城路8号工人大厦)二楼市财政局窗口,联系电话:0511-89881850", // messageAlign: 'left',
}) // message: "经系统查询,您已享受过相关政策补贴 ,不能再次申报契税补贴政策。如有异议请联系市财政窗口,地址:镇江市政务服务中心(冠城路8号工人大厦)二楼市财政局窗口,联系电话:0511-89881850",
} // })
}) // }
// })
// this.$router.replace({ name: 'DeedtaxDeclare', query: { code: this.code } }) // this.$router.replace({ name: 'DeedtaxDeclare', query: { code: this.code } })
}, },
// 初始化获取userInfo // 初始化获取userInfo
......
<template> <template>
<div class="deedtax"> <div class="deedtax">
<div class="banner" @click="go()"> <div
class="banner"
@click="go()"
>
<img <img
src="https://www.smart-zj.cn:55901/image/appBanner/qishuibutieshenbao.png" src="https://www.smart-zj.cn:55901/image/appBanner/qishuibutieshenbao.png"
alt="" alt=""
...@@ -27,21 +30,19 @@ ...@@ -27,21 +30,19 @@
</div> </div>
</div> </div>
<div class="tab"> <div class="tab">
<van-tabs v-model="active1" @click="change(active1)"> <van-tabs
v-model="active1"
@click="change(active1)"
>
<van-tab title="全部"></van-tab> <van-tab title="全部"></van-tab>
<!-- params.stste: null --> <!-- params.stste: null -->
<van-tab title="已拒绝"></van-tab <van-tab title="已拒绝"></van-tab><!-- 4 -->
><!-- 4 --> <van-tab title="待初审"></van-tab><!-- 0 -->
<van-tab title="待初审"></van-tab <van-tab title="待复审"></van-tab><!-- 1 -->
><!-- 0 -->
<van-tab title="待复审"></van-tab
><!-- 1 -->
<!-- <van-tab title="待卡号确认"></van-tab> --> <!-- <van-tab title="待卡号确认"></van-tab> -->
<!-- 2 --> <!-- 2 -->
<van-tab title="待退税办理"></van-tab <van-tab title="待退税办理"></van-tab><!-- 3 -->
><!-- 3 --> <van-tab title="已完成"></van-tab><!-- 6 -->
<van-tab title="已完成"></van-tab
><!-- 6 -->
</van-tabs> </van-tabs>
<div class="content"> <div class="content">
<div <div
...@@ -59,9 +60,12 @@ ...@@ -59,9 +60,12 @@
item.state == 2 || item.state == 2 ||
item.state == 3 item.state == 3
" "
>办理中 >办理中
</van-tag> </van-tag>
<van-tag type="danger" v-if="item.state == 4">已拒绝</van-tag> <van-tag
type="danger"
v-if="item.state == 4"
>已拒绝</van-tag>
<van-tag v-if="item.state == 6">已完成</van-tag> <van-tag v-if="item.state == 6">已完成</van-tag>
<div <div
style="max-width: 80%;" style="max-width: 80%;"
...@@ -100,7 +104,10 @@ ...@@ -100,7 +104,10 @@
: "已完成" : "已完成"
}}</span> }}</span>
</div> </div>
<div class="title" v-if="(item.state == 1 && item.checkArea != '句容市') || (item.state == 2 && item.checkArea == '句容市')"> <div
class="title"
v-if="(item.state == 1 && item.checkArea != '句容市') || (item.state == 2 && item.checkArea == '句容市')"
>
办理地址:<span class="value">{{ 办理地址:<span class="value">{{
item.checkArea == "镇江新区" item.checkArea == "镇江新区"
? "镇江新区政务服务中心(镇江新区宜候路397号)2楼税务局21号窗口" ? "镇江新区政务服务中心(镇江新区宜候路397号)2楼税务局21号窗口"
...@@ -111,15 +118,23 @@ ...@@ -111,15 +118,23 @@
: "镇江市政务服务中心(冠城路8号工人大厦)二楼市财政局窗口" : "镇江市政务服务中心(冠城路8号工人大厦)二楼市财政局窗口"
}}</span> }}</span>
</div> </div>
<div class="title" v-if="(item.state == 1 && item.checkArea != '句容市') || (item.state == 2 && item.checkArea == '句容市')" style="color: #EB4E3F"> <div
class="title"
v-if="(item.state == 1 && item.checkArea != '句容市') || (item.state == 2 && item.checkArea == '句容市')"
style="color: #EB4E3F"
>
办理说明: 办理说明:
<span class="value" style="color: #EB4E3F" <span
>请携带您所有上传图片的"原件材料及复印件一份"前往窗口完成复审;如您需委托他人办理,请点击下载委托书,填写打印后一并携带。</span class="value"
> style="color: #EB4E3F"
>请携带您所有上传图片的"原件材料及复印件一份"前往窗口完成复审;如您需委托他人办理,请点击下载委托书,填写打印后一并携带。</span>
</div> </div>
</div> </div>
<div class="right"> <div class="right">
<img src="./img/next_icon.png" alt="" /> <img
src="./img/next_icon.png"
alt=""
/>
</div> </div>
</div> </div>
</div> </div>
...@@ -142,16 +157,10 @@ import { ...@@ -142,16 +157,10 @@ import {
queryListDeedTaxInfoByUserId, queryListDeedTaxInfoByUserId,
queryUserApplyForRecord, queryUserApplyForRecord,
queryApplyingDeedTaxInfo, queryApplyingDeedTaxInfo,
idCardVerification
} from "@/api/deedtax.js"; } from "@/api/deedtax.js";
// import { decryptByDES } from "@/utils/utils"; // import { decryptByDES } from "@/utils/utils";
Vue.use(Step) Vue.use(Step).use(Steps).use(Tab).use(Tabs).use(Tag).use(Dialog);
.use(Steps)
.use(Tab)
.use(Tabs)
.use(Tag)
.use(Dialog);
export default { export default {
data() { data() {
return { return {
...@@ -172,67 +181,59 @@ export default { ...@@ -172,67 +181,59 @@ export default {
}, },
methods: { methods: {
go() { go() {
idCardVerification({idCard: this.userInfo.idCardNo}).then((res) => { // let params = {
if (res.data) { // idCard: decryptByDES(this.userInfo.idCardNo, "MnuYbhGv"),
// let params = { // };
// idCard: decryptByDES(this.userInfo.idCardNo, "MnuYbhGv"), queryUserApplyForRecord({ idCard: this.userInfo.idCardNo }).then(
// }; (res) => {
queryUserApplyForRecord({idCard: this.userInfo.idCardNo}).then((res) => { // alert(JSON.stringify(res))
// alert(JSON.stringify(res)) if (res.code == 200) {
if (res.code == 200) { if (res.data.state == 0) {
if (res.data.state == 0) { this.$router.push({ name: "DeedtaxDeclare" });
} else if (res.data.state == 2) {
Dialog.confirm({
confirmButtonText: "申报",
message: res.data.msg || "您已享受契税补贴,是否再次申报?",
}).then(() => {
this.$router.push({ name: "DeedtaxDeclare" }); this.$router.push({ name: "DeedtaxDeclare" });
} else if (res.data.state == 2) { });
Dialog.confirm({ } else if (res.data.state == 1) {
confirmButtonText: "申报", Dialog.confirm({
message: res.data.msg || "您已享受契税补贴,是否再次申报?", confirmButtonText: "查看",
}).then(() => { message: res.data.msg || "您的申请已提交",
this.$router.push({ name: "DeedtaxDeclare" }); }).then(() => {
}); queryApplyingDeedTaxInfo({
} else if (res.data.state == 1) { code: "",
Dialog.confirm({ idCard: this.userInfo.idCardNo,
confirmButtonText: "查看", name: "",
message: res.data.msg || "您的申请已提交", pageNum: 1,
}).then(() => { pageSize: 10,
queryApplyingDeedTaxInfo({ state: 0,
code: "", userId: "",
idCard: this.userInfo.idCardNo, }).then((res) => {
name: "", // alert(JSON.stringify(res))
pageNum: 1, console.log(res);
pageSize: 10,
state: 0,
userId: "",
}).then((res) => {
// alert(JSON.stringify(res))
console.log(res);
this.$router.push({
name: "DeedtaxHandling",
query: { code: res.data.code },
});
});
});
} else if (res.data.state == 11) {
console.log(111);
Dialog.confirm({
confirmButtonText: "查看",
message: res.data.msg || "您的申请已提交",
}).then(() => {
this.$router.push({ this.$router.push({
name: "PolicyReportTwo", name: "DeedtaxHandling",
query: { code: res.data.code }, query: { code: res.data.code },
}); });
}); });
} });
} else if (res.data.state == 11) {
console.log(111);
Dialog.confirm({
confirmButtonText: "查看",
message: res.data.msg || "您的申请已提交",
}).then(() => {
this.$router.push({
name: "PolicyReportTwo",
query: { code: res.data.code },
});
});
} }
}); }
} else {
Dialog.confirm({
title: '提示',
messageAlign: 'left',
message: "经系统查询,您已享受过相关政策补贴 ,不能再次申报契税补贴政策。如有异议请联系市财政窗口,地址:镇江市政务服务中心(冠城路8号工人大厦)二楼市财政局窗口,联系电话:0511-89881850",
})
} }
}) );
}, },
change(val) { change(val) {
console.log(val); console.log(val);
...@@ -304,10 +305,12 @@ export default { ...@@ -304,10 +305,12 @@ export default {
} }
sessionStorage.setItem("ZJCD-UserInfo", res); sessionStorage.setItem("ZJCD-UserInfo", res);
this.userInfo = userInfo; this.userInfo = userInfo;
sessionStorage.setItem("token", this.userInfo.token);
this.init(); this.init();
}, },
}, },
created() { created() {
window.getUserInfo = this.getUserInfo;
let res = sessionStorage.getItem("ZJCD-UserInfo"); let res = sessionStorage.getItem("ZJCD-UserInfo");
this.userInfo = JSON.parse(res) || {}; this.userInfo = JSON.parse(res) || {};
if (!this.userInfo.idCardNo) { if (!this.userInfo.idCardNo) {
...@@ -316,120 +319,135 @@ export default { ...@@ -316,120 +319,135 @@ export default {
this.verify(res); this.verify(res);
} }
}, },
mounted() { mounted() {},
window.getUserInfo = this.getUserInfo;
},
}; };
</script> </script>
<style lang="stylus" scoped> <style lang="stylus" scoped>
.deedtax{ .deedtax {
display: flex;
flex-direction: column;
align-items: center;
padding: 20px;
box-sizing: border-box;
.banner {
width: 100%;
height: 300px;
img {
width: 100%;
height: 100%;
}
}
.flowPath {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; width: 100%;
background: #FFFFFF;
box-shadow: 0px 2px 12px 0px rgba(0, 0, 0, 0.06);
border-radius: 8px;
margin: 20px 0;
padding: 20px; padding: 20px;
box-sizing: border-box; box-sizing: border-box;
.banner{
width 100%; .title {
height 300px; display: flex;
img{ align-items: center;
width 100%; margin-bottom: 15px;
height 100%;
} .icon {
width: 4px;
height: 24px;
background: #EB4E3F;
box-shadow: 0px 2px 12px 0px rgba(0, 0, 0, 0.06);
border-radius: 2px;
}
.name {
margin-left: 15px;
font-size: 28px;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
color: #333333;
text-shadow: 0px 2px 12px rgba(0, 0, 0, 0.06);
}
} }
.flowPath{ }
.tab {
width: 100%;
display: flex;
flex-direction: column;
.content {
width: 100%;
max-height: calc(100vh - 680px);
overflow: scroll;
.card {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
width: 100%;
background: #FFFFFF; background: #FFFFFF;
box-shadow: 0px 2px 12px 0px rgba(0, 0, 0, 0.06); box-shadow: 0px 2px 12px 0px rgba(0, 0, 0, 0.06);
border-radius: 8px; border-radius: 4px;
margin: 20px 0; margin: 10px 0;
padding: 20px; padding: 20px;
box-sizing: border-box; box-sizing: border-box;
.title{
.tips {
display: flex;
align-items: center;
justify-content: space-between;
.info {
font-size: 24px;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: #00A125;
text-shadow: 0px 2px 12px rgba(0, 0, 0, 0.06);
line-height: 2;
}
.info1 {
color: #EB4E3F;
}
}
.next {
display: flex;
align-items: center;
justify-content: space-between;
.left {
display: flex; display: flex;
align-items: center; flex-direction: column;
margin-bottom: 15px;
.icon{ .title {
width: 4px; font-size: 28px;
height: 24px; font-family: PingFangSC-Regular, PingFang SC;
background: #EB4E3F; font-weight: 400;
box-shadow: 0px 2px 12px 0px rgba(0, 0, 0, 0.06); color: #333333;
border-radius: 2px; text-shadow: 0px 2px 12px rgba(0, 0, 0, 0.06);
} line-height: 2;
.name{
margin-left: 15px;
font-size: 28px;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
color: #333333;
text-shadow: 0px 2px 12px rgba(0, 0, 0, 0.06);
} }
} }
}
.tab{ .right {
width 100%; width: 28px;
display: flex; min-width: 28px;
flex-direction: column; height: 28px;
.content{ display: flex;
width 100%;
max-height: calc(100vh - 680px); img {
overflow: scroll; width: 100%;
.card{ height: 100%;
display: flex;
flex-direction: column;
background: #FFFFFF;
box-shadow: 0px 2px 12px 0px rgba(0, 0, 0, 0.06);
border-radius: 4px;
margin: 10px 0;
padding: 20px;
box-sizing: border-box;
.tips{
display: flex;
align-items: center;
justify-content: space-between;
.info{
font-size: 24px;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: #00A125;
text-shadow: 0px 2px 12px rgba(0, 0, 0, 0.06);
line-height: 2;
}
.info1{
color: #EB4E3F
}
}
.next{
display: flex;
align-items: center;
justify-content: space-between;
.left{
display: flex;
flex-direction: column;
.title{
font-size: 28px;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: #333333;
text-shadow: 0px 2px 12px rgba(0, 0, 0, 0.06);
line-height: 2;
}
}
.right{
width 28px;
min-width 28px;
height 28px;
display: flex;
img{
width 100%;
height 100%;
}
}
}
} }
}
} }
}
} }
}
} }
</style> </style>
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