|
@@ -24,9 +24,9 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="desc">
|
|
|
- <text class="tag">{{ item.experience }}</text>
|
|
|
- <text class="tag">费用:{{ item.salary }}¥</text>
|
|
|
+ <text class="tag org">{{ item.salary }}¥</text>
|
|
|
<text class="tag">{{ item.regionName || '地点不限' }}</text>
|
|
|
+ <text class="tag">周期:{{ item.days }}天</text>
|
|
|
<text class="date">{{ item.createTime }}</text>
|
|
|
</view>
|
|
|
<view class="flex">
|
|
@@ -58,8 +58,7 @@ export default {
|
|
|
current: 0,
|
|
|
list: [],
|
|
|
param: { pageNum: 1, pageSize: 10, type: 1 },
|
|
|
- loadMore: true,
|
|
|
- show: false
|
|
|
+ loadMore: true
|
|
|
};
|
|
|
},
|
|
|
onLoad(e) {
|
|
@@ -78,21 +77,17 @@ export default {
|
|
|
this.loadMore = res.data.pages > this.param.pageNum ? true : false;
|
|
|
res.data.rows.forEach((item) => {
|
|
|
item.createTime = uni.$u.timeFrom(Date.parse(item.createTime));
|
|
|
+ item.days = this.util.days(item.startDate, item.endDate);
|
|
|
this.list.push(item);
|
|
|
});
|
|
|
}
|
|
|
});
|
|
|
},
|
|
|
- click(e, tag) {
|
|
|
- this.param[tag] = this[tag][e.index].value;
|
|
|
- if (tag == 'audit') {
|
|
|
- this.current = e.index;
|
|
|
- }
|
|
|
+ click(e) {
|
|
|
+ this.param.audit = this.audit[e.index].value;
|
|
|
+ this.current = e.index;
|
|
|
this.refresh();
|
|
|
},
|
|
|
- selectClick(e) {
|
|
|
- uni.navigateTo({ url: '/pages/job/position/manage/push?type=' + e.value });
|
|
|
- },
|
|
|
go(url) {
|
|
|
uni.navigateTo({ url: url });
|
|
|
},
|