Commit eb62e9e3 by songwenlu

gx

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