update:更新
This commit is contained in:
@@ -53,7 +53,9 @@
|
||||
<van-list>
|
||||
<div :key="item.prjId" v-for="item in data.prjList">
|
||||
<div class="centerMagin">
|
||||
<!-- 图标所在行 -->
|
||||
<div class="project">
|
||||
<!-- window图标 -->
|
||||
<div>
|
||||
<van-image
|
||||
:src="require('@/assets/img/project.png')"
|
||||
@@ -61,6 +63,7 @@
|
||||
/>
|
||||
<span class="projectTitle">{{ item.name }}</span>
|
||||
</div>
|
||||
<!-- 补偿协议图标 -->
|
||||
<div class="projectRight">
|
||||
<van-image
|
||||
:src="require('@/assets/img/menu_yhxy.png')"
|
||||
@@ -70,8 +73,9 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 所有内容 -->
|
||||
<div class="projectCenter centerMagin">
|
||||
<!-- 曙光一村内容 -->
|
||||
<!-- 项目内容 -->
|
||||
<div class="projectCenterBox">
|
||||
<div class="projectCenterInfo">
|
||||
<div class="projectCenterInfo">
|
||||
@@ -126,15 +130,14 @@
|
||||
/>
|
||||
<span class="assessTitle">分户评估结果</span>
|
||||
</div>
|
||||
<!-- <div>
|
||||
<van-image :src="require('@/assets/img/skip.png')" class="assessRightIcon" round />
|
||||
</div>-->
|
||||
</div>
|
||||
<!-- 分户评估遍历内容 -->
|
||||
<van-list>
|
||||
<div
|
||||
:key="assess.id"
|
||||
class="assessCenter1"
|
||||
v-for="assess in item.fhpgList"
|
||||
@click="gotoProject('pg', item.prjId)"
|
||||
>
|
||||
<div class="assessBox">
|
||||
<span class="projectCenterFont">评估报告编号:</span>
|
||||
@@ -171,6 +174,7 @@
|
||||
<van-image :src="require('@/assets/img/skip.png')" class="assessRightIcon" round />
|
||||
</div>-->
|
||||
</div>
|
||||
<!-- 补偿协议遍历内容 -->
|
||||
<van-list>
|
||||
<div
|
||||
:key="protocol.id"
|
||||
@@ -225,6 +229,7 @@
|
||||
</div>
|
||||
<div class="centerMagin" style="padding-bottom: 20px">
|
||||
<div class="protocolBox">
|
||||
<!-- 遍历内容 -->
|
||||
<van-list>
|
||||
<div
|
||||
:key="item.id"
|
||||
@@ -289,9 +294,10 @@ export default {
|
||||
idCard: "加载中...",
|
||||
userName: "加载中...",
|
||||
policiesRegulationsLists: {
|
||||
totalCount: 0,
|
||||
},
|
||||
totalCount: 0
|
||||
}
|
||||
},
|
||||
ticket: "8a1188557bda7894017bf257a07e7ccb-ticket"
|
||||
};
|
||||
},
|
||||
async created() {
|
||||
@@ -308,11 +314,12 @@ export default {
|
||||
dataType: "JSON",
|
||||
type: "POST",
|
||||
data: {
|
||||
ticket: this.$route.query.ticket,
|
||||
//ticket: "8a118a427bda7bed017bed084ec10622-ticket"
|
||||
ticket: this.$route.query.ticket
|
||||
? this.$route.query.ticket
|
||||
: this.ticket
|
||||
},
|
||||
appKey: "es4b8zmz+2001833218+dehllx",
|
||||
onSuccess: (data) => {
|
||||
onSuccess: data => {
|
||||
console.log("首页数据", data);
|
||||
if (data.data && data.data.success == true) {
|
||||
this.data = data.data.data;
|
||||
@@ -328,16 +335,22 @@ export default {
|
||||
} else console.log("用户无数据,不展示");
|
||||
}
|
||||
},
|
||||
onFail: (err) => {
|
||||
onFail: err => {
|
||||
console.log("用户无数据,不展示");
|
||||
},
|
||||
}
|
||||
});
|
||||
},
|
||||
// 跳转项目详情
|
||||
gotoProject(type) {
|
||||
gotoProject(type, id) {
|
||||
this.$router.push({
|
||||
name: "projectSelect",
|
||||
params: { type: type, ticket: this.$route.query.ticket },
|
||||
params: {
|
||||
type: type,
|
||||
ticket: this.$route.params.ticket
|
||||
? this.$route.params.ticket
|
||||
: this.ticket,
|
||||
prjId: id ? id : this.data.prjList[0].prjId
|
||||
}
|
||||
});
|
||||
},
|
||||
// 加载项目数统计信息
|
||||
@@ -357,37 +370,37 @@ export default {
|
||||
// 设置用户信息埋点
|
||||
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(result1);
|
||||
//经纬度
|
||||
ZWJSBridge.getLocation()
|
||||
.then((result2) => {
|
||||
.then(result2 => {
|
||||
console.log(result2);
|
||||
debugger;
|
||||
aplus_queue.push({
|
||||
action: "aplus.sendPV",
|
||||
arguments: [
|
||||
{
|
||||
is_auto: false,
|
||||
is_auto: false
|
||||
},
|
||||
{
|
||||
isMini: true,
|
||||
@@ -395,20 +408,20 @@ 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);
|
||||
});
|
||||
});
|
||||
},
|
||||
},
|
||||
}
|
||||
}
|
||||
};
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user