diff --git a/subpkg/newPersonnel/newPersonnel.vue b/subpkg/newPersonnel/newPersonnel.vue
index 1c47770..1f02059 100644
--- a/subpkg/newPersonnel/newPersonnel.vue
+++ b/subpkg/newPersonnel/newPersonnel.vue
@@ -6,11 +6,11 @@
-
-
+
+
-
+
@@ -125,7 +125,7 @@
id_card: '',
sex: '',
avatar: '',
- name: '',
+ nickname: '',
province: '',
city: '',
area: '',
@@ -176,7 +176,7 @@
message: '头像不能为空',
trigger: ['change', 'blur']
},
- name: {
+ nickname: {
type: 'string',
required: true,
message: '姓名不能为空',
@@ -414,12 +414,16 @@
addAcountNum() {
this.$refs.uForm.validate().then(async (e) => {
if(e){
+ uni.showLoading()
let res = await loginAdd(this.formData);
+ uni.hideLoading()
uni.showToast({
icon:"none",
title:"添加成功",
success: () => {
- uni.navigateBack()
+ setTimeout(()=>{
+ uni.navigateBack()
+ },1000)
}
})
}