| | |
| | | style="margin-top: 16px;text-align: right;"></input> |
| | | </view> |
| | | </view> |
| | | <view class="form-item before-line"> |
| | | <view class="label required">联系方式</view> |
| | | <view class="m-l-a m-r-0 flex"> |
| | | <input v-model="dto.contactTel" placeholder="请输入联系方式" |
| | | style="margin-top: 16px;text-align: right;"></input> |
| | | </view> |
| | | </view> |
| | | <!-- <view class="form-item before-line">--> |
| | | <!-- <view class="label required">联系方式</view>--> |
| | | <!-- <view class="m-l-a m-r-0 flex">--> |
| | | <!-- <input v-model="dto.contactTel" placeholder="请输入联系方式"--> |
| | | <!-- style="margin-top: 16px;text-align: right;"></input>--> |
| | | <!-- </view>--> |
| | | <!-- </view>--> |
| | | <view class="button-green-1 m-t-20 button-fixed-bottom before-line " @click="submit">更新</view> |
| | | </view> |
| | | |
| | |
| | | name: '联系人姓名', |
| | | key: 'name' |
| | | }, |
| | | { |
| | | name: '联系方式', |
| | | key: 'contactTel' |
| | | }, |
| | | // { |
| | | // name: '联系方式', |
| | | // key: 'contactTel' |
| | | // }, |
| | | |
| | | ], |
| | | regionDataPlus: [], |
| | |
| | | return |
| | | } |
| | | } |
| | | const phoneRegex = /^[1][3-9][0-9]{9}$/; |
| | | /*const phoneRegex = /^[1][3-9][0-9]{9}$/; |
| | | if (!phoneRegex.test(this.dto.contactTel)) { |
| | | this.$message.showToast('请填写正确联系方式') |
| | | return |
| | | } |
| | | }*/ |
| | | |
| | | await this.$message.confirm(`是否确定提交/修改信息`) |
| | | |