【修改】获取领导 修改逻辑
This commit is contained in:
@@ -287,7 +287,7 @@ export default {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.form.cellPhoneNumber && !(/^1[3|4|5|7|8|9][0-9]{9}$/.test(this.form.cellPhoneNumber))) {
|
if (this.form.cellPhoneNumber && !(/^(?:\+86)?-(1[3456789]\d)\d{8}$/.test(this.form.cellPhoneNumber))) {
|
||||||
return this.$message.warning('请检查手机号') && false
|
return this.$message.warning('请检查手机号') && false
|
||||||
}
|
}
|
||||||
if (this.form.email && !(/^[\w-.]+@[a-z\d-]+(\.[a-z\d-]+)*\.[a-z\d]{2,6}$/i.test(this.form.email))) {
|
if (this.form.email && !(/^[\w-.]+@[a-z\d-]+(\.[a-z\d-]+)*\.[a-z\d]{2,6}$/i.test(this.form.email))) {
|
||||||
|
|||||||
@@ -490,7 +490,7 @@ export default {
|
|||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
this.updateList()
|
this.updateList()
|
||||||
this.getAllPerson()
|
// this.getAllPerson()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -56,6 +56,7 @@ export default {
|
|||||||
console.log(this.form,"hhh")
|
console.log(this.form,"hhh")
|
||||||
})
|
})
|
||||||
let name=this.controlNode('RXXTU4A5YN')?'first':'five'
|
let name=this.controlNode('RXXTU4A5YN')?'first':'five'
|
||||||
|
this.$store.commit('setActiveTabIndex',this.activeName)
|
||||||
this.activeName=this.$store.getters.activeTab ?this.$store.getters.activeTab:name
|
this.activeName=this.$store.getters.activeTab ?this.$store.getters.activeTab:name
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|||||||
Reference in New Issue
Block a user