commit
Showing
1 changed file
with
21 additions
and
2 deletions
| ... | @@ -21,6 +21,16 @@ | ... | @@ -21,6 +21,16 @@ |
| 21 | </el-option> | 21 | </el-option> |
| 22 | </el-select> | 22 | </el-select> |
| 23 | </el-form-item> | 23 | </el-form-item> |
| 24 | <el-form-item> | ||
| 25 | <el-select v-model="queryPhoneCode.version" placeholder="请选择平台版本"> | ||
| 26 | <el-option | ||
| 27 | v-for="item in queryPhoneCodeVersionOptions" | ||
| 28 | :key="item.value" | ||
| 29 | :label="item.label" | ||
| 30 | :value="item.value"> | ||
| 31 | </el-option> | ||
| 32 | </el-select> | ||
| 33 | </el-form-item> | ||
| 24 | <div style="margin: 15px 0;"></div> | 34 | <div style="margin: 15px 0;"></div> |
| 25 | <el-form-item> | 35 | <el-form-item> |
| 26 | <el-button round @click="queryPhoneCodeSubmit">查询验证码</el-button> | 36 | <el-button round @click="queryPhoneCodeSubmit">查询验证码</el-button> |
| ... | @@ -112,7 +122,8 @@ | ... | @@ -112,7 +122,8 @@ |
| 112 | return { | 122 | return { |
| 113 | queryPhoneCode: { | 123 | queryPhoneCode: { |
| 114 | phone: '', | 124 | phone: '', |
| 115 | huanjing: [] | 125 | huanjing: [], |
| 126 | version: [] | ||
| 116 | }, | 127 | }, |
| 117 | queryPhoneCodeOptions: [{ | 128 | queryPhoneCodeOptions: [{ |
| 118 | value: '0', | 129 | value: '0', |
| ... | @@ -121,6 +132,13 @@ | ... | @@ -121,6 +132,13 @@ |
| 121 | value: '1', | 132 | value: '1', |
| 122 | label: '线上环境' | 133 | label: '线上环境' |
| 123 | }], | 134 | }], |
| 135 | queryPhoneCodeVersionOptions: [{ | ||
| 136 | value: '2', | ||
| 137 | label: '二期活动' | ||
| 138 | },{ | ||
| 139 | value: '3', | ||
| 140 | label: '三期活动' | ||
| 141 | }], | ||
| 124 | dialogQueryPhoneCode: false, | 142 | dialogQueryPhoneCode: false, |
| 125 | myQueryPhoneCode: '' | 143 | myQueryPhoneCode: '' |
| 126 | } | 144 | } |
| ... | @@ -162,7 +180,8 @@ | ... | @@ -162,7 +180,8 @@ |
| 162 | } | 180 | } |
| 163 | this.$http.get('/tool2/waibaoQueryPhoneCode?'+this.$qs.stringify({ | 181 | this.$http.get('/tool2/waibaoQueryPhoneCode?'+this.$qs.stringify({ |
| 164 | phone: this.queryPhoneCode.phone, | 182 | phone: this.queryPhoneCode.phone, |
| 165 | type: this.queryPhoneCode.huanjing.toString() | 183 | type: this.queryPhoneCode.huanjing.toString(), |
| 184 | version: this.queryPhoneCode.version.toString() | ||
| 166 | }),config).then((res)=>{ | 185 | }),config).then((res)=>{ |
| 167 | console.log(res); | 186 | console.log(res); |
| 168 | if(res.data=='codenull') { | 187 | if(res.data=='codenull') { | ... | ... |
-
Please register or sign in to post a comment