From 8543bfc0bb487c50cd66fbc6b1c5705b6dc1e580 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期五, 27 五月 2022 17:14:15 +0800 Subject: [PATCH] 注册会员分类 --- src/views/signup/signup.vue | 12 +++++++++++- 1 files changed, 11 insertions(+), 1 deletions(-) diff --git a/src/views/signup/signup.vue b/src/views/signup/signup.vue index dd6ec36..c981e6c 100644 --- a/src/views/signup/signup.vue +++ b/src/views/signup/signup.vue @@ -50,6 +50,10 @@ <el-date-picker v-model="birthday" type="date" value-format="yyyy-MM-dd" size="small" @change="valChange()" placeholder="閫夋嫨鍑虹敓鏃ユ湡"></el-date-picker> </div> <div> + <el-radio v-model="member_type" label="personal">涓汉</el-radio> + <el-radio v-model="member_type" label="enterprise">浼佷笟</el-radio> + </div> + <div> <el-button class="sub-button" type="primary" @click="submitLogin()" :disabled="subdisabled" :loading="subloading">娉ㄥ唽</el-button> </div> </div> @@ -89,6 +93,10 @@ <el-date-picker v-model="birthday" type="date" value-format="yyyy-MM-dd" @change="valChange()" size="small" placeholder="閫夋嫨鍑虹敓鏃ユ湡"></el-date-picker> </div> <div> + <el-radio v-model="member_type" label="personal">涓汉</el-radio> + <el-radio v-model="member_type" label="enterprise">浼佷笟</el-radio> + </div> + <div> <el-button class="sub-button" type="primary" @click="submitLogin()" :disabled="subdisabled" :loading="subloading">娉ㄥ唽</el-button> </div> </div> @@ -117,7 +125,8 @@ birthday: '', confirmPassword: '', subdisabled: true, - subloading: false + subloading: false, + member_type: 'personal' } }, methods: { @@ -300,6 +309,7 @@ pwd: this.password, birthday: this.birthday, Type_reg: this.signtype !== 'email' ? 'mob' : 'email', + member_type: this.member_type, timestamp: Utils.getCurrentTime() } -- Gitblit v1.8.0