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
...@@ -61,7 +62,10 @@ ...@@ -61,7 +62,10 @@
" "
>办理中 >办理中
</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"
<span class="value" style="color: #EB4E3F" v-if="(item.state == 1 && item.checkArea != '句容市') || (item.state == 2 && item.checkArea == '句容市')"
>请携带您所有上传图片的"原件材料及复印件一份"前往窗口完成复审;如您需委托他人办理,请点击下载委托书,填写打印后一并携带。</span style="color: #EB4E3F"
> >
办理说明:
<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,12 +181,11 @@ export default { ...@@ -172,12 +181,11 @@ export default {
}, },
methods: { methods: {
go() { go() {
idCardVerification({idCard: this.userInfo.idCardNo}).then((res) => {
if (res.data) {
// let params = { // let params = {
// idCard: decryptByDES(this.userInfo.idCardNo, "MnuYbhGv"), // 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) {
...@@ -224,15 +232,8 @@ export default { ...@@ -224,15 +232,8 @@ export default {
}); });
} }
} }
});
} 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,28 +319,29 @@ export default { ...@@ -316,28 +319,29 @@ 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; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
padding: 20px; padding: 20px;
box-sizing: border-box; box-sizing: border-box;
.banner{
width 100%; .banner {
height 300px; width: 100%;
img{ height: 300px;
width 100%;
height 100%; img {
width: 100%;
height: 100%;
} }
} }
.flowPath{
.flowPath {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
width: 100%; width: 100%;
...@@ -347,18 +351,21 @@ export default { ...@@ -347,18 +351,21 @@ export default {
margin: 20px 0; margin: 20px 0;
padding: 20px; padding: 20px;
box-sizing: border-box; box-sizing: border-box;
.title{
.title {
display: flex; display: flex;
align-items: center; align-items: center;
margin-bottom: 15px; margin-bottom: 15px;
.icon{
.icon {
width: 4px; width: 4px;
height: 24px; height: 24px;
background: #EB4E3F; background: #EB4E3F;
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: 2px; border-radius: 2px;
} }
.name{
.name {
margin-left: 15px; margin-left: 15px;
font-size: 28px; font-size: 28px;
font-family: PingFangSC-Medium, PingFang SC; font-family: PingFangSC-Medium, PingFang SC;
...@@ -368,15 +375,18 @@ export default { ...@@ -368,15 +375,18 @@ export default {
} }
} }
} }
.tab{
width 100%; .tab {
width: 100%;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
.content{
width 100%; .content {
width: 100%;
max-height: calc(100vh - 680px); max-height: calc(100vh - 680px);
overflow: scroll; overflow: scroll;
.card{
.card {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
background: #FFFFFF; background: #FFFFFF;
...@@ -385,11 +395,13 @@ export default { ...@@ -385,11 +395,13 @@ export default {
margin: 10px 0; margin: 10px 0;
padding: 20px; padding: 20px;
box-sizing: border-box; box-sizing: border-box;
.tips{
.tips {
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
.info{
.info {
font-size: 24px; font-size: 24px;
font-family: PingFangSC-Regular, PingFang SC; font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400; font-weight: 400;
...@@ -397,18 +409,22 @@ export default { ...@@ -397,18 +409,22 @@ export default {
text-shadow: 0px 2px 12px rgba(0, 0, 0, 0.06); text-shadow: 0px 2px 12px rgba(0, 0, 0, 0.06);
line-height: 2; line-height: 2;
} }
.info1{
color: #EB4E3F .info1 {
color: #EB4E3F;
} }
} }
.next{
.next {
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
.left{
.left {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
.title{
.title {
font-size: 28px; font-size: 28px;
font-family: PingFangSC-Regular, PingFang SC; font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400; font-weight: 400;
...@@ -417,14 +433,16 @@ export default { ...@@ -417,14 +433,16 @@ export default {
line-height: 2; line-height: 2;
} }
} }
.right{
width 28px; .right {
min-width 28px; width: 28px;
height 28px; min-width: 28px;
height: 28px;
display: flex; display: flex;
img{
width 100%; img {
height 100%; 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