Commit 7520bda1 by zhangbin

gx

parent e5b2704b
......@@ -31,10 +31,10 @@ export default {
mobileNo: 13900000000,
userId: 37393,
name: "124晚6565",
realName: "梁中全",
idCardNo: "342601199503121817",
realName: "张媛媛",
// idCardNo: "342601199503121817",
// idCardNo: "321111198502254219",
// idCardNo: "321183199610151344",
idCardNo: "32068219980926002X",
// idCardNo: "DDfCYHcrBMRhvRt4AQKt+WfGq6l2uT5G",
// mobileNo: 13776475181,
// userId: 3182743,
......
......@@ -1403,6 +1403,16 @@ const routes = [
title: "镇江资讯",
},
},
// 镇江政策措施
{
path: "/measure",
name: "Measure",
component: () =>
import ("@/views/measure/index"),
meta: {
title: "镇江政策措施",
},
},
// 身份码
{
path: "/identity",
......
<template>
<div class="measure">
<img src="./img/measure1.png" alt="">
<img src="./img/measure2.png" alt="">
<img src="./img/measure3.png" alt="">
</div>
</template>
<script>
export default {
}
</script>
<style lang="stylus" scoped>
.measure{
width 100%;
height 100%;
display: flex;
flex-direction: column;
overflow: scroll;
img{
width 100%;
}
}
</style>
\ No newline at end of file
......@@ -10,12 +10,7 @@
<div class="boxtwo" @click="next('1')">未在镇缴纳社保</div>
</div>
<div class="step" v-if="active === 1">
<div
class="cell"
v-for="item in list"
:key="item.name"
@click="filterData(item)"
>
<div class="cell" v-for="item in list" :key="item.name" @click="filterData(item)">
<img class="type" :src="item.icon" alt="" />
<p class="des">{{ item.name }}</p>
<img class="icon" src="@/assets/common/enter_icon.png" alt="" />
......@@ -23,13 +18,7 @@
<van-button type="primary" @click="prev">上一步</van-button>
</div>
<van-dialog
v-model="show"
title="填写信息"
show-cancel-button
@confirm="onConfirm"
@cancel="onCancel"
>
<van-dialog v-model="show" title="填写信息" show-cancel-button @confirm="onConfirm" @cancel="onCancel">
<van-field v-model="name" label="姓名" required />
<van-field v-model="passport" label="护照" required />
</van-dialog>
......@@ -107,7 +96,7 @@ export default {
if (area === 0) {
if (item.name != "企业全职人员") {
// 取消校验
this.$router.push({ name: "ReportForm",query: {genera:this.genera, ticket: this.$route.query.ticket ? this.$route.query.ticket : ''} });
this.$router.push({ name: "ReportForm", query: { genera: this.genera, ticket: this.$route.query.ticket ? this.$route.query.ticket : '' } });
} else {
// 暂时关闭校验,直接退出
// this.$dialog.confirm({
......@@ -128,7 +117,7 @@ export default {
let idCardNo2 = idCardNo1;
console.log("如果为明文走这个---", idCardNo2);
this.socialCheck(idCardNo2, item.index);
console.log(item.index,'item.index-----')
console.log(item.index, 'item.index-----')
} else {
console.log("如果为加密走这个---", idCardNo2);
......@@ -159,7 +148,7 @@ export default {
}
} else {
this.$store.commit("talents/SET_GENERA", this.genera);
this.$router.push({ name: "ReportForm",query: {genera:this.genera, ticket: this.$route.query.ticket ? this.$route.query.ticket : ''} });
this.$router.push({ name: "ReportForm", query: { genera: this.genera, ticket: this.$route.query.ticket ? this.$route.query.ticket : '' } });
}
}
},
......@@ -176,7 +165,7 @@ export default {
this.$store.commit("talents/SET_NAME", this.name);
this.$store.commit("talents/SET_PASSPORT", this.passport);
this.$store.commit("talents/SET_GENERA", this.genera);
this.$router.push({ name: "ReportForm",query: {genera:this.genera, ticket: this.$route.query.ticket ? this.$route.query.ticket : ''} });
this.$router.push({ name: "ReportForm", query: { genera: this.genera, ticket: this.$route.query.ticket ? this.$route.query.ticket : '' } });
} else {
this.$dialog
.confirm({
......@@ -215,10 +204,13 @@ export default {
res.data.tradeMsg.data.dataSet.rowSet.row.length > 0
) {
let targetList = res.data.tradeMsg.data.dataSet.rowSet.row;
let company = this.checkSecure(targetList, "企业职工基本养老保险","企业基本养老保险");
console.log('targetList---', targetList);
let company = this.checkSecure(targetList, "企业职工基本养老保险", "企业基本养老保险");
console.log('company---', company);
if (company) {
sessionStorage.setItem("ZJCD-Company", company);
this.$router.push({ name: "ReportForm",query: {genera:this.genera, ticket: this.$route.query.ticket ? this.$route.query.ticket : ''} });
this.$router.push({ name: "ReportForm", query: { genera: this.genera, ticket: this.$route.query.ticket ? this.$route.query.ticket : '' } });
return;
} else if (index == 1) {
sessionStorage.removeItem("ZJCD-Company");
......@@ -272,7 +264,7 @@ export default {
// 校验医保是否缴费正常
if (company) {
sessionStorage.setItem("ZJCD-Company", company);
this.$router.push({ name: "ReportForm",query: {genera:this.genera, ticket: this.$route.query.ticket ? this.$route.query.ticket : ''} });
this.$router.push({ name: "ReportForm", query: { genera: this.genera, ticket: this.$route.query.ticket ? this.$route.query.ticket : '' } });
return;
} else {
sessionStorage.removeItem("ZJCD-Company");
......@@ -287,10 +279,10 @@ export default {
checkSecure(data, name, name1) {
let company = "";
data.map((res) => {
let a = res.bab002.toString().substring(0,4)
let a = res.bab002.toString().substring(0, 4)
if ((res.aae140 == name || res.aae140 == name1) && res.aac031code == "1" && this.genera == '企业全职人员' && a == '3211') {
company = res.aae044;
} else if ( res.aae140 == name && res.aac031code == "1" && this.genera != '企业全职人员' ) {
} else if (res.aae140 == name && res.aac031code == "1" && this.genera != '企业全职人员') {
company = res.aae044;
}
});
......
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