This commit is contained in:
路 范
2021-09-15 18:05:16 +08:00
8 changed files with 354 additions and 225 deletions

View File

@@ -228,7 +228,10 @@
class="protocolList"
v-for="(item, i) in data.policiesRegulationsLists.list"
>
<div class="protocolLine" v-if="i != data.policiesRegulationsLists.list.length - 1">
<div
class="protocolLine"
v-if="i != data.policiesRegulationsLists.list.length - 1"
>
<div class="font14 protocolTitle">{{ item.title }}</div>
<div
class="assessBox"
@@ -289,10 +292,9 @@ export default {
},
created() {
this.onInit();
console.log("this", this);
},
mounted() {
},
mounted() {},
methods: {
onLoad() {},
onInit() {
@@ -311,7 +313,7 @@ export default {
this.data = data.data.data;
this.setZwUserAplus(this.data.idCard, this.data.userName);
} else {
var errorCodes = ['6001', '6501'];
var errorCodes = ["6001", "6501"];
if (errorCodes.indexOf(data.data.bizCode) > -1) {
window.location.replace(
"https://puser.zjzwfw.gov.cn/sso/mobile.do?action=oauth&scope=1&servicecode=fwzs"
@@ -320,10 +322,7 @@ export default {
}
},
onFail: (err) => {
console.log(err, "err");
},
onFail: (err) => {
console.log(err, "err");
console.log("用户无数据,不展示");
},
});
//获取当前数据
@@ -346,8 +345,11 @@ export default {
});
},
// 页面跳转
pageJump() {
this.$router.push("/policyInfo");
pageJump(type) {
this.$router.push({
name: "policyInfo",
params: { type: type, ticket: this.$route.query.ticket },
});
},
setZwUserAplus(Userid, userName) {
// 设置用户信息埋点
@@ -367,7 +369,7 @@ export default {
action: "aplus.setMetaInfo",
arguments: ["_hold", "START"],
});
}
},
},
};
</script>