|
|
|
@ -3,14 +3,14 @@ import { certificateImage } from "../../api/user" |
|
|
|
const util = require('../../../utils/util') |
|
|
|
const app = getApp() |
|
|
|
|
|
|
|
let monthList = [{ text: '1000吨以下', value: 1 }, { text: '1000-2000吨', value: 2 }, { text: '2000吨以上', value: 3 }] |
|
|
|
let expriseList = [{ text: '1年以下', value: 1 }, { text: '1-5年', value: 2 }, { text: '5-10年', value: 3 }, { text: '10年以上', value: 4 }] |
|
|
|
Page({ |
|
|
|
/** |
|
|
|
* 页面的初始数据 |
|
|
|
*/ |
|
|
|
data: { |
|
|
|
monthList: [{ text: '1000吨以下', value: 1 }, { text: '1000-2000吨', value: 2 }, { text: '2000吨以上', value: 3 }], |
|
|
|
expriseList: [{ text: '1年以下', value: 1 }, { text: '1-5年', value: 2 }, { text: '5-10年', value: 3 }, { text: '10年以上', value: 4 }], |
|
|
|
form: { identityAuthToken: null }, |
|
|
|
form: { }, |
|
|
|
flag: false, // 是否不可以编辑, false:可编辑;true:不可编辑
|
|
|
|
disabled: true, |
|
|
|
imgList: [null] |
|
|
|
@ -25,9 +25,9 @@ Page({ |
|
|
|
showPicker: function (e) { |
|
|
|
this.pickerView = this.pickerView || this.selectComponent('#picker-view') |
|
|
|
if(e.currentTarget.id == 'shipmentPerMonth'){ |
|
|
|
this.pickerView.showPicker(this.data.monthList, null, 1) |
|
|
|
this.pickerView.showPicker(monthList, null, 1) |
|
|
|
} else if(e.currentTarget.id == 'experienceTag'){ |
|
|
|
this.pickerView.showPicker(this.data.expriseList, null, 2) |
|
|
|
this.pickerView.showPicker(expriseList, null, 2) |
|
|
|
} |
|
|
|
}, |
|
|
|
onPickerChange: function ({detail}) { |
|
|
|
|