Commit 92e9b9d4 authored by leiqingsong's avatar leiqingsong

Merge branch 'master' of http://111.203.232.171:8888/Song/xitiansenmall into dev_lqs

parents 8126112d f4790acb
......@@ -110,7 +110,7 @@ const routes = [
path: "/leagueNums",
name: "LeagueNums",
component: () => import("@/views/leagueNums"),
meta: { title: "团员总人数", noNav: true }
meta: { title: "团队详情", noNav: true }
},
{
path: "/canCashOut",
......
......@@ -22,6 +22,7 @@
label="姓名"
placeholder="请输入"
size="large"
maxlength="8"
/>
<van-field
v-model="form.idCardNo"
......@@ -105,14 +106,14 @@ export default {
this.$toast.fail("请输入身份证号");
return;
}
if (
!/^[1-9]\d{5}(18|19|20|(3\d))\d{2}((0[1-9])|(1[0-2]))(([0-2][1-9])|10|20|30|31)\d{3}[0-9Xx]$/.test(
this.form.idCardNo
)
) {
if (!/^[1-9]\d{5}(18|19|20|(3\d))\d{2}((0[1-9])|(1[0-2]))(([0-2][1-9])|10|20|30|31)\d{3}[0-9Xx]$/.test(this.form.idCardNo)) {
this.$toast.fail("请输入正确的身份证号");
return;
}
if(!/^[u4e00-u9fa5]{8}/.test(this.form.name)){
this.$toast.fail("姓名仅支持中文或英文");
return;
}
const params = this.form;
if (this.form.id) {
editUserBankInfo(params)
......
......@@ -7,7 +7,7 @@
class="nav-left"
@click="$router.go(-1)"
/>
<span class="nav-title">员总人数</span>
<span class="nav-title">队详情</span>
</div>
<div class="panel-list">
<div class="panel-item" v-for="(item, index) in list" :key="index">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment