From 69472a11732870e89fb857e4bf31de02b67ecaf8 Mon Sep 17 00:00:00 2001 From: wangxia <779219182@qq.com> Date: Sat, 16 Mar 2024 18:36:26 +0800 Subject: [PATCH] =?UTF-8?q?=E8=81=8C=E6=95=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../FirstJob/components/vocationalRecord.vue | 271 ++ src/components/FirstJob/detail.vue | 349 +-- src/components/FirstJob/joblist.vue | 271 +- .../userinfo/usercenter/components/mybill.vue | 3081 ++++++++++---------- .../usercenter/components/vocationalBill.vue | 432 +++ src/main-prod.js | 13 + src/router/index.js | 13 + src/style/index.less | 1 + src/views/main.vue | 174 +- 9 files changed, 2668 insertions(+), 1937 deletions(-) create mode 100644 src/components/FirstJob/components/vocationalRecord.vue create mode 100644 src/components/userinfo/usercenter/components/vocationalBill.vue diff --git a/src/components/FirstJob/components/vocationalRecord.vue b/src/components/FirstJob/components/vocationalRecord.vue new file mode 100644 index 0000000..349eacf --- /dev/null +++ b/src/components/FirstJob/components/vocationalRecord.vue @@ -0,0 +1,271 @@ + + + + + diff --git a/src/components/FirstJob/detail.vue b/src/components/FirstJob/detail.vue index aecdd95..92f7ffb 100644 --- a/src/components/FirstJob/detail.vue +++ b/src/components/FirstJob/detail.vue @@ -9,30 +9,102 @@ - 稻田职位 + {{ from == "vocational" ? "职教职培" : "稻田职位" }} - 企业详情 + {{ from == "vocational" ? "详情" : "企业详情" }}
-
+ +
+
+ +
+
+
+ + +
+
+
+
{{ jobDetail.jobName }}
+
+ {{ jobDetail.district }} + {{ jobDetail.gender }} + {{ jobDetail.age }} +
+
+ + 工作薪资: + +
+
+
+
+
+
+
+
+
+
+
+ +
+
+ +
+
+
+
+
+
+
+ + +
+
+
+
服务费
+
+ {{ jobDetail.servetype }} +
+
+
+ + + +
+
+
+
+
职教描述
+
+ {{ "◆招生对象:\n基本要求:初中及以上学历,年龄 18-35 周岁;思想端正;心理和身体健康,无危害团体的传染性疾病;热爱自动化行业;服从公司安排,适应出差。\n1.工厂中想通过学习一门技术改变自己的一线操作工;\n2.从事自动化设备机构装配人员电控知识的扩展;\n3.想从事自动化行业的自动化相关专业毕业生,在步入岗位前的充电学习;" }} +
+
+
+ + +
-
@@ -44,14 +116,12 @@ {{ jobDetail.age }}
- {{ item }}
暂无要求
- {{ item }}
@@ -99,22 +169,14 @@
- - -
- -

@@ -122,19 +184,6 @@ 财务结算 职位通告
- -

温馨提示
@@ -146,18 +195,6 @@
薪资待遇
- 薪资明细 {{ jobDetail.salaryDetail || "-" }} @@ -192,37 +229,6 @@ {{ jobDetail.salaryDesp || "-" }} -
@@ -260,29 +266,6 @@ 体检 {{ jobDetail.healthRequire || "-" }} - - - -
@@ -315,22 +298,6 @@ 保险 {{ jobDetail.employeeInsurance || "-" }} - -
@@ -357,83 +324,8 @@ 入住条件 {{ jobDetail.dormitoryDesp || "-" }} - - - - - - - -
-
对接信息
@@ -449,10 +341,6 @@ 宿舍地址 {{ jobPoses.room.posContent ? jobPoses.room.posContent : "-" }} - 面试说明 {{ jobDetail.interviewDesp || "-" }} @@ -480,27 +368,15 @@
- 服务费详情 {{ jobDetail.agencyProfit || "-" }} - 扣税说明 {{ jobDetail.deductTaxDesp || "-" }} -
账单日
@@ -511,7 +387,6 @@
结算说明
-
{{ jobDetail.settlementTime || "-" }}
@@ -522,7 +397,6 @@
职位通告
复制
-
{{ jobDetail.jobDesp || "-" }}
@@ -531,62 +405,35 @@
-

客户经理

- - -

{{ managerInfo.workPhone || '-'}}

+

{{ managerInfo.workPhone || "-" }}

{{ managerInfo.name }}

-

企业详情

- -

{{ store.storeName || "-" }}

{{ store.storeInfo || "-" }}

-
- -
-
+ @@ -2875,7 +3109,7 @@ export default { } } button { - width: 80px; + min-width: 80px; height: 28px; font-size: 16px; // border: 1px solid rgba(77, 87, 94, 0.3); @@ -2899,6 +3133,7 @@ export default { .apply { margin-left: 16px; border: 1px solid #ff4400; + padding: 0 16px; background-color: #fff; color: #ff4400; cursor: pointer; diff --git a/src/components/userinfo/usercenter/components/mybill.vue b/src/components/userinfo/usercenter/components/mybill.vue index d46d2c5..01c5d5a 100644 --- a/src/components/userinfo/usercenter/components/mybill.vue +++ b/src/components/userinfo/usercenter/components/mybill.vue @@ -1,36 +1,36 @@ diff --git a/src/components/userinfo/usercenter/components/vocationalBill.vue b/src/components/userinfo/usercenter/components/vocationalBill.vue new file mode 100644 index 0000000..fbf653e --- /dev/null +++ b/src/components/userinfo/usercenter/components/vocationalBill.vue @@ -0,0 +1,432 @@ + + + + diff --git a/src/main-prod.js b/src/main-prod.js index 9650b18..cadc2e9 100644 --- a/src/main-prod.js +++ b/src/main-prod.js @@ -12,6 +12,19 @@ import moment from "moment"; import "moment/locale/zh-cn"; import AMap from "vue-amap"; Vue.use(AMap); +router.onError((error) => { + console.log("路由报错") + const pattern = /net::ERR_ABORTED 404 (Not Found)/g; + const err = /Failed to fetch dynamically/g; + const isChunkLoadFailed = error.message.match(pattern); + const isChunkLoadFailedErr = error.message.match(err); + if (isChunkLoadFailed || isChunkLoadFailedErr) { + message.error('系统已升级,正在刷新本地存储,请稍候...'); + setTimeout(() => { + location.reload(); + }, 2000) + } +}); AMap.initAMapApiLoader({ // 高德key key: "44f4591aabba558514366f6e55f8d20e", // 自己到官网申请,我随便写的 diff --git a/src/router/index.js b/src/router/index.js index 597928f..4136097 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -24,6 +24,12 @@ const routes = [ component: () => import("../components/FirstJob/joblist.vue"), // component: resolve => require(['../components/FirstJob/joblist.vue'],resolve) }, + { + path: "/list?type=vocational", + name: "JobList", + component: () => + import("../components/FirstJob/joblist.vue"), + }, { path: "/list1", name: "JobList", @@ -122,6 +128,13 @@ const routes = [ import("../components/userinfo/usercenter/components/mybill.vue"), // component: resolve => require(['../components/userinfo/usercenter/components/mybill.vue'],resolve) }, + { + path: "vocationalBill", + name: "vocationalBill", + component: () => + import("../components/userinfo/usercenter/components/vocationalBill.vue"), + // component: resolve => require(['../components/userinfo/usercenter/components/mybill.vue'],resolve) + }, { path: "merchantManagement", name: "merchantManagement", diff --git a/src/style/index.less b/src/style/index.less index 259120b..c5d00ac 100644 --- a/src/style/index.less +++ b/src/style/index.less @@ -665,6 +665,7 @@ i { .ant-pagination-item { border: none; border-radius: 6px; + line-height: 32px; a:hover { color: #ff4400; } diff --git a/src/views/main.vue b/src/views/main.vue index be1337c..1cf3b8c 100644 --- a/src/views/main.vue +++ b/src/views/main.vue @@ -22,8 +22,45 @@
  • 稻田职位
  • -
  • - 我的报名 +
  • + 职教职培 +
  • +
  • + + +
    我的报名
    +
    +
    + +
    + 职位报名 + +
    +
    + +
    + 职教报名 + +
    +
    +
    +
    +
  • +
  • + + + 职位报名 + + +