报名助手阉割版

master
zsk 2 years ago
parent 9b928067c7
commit 7e653af204

@ -1,8 +1,8 @@
@font-face {
font-family: "iconfont"; /* Project id 4374774 */
src: url('//at.alicdn.com/t/c/font_4374774_rxfy5vyoct9.woff2?t=1703661775751') format('woff2'),
url('//at.alicdn.com/t/c/font_4374774_rxfy5vyoct9.woff?t=1703661775751') format('woff'),
url('//at.alicdn.com/t/c/font_4374774_rxfy5vyoct9.ttf?t=1703661775751') format('truetype');
src: url('//at.alicdn.com/t/c/font_4374774_0sqvo64lxrz.woff2?t=1703748701699') format('woff2'),
url('//at.alicdn.com/t/c/font_4374774_0sqvo64lxrz.woff?t=1703748701699') format('woff'),
url('//at.alicdn.com/t/c/font_4374774_0sqvo64lxrz.ttf?t=1703748701699') format('truetype');
}
.iconfont {
@ -13,6 +13,10 @@
-moz-osx-font-smoothing: grayscale;
}
.icon-duihao:before {
content: "\e6a9";
}
.icon-zanwu:before {
content: "\e6ec";
}

@ -19,7 +19,7 @@
</view>
<view class="fw500 f15 fss por billInput">
<view class>
<input class="weui-input" type="text" name="userName" bindinput="bothwayBind" data-type="name" value="{{userInfo.name}}" placeholder="请输入姓名或称呼" placeholder-class="input-placeholder" />
<input class="weui-input" type="text" name="userName" bindinput="bothwayBind" data-type="name" value="报名测试" placeholder="请输入姓名或称呼" placeholder-class="input-placeholder" />
</view>
</view>
</view>
@ -29,7 +29,7 @@
</view>
<view class="fw500 f15 fss por billInput">
<view class>
<input class="weui-input" type="text" name="idCard" data-type="name" value="{{userInfo.idCard}}" placeholder="手动输入或拍照自动识别" />
<input class="weui-input" type="text" name="idCard" data-type="name" value="410526199010152058" placeholder="手动输入或拍照自动识别" />
</view>
<i class="iconfont icon-paizhao1 poa c9" style="right:12px;font-size: 30px;"></i>
</view>
@ -40,7 +40,7 @@
</view>
<view class="fw500 f15 fss por billInput">
<view class>
<input class="weui-input" type="text" name="tel" data-type="name" value="{{userInfo.tel}}" placeholder="请输入联系电话" />
<input class="weui-input" type="text" name="tel" data-type="name" value="13140018381" placeholder="请输入联系电话" />
</view>
</view>
</view>

@ -18,10 +18,10 @@
<view class="display-flex">
<view class="flex-1 vsb">
<view class="display-flex">
<view class="storeName" style="max-width: 300px;width: 300px;">{{item.jobName || item.aliasName}}</view>
<view class="storeName" style="max-width: 300px;width: 300px;">{{item.jobName || item.storeName}}</view>
<!-- <view class="baomingBtn v-center" hover-stop-propagation><i class="iconfont icon-baoming1"></i>报名</view> -->
</view>
<view class="v-center mt12 mb12">
<view class="v-center" wx:if="{{from != 'baoming'}}">
<view class="f16 c3 flex-1 display-flex">
{{item.monthlyPay}}元/月,{{item.age}}
<!-- <view class="overflowOmit" hover-class="none" hover-stop-propagation="false" style="max-width:220px">
@ -32,13 +32,14 @@
<view class="fr f14s fw400" style="color: var(--color-f40);">{{item.monthlyPay}}</view> -->
</view>
</view>
<view wx:else style="height: 18px;"></view>
<view class="display-flex">
<view class="v-center">
<image class="dlLogo" src="{{item.logo}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror bindload />
<image class="dlLogo" src="{{item.logo || '//matripe-cms.oss-cn-beijing.aliyuncs.com/1shoudan/nan912.png'}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror bindload />
<text class="f12 c045 ml8">{{item.agencyName}}</text>
</view>
<view>
<text class="f12 c045 ml8">{{item.updateTime}}</text>
<text class="f12 c045 ml8">{{item.updateTime || item.createTime}}</text>
</view>
</view>
</view>

@ -249,8 +249,10 @@ Page({
// res.data.data.storeImage.forEach((item) => {
// item.isImg = regs.test(item.url.toLowerCase());
// });
result.job.genderRestrict = commonUtil.getGenderByMinAge(result.job);
result.job.updateTime = dateUtil.timeShowXXX(result.job.updateTime)
// result.job.genderRestrict = commonUtil.getGenderByMinAge(result.job);
if(result.job.updateTime){
result.job.updateTime = dateUtil.timeShowXXX(result.job.updateTime)
}
// if (app.isNotEmptyCheck(title)) {
// title = result.storeJob.jobName;
// } else {
@ -356,7 +358,7 @@ Page({
*/
disposeJobListData (jobDetail) {
var that = this;
console.log(jobDetail);
// item["workType"] = commonUtil.getWorkTypeById(
// item.workTypeMulti
// );
@ -736,9 +738,15 @@ Page({
iosDialogTobe: false,
});
},
onShareAppMessage: function () {
// menu:[shareAppMessage,shareTimeline]
// return custom share data when user share.
onShareAppMessage: function (res) {
console.log(res)
return{
tittle:'转发标题',
desc:'转发提示',
path:'/pages/detail/index?storeJobId=' + this.data.searchForm.storeJobId,
success:function(res){},
fail:function(res){}
}
},
onShareTimeline: function () {},
share(){

@ -347,29 +347,7 @@ Page({
app.globalData.isCommission = 1;
}
app.getLoginUserTokenInfo();
this.getJobList();
if (wx.getStorageSync("FILTER_LIST")) {
let list = wx.getStorageSync("FILTER_LIST");
list.forEach((item) => {
item.active = 0;
if (item.typeClassify == "0") {
this.data.filterData.jobFilter["tagArray0"].push(item);
} else if (item.typeClassify == "1") {
this.data.filterData.jobFilter["tagArray1"].push(item);
} else if (item.typeClassify == "2") {
this.data.filterData.jobFilter["tagArray2"].push(item);
} else if (item.typeClassify == "3") {
this.data.filterData.jobFilter["tagArray3"].push(item);
} else if (item.typeClassify == "4") {
this.data.filterData.jobFilter["tagArray4"].push(item);
}
});
let jobFilter = "filterData.jobFilter";
this.setData({
[jobFilter]: this.data.filterData.jobFilter,
});
}
},
onReady() {
let that = this;
@ -681,7 +659,11 @@ Page({
success: function (res) {
console.log("职位列表↓↓↓↓");
console.log(res);
if(res.data.status == '9999'){
wx.navigateTo({
url: '../login/index',
})
}
that.setData({
totalPage: res.data.data.pageBean.pageCount,
currPage: res.data.data.pageBean.currentPage,

@ -1,4 +1,4 @@
<view class="container" bindtouchstart="touchStart">
<view class="container">
<view class="navigatorBar" hover-class="none" style="padding-top:{{statusBarHeight + ((navigationBarHeight - menuButtonHeight) / 2) + 2}}px" hover-stop-propagation="false">
<view class="tabs daotian display-flex fw500 cf" style="width:128px;text-align:center;">报名助手</view>
</view>
@ -25,7 +25,7 @@
</view>
</view>
<!-- bindrefresherrefresh="onScrollRefresh" refresher-triggered="{{isTrigger}}" refresher-enabled="{{true}}" -->
<scroll-view id="listBox" bindscrolltolower="onScrollToLower" scroll-top="{{topNum}}" enhanced binddragstart="listTouchStart" style="height:calc(100vh - 64px)" enable-passive scroll-x="false" scroll-y="true" scroll-into-view="{{scrollTo}}" scroll-with-animation="false" enable-back-to-top="true">
<scroll-view id="listBox" bindscrolltolower="onScrollToLower" scroll-top="{{topNum}}" enhanced style="height:calc(100vh - 64px)" enable-passive scroll-x="false" scroll-y="true" scroll-into-view="{{scrollTo}}" scroll-with-animation="false" enable-back-to-top="true">
<view class hover-class="none" hover-stop-propagation="false">
<view class="sticky" id="sticky" hover-class="none" hover-stop-propagation="false"></view>
<!-- 标准列表 -->
@ -72,7 +72,7 @@
</block>
</view>
<view wx:if="{{(recordList == null || recordList.length == 0) && pageShow}}" class="tc">
<view class="t-icon t-icon-zanwu" style="width: 80px; height: 80px; margin: 80px auto 20px"></view>
<view class="t-icon t-icon-zanwu" style="width: 80px; height: 80px; margin: 160px auto 20px"></view>
<view class="tc f14 c045">暂无记录</view>
</view>
</view>

@ -8,6 +8,7 @@ Page({
data: {
list: [],
deleteAgencyShow: false,
deleteAgencyId:'',
storeJobListSearchForm: {
pageNum: 1,
pageSize: 20,
@ -108,10 +109,32 @@ Page({
success: function (res) {
if (res.confirm) {
console.log("用户点击确定");
wx.showToast({
title: '删除成功',
icon: 'success'
})
wx.request({
url: app.globalData.ip + "/assistant/mine/delAgency/"+this.data.deleteAgencyId,
header: app.globalData.headers,
method: "get",
success: function (res) {
console.log(res);
if (res.data.status == 200) {
wx.showToast({
title: '删除成功',
icon: 'success'
})
that.getList();
}
},
});
// wx.showToast({
// title: '删除成功',
// icon: 'success'
// })
that.setData({
deleteAgencyShow: false
})
@ -127,9 +150,11 @@ Page({
deleteAgencyShow: false
})
},
deleteAgency () {
deleteAgency (e) {
console.log(e.currentTarget.dataset.agencyid);
this.setData({
deleteAgencyShow: true
deleteAgencyShow: true,
deleteAgencyId:e.currentTarget.dataset.agencyid
})
},
/**

@ -16,10 +16,10 @@
<view class="fsa subItem bb1 p010" wx:for="{{list}}" hover-class="none" hover-stop-propagation="false">
<view class="fss" hover-class="none" hover-stop-propagation="false">
<image class="logoImg" src="{{item.logo}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror bindload></image>
<view class="ml16" hover-class="none" hover-stop-propagation="false">{{item.title}}</view>
<image class="logoImg" src="{{item.logo || '//matripe-cms.oss-cn-beijing.aliyuncs.com/1shoudan/nan912.png'}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror bindload></image>
<view class="ml16" hover-class="none" hover-stop-propagation="false">{{item.agencyName}}</view>
</view>
<view class="iconfont icon-gengduo2 cccc rotate90" hover-class="none" bindtap="deleteAgency" hover-stop-propagation="false"></view>
<view class="iconfont icon-gengduo2 cccc rotate90" hover-class="none" data-agencyid="{{item.id}}" bindtap="deleteAgency" hover-stop-propagation="false"></view>
</view>
</scroll-view>
</view>

@ -1240,8 +1240,12 @@ export function disposeJobListData(recordList) {
if(item['agencyName'] && item.agencyCode){
item['agencyName'] = item.agencyName.split(item.agencyCode).join('')
}
item.updateTime = dateUtil.timeShowXXX(item.updateTime)
if(item.updateTime){
item.updateTime = dateUtil.timeShowXXX(item.updateTime)
}
if(item.createTime){
item.createTime = dateUtil.timeShowXXX(item.createTime)
}
//月薪
var monthlyPayStr = "";
// if (hasHourlyPay) {

Loading…
Cancel
Save