|
@@ -150,7 +150,7 @@ height: 140rpx;"></image>
|
|
任职公司
|
|
任职公司
|
|
</view>
|
|
</view>
|
|
<view class="des">
|
|
<view class="des">
|
|
- {{item.company}}
|
|
|
|
|
|
+ {{item.company?item.company:'暂无'}}
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="item">
|
|
<view class="item">
|
|
@@ -166,7 +166,7 @@ height: 140rpx;"></image>
|
|
备注
|
|
备注
|
|
</view>
|
|
</view>
|
|
<view class="des">
|
|
<view class="des">
|
|
- {{item.remark}}
|
|
|
|
|
|
+ {{item.remark?item.remark:'暂无'}}
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
@@ -177,7 +177,7 @@ height: 140rpx;"></image>
|
|
项目名称
|
|
项目名称
|
|
</view>
|
|
</view>
|
|
<view class="des" style="color: #333;font-weight: bold;">
|
|
<view class="des" style="color: #333;font-weight: bold;">
|
|
- {{item.project_name}}
|
|
|
|
|
|
+ {{item.project_name?item.project_name:'暂无'}}
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
@@ -675,12 +675,17 @@ height: 140rpx;"></image>
|
|
this.showDgPop = true
|
|
this.showDgPop = true
|
|
return
|
|
return
|
|
} else {
|
|
} else {
|
|
|
|
+
|
|
|
|
+ let phoneReg = /^[1][3,4,5,7,8,9][0-9]{9}$/
|
|
if (!this.d_xm) {
|
|
if (!this.d_xm) {
|
|
return this.$toast('请输入姓名')
|
|
return this.$toast('请输入姓名')
|
|
}
|
|
}
|
|
if (!this.d_dh) {
|
|
if (!this.d_dh) {
|
|
return this.$toast('请输入电话')
|
|
return this.$toast('请输入电话')
|
|
}
|
|
}
|
|
|
|
+ if (!phoneReg.test(this.d_dh)) {
|
|
|
|
+ return this.$toast('手机号格式不正确')
|
|
|
|
+ }
|
|
if (this.d_ly == -1) {
|
|
if (this.d_ly == -1) {
|
|
return this.$toast('请选择来源')
|
|
return this.$toast('请选择来源')
|
|
}
|
|
}
|
|
@@ -734,12 +739,16 @@ height: 140rpx;"></image>
|
|
this.showHyPop = true
|
|
this.showHyPop = true
|
|
return
|
|
return
|
|
} else {
|
|
} else {
|
|
|
|
+ let phoneReg = /^[1][3,4,5,7,8,9][0-9]{9}$/
|
|
if (!this.h_xm) {
|
|
if (!this.h_xm) {
|
|
return this.$toast('请输入姓名')
|
|
return this.$toast('请输入姓名')
|
|
}
|
|
}
|
|
if (!this.h_dh) {
|
|
if (!this.h_dh) {
|
|
return this.$toast('请输入电话')
|
|
return this.$toast('请输入电话')
|
|
}
|
|
}
|
|
|
|
+ if (!phoneReg.test(this.h_dh)) {
|
|
|
|
+ return this.$toast('手机号格式不正确')
|
|
|
|
+ }
|
|
parms = {
|
|
parms = {
|
|
type: this.user_roleType,
|
|
type: this.user_roleType,
|
|
name: this.h_xm,
|
|
name: this.h_xm,
|
|
@@ -782,12 +791,16 @@ height: 140rpx;"></image>
|
|
this.showYhPop = true
|
|
this.showYhPop = true
|
|
return
|
|
return
|
|
} else {
|
|
} else {
|
|
|
|
+ let phoneReg = /^[1][3,4,5,7,8,9][0-9]{9}$/
|
|
if (!this.y_xm) {
|
|
if (!this.y_xm) {
|
|
return this.$toast('请输入姓名')
|
|
return this.$toast('请输入姓名')
|
|
}
|
|
}
|
|
if (!this.y_dh) {
|
|
if (!this.y_dh) {
|
|
return this.$toast('请输入电话')
|
|
return this.$toast('请输入电话')
|
|
}
|
|
}
|
|
|
|
+ if (!phoneReg.test(this.y_dh)) {
|
|
|
|
+ return this.$toast('手机号格式不正确')
|
|
|
|
+ }
|
|
parms = {
|
|
parms = {
|
|
type: this.user_roleType,
|
|
type: this.user_roleType,
|
|
name: this.y_xm,
|
|
name: this.y_xm,
|
|
@@ -829,12 +842,17 @@ height: 140rpx;"></image>
|
|
this.showLsPop = true
|
|
this.showLsPop = true
|
|
return
|
|
return
|
|
} else {
|
|
} else {
|
|
|
|
+ let phoneReg = /^[1][3,4,5,7,8,9][0-9]{9}$/
|
|
|
|
+
|
|
if (!this.l_xm) {
|
|
if (!this.l_xm) {
|
|
return this.$toast('请输入姓名')
|
|
return this.$toast('请输入姓名')
|
|
}
|
|
}
|
|
if (!this.l_dh) {
|
|
if (!this.l_dh) {
|
|
return this.$toast('请输入电话')
|
|
return this.$toast('请输入电话')
|
|
}
|
|
}
|
|
|
|
+ if (!phoneReg.test(this.l_dh)) {
|
|
|
|
+ return this.$toast('手机号格式不正确')
|
|
|
|
+ }
|
|
parms = {
|
|
parms = {
|
|
type: this.user_roleType,
|
|
type: this.user_roleType,
|
|
name: this.l_xm,
|
|
name: this.l_xm,
|
|
@@ -887,12 +905,16 @@ height: 140rpx;"></image>
|
|
return
|
|
return
|
|
|
|
|
|
} else {
|
|
} else {
|
|
|
|
+ let phoneReg = /^[1][3,4,5,7,8,9][0-9]{9}$/
|
|
if (!this.v_xm) {
|
|
if (!this.v_xm) {
|
|
return this.$toast('请输入姓名')
|
|
return this.$toast('请输入姓名')
|
|
}
|
|
}
|
|
if (!this.v_dh) {
|
|
if (!this.v_dh) {
|
|
return this.$toast('请输入电话')
|
|
return this.$toast('请输入电话')
|
|
}
|
|
}
|
|
|
|
+ if (!phoneReg.test(this.v_dh)) {
|
|
|
|
+ return this.$toast('手机号格式不正确')
|
|
|
|
+ }
|
|
if (this.v_sf == -1) {
|
|
if (this.v_sf == -1) {
|
|
return this.$toast('请选择身份')
|
|
return this.$toast('请选择身份')
|
|
}
|
|
}
|