| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283 |
- import {
- getResume
- } from '../../services/index.js'
- import {
- imgServerUrl
- } from '../../config/config.js'
- import {
- showToastW
- } from '../../utils/tips.js'
- import {
- formatTime
- } from '../../utils/util.js'
- const app = getApp();
- Page({
- data: {
- imgServerUrl: imgServerUrl,
- hpUserResumeId: '', //是否有简历
- eduList: ["请选择", "小学", "中学", "高中", "大专", "本科", "研究生", "博士", "博士后"],
- eduName: '', //学历
- expYear: "", //工作几年
- hpUserResumeId: '', //用户简历表id
- expectationPosition: ["普工", "客服", "销售", "服务员", "物流仓储", "司机", "才艺技能", "文员助理", "快递配送", "促销导购", "展会演出", "家教培训", "模特", "贸易采购", "厨师", "编辑", "线上推广", "设计", "技工", "保洁", "其它"],
- salaryList: [{
- "expectationSalary": -1,
- "hightNum": '不限'
- },
- {
- "expectationSalary": 0,
- "hightNum": '1000~2000'
- },
- {
- "expectationSalary": 1,
- "hightNum": '2000~3000'
- },
- {
- "expectationSalary": 2,
- "hightNum": '3000~4000'
- },
- {
- "expectationSalary": 3,
- "hightNum": '4000~5000'
- },
- {
- "expectationSalary": 4,
- "hightNum": '5000~6000'
- },
- {
- "expectationSalary": 5,
- "hightNum": '6000~7000'
- },
- {
- "expectationSalary": 6,
- "hightNum": '7000~8000'
- },
- {
- "expectationSalary": 7,
- "hightNum": '8000~9000'
- },
- {
- "expectationSalary": 9,
- "hightNum": '10000以上'
- }
- ],
- },
- onLoad: function (options) {
- var userResume = wx.getStorageSync('userResume');
- if (userResume.expectationSalary) {
- var salaryList = this.data.salaryList;
- for (var i = 0; i < salaryList.length; i++) {
- if (salaryList[i].expectationSalary == userResume.expectationSalary) {
- userResume.expectationSalary = salaryList[i].hightNum
- }
- }
- }
- this.setData({
- userResume: userResume
- })
- },
- onShow: function (options) {
- },
- })
|