|
|
@@ -334,10 +334,15 @@
|
|
|
ownerInfo: {},
|
|
|
skills: [],
|
|
|
};
|
|
|
+ let refreshInfo = {}
|
|
|
let res = await params.$axios.$post("/api/recruit/getRecruit", p);
|
|
|
if (res.status === 1) {
|
|
|
recruitData = res.data;
|
|
|
}
|
|
|
+ let purchaseRefresh = await params.$axios.$post("/api/recruit/purchaseRefresh")
|
|
|
+ if (purchaseRefresh.status === 1) {
|
|
|
+ refreshInfo = purchaseRefresh.data.product_info
|
|
|
+ }
|
|
|
let domainConfig = params.store.state.domainConfig;
|
|
|
|
|
|
/** 处理面包屑导航 **/
|
|
|
@@ -376,6 +381,7 @@
|
|
|
android,
|
|
|
recruitId: recruitData["id"],
|
|
|
recruitData,
|
|
|
+ refreshInfo,
|
|
|
mobile: params.app.$deviceType.isMobile(),
|
|
|
breadcrumbList: dealBreadcrumbList,
|
|
|
...footer,
|
|
|
@@ -516,8 +522,10 @@
|
|
|
/** 刷新 **/
|
|
|
async handleRefreshClick() {
|
|
|
const query = {
|
|
|
- product_type: 21,
|
|
|
- product_id: this.recruitId,
|
|
|
+ product_type: this.refreshInfo.product_type,
|
|
|
+ product_id: this.refreshInfo.product_id,
|
|
|
+ title: this.refreshInfo.name,
|
|
|
+ obj: this.recruitId
|
|
|
};
|
|
|
|
|
|
location.href = "proginn://pay?" + qs.stringify(query);
|