任务统一改成岗位

This commit is contained in:
18500206848
2024-04-25 19:39:11 +08:00
parent 3e01893ef7
commit 9642c98111
13 changed files with 21 additions and 21 deletions

View File

@@ -18,7 +18,7 @@
<view class="nothing" v-else-if="show"> <view class="nothing" v-else-if="show">
<image src="/static/img/pic_notask.svg" mode=""></image> <image src="/static/img/pic_notask.svg" mode=""></image>
<view class="nothingContnt"> <view class="nothingContnt">
暂无任务信息 暂无岗位信息
</view> </view>
</view> </view>
</template> </template>

View File

@@ -4,7 +4,7 @@
<view class="top-search"> <view class="top-search">
<view class="top-input"> <view class="top-input">
<input class="put" type="text" placeholder-class="put-pla" v-model="searchValue" <input class="put" type="text" placeholder-class="put-pla" v-model="searchValue"
placeholder="搜索地点或者附近的任务及岗位"> placeholder="搜索地点或者附近的岗位">
<button class="input-btn" @tap="search">搜索</button> <button class="input-btn" @tap="search">搜索</button>
</view> </view>
</view> </view>

View File

@@ -3,7 +3,7 @@
<view class="titleSearch"> <view class="titleSearch">
<view class="searchName"> </view> <view class="searchName"> </view>
<u-search placeholder="搜任务/搜岗位/搜政策" @focus="goSeach" shape="round" :showAction="false"></u-search> <u-search placeholder="搜零工岗位/搜全职岗位/搜政策" @focus="goSeach" shape="round" :showAction="false"></u-search>
</view> </view>
<view class="navPosition" @click="navTo('/pages/project/map')"> <view class="navPosition" @click="navTo('/pages/project/map')">
<u-icon name="map" color="#2979ff" size="16"></u-icon> <u-icon name="map" color="#2979ff" size="16"></u-icon>
@@ -175,7 +175,7 @@
searchData: {}, searchData: {},
// nonReactiveArray: ["推荐任务", "推荐岗位", "个体户招工"], // nonReactiveArray: ["推荐任务", "推荐岗位", "个体户招工"],
nonReactiveArray: ["推荐零工任务", "推荐岗位"], nonReactiveArray: ["推荐零工岗位", "推荐全职岗位"],
} }
}, },
onLoad: function() { onLoad: function() {

View File

@@ -29,7 +29,7 @@
</view> </view>
<view class="head"> <view class="head">
<view class="proname proneed"> <view class="proname proneed">
任务要求 岗位要求
</view> </view>
<view class="prolist"> <view class="prolist">
<view class="protype"> <view class="protype">
@@ -47,7 +47,7 @@
</view> </view>
</view> </view>
<view class="prolist proint" style="font-weight: bold;color:#333;"> <view class="prolist proint" style="font-weight: bold;color:#333;">
任务描述 岗位描述
</view> </view>
<view class="prolist description"> <view class="prolist description">
{{info.missionDesc || '暂无'}} {{info.missionDesc || '暂无'}}

View File

@@ -35,7 +35,7 @@
<img src="../../static/img/zhiyin_icon.png" alt="" /> <img src="../../static/img/zhiyin_icon.png" alt="" />
<view class="item"> <view class="item">
<span>平台/大屏展</span> <span>平台/大屏展</span>
<span>示招工任务</span> <span>示招工信息</span>
</view> </view>
</view> </view>
<view class="bottom"> <view class="bottom">

View File

@@ -191,8 +191,8 @@ export default {
// } // }
console.log(item.data) console.log(item.data)
// 任务推送、岗位推送、政策推送 // 任务推送、岗位推送、政策推送
if (item.title == '任务申请') { if (item.title == '岗位申请') {
console.log('任务申请') console.log('岗位申请')
uni.navigateTo({ uni.navigateTo({
url: './taskProjectList' url: './taskProjectList'
}) })

View File

@@ -42,10 +42,10 @@
let arrGuide = ['在线填写招工需求', '后台审核沟通发布', '平台展示招工信息']; let arrGuide = ['在线填写招工需求', '后台审核沟通发布', '平台展示招工信息'];
let arrTitle = [ let arrTitle = [
{ {
text: "发布零工任务", text: "发布零工岗位",
id: 0 id: 0
}, { }, {
text: "发布岗位", text: "发布全职岗位",
id: 1 id: 1
} }
// , { // , {

View File

@@ -17,7 +17,7 @@
mode=""></image> mode=""></image>
<view style="flex:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;">{{ item.workname }} <view style="flex:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;">{{ item.workname }}
</view> </view>
<view class="type" v-if="item.type1 == 0">任务</view> <view class="type" v-if="item.type1 == 0">岗位</view>
<view class="type" v-else-if="item.type1 == 1">岗位</view> <view class="type" v-else-if="item.type1 == 1">岗位</view>
<view class="type" v-else-if="item.type1 == 2">招工</view> <view class="type" v-else-if="item.type1 == 2">招工</view>
<view class="baddd"></view> <view class="baddd"></view>

View File

@@ -4,9 +4,9 @@
<view class="u-demo-block__content"> <view class="u-demo-block__content">
<!-- 注意如果需要兼容微信小程序最好通过setRules方法设置rules规则 --> <!-- 注意如果需要兼容微信小程序最好通过setRules方法设置rules规则 -->
<u--form labelPosition="left" :model="info" ref="form1" :rules="rules"> <u--form labelPosition="left" :model="info" ref="form1" :rules="rules">
<view style="font-size: 30rpx;font-weight: bold;padding: 20rpx 0 0;">任务信息</view> <view style="font-size: 30rpx;font-weight: bold;padding: 20rpx 0 0;">岗位信息</view>
<u-form-item label="任务名称" prop="jobName" borderBottom labelWidth="80" ref="item1"> <u-form-item label="岗位名称" prop="jobName" borderBottom labelWidth="80" ref="item1">
<u--input v-model="info.jobName" border="none" placeholder="请输入任务名称"></u--input> <u--input v-model="info.jobName" border="none" placeholder="请输入岗位名称"></u--input>
</u-form-item> </u-form-item>
<u-form-item label="发布时间" labelWidth="80" prop="stime" borderBottom <u-form-item label="发布时间" labelWidth="80" prop="stime" borderBottom
@click="showStime = true; hideKeyboard()" ref="item1"> @click="showStime = true; hideKeyboard()" ref="item1">
@@ -20,7 +20,7 @@
border="none"></u--input> border="none"></u--input>
<u-icon slot="right" name="arrow-right"></u-icon> <u-icon slot="right" name="arrow-right"></u-icon>
</u-form-item> </u-form-item>
<view style="font-size: 30rpx;font-weight: bold;padding: 20rpx 0 0;">任务要求</view> <view style="font-size: 30rpx;font-weight: bold;padding: 20rpx 0 0;">岗位要求</view>
<u-form-item label="招聘人数" prop="peopleNum" borderBottom labelWidth="80" ref="item3"> <u-form-item label="招聘人数" prop="peopleNum" borderBottom labelWidth="80" ref="item3">
<u--input type="number" v-model="info.peopleNum" maxlength="7" border="none" placeholder="请输入招聘人数"> <u--input type="number" v-model="info.peopleNum" maxlength="7" border="none" placeholder="请输入招聘人数">
</u--input> </u--input>

View File

@@ -21,7 +21,7 @@
<view class="nothing" v-if="data.length === 0"> <view class="nothing" v-if="data.length === 0">
<image src="/static/img/pic_notask.svg" mode=""></image> <image src="/static/img/pic_notask.svg" mode=""></image>
<view class="nothingContnt"> <view class="nothingContnt">
暂无任务信息 暂无岗位信息
</view> </view>
</view> </view>
</view> </view>

View File

@@ -61,7 +61,7 @@
</view> </view>
<view v-else class="empty">暂无历史记录</view> <view v-else class="empty">暂无历史记录</view>
</view> </view>
<v-tabs v-show="!searchResultShow" :tabs="['推荐零工任务', '推荐岗位', '推荐政策']" height="45px" v-model="activeTab" <v-tabs v-show="!searchResultShow" :tabs="['推荐零工岗位', '推荐全职岗位', '推荐政策']" height="45px" v-model="activeTab"
color="#999" activeColor="#000" fontSize="30rpx" activeFontSize="31rpx" @change='changeTab' /> color="#999" activeColor="#000" fontSize="30rpx" activeFontSize="31rpx" @change='changeTab' />

View File

@@ -4,7 +4,7 @@
<g id="1.icon/88px/tab.blue" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> <g id="1.icon/88px/tab.blue" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<path d="M88,88 L0,0 L52,0 L88,36 L88,88 Z" id="形状结合" fill="#4D88FF"></path> <path d="M88,88 L0,0 L52,0 L88,36 L88,88 Z" id="形状结合" fill="#4D88FF"></path>
<text id="岗位中" transform="translate(57.000000, 31.000000) rotate(-315.000000) translate(-57.000000, -31.000000) " font-family="PingFangSC-Regular, PingFang SC" font-size="20" font-weight="normal" fill="#FFFFFF"> <text id="岗位中" transform="translate(57.000000, 31.000000) rotate(-315.000000) translate(-57.000000, -31.000000) " font-family="PingFangSC-Regular, PingFang SC" font-size="20" font-weight="normal" fill="#FFFFFF">
<tspan x="27" y="38">任务</tspan> <tspan x="27" y="38">岗位</tspan>
</text> </text>
</g> </g>
</svg> </svg>

Before

Width:  |  Height:  |  Size: 722 B

After

Width:  |  Height:  |  Size: 722 B

View File

@@ -80,7 +80,7 @@ const news = {
}, },
"1": { "1": {
id: "1", id: "1",
title: "任务推送", title: "岗位推送",
icon: "../../static/img/renwu.png", icon: "../../static/img/renwu.png",
page: { page: {
current: 0, current: 0,
@@ -122,7 +122,7 @@ const news = {
title: 'missionTitle', title: 'missionTitle',
desc: (value) => { desc: (value) => {
if (value.data[0]) if (value.data[0])
return `您收到${value.data[0][0]['companyName']}任务` return `您收到${value.data[0][0]['companyName']}岗位`
}, },
time: 'createTime', time: 'createTime',
isRead: 'status', isRead: 'status',