1 Commits

Author SHA1 Message Date
yangxiao
2c222deb74 flat: 石河子项目重置 2025-12-25 10:12:52 +08:00
18 changed files with 3525 additions and 3866 deletions

View File

@@ -1,13 +1,6 @@
<template>
<view class="v-tabs" :style="{ height: height }">
<scroll-view
class="scroll-view"
:show-scrollbar="false"
scroll-x
scroll-with-animation
:scroll-left="scrollLeft"
style="width: auto; height: 100%; overflow: hidden"
>
<scroll-view class="scroll-view" :show-scrollbar="false" scroll-x scroll-with-animation :scroll-left="scrollLeft" style="width: auto; height: 100%; overflow: hidden;">
<view class="v-tabs__inner">
<view
class="v-tabs__item"
@@ -17,6 +10,7 @@
backgroundColor: activeTab == i ? backgroundColor : '',
borderRadius,
padding,
}"
:data-index="i"
:class="{ active: activeTab == i }"
@@ -62,58 +56,58 @@ export default {
props: {
value: {
type: [String, Number],
default: 0,
default: 0
},
height: {
type: String,
default: '45px',
default: '45px'
},
tabs: {
type: Array,
default() {
return [];
},
return []
}
},
backgroundColor: {
type: String,
default: 'transparent',
default: 'transparent'
},
borderRadius: {
type: String,
default: '5px',
default: '5px'
},
color: {
type: String,
default: '#333333',
default: '#333333'
},
activeColor: {
type: String,
default: '#007AFF',
default: '#007AFF'
},
fontSize: {
type: String,
default: '14px',
default: '14px'
},
activeFontSize: {
type: String,
default: '14px',
default: '14px'
},
padding: {
type: String,
default: '10rpx 20rpx',
default: '10rpx 20rpx'
},
lineScale: {
type: Number,
default: 0.6,
default: 0.6
},
lineHeight: {
type: String,
default: '3px',
default: '3px'
},
lineColor: {
type: String,
default: '#007AFF',
},
default: '#007AFF'
}
},
data() {
return {
@@ -121,75 +115,75 @@ export default {
activeTab: 0,
width: 0,
lineLeft: 0,
lineWidth: 0,
};
lineWidth: 0
}
},
watch: {
activeTab(newVal) {
this.$emit('input', newVal * 1);
this.$emit('input', newVal * 1)
},
value(newVal) {
this.activeTab = newVal;
this.getTabsWidth(0);
},
this.activeTab = newVal
this.getTabsWidth(0)
}
},
methods: {
handleTapItem(e) {
const index = e.currentTarget.dataset.index;
const index = e.currentTarget.dataset.index
if (this.activeTab != index) {
this.activeTab = index;
this.getTabsWidth(e.currentTarget.offsetLeft);
this.$emit('change', this.activeTab);
this.activeTab = index
this.getTabsWidth(e.currentTarget.offsetLeft)
this.$emit('change', this.activeTab)
}
},
getTabsWidth(offsetLeft) {
const query = uni.createSelectorQuery().in(this);
const query = uni.createSelectorQuery().in(this)
query
.select('.v-tabs')
.boundingClientRect((data) => {
this.width = data.width;
.boundingClientRect(data => {
this.width = data.width
})
.exec();
.exec()
setTimeout(() => {
let i = 0;
let width = 0;
let i = 0
let width = 0
query
.selectAll('.v-tabs__item')
.boundingClientRect((data) => {
.boundingClientRect(data => {
width = data.reduce((total, currentValue, currentIndex, arr) => {
if (currentIndex < this.activeTab) {
total = total + currentValue.width;
total = total + currentValue.width
}
return total;
}, 0);
const padding = this.padding.split(' ')[0];
const res = /(\d+)(upx|rpx|px)/.exec(padding);
return total
}, 0)
const padding = this.padding.split(' ')[0]
const res = /(\d+)(upx|rpx|px)/.exec(padding)
if (res && (res[2] == 'upx' || res[2] == 'rpx')) {
width += uni.upx2px(res[1]) * 2 * this.activeTab;
width += uni.upx2px(res[1]) * 2 * this.activeTab
} else {
width += res[1] * this.activeTab;
width += res[1] * this.activeTab
}
})
.exec();
.exec()
query
.select('.v-tabs__item.active')
.boundingClientRect((data) => {
const ol = offsetLeft ? offsetLeft : width;
.boundingClientRect(data => {
const ol = offsetLeft ? offsetLeft : width
if (data.width) {
this.lineLeft = ol + (data.width * (1 - this.lineScale)) / 2;
this.lineWidth = data.width * this.lineScale;
this.scrollLeft = ol - (this.width - data.width) / 2;
this.lineLeft = ol + (data.width * (1 - this.lineScale)) / 2
this.lineWidth = data.width * this.lineScale
this.scrollLeft = ol - (this.width - data.width) / 2
}
})
.exec();
}, 10);
},
.exec()
}, 10)
}
},
mounted() {
this.activeTab = this.value;
this.getTabsWidth(0);
},
};
this.activeTab = this.value
this.getTabsWidth(0)
}
}
</script>
<style lang="scss" scoped>
@@ -216,7 +210,7 @@ export default {
width: 42rpx;
height: 6rpx;
margin: 0 auto;
background-color: #1b66ff;
background-color: #1B66FF;
border-radius: 20rpx;
overflow: hidden;
display: block !important;
@@ -241,7 +235,7 @@ export default {
}
}
::v-deep ::-webkit-scrollbar {
/deep/ ::-webkit-scrollbar {
display: none;
}
</style>

View File

@@ -1,6 +1,6 @@
{
"name" : "招聘",
"appid": "__UNI__BFB9B45",
"appid" : "__UNI__120CBFC",
"description" : "",
"versionName" : "1.0.0",
"versionCode" : "100",

View File

@@ -483,7 +483,7 @@
padding: 24rpx;
.top_log {
background: url(@/static/img/index/inLogo.png) no-repeat center center;
background: url(@/static/img/title-pg.png) no-repeat center center;
background-size: cover;
height: 60rpx;
width: 450rpx;
@@ -518,7 +518,7 @@
}
.home_logo {
background: url(@/static/img/index/inLogo.png) no-repeat center center;
background: url(@/static/img/title-pg.png) no-repeat center center;
background-size: cover;
height: 76rpx;
width: 560rpx;

View File

@@ -119,10 +119,10 @@
<!-- <view class="btn-out" @click="logout">
退出登录
</view> -->
<view class="bottom" @click="makePhoneCall">
<!-- <view class="bottom" @click="makePhoneCall">
<view>德阳市人社局 电话0838-2505580</view>
<view>地址德阳市旌阳区天山南路1段-102</view>
</view>
</view> -->
<cs-button></cs-button>
</view>
</template>

View File

@@ -3,31 +3,16 @@
<view class="app-top">
<view class="top-search">
<view class="top-input">
<input
class="put"
type="text"
placeholder-class="put-pla"
v-model="searchValue"
placeholder="搜索附近岗位或任务"
/>
<input class="put" type="text" placeholder-class="put-pla" v-model="searchValue"
placeholder="搜索附近岗位或任务">
<button class="input-btn" @tap="search">搜索</button>
</view>
</view>
</view>
<view class="view-map">
<super-map
ref="uMap"
style="width: 100%; height: 100%"
:latitude="latitude"
:longitude="longitude"
:zoom="14"
:min-zoom="10"
:max-zoom="20"
@markertap="clickmark"
@regionchange="show = false"
:MapUrl="$config.supperMap"
:flag-tip="false"
></super-map>
<super-map ref="uMap" style="width: 100%;height: 100%;" :latitude="latitude" :longitude="longitude"
:zoom="14" :min-zoom="10" :max-zoom="20" @markertap="clickmark" @regionchange="show = false"
:MapUrl="$config.supperMap" :flag-tip="false"></super-map>
<!-- <view id="map" ></view> -->
<!-- <map style="width: 100%;height: 100%;" scale="16" :latitude="latitude" :longitude="longitude"
:markers="covers" @markertap="clickmark" @regionchange="show = false"></map> -->
@@ -51,8 +36,7 @@
{{productInfo.experienceDesc}} | {{education[productInfo.education]}}
</view>
<button class="btns" hover-class="active" @tap="openMap">
<image class="btn-img" src="../../static/img/direction2.png" />
查看详情
<image class="btn-img" src="../../static/img/direction2.png" />查看详情
</button>
</view>
</view>
@@ -65,9 +49,14 @@
</template>
<script>
import { addZeroPrefix, getDistanceFromLatLonInKm } from '@/untils/tools.js';
import {
addZeroPrefix,
getDistanceFromLatLonInKm
} from '@/untils/tools.js'
import testData from '@/common/textdata.js';
import { geQueryJobsByNearby } from '@/api/map.js';
import {
geQueryJobsByNearby
} from '@/api/map.js'
let taskpoint = require('../../static/img/taskpoint.png');
let gwpoint = require('../../static/img/gwpoint.png');
let mypoint = require('../../static/img/mypoint.png');
@@ -78,7 +67,7 @@ export default {
show: false,
ID: 1,
searchValue: '',
latitude: 31.13398,
latitude: 31.133980,
longitude: 104.404419,
covers: [],
rateValue: 2,
@@ -87,24 +76,33 @@ export default {
},
computed: {
distance() {
const { lon, lat } = this.productInfo;
const {
lon,
lat
} = this.productInfo
if (lon) {
const { m, km } = getDistanceFromLatLonInKm(lat, lon, this.latitude, this.longitude);
return m > 1000 ? `${km.toFixed(2)}km` : `${m.toFixed(2)}m`;
const {
m,
km
} = getDistanceFromLatLonInKm(lat, lon, this.latitude, this.longitude)
return m > 1000 ? `${km.toFixed(2)}km` : `${m.toFixed(2)}m`
}
return '无'
}
return '无';
},
},
mounted() {
const _this = this;
console.log(this.$store.state.user.userLocation);
const _this = this
console.log(this.$store.state.user.userLocation)
if (this.$store.state.user.userLocation) {
const { latitude, longitude } = this.$store.state.user.userLocation;
const {
latitude,
longitude
} = this.$store.state.user.userLocation
_this.getList(longitude, latitude).then((covers) => {
_this.$refs.uMap.addFeature(covers);
});
_this.$refs.uMap.addFeature(covers)
})
} else {
_this.$api.msg('无法获得周边信息');
_this.$api.msg('无法获得周边信息')
}
},
onShow() {
@@ -125,28 +123,31 @@ export default {
// type: post 岗位 mission 任务
switch (this.productInfo.type) {
case 'post':
const no = encodeURIComponent(1);
const no = encodeURIComponent(1)
uni.navigateTo({
url: `/pages/projectInfo/workInfo?workId=${encodeURIComponent(no)}&isCan=${1}`,
});
break;
url: `/pages/projectInfo/workInfo?workId=${encodeURIComponent(no)}&isCan=${1}`
})
break
case 'mission':
const no1 = encodeURIComponent(this.productInfo.missionNo);
const no1 = encodeURIComponent(this.productInfo.missionNo)
uni.navigateTo({
url: `/pages/projectInfo/projectInfo?missionNo=${no1}&isCan=${1}`,
});
break;
url: `/pages/projectInfo/projectInfo?missionNo=${no1}&isCan=${1}`
})
break
}
},
search() {
const _this = this;
const _this = this
if (this.$store.state.user.userLocation) {
const { latitude, longitude } = this.$store.state.user.userLocation;
const {
latitude,
longitude
} = this.$store.state.user.userLocation
_this.getList(longitude, latitude).then((covers) => {
_this.$refs.uMap.addFeature(covers);
});
_this.$refs.uMap.addFeature(covers)
})
} else {
_this.$api.msg('无法获得周边信息');
_this.$api.msg('无法获得周边信息')
}
// this.getList(this.longitude, this.latitude).then((covers) => {
// this.$api.msg('成功获得周边信息')
@@ -155,25 +156,25 @@ export default {
// })
},
clickmark(cover) {
if (cover.markerId === 1) return;
if (cover.markerId === 1) return
this.show = true;
this.productInfo = cover.info;
this.productInfo = cover.info
},
mockGetLocation() {
return new Promise((resolve) => {
resolve({
longitude: 104.40632,
latitude: 31.122989,
altitude: null,
accuracy: 25.998,
altitudeAccuracy: null,
heading: null,
speed: null,
errMsg: 'getLocation:ok',
verticalAccuracy: 0,
horizontalAccuracy: 25.998,
});
});
"longitude": 104.40632,
"latitude": 31.122989,
"altitude": null,
"accuracy": 25.998,
"altitudeAccuracy": null,
"heading": null,
"speed": null,
"errMsg": "getLocation:ok",
"verticalAccuracy": 0,
"horizontalAccuracy": 25.998
})
})
},
async getList(lon, lat) {
return new Promise(async (resolve) => {
@@ -181,9 +182,9 @@ export default {
lon,
lat,
distanceRange: 20,
taskTitle: this.searchValue,
};
let resData = await geQueryJobsByNearby(params);
taskTitle: this.searchValue
}
let resData = await geQueryJobsByNearby(params)
if (resData.data.code === 200) {
const arr = resData.data.data.map((item) => ({
id: item.id,
@@ -198,8 +199,8 @@ export default {
fontSize: 10,
borderColor: 'blue',
},
info: item,
}));
info: item
}))
arr.push({
id: 1,
latitude: lat,
@@ -207,14 +208,15 @@ export default {
iconPath: mypoint,
title: '我的位置',
width: 20,
height: 20,
});
resolve(arr);
height: 20
})
resolve(arr)
}
})
}
}
}
});
},
},
};
</script>
<style lang="scss" scoped>
@@ -231,8 +233,8 @@ export default {
}
.active {
background: #eaeaea !important;
color: #afafaf;
background: #EAEAEA !important;
color: #AFAFAF;
}
.card_mark {
@@ -240,11 +242,11 @@ export default {
width: 56rpx;
height: 28rpx;
border-radius: 12rpx 0 12rpx 12rpx;
background: linear-gradient(157deg, #a043c1 0%, #4133a2 100%);
background: linear-gradient(157deg, #A043C1 0%, #4133A2 100%);
font-size: 28rpx;
font-family: PingFang-SC-Bold, PingFang-SC;
font-weight: bold;
color: #ffffff;
color: #FFFFFF;
display: flex;
align-items: center;
justify-content: center;
@@ -272,7 +274,7 @@ export default {
.swiper-item {
width: 660rpx;
height: 406rpx;
background: #ffffff;
background: #FFFFFF;
box-shadow: 0rpx 2rpx 4rpx 0rpx rgba(0, 0, 0, 0.5);
border-radius: 27rpx;
overflow: hidden;
@@ -302,12 +304,12 @@ export default {
justify-content: center;
width: 223rpx;
height: 64rpx;
background: linear-gradient(to right, #a043c1 0%, #4133a2 100%);
background: linear-gradient(to right, #A043C1 0%, #4133A2 100%);
border-radius: 15rpx;
color: #ffffff;
color: #FFFFFF;
font-size: 26rpx;
font-weight: 800;
color: #ffffff;
color: #FFFFFF;
line-height: 64rpx;
.btn-img {
@@ -319,6 +321,8 @@ export default {
}
}
}
}
}
@@ -350,11 +354,11 @@ export default {
.put {
padding-left: 30rpx;
height: 72rpx;
background: #ffffff;
background: #FFFFFF;
border-radius: 36rpx;
}
::v-deep .put-pla {
/deep/ .put-pla {
height: 33rpx;
font-size: 24rpx;
font-weight: 400;
@@ -367,12 +371,12 @@ export default {
right: 30rpx;
top: 50%;
transform: translate(0, -50%);
color: #ffffff;
color: #FFFFFF;
width: 120rpx;
height: 56rpx;
line-height: 56rpx;
font-size: 28rpx;
background: linear-gradient(157deg, #a043c1 0%, #4133a2 100%);
background: linear-gradient(157deg, #A043C1 0%, #4133A2 100%);
border-radius: 29rpx;
}
}

View File

@@ -7,7 +7,7 @@
</view>
<view class="navPosition" @click="navTo('/pages/project/map')">
<u-icon name="map" color="#2979ff" size="16"></u-icon>
<view class="positionText">德阳市地图服务</view>
<view class="positionText">石河子地图服务</view>
<u-icon name="arrow-right" color="#666666" size="14"></u-icon>
</view>
<view class="content">

View File

@@ -1,7 +1,7 @@
<template>
<view>
<view class="sealBox">
<view style="height: 70rpx"></view>
<view style="height: 70rpx;"></view>
<view class="name">签名</view>
<view v-if="src" class="sealContent">
<image class="img" mode="aspectFit" :src="src"></image>
@@ -35,12 +35,12 @@
</template>
<script>
import { mapGetters } from 'vuex';
import {mapGetters} from 'vuex'
export default {
data() {
return {
status: false,
};
status:false
}
},
mounted() {
// this.$store.dispatch('setAutograph')
@@ -48,14 +48,14 @@ export default {
methods: {
goAgreement (url) {
uni.navigateTo({
url,
});
url
})
},
checkClick(){
this.status = !this.status;
this.status = !this.status
},
next () {
uni.navigateBack();
uni.navigateBack()
// uni.switchTab({
// url: '/pages/index/index'
// })
@@ -64,27 +64,27 @@ export default {
if (!this.status){
uni.showToast({
title: '请先阅读并同意《申请证书协议》',
icon: 'none',
});
return;
icon: 'none'
})
return
}
uni.navigateTo({
url: `/pageMy/setUserBase/seal/sealCanvas?path=/pageMy/setUserBase/seal/sealCanvas`,
});
url: `/pageMy/setUserBase/seal/sealCanvas?path=/pageMy/setUserBase/seal/sealCanvas`
})
},
getInpCode: function(e) {
console.log(e);
},
console.log(e)
}
},
computed: {
...mapGetters(['autograph']),
src(){
if (this.autograph.data && this.autograph.data.signSrcUrl){
return this.autograph.data.signSrcUrl;
return this.autograph.data.signSrcUrl
}
}
}
}
},
},
};
</script>
<style lang="scss">
.sealAgreement{
@@ -93,9 +93,9 @@ export default {
margin: 30rpx;
font-size: 32rpx;
.agreement{
color: #007aff;
color: #007AFF;
}
::v-deep .uni-checkbox-input {
/deep/ .uni-checkbox-input{
border-radius: 22px!important;
}
}
@@ -103,7 +103,7 @@ export default {
opacity: 0.3;
}
.bottombtn {
background-color: #1b66ff;
background-color: #1B66FF;
color: #fff;
text-align: center;
border-radius: 10rpx;
@@ -118,13 +118,14 @@ export default {
padding: 70rpx 80rpx;
}
.sealBox{
background-color: #ffffff;
background-color: #FFFFFF;
padding: 0 15px 0 15px;
.name{
font-size: 32rpx;
font-weight: 400;
color: #333333;
line-height: 45rpx;
}
.listRight {
display: flex;
@@ -150,23 +151,24 @@ export default {
height: 88rpx;
}
.sealContent{
background: #f6f6f6;
background: #F6F6F6;
padding: 16rpx;
margin-top: 14rpx;
position:relative;
.img{
width: 100%;
height: 312rpx;
background-color: #ffffff;
background-color: #FFFFFF;
}
.contentFont{
height: 312rpx;
line-height: 312rpx;
font-size: 30rpx;
color: #999999;
background: #ffffff;
background: #FFFFFF;
text-align: center;
}
}
}
</style>

View File

@@ -54,7 +54,7 @@
</view>
</view>
<!-- 技能标签 end -->
<view v-if="info.jobSources" style="color: red" class="prolist">来源{{ info.jobSources || '暂无' }}</view>
<view v-if="info.jobSources" class="prolist">来源{{ info.jobSources || '暂无' }}</view>
</view>
<view class="head">
<view style="display: flex; align-items: center">

View File

@@ -59,7 +59,7 @@
</view>
</view>
<!-- 技能标签 end -->
<view v-if="info.jobSources" style="color: red" class="prolist">来源{{ info.jobSources || '暂无' }}</view>
<view v-if="info.jobSources" class="prolist">来源{{ info.jobSources || '暂无' }}</view>
</view>
<view class="head">
<!-- <view class="proname proneed">

View File

@@ -13,9 +13,7 @@
行业类型{{ info.tradeNames ? info.tradeNames : info.jobCompanyIndustry || '暂无' }}
</view>
<view class="prolist">岗位工种{{ info.skillNames || '暂无' }}</view>
<view class="prolist">
参考工资{{ info.wage }}{{ info.wageUpper }}{{ wageUnit[info.wageUnitCategory] }}
</view>
<view class="prolist">参考工资{{info.wage}}{{info.wageUpper}}{{wageUnit[info.wageUnitCategory]}}</view>
<!-- <view class="fee">
{{info.wage}}{{wageUnit[info.wageUnitCategory]}}
</view> -->
@@ -51,7 +49,7 @@
</view>
</view>
<!-- 技能标签 end -->
<view v-if="info.jobSources" style="color: red" class="prolist">来源{{ info.jobSources || '暂无' }}</view>
<view v-if="info.jobSources" class="prolist">来源{{ info.jobSources || '暂无' }}</view>
</view>
<view class="head">
<!-- <view class="proname proneed">
@@ -191,11 +189,7 @@
</view>
<view style="text-align: center; font-size: 28rpx; margin-top: 30rpx">
{{ info.callName || '联系人 ' }} :
<span
style="color: blue"
v-if="info.callNumber"
@click="tools.onDialingPhoneNumber(info.callNumber)"
>
<span style="color: blue" v-if="info.callNumber" @click="tools.onDialingPhoneNumber(info.callNumber)">
{{ info.callNumber }}
</span>
<span style="color: #333333" v-else>无联系方式</span>

View File

@@ -7,26 +7,42 @@
<!-- <view class="prolist">
任务编码{{info.missionNo}}
</view> -->
<view class="prolist">岗位日期{{ dateFormat(info.stime) }}{{ dateFormat(info.etime) }}</view>
<view class="prolist">
岗位日期{{ dateFormat((info.stime)) }}{{ dateFormat((info.etime)) }}
</view>
<!-- <view class="prolist">
报名截止{{dateFormat((info.etimePub))}}
</view> -->
<view class="prolist">行业类型{{ info.tradeNames }}</view>
<view class="prolist">工种类型{{ info.worktypeNames }}</view>
<view class="prolist">
行业类型{{ info.tradeNames }}
</view>
<view class="prolist">
工种类型{{ info.worktypeNames }}
</view>
<view class="fee">
{{ info.wage }}
</view>
</view>
<view class="head">
<view class="proname proneed">岗位要求</view>
<view class="prolist">
<view class="protype">年龄要求{{ age[info.ageDesc] }}</view>
<view class="proname proneed">
岗位要求
</view>
<view class="prolist">
<view class="protype">学历要求{{ education[info.education] }}</view>
<view class="protype">经验要求{{ experience[info.experienceDesc] }}</view>
<view class="protype">
年龄要求{{ age[info.ageDesc] }}
</view>
</view>
<view class="prolist">
<view class="protype">
学历要求{{ education[info.education] }}
</view>
<view class="protype">
经验要求{{ experience[info.experienceDesc] }}
</view>
</view>
<view class="prolist proint" style="font-weight: bold;color:#333;">
任务描述
</view>
<view class="prolist proint" style="font-weight: bold; color: #333">任务描述</view>
<view class="prolist description">
{{ info.missionDesc }}
</view>
@@ -37,17 +53,25 @@
</view>
</view>
<!-- 技能标签 end -->
<view v-if="info.jobSources" style="color: red" class="prolist">来源{{ info.jobSources }}</view>
<view v-if="info.jobSources" class="prolist">
来源{{ info.jobSources }}
</view>
</view>
<view class="head">
<view class="proname proneed">用工单位信息</view>
<view class="proname proneed">
用工单位信息
</view>
<view class="prolist">
{{ info.companyName }}
</view>
<view class="prolist">用工单位地址{{ info.companyAddress }}</view>
<view class="prolist">
用工单位地址{{ info.companyAddress }}
</view>
</view>
<view class="head">
<view class="proname proneed">地址</view>
<view class="proname proneed">
地址
</view>
<!-- <view class="prolist">
<view class="protype">
联系人{{info.callName}}
@@ -59,48 +83,39 @@
<view class="prolist" v-if="info.callNumber">
座机号{{info.callNumber}}
</view> -->
<view class="prolist">任务地址{{ info.address }}</view>
<view class="prolist">
任务地址{{ info.address }}
</view>
<view class="map">
<super-map
ref="uMap"
style="width: 100%; height: 100%"
:latitude="latitude"
:longitude="longitude"
:open="true"
:zoom="14"
:min-zoom="10"
:max-zoom="20"
:MapUrl="$config.supperMap"
:flag-tip="false"
></super-map>
<super-map ref="uMap" style="width: 100%;height: 100%;" :latitude="latitude" :longitude="longitude"
:open="true" :zoom="14" :min-zoom="10" :max-zoom="20" :MapUrl="$config.supperMap"
:flag-tip="false"></super-map>
</view>
<!-- <map class="map" :latitude="latitude" :longitude="longitude" :markers="covers"></map> -->
</view>
<view class="" style="height: 200rpx; background-color: #f6f6f6" v-if="isShow !== '0'"></view>
<view class="" style="height:200rpx;background-color: #f6f6f6;" v-if="isShow !== '0'"></view>
<view class="btn">
<view
@click="callPhone"
class="bottombtn flexbtn"
style="margin-right: 10rpx; background-color: #fbad17; border-radius: 45rpx"
>
<view @click="callPhone" class="bottombtn flexbtn"
style="margin-right: 10rpx;background-color: #FBAD17;border-radius: 45rpx;">
查看申请列表
</view>
</view>
<uniMask :maskShow="maskShow">
<view class="contractMask">
<!-- #ifdef H5 || APP-PLUS -->
<view class="close" @click="close" style="top: 124rpx">+</view>
<view class="close" @click="close" style="top: 124rpx;">+</view>
<!-- #endif -->
<!-- #ifdef MP-WEIXIN -->
<view class="close" @click="close">+</view>
<!-- #endif -->
<view style="height: 30px"></view>
<img :src="src" alt="" style="width: 100%; height: 1000px" />
<view style="height: 30px;"></view>
<img :src="src" alt="" style="width:100%;height: 1000px;">
<view v-if="nextBtn" class="down" @click="next">下一步</view>
</view>
</uniMask>
<u-popup closeable :show="showPopUp" mode="bottom" @close="closePopUp">
<view style="min-height: 100rpx; padding: 60rpx 40rpx">
<view style="min-height: 100rpx;padding: 60rpx 40rpx;">
<view class="contactWrapper" v-for="(item, index) in info.applyList" :key="index">
<view class="wrapperLeft">
<view> {{ item.realName }} : {{ item.telphone }} </view>
@@ -108,13 +123,8 @@
</view>
<view class="applyTime">
<!-- // 1申请中2申请通过3申请未通过-->
<view
class="btnGr"
v-if="item.status === 1 || item.status === 3"
@click="changeWorkerStatus(item)"
>
录用
</view>
<view class="btnGr" v-if="item.status === 1 ||item.status === 3"
@click="changeWorkerStatus(item)">录用</view>
<view class="btnHuy" v-if="item.status === 2" @click="cancelWorkerStatus(item)">取消</view>
</view>
</view>
@@ -124,7 +134,7 @@
<view v-else-if="showCode" class="codeSealBox">
<!-- #ifdef H5 || APP-PLUS -->
<view class="closeCode" @click="closeShowCode" style="top: 124rpx">+</view>
<view class="closeCode" @click="closeShowCode" style="top: 124rpx;">+</view>
<!-- #endif -->
<!-- #ifdef MP-WEIXIN -->
<view class="closeCode" @click="closeShowCode">+</view>
@@ -134,24 +144,38 @@
<view class="name">签名密码</view>
<view class="tip">6位数字签名密码</view>
</view>
<view style="height: 36px"></view>
<view style="height: 36px;"></view>
<valid-code ref="validCode" @finish="getInpCode" :maxlength="maxlength"></valid-code>
<view style="height: 36px"></view>
<view style="height: 36px;"></view>
<view class="forget" @click="forget">忘记密码</view>
</view>
</template>
<script>
import { mapGetters } from 'vuex';
import { recruit_missionDetail } from '@/api/mission.js';
import { GoLogin } from '@/untils/AxiosUtils.js';
import { setRead, updataEmployedNew, cancelEmployed } from '@/api/news.js';
import { checkPass } from '@/api/auth.js';
import {
mapGetters
} from 'vuex'
import {
recruit_missionDetail
} from '@/api/mission.js';
import {
GoLogin
} from '@/untils/AxiosUtils.js';
import {
setRead,
updataEmployedNew,
cancelEmployed
} from '@/api/news.js';
import {
checkPass
} from '@/api/auth.js';
import dictionary from '@/common/textdata.js';
import { dateFormat } from '../../../../untils/format.js';
import uniMask from '@/components/uni-mask/mask.vue';
import uniPopup from '@/components/uni-popup/uni-popup.vue';
import validCode from '@/components/p-valid-code/p-valid-code.vue';
import {
dateFormat
} from "../../../../untils/format.js";
import uniMask from '@/components/uni-mask/mask.vue'
import uniPopup from '@/components/uni-popup/uni-popup.vue'
import validCode from '@/components/p-valid-code/p-valid-code.vue'
export default {
data() {
return {
@@ -165,18 +189,15 @@ export default {
loading: false,
latitude: 39.909, //中心点
longitude: 116.39742,
covers: [
{
//marker标记位置
covers: [{ //marker标记位置
id: 0,
latitude: 0,
longitude: 0,
// width:30,
// height:30,
iconPath: '../../../../static/img/location.png',
},
],
missionNo: '',
iconPath: '../../../../static/img/location.png'
}],
missionNo: "",
isShow: '',
type: '',
id: '',
@@ -184,15 +205,14 @@ export default {
maxlength: 6,
collectStatus: 0, // 收藏状态
showPopUp: false,
};
}
},
components: {
uniMask,
validCode,
uniPopup,
uniPopup
},
onLoad: function (option) {
//option为object类型会序列化上个页面传递的参数
onLoad: function(option) { //option为object类型会序列化上个页面传递的参数
// this.$store.dispatch('setAutograph')
if (option.missionNo) {
this.missionNo = decodeURIComponent(option.missionNo);
@@ -208,44 +228,45 @@ export default {
}
},
onShow: function() {
this.showDetail = true;
this.showDetail = true
this.getData();
},
onShareAppMessage(obj) {
return {
title: this.info.missionTitle,
path: `/pages/projectInfo/projectInfo?missionNo=${this.info.missionNo}`,
};
path: `/pages/projectInfo/projectInfo?missionNo=${this.info.missionNo}`
}
},
methods: {
dateFormat,
async cancelWorkerStatus(item) {
let params = {
missionNo: this.info.missionNo,
ids: item.id,
};
ids: item.id
}
uni.showLoading({
title: '请稍后',
});
let resData = await cancelEmployed(params);
uni.hideLoading();
title: '请稍后'
})
let resData = await cancelEmployed(params)
uni.hideLoading()
if (resData.data.code === 200) {
this.$api.msg('操作成功');
this.$api.msg('操作成功')
this.getData();
}
},
async changeWorkerStatus(item) {
let params = {
missionNo: this.info.missionNo,
ids: item.id,
};
ids: item.id
}
uni.showLoading({
title: '请稍后',
});
let resData = await updataEmployedNew(params);
uni.hideLoading();
title: '请稍后'
})
let resData = await updataEmployedNew(params)
uni.hideLoading()
if (resData.data.code === 200) {
this.$api.msg('操作成功');
this.$api.msg('操作成功')
this.getData();
}
},
@@ -258,8 +279,7 @@ export default {
getData: function() {
const self = this;
// missionDetail(self.missionNo).then(res => {
recruit_missionDetail(self.missionNo, self.type).then(
(res) => {
recruit_missionDetail(self.missionNo, self.type).then(res => {
self.info = res.data.data;
self.status = res.data.data.detailStatus;
self.latitude = self.info.lat;
@@ -269,68 +289,64 @@ export default {
self.showDetail = true;
if (self.type === 1) {
// 设置已读
setRead(self.id).then((res) => {
self.$store.commit('SET_READ');
});
setRead(self.id).then(res => {
self.$store.commit("SET_READ");
})
}
},
(error) => {
}, error => {
console.log(error);
}
);
});
},
// 查看合同
lookMask() {
this.maskShow = true;
this.maskShow = true
},
// 关闭弹窗
close() {
this.maskShow = false;
this.maskShow = false
},
// 合同下一步
next() {
this.maskShow = false;
this.showDetail = false;
this.showCode = true;
this.maskShow = false
this.showDetail = false
this.showCode = true
},
// 输入签名密码
getInpCode(password) {
uni.showLoading({
title: '请求中...',
});
this.loading = true;
var obj = {
pass: password,
};
checkPass(obj)
.then((res) => {
this.closeShowCode();
title: "请求中..."
})
this.loading = true
var obj = {
pass: password
}
checkPass(obj).then(res => {
this.closeShowCode()
}).catch(err => {
this.loading = false
})
.catch((err) => {
this.loading = false;
});
},
// 关闭签名密码弹窗
closeShowCode() {
this.showCode = false;
this.showDetail = true;
this.showCode = false
this.showDetail = true
},
// 忘记密码
forget() {
uni.navigateTo({
url: `/pageMy/setUserBase/seal/forget?forget=true`,
});
},
url: `/pageMy/setUserBase/seal/forget?forget=true`
})
}
},
computed: {
...mapGetters(['auth', 'autograph']),
skillNames() {
if (this.info.skillNames) {
return this.info.skillNames.split(',');
return this.info.skillNames.split(',')
}
}
}
}
},
},
};
</script>
<style lang="scss">
@@ -341,7 +357,7 @@ export default {
position: absolute;
right: 36rpx;
top: 120rpx;
color: #1b66ff;
color: #1B66FF;
transform: rotate(45deg);
font-size: 40px;
}
@@ -375,14 +391,15 @@ export default {
font-size: 28rpx;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: #5aa0fa;
color: #5AA0FA;
line-height: 38rpx;
text-align: right;
}
}
.contractMask {
background-color: #ffffff;
background-color: #FFFFFF;
margin: 30rpx;
position: relative;
border-radius: 4px;
@@ -392,7 +409,7 @@ export default {
.close {
width: 23px;
height: 23px;
color: #1b66ff;
color: #1B66FF;
position: fixed;
right: 60rpx;
top: 60rpx;
@@ -408,10 +425,10 @@ export default {
height: 90rpx;
line-height: 90rpx;
text-align: center;
background: #1b66ff;
background: #1B66FF;
font-size: 36rpx;
font-weight: 400;
color: #ffffff;
color: #FFFFFF;
}
}
@@ -425,7 +442,7 @@ export default {
}
.bottombtn {
background-color: #1b66ff;
background-color: #1B66FF;
color: #fff;
text-align: center;
border-radius: 10rpx;
@@ -474,6 +491,7 @@ export default {
flex-wrap: wrap;
justify-content: flex-start;
margin: 20rpx 0;
}
.proint {
@@ -483,12 +501,13 @@ export default {
.proneed {
font-size: 32rpx !important;
}
.fee {
font-family: PingFangSC-Medium;
font-size: 32rpx;
color: #f46161;
color: #F46161;
margin-top: 30rpx;
}
@@ -539,6 +558,7 @@ export default {
display: flex;
justify-content: space-between;
align-items: center;
}
.applyTime {
@@ -555,14 +575,14 @@ export default {
.btnGr {
background-color: green;
color: #ffffff;
color: #FFFFFF;
padding: 10rpx 20rpx;
border-radius: 5rpx;
}
.btnHuy {
background-color: #e8e8e8;
color: #ffffff;
color: #FFFFFF;
padding: 10rpx 20rpx;
border-radius: 5rpx;
}

View File

@@ -38,7 +38,7 @@
</view>
</view>
<!-- 技能标签 end -->
<view v-if="info.jobSources" style="color: red" class="prolist">来源{{ info.jobSources }}</view>
<view v-if="info.jobSources" class="prolist">来源{{ info.jobSources }}</view>
</view>
<view class="head">
<!-- <view class="proname proneed">

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

BIN
static/img/title-pg.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

View File

@@ -10,7 +10,7 @@ export default {
}) !== false,
homeTitle: getStore({
name: 'homeTitle'
}) || '德阳市智慧就业服务平台'
}) || '石河子智慧就业服务平台'
},
actions: {},
mutations: {

View File

@@ -2,7 +2,11 @@
<view
class="custom-tree-select-content"
:class="{
border: border && node[dataChildren] && node[dataChildren].length && node.showChildren,
border:
border &&
node[dataChildren] &&
node[dataChildren].length &&
node.showChildren
}"
:style="{ marginLeft: `${level ? 14 : 0}px` }"
>
@@ -24,10 +28,22 @@
color="#333"
></uni-icons>
</view>
<view v-if="loadingArr.includes(node[dataValue])" class="loading-icon-box">
<uni-icons class="loading-icon" type="spinner-cycle" size="14" color="#333"></uni-icons>
<view
v-if="loadingArr.includes(node[dataValue])"
class="loading-icon-box"
>
<uni-icons
class="loading-icon"
type="spinner-cycle"
size="14"
color="#333"
></uni-icons>
</view>
<view class="name" :style="node.disabled ? 'color: #999' : ''" @click.stop="nameClick(node)">
<view
class="name"
:style="node.disabled ? 'color: #999' : ''"
@click.stop="nameClick(node)"
>
<text>{{ node[dataLabel] }}</text>
</view>
</view>
@@ -40,7 +56,10 @@
:class="['check-box', { disabled: node.disabled }]"
@click.stop="nodeClick(node)"
>
<view v-if="!node.checked && node.partChecked && linkage" class="part-checked"></view>
<view
v-if="!node.checked && node.partChecked && linkage"
class="part-checked"
></view>
<uni-icons
v-if="node.checked"
type="checkmarkempty"
@@ -50,7 +69,11 @@
</view>
</view>
</view>
<view v-if="node.showChildren && node[dataChildren] && node[dataChildren].length">
<view
v-if="
node.showChildren && node[dataChildren] && node[dataChildren].length
"
>
<data-select-item
v-for="item in listData"
:key="item[dataValue]"
@@ -70,143 +93,151 @@
</template>
<script>
import dataSelectItem from './data-select-item.vue';
import { paging } from './utils';
import dataSelectItem from './data-select-item.vue'
import { paging } from './utils'
export default {
name: 'data-select-item',
components: {
'data-select-item': dataSelectItem,
'data-select-item': dataSelectItem
},
props: {
node: {
type: Object,
default: () => ({}),
default: () => ({})
},
choseParent: {
type: Boolean,
default: true,
default: true
},
dataLabel: {
type: String,
default: 'name',
default: 'name'
},
dataValue: {
type: String,
default: 'value',
default: 'value'
},
dataChildren: {
type: String,
default: 'children',
default: 'children'
},
border: {
type: Boolean,
default: false,
default: false
},
linkage: {
type: Boolean,
default: false,
default: false
},
level: {
type: Number,
default: 0,
default: 0
},
load: {
type: Function,
default: function () {},
default: function () {}
},
lazyLoadChildren: {
type: Boolean,
default: false,
},
default: false
}
},
data() {
return {
listData: [],
clearTimerList: [],
loadingArr: [],
};
loadingArr: []
}
},
computed: {
watchData() {
const { node, dataChildren } = this;
const { node, dataChildren } = this
return {
node,
dataChildren,
};
},
dataChildren
}
}
},
watch: {
watchData: {
immediate: true,
handler(newVal) {
const { node, dataChildren } = newVal;
if (node.showChildren && node[dataChildren] && node[dataChildren].length) {
this.resetClearTimerList();
this.renderTree(node[dataChildren]);
const { node, dataChildren } = newVal
if (
node.showChildren &&
node[dataChildren] &&
node[dataChildren].length
) {
this.resetClearTimerList()
this.renderTree(node[dataChildren])
}
}
}
},
},
},
methods: {
// 懒加载
renderTree(arr) {
const pagingArr = paging(arr);
this.listData.splice(0, this.listData.length, ...(pagingArr?.[0] || []));
this.lazyRenderList(pagingArr, 1);
const pagingArr = paging(arr)
this.listData.splice(0, this.listData.length, ...(pagingArr?.[0] || []))
this.lazyRenderList(pagingArr, 1)
},
// 懒加载具体逻辑
lazyRenderList(arr, startIndex) {
for (let i = startIndex; i < arr.length; i++) {
let timer = null;
let timer = null
timer = setTimeout(() => {
this.listData.push(...arr[i]);
}, i * 500);
this.clearTimerList.push(() => clearTimeout(timer));
this.listData.push(...arr[i])
}, i * 500)
this.clearTimerList.push(() => clearTimeout(timer))
}
},
// 中断懒加载
resetClearTimerList() {
const list = [...this.clearTimerList];
this.clearTimerList.splice(0, this.clearTimerList.length);
list.forEach((item) => item());
const list = [...this.clearTimerList]
this.clearTimerList.splice(0, this.clearTimerList.length)
list.forEach((item) => item())
},
async nameClick(node) {
if (!node[this.dataChildren]?.length && this.lazyLoadChildren) {
this.loadingArr.push(node[this.dataValue]);
this.loadingArr.push(node[this.dataValue])
try {
const res = await this.load(node);
const res = await this.load(node)
if (Array.isArray(res)) {
uni.$emit('custom-tree-select-load', {
source: node,
target: res,
});
target: res
})
}
} finally {
this.loadingArr = [];
this.loadingArr = []
}
} else {
if (!node.showChildren && node[this.dataChildren] && node[this.dataChildren].length) {
if (
!node.showChildren &&
node[this.dataChildren] &&
node[this.dataChildren].length
) {
// 打开
this.renderTree(node[this.dataChildren]);
this.renderTree(node[this.dataChildren])
} else {
// 关闭
this.resetClearTimerList();
this.listData.splice(0, this.listData.length);
this.resetClearTimerList()
this.listData.splice(0, this.listData.length)
}
uni.$emit('custom-tree-select-name-click', node);
uni.$emit('custom-tree-select-name-click', node)
}
},
nodeClick(node) {
if (!node.disabled) {
uni.$emit('custom-tree-select-node-click', node);
uni.$emit('custom-tree-select-node-click', node)
}
}
},
},
options: {
styleIsolation: 'shared',
},
};
styleIsolation: 'shared'
}
}
</script>
<style lang="scss" scoped>
@@ -232,7 +263,7 @@ $border-color: #c8c7cc;
border-left: 1px solid $border-color;
}
::v-deep .uni-checkbox-input {
/deep/ .uni-checkbox-input {
margin: 0 !important;
}

View File

@@ -8,18 +8,17 @@ module.exports = {
'/api': {
// target: 'http://10.165.0.173:8000',
// target: 'http://192.168.1.115:8000',
target: 'http://39.98.44.136:6013',
// target: 'http://39.98.44.136:6013',
target: 'http://36.105.163.21:30081',
ws: true,
changeOrigin: true,
pathRewrite: {
'^/api': '/'
'^/api': '/api'
}
},
'/qq/map': {
//本地服务接口地址
target: 'https://apis.map.qq.com',
ws: true,
changeOrigin: true,
pathRewrite: {
'^/qq/map': '/'
}