Commit a7f06ba4 a7f06ba4d9f73ead97b41647a606fd3c036e8e58 by zhanghao

commit

1 parent 8acde53d
......@@ -21,6 +21,16 @@
</el-option>
</el-select>
</el-form-item>
<el-form-item>
<el-select v-model="queryPhoneCode.version" placeholder="请选择平台版本">
<el-option
v-for="item in queryPhoneCodeVersionOptions"
:key="item.value"
:label="item.label"
:value="item.value">
</el-option>
</el-select>
</el-form-item>
<div style="margin: 15px 0;"></div>
<el-form-item>
<el-button round @click="queryPhoneCodeSubmit">查询验证码</el-button>
......@@ -112,7 +122,8 @@
return {
queryPhoneCode: {
phone: '',
huanjing: []
huanjing: [],
version: []
},
queryPhoneCodeOptions: [{
value: '0',
......@@ -121,6 +132,13 @@
value: '1',
label: '线上环境'
}],
queryPhoneCodeVersionOptions: [{
value: '2',
label: '二期活动'
},{
value: '3',
label: '三期活动'
}],
dialogQueryPhoneCode: false,
myQueryPhoneCode: ''
}
......@@ -162,7 +180,8 @@
}
this.$http.get('/tool2/waibaoQueryPhoneCode?'+this.$qs.stringify({
phone: this.queryPhoneCode.phone,
type: this.queryPhoneCode.huanjing.toString()
type: this.queryPhoneCode.huanjing.toString(),
version: this.queryPhoneCode.version.toString()
}),config).then((res)=>{
console.log(res);
if(res.data=='codenull') {
......