update:更新页面
This commit is contained in:
@@ -23,6 +23,7 @@
|
||||
<span class="baseFont">{{ data.idCard }}</span>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 三张背景图 -->
|
||||
<div>
|
||||
<div class="gridBg centerMagin">
|
||||
<van-image
|
||||
@@ -280,7 +281,6 @@
|
||||
import "./home.css";
|
||||
import { apis } from "@/common/apis";
|
||||
import { mgop } from "@aligov/jssdk-mgop";
|
||||
import { SetTicket } from "@/common/util/tools";
|
||||
export default {
|
||||
name: "home",
|
||||
data() {
|
||||
@@ -291,13 +291,13 @@ export default {
|
||||
policiesRegulationsLists: {
|
||||
totalCount: 0
|
||||
}
|
||||
}
|
||||
},
|
||||
ticket: "8a118afe7bda7976017bf14c94de35e0-ticket"
|
||||
};
|
||||
},
|
||||
async created() {
|
||||
this.onInit();
|
||||
console.log("this", this);
|
||||
SetTicket("8a1188557bda7894017bed584f803119-ticket");
|
||||
},
|
||||
methods: {
|
||||
// 获取数据
|
||||
@@ -308,8 +308,7 @@ export default {
|
||||
dataType: "JSON",
|
||||
type: "POST",
|
||||
data: {
|
||||
// ticket: this.$route.query.ticket
|
||||
ticket: "8a1188557bda7894017bed584f803119-ticket"
|
||||
ticket: this.ticket
|
||||
},
|
||||
appKey: "es4b8zmz+2001833218+dehllx",
|
||||
onSuccess: data => {
|
||||
@@ -337,7 +336,7 @@ export default {
|
||||
gotoProject(type) {
|
||||
this.$router.push({
|
||||
name: "projectSelect",
|
||||
params: { type: type, ticket: this.$route.query.ticket }
|
||||
params: { type: type, ticket: this.ticket }
|
||||
});
|
||||
},
|
||||
// 加载项目数统计信息
|
||||
@@ -348,11 +347,10 @@ export default {
|
||||
},
|
||||
// 政策信息页面跳转
|
||||
pageJump(id) {
|
||||
// this.$router.push({
|
||||
// name: "policyInfo",
|
||||
// params: { type: type, ticket: this.$route.query.ticket }
|
||||
// });
|
||||
window.location.replace("http://localhost:8080/#/policyInfo?id=" + id);
|
||||
this.$router.push({
|
||||
name: "policyInfo",
|
||||
params: { ticket: this.ticket, id: id }
|
||||
});
|
||||
},
|
||||
setZwUserAplus(Userid, userName) {
|
||||
// 设置用户信息埋点
|
||||
|
||||
Reference in New Issue
Block a user