flat: 审核
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
</view>
|
||||
|
||||
<view class="head_right">
|
||||
{{ companyitem.wage }}
|
||||
{{ companyitem.wage }}{{ wageUnit[companyitem.wageUnitCategory] }}
|
||||
</view>
|
||||
|
||||
</view>
|
||||
@@ -28,7 +28,8 @@
|
||||
<view style="width: 100%;height: 1rpx;background-color: #999;margin: 0 auto;opacity: .5;"></view>
|
||||
<view class="timeAddress" style="position: relative;">
|
||||
<view style="display: flex;align-items: center;">
|
||||
<image src="../../static/img/city.png" style="width: 40rpx;height: 40rpx;margin-right: 10rpx;" mode=""></image>
|
||||
<image src="../../static/img/city.png" style="width: 40rpx;height: 40rpx;margin-right: 10rpx;" mode="">
|
||||
</image>
|
||||
<view style="font-size: 26rpx;color:#333;">{{ companyitem.missionCompanyName }}</view>
|
||||
</view>
|
||||
<view style="display: flex;align-items: center;position:absolute;right:0;">
|
||||
@@ -38,8 +39,8 @@
|
||||
</view>
|
||||
<view class="comment" v-if='comment' @tap.stop="goComment(companyitem.missionNo)">
|
||||
<view class="comment_content commentimg" v-if='companyitem.scoreAll > 0'>
|
||||
<image class="commentimg_image" src="../../static/img/star.full.svg" v-for="index1 in companyitem.scoreAll"
|
||||
mode="" :key="index1"></image>
|
||||
<image class="commentimg_image" src="../../static/img/star.full.svg"
|
||||
v-for="index1 in companyitem.scoreAll" mode="" :key="index1"></image>
|
||||
<image class="commentimg_image" src="../../static/img/star.empty.svg"
|
||||
v-for="index2 in (5 - companyitem.scoreAll)" mode="" :key="index2"></image>
|
||||
</view>
|
||||
@@ -51,18 +52,20 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import {
|
||||
import {
|
||||
toDoller,
|
||||
dateFormat
|
||||
} from "../../untils/format.js";
|
||||
import dictionary from '@/common/textdata.js';
|
||||
} from "../../untils/format.js";
|
||||
import dictionary from '@/common/textdata.js';
|
||||
|
||||
export default {
|
||||
beforeCreate: function () { },
|
||||
export default {
|
||||
beforeCreate: function() {},
|
||||
props: {
|
||||
companyitem: {
|
||||
type: Object,
|
||||
default() { return [] }
|
||||
default () {
|
||||
return []
|
||||
}
|
||||
},
|
||||
comment: {
|
||||
type: Boolean,
|
||||
@@ -80,7 +83,8 @@ export default {
|
||||
data() {
|
||||
return {
|
||||
...dictionary,
|
||||
string: "<div style='overflow: hidden;white-space: nowrap;text-overflow: ellipsis;'>" + this.companyitem.missionTitle +
|
||||
string: "<div style='overflow: hidden;white-space: nowrap;text-overflow: ellipsis;'>" + this.companyitem
|
||||
.missionTitle +
|
||||
"</div>"
|
||||
};
|
||||
},
|
||||
@@ -90,24 +94,24 @@ export default {
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
goComment: function (no) {
|
||||
goComment: function(no) {
|
||||
uni.navigateTo({
|
||||
url: `../../pageMy/mycomment/mycomment?missionNo=${encodeURIComponent(no)}`
|
||||
})
|
||||
},
|
||||
goInfo: function (item) {
|
||||
goInfo: function(item) {
|
||||
// const isCan = this.noApply === false ? '0' : '1'
|
||||
if(item.type == 0) {
|
||||
if (item.type == 0) {
|
||||
uni.navigateTo({
|
||||
url: `/pages/projectInfo/projectInfo?missionNo=${encodeURIComponent(item.missionNo)}&isCan=1`
|
||||
})
|
||||
} else if(item.type == 1) {
|
||||
} else if (item.type == 1) {
|
||||
uni.navigateTo({
|
||||
url: `/pages/projectInfo/workInfo?workId=${encodeURIComponent(item.id)}&isCan=1`
|
||||
})
|
||||
}
|
||||
},
|
||||
getCity: function (val) {
|
||||
getCity: function(val) {
|
||||
if (val) {
|
||||
let areas = this.$store.getters.getAreaParents(val)
|
||||
if (areas.length === 3) {
|
||||
@@ -118,22 +122,22 @@ export default {
|
||||
toDoller,
|
||||
dateFormat
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style>
|
||||
.commentimg_image {
|
||||
.commentimg_image {
|
||||
width: 40rpx;
|
||||
height: 40rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.commentimg {
|
||||
.commentimg {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
}
|
||||
|
||||
.gocomment {
|
||||
.gocomment {
|
||||
font-size: 26rpx !important;
|
||||
border-radius: 5rpx;
|
||||
border: 1rpx solid #c3c3c3;
|
||||
@@ -142,9 +146,9 @@ export default {
|
||||
float: right;
|
||||
height: 50rpx;
|
||||
line-height: 50rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.timeAddress {
|
||||
.timeAddress {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
@@ -153,15 +157,15 @@ export default {
|
||||
color: #999999;
|
||||
margin: 10rpx 0;
|
||||
padding: 10rpx 0;
|
||||
}
|
||||
}
|
||||
|
||||
.allName {
|
||||
.allName {
|
||||
font-family: PingFangSC-Regular;
|
||||
font-size: 28rpx;
|
||||
color: #666666;
|
||||
}
|
||||
}
|
||||
|
||||
.askList {
|
||||
.askList {
|
||||
/* width: 14%; */
|
||||
font-family: PingFangSC-Regular;
|
||||
font-size: 24rpx;
|
||||
@@ -170,9 +174,9 @@ export default {
|
||||
padding: 5rpx 15rpx;
|
||||
margin-right: 10rpx;
|
||||
margin-bottom: 10rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.ask {
|
||||
.ask {
|
||||
overflow: hidden;
|
||||
width: 100%;
|
||||
display: flex;
|
||||
@@ -180,16 +184,16 @@ export default {
|
||||
flex-wrap: wrap;
|
||||
justify-content: flex-start;
|
||||
margin: 20rpx 0;
|
||||
}
|
||||
}
|
||||
|
||||
.head_right {
|
||||
.head_right {
|
||||
ont-family: PingFangSC-Medium;
|
||||
font-size: 28rpx;
|
||||
color: #F46161;
|
||||
font-weight: bold;
|
||||
}
|
||||
}
|
||||
|
||||
.head_left {
|
||||
.head_left {
|
||||
font-family: PingFangSC-Medium;
|
||||
font-size: 32rpx;
|
||||
font-weight: bold;
|
||||
@@ -200,13 +204,13 @@ export default {
|
||||
/*不换行*/
|
||||
text-overflow: ellipsis;
|
||||
/*超出部分文字以...显示*/
|
||||
}
|
||||
}
|
||||
|
||||
.highlight {
|
||||
.highlight {
|
||||
color: #F46161;
|
||||
}
|
||||
}
|
||||
|
||||
.body {
|
||||
.body {
|
||||
width: 690rpx;
|
||||
margin: 0rpx auto;
|
||||
background-color: #fefefe;
|
||||
@@ -216,11 +220,11 @@ export default {
|
||||
padding-bottom: 0;
|
||||
border-radius: 20rpx;
|
||||
margin-top: 20rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.heads {
|
||||
.heads {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
@@ -7,7 +7,7 @@
|
||||
</view>
|
||||
|
||||
<view class="head_right">
|
||||
{{ companyitem.wage }}
|
||||
{{ companyitem.wage }}{{ wageUnit[companyitem.wageUnitCategory] }}
|
||||
</view>
|
||||
|
||||
</view>
|
||||
@@ -28,7 +28,8 @@
|
||||
<view style="width: 100%;height: 1rpx;background-color: #999;margin: 0 auto;opacity: .5;"></view>
|
||||
<view class="timeAddress" style="position: relative;">
|
||||
<view style="display: flex;align-items: center;">
|
||||
<image src="../../static/img/city.png" style="width: 40rpx;height: 40rpx;margin-right: 10rpx;" mode=""></image>
|
||||
<image src="../../static/img/city.png" style="width: 40rpx;height: 40rpx;margin-right: 10rpx;" mode="">
|
||||
</image>
|
||||
<view style="font-size: 26rpx;color:#333;">{{ companyitem.missionCompanyName }}</view>
|
||||
</view>
|
||||
<view style="display: flex;align-items: center;position:absolute;right:0;">
|
||||
@@ -38,8 +39,8 @@
|
||||
</view>
|
||||
<view class="comment" v-if='comment' @tap.stop="goComment(companyitem.missionNo)">
|
||||
<view class="comment_content commentimg" v-if='companyitem.scoreAll > 0'>
|
||||
<image class="commentimg_image" src="../../static/img/star.full.svg" v-for="index1 in companyitem.scoreAll"
|
||||
mode="" :key="index1"></image>
|
||||
<image class="commentimg_image" src="../../static/img/star.full.svg"
|
||||
v-for="index1 in companyitem.scoreAll" mode="" :key="index1"></image>
|
||||
<image class="commentimg_image" src="../../static/img/star.empty.svg"
|
||||
v-for="index2 in (5 - companyitem.scoreAll)" mode="" :key="index2"></image>
|
||||
</view>
|
||||
@@ -51,19 +52,23 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import {
|
||||
import {
|
||||
toDoller,
|
||||
dateFormat
|
||||
} from "../../untils/format.js";
|
||||
import dictionary from '@/common/textdata.js';
|
||||
import { defaults } from "lodash";
|
||||
} from "../../untils/format.js";
|
||||
import dictionary from '@/common/textdata.js';
|
||||
import {
|
||||
defaults
|
||||
} from "lodash";
|
||||
|
||||
export default {
|
||||
beforeCreate: function () { },
|
||||
export default {
|
||||
beforeCreate: function() {},
|
||||
props: {
|
||||
companyitem: {
|
||||
type: Object,
|
||||
default() { return [] }
|
||||
default () {
|
||||
return []
|
||||
}
|
||||
},
|
||||
comment: {
|
||||
type: Boolean,
|
||||
@@ -81,13 +86,14 @@ export default {
|
||||
data() {
|
||||
return {
|
||||
...dictionary,
|
||||
string: "<div style='overflow: hidden;white-space: nowrap;text-overflow: ellipsis;'>" + this.companyitem.missionTitle +
|
||||
string: "<div style='overflow: hidden;white-space: nowrap;text-overflow: ellipsis;'>" + this.companyitem
|
||||
.missionTitle +
|
||||
"</div>"
|
||||
};
|
||||
},
|
||||
computed: {
|
||||
skillNames() {
|
||||
if(this.companyitem.skillNames) {
|
||||
if (this.companyitem.skillNames) {
|
||||
return this.companyitem.skillNames?.split(',')
|
||||
} else {
|
||||
return []
|
||||
@@ -95,16 +101,18 @@ export default {
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
goComment: function (no) {
|
||||
goComment: function(no) {
|
||||
uni.navigateTo({
|
||||
url: `../../pageMy/mycomment/mycomment?missionNo=${encodeURIComponent(no)}`
|
||||
})
|
||||
},
|
||||
goInfo: function (item) {
|
||||
goInfo: function(item) {
|
||||
// const isCan = this.noApply === false ? '0' : '1'
|
||||
switch(item.type) {
|
||||
switch (item.type) {
|
||||
case 0:
|
||||
this.navTo(`/pages/projectInfo/projectInfo?missionNo=${encodeURIComponent(item.missionNo)}&isCan=1`)
|
||||
this.navTo(
|
||||
`/pages/projectInfo/projectInfo?missionNo=${encodeURIComponent(item.missionNo)}&isCan=1`
|
||||
)
|
||||
break
|
||||
case 1:
|
||||
this.navTo(`/pages/projectInfo/workInfo?workId=${encodeURIComponent(item.id)}&isCan=1`)
|
||||
@@ -117,7 +125,7 @@ export default {
|
||||
}
|
||||
|
||||
},
|
||||
getCity: function (val) {
|
||||
getCity: function(val) {
|
||||
if (val) {
|
||||
let areas = this.$store.getters.getAreaParents(val)
|
||||
if (areas.length === 3) {
|
||||
@@ -128,22 +136,22 @@ export default {
|
||||
toDoller,
|
||||
dateFormat
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style>
|
||||
.commentimg_image {
|
||||
.commentimg_image {
|
||||
width: 40rpx;
|
||||
height: 40rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.commentimg {
|
||||
.commentimg {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
}
|
||||
|
||||
.gocomment {
|
||||
.gocomment {
|
||||
font-size: 26rpx !important;
|
||||
border-radius: 5rpx;
|
||||
border: 1rpx solid #c3c3c3;
|
||||
@@ -152,9 +160,9 @@ export default {
|
||||
float: right;
|
||||
height: 50rpx;
|
||||
line-height: 50rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.timeAddress {
|
||||
.timeAddress {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
@@ -163,15 +171,15 @@ export default {
|
||||
color: #999999;
|
||||
margin: 10rpx 0;
|
||||
padding: 10rpx 0;
|
||||
}
|
||||
}
|
||||
|
||||
.allName {
|
||||
.allName {
|
||||
font-family: PingFangSC-Regular;
|
||||
font-size: 28rpx;
|
||||
color: #666666;
|
||||
}
|
||||
}
|
||||
|
||||
.askList {
|
||||
.askList {
|
||||
/* width: 14%; */
|
||||
font-family: PingFangSC-Regular;
|
||||
font-size: 24rpx;
|
||||
@@ -180,9 +188,9 @@ export default {
|
||||
padding: 5rpx 15rpx;
|
||||
margin-right: 10rpx;
|
||||
margin-bottom: 10rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.ask {
|
||||
.ask {
|
||||
overflow: hidden;
|
||||
width: 100%;
|
||||
display: flex;
|
||||
@@ -190,16 +198,16 @@ export default {
|
||||
flex-wrap: wrap;
|
||||
justify-content: flex-start;
|
||||
margin: 20rpx 0;
|
||||
}
|
||||
}
|
||||
|
||||
.head_right {
|
||||
.head_right {
|
||||
ont-family: PingFangSC-Medium;
|
||||
font-size: 28rpx;
|
||||
color: #F46161;
|
||||
font-weight: bold;
|
||||
}
|
||||
}
|
||||
|
||||
.head_left {
|
||||
.head_left {
|
||||
font-family: PingFangSC-Medium;
|
||||
font-size: 32rpx;
|
||||
font-weight: bold;
|
||||
@@ -210,13 +218,13 @@ export default {
|
||||
/*不换行*/
|
||||
text-overflow: ellipsis;
|
||||
/*超出部分文字以...显示*/
|
||||
}
|
||||
}
|
||||
|
||||
.highlight {
|
||||
.highlight {
|
||||
color: #F46161;
|
||||
}
|
||||
}
|
||||
|
||||
.body {
|
||||
.body {
|
||||
width: 690rpx;
|
||||
margin: 0rpx auto;
|
||||
background-color: #fefefe;
|
||||
@@ -226,11 +234,11 @@ export default {
|
||||
padding-bottom: 0;
|
||||
border-radius: 20rpx;
|
||||
margin-top: 20rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.heads {
|
||||
.heads {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
@@ -7,7 +7,7 @@
|
||||
</view>
|
||||
|
||||
<view class="head_right">
|
||||
{{ companyitem.wage }}
|
||||
{{ companyitem.wage }} {{ wageUnit[companyitem.wageUnitCategory] }}
|
||||
</view>
|
||||
</view>
|
||||
<view class="ask">
|
||||
@@ -24,7 +24,8 @@
|
||||
<view style="width: 100%;height: 1rpx;background-color: #999;margin: 0 auto;opacity: .5;"></view>
|
||||
<view class="timeAddress" style="position: relative;">
|
||||
<view style="display: flex;align-items: center;">
|
||||
<image src="../../static/img/city.png" style="width: 40rpx;height: 40rpx;margin-right: 10rpx;" mode=""></image>
|
||||
<image src="../../static/img/city.png" style="width: 40rpx;height: 40rpx;margin-right: 10rpx;" mode="">
|
||||
</image>
|
||||
<view style="font-size: 26rpx;color:#333;">{{ companyitem.missionCompanyName }}</view>
|
||||
</view>
|
||||
<!-- <view v-if="near">
|
||||
@@ -40,8 +41,8 @@
|
||||
</view>
|
||||
<view class="comment" v-if='comment' @tap.stop="goComment(companyitem.missionNo)">
|
||||
<view class="comment_content commentimg" v-if='companyitem.scoreAll > 0'>
|
||||
<image class="commentimg_image" src="../../static/img/star.full.svg" v-for="index1 in companyitem.scoreAll"
|
||||
mode="" :key="index1"></image>
|
||||
<image class="commentimg_image" src="../../static/img/star.full.svg"
|
||||
v-for="index1 in companyitem.scoreAll" mode="" :key="index1"></image>
|
||||
<image class="commentimg_image" src="../../static/img/star.empty.svg"
|
||||
v-for="index2 in (5 - companyitem.scoreAll)" mode="" :key="index2"></image>
|
||||
</view>
|
||||
@@ -53,18 +54,20 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import {
|
||||
import {
|
||||
toDoller,
|
||||
dateFormat
|
||||
} from "../../untils/format.js";
|
||||
import dictionary from '@/common/textdata.js';
|
||||
} from "../../untils/format.js";
|
||||
import dictionary from '@/common/textdata.js';
|
||||
|
||||
export default {
|
||||
beforeCreate: function () { },
|
||||
export default {
|
||||
beforeCreate: function() {},
|
||||
props: {
|
||||
companyitem: {
|
||||
type: Object,
|
||||
default() { return [] }
|
||||
default () {
|
||||
return []
|
||||
}
|
||||
},
|
||||
comment: {
|
||||
type: Boolean,
|
||||
@@ -82,7 +85,8 @@ export default {
|
||||
data() {
|
||||
return {
|
||||
...dictionary,
|
||||
string: "<div style='overflow: hidden;white-space: nowrap;text-overflow: ellipsis;'>" + this.companyitem.missionTitle +
|
||||
string: "<div style='overflow: hidden;white-space: nowrap;text-overflow: ellipsis;'>" + this.companyitem
|
||||
.missionTitle +
|
||||
"</div>"
|
||||
};
|
||||
},
|
||||
@@ -92,18 +96,18 @@ export default {
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
goComment: function (no) {
|
||||
goComment: function(no) {
|
||||
uni.navigateTo({
|
||||
url: `../../pageMy/mycomment/mycomment?missionNo=${encodeURIComponent(no)}`
|
||||
})
|
||||
},
|
||||
goInfo: function (no) {
|
||||
goInfo: function(no) {
|
||||
const isCan = this.noApply === false ? '0' : '1'
|
||||
uni.navigateTo({
|
||||
url: `/pages/projectInfo/projectInfo?missionNo=${encodeURIComponent(no)}&isCan=${isCan}`
|
||||
})
|
||||
},
|
||||
getCity: function (val) {
|
||||
getCity: function(val) {
|
||||
if (val) {
|
||||
let areas = this.$store.getters.getAreaParents(val)
|
||||
if (areas.length === 3) {
|
||||
@@ -114,22 +118,22 @@ export default {
|
||||
toDoller,
|
||||
dateFormat
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style>
|
||||
.commentimg_image {
|
||||
.commentimg_image {
|
||||
width: 40rpx;
|
||||
height: 40rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.commentimg {
|
||||
.commentimg {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
}
|
||||
|
||||
.gocomment {
|
||||
.gocomment {
|
||||
font-size: 26rpx !important;
|
||||
border-radius: 5rpx;
|
||||
border: 1rpx solid #c3c3c3;
|
||||
@@ -138,9 +142,9 @@ export default {
|
||||
float: right;
|
||||
height: 50rpx;
|
||||
line-height: 50rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.timeAddress {
|
||||
.timeAddress {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
@@ -149,15 +153,15 @@ export default {
|
||||
color: #999999;
|
||||
margin: 10rpx 0;
|
||||
padding: 10rpx 0;
|
||||
}
|
||||
}
|
||||
|
||||
.allName {
|
||||
.allName {
|
||||
font-family: PingFangSC-Regular;
|
||||
font-size: 28rpx;
|
||||
color: #666666;
|
||||
}
|
||||
}
|
||||
|
||||
.askList {
|
||||
.askList {
|
||||
/* width: 14%; */
|
||||
font-family: PingFangSC-Regular;
|
||||
font-size: 24rpx;
|
||||
@@ -166,9 +170,9 @@ export default {
|
||||
padding: 5rpx 15rpx;
|
||||
margin-right: 10rpx;
|
||||
margin-bottom: 10rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.ask {
|
||||
.ask {
|
||||
overflow: hidden;
|
||||
width: 100%;
|
||||
display: flex;
|
||||
@@ -176,16 +180,16 @@ export default {
|
||||
flex-wrap: wrap;
|
||||
justify-content: flex-start;
|
||||
margin: 20rpx 0;
|
||||
}
|
||||
}
|
||||
|
||||
.head_right {
|
||||
.head_right {
|
||||
ont-family: PingFangSC-Medium;
|
||||
font-size: 28rpx;
|
||||
color: #F46161;
|
||||
font-weight: bold;
|
||||
}
|
||||
}
|
||||
|
||||
.head_left {
|
||||
.head_left {
|
||||
font-family: PingFangSC-Medium;
|
||||
font-size: 32rpx;
|
||||
font-weight: bold;
|
||||
@@ -196,13 +200,13 @@ export default {
|
||||
/*不换行*/
|
||||
text-overflow: ellipsis;
|
||||
/*超出部分文字以...显示*/
|
||||
}
|
||||
}
|
||||
|
||||
.highlight {
|
||||
.highlight {
|
||||
color: #F46161;
|
||||
}
|
||||
}
|
||||
|
||||
.body {
|
||||
.body {
|
||||
width: 690rpx;
|
||||
margin: 0rpx auto;
|
||||
background-color: #fefefe;
|
||||
@@ -212,11 +216,11 @@ export default {
|
||||
padding-bottom: 0;
|
||||
border-radius: 20rpx;
|
||||
margin-top: 20rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.heads {
|
||||
.heads {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
@@ -7,7 +7,7 @@
|
||||
</view>
|
||||
|
||||
<view class="head_right">
|
||||
{{ companyitem.wage }}
|
||||
{{ companyitem.wage }}{{ wageUnit[companyitem.wageUnitCategory] }}
|
||||
</view>
|
||||
|
||||
</view>
|
||||
@@ -28,7 +28,8 @@
|
||||
<view style="width: 100%;height: 1rpx;background-color: #999;margin: 0 auto;opacity: .5;"></view>
|
||||
<view class="timeAddress" style="position: relative;">
|
||||
<view style="display: flex;align-items: center;">
|
||||
<image src="../../static/img/city.png" style="width: 40rpx;height: 40rpx;margin-right: 10rpx;" mode=""></image>
|
||||
<image src="../../static/img/city.png" style="width: 40rpx;height: 40rpx;margin-right: 10rpx;" mode="">
|
||||
</image>
|
||||
<view style="font-size: 26rpx;color:#333;">{{ companyitem.jobCompanyName }}</view>
|
||||
</view>
|
||||
<view style="display: flex;align-items: center;position:absolute;right:0;">
|
||||
@@ -38,8 +39,8 @@
|
||||
</view>
|
||||
<view class="comment" v-if='comment' @tap.stop="goComment(companyitem.missionNo)">
|
||||
<view class="comment_content commentimg" v-if='companyitem.scoreAll > 0'>
|
||||
<image class="commentimg_image" src="../../static/img/star.full.svg" v-for="index1 in companyitem.scoreAll"
|
||||
mode="" :key="index1"></image>
|
||||
<image class="commentimg_image" src="../../static/img/star.full.svg"
|
||||
v-for="index1 in companyitem.scoreAll" mode="" :key="index1"></image>
|
||||
<image class="commentimg_image" src="../../static/img/star.empty.svg"
|
||||
v-for="index2 in (5 - companyitem.scoreAll)" mode="" :key="index2"></image>
|
||||
</view>
|
||||
@@ -51,18 +52,20 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import {
|
||||
import {
|
||||
toDoller,
|
||||
dateFormat
|
||||
} from "../../untils/format.js";
|
||||
import dictionary from '@/common/textdata.js';
|
||||
} from "../../untils/format.js";
|
||||
import dictionary from '@/common/textdata.js';
|
||||
|
||||
export default {
|
||||
beforeCreate: function () { },
|
||||
export default {
|
||||
beforeCreate: function() {},
|
||||
props: {
|
||||
companyitem: {
|
||||
type: Object,
|
||||
default() { return [] }
|
||||
default () {
|
||||
return []
|
||||
}
|
||||
},
|
||||
comment: {
|
||||
type: Boolean,
|
||||
@@ -80,7 +83,8 @@ export default {
|
||||
data() {
|
||||
return {
|
||||
...dictionary,
|
||||
string: "<div style='overflow: hidden;white-space: nowrap;text-overflow: ellipsis;'>" + this.companyitem.jobName +
|
||||
string: "<div style='overflow: hidden;white-space: nowrap;text-overflow: ellipsis;'>" + this.companyitem
|
||||
.jobName +
|
||||
"</div>"
|
||||
};
|
||||
},
|
||||
@@ -90,12 +94,12 @@ export default {
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
goComment: function (no) {
|
||||
goComment: function(no) {
|
||||
uni.navigateTo({
|
||||
url: `../../pageMy/mycomment/mycomment?missionNo=${encodeURIComponent(no)}`
|
||||
})
|
||||
},
|
||||
goInfo: function (item) {
|
||||
goInfo: function(item) {
|
||||
// const isCan = this.noApply === false ? '0' : '1'
|
||||
// if(item.type == 0) {
|
||||
// uni.navigateTo({
|
||||
@@ -107,7 +111,7 @@ export default {
|
||||
})
|
||||
// }
|
||||
},
|
||||
getCity: function (val) {
|
||||
getCity: function(val) {
|
||||
if (val) {
|
||||
let areas = this.$store.getters.getAreaParents(val)
|
||||
if (areas.length === 3) {
|
||||
@@ -118,22 +122,22 @@ export default {
|
||||
toDoller,
|
||||
dateFormat
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style>
|
||||
.commentimg_image {
|
||||
.commentimg_image {
|
||||
width: 40rpx;
|
||||
height: 40rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.commentimg {
|
||||
.commentimg {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
}
|
||||
|
||||
.gocomment {
|
||||
.gocomment {
|
||||
font-size: 26rpx !important;
|
||||
border-radius: 5rpx;
|
||||
border: 1rpx solid #c3c3c3;
|
||||
@@ -142,9 +146,9 @@ export default {
|
||||
float: right;
|
||||
height: 50rpx;
|
||||
line-height: 50rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.timeAddress {
|
||||
.timeAddress {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
@@ -153,15 +157,15 @@ export default {
|
||||
color: #999999;
|
||||
margin: 10rpx 0;
|
||||
padding: 10rpx 0;
|
||||
}
|
||||
}
|
||||
|
||||
.allName {
|
||||
.allName {
|
||||
font-family: PingFangSC-Regular;
|
||||
font-size: 28rpx;
|
||||
color: #666666;
|
||||
}
|
||||
}
|
||||
|
||||
.askList {
|
||||
.askList {
|
||||
/* width: 14%; */
|
||||
font-family: PingFangSC-Regular;
|
||||
font-size: 24rpx;
|
||||
@@ -170,9 +174,9 @@ export default {
|
||||
padding: 5rpx 15rpx;
|
||||
margin-right: 10rpx;
|
||||
margin-bottom: 10rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.ask {
|
||||
.ask {
|
||||
overflow: hidden;
|
||||
width: 100%;
|
||||
display: flex;
|
||||
@@ -180,16 +184,16 @@ export default {
|
||||
flex-wrap: wrap;
|
||||
justify-content: flex-start;
|
||||
margin: 20rpx 0;
|
||||
}
|
||||
}
|
||||
|
||||
.head_right {
|
||||
.head_right {
|
||||
ont-family: PingFangSC-Medium;
|
||||
font-size: 28rpx;
|
||||
color: #F46161;
|
||||
font-weight: bold;
|
||||
}
|
||||
}
|
||||
|
||||
.head_left {
|
||||
.head_left {
|
||||
font-family: PingFangSC-Medium;
|
||||
font-size: 32rpx;
|
||||
font-weight: bold;
|
||||
@@ -200,13 +204,13 @@ export default {
|
||||
/*不换行*/
|
||||
text-overflow: ellipsis;
|
||||
/*超出部分文字以...显示*/
|
||||
}
|
||||
}
|
||||
|
||||
.highlight {
|
||||
.highlight {
|
||||
color: #F46161;
|
||||
}
|
||||
}
|
||||
|
||||
.body {
|
||||
.body {
|
||||
width: 690rpx;
|
||||
margin: 0rpx auto;
|
||||
background-color: #fefefe;
|
||||
@@ -216,11 +220,11 @@ export default {
|
||||
padding-bottom: 0;
|
||||
border-radius: 20rpx;
|
||||
margin-top: 20rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.heads {
|
||||
.heads {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
@@ -7,7 +7,7 @@
|
||||
</view>
|
||||
|
||||
<view class="head_right">
|
||||
{{ companyitem.wage }}
|
||||
{{ companyitem.wage }}{{ wageUnit[companyitem.wageUnitCategory] }}
|
||||
</view>
|
||||
|
||||
</view>
|
||||
@@ -28,7 +28,8 @@
|
||||
<view style="width: 100%;height: 1rpx;background-color: #999;margin: 0 auto;opacity: .5;"></view>
|
||||
<view class="timeAddress" style="position: relative;">
|
||||
<view style="display: flex;align-items: center;">
|
||||
<image src="../../static/img/city.png" style="width: 40rpx;height: 40rpx;margin-right: 10rpx;" mode=""></image>
|
||||
<image src="../../static/img/city.png" style="width: 40rpx;height: 40rpx;margin-right: 10rpx;" mode="">
|
||||
</image>
|
||||
<view style="font-size: 26rpx;color:#333;">{{ companyitem.missionCompanyName }}</view>
|
||||
</view>
|
||||
<view style="display: flex;align-items: center;position:absolute;right:0;">
|
||||
@@ -38,8 +39,8 @@
|
||||
</view>
|
||||
<view class="comment" v-if='comment' @tap.stop="goComment(companyitem.missionNo)">
|
||||
<view class="comment_content commentimg" v-if='companyitem.scoreAll > 0'>
|
||||
<image class="commentimg_image" src="../../static/img/star.full.svg" v-for="index1 in companyitem.scoreAll"
|
||||
mode="" :key="index1"></image>
|
||||
<image class="commentimg_image" src="../../static/img/star.full.svg"
|
||||
v-for="index1 in companyitem.scoreAll" mode="" :key="index1"></image>
|
||||
<image class="commentimg_image" src="../../static/img/star.empty.svg"
|
||||
v-for="index2 in (5 - companyitem.scoreAll)" mode="" :key="index2"></image>
|
||||
</view>
|
||||
@@ -51,18 +52,20 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import {
|
||||
import {
|
||||
toDoller,
|
||||
dateFormat
|
||||
} from "../../untils/format.js";
|
||||
import dictionary from '@/common/textdata.js';
|
||||
} from "../../untils/format.js";
|
||||
import dictionary from '@/common/textdata.js';
|
||||
|
||||
export default {
|
||||
beforeCreate: function () { },
|
||||
export default {
|
||||
beforeCreate: function() {},
|
||||
props: {
|
||||
companyitem: {
|
||||
type: Object,
|
||||
default() { return [] }
|
||||
default () {
|
||||
return []
|
||||
}
|
||||
},
|
||||
comment: {
|
||||
type: Boolean,
|
||||
@@ -80,7 +83,8 @@ export default {
|
||||
data() {
|
||||
return {
|
||||
...dictionary,
|
||||
string: "<div style='overflow: hidden;white-space: nowrap;text-overflow: ellipsis;'>" + this.companyitem.missionTitle +
|
||||
string: "<div style='overflow: hidden;white-space: nowrap;text-overflow: ellipsis;'>" + this.companyitem
|
||||
.missionTitle +
|
||||
"</div>"
|
||||
};
|
||||
},
|
||||
@@ -90,12 +94,12 @@ export default {
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
goComment: function (no) {
|
||||
goComment: function(no) {
|
||||
uni.navigateTo({
|
||||
url: `../../pageMy/mycomment/mycomment?missionNo=${encodeURIComponent(no)}`
|
||||
})
|
||||
},
|
||||
goInfo: function (item) {
|
||||
goInfo: function(item) {
|
||||
// const isCan = this.noApply === false ? '0' : '1'
|
||||
// if(item.type == 0) {
|
||||
uni.navigateTo({
|
||||
@@ -107,7 +111,7 @@ export default {
|
||||
// })
|
||||
// }
|
||||
},
|
||||
getCity: function (val) {
|
||||
getCity: function(val) {
|
||||
if (val) {
|
||||
let areas = this.$store.getters.getAreaParents(val)
|
||||
if (areas.length === 3) {
|
||||
@@ -118,22 +122,22 @@ export default {
|
||||
toDoller,
|
||||
dateFormat
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style>
|
||||
.commentimg_image {
|
||||
.commentimg_image {
|
||||
width: 40rpx;
|
||||
height: 40rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.commentimg {
|
||||
.commentimg {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
}
|
||||
|
||||
.gocomment {
|
||||
.gocomment {
|
||||
font-size: 26rpx !important;
|
||||
border-radius: 5rpx;
|
||||
border: 1rpx solid #c3c3c3;
|
||||
@@ -142,9 +146,9 @@ export default {
|
||||
float: right;
|
||||
height: 50rpx;
|
||||
line-height: 50rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.timeAddress {
|
||||
.timeAddress {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
@@ -153,15 +157,15 @@ export default {
|
||||
color: #999999;
|
||||
margin: 10rpx 0;
|
||||
padding: 10rpx 0;
|
||||
}
|
||||
}
|
||||
|
||||
.allName {
|
||||
.allName {
|
||||
font-family: PingFangSC-Regular;
|
||||
font-size: 28rpx;
|
||||
color: #666666;
|
||||
}
|
||||
}
|
||||
|
||||
.askList {
|
||||
.askList {
|
||||
/* width: 14%; */
|
||||
font-family: PingFangSC-Regular;
|
||||
font-size: 24rpx;
|
||||
@@ -170,9 +174,9 @@ export default {
|
||||
padding: 5rpx 15rpx;
|
||||
margin-right: 10rpx;
|
||||
margin-bottom: 10rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.ask {
|
||||
.ask {
|
||||
overflow: hidden;
|
||||
width: 100%;
|
||||
display: flex;
|
||||
@@ -180,16 +184,16 @@ export default {
|
||||
flex-wrap: wrap;
|
||||
justify-content: flex-start;
|
||||
margin: 20rpx 0;
|
||||
}
|
||||
}
|
||||
|
||||
.head_right {
|
||||
.head_right {
|
||||
ont-family: PingFangSC-Medium;
|
||||
font-size: 28rpx;
|
||||
color: #F46161;
|
||||
font-weight: bold;
|
||||
}
|
||||
}
|
||||
|
||||
.head_left {
|
||||
.head_left {
|
||||
font-family: PingFangSC-Medium;
|
||||
font-size: 32rpx;
|
||||
font-weight: bold;
|
||||
@@ -200,13 +204,13 @@ export default {
|
||||
/*不换行*/
|
||||
text-overflow: ellipsis;
|
||||
/*超出部分文字以...显示*/
|
||||
}
|
||||
}
|
||||
|
||||
.highlight {
|
||||
.highlight {
|
||||
color: #F46161;
|
||||
}
|
||||
}
|
||||
|
||||
.body {
|
||||
.body {
|
||||
width: 690rpx;
|
||||
margin: 0rpx auto;
|
||||
background-color: #fefefe;
|
||||
@@ -216,11 +220,11 @@ export default {
|
||||
padding-bottom: 0;
|
||||
border-radius: 20rpx;
|
||||
margin-top: 20rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.heads {
|
||||
.heads {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
@@ -31,7 +31,8 @@
|
||||
{{ companyitem.jobCompanyName }}
|
||||
</view> -->
|
||||
<view style="display: flex;align-items: center;">
|
||||
<image src="../../static/img/city.png" style="width: 40rpx;height: 40rpx;margin-right: 10rpx;" mode=""></image>
|
||||
<image src="../../static/img/city.png" style="width: 40rpx;height: 40rpx;margin-right: 10rpx;" mode="">
|
||||
</image>
|
||||
<view style="font-size: 26rpx;color:#333;">{{ companyitem.jobCompanyName }}</view>
|
||||
</view>
|
||||
<!-- <view v-if="near">
|
||||
@@ -47,8 +48,8 @@
|
||||
</view>
|
||||
<view class="comment" v-if='comment' @tap.stop="goComment(companyitem.missionNo)">
|
||||
<view class="comment_content commentimg" v-if='companyitem.scoreAll > 0'>
|
||||
<image class="commentimg_image" src="../../static/img/star.full.svg" v-for="index1 in companyitem.scoreAll"
|
||||
mode="" :key="index1"></image>
|
||||
<image class="commentimg_image" src="../../static/img/star.full.svg"
|
||||
v-for="index1 in companyitem.scoreAll" mode="" :key="index1"></image>
|
||||
<image class="commentimg_image" src="../../static/img/star.empty.svg"
|
||||
v-for="index2 in (5 - companyitem.scoreAll)" mode="" :key="index2"></image>
|
||||
</view>
|
||||
@@ -60,18 +61,20 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import {
|
||||
import {
|
||||
toDoller,
|
||||
dateFormat
|
||||
} from "../../untils/format.js";
|
||||
import dictionary from '@/common/textdata.js';
|
||||
} from "../../untils/format.js";
|
||||
import dictionary from '@/common/textdata.js';
|
||||
|
||||
export default {
|
||||
beforeCreate: function () { },
|
||||
export default {
|
||||
beforeCreate: function() {},
|
||||
props: {
|
||||
companyitem: {
|
||||
type: Object,
|
||||
default() { return [] }
|
||||
default () {
|
||||
return []
|
||||
}
|
||||
},
|
||||
comment: {
|
||||
type: Boolean,
|
||||
@@ -89,7 +92,8 @@ export default {
|
||||
data() {
|
||||
return {
|
||||
...dictionary,
|
||||
string: "<div style='overflow: hidden;white-space: nowrap;text-overflow: ellipsis;'>" + this.companyitem.jobName +
|
||||
string: "<div style='overflow: hidden;white-space: nowrap;text-overflow: ellipsis;'>" + this.companyitem
|
||||
.jobName +
|
||||
"</div>"
|
||||
};
|
||||
},
|
||||
@@ -99,19 +103,19 @@ export default {
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
goComment: function (no) {
|
||||
goComment: function(no) {
|
||||
uni.navigateTo({
|
||||
url: `../../pageMy/mycomment/mycomment?missionNo=${encodeURIComponent(no)}`
|
||||
})
|
||||
},
|
||||
goInfo: function (no) {
|
||||
goInfo: function(no) {
|
||||
console.log('11111')
|
||||
const isCan = this.noApply === false ? '0' : '1'
|
||||
uni.navigateTo({
|
||||
url: `/pages/projectInfo/workInfo?workId=${encodeURIComponent(no)}&isCan=${isCan}`
|
||||
})
|
||||
},
|
||||
getCity: function (val) {
|
||||
getCity: function(val) {
|
||||
if (val) {
|
||||
let areas = this.$store.getters.getAreaParents(val)
|
||||
if (areas.length === 3) {
|
||||
@@ -122,22 +126,22 @@ export default {
|
||||
toDoller,
|
||||
dateFormat
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style>
|
||||
.commentimg_image {
|
||||
.commentimg_image {
|
||||
width: 40rpx;
|
||||
height: 40rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.commentimg {
|
||||
.commentimg {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
}
|
||||
|
||||
.gocomment {
|
||||
.gocomment {
|
||||
font-size: 26rpx !important;
|
||||
border-radius: 5rpx;
|
||||
border: 1rpx solid #c3c3c3;
|
||||
@@ -146,9 +150,9 @@ export default {
|
||||
float: right;
|
||||
height: 50rpx;
|
||||
line-height: 50rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.timeAddress {
|
||||
.timeAddress {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
@@ -157,15 +161,15 @@ export default {
|
||||
color: #999999;
|
||||
margin: 10rpx 0;
|
||||
padding: 10rpx 0;
|
||||
}
|
||||
}
|
||||
|
||||
.allName {
|
||||
.allName {
|
||||
font-family: PingFangSC-Regular;
|
||||
font-size: 28rpx;
|
||||
color: #666666;
|
||||
}
|
||||
}
|
||||
|
||||
.askList {
|
||||
.askList {
|
||||
/* width: 14%; */
|
||||
font-family: PingFangSC-Regular;
|
||||
font-size: 24rpx;
|
||||
@@ -174,9 +178,9 @@ export default {
|
||||
padding: 5rpx 15rpx;
|
||||
margin-right: 10rpx;
|
||||
margin-bottom: 10rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.ask {
|
||||
.ask {
|
||||
overflow: hidden;
|
||||
width: 100%;
|
||||
display: flex;
|
||||
@@ -184,16 +188,16 @@ export default {
|
||||
flex-wrap: wrap;
|
||||
justify-content: flex-start;
|
||||
margin: 20rpx 0;
|
||||
}
|
||||
}
|
||||
|
||||
.head_right {
|
||||
.head_right {
|
||||
ont-family: PingFangSC-Medium;
|
||||
font-size: 28rpx;
|
||||
color: #F46161;
|
||||
font-weight: bold;
|
||||
}
|
||||
}
|
||||
|
||||
.head_left {
|
||||
.head_left {
|
||||
font-family: PingFangSC-Medium;
|
||||
font-size: 32rpx;
|
||||
font-weight: bold;
|
||||
@@ -204,13 +208,13 @@ export default {
|
||||
/*不换行*/
|
||||
text-overflow: ellipsis;
|
||||
/*超出部分文字以...显示*/
|
||||
}
|
||||
}
|
||||
|
||||
.highlight {
|
||||
.highlight {
|
||||
color: #F46161;
|
||||
}
|
||||
}
|
||||
|
||||
.body {
|
||||
.body {
|
||||
width: 690rpx;
|
||||
margin: 0rpx auto;
|
||||
background-color: #fefefe;
|
||||
@@ -220,11 +224,11 @@ export default {
|
||||
padding-bottom: 0;
|
||||
border-radius: 20rpx;
|
||||
margin-top: 20rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.heads {
|
||||
.heads {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
4
main.js
4
main.js
@@ -33,6 +33,7 @@ const msg = (title, duration = 1500, mask = false, icon = 'none') => {
|
||||
icon
|
||||
});
|
||||
}
|
||||
const sleep = (time) => new Promise(resolve => setTimeout(resolve, time))
|
||||
|
||||
// 注册全局组件
|
||||
import JlButton from "@/components/jl-button/main.vue"
|
||||
@@ -45,7 +46,8 @@ Vue.component('jl-form-item', JlFormItem)
|
||||
Vue.component('cs-button', CSButton)
|
||||
Vue.component('empty', empty)
|
||||
Vue.prototype.$api = {
|
||||
msg
|
||||
msg,
|
||||
sleep
|
||||
}
|
||||
Vue.prototype.$config = config
|
||||
Vue.prototype.navTo = navTo
|
||||
|
||||
@@ -31,7 +31,8 @@
|
||||
{{ companyitem.jobCompanyName }}
|
||||
</view> -->
|
||||
<view style="display: flex;align-items: center;">
|
||||
<image src="../../static/img/city.png" style="width: 40rpx;height: 40rpx;margin-right: 10rpx;" mode=""></image>
|
||||
<image src="../../static/img/city.png" style="width: 40rpx;height: 40rpx;margin-right: 10rpx;" mode="">
|
||||
</image>
|
||||
<view style="font-size: 26rpx;color:#333;">{{ companyitem.jobAddress }}</view>
|
||||
</view>
|
||||
<!-- <view v-if="near">
|
||||
@@ -47,8 +48,8 @@
|
||||
</view>
|
||||
<view class="comment" v-if='comment' @tap.stop="goComment(companyitem.missionNo)">
|
||||
<view class="comment_content commentimg" v-if='companyitem.scoreAll > 0'>
|
||||
<image class="commentimg_image" src="../../static/img/star.full.svg" v-for="index1 in companyitem.scoreAll"
|
||||
mode="" :key="index1"></image>
|
||||
<image class="commentimg_image" src="../../static/img/star.full.svg"
|
||||
v-for="index1 in companyitem.scoreAll" mode="" :key="index1"></image>
|
||||
<image class="commentimg_image" src="../../static/img/star.empty.svg"
|
||||
v-for="index2 in (5 - companyitem.scoreAll)" mode="" :key="index2"></image>
|
||||
</view>
|
||||
@@ -60,18 +61,20 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import {
|
||||
import {
|
||||
toDoller,
|
||||
dateFormat
|
||||
} from "../../untils/format.js";
|
||||
import dictionary from '@/common/textdata.js';
|
||||
} from "../../untils/format.js";
|
||||
import dictionary from '@/common/textdata.js';
|
||||
|
||||
export default {
|
||||
beforeCreate: function () { },
|
||||
export default {
|
||||
beforeCreate: function() {},
|
||||
props: {
|
||||
companyitem: {
|
||||
type: Object,
|
||||
default() { return [] }
|
||||
default () {
|
||||
return []
|
||||
}
|
||||
},
|
||||
comment: {
|
||||
type: Boolean,
|
||||
@@ -89,7 +92,8 @@ export default {
|
||||
data() {
|
||||
return {
|
||||
...dictionary,
|
||||
string: "<div style='overflow: hidden;white-space: nowrap;text-overflow: ellipsis;'>" + this.companyitem.jobName +
|
||||
string: "<div style='overflow: hidden;white-space: nowrap;text-overflow: ellipsis;'>" + this.companyitem
|
||||
.jobName +
|
||||
"</div>"
|
||||
};
|
||||
},
|
||||
@@ -99,19 +103,19 @@ export default {
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
goComment: function (no) {
|
||||
goComment: function(no) {
|
||||
uni.navigateTo({
|
||||
url: `../../pageMy/mycomment/mycomment?missionNo=${encodeURIComponent(no)}`
|
||||
})
|
||||
},
|
||||
goInfo: function (no) {
|
||||
goInfo: function(no) {
|
||||
console.log('11111')
|
||||
const isCan = this.noApply === false ? '0' : '1'
|
||||
uni.navigateTo({
|
||||
url: `/pages/projectInfo/userrecruitInfo?workId=${encodeURIComponent(no)}&isCan=${isCan}`
|
||||
})
|
||||
},
|
||||
getCity: function (val) {
|
||||
getCity: function(val) {
|
||||
if (val) {
|
||||
let areas = this.$store.getters.getAreaParents(val)
|
||||
if (areas.length === 3) {
|
||||
@@ -122,22 +126,22 @@ export default {
|
||||
toDoller,
|
||||
dateFormat
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style>
|
||||
.commentimg_image {
|
||||
.commentimg_image {
|
||||
width: 40rpx;
|
||||
height: 40rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.commentimg {
|
||||
.commentimg {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
}
|
||||
|
||||
.gocomment {
|
||||
.gocomment {
|
||||
font-size: 26rpx !important;
|
||||
border-radius: 5rpx;
|
||||
border: 1rpx solid #c3c3c3;
|
||||
@@ -146,9 +150,9 @@ export default {
|
||||
float: right;
|
||||
height: 50rpx;
|
||||
line-height: 50rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.timeAddress {
|
||||
.timeAddress {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
@@ -157,15 +161,15 @@ export default {
|
||||
color: #999999;
|
||||
margin: 10rpx 0;
|
||||
padding: 10rpx 0;
|
||||
}
|
||||
}
|
||||
|
||||
.allName {
|
||||
.allName {
|
||||
font-family: PingFangSC-Regular;
|
||||
font-size: 28rpx;
|
||||
color: #666666;
|
||||
}
|
||||
}
|
||||
|
||||
.askList {
|
||||
.askList {
|
||||
/* width: 14%; */
|
||||
font-family: PingFangSC-Regular;
|
||||
font-size: 24rpx;
|
||||
@@ -174,9 +178,9 @@ export default {
|
||||
padding: 5rpx 15rpx;
|
||||
margin-right: 10rpx;
|
||||
margin-bottom: 10rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.ask {
|
||||
.ask {
|
||||
overflow: hidden;
|
||||
width: 100%;
|
||||
display: flex;
|
||||
@@ -184,16 +188,16 @@ export default {
|
||||
flex-wrap: wrap;
|
||||
justify-content: flex-start;
|
||||
margin: 20rpx 0;
|
||||
}
|
||||
}
|
||||
|
||||
.head_right {
|
||||
.head_right {
|
||||
font-family: PingFangSC-Medium;
|
||||
font-size: 28rpx;
|
||||
color: #F46161;
|
||||
font-weight: bold;
|
||||
}
|
||||
}
|
||||
|
||||
.head_left {
|
||||
.head_left {
|
||||
font-family: PingFangSC-Medium;
|
||||
font-size: 32rpx;
|
||||
font-weight: bold;
|
||||
@@ -204,13 +208,13 @@ export default {
|
||||
/*不换行*/
|
||||
text-overflow: ellipsis;
|
||||
/*超出部分文字以...显示*/
|
||||
}
|
||||
}
|
||||
|
||||
.highlight {
|
||||
.highlight {
|
||||
color: #F46161;
|
||||
}
|
||||
}
|
||||
|
||||
.body {
|
||||
.body {
|
||||
width: 690rpx;
|
||||
margin: 0rpx auto;
|
||||
background-color: #fefefe;
|
||||
@@ -220,11 +224,11 @@ export default {
|
||||
padding-bottom: 0;
|
||||
border-radius: 20rpx;
|
||||
margin-top: 20rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.heads {
|
||||
.heads {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
@@ -23,7 +23,12 @@
|
||||
import {
|
||||
mapState
|
||||
} from 'vuex'
|
||||
|
||||
let reviewStatus = {
|
||||
'-1': '全部',
|
||||
'0': "待审",
|
||||
'1': "已审",
|
||||
'9': "驳回",
|
||||
};
|
||||
export default {
|
||||
data() {
|
||||
return {}
|
||||
@@ -60,13 +65,29 @@
|
||||
})
|
||||
uni.hideLoading()
|
||||
if (resData.data.code === 200) {
|
||||
if (resData.data.data) {
|
||||
if (resData.data.data.haveCode) {
|
||||
resolve()
|
||||
} else {
|
||||
// this.$api.msg('您未申请开通该功能,请联系工作人员')
|
||||
switch (resData.data.data.reviewStatus) {
|
||||
case 0:
|
||||
this.$api.msg('您的企业信息正在审核,请稍后再试')
|
||||
break
|
||||
case 1:
|
||||
this.$api.msg('您的企业信息已经通过审核但未启用,请联系工作人员')
|
||||
break
|
||||
case 9:
|
||||
this.navTo(
|
||||
'/pages/recruit/subPage/enterpriceCertification/enterpriceCertification'
|
||||
)
|
||||
this.$api.sleep(1000).then(() => {
|
||||
this.$api.msg('您的企业信息已被系统驳回,请重新上传')
|
||||
})
|
||||
break
|
||||
default: // -1 未提交
|
||||
this.navTo(
|
||||
'/pages/recruit/subPage/enterpriceCertification/enterpriceCertification'
|
||||
)
|
||||
}
|
||||
}
|
||||
} else {
|
||||
reject()
|
||||
|
||||
@@ -216,11 +216,6 @@
|
||||
cityId: Number(this.formData.cityId),
|
||||
tradeId: Number(this.formData.tradeId),
|
||||
}
|
||||
let resData = await addInviteCompanyAuth(params)
|
||||
console.log(resData)
|
||||
if (resData.data.code === 200) {
|
||||
_this.$api.msg('已完成企业信息认证')
|
||||
}
|
||||
const _this = this
|
||||
this.$refs.formOne.validate().then(async (res) => {
|
||||
let params = {
|
||||
@@ -233,8 +228,10 @@
|
||||
}
|
||||
let resData = await addInviteCompanyAuth(params)
|
||||
if (resData.data.code === 200) {
|
||||
uni.navigateBack(1)
|
||||
_this.$api.sleep(1000).then(() => {
|
||||
_this.$api.msg('已完成企业信息认证')
|
||||
uni.navigateBack()
|
||||
})
|
||||
}
|
||||
}).catch(errors => {
|
||||
console.log(errors)
|
||||
|
||||
@@ -120,6 +120,12 @@
|
||||
<u-form-item label="座机" prop="callNumber" borderBottom labelWidth="80" ref="item1">
|
||||
<u--input v-model="info.callNumber" border="none" placeholder="请输入座机"></u--input>
|
||||
</u-form-item>
|
||||
<!-- <u-form-item label="工作地址" labelWidth="80" prop="jobAddress" borderBottom ref="item1"
|
||||
@click="showjobAddress = true; hideKeyboard()">
|
||||
<PickerList placeholder="请选择行业" :columns="dic.tradeArr" labelName="name" valueName="id"
|
||||
:visibel="showjobAddress" v-model="info.jobAddress" @cancel="showjobAddress = false">
|
||||
</PickerList>
|
||||
</u-form-item> -->
|
||||
<u-form-item label="详细地址" prop="address" borderBottom labelWidth="80" ref="item1">
|
||||
<u--input v-model="info.address" border="none" placeholder="请输入详细地址"></u--input>
|
||||
</u-form-item>
|
||||
@@ -158,12 +164,17 @@
|
||||
|
||||
<script>
|
||||
import dic from '@/common/dic.js'
|
||||
// import area from '@/untils/area.js'
|
||||
import {
|
||||
submitInfo,
|
||||
getWorktypesBaseList,
|
||||
findTradeList,
|
||||
getDictionary
|
||||
} from '@/api/userrecruit.js'
|
||||
import PickerList from './enterpriceCertification/pickerList.vue'
|
||||
import {
|
||||
mapGetters
|
||||
} from 'vuex'
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
@@ -185,6 +196,7 @@
|
||||
showCalendar: false,
|
||||
showStime: false,
|
||||
showEtime: false,
|
||||
showjobAddress: false,
|
||||
info: {
|
||||
jobName: '', // 招工名称
|
||||
stime: '', // 发布时间
|
||||
@@ -365,6 +377,9 @@
|
||||
default: null,
|
||||
}
|
||||
},
|
||||
components: {
|
||||
PickerList
|
||||
},
|
||||
created() {
|
||||
const {
|
||||
id: staId,
|
||||
@@ -372,6 +387,7 @@
|
||||
} = dic.wageUnitCategoryState[0].filter(item => item.id == 3)[0]
|
||||
this.info.wageUnitCategory = staId
|
||||
this.info.wageUnitCategoryName = staLabel
|
||||
// console.log(area)
|
||||
this.getWorkTypes()
|
||||
this.dictionary()
|
||||
if (this.company) {
|
||||
|
||||
@@ -3,7 +3,7 @@ module.exports = {
|
||||
port: 1887,
|
||||
proxy: {
|
||||
'/api': {
|
||||
target: 'http://localhost:8000',
|
||||
target: 'http://192.168.1.106:8000',
|
||||
ws: true,
|
||||
pathRewrite: {
|
||||
'^/api': '/'
|
||||
|
||||
Reference in New Issue
Block a user