@@ -506,8 +506,8 @@ export default {
jobDetail: {}, // 职位相关信息
storeImage: [],
storeInfo: {},
- id: this.$route.query.id,
- currentPageNum: this.$route.query.page,
+ id: "",
+ currentPageNum: this.$route.query.page || "",
visible: false, // 录单模态框的展示
xiangdanVisible: false, // 详单的弹出
confirmLoading: false, // 录单提交的loading效果
@@ -723,7 +723,16 @@ export default {
beforeCreate() {},
created() {
// console.log(this.$router.matcher.match());
+ if (sessionStorage.getItem("PAGE_TYPE")) {
+ this.id = JSON.parse(sessionStorage.getItem("PAGE_TYPE")).id;
+ this.currentPageNum = JSON.parse(sessionStorage.getItem("PAGE_TYPE")).pageNum;
+ console.log("PAGE_TYPE", JSON.parse(sessionStorage.getItem("PAGE_TYPE")));
+ }
+ if (this.$route.query.id) {
+ this.id = this.$route.query.id;
+ }
+ console.log("this.id ", this.id);
console.log("this.$route", this.$route); // 获取传过来的params数据
if (this.$route.query.type) {
this.from = this.$route.query.type;
@@ -789,6 +798,7 @@ export default {
// 组件方法
methods: {
async getJobDetail() {
+ console.log("this.id", this.id);
try {
const { data } = await getJobDetailApi(this.id);
console.log("data", data);
@@ -992,9 +1002,9 @@ export default {
// 跳转到列表页
this.$router.push({
path: this.from == "vocational" ? "/list?type=vocational" : "/list?",
- query: {
- pagenum: this.currentPageNum,
- },
+ // query: {
+ // pagenum: this.currentPageNum || "",
+ // },
});
},
handlePreview(file) {
diff --git a/src/components/FirstJob/detailYicai.vue b/src/components/FirstJob/detailYicai.vue
index bb3aebd..db6846c 100644
--- a/src/components/FirstJob/detailYicai.vue
+++ b/src/components/FirstJob/detailYicai.vue
@@ -131,7 +131,7 @@
diff --git a/src/components/FirstJob/recordBillYicai.vue b/src/components/FirstJob/recordBillYicai.vue
index 80d78ac..a2a3f46 100644
--- a/src/components/FirstJob/recordBillYicai.vue
+++ b/src/components/FirstJob/recordBillYicai.vue
@@ -1,31 +1,31 @@
-
-
-
-
-
-
-
-
-
-
- 稻田职位
-
-
-
-
-
- 企业详情
-
-
-
- 报名
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ 一才职位
+
+
+
+
+
+ 企业详情
+
+
+
+ 报名
+
+
+
+
+
+
-
-
{{ proxyinfo.userName !== "" && proxyinfo.userName !== null && proxyinfo.userName !== undefined ? proxyinfo.userName : proxyinfo.tel }}
-
- {{ i.userName }}
-
-
+ {{ proxyinfo.userName !== "" && proxyinfo.userName !== null && proxyinfo.userName !== undefined ? proxyinfo.userName : proxyinfo.tel }}
+
+ {{ i.userName }}
+
+ 修改
-
-
-
-
-
- {{ firminfo.storeName }}
-
-
-
-
-
-
- {{ firminfo.jobName }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+ {{ firminfo.storeName }}
+
+
+
+
+
+ {{ firminfo.jobName }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 男
- 女
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ item.name }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 男
+ 女
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ item.name }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
+ }"
+ >取消
+ 提交
+
+
+