修改标题
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width,user-scalable=no,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0" />
|
||||
<title>房屋征收</title>
|
||||
<title>宁波房屋征收</title>
|
||||
<script type="text/javascript" src="https://d.alicdn.com/alilog/mlog/aplus.js?id=202951085"></script>
|
||||
<script type="text/javascript" src="//jssdk.yyhj.zjzwfw.gov.cn/jsbridge/v2.0.0/bridge.min.js"></script>
|
||||
<!-- 引入ZWJSBridge -->
|
||||
|
||||
@@ -220,7 +220,7 @@ export default {
|
||||
// },
|
||||
// { title: "无数据", publicTime: "无数据", area: "无数据" },
|
||||
// { title: "无数据", publicTime: "无数据", area: "无数据" }
|
||||
],
|
||||
]
|
||||
},
|
||||
prjList: [
|
||||
{
|
||||
@@ -255,7 +255,7 @@ export default {
|
||||
// switchProductionWay: "无数据",
|
||||
// summationShouldCompensateMoney: "无数据"
|
||||
// }
|
||||
],
|
||||
]
|
||||
},
|
||||
{
|
||||
// name: "无数据",
|
||||
@@ -278,10 +278,10 @@ export default {
|
||||
// switchProductionWay: "无数据",
|
||||
// summationShouldCompensateMoney: "无数据"
|
||||
// }
|
||||
],
|
||||
},
|
||||
],
|
||||
},
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
};
|
||||
},
|
||||
created() {
|
||||
@@ -317,10 +317,10 @@ export default {
|
||||
dataType: "JSON",
|
||||
type: "POST",
|
||||
data: {
|
||||
ticket: this.$route.query.ticket,
|
||||
ticket: this.$route.query.ticket
|
||||
},
|
||||
appKey: "es4b8zmz+2001833218+dehllx",
|
||||
onSuccess: (data) => {
|
||||
onSuccess: data => {
|
||||
this.loading = false;
|
||||
window.sessionStorage.setItem("homeData", JSON.stringify(data));
|
||||
if (data.data.success) {
|
||||
@@ -335,7 +335,7 @@ export default {
|
||||
message: "登录超时,请重新登录",
|
||||
duration: 3000,
|
||||
type: "info",
|
||||
center: true,
|
||||
center: true
|
||||
});
|
||||
setTimeout(() => {
|
||||
window.location.replace(
|
||||
@@ -347,20 +347,20 @@ export default {
|
||||
message: "请求出错",
|
||||
duration: 3000,
|
||||
type: "error",
|
||||
center: true,
|
||||
center: true
|
||||
});
|
||||
}
|
||||
}
|
||||
},
|
||||
onFail: (err) => {
|
||||
onFail: err => {
|
||||
this.loading = false;
|
||||
this.$notify({
|
||||
title: "错误",
|
||||
message: "请求失败",
|
||||
duration: 3000,
|
||||
type: "error",
|
||||
type: "error"
|
||||
});
|
||||
},
|
||||
}
|
||||
});
|
||||
},
|
||||
toOlderMode() {
|
||||
@@ -390,8 +390,8 @@ export default {
|
||||
this.$router.push({
|
||||
name: "projectSelect",
|
||||
params: {
|
||||
type: type,
|
||||
},
|
||||
type: type
|
||||
}
|
||||
});
|
||||
},
|
||||
// 直接跳转分户评估结果页面
|
||||
@@ -402,8 +402,8 @@ export default {
|
||||
name: "evaluatePage",
|
||||
params: {
|
||||
fhpgId: id,
|
||||
type,
|
||||
},
|
||||
type
|
||||
}
|
||||
});
|
||||
},
|
||||
// 直接跳转协议结果pdf
|
||||
@@ -413,8 +413,8 @@ export default {
|
||||
this.$router.push({
|
||||
name: "showPdf",
|
||||
params: {
|
||||
id,
|
||||
},
|
||||
id
|
||||
}
|
||||
});
|
||||
},
|
||||
// 加载项目数统计信息
|
||||
@@ -429,38 +429,38 @@ export default {
|
||||
$("#app").removeClass("old_app3");
|
||||
this.$router.push({
|
||||
name: "policyInfo",
|
||||
params: { id },
|
||||
params: { id }
|
||||
});
|
||||
},
|
||||
setZwUserAplus(Userid, userName) {
|
||||
// 设置用户信息埋点
|
||||
aplus_queue.push({
|
||||
action: "aplus.setMetaInfo",
|
||||
arguments: ["_hold", "BLOCK"],
|
||||
arguments: ["_hold", "BLOCK"]
|
||||
});
|
||||
aplus_queue.push({
|
||||
action: "aplus.setMetaInfo",
|
||||
arguments: ["_user_nick", userName], // this.userInfoData.username],
|
||||
arguments: ["_user_nick", userName] // this.userInfoData.username],
|
||||
});
|
||||
aplus_queue.push({
|
||||
action: "aplus.setMetaInfo",
|
||||
arguments: ["_user_id", Userid],
|
||||
arguments: ["_user_id", Userid]
|
||||
});
|
||||
aplus_queue.push({
|
||||
action: "aplus.setMetaInfo",
|
||||
arguments: ["_hold", "START"],
|
||||
arguments: ["_hold", "START"]
|
||||
});
|
||||
},
|
||||
setLocationAplus() {
|
||||
ZWJSBridge.onReady(() => {
|
||||
// console.log("初始化完成后,执行bridge方法");
|
||||
ZWJSBridge.getUserType()
|
||||
.then((result1) => {
|
||||
.then(result1 => {
|
||||
// console.log("getUserType():" + JSON.stringify(result1));
|
||||
// console.log("result1.userType:" + result1.userType);
|
||||
//经纬度
|
||||
ZWJSBridge.getLocation()
|
||||
.then((result2) => {
|
||||
.then(result2 => {
|
||||
// console.log("getLocation():" + JSON.stringify(result2));
|
||||
// console.log("result2.longitude:" + result2.longitude);
|
||||
// console.log("result2.latitude:" + result2.latitude);
|
||||
@@ -468,7 +468,7 @@ export default {
|
||||
action: "aplus.sendPV",
|
||||
arguments: [
|
||||
{
|
||||
is_auto: false,
|
||||
is_auto: false
|
||||
},
|
||||
{
|
||||
isMini: true,
|
||||
@@ -476,16 +476,16 @@ export default {
|
||||
miniAppName: "房屋征收",
|
||||
long: result2.longitude,
|
||||
lati: result2.latitude,
|
||||
userType: result1.userType,
|
||||
},
|
||||
],
|
||||
userType: result1.userType
|
||||
}
|
||||
]
|
||||
});
|
||||
})
|
||||
.catch((error) => {
|
||||
.catch(error => {
|
||||
// console.log(error);
|
||||
});
|
||||
})
|
||||
.catch((error) => {
|
||||
.catch(error => {
|
||||
// console.log(error);
|
||||
});
|
||||
});
|
||||
@@ -493,7 +493,7 @@ export default {
|
||||
scan() {
|
||||
//扫一扫
|
||||
ZWJSBridge.scan({ type: "qrCode" })
|
||||
.then((data) => {
|
||||
.then(data => {
|
||||
// data =>{"text" : "扫描到的内容"}
|
||||
if (data.text.indexOf("http") > -1) {
|
||||
window.location.replace(data.text);
|
||||
@@ -502,15 +502,15 @@ export default {
|
||||
message: data.text,
|
||||
duration: 3000,
|
||||
type: "info",
|
||||
center: true,
|
||||
center: true
|
||||
});
|
||||
}
|
||||
})
|
||||
.catch((error) => {
|
||||
.catch(error => {
|
||||
console.log(error);
|
||||
});
|
||||
},
|
||||
},
|
||||
}
|
||||
}
|
||||
};
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user