From 6fedd885fa1dc021ec30609ed14f2ac3ea60cbae Mon Sep 17 00:00:00 2001 From: wangxia <779219182@qq.com> Date: Fri, 1 Mar 2024 17:58:52 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=A2=E6=9C=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/FirstJob/detail.vue | 3051 +++++++++++++++---------------- src/components/FirstJob/detailYicai.vue | 6 +- src/components/FirstJob/joblist.vue | 41 +- src/style/index.less | 2 +- src/views/main.vue | 2093 +++++++++++---------- 5 files changed, 2595 insertions(+), 2598 deletions(-) diff --git a/src/components/FirstJob/detail.vue b/src/components/FirstJob/detail.vue index c14e70d..7abc98a 100644 --- a/src/components/FirstJob/detail.vue +++ b/src/components/FirstJob/detail.vue @@ -1,30 +1,30 @@ diff --git a/src/components/FirstJob/detailYicai.vue b/src/components/FirstJob/detailYicai.vue index 68866bf..dea7d69 100644 --- a/src/components/FirstJob/detailYicai.vue +++ b/src/components/FirstJob/detailYicai.vue @@ -63,8 +63,8 @@ @@ -306,6 +306,8 @@ export default { console.log(data.data); console.log(disposeJobListData(data.data)); this.jobDetail = disposeJobListData(data.data); + this.jobDetail.maxMonthlyPayStr = this.jobDetail.maxMonthlyPay / 100 + this.jobDetail.minMonthlyPayStr = this.jobDetail.minMonthlyPay / 100 this.store = data.data; this.jobDetail.district = disposeJobListData(data.data).district; this.retrunFee = setReturnFee(data.data.returnFee, data.data.returnFeeType); diff --git a/src/components/FirstJob/joblist.vue b/src/components/FirstJob/joblist.vue index 596c596..8ec96da 100644 --- a/src/components/FirstJob/joblist.vue +++ b/src/components/FirstJob/joblist.vue @@ -404,8 +404,7 @@
- - +
@@ -440,9 +439,15 @@
- - {{ item.minMonthlyPay ? item.minMonthlyPay : "" }}- - {{ item.maxMonthlyPay ? item.maxMonthlyPay : "" }}元/月 + + +
- + @@ -518,7 +523,7 @@ -

{{managerInfo.workPhone}}

+

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

{{managerInfo.name}} @@ -558,7 +563,7 @@ import Clipboard from 'clipboard' // import recordbill from "@/components/FirstJob/components/recordbill.vue"; export default { // 注入获取职位列表的方法 - inject: ['getJobList','getJobListYicai', 'reload'], + inject: ['getJobList', 'getJobListYicai', 'reload'], // 组件名称 name: '', // 局部注册的组件 @@ -626,7 +631,7 @@ export default { proxyinfo: JSON.parse(localStorage.getItem('LOGIN_DATA')), nationlist: nationlist, specialHotTag: [], - loginValue:{}, + loginValue: {}, dateinfo: { day: '', week: '', @@ -825,10 +830,9 @@ export default { // console.log(this.currentPage); this.formvalue.pageNum = this.currentPage } - if(this.signType == ''){ + if (this.signType == '') { this.getJobList() - - }else{ + } else { this.getJobListYicai() } @@ -853,7 +857,6 @@ export default { } else { this.getPosition() } - }, /** * el 被新创建的 vm.el 替换,并挂载到实例上去之后调用该钩子。 @@ -878,7 +881,7 @@ export default { getUserManager() { getUserManagerApi().then(({ data }) => { console.log(data) - this.$store.commit('setManagerInfo',data.data) + this.$store.commit('setManagerInfo', data.data) this.managerInfo = data.data console.log('+++++++++++++++++++++++++', this.$store) }) @@ -1085,9 +1088,8 @@ export default { } else { this.formvalue.signType = this.signType = '' this.formvalue.pageNum = 1 - this.getJobList() + this.getJobList() } - } }, async getJobSpecialList() { @@ -1350,14 +1352,13 @@ export default { // 跳转到路由新页面的方法 // console.log(item); // let userinfo = JSON.stringify(item); - if(this.signType == ''){ + if (this.signType == '') { this.$router.push({ name: 'recordbill', params: item }) sessionStorage.setItem('CURRENT_FIRM', JSON.stringify(item)) - }else if(this.signType == '1'){ + } else if (this.signType == '1') { this.$router.push({ name: 'recordbillYicai', params: item }) sessionStorage.setItem('CURRENT_FIRM_YICAI', JSON.stringify(item)) } - }, getSalaryClassifyValue(salaryClassify, salaryClassifyValue) { return getSalaryClassifyValue(salaryClassify, salaryClassifyValue) @@ -1443,7 +1444,7 @@ export default { this.classifyList = data.data.labels this.$nextTick(() => { let fileterContent = document.querySelector('.filter-content') - if(isNotEmptyCheck(fileterContent.scrollHeight)){ + if (isNotEmptyCheck(fileterContent.scrollHeight)) { this.filterHeight = fileterContent.scrollHeight } // fileterContent.style.height = this.filterHeight + "px"; diff --git a/src/style/index.less b/src/style/index.less index 90e9f87..259120b 100644 --- a/src/style/index.less +++ b/src/style/index.less @@ -1,4 +1,4 @@ -@import "http://at.alicdn.com/t/c/font_3135652_fo3hhgd9jw9.css"; +@import "http://at.alicdn.com/t/c/font_3135652_nopyx9nvfil.css"; @font-face { font-family: "DingTalk"; /* 这里的字体名称是自定义的 */ src: url("../assets/fonts/DingTalk\ Sans.ttf"); /* 服务器上ttf文件的路径,记得配置域名权限 */ diff --git a/src/views/main.vue b/src/views/main.vue index 5b6481e..be1337c 100644 --- a/src/views/main.vue +++ b/src/views/main.vue @@ -1,37 +1,37 @@